@aws-sdk/client-iot-events 3.686.0 → 3.691.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -16,67 +16,67 @@ export interface Payload {
16
16
  type: PayloadType | undefined;
17
17
  }
18
18
  export interface DynamoDBAction {
19
- hashKeyType?: string;
19
+ hashKeyType?: string | undefined;
20
20
  hashKeyField: string | undefined;
21
21
  hashKeyValue: string | undefined;
22
- rangeKeyType?: string;
23
- rangeKeyField?: string;
24
- rangeKeyValue?: string;
25
- operation?: string;
26
- payloadField?: string;
22
+ rangeKeyType?: string | undefined;
23
+ rangeKeyField?: string | undefined;
24
+ rangeKeyValue?: string | undefined;
25
+ operation?: string | undefined;
26
+ payloadField?: string | undefined;
27
27
  tableName: string | undefined;
28
- payload?: Payload;
28
+ payload?: Payload | undefined;
29
29
  }
30
30
  export interface DynamoDBv2Action {
31
31
  tableName: string | undefined;
32
- payload?: Payload;
32
+ payload?: Payload | undefined;
33
33
  }
34
34
  export interface FirehoseAction {
35
35
  deliveryStreamName: string | undefined;
36
- separator?: string;
37
- payload?: Payload;
36
+ separator?: string | undefined;
37
+ payload?: Payload | undefined;
38
38
  }
39
39
  export interface IotEventsAction {
40
40
  inputName: string | undefined;
41
- payload?: Payload;
41
+ payload?: Payload | undefined;
42
42
  }
43
43
  export interface AssetPropertyTimestamp {
44
44
  timeInSeconds: string | undefined;
45
- offsetInNanos?: string;
45
+ offsetInNanos?: string | undefined;
46
46
  }
47
47
  export interface AssetPropertyVariant {
48
- stringValue?: string;
49
- integerValue?: string;
50
- doubleValue?: string;
51
- booleanValue?: string;
48
+ stringValue?: string | undefined;
49
+ integerValue?: string | undefined;
50
+ doubleValue?: string | undefined;
51
+ booleanValue?: string | undefined;
52
52
  }
53
53
  export interface AssetPropertyValue {
54
- value?: AssetPropertyVariant;
55
- timestamp?: AssetPropertyTimestamp;
56
- quality?: string;
54
+ value?: AssetPropertyVariant | undefined;
55
+ timestamp?: AssetPropertyTimestamp | undefined;
56
+ quality?: string | undefined;
57
57
  }
58
58
  export interface IotSiteWiseAction {
59
- entryId?: string;
60
- assetId?: string;
61
- propertyId?: string;
62
- propertyAlias?: string;
63
- propertyValue?: AssetPropertyValue;
59
+ entryId?: string | undefined;
60
+ assetId?: string | undefined;
61
+ propertyId?: string | undefined;
62
+ propertyAlias?: string | undefined;
63
+ propertyValue?: AssetPropertyValue | undefined;
64
64
  }
65
65
  export interface IotTopicPublishAction {
66
66
  mqttTopic: string | undefined;
67
- payload?: Payload;
67
+ payload?: Payload | undefined;
68
68
  }
69
69
  export interface LambdaAction {
70
70
  functionArn: string | undefined;
71
- payload?: Payload;
71
+ payload?: Payload | undefined;
72
72
  }
73
73
  export interface ResetTimerAction {
74
74
  timerName: string | undefined;
75
75
  }
76
76
  export interface SetTimerAction {
77
77
  timerName: string | undefined;
78
- seconds?: number;
79
- durationExpression?: string;
78
+ seconds?: number | undefined;
79
+ durationExpression?: string | undefined;
80
80
  }
