@aws-sdk/client-iot 3.687.0 → 3.692.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.
@@ -77,200 +77,200 @@ import {
77
77
  ViolationEventOccurrenceRange,
78
78
  } from "./models_1";
79
79
  export interface ListManagedJobTemplatesResponse {
80
- managedJobTemplates?: ManagedJobTemplateSummary[];
81
- nextToken?: string;
80
+ managedJobTemplates?: ManagedJobTemplateSummary[] | undefined;
81
+ nextToken?: string | undefined;
82
82
  }
83
83
  export interface ListMetricValuesRequest {
84
84
  thingName: string | undefined;
85
85
  metricName: string | undefined;
86
- dimensionName?: string;
87
- dimensionValueOperator?: DimensionValueOperator;
86
+ dimensionName?: string | undefined;
87
+ dimensionValueOperator?: DimensionValueOperator | undefined;
88
88
  startTime: Date | undefined;
89
89
  endTime: Date | undefined;
90
- maxResults?: number;
91
- nextToken?: string;
90
+ maxResults?: number | undefined;
91
+ nextToken?: string | undefined;
92
92
  }
93
93
  export interface MetricDatum {
94
- timestamp?: Date;
95
- value?: MetricValue;
94
+ timestamp?: Date | undefined;
95
+ value?: MetricValue | undefined;
96
96
  }
97
97
  export interface ListMetricValuesResponse {
98
- metricDatumList?: MetricDatum[];
99
- nextToken?: string;
98
+ metricDatumList?: MetricDatum[] | undefined;
99
+ nextToken?: string | undefined;
100
100
  }
101
101
  export interface ListMitigationActionsRequest {
102
- actionType?: MitigationActionType;
103
- maxResults?: number;
104
- nextToken?: string;
102
+ actionType?: MitigationActionType | undefined;
103
+ maxResults?: number | undefined;
104
+ nextToken?: string | undefined;
105
105
  }
106
106
  export interface MitigationActionIdentifier {
107
- actionName?: string;
108
- actionArn?: string;
109
- creationDate?: Date;
107
+ actionName?: string | undefined;
108
+ actionArn?: string | undefined;
109
+ creationDate?: Date | undefined;
110
110
  }
111
111
  export interface ListMitigationActionsResponse {
112
- actionIdentifiers?: MitigationActionIdentifier[];
113
- nextToken?: string;
112
+ actionIdentifiers?: MitigationActionIdentifier[] | undefined;
113
+ nextToken?: string | undefined;
114
114
  }
115
115
  export interface ListOTAUpdatesRequest {
116
- maxResults?: number;
117
- nextToken?: string;
118
- otaUpdateStatus?: OTAUpdateStatus;
116
+ maxResults?: number | undefined;
117
+ nextToken?: string | undefined;
118
+ otaUpdateStatus?: OTAUpdateStatus | undefined;
119
119
  }
120
120
  export interface OTAUpdateSummary {
121
- otaUpdateId?: string;
122
- otaUpdateArn?: string;
123
- creationDate?: Date;
121
+ otaUpdateId?: string | undefined;
122
+ otaUpdateArn?: string | undefined;
123
+ creationDate?: Date | undefined;
124
124
  }
125
125
  export interface ListOTAUpdatesResponse {
126
- otaUpdates?: OTAUpdateSummary[];
127
- nextToken?: string;
126
+ otaUpdates?: OTAUpdateSummary[] | undefined;
127
+ nextToken?: string | undefined;
128
128
  }
129
129
  export interface ListOutgoingCertificatesRequest {
130
- pageSize?: number;
131
- marker?: string;
132
- ascendingOrder?: boolean;
130
+ pageSize?: number | undefined;
131
+ marker?: string | undefined;
132
+ ascendingOrder?: boolean | undefined;
133
133
  }
134
134
  export interface OutgoingCertificate {
135
- certificateArn?: string;
136
- certificateId?: string;
137
- transferredTo?: string;
138
- transferDate?: Date;
139
- transferMessage?: string;
140
- creationDate?: Date;
135
+ certificateArn?: string | undefined;
136
+ certificateId?: string | undefined;
137
+ transferredTo?: string | undefined;
138
+ transferDate?: Date | undefined;
139
+ transferMessage?: string | undefined;
140
+ creationDate?: Date | undefined;
141
141
  }
142
142
  export interface ListOutgoingCertificatesResponse {
143
- outgoingCertificates?: OutgoingCertificate[];
144
- nextMarker?: string;
143
+ outgoingCertificates?: OutgoingCertificate[] | undefined;
144
+ nextMarker?: string | undefined;
145
145
  }
146
146
  export interface ListPackagesRequest {
147
- maxResults?: number;
148
- nextToken?: string;
147
+ maxResults?: number | undefined;
148
+ nextToken?: string | undefined;
149
149
  }
150
150
  export interface PackageSummary {
151
- packageName?: string;
152
- defaultVersionName?: string;
153
- creationDate?: Date;
154
- lastModifiedDate?: Date;
151
+ packageName?: string | undefined;
152
+ defaultVersionName?: string | undefined;
153
+ creationDate?: Date | undefined;
154
+ lastModifiedDate?: Date | undefined;
155
155
  }
156
156
  export interface ListPackagesResponse {
157
- packageSummaries?: PackageSummary[];
158
- nextToken?: string;
157
+ packageSummaries?: PackageSummary[] | undefined;
158
+ nextToken?: string | undefined;
159
159
  }
160
160
  export interface ListPackageVersionsRequest {
161
161
  packageName: string | undefined;
162
- status?: PackageVersionStatus;
163
- maxResults?: number;
164
- nextToken?: string;
162
+ status?: PackageVersionStatus | undefined;
163
+ maxResults?: number | undefined;
164
+ nextToken?: string | undefined;
165
165
  }
166
166
  export interface PackageVersionSummary {
167
- packageName?: string;
168
- versionName?: string;
169
- status?: PackageVersionStatus;
170
- creationDate?: Date;
171
- lastModifiedDate?: Date;
167
+ packageName?: string | undefined;
168
+ versionName?: string | undefined;
169
+ status?: PackageVersionStatus | undefined;
170
+ creationDate?: Date | undefined;
171
+ lastModifiedDate?: Date | undefined;
172
172
  }
173
173
  export interface ListPackageVersionsResponse {
174
- packageVersionSummaries?: PackageVersionSummary[];
175
- nextToken?: string;
174
+ packageVersionSummaries?: PackageVersionSummary[] | undefined;
175
+ nextToken?: string | undefined;
176
176
  }
177
177
  export interface ListPoliciesRequest {
178
- marker?: string;
179
- pageSize?: number;
180
- ascendingOrder?: boolean;
178
+ marker?: string | undefined;
179
+ pageSize?: number | undefined;
180
+ ascendingOrder?: boolean | undefined;
181
181
  }
182
182
  export interface ListPoliciesResponse {
183
- policies?: Policy[];
184
- nextMarker?: string;
183
+ policies?: Policy[] | undefined;
184
+ nextMarker?: string | undefined;
185
185
  }
186
186
  export interface ListPolicyPrincipalsRequest {
187
187
  policyName: string | undefined;
188
- marker?: string;
189
- pageSize?: number;
190
- ascendingOrder?: boolean;
188
+ marker?: string | undefined;
189
+ pageSize?: number | undefined;
190
+ ascendingOrder?: boolean | undefined;
191
191
  }
192
192
  export interface ListPolicyPrincipalsResponse {
193
- principals?: string[];
194
- nextMarker?: string;
193
+ principals?: string[] | undefined;
194
+ nextMarker?: string | undefined;
195
195
  }
196
196
  export interface ListPolicyVersionsRequest {
197
197
  policyName: string | undefined;
198
198
  }
199
199
  export interface PolicyVersion {
200
- versionId?: string;
201
- isDefaultVersion?: boolean;
202
- createDate?: Date;
200
+ versionId?: string | undefined;
201
+ isDefaultVersion?: boolean | undefined;
202
+ createDate?: Date | undefined;
203
203
  }
204
204
  export interface ListPolicyVersionsResponse {
205
- policyVersions?: PolicyVersion[];
205
+ policyVersions?: PolicyVersion[] | undefined;
206
206
  }
207
207
  export interface ListPrincipalPoliciesRequest {
208
208
  principal: string | undefined;
209
- marker?: string;
210
- pageSize?: number;
211
- ascendingOrder?: boolean;
209
+ marker?: string | undefined;
210
+ pageSize?: number | undefined;
211
+ ascendingOrder?: boolean | undefined;
212
212
  }
213
213
  export interface ListPrincipalPoliciesResponse {
214
- policies?: Policy[];
215
- nextMarker?: string;
214
+ policies?: Policy[] | undefined;
215
+ nextMarker?: string | undefined;
216
216
  }
217
217
  export interface ListPrincipalThingsRequest {
218
- nextToken?: string;
219
- maxResults?: number;
218
+ nextToken?: string | undefined;
219
+ maxResults?: number | undefined;
220
220
  principal: string | undefined;
221
221
  }
222
222
  export interface ListPrincipalThingsResponse {
223
- things?: string[];
224
- nextToken?: string;
223
+ things?: string[] | undefined;
224
+ nextToken?: string | undefined;
225
225
  }
226
226
  export interface ListProvisioningTemplatesRequest {
227
- maxResults?: number;
228
- nextToken?: string;
227
+ maxResults?: number | undefined;
228
+ nextToken?: string | undefined;
229
229
  }
230
230
  export interface ProvisioningTemplateSummary {
231
- templateArn?: string;
232
- templateName?: string;
233
- description?: string;
234
- creationDate?: Date;
235
- lastModifiedDate?: Date;
236
- enabled?: boolean;
237
- type?: TemplateType;
231
+ templateArn?: string | undefined;
232
+ templateName?: string | undefined;
233
+ description?: string | undefined;
234
+ creationDate?: Date | undefined;
235
+ lastModifiedDate?: Date | undefined;
236
+ enabled?: boolean | undefined;
237
+ type?: TemplateType | undefined;
238
238
  }
239
239
  export interface ListProvisioningTemplatesResponse {
240
- templates?: ProvisioningTemplateSummary[];
241
- nextToken?: string;
240
+ templates?: ProvisioningTemplateSummary[] | undefined;
241
+ nextToken?: string | undefined;
242
242
  }
243
243
  export interface ListProvisioningTemplateVersionsRequest {
244
244
  templateName: string | undefined;
245
- maxResults?: number;
246
- nextToken?: string;
245
+ maxResults?: number | undefined;
246
+ nextToken?: string | undefined;
247
247
  }
248
248
  export interface ProvisioningTemplateVersionSummary {
249
- versionId?: number;
250
- creationDate?: Date;
251
- isDefaultVersion?: boolean;
249
+ versionId?: number | undefined;
250
+ creationDate?: Date | undefined;
251
+ isDefaultVersion?: boolean | undefined;
252
252
  }
253
253
  export interface ListProvisioningTemplateVersionsResponse {
254
- versions?: ProvisioningTemplateVersionSummary[];
255
- nextToken?: string;
254
+ versions?: ProvisioningTemplateVersionSummary[] | undefined;
255
+ nextToken?: string | undefined;
256
256
  }
257
257
  export interface ListRelatedResourcesForAuditFindingRequest {
258
258
  findingId: string | undefined;
259
- nextToken?: string;
260
- maxResults?: number;
259
+ nextToken?: string | undefined;
260
+ maxResults?: number | undefined;
261
261
  }
262
262
  export interface ListRelatedResourcesForAuditFindingResponse {
263
- relatedResources?: RelatedResource[];
264
- nextToken?: string;
263
+ relatedResources?: RelatedResource[] | undefined;
264
+ nextToken?: string | undefined;
265
265
  }
266
266
  export interface ListRoleAliasesRequest {
267
- pageSize?: number;
268
- marker?: string;
269
- ascendingOrder?: boolean;
267
+ pageSize?: number | undefined;
268
+ marker?: string | undefined;
269
+ ascendingOrder?: boolean | undefined;
270
270
  }
271
271
  export interface ListRoleAliasesResponse {
272
- roleAliases?: string[];
273
- nextMarker?: string;
272
+ roleAliases?: string[] | undefined;
273
+ nextMarker?: string | undefined;
274
274
  }