81
81
  export interface SetVariableAction {
82
82
  variableName: string | undefined;
@@ -84,53 +84,53 @@ export interface SetVariableAction {
84
84
  }
85
85
  export interface SNSTopicPublishAction {
86
86
  targetArn: string | undefined;
87
- payload?: Payload;
87
+ payload?: Payload | undefined;
88
88
  }
89
89
  export interface SqsAction {
90
90
  queueUrl: string | undefined;
91
- useBase64?: boolean;
92
- payload?: Payload;
91
+ useBase64?: boolean | undefined;
92
+ payload?: Payload | undefined;
93
93
  }
94
94
  export interface Action {
95
- setVariable?: SetVariableAction;
96
- sns?: SNSTopicPublishAction;
97
- iotTopicPublish?: IotTopicPublishAction;
98
- setTimer?: SetTimerAction;
99
- clearTimer?: ClearTimerAction;
100
- resetTimer?: ResetTimerAction;
101
- lambda?: LambdaAction;
102
- iotEvents?: IotEventsAction;
103
- sqs?: SqsAction;
104
- firehose?: FirehoseAction;
105
- dynamoDB?: DynamoDBAction;
106
- dynamoDBv2?: DynamoDBv2Action;
107
- iotSiteWise?: IotSiteWiseAction;
95
+ setVariable?: SetVariableAction | undefined;
96
+ sns?: SNSTopicPublishAction | undefined;
97
+ iotTopicPublish?: IotTopicPublishAction | undefined;
98
+ setTimer?: SetTimerAction | undefined;
99
+ clearTimer?: ClearTimerAction | undefined;
100
+ resetTimer?: ResetTimerAction | undefined;
101
+ lambda?: LambdaAction | undefined;
102
+ iotEvents?: IotEventsAction | undefined;
103
+ sqs?: SqsAction | undefined;
104
+ firehose?: FirehoseAction | undefined;
105
+ dynamoDB?: DynamoDBAction | undefined;
106
+ dynamoDBv2?: DynamoDBv2Action | undefined;
107
+ iotSiteWise?: IotSiteWiseAction | undefined;
108
108
  }
109
109
  export interface AlarmAction {
110
- sns?: SNSTopicPublishAction;
111
- iotTopicPublish?: IotTopicPublishAction;
112
- lambda?: LambdaAction;
113
- iotEvents?: IotEventsAction;
114
- sqs?: SqsAction;
115
- firehose?: FirehoseAction;
116
- dynamoDB?: DynamoDBAction;
117
- dynamoDBv2?: DynamoDBv2Action;
118
- iotSiteWise?: IotSiteWiseAction;
110
+ sns?: SNSTopicPublishAction | undefined;
111
+ iotTopicPublish?: IotTopicPublishAction | undefined;
112
+ lambda?: LambdaAction | undefined;
113
+ iotEvents?: IotEventsAction | undefined;
114
+ sqs?: SqsAction | undefined;
115
+ firehose?: FirehoseAction | undefined;
116
+ dynamoDB?: DynamoDBAction | undefined;
117
+ dynamoDBv2?: DynamoDBv2Action | undefined;
118
+ iotSiteWise?: IotSiteWiseAction | undefined;
119
119
  }
120
120
  export interface InitializationConfiguration {
121
121
  disabledOnInitialization: boolean | undefined;
122
122
  }
123
123
  export interface AlarmCapabilities {
124
- initializationConfiguration?: InitializationConfiguration;
125
- acknowledgeFlow?: AcknowledgeFlow;
124
+ initializationConfiguration?: InitializationConfiguration | undefined;
125
+ acknowledgeFlow?: AcknowledgeFlow | undefined;
126
126
  }
127
127
  export interface AlarmEventActions {
128
- alarmActions?: AlarmAction[];
128
+ alarmActions?: AlarmAction[] | undefined;
129
129
  }
130
130
  export interface AlarmModelSummary {
131
- creationTime?: Date;
132
- alarmModelDescription?: string;
133
- alarmModelName?: string;
131
+ creationTime?: Date | undefined;
132
+ alarmModelDescription?: string | undefined;
133
+ alarmModelName?: string | undefined;
134
134
  }
135
135
  export declare const AlarmModelVersionStatus: {
136
136
  readonly ACTIVATING: "ACTIVATING";
@@ -141,49 +141,49 @@ export declare const AlarmModelVersionStatus: {
141
141
  export type AlarmModelVersionStatus =
142
142
  (typeof AlarmModelVersionStatus)[keyof typeof AlarmModelVersionStatus];
143
143
  export interface AlarmModelVersionSummary {
144
- alarmModelName?: string;
145
- alarmModelArn?: string;
146
- alarmModelVersion?: string;
147
- roleArn?: string;
148
- creationTime?: Date;
149
- lastUpdateTime?: Date;
150
- status?: AlarmModelVersionStatus;
151
- statusMessage?: string;
144
+ alarmModelName?: string | undefined;
145
+ alarmModelArn?: string | undefined;
146
+ alarmModelVersion?: string | undefined;
147
+ roleArn?: string | undefined;
148
+ creationTime?: Date | undefined;
149
+ lastUpdateTime?: Date | undefined;
150
+ status?: AlarmModelVersionStatus | undefined;
151
+ statusMessage?: string | undefined;
152
152
  }
153
153
  export interface NotificationTargetActions {
154
- lambdaAction?: LambdaAction;
154
+ lambdaAction?: LambdaAction | undefined;
155
155
  }
156
156
  export interface EmailContent {
157
- subject?: string;
158
- additionalMessage?: string;
157
+ subject?: string | undefined;
158
+ additionalMessage?: string | undefined;
159
159
  }
160
160
  export interface SSOIdentity {
161
161
  identityStoreId: string | undefined;
162
- userId?: string;
162
+ userId?: string | undefined;
163
163
  }
164
164
  export interface RecipientDetail {
165
- ssoIdentity?: SSOIdentity;
165
+ ssoIdentity?: SSOIdentity | undefined;
166
166
  }
167
167
  export interface EmailRecipients {
168
- to?: RecipientDetail[];
168
+ to?: RecipientDetail[] | undefined;
169
169
  }
170
170
  export interface EmailConfiguration {
171
171
  from: string | undefined;
172
- content?: EmailContent;
172
+ content?: EmailContent | undefined;
173
173
  recipients: EmailRecipients | undefined;
174
174
  }
175
175
  export interface SMSConfiguration {
176
- senderId?: string;
177
- additionalMessage?: string;
176
+ senderId?: string | undefined;
177
+ additionalMessage?: string | undefined;
178
178
  recipients: RecipientDetail[] | undefined;
179
179
  }
180
180
  export interface NotificationAction {
181
181
  action: NotificationTargetActions | undefined;
182
- smsConfigurations?: SMSConfiguration[];
183
- emailConfigurations?: EmailConfiguration[];
182
+ smsConfigurations?: SMSConfiguration[] | undefined;
183
+ emailConfigurations?: EmailConfiguration[] | undefined;
184
184
  }
185
185
  export interface AlarmNotification {
186
- notificationActions?: NotificationAction[];
186
+ notificationActions?: NotificationAction[] | undefined;
187
187
  }
188
188
  export declare const ComparisonOperator: {
189
189
  readonly EQUAL: "EQUAL";
@@ -201,7 +201,7 @@ export interface SimpleRule {
201
201
  threshold: string | undefined;
202
202
  }
203
203
  export interface AlarmRule {
204
- simpleRule?: SimpleRule;
204
+ simpleRule?: SimpleRule | undefined;
205
205
  }
206
206
  export declare const AnalysisResultLevel: {
207
207
  readonly ERROR: "ERROR";
@@ -211,13 +211,13 @@ export declare const AnalysisResultLevel: {
211
211
  export type AnalysisResultLevel =
212
212
  (typeof AnalysisResultLevel)[keyof typeof AnalysisResultLevel];
213
213
  export interface AnalysisResultLocation {
214
- path?: string;
214
+ path?: string | undefined;
215
215
  }
216
216
  export interface AnalysisResult {
217
- type?: string;
218
- level?: AnalysisResultLevel;
219
- message?: string;
220
- locations?: AnalysisResultLocation[];
217
+ type?: string | undefined;
218
+ level?: AnalysisResultLevel | undefined;
219
+ message?: string | undefined;
220
+ locations?: AnalysisResultLocation[] | undefined;
221
221
  }
222
222
  export declare const AnalysisStatus: {
223
223
  readonly COMPLETE: "COMPLETE";
@@ -235,22 +235,22 @@ export interface Tag {
235
235
  }
236
236
  export interface CreateAlarmModelRequest {
237
237
  alarmModelName: string | undefined;
238
- alarmModelDescription?: string;
238
+ alarmModelDescription?: string | undefined;
239
239
  roleArn: string | undefined;
240
- tags?: Tag[];
241
- key?: string;
242
- severity?: number;
240
+ tags?: Tag[] | undefined;
241
+ key?: string | undefined;
242
+ severity?: number | undefined;
243
243
  alarmRule: AlarmRule | undefined;
244
- alarmNotification?: AlarmNotification;
245
- alarmEventActions?: AlarmEventActions;
246
- alarmCapabilities?: AlarmCapabilities;
244
+ alarmNotification?: AlarmNotification | undefined;
245
+ alarmEventActions?: AlarmEventActions | undefined;
246
+ alarmCapabilities?: AlarmCapabilities | undefined;
247
247
  }
248
248
  export interface CreateAlarmModelResponse {
249
- creationTime?: Date;
250
- alarmModelArn?: string;
251
- alarmModelVersion?: string;
252
- lastUpdateTime?: Date;
253
- status?: AlarmModelVersionStatus;
249
+ creationTime?: Date | undefined;
250
+ alarmModelArn?: string | undefined;
251
+ alarmModelVersion?: string | undefined;
252
+ lastUpdateTime?: Date | undefined;
253
+ status?: AlarmModelVersionStatus | undefined;
254
254
  }
255
255
  export declare class InternalFailureException extends __BaseException {
256
256
  readonly name: "InternalFailureException";
@@ -276,8 +276,8 @@ export declare class LimitExceededException extends __BaseException {
276
276
  export declare class ResourceAlreadyExistsException extends __BaseException {
277
277
  readonly name: "ResourceAlreadyExistsException";
278
278
  readonly $fault: "client";
279
- resourceId?: string;
280
- resourceArn?: string;
279
+ resourceId?: string | undefined;
280
+ resourceArn?: string | undefined;
281
281
  constructor(
282
282
  opts: __ExceptionOptionType<ResourceAlreadyExistsException, __BaseException>
283
283
  );
@@ -305,30 +305,30 @@ export declare class ThrottlingException extends __BaseException {
305
305
  }
306
306
  export interface Event {
307
307
  eventName: string | undefined;
308
- condition?: string;
309
- actions?: Action[];
308
+ condition?: string | undefined;
309
+ actions?: Action[] | undefined;
310
310
  }
311
311
  export interface OnEnterLifecycle {
312
- events?: Event[];
312
+ events?: Event[] | undefined;
313
313
  }
314
314
  export interface OnExitLifecycle {
315
- events?: Event[];
315
+ events?: Event[] | undefined;
316
316
  }
317
317
  export interface TransitionEvent {
318
318
  eventName: string | undefined;
319
319
  condition: string | undefined;
320
- actions?: Action[];
320
+ actions?: Action[] | undefined;
321
321
  nextState: string | undefined;
322
322
  }
323
323
  export interface OnInputLifecycle {
324
- events?: Event[];
325
- transitionEvents?: TransitionEvent[];
324
+ events?: Event[] | undefined;
325
+ transitionEvents?: TransitionEvent[] | undefined;
326
326
  }
327
327
  export interface State {
328
328
  stateName: string | undefined;
329
- onInput?: OnInputLifecycle;
330
- onEnter?: OnEnterLifecycle;
331
- onExit?: OnExitLifecycle;
329
+ onInput?: OnInputLifecycle | undefined;
330
+ onEnter?: OnEnterLifecycle | undefined;
331
+ onExit?: OnExitLifecycle | undefined;
332
332
  }
333
333
  export interface DetectorModelDefinition {
334
334
  states: State[] | undefined;
@@ -343,11 +343,11 @@ export type EvaluationMethod =
343
343
  export interface CreateDetectorModelRequest {
344
344
  detectorModelName: string | undefined;
345
345
  detectorModelDefinition: DetectorModelDefinition | undefined;
346
- detectorModelDescription?: string;
347
- key?: string;
346
+ detectorModelDescription?: string | undefined;
347
+ key?: string | undefined;
348
348
  roleArn: string | undefined;
349
- tags?: Tag[];
350
- evaluationMethod?: EvaluationMethod;
349
+ tags?: Tag[] | undefined;
350
+ evaluationMethod?: EvaluationMethod | undefined;
351
351
  }
352
352
  export declare const DetectorModelVersionStatus: {
353
353
  readonly ACTIVATING: "ACTIVATING";
@@ -361,28 +361,28 @@ export declare const DetectorModelVersionStatus: {
361
361
  export type DetectorModelVersionStatus =
362
362
  (typeof DetectorModelVersionStatus)[keyof typeof DetectorModelVersionStatus];
363
363
  export interface DetectorModelConfiguration {
364
- detectorModelName?: string;
365
- detectorModelVersion?: string;
366
- detectorModelDescription?: string;
367
- detectorModelArn?: string;
368
- roleArn?: string;
369
- creationTime?: Date;
370
- lastUpdateTime?: Date;
371
- status?: DetectorModelVersionStatus;
372
- key?: string;
373
- evaluationMethod?: EvaluationMethod;
364
+ detectorModelName?: string | undefined;
365
+ detectorModelVersion?: string | undefined;
366
+ detectorModelDescription?: string | undefined;
367
+ detectorModelArn?: string | undefined;
368
+ roleArn?: string | undefined;
369
+ creationTime?: Date | undefined;
370
+ lastUpdateTime?: Date | undefined;
371
+ status?: DetectorModelVersionStatus | undefined;
372
+ key?: string | undefined;
373
+ evaluationMethod?: EvaluationMethod | undefined;
374
374
  }
375
375
  export interface CreateDetectorModelResponse {
376
- detectorModelConfiguration?: DetectorModelConfiguration;
376
+ detectorModelConfiguration?: DetectorModelConfiguration | undefined;
377
377
  }
378
378
  export interface InputDefinition {
379
379
  attributes: Attribute[] | undefined;
380
380
  }
381
381
  export interface CreateInputRequest {
382
382
  inputName: string | undefined;
383
- inputDescription?: string;
383
+ inputDescription?: string | undefined;
384
384
  inputDefinition: InputDefinition | undefined;
385
- tags?: Tag[];
385
+ tags?: Tag[] | undefined;
386
386
  }
387
387
  export declare const InputStatus: {
388
388
  readonly ACTIVE: "ACTIVE";
@@ -393,14 +393,14 @@ export declare const InputStatus: {
393
393
  export type InputStatus = (typeof InputStatus)[keyof typeof InputStatus];
394
394
  export interface InputConfiguration {
395
395
  inputName: string | undefined;
396
- inputDescription?: string;
396
+ inputDescription?: string | undefined;
397
397
  inputArn: string | undefined;
398
398
  creationTime: Date | undefined;
399
399
  lastUpdateTime: Date | undefined;
400
400
  status: InputStatus | undefined;
401
401
  }
402
402
  export interface CreateInputResponse {
403
- inputConfiguration?: InputConfiguration;
403
+ inputConfiguration?: InputConfiguration | undefined;
404
404
  }
405
405
  export interface DeleteAlarmModelRequest {
406
406
  alarmModelName: string | undefined;
@@ -423,56 +423,56 @@ export interface DeleteInputRequest {
423
423
  export interface DeleteInputResponse {}
424
424
  export interface DescribeAlarmModelRequest {
425
425
  alarmModelName: string | undefined;
426
- alarmModelVersion?: string;
426
+ alarmModelVersion?: string | undefined;
427
427
  }
428
428
  export interface DescribeAlarmModelResponse {
429
- creationTime?: Date;
430
- alarmModelArn?: string;
431
- alarmModelVersion?: string;
432
- lastUpdateTime?: Date;
433
- status?: AlarmModelVersionStatus;
434
- statusMessage?: string;
435
- alarmModelName?: string;
436
- alarmModelDescription?: string;
437
- roleArn?: string;
438
- key?: string;
439
- severity?: number;
440
- alarmRule?: AlarmRule;
441
- alarmNotification?: AlarmNotification;
442
- alarmEventActions?: AlarmEventActions;
443
- alarmCapabilities?: AlarmCapabilities;
429
+ creationTime?: Date | undefined;
430
+ alarmModelArn?: string | undefined;
431
+ alarmModelVersion?: string | undefined;
432
+ lastUpdateTime?: Date | undefined;
433
+ status?: AlarmModelVersionStatus | undefined;
434
+ statusMessage?: string | undefined;
435
+ alarmModelName?: string | undefined;
436
+ alarmModelDescription?: string | undefined;
437
+ roleArn?: string | undefined;
438
+ key?: string | undefined;
439
+ severity?: number | undefined;
440
+ alarmRule?: AlarmRule | undefined;
441
+ alarmNotification?: AlarmNotification | undefined;
442
+ alarmEventActions?: AlarmEventActions | undefined;
443
+ alarmCapabilities?: AlarmCapabilities | undefined;
444
444
  }
445
445
  export interface DescribeDetectorModelRequest {
446
446
  detectorModelName: string | undefined;
447
- detectorModelVersion?: string;
447
+ detectorModelVersion?: string | undefined;
448
448
  }
449
449
  export interface DetectorModel {
450
- detectorModelDefinition?: DetectorModelDefinition;
451
- detectorModelConfiguration?: DetectorModelConfiguration;
450
+ detectorModelDefinition?: DetectorModelDefinition | undefined;
451
+ detectorModelConfiguration?: DetectorModelConfiguration | undefined;
452
452
  }
453
453
  export interface DescribeDetectorModelResponse {
454
- detectorModel?: DetectorModel;
454
+ detectorModel?: DetectorModel | undefined;
455
455
  }
456
456
  export interface DescribeDetectorModelAnalysisRequest {
457
457
  analysisId: string | undefined;
458
458
  }
459
459
  export interface DescribeDetectorModelAnalysisResponse {
460
- status?: AnalysisStatus;
460
+ status?: AnalysisStatus | undefined;
461
461
  }
462
462
  export interface DescribeInputRequest {
463
463
  inputName: string | undefined;
464
464
  }
465
465
  export interface Input {
466
- inputConfiguration?: InputConfiguration;
467
- inputDefinition?: InputDefinition;
466
+ inputConfiguration?: InputConfiguration | undefined;
467
+ inputDefinition?: InputDefinition | undefined;
468
468
  }
469
469
  export interface DescribeInputResponse {
470
- input?: Input;
470
+ input?: Input | undefined;
471
471
  }
472
472
  export interface DescribeLoggingOptionsRequest {}
473
473
  export interface DetectorDebugOption {
474
474
  detectorModelName: string | undefined;
475
- keyValue?: string;
475
+ keyValue?: string | undefined;
476
476
  }
477
477
  export declare const LoggingLevel: {
478
478
  readonly DEBUG: "DEBUG";
@@ -484,10 +484,10 @@ export interface LoggingOptions {
484
484
  roleArn: string | undefined;
485
485
  level: LoggingLevel | undefined;
486
486
  enabled: boolean | undefined;
487
- detectorDebugOptions?: DetectorDebugOption[];
487
+ detectorDebugOptions?: DetectorDebugOption[] | undefined;
488
488
  }
489
489
  export interface DescribeLoggingOptionsResponse {
490
- loggingOptions?: LoggingOptions;
490
+ loggingOptions?: LoggingOptions | undefined;
491
491
  }
492
492
  export declare class UnsupportedOperationException extends __BaseException {
493
493
  readonly name: "UnsupportedOperationException";
@@ -497,28 +497,28 @@ export declare class UnsupportedOperationException extends __BaseException {
497
497
  );
498
498
  }
499
499
  export interface DetectorModelSummary {
500
- detectorModelName?: string;
501
- detectorModelDescription?: string;
502
- creationTime?: Date;
500
+ detectorModelName?: string | undefined;
501
+ detectorModelDescription?: string | undefined;
502
+ creationTime?: Date | undefined;
503
503
  }
504
504
  export interface DetectorModelVersionSummary {
505
- detectorModelName?: string;
506
- detectorModelVersion?: string;
507
- detectorModelArn?: string;
508
- roleArn?: string;
509
- creationTime?: Date;
510
- lastUpdateTime?: Date;
511
- status?: DetectorModelVersionStatus;
512
- evaluationMethod?: EvaluationMethod;
505
+ detectorModelName?: string | undefined;
506
+ detectorModelVersion?: string | undefined;
507
+ detectorModelArn?: string | undefined;
508
+ roleArn?: string | undefined;
509
+ creationTime?: Date | undefined;
510
+ lastUpdateTime?: Date | undefined;
511
+ status?: DetectorModelVersionStatus | undefined;
512
+ evaluationMethod?: EvaluationMethod | undefined;
513
513
  }
514
514
  export interface GetDetectorModelAnalysisResultsRequest {
515
515
  analysisId: string | undefined;
516
- nextToken?: string;
517
- maxResults?: number;
516
+ nextToken?: string | undefined;
517
+ maxResults?: number | undefined;
518
518
  }
519
519
  export interface GetDetectorModelAnalysisResultsResponse {
520
- analysisResults?: AnalysisResult[];
521
- nextToken?: string;
520
+ analysisResults?: AnalysisResult[] | undefined;
521
+ nextToken?: string | undefined;
522
522
  }
523
523
  export interface IotEventsInputIdentifier {
524
524
  inputName: string | undefined;
@@ -528,80 +528,82 @@ export interface IotSiteWiseAssetModelPropertyIdentifier {
528
528
  propertyId: string | undefined;
529
529
  }
530
530
  export interface IotSiteWiseInputIdentifier {
531
- iotSiteWiseAssetModelPropertyIdentifier?: IotSiteWiseAssetModelPropertyIdentifier;
531
+ iotSiteWiseAssetModelPropertyIdentifier?:
532
+ | IotSiteWiseAssetModelPropertyIdentifier
533
+ | undefined;
532
534
  }
533
535
  export interface InputIdentifier {
534
- iotEventsInputIdentifier?: IotEventsInputIdentifier;
535
- iotSiteWiseInputIdentifier?: IotSiteWiseInputIdentifier;
536
+ iotEventsInputIdentifier?: IotEventsInputIdentifier | undefined;
537
+ iotSiteWiseInputIdentifier?: IotSiteWiseInputIdentifier | undefined;
536
538
  }
537
539
  export interface InputSummary {
538
- inputName?: string;
539
- inputDescription?: string;
540
- inputArn?: string;
541
- creationTime?: Date;
542
- lastUpdateTime?: Date;
543
- status?: InputStatus;
540
+ inputName?: string | undefined;
541
+ inputDescription?: string | undefined;
542
+ inputArn?: string | undefined;
543
+ creationTime?: Date | undefined;
544
+ lastUpdateTime?: Date | undefined;
545
+ status?: InputStatus | undefined;
544
546
  }
545
547
  export interface ListAlarmModelsRequest {
546
- nextToken?: string;
547
- maxResults?: number;
548
+ nextToken?: string | undefined;
549
+ maxResults?: number | undefined;
548
550
  }
549
551
  export interface ListAlarmModelsResponse {
550
- alarmModelSummaries?: AlarmModelSummary[];
551
- nextToken?: string;
552
+ alarmModelSummaries?: AlarmModelSummary[] | undefined;
553
+ nextToken?: string | undefined;
552
554
  }
553
555
  export interface ListAlarmModelVersionsRequest {
554
556
  alarmModelName: string | undefined;
555
- nextToken?: string;
556
- maxResults?: number;
557
+ nextToken?: string | undefined;
558
+ maxResults?: number | undefined;
557
559
  }
558
560
  export interface ListAlarmModelVersionsResponse {
559
- alarmModelVersionSummaries?: AlarmModelVersionSummary[];
560
- nextToken?: string;
561
+ alarmModelVersionSummaries?: AlarmModelVersionSummary[] | undefined;
562
+ nextToken?: string | undefined;
561
563
  }
562
564
  export interface ListDetectorModelsRequest {
563
- nextToken?: string;
564
- maxResults?: number;
565
+ nextToken?: string | undefined;
566
+ maxResults?: number | undefined;
565
567
  }
566
568
  export interface ListDetectorModelsResponse {
567
- detectorModelSummaries?: DetectorModelSummary[];
568
- nextToken?: string;
569
+ detectorModelSummaries?: DetectorModelSummary[] | undefined;
570
+ nextToken?: string | undefined;
569
571
  }
570
572
  export interface ListDetectorModelVersionsRequest {
571
573
  detectorModelName: string | undefined;
572
- nextToken?: string;
573
- maxResults?: number;
574
+ nextToken?: string | undefined;
575
+ maxResults?: number | undefined;
574
576
  }
575
577
  export interface ListDetectorModelVersionsResponse {
576
- detectorModelVersionSummaries?: DetectorModelVersionSummary[];
577
- nextToken?: string;
578
+ detectorModelVersionSummaries?: DetectorModelVersionSummary[] | undefined;
579
+ nextToken?: string | undefined;
578
580
  }
579
581
  export interface ListInputRoutingsRequest {
580
582
  inputIdentifier: InputIdentifier | undefined;
581
- maxResults?: number;
582
- nextToken?: string;
583
+ maxResults?: number | undefined;
584
+ nextToken?: string | undefined;
583
585
  }
584
586
  export interface RoutedResource {
585
- name?: string;
586
- arn?: string;
587
+ name?: string | undefined;
588
+ arn?: string | undefined;
587
589
  }
588
590
  export interface ListInputRoutingsResponse {
589
- routedResources?: RoutedResource[];
590
- nextToken?: string;
591
+ routedResources?: RoutedResource[] | undefined;
592
+ nextToken?: string | undefined;
591
593
  }
592
594
  export interface ListInputsRequest {
593
- nextToken?: string;
594
- maxResults?: number;
595
+ nextToken?: string | undefined;
596
+ maxResults?: number | undefined;
595
597
  }
596
598
  export interface ListInputsResponse {
597
- inputSummaries?: InputSummary[];
598
- nextToken?: string;
599
+ inputSummaries?: InputSummary[] | undefined;
600
+ nextToken?: string | undefined;
599
601
  }
600
602
  export interface ListTagsForResourceRequest {
601
603
  resourceArn: string | undefined;
602
604
  }
603
605
  export interface ListTagsForResourceResponse {
604
- tags?: Tag[];
606
+ tags?: Tag[] | undefined;
605
607
  }
606
608
  export interface PutLoggingOptionsRequest {
607
609
  loggingOptions: LoggingOptions | undefined;
@@ -610,7 +612,7 @@ export interface StartDetectorModelAnalysisRequest {
610
612
  detectorModelDefinition: DetectorModelDefinition | undefined;
611
613
  }
612
614
  export interface StartDetectorModelAnalysisResponse {
613
- analysisId?: string;
615
+ analysisId?: string | undefined;
614
616
  }
615
617
  export interface TagResourceRequest {
616
618
  resourceArn: string | undefined;
@@ -624,36 +626,36 @@ export interface UntagResourceRequest {
624
626
  export interface UntagResourceResponse {}
625
627
  export interface UpdateAlarmModelRequest {
626
628
  alarmModelName: string | undefined;
627
- alarmModelDescription?: string;
629
+ alarmModelDescription?: string | undefined;
628
630
  roleArn: string | undefined;
629
- severity?: number;
631
+ severity?: number | undefined;
630
632
  alarmRule: AlarmRule | undefined;
631
- alarmNotification?: AlarmNotification;
632
- alarmEventActions?: AlarmEventActions;
633
- alarmCapabilities?: AlarmCapabilities;
633
+ alarmNotification?: AlarmNotification | undefined;
634
+ alarmEventActions?: AlarmEventActions | undefined;
635
+ alarmCapabilities?: AlarmCapabilities | undefined;
634
636
  }
635
637
  export interface UpdateAlarmModelResponse {
636
- creationTime?: Date;
637
- alarmModelArn?: string;
638
- alarmModelVersion?: string;
639
- lastUpdateTime?: Date;
640
- status?: AlarmModelVersionStatus;
638
+ creationTime?: Date | undefined;
639
+ alarmModelArn?: string | undefined;
640
+ alarmModelVersion?: string | undefined;
641
+ lastUpdateTime?: Date | undefined;
642
+ status?: AlarmModelVersionStatus | undefined;
641
643
  }
642
644
  export interface UpdateDetectorModelRequest {
643
645
  detectorModelName: string | undefined;
644
646
  detectorModelDefinition: DetectorModelDefinition | undefined;
645
- detectorModelDescription?: string;
647
+ detectorModelDescription?: string | undefined;
646
648
  roleArn: string | undefined;
647
- evaluationMethod?: EvaluationMethod;
649
+ evaluationMethod?: EvaluationMethod | undefined;
648
650
  }
649
651
  export interface UpdateDetectorModelResponse {
650
- detectorModelConfiguration?: DetectorModelConfiguration;
652
+ detectorModelConfiguration?: DetectorModelConfiguration | undefined;
651
653
  }
652
654
  export interface UpdateInputRequest {
653
655
  inputName: string | undefined;
654
- inputDescription?: string;
656
+ inputDescription?: string | undefined;
655
657
  inputDefinition: InputDefinition | undefined;
656
658
  }
657
659
  export interface UpdateInputResponse {
658
- inputConfiguration?: InputConfiguration;
660
+ inputConfiguration?: InputConfiguration | undefined;
659
661
  }