275
275
  export declare const SbomValidationResult: {
276
276
  readonly FAILED: "FAILED";
@@ -281,9 +281,9 @@ export type SbomValidationResult =
281
281
  export interface ListSbomValidationResultsRequest {
282
282
  packageName: string | undefined;
283
283
  versionName: string | undefined;
284
- validationResult?: SbomValidationResult;
285
- maxResults?: number;
286
- nextToken?: string;
284
+ validationResult?: SbomValidationResult | undefined;
285
+ maxResults?: number | undefined;
286
+ nextToken?: string | undefined;
287
287
  }
288
288
  export declare const SbomValidationErrorCode: {
289
289
  readonly FILE_SIZE_LIMIT_EXCEEDED: "FILE_SIZE_LIMIT_EXCEEDED";
@@ -292,130 +292,130 @@ export declare const SbomValidationErrorCode: {
292
292
  export type SbomValidationErrorCode =
293
293
  (typeof SbomValidationErrorCode)[keyof typeof SbomValidationErrorCode];
294
294
  export interface SbomValidationResultSummary {
295
- fileName?: string;
296
- validationResult?: SbomValidationResult;
297
- errorCode?: SbomValidationErrorCode;
298
- errorMessage?: string;
295
+ fileName?: string | undefined;
296
+ validationResult?: SbomValidationResult | undefined;
297
+ errorCode?: SbomValidationErrorCode | undefined;
298
+ errorMessage?: string | undefined;
299
299
  }
300
300
  export interface ListSbomValidationResultsResponse {
301
- validationResultSummaries?: SbomValidationResultSummary[];
302
- nextToken?: string;
301
+ validationResultSummaries?: SbomValidationResultSummary[] | undefined;
302
+ nextToken?: string | undefined;
303
303
  }
304
304
  export interface ListScheduledAuditsRequest {
305
- nextToken?: string;
306
- maxResults?: number;
305
+ nextToken?: string | undefined;
306
+ maxResults?: number | undefined;
307
307
  }
308
308
  export interface ScheduledAuditMetadata {
309
- scheduledAuditName?: string;
310
- scheduledAuditArn?: string;
311
- frequency?: AuditFrequency;
312
- dayOfMonth?: string;
313
- dayOfWeek?: DayOfWeek;
309
+ scheduledAuditName?: string | undefined;
310
+ scheduledAuditArn?: string | undefined;
311
+ frequency?: AuditFrequency | undefined;
312
+ dayOfMonth?: string | undefined;
313
+ dayOfWeek?: DayOfWeek | undefined;
314
314
  }
315
315
  export interface ListScheduledAuditsResponse {
316
- scheduledAudits?: ScheduledAuditMetadata[];
317
- nextToken?: string;
316
+ scheduledAudits?: ScheduledAuditMetadata[] | undefined;
317
+ nextToken?: string | undefined;
318
318
  }
319
319
  export interface ListSecurityProfilesRequest {
320
- nextToken?: string;
321
- maxResults?: number;
322
- dimensionName?: string;
323
- metricName?: string;
320
+ nextToken?: string | undefined;
321
+ maxResults?: number | undefined;
322
+ dimensionName?: string | undefined;
323
+ metricName?: string | undefined;
324
324
  }
325
325
  export interface SecurityProfileIdentifier {
326
326
  name: string | undefined;
327
327
  arn: string | undefined;
328
328
  }
329
329
  export interface ListSecurityProfilesResponse {
330
- securityProfileIdentifiers?: SecurityProfileIdentifier[];
331
- nextToken?: string;
330
+ securityProfileIdentifiers?: SecurityProfileIdentifier[] | undefined;
331
+ nextToken?: string | undefined;
332
332
  }
333
333
  export interface ListSecurityProfilesForTargetRequest {
334
- nextToken?: string;
335
- maxResults?: number;
336
- recursive?: boolean;
334
+ nextToken?: string | undefined;
335
+ maxResults?: number | undefined;
336
+ recursive?: boolean | undefined;
337
337
  securityProfileTargetArn: string | undefined;
338
338
  }
339
339
  export interface SecurityProfileTarget {
340
340
  arn: string | undefined;
341
341
  }
342
342
  export interface SecurityProfileTargetMapping {
343
- securityProfileIdentifier?: SecurityProfileIdentifier;
344
- target?: SecurityProfileTarget;
343
+ securityProfileIdentifier?: SecurityProfileIdentifier | undefined;
344
+ target?: SecurityProfileTarget | undefined;
345
345
  }
346
346
  export interface ListSecurityProfilesForTargetResponse {
347
- securityProfileTargetMappings?: SecurityProfileTargetMapping[];
348
- nextToken?: string;
347
+ securityProfileTargetMappings?: SecurityProfileTargetMapping[] | undefined;
348
+ nextToken?: string | undefined;
349
349
  }
350
350
  export interface ListStreamsRequest {
351
- maxResults?: number;
352
- nextToken?: string;
353
- ascendingOrder?: boolean;
351
+ maxResults?: number | undefined;
352
+ nextToken?: string | undefined;
353
+ ascendingOrder?: boolean | undefined;
354
354
  }
355
355
  export interface StreamSummary {
356
- streamId?: string;
357
- streamArn?: string;
358
- streamVersion?: number;
359
- description?: string;
356
+ streamId?: string | undefined;
357
+ streamArn?: string | undefined;
358
+ streamVersion?: number | undefined;
359
+ description?: string | undefined;
360
360
  }
361
361
  export interface ListStreamsResponse {
362
- streams?: StreamSummary[];
363
- nextToken?: string;
362
+ streams?: StreamSummary[] | undefined;
363
+ nextToken?: string | undefined;
364
364
  }
365
365
  export interface ListTagsForResourceRequest {
366
366
  resourceArn: string | undefined;
367
- nextToken?: string;
367
+ nextToken?: string | undefined;
368
368
  }
369
369
  export interface ListTagsForResourceResponse {
370
- tags?: Tag[];
371
- nextToken?: string;
370
+ tags?: Tag[] | undefined;
371
+ nextToken?: string | undefined;
372
372
  }
373
373
  export interface ListTargetsForPolicyRequest {
374
374
  policyName: string | undefined;
375
- marker?: string;
376
- pageSize?: number;
375
+ marker?: string | undefined;
376
+ pageSize?: number | undefined;
377
377
  }
378
378
  export interface ListTargetsForPolicyResponse {
379
- targets?: string[];
380
- nextMarker?: string;
379
+ targets?: string[] | undefined;
380
+ nextMarker?: string | undefined;
381
381
  }
382
382
  export interface ListTargetsForSecurityProfileRequest {
383
383
  securityProfileName: string | undefined;
384
- nextToken?: string;
385
- maxResults?: number;
384
+ nextToken?: string | undefined;
385
+ maxResults?: number | undefined;
386
386
  }
387
387
  export interface ListTargetsForSecurityProfileResponse {
388
- securityProfileTargets?: SecurityProfileTarget[];
389
- nextToken?: string;
388
+ securityProfileTargets?: SecurityProfileTarget[] | undefined;
389
+ nextToken?: string | undefined;
390
390
  }
391
391
  export interface ListThingGroupsRequest {
392
- nextToken?: string;
393
- maxResults?: number;
394
- parentGroup?: string;
395
- namePrefixFilter?: string;
396
- recursive?: boolean;
392
+ nextToken?: string | undefined;
393
+ maxResults?: number | undefined;
394
+ parentGroup?: string | undefined;
395
+ namePrefixFilter?: string | undefined;
396
+ recursive?: boolean | undefined;
397
397
  }
398
398
  export interface ListThingGroupsResponse {
399
- thingGroups?: GroupNameAndArn[];
400
- nextToken?: string;
399
+ thingGroups?: GroupNameAndArn[] | undefined;
400
+ nextToken?: string | undefined;
401
401
  }
402
402
  export interface ListThingGroupsForThingRequest {
403
403
  thingName: string | undefined;
404
- nextToken?: string;
405
- maxResults?: number;
404
+ nextToken?: string | undefined;
405
+ maxResults?: number | undefined;
406
406
  }
407
407
  export interface ListThingGroupsForThingResponse {
408
- thingGroups?: GroupNameAndArn[];
409
- nextToken?: string;
408
+ thingGroups?: GroupNameAndArn[] | undefined;
409
+ nextToken?: string | undefined;
410
410
  }
411
411
  export interface ListThingPrincipalsRequest {
412
- nextToken?: string;
413
- maxResults?: number;
412
+ nextToken?: string | undefined;
413
+ maxResults?: number | undefined;
414
414
  thingName: string | undefined;
415
415
  }
416
416
  export interface ListThingPrincipalsResponse {
417
- principals?: string[];
418
- nextToken?: string;
417
+ principals?: string[] | undefined;
418
+ nextToken?: string | undefined;
419
419
  }
420
420
  export declare const ReportType: {
421
421
  readonly ERRORS: "ERRORS";
@@ -425,146 +425,146 @@ export type ReportType = (typeof ReportType)[keyof typeof ReportType];
425
425
  export interface ListThingRegistrationTaskReportsRequest {
426
426
  taskId: string | undefined;
427
427
  reportType: ReportType | undefined;
428
- nextToken?: string;
429
- maxResults?: number;
428
+ nextToken?: string | undefined;
429
+ maxResults?: number | undefined;
430
430
  }
431
431
  export interface ListThingRegistrationTaskReportsResponse {
432
- resourceLinks?: string[];
433
- reportType?: ReportType;
434
- nextToken?: string;
432
+ resourceLinks?: string[] | undefined;
433
+ reportType?: ReportType | undefined;
434
+ nextToken?: string | undefined;
435
435
  }
436
436
  export interface ListThingRegistrationTasksRequest {
437
- nextToken?: string;
438
- maxResults?: number;
439
- status?: Status;
437
+ nextToken?: string | undefined;
438
+ maxResults?: number | undefined;
439
+ status?: Status | undefined;
440
440
  }
441
441
  export interface ListThingRegistrationTasksResponse {
442
- taskIds?: string[];
443
- nextToken?: string;
442
+ taskIds?: string[] | undefined;
443
+ nextToken?: string | undefined;
444
444
  }
445
445
  export interface ListThingsRequest {
446
- nextToken?: string;
447
- maxResults?: number;
448
- attributeName?: string;
449
- attributeValue?: string;
450
- thingTypeName?: string;
451
- usePrefixAttributeValue?: boolean;
446
+ nextToken?: string | undefined;
447
+ maxResults?: number | undefined;
448
+ attributeName?: string | undefined;
449
+ attributeValue?: string | undefined;
450
+ thingTypeName?: string | undefined;
451
+ usePrefixAttributeValue?: boolean | undefined;
452
452
  }
453
453
  export interface ThingAttribute {
454
- thingName?: string;
455
- thingTypeName?: string;
456
- thingArn?: string;
457
- attributes?: Record<string, string>;
458
- version?: number;
454
+ thingName?: string | undefined;
455
+ thingTypeName?: string | undefined;
456
+ thingArn?: string | undefined;
457
+ attributes?: Record<string, string> | undefined;
458
+ version?: number | undefined;
459
459
  }
460
460
  export interface ListThingsResponse {
461
- things?: ThingAttribute[];
462
- nextToken?: string;
461
+ things?: ThingAttribute[] | undefined;
462
+ nextToken?: string | undefined;
463
463
  }
464
464
  export interface ListThingsInBillingGroupRequest {
465
465
  billingGroupName: string | undefined;
466
- nextToken?: string;
467
- maxResults?: number;
466
+ nextToken?: string | undefined;
467
+ maxResults?: number | undefined;
468
468
  }
469
469
  export interface ListThingsInBillingGroupResponse {
470
- things?: string[];
471
- nextToken?: string;
470
+ things?: string[] | undefined;
471
+ nextToken?: string | undefined;
472
472
  }
473
473
  export interface ListThingsInThingGroupRequest {
474
474
  thingGroupName: string | undefined;
475
- recursive?: boolean;
476
- nextToken?: string;
477
- maxResults?: number;
475
+ recursive?: boolean | undefined;
476
+ nextToken?: string | undefined;
477
+ maxResults?: number | undefined;
478
478
  }
479
479
  export interface ListThingsInThingGroupResponse {
480
- things?: string[];
481
- nextToken?: string;
480
+ things?: string[] | undefined;
481
+ nextToken?: string | undefined;
482
482
  }
483
483
  export interface ListThingTypesRequest {
484
- nextToken?: string;
485
- maxResults?: number;
486
- thingTypeName?: string;
484
+ nextToken?: string | undefined;
485
+ maxResults?: number | undefined;
486
+ thingTypeName?: string | undefined;
487
487
  }
488
488
  export interface ThingTypeDefinition {
489
- thingTypeName?: string;
490
- thingTypeArn?: string;
491
- thingTypeProperties?: ThingTypeProperties;
492
- thingTypeMetadata?: ThingTypeMetadata;
489
+ thingTypeName?: string | undefined;
490
+ thingTypeArn?: string | undefined;
491
+ thingTypeProperties?: ThingTypeProperties | undefined;
492
+ thingTypeMetadata?: ThingTypeMetadata | undefined;
493
493
  }
494
494
  export interface ListThingTypesResponse {
495
- thingTypes?: ThingTypeDefinition[];
496
- nextToken?: string;
495
+ thingTypes?: ThingTypeDefinition[] | undefined;
496
+ nextToken?: string | undefined;
497
497
  }
498
498
  export interface ListTopicRuleDestinationsRequest {
499
- maxResults?: number;
500
- nextToken?: string;
499
+ maxResults?: number | undefined;
500
+ nextToken?: string | undefined;
501
501
  }
502
502
  export interface HttpUrlDestinationSummary {
503
- confirmationUrl?: string;
503
+ confirmationUrl?: string | undefined;
504
504
  }
505
505
  export interface VpcDestinationSummary {
506
- subnetIds?: string[];
507
- securityGroups?: string[];
508
- vpcId?: string;
509
- roleArn?: string;
506
+ subnetIds?: string[] | undefined;
507
+ securityGroups?: string[] | undefined;
508
+ vpcId?: string | undefined;
509
+ roleArn?: string | undefined;
510
510
  }
511
511
  export interface TopicRuleDestinationSummary {
512
- arn?: string;
513
- status?: TopicRuleDestinationStatus;
514
- createdAt?: Date;
515
- lastUpdatedAt?: Date;
516
- statusReason?: string;
517
- httpUrlSummary?: HttpUrlDestinationSummary;
518
- vpcDestinationSummary?: VpcDestinationSummary;
512
+ arn?: string | undefined;
513
+ status?: TopicRuleDestinationStatus | undefined;
514
+ createdAt?: Date | undefined;
515
+ lastUpdatedAt?: Date | undefined;
516
+ statusReason?: string | undefined;
517
+ httpUrlSummary?: HttpUrlDestinationSummary | undefined;
518
+ vpcDestinationSummary?: VpcDestinationSummary | undefined;
519
519
  }
520
520
  export interface ListTopicRuleDestinationsResponse {
521
- destinationSummaries?: TopicRuleDestinationSummary[];
522
- nextToken?: string;
521
+ destinationSummaries?: TopicRuleDestinationSummary[] | undefined;
522
+ nextToken?: string | undefined;
523
523
  }
524
524
  export interface ListTopicRulesRequest {
525
- topic?: string;
526
- maxResults?: number;
527
- nextToken?: string;
528
- ruleDisabled?: boolean;
525
+ topic?: string | undefined;
526
+ maxResults?: number | undefined;
527
+ nextToken?: string | undefined;
528
+ ruleDisabled?: boolean | undefined;
529
529
  }
530
530
  export interface TopicRuleListItem {
531
- ruleArn?: string;
532
- ruleName?: string;
533
- topicPattern?: string;
534
- createdAt?: Date;
535
- ruleDisabled?: boolean;
531
+ ruleArn?: string | undefined;
532
+ ruleName?: string | undefined;
533
+ topicPattern?: string | undefined;
534
+ createdAt?: Date | undefined;
535
+ ruleDisabled?: boolean | undefined;
536
536
  }
537
537
  export interface ListTopicRulesResponse {
538
- rules?: TopicRuleListItem[];
539
- nextToken?: string;
538
+ rules?: TopicRuleListItem[] | undefined;
539
+ nextToken?: string | undefined;
540
540
  }
541
541
  export interface ListV2LoggingLevelsRequest {
542
- targetType?: LogTargetType;
543
- nextToken?: string;
544
- maxResults?: number;
542
+ targetType?: LogTargetType | undefined;
543
+ nextToken?: string | undefined;
544
+ maxResults?: number | undefined;
545
545
  }
546
546
  export interface LogTarget {
547
547
  targetType: LogTargetType | undefined;
548
- targetName?: string;
548
+ targetName?: string | undefined;
549
549
  }
550
550
  export interface LogTargetConfiguration {
551
- logTarget?: LogTarget;
552
- logLevel?: LogLevel;
551
+ logTarget?: LogTarget | undefined;
552
+ logLevel?: LogLevel | undefined;
553
553
  }
554
554
  export interface ListV2LoggingLevelsResponse {
555
- logTargetConfigurations?: LogTargetConfiguration[];
556
- nextToken?: string;
555
+ logTargetConfigurations?: LogTargetConfiguration[] | undefined;
556
+ nextToken?: string | undefined;
557
557
  }
558
558
  export interface ListViolationEventsRequest {
559
559
  startTime: Date | undefined;
560
560
  endTime: Date | undefined;
561
- thingName?: string;
562
- securityProfileName?: string;
563
- behaviorCriteriaType?: BehaviorCriteriaType;
564
- listSuppressedAlerts?: boolean;
565
- verificationState?: VerificationState;
566
- nextToken?: string;
567
- maxResults?: number;
561
+ thingName?: string | undefined;
562
+ securityProfileName?: string | undefined;
563
+ behaviorCriteriaType?: BehaviorCriteriaType | undefined;
564
+ listSuppressedAlerts?: boolean | undefined;
565
+ verificationState?: VerificationState | undefined;
566
+ nextToken?: string | undefined;
567
+ maxResults?: number | undefined;
568
568
  }
569
569
  export declare const ViolationEventType: {
570
570
  readonly ALARM_CLEARED: "alarm-cleared";
@@ -574,39 +574,39 @@ export declare const ViolationEventType: {
574
574
  export type ViolationEventType =
575
575
  (typeof ViolationEventType)[keyof typeof ViolationEventType];
576
576
  export interface ViolationEvent {
577
- violationId?: string;
578
- thingName?: string;
579
- securityProfileName?: string;
580
- behavior?: Behavior;
581
- metricValue?: MetricValue;
582
- violationEventAdditionalInfo?: ViolationEventAdditionalInfo;
583
- violationEventType?: ViolationEventType;
584
- verificationState?: VerificationState;
585
- verificationStateDescription?: string;
586
- violationEventTime?: Date;
577
+ violationId?: string | undefined;
578
+ thingName?: string | undefined;
579
+ securityProfileName?: string | undefined;
580
+ behavior?: Behavior | undefined;
581
+ metricValue?: MetricValue | undefined;
582
+ violationEventAdditionalInfo?: ViolationEventAdditionalInfo | undefined;
583
+ violationEventType?: ViolationEventType | undefined;
584
+ verificationState?: VerificationState | undefined;
585
+ verificationStateDescription?: string | undefined;
586
+ violationEventTime?: Date | undefined;
587
587
  }
588
588
  export interface ListViolationEventsResponse {
589
- violationEvents?: ViolationEvent[];
590
- nextToken?: string;
589
+ violationEvents?: ViolationEvent[] | undefined;
590
+ nextToken?: string | undefined;
591
591
  }
592
592
  export interface PutVerificationStateOnViolationRequest {
593
593
  violationId: string | undefined;
594
594
  verificationState: VerificationState | undefined;
595
- verificationStateDescription?: string;
595
+ verificationStateDescription?: string | undefined;
596
596
  }
597
597
  export interface PutVerificationStateOnViolationResponse {}
598
598
  export interface RegisterCACertificateRequest {
599
599
  caCertificate: string | undefined;
600
- verificationCertificate?: string;
601
- setAsActive?: boolean;
602
- allowAutoRegistration?: boolean;
603
- registrationConfig?: RegistrationConfig;
604
- tags?: Tag[];
605
- certificateMode?: CertificateMode;
600
+ verificationCertificate?: string | undefined;
601
+ setAsActive?: boolean | undefined;
602
+ allowAutoRegistration?: boolean | undefined;
603
+ registrationConfig?: RegistrationConfig | undefined;
604
+ tags?: Tag[] | undefined;
605
+ certificateMode?: CertificateMode | undefined;
606
606
  }
607
607
  export interface RegisterCACertificateResponse {
608
- certificateArn?: string;
609
- certificateId?: string;
608
+ certificateArn?: string | undefined;
609
+ certificateId?: string | undefined;
610
610
  }
611
611
  export declare class RegistrationCodeValidationException extends __BaseException {
612
612
  readonly name: "RegistrationCodeValidationException";
@@ -627,29 +627,29 @@ export declare class CertificateConflictException extends __BaseException {
627
627
  }
628
628
  export interface RegisterCertificateRequest {
629
629
  certificatePem: string | undefined;
630
- caCertificatePem?: string;
631
- setAsActive?: boolean;
632
- status?: CertificateStatus;
630
+ caCertificatePem?: string | undefined;
631
+ setAsActive?: boolean | undefined;
632
+ status?: CertificateStatus | undefined;
633
633
  }
634
634
  export interface RegisterCertificateResponse {
635
- certificateArn?: string;
636
- certificateId?: string;
635
+ certificateArn?: string | undefined;
636
+ certificateId?: string | undefined;
637
637
  }
638
638
  export interface RegisterCertificateWithoutCARequest {
639
639
  certificatePem: string | undefined;
640
- status?: CertificateStatus;
640
+ status?: CertificateStatus | undefined;
641
641
  }
642
642
  export interface RegisterCertificateWithoutCAResponse {
643
- certificateArn?: string;
644
- certificateId?: string;
643
+ certificateArn?: string | undefined;
644
+ certificateId?: string | undefined;
645
645
  }
646
646
  export interface RegisterThingRequest {
647
647
  templateBody: string | undefined;
648
- parameters?: Record<string, string>;
648
+ parameters?: Record<string, string> | undefined;
649
649
  }
650
650
  export interface RegisterThingResponse {
651
- certificatePem?: string;
652
- resourceArns?: Record<string, string>;
651
+ certificatePem?: string | undefined;
652
+ resourceArns?: Record<string, string> | undefined;
653
653
  }
654
654
  export declare class ResourceRegistrationFailureException extends __BaseException {
655
655
  readonly name: "ResourceRegistrationFailureException";
@@ -663,20 +663,20 @@ export declare class ResourceRegistrationFailureException extends __BaseExceptio
663
663
  }
664
664
  export interface RejectCertificateTransferRequest {
665
665
  certificateId: string | undefined;
666
- rejectReason?: string;
666
+ rejectReason?: string | undefined;
667
667
  }
668
668
  export interface RemoveThingFromBillingGroupRequest {
669
- billingGroupName?: string;
670
- billingGroupArn?: string;
671
- thingName?: string;
672
- thingArn?: string;
669
+ billingGroupName?: string | undefined;
670
+ billingGroupArn?: string | undefined;
671
+ thingName?: string | undefined;
672
+ thingArn?: string | undefined;
673
673
  }
674
674
  export interface RemoveThingFromBillingGroupResponse {}
675
675
  export interface RemoveThingFromThingGroupRequest {
676
- thingGroupName?: string;
677
- thingGroupArn?: string;
678
- thingName?: string;
679
- thingArn?: string;
676
+ thingGroupName?: string | undefined;
677
+ thingGroupArn?: string | undefined;
678
+ thingName?: string | undefined;
679
+ thingArn?: string | undefined;
680
680
  }
681
681
  export interface RemoveThingFromThingGroupResponse {}
682
682
  export interface ReplaceTopicRuleRequest {
@@ -684,45 +684,45 @@ export interface ReplaceTopicRuleRequest {
684
684
  topicRulePayload: TopicRulePayload | undefined;
685
685
  }
686
686
  export interface SearchIndexRequest {
687
- indexName?: string;
687
+ indexName?: string | undefined;
688
688
  queryString: string | undefined;
689
- nextToken?: string;
690
- maxResults?: number;
691
- queryVersion?: string;
689
+ nextToken?: string | undefined;
690
+ maxResults?: number | undefined;
691
+ queryVersion?: string | undefined;
692
692
  }
693
693
  export interface ThingGroupDocument {
694
- thingGroupName?: string;
695
- thingGroupId?: string;
696
- thingGroupDescription?: string;
697
- attributes?: Record<string, string>;
698
- parentGroupNames?: string[];
694
+ thingGroupName?: string | undefined;
695
+ thingGroupId?: string | undefined;
696
+ thingGroupDescription?: string | undefined;
697
+ attributes?: Record<string, string> | undefined;
698
+ parentGroupNames?: string[] | undefined;
699
699
  }
700
700
  export interface ThingConnectivity {
701
- connected?: boolean;
702
- timestamp?: number;
703
- disconnectReason?: string;
701
+ connected?: boolean | undefined;
702
+ timestamp?: number | undefined;
703
+ disconnectReason?: string | undefined;
704
704
  }
705
705
  export interface ThingDocument {
706
- thingName?: string;
707
- thingId?: string;
708
- thingTypeName?: string;
709
- thingGroupNames?: string[];
710
- attributes?: Record<string, string>;
711
- shadow?: string;
712
- deviceDefender?: string;
713
- connectivity?: ThingConnectivity;
706
+ thingName?: string | undefined;
707
+ thingId?: string | undefined;
708
+ thingTypeName?: string | undefined;
709
+ thingGroupNames?: string[] | undefined;
710
+ attributes?: Record<string, string> | undefined;
711
+ shadow?: string | undefined;
712
+ deviceDefender?: string | undefined;
713
+ connectivity?: ThingConnectivity | undefined;
714
714
  }
715
715
  export interface SearchIndexResponse {
716
- nextToken?: string;
717
- things?: ThingDocument[];
718
- thingGroups?: ThingGroupDocument[];
716
+ nextToken?: string | undefined;
717
+ things?: ThingDocument[] | undefined;
718
+ thingGroups?: ThingGroupDocument[] | undefined;
719
719
  }
720
720
  export interface SetDefaultAuthorizerRequest {
721
721
  authorizerName: string | undefined;
722
722
  }
723
723
  export interface SetDefaultAuthorizerResponse {
724
- authorizerName?: string;
725
- authorizerArn?: string;
724
+ authorizerName?: string | undefined;
725
+ authorizerArn?: string | undefined;
726
726
  }
727
727
  export interface SetDefaultPolicyVersionRequest {
728
728
  policyName: string | undefined;
@@ -730,7 +730,7 @@ export interface SetDefaultPolicyVersionRequest {
730
730
  }
731
731
  export interface LoggingOptionsPayload {
732
732
  roleArn: string | undefined;
733
- logLevel?: LogLevel;
733
+ logLevel?: LogLevel | undefined;
734
734
  }
735
735
  export interface SetLoggingOptionsRequest {
736
736
  loggingOptionsPayload: LoggingOptionsPayload | undefined;
@@ -740,18 +740,18 @@ export interface SetV2LoggingLevelRequest {
740
740
  logLevel: LogLevel | undefined;
741
741
  }
742
742
  export interface SetV2LoggingOptionsRequest {
743
- roleArn?: string;
744
- defaultLogLevel?: LogLevel;
745
- disableAllLogs?: boolean;
743
+ roleArn?: string | undefined;
744
+ defaultLogLevel?: LogLevel | undefined;
745
+ disableAllLogs?: boolean | undefined;
746
746
  }
747
747
  export interface StartAuditMitigationActionsTaskRequest {
748
748
  taskId: string | undefined;
749
749
  target: AuditMitigationActionsTaskTarget | undefined;
750
750
  auditCheckToActionsMapping: Record<string, string[]> | undefined;
751
- clientRequestToken?: string;
751
+ clientRequestToken?: string | undefined;
752
752
  }
753
753
  export interface StartAuditMitigationActionsTaskResponse {
754
- taskId?: string;
754
+ taskId?: string | undefined;
755
755
  }
756
756
  export declare class TaskAlreadyExistsException extends __BaseException {
757
757
  readonly name: "TaskAlreadyExistsException";
@@ -764,19 +764,19 @@ export interface StartDetectMitigationActionsTaskRequest {
764
764
  taskId: string | undefined;
765
765
  target: DetectMitigationActionsTaskTarget | undefined;
766
766
  actions: string[] | undefined;
767
- violationEventOccurrenceRange?: ViolationEventOccurrenceRange;
768
- includeOnlyActiveViolations?: boolean;
769
- includeSuppressedAlerts?: boolean;
770
- clientRequestToken?: string;
767
+ violationEventOccurrenceRange?: ViolationEventOccurrenceRange | undefined;
768
+ includeOnlyActiveViolations?: boolean | undefined;
769
+ includeSuppressedAlerts?: boolean | undefined;
770
+ clientRequestToken?: string | undefined;
771
771
  }
772
772
  export interface StartDetectMitigationActionsTaskResponse {
773
- taskId?: string;
773
+ taskId?: string | undefined;
774
774
  }
775
775
  export interface StartOnDemandAuditTaskRequest {
776
776
  targetCheckNames: string[] | undefined;
777
777
  }
778
778
  export interface StartOnDemandAuditTaskResponse {
779
- taskId?: string;
779
+ taskId?: string | undefined;
780
780
  }
781
781
  export interface StartThingRegistrationTaskRequest {
782
782
  templateBody: string | undefined;
@@ -785,7 +785,7 @@ export interface StartThingRegistrationTaskRequest {
785
785
  roleArn: string | undefined;
786
786
  }
787
787
  export interface StartThingRegistrationTaskResponse {
788
- taskId?: string;
788
+ taskId?: string | undefined;
789
789
  }
790
790
  export interface StopThingRegistrationTaskRequest {
791
791
  taskId: string | undefined;
@@ -797,15 +797,15 @@ export interface TagResourceRequest {
797
797
  }
798
798
  export interface TagResourceResponse {}
799
799
  export interface TestAuthorizationRequest {
800
- principal?: string;
801
- cognitoIdentityPoolId?: string;
800
+ principal?: string | undefined;
801
+ cognitoIdentityPoolId?: string | undefined;
802
802
  authInfos: AuthInfo[] | undefined;
803
- clientId?: string;
804
- policyNamesToAdd?: string[];
805
- policyNamesToSkip?: string[];
803
+ clientId?: string | undefined;
804
+ policyNamesToAdd?: string[] | undefined;
805
+ policyNamesToSkip?: string[] | undefined;
806
806
  }
807
807
  export interface TestAuthorizationResponse {
808
- authResults?: AuthResult[];
808
+ authResults?: AuthResult[] | undefined;
809
809
  }
810
810
  export declare class InvalidResponseException extends __BaseException {
811
811
  readonly name: "InvalidResponseException";
@@ -815,39 +815,39 @@ export declare class InvalidResponseException extends __BaseException {
815
815
  );
816
816
  }
817
817
  export interface HttpContext {
818
- headers?: Record<string, string>;
819
- queryString?: string;
818
+ headers?: Record<string, string> | undefined;
819
+ queryString?: string | undefined;
820
820
  }
821
821
  export interface MqttContext {
822
- username?: string;
823
- password?: Uint8Array;
824
- clientId?: string;
822
+ username?: string | undefined;
823
+ password?: Uint8Array | undefined;
824
+ clientId?: string | undefined;
825
825
  }
826
826
  export interface TlsContext {
827
- serverName?: string;
827
+ serverName?: string | undefined;
828
828
  }
829
829
  export interface TestInvokeAuthorizerRequest {
830
830
  authorizerName: string | undefined;
831
- token?: string;
832
- tokenSignature?: string;
833
- httpContext?: HttpContext;
834
- mqttContext?: MqttContext;
835
- tlsContext?: TlsContext;
831
+ token?: string | undefined;
832
+ tokenSignature?: string | undefined;
833
+ httpContext?: HttpContext | undefined;
834
+ mqttContext?: MqttContext | undefined;
835
+ tlsContext?: TlsContext | undefined;
836
836
  }
837
837
  export interface TestInvokeAuthorizerResponse {
838
- isAuthenticated?: boolean;
839
- principalId?: string;
840
- policyDocuments?: string[];
841
- refreshAfterInSeconds?: number;
842
- disconnectAfterInSeconds?: number;
838
+ isAuthenticated?: boolean | undefined;
839
+ principalId?: string | undefined;
840
+ policyDocuments?: string[] | undefined;
841
+ refreshAfterInSeconds?: number | undefined;
842
+ disconnectAfterInSeconds?: number | undefined;
843
843
  }
844
844
  export interface TransferCertificateRequest {
845
845
  certificateId: string | undefined;
846
846
  targetAwsAccount: string | undefined;
847
- transferMessage?: string;
847
+ transferMessage?: string | undefined;
848
848
  }
849
849
  export interface TransferCertificateResponse {
850
- transferredCertificateArn?: string;
850
+ transferredCertificateArn?: string | undefined;
851
851
  }
852
852
  export declare class TransferConflictException extends __BaseException {
853
853
  readonly name: "TransferConflictException";
@@ -862,47 +862,49 @@ export interface UntagResourceRequest {
862
862
  }
863
863
  export interface UntagResourceResponse {}
864
864
  export interface UpdateAccountAuditConfigurationRequest {
865
- roleArn?: string;
866
- auditNotificationTargetConfigurations?: Partial<
867
- Record<AuditNotificationType, AuditNotificationTarget>
868
- >;
869
- auditCheckConfigurations?: Record<string, AuditCheckConfiguration>;
865
+ roleArn?: string | undefined;
866
+ auditNotificationTargetConfigurations?:
867
+ | Partial<Record<AuditNotificationType, AuditNotificationTarget>>
868
+ | undefined;
869
+ auditCheckConfigurations?:
870
+ | Record<string, AuditCheckConfiguration>
871
+ | undefined;
870
872
  }
871
873
  export interface UpdateAccountAuditConfigurationResponse {}
872
874
  export interface UpdateAuditSuppressionRequest {
873
875
  checkName: string | undefined;
874
876
  resourceIdentifier: ResourceIdentifier | undefined;
875
- expirationDate?: Date;
876
- suppressIndefinitely?: boolean;
877
- description?: string;
877
+ expirationDate?: Date | undefined;
878
+ suppressIndefinitely?: boolean | undefined;
879
+ description?: string | undefined;
878
880
  }
879
881
  export interface UpdateAuditSuppressionResponse {}
880
882
  export interface UpdateAuthorizerRequest {
881
883
  authorizerName: string | undefined;
882
- authorizerFunctionArn?: string;
883
- tokenKeyName?: string;
884
- tokenSigningPublicKeys?: Record<string, string>;
885
- status?: AuthorizerStatus;
886
- enableCachingForHttp?: boolean;
884
+ authorizerFunctionArn?: string | undefined;
885
+ tokenKeyName?: string | undefined;
886
+ tokenSigningPublicKeys?: Record<string, string> | undefined;
887
+ status?: AuthorizerStatus | undefined;
888
+ enableCachingForHttp?: boolean | undefined;
887
889
  }
888
890
  export interface UpdateAuthorizerResponse {
889
- authorizerName?: string;
890
- authorizerArn?: string;
891
+ authorizerName?: string | undefined;
892
+ authorizerArn?: string | undefined;
891
893
  }
892
894
  export interface UpdateBillingGroupRequest {
893
895
  billingGroupName: string | undefined;
894
896
  billingGroupProperties: BillingGroupProperties | undefined;
895
- expectedVersion?: number;
897
+ expectedVersion?: number | undefined;
896
898
  }
897
899
  export interface UpdateBillingGroupResponse {
898
- version?: number;
900
+ version?: number | undefined;
899
901
  }
900
902
  export interface UpdateCACertificateRequest {
901
903
  certificateId: string | undefined;
902
- newStatus?: CACertificateStatus;
903
- newAutoRegistrationStatus?: AutoRegistrationStatus;
904
- registrationConfig?: RegistrationConfig;
905
- removeAutoRegistration?: boolean;
904
+ newStatus?: CACertificateStatus | undefined;
905
+ newAutoRegistrationStatus?: AutoRegistrationStatus | undefined;
906
+ registrationConfig?: RegistrationConfig | undefined;
907
+ removeAutoRegistration?: boolean | undefined;
906
908
  }
907
909
  export interface UpdateCertificateRequest {
908
910
  certificateId: string | undefined;
@@ -910,114 +912,114 @@ export interface UpdateCertificateRequest {
910
912
  }
911
913
  export interface UpdateCertificateProviderRequest {
912
914
  certificateProviderName: string | undefined;
913
- lambdaFunctionArn?: string;
914
- accountDefaultForOperations?: CertificateProviderOperation[];
915
+ lambdaFunctionArn?: string | undefined;
916
+ accountDefaultForOperations?: CertificateProviderOperation[] | undefined;
915
917
  }
916
918
  export interface UpdateCertificateProviderResponse {
917
- certificateProviderName?: string;
918
- certificateProviderArn?: string;
919
+ certificateProviderName?: string | undefined;
920
+ certificateProviderArn?: string | undefined;
919
921
  }
920
922
  export interface UpdateCustomMetricRequest {
921
923
  metricName: string | undefined;
922
924
  displayName: string | undefined;
923
925
  }
924
926
  export interface UpdateCustomMetricResponse {
925
- metricName?: string;
926
- metricArn?: string;
927
- metricType?: CustomMetricType;
928
- displayName?: string;
929
- creationDate?: Date;
930
- lastModifiedDate?: Date;
927
+ metricName?: string | undefined;
928
+ metricArn?: string | undefined;
929
+ metricType?: CustomMetricType | undefined;
930
+ displayName?: string | undefined;
931
+ creationDate?: Date | undefined;
932
+ lastModifiedDate?: Date | undefined;
931
933
  }
932
934
  export interface UpdateDimensionRequest {
933
935
  name: string | undefined;
934
936
  stringValues: string[] | undefined;
935
937
  }
936
938
  export interface UpdateDimensionResponse {
937
- name?: string;
938
- arn?: string;
939
- type?: DimensionType;
940
- stringValues?: string[];
941
- creationDate?: Date;
942
- lastModifiedDate?: Date;
939
+ name?: string | undefined;
940
+ arn?: string | undefined;
941
+ type?: DimensionType | undefined;
942
+ stringValues?: string[] | undefined;
943
+ creationDate?: Date | undefined;
944
+ lastModifiedDate?: Date | undefined;
943
945
  }
944
946
  export interface UpdateDomainConfigurationRequest {
945
947
  domainConfigurationName: string | undefined;
946
- authorizerConfig?: AuthorizerConfig;
947
- domainConfigurationStatus?: DomainConfigurationStatus;
948
- removeAuthorizerConfig?: boolean;
949
- tlsConfig?: TlsConfig;
950
- serverCertificateConfig?: ServerCertificateConfig;
951
- authenticationType?: AuthenticationType;
952
- applicationProtocol?: ApplicationProtocol;
953
- clientCertificateConfig?: ClientCertificateConfig;
948
+ authorizerConfig?: AuthorizerConfig | undefined;
949
+ domainConfigurationStatus?: DomainConfigurationStatus | undefined;
950
+ removeAuthorizerConfig?: boolean | undefined;
951
+ tlsConfig?: TlsConfig | undefined;
952
+ serverCertificateConfig?: ServerCertificateConfig | undefined;
953
+ authenticationType?: AuthenticationType | undefined;
954
+ applicationProtocol?: ApplicationProtocol | undefined;
955
+ clientCertificateConfig?: ClientCertificateConfig | undefined;
954
956
  }
955
957
  export interface UpdateDomainConfigurationResponse {
956
- domainConfigurationName?: string;
957
- domainConfigurationArn?: string;
958
+ domainConfigurationName?: string | undefined;
959
+ domainConfigurationArn?: string | undefined;
958
960
  }
959
961
  export interface UpdateDynamicThingGroupRequest {
960
962
  thingGroupName: string | undefined;
961
963
  thingGroupProperties: ThingGroupProperties | undefined;
962
- expectedVersion?: number;
963
- indexName?: string;
964
- queryString?: string;
965
- queryVersion?: string;
964
+ expectedVersion?: number | undefined;
965
+ indexName?: string | undefined;
966
+ queryString?: string | undefined;
967
+ queryVersion?: string | undefined;
966
968
  }
967
969
  export interface UpdateDynamicThingGroupResponse {
968
- version?: number;
970
+ version?: number | undefined;
969
971
  }
970
972
  export interface UpdateEventConfigurationsRequest {
971
- eventConfigurations?: Partial<Record<EventType, Configuration>>;
973
+ eventConfigurations?: Partial<Record<EventType, Configuration>> | undefined;
972
974
  }
973
975
  export interface UpdateEventConfigurationsResponse {}
974
976
  export interface UpdateFleetMetricRequest {
975
977
  metricName: string | undefined;
976
- queryString?: string;
977
- aggregationType?: AggregationType;
978
- period?: number;
979
- aggregationField?: string;
980
- description?: string;
981
- queryVersion?: string;
978
+ queryString?: string | undefined;
979
+ aggregationType?: AggregationType | undefined;
980
+ period?: number | undefined;
981
+ aggregationField?: string | undefined;
982
+ description?: string | undefined;
983
+ queryVersion?: string | undefined;
982
984
  indexName: string | undefined;
983
- unit?: FleetMetricUnit;
984
- expectedVersion?: number;
985
+ unit?: FleetMetricUnit | undefined;
986
+ expectedVersion?: number | undefined;
985
987
  }
986
988
  export interface UpdateIndexingConfigurationRequest {
987
- thingIndexingConfiguration?: ThingIndexingConfiguration;
988
- thingGroupIndexingConfiguration?: ThingGroupIndexingConfiguration;
989
+ thingIndexingConfiguration?: ThingIndexingConfiguration | undefined;
990
+ thingGroupIndexingConfiguration?: ThingGroupIndexingConfiguration | undefined;
989
991
  }
990
992
  export interface UpdateIndexingConfigurationResponse {}
991
993
  export interface UpdateJobRequest {
992
994
  jobId: string | undefined;
993
- description?: string;
994
- presignedUrlConfig?: PresignedUrlConfig;
995
- jobExecutionsRolloutConfig?: JobExecutionsRolloutConfig;
996
- abortConfig?: AbortConfig;
997
- timeoutConfig?: TimeoutConfig;
998
- namespaceId?: string;
999
- jobExecutionsRetryConfig?: JobExecutionsRetryConfig;
995
+ description?: string | undefined;
996
+ presignedUrlConfig?: PresignedUrlConfig | undefined;
997
+ jobExecutionsRolloutConfig?: JobExecutionsRolloutConfig | undefined;
998
+ abortConfig?: AbortConfig | undefined;
999
+ timeoutConfig?: TimeoutConfig | undefined;
1000
+ namespaceId?: string | undefined;
1001
+ jobExecutionsRetryConfig?: JobExecutionsRetryConfig | undefined;
1000
1002
  }
1001
1003
  export interface UpdateMitigationActionRequest {
1002
1004
  actionName: string | undefined;
1003
- roleArn?: string;
1004
- actionParams?: MitigationActionParams;
1005
+ roleArn?: string | undefined;
1006
+ actionParams?: MitigationActionParams | undefined;
1005
1007
  }
1006
1008
  export interface UpdateMitigationActionResponse {
1007
- actionArn?: string;
1008
- actionId?: string;
1009
+ actionArn?: string | undefined;
1010
+ actionId?: string | undefined;
1009
1011
  }
1010
1012
  export interface UpdatePackageRequest {
1011
1013
  packageName: string | undefined;
1012
- description?: string;
1013
- defaultVersionName?: string;
1014
- unsetDefaultVersion?: boolean;
1015
- clientToken?: string;
1014
+ description?: string | undefined;
1015
+ defaultVersionName?: string | undefined;
1016
+ unsetDefaultVersion?: boolean | undefined;
1017
+ clientToken?: string | undefined;
1016
1018
  }
1017
1019
  export interface UpdatePackageResponse {}
1018
1020
  export interface UpdatePackageConfigurationRequest {
1019
- versionUpdateByJobsConfig?: VersionUpdateByJobsConfig;
1020
- clientToken?: string;
1021
+ versionUpdateByJobsConfig?: VersionUpdateByJobsConfig | undefined;
1022
+ clientToken?: string | undefined;
1021
1023
  }
1022
1024
  export interface UpdatePackageConfigurationResponse {}
1023
1025
  export declare const PackageVersionAction: {
@@ -1029,103 +1031,103 @@ export type PackageVersionAction =
1029
1031
  export interface UpdatePackageVersionRequest {
1030
1032
  packageName: string | undefined;
1031
1033
  versionName: string | undefined;
1032
- description?: string;
1033
- attributes?: Record<string, string>;
1034
- artifact?: PackageVersionArtifact;
1035
- action?: PackageVersionAction;
1036
- recipe?: string;
1037
- clientToken?: string;
1034
+ description?: string | undefined;
1035
+ attributes?: Record<string, string> | undefined;
1036
+ artifact?: PackageVersionArtifact | undefined;
1037
+ action?: PackageVersionAction | undefined;
1038
+ recipe?: string | undefined;
1039
+ clientToken?: string | undefined;
1038
1040
  }
1039
1041
  export interface UpdatePackageVersionResponse {}
1040
1042
  export interface UpdateProvisioningTemplateRequest {
1041
1043
  templateName: string | undefined;
1042
- description?: string;
1043
- enabled?: boolean;
1044
- defaultVersionId?: number;
1045
- provisioningRoleArn?: string;
1046
- preProvisioningHook?: ProvisioningHook;
1047
- removePreProvisioningHook?: boolean;
1044
+ description?: string | undefined;
1045
+ enabled?: boolean | undefined;
1046
+ defaultVersionId?: number | undefined;
1047
+ provisioningRoleArn?: string | undefined;
1048
+ preProvisioningHook?: ProvisioningHook | undefined;
1049
+ removePreProvisioningHook?: boolean | undefined;
1048
1050
  }
1049
1051
  export interface UpdateProvisioningTemplateResponse {}
1050
1052
  export interface UpdateRoleAliasRequest {
1051
1053
  roleAlias: string | undefined;
1052
- roleArn?: string;
1053
- credentialDurationSeconds?: number;
1054
+ roleArn?: string | undefined;
1055
+ credentialDurationSeconds?: number | undefined;
1054
1056
  }
1055
1057
  export interface UpdateRoleAliasResponse {
1056
- roleAlias?: string;
1057
- roleAliasArn?: string;
1058
+ roleAlias?: string | undefined;
1059
+ roleAliasArn?: string | undefined;
1058
1060
  }
1059
1061
  export interface UpdateScheduledAuditRequest {
1060
- frequency?: AuditFrequency;
1061
- dayOfMonth?: string;
1062
- dayOfWeek?: DayOfWeek;
1063
- targetCheckNames?: string[];
1062
+ frequency?: AuditFrequency | undefined;
1063
+ dayOfMonth?: string | undefined;
1064
+ dayOfWeek?: DayOfWeek | undefined;
1065
+ targetCheckNames?: string[] | undefined;
1064
1066
  scheduledAuditName: string | undefined;
1065
1067
  }
1066
1068
  export interface UpdateScheduledAuditResponse {
1067
- scheduledAuditArn?: string;
1069
+ scheduledAuditArn?: string | undefined;
1068
1070
  }
1069
1071
  export interface UpdateSecurityProfileRequest {
1070
1072
  securityProfileName: string | undefined;
1071
- securityProfileDescription?: string;
1072
- behaviors?: Behavior[];
1073
- alertTargets?: Partial<Record<AlertTargetType, AlertTarget>>;
1074
- additionalMetricsToRetain?: string[];
1075
- additionalMetricsToRetainV2?: MetricToRetain[];
1076
- deleteBehaviors?: boolean;
1077
- deleteAlertTargets?: boolean;
1078
- deleteAdditionalMetricsToRetain?: boolean;
1079
- expectedVersion?: number;
1080
- metricsExportConfig?: MetricsExportConfig;
1081
- deleteMetricsExportConfig?: boolean;
1073
+ securityProfileDescription?: string | undefined;
1074
+ behaviors?: Behavior[] | undefined;
1075
+ alertTargets?: Partial<Record<AlertTargetType, AlertTarget>> | undefined;
1076
+ additionalMetricsToRetain?: string[] | undefined;
1077
+ additionalMetricsToRetainV2?: MetricToRetain[] | undefined;
1078
+ deleteBehaviors?: boolean | undefined;
1079
+ deleteAlertTargets?: boolean | undefined;
1080
+ deleteAdditionalMetricsToRetain?: boolean | undefined;
1081
+ expectedVersion?: number | undefined;
1082
+ metricsExportConfig?: MetricsExportConfig | undefined;
1083
+ deleteMetricsExportConfig?: boolean | undefined;
1082
1084
  }
1083
1085
  export interface UpdateSecurityProfileResponse {
1084
- securityProfileName?: string;
1085
- securityProfileArn?: string;
1086
- securityProfileDescription?: string;
1087
- behaviors?: Behavior[];
1088
- alertTargets?: Partial<Record<AlertTargetType, AlertTarget>>;
1089
- additionalMetricsToRetain?: string[];
1090
- additionalMetricsToRetainV2?: MetricToRetain[];
1091
- version?: number;
1092
- creationDate?: Date;
1093
- lastModifiedDate?: Date;
1094
- metricsExportConfig?: MetricsExportConfig;
1086
+ securityProfileName?: string | undefined;
1087
+ securityProfileArn?: string | undefined;
1088
+ securityProfileDescription?: string | undefined;
1089
+ behaviors?: Behavior[] | undefined;
1090
+ alertTargets?: Partial<Record<AlertTargetType, AlertTarget>> | undefined;
1091
+ additionalMetricsToRetain?: string[] | undefined;
1092
+ additionalMetricsToRetainV2?: MetricToRetain[] | undefined;
1093
+ version?: number | undefined;
1094
+ creationDate?: Date | undefined;
1095
+ lastModifiedDate?: Date | undefined;
1096
+ metricsExportConfig?: MetricsExportConfig | undefined;
1095
1097
  }
1096
1098
  export interface UpdateStreamRequest {
1097
1099
  streamId: string | undefined;
1098
- description?: string;
1099
- files?: StreamFile[];
1100
- roleArn?: string;
1100
+ description?: string | undefined;
1101
+ files?: StreamFile[] | undefined;
1102
+ roleArn?: string | undefined;
1101
1103
  }
1102
1104
  export interface UpdateStreamResponse {
1103
- streamId?: string;
1104
- streamArn?: string;
1105
- description?: string;
1106
- streamVersion?: number;
1105
+ streamId?: string | undefined;
1106
+ streamArn?: string | undefined;
1107
+ description?: string | undefined;
1108
+ streamVersion?: number | undefined;
1107
1109
  }
1108
1110
  export interface UpdateThingRequest {
1109
1111
  thingName: string | undefined;
1110
- thingTypeName?: string;
1111
- attributePayload?: AttributePayload;
1112
- expectedVersion?: number;
1113
- removeThingType?: boolean;
1112
+ thingTypeName?: string | undefined;
1113
+ attributePayload?: AttributePayload | undefined;
1114
+ expectedVersion?: number | undefined;
1115
+ removeThingType?: boolean | undefined;
1114
1116
  }
1115
1117
  export interface UpdateThingResponse {}
1116
1118
  export interface UpdateThingGroupRequest {
1117
1119
  thingGroupName: string | undefined;
1118
1120
  thingGroupProperties: ThingGroupProperties | undefined;
1119
- expectedVersion?: number;
1121
+ expectedVersion?: number | undefined;
1120
1122
  }
1121
1123
  export interface UpdateThingGroupResponse {
1122
- version?: number;
1124
+ version?: number | undefined;
1123
1125
  }
1124
1126
  export interface UpdateThingGroupsForThingRequest {
1125
- thingName?: string;
1126
- thingGroupsToAdd?: string[];
1127
- thingGroupsToRemove?: string[];
1128
- overrideDynamicGroups?: boolean;
1127
+ thingName?: string | undefined;
1128
+ thingGroupsToAdd?: string[] | undefined;
1129
+ thingGroupsToRemove?: string[] | undefined;
1130
+ overrideDynamicGroups?: boolean | undefined;
1129
1131
  }
1130
1132
  export interface UpdateThingGroupsForThingResponse {}
1131
1133
  export interface UpdateTopicRuleDestinationRequest {
@@ -1137,11 +1139,11 @@ export interface ValidateSecurityProfileBehaviorsRequest {
1137
1139
  behaviors: Behavior[] | undefined;
1138
1140
  }
1139
1141
  export interface ValidationError {
1140
- errorMessage?: string;
1142
+ errorMessage?: string | undefined;
1141
1143
  }
1142
1144
  export interface ValidateSecurityProfileBehaviorsResponse {
1143
- valid?: boolean;
1144
- validationErrors?: ValidationError[];
1145
+ valid?: boolean | undefined;
1146
+ validationErrors?: ValidationError[] | undefined;
1145
1147
  }
1146
1148
  export declare const UpdatePackageRequestFilterSensitiveLog: (
1147
1149
  obj: UpdatePackageRequest