@aws-sdk/client-iot 3.43.0 → 3.47.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.
Files changed (50) hide show
  1. package/CHANGELOG.md +51 -0
  2. package/dist-cjs/commands/DeleteScheduledAuditCommand.js +3 -3
  3. package/dist-cjs/commands/DeleteSecurityProfileCommand.js +1 -2
  4. package/dist-cjs/commands/ListThingRegistrationTaskReportsCommand.js +3 -3
  5. package/dist-cjs/commands/ListThingRegistrationTasksCommand.js +3 -3
  6. package/dist-cjs/commands/ListThingsCommand.js +1 -2
  7. package/dist-cjs/endpoints.js +1 -28
  8. package/dist-cjs/models/models_0.js +20 -158
  9. package/dist-cjs/models/models_1.js +34 -48
  10. package/dist-cjs/models/models_2.js +33 -39
  11. package/dist-cjs/protocols/Aws_restJson1.js +81 -0
  12. package/dist-cjs/runtimeConfig.browser.js +7 -2
  13. package/dist-cjs/runtimeConfig.js +9 -3
  14. package/dist-es/commands/DeleteScheduledAuditCommand.js +1 -1
  15. package/dist-es/commands/DeleteSecurityProfileCommand.js +1 -2
  16. package/dist-es/commands/ListThingRegistrationTaskReportsCommand.js +1 -1
  17. package/dist-es/commands/ListThingRegistrationTasksCommand.js +1 -1
  18. package/dist-es/commands/ListThingsCommand.js +1 -2
  19. package/dist-es/endpoints.js +1 -28
  20. package/dist-es/models/models_0.js +14 -104
  21. package/dist-es/models/models_1.js +22 -28
  22. package/dist-es/models/models_2.js +20 -24
  23. package/dist-es/protocols/Aws_restJson1.js +82 -14
  24. package/dist-es/runtimeConfig.browser.js +12 -3
  25. package/dist-es/runtimeConfig.js +13 -6
  26. package/dist-types/IoTClient.d.ts +5 -1
  27. package/dist-types/commands/DeleteScheduledAuditCommand.d.ts +1 -1
  28. package/dist-types/commands/DeleteSecurityProfileCommand.d.ts +1 -2
  29. package/dist-types/commands/ListThingRegistrationTaskReportsCommand.d.ts +1 -1
  30. package/dist-types/commands/ListThingRegistrationTasksCommand.d.ts +1 -1
  31. package/dist-types/commands/ListThingsCommand.d.ts +1 -2
  32. package/dist-types/models/models_0.d.ts +61 -173
  33. package/dist-types/models/models_1.d.ts +101 -138
  34. package/dist-types/models/models_2.d.ts +146 -40
  35. package/dist-types/runtimeConfig.browser.d.ts +3 -2
  36. package/dist-types/runtimeConfig.d.ts +4 -3
  37. package/dist-types/runtimeConfig.native.d.ts +1 -0
  38. package/dist-types/ts3.4/IoTClient.d.ts +3 -1
  39. package/dist-types/ts3.4/commands/DeleteScheduledAuditCommand.d.ts +1 -1
  40. package/dist-types/ts3.4/commands/DeleteSecurityProfileCommand.d.ts +1 -2
  41. package/dist-types/ts3.4/commands/ListThingRegistrationTaskReportsCommand.d.ts +1 -1
  42. package/dist-types/ts3.4/commands/ListThingRegistrationTasksCommand.d.ts +1 -1
  43. package/dist-types/ts3.4/commands/ListThingsCommand.d.ts +1 -2
  44. package/dist-types/ts3.4/models/models_0.d.ts +31 -114
  45. package/dist-types/ts3.4/models/models_1.d.ts +45 -76
  46. package/dist-types/ts3.4/models/models_2.d.ts +75 -26
  47. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +3 -2
  48. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -3
  49. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
  50. package/package.json +38 -45
@@ -1,5 +1,43 @@
1
1
  import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
2
- import { AbortConfig, Action, ActiveViolation, AggregationType, AlertTarget, AuditCheckConfiguration, AuditCheckDetails, AuditFinding, AuditFrequency, AuditMitigationActionExecutionMetadata, AuditMitigationActionsExecutionStatus, AuditMitigationActionsTaskMetadata, AuditMitigationActionsTaskStatus, AuditMitigationActionsTaskTarget, AuditNotificationTarget, AuditSuppression, AuditTaskMetadata, AuditTaskStatus, AuditTaskType, AuthorizerConfig, AuthorizerDescription, AuthorizerStatus, AuthorizerSummary, AutoRegistrationStatus, AwsJobExecutionsRolloutConfig, AwsJobPresignedUrlConfig, Behavior, BillingGroupProperties, CustomMetricType, DayOfWeek, DimensionType, FleetMetricUnit, JobExecutionsRolloutConfig, LogLevel, MetricToRetain, MitigationActionParams, OTAUpdateFile, OTAUpdateStatus, Policy, PresignedUrlConfig, Protocol, ProvisioningHook, ResourceIdentifier, ServiceType, StreamFile, Tag, TargetSelection, TaskStatisticsForAuditCheck, ThingGroupProperties, ThingTypeProperties, TimeoutConfig, TopicRuleDestination, VerificationState } from "./models_0";
2
+ import { AbortConfig, Action, ActiveViolation, AggregationType, AlertTarget, AuditCheckConfiguration, AuditCheckDetails, AuditFinding, AuditFrequency, AuditMitigationActionExecutionMetadata, AuditMitigationActionsExecutionStatus, AuditMitigationActionsTaskMetadata, AuditMitigationActionsTaskStatus, AuditMitigationActionsTaskTarget, AuditNotificationTarget, AuditSuppression, AuditTaskMetadata, AuditTaskStatus, AuditTaskType, AuthorizerConfig, AuthorizerDescription, AuthorizerStatus, AuthorizerSummary, AutoRegistrationStatus, AwsJobExecutionsRolloutConfig, AwsJobPresignedUrlConfig, Behavior, BillingGroupProperties, CustomMetricType, DayOfWeek, DimensionType, FleetMetricUnit, JobExecutionsRetryConfig, JobExecutionsRolloutConfig, LogLevel, MetricToRetain, MitigationActionParams, OTAUpdateFile, OTAUpdateStatus, Policy, PresignedUrlConfig, Protocol, ProvisioningHook, ResourceIdentifier, ServiceType, StreamFile, Tag, TargetSelection, TaskStatisticsForAuditCheck, ThingGroupProperties, ThingTypeProperties, TimeoutConfig, TopicRuleDestination, VerificationState } from "./models_0";
3
+ export interface DeleteScheduledAuditRequest {
4
+ /**
5
+ * <p>The name of the scheduled audit you want to delete.</p>
6
+ */
7
+ scheduledAuditName: string | undefined;
8
+ }
9
+ export declare namespace DeleteScheduledAuditRequest {
10
+ /**
11
+ * @internal
12
+ */
13
+ const filterSensitiveLog: (obj: DeleteScheduledAuditRequest) => any;
14
+ }
15
+ export interface DeleteScheduledAuditResponse {
16
+ }
17
+ export declare namespace DeleteScheduledAuditResponse {
18
+ /**
19
+ * @internal
20
+ */
21
+ const filterSensitiveLog: (obj: DeleteScheduledAuditResponse) => any;
22
+ }
23
+ export interface DeleteSecurityProfileRequest {
24
+ /**
25
+ * <p>The name of the security profile to be deleted.</p>
26
+ */
27
+ securityProfileName: string | undefined;
28
+ /**
29
+ * <p>The expected version of the security profile. A new version is generated whenever
30
+ * the security profile is updated. If you specify a value that is different from the actual
31
+ * version, a <code>VersionConflictException</code> is thrown.</p>
32
+ */
33
+ expectedVersion?: number;
34
+ }
35
+ export declare namespace DeleteSecurityProfileRequest {
36
+ /**
37
+ * @internal
38
+ */
39
+ const filterSensitiveLog: (obj: DeleteSecurityProfileRequest) => any;
40
+ }
3
41
  export interface DeleteSecurityProfileResponse {
4
42
  }
5
43
  export declare namespace DeleteSecurityProfileResponse {
@@ -1481,6 +1519,10 @@ export interface DescribeIndexResponse {
1481
1519
  * <p>REGISTRY_AND_SHADOW_AND_CONNECTIVITY_STATUS - Your thing index contains registry
1482
1520
  * data, shadow data, and thing connectivity status data.</p>
1483
1521
  * </li>
1522
+ * <li>
1523
+ * <p>MULTI_INDEXING_MODE - Your thing index contains multiple data sources. For more information, see
1524
+ * <a href="https://docs.aws.amazon.com/iot/latest/apireference/API_GetIndexingConfiguration.html">GetIndexingConfiguration</a>.</p>
1525
+ * </li>
1484
1526
  * </ul>
1485
1527
  */
1486
1528
  schema?: string;
@@ -1654,6 +1696,10 @@ export interface Job {
1654
1696
  * <p>The ARN of the job template used to create the job.</p>
1655
1697
  */
1656
1698
  jobTemplateArn?: string;
1699
+ /**
1700
+ * <p>The configuration for the criteria to retry the job.</p>
1701
+ */
1702
+ jobExecutionsRetryConfig?: JobExecutionsRetryConfig;
1657
1703
  /**
1658
1704
  * <p>A key-value map that pairs the patterns that need to be replaced in a managed
1659
1705
  * template job document schema. You can use the description of each key as a guidance
@@ -1864,6 +1910,11 @@ export interface DescribeJobTemplateResponse {
1864
1910
  * be automatically set to <code>TIMED_OUT</code>.</p>
1865
1911
  */
1866
1912
  timeoutConfig?: TimeoutConfig;
1913
+ /**
1914
+ * <p>The configuration that determines how many retries are allowed for each failure type
1915
+ * for a job.</p>
1916
+ */
1917
+ jobExecutionsRetryConfig?: JobExecutionsRetryConfig;
1867
1918
  }
1868
1919
  export declare namespace DescribeJobTemplateResponse {
1869
1920
  /**
@@ -1972,12 +2023,6 @@ export interface InternalServerException extends __SmithyException, $MetadataBea
1972
2023
  $fault: "server";
1973
2024
  message?: string;
1974
2025
  }
1975
- export declare namespace InternalServerException {
1976
- /**
1977
- * @internal
1978
- */
1979
- const filterSensitiveLog: (obj: InternalServerException) => any;
1980
- }
1981
2026
  export interface DescribeMitigationActionRequest {
1982
2027
  /**
1983
2028
  * <p>The friendly name that uniquely identifies the mitigation action.</p>
@@ -3205,6 +3250,14 @@ export declare namespace ThingGroupIndexingConfiguration {
3205
3250
  */
3206
3251
  const filterSensitiveLog: (obj: ThingGroupIndexingConfiguration) => any;
3207
3252
  }
3253
+ export declare enum DeviceDefenderIndexingMode {
3254
+ OFF = "OFF",
3255
+ VIOLATIONS = "VIOLATIONS"
3256
+ }
3257
+ export declare enum NamedShadowIndexingMode {
3258
+ OFF = "OFF",
3259
+ ON = "ON"
3260
+ }
3208
3261
  export declare enum ThingConnectivityIndexingMode {
3209
3262
  OFF = "OFF",
3210
3263
  STATUS = "STATUS"
@@ -3248,6 +3301,38 @@ export interface ThingIndexingConfiguration {
3248
3301
  * </ul>
3249
3302
  */
3250
3303
  thingConnectivityIndexingMode?: ThingConnectivityIndexingMode | string;
3304
+ /**
3305
+ * <p>Device Defender indexing mode. Valid values are:</p>
3306
+ * <ul>
3307
+ * <li>
3308
+ * <p>VIOLATIONS – Your thing index contains Device Defender violations. To enable Device
3309
+ * Defender indexing, <i>deviceDefenderIndexingMode</i> must not be set to
3310
+ * OFF.</p>
3311
+ * </li>
3312
+ * <li>
3313
+ * <p>OFF - Device Defender indexing is disabled.</p>
3314
+ * </li>
3315
+ * </ul>
3316
+ * <p>For more information about Device Defender violations, see <a href="https://docs.aws.amazon.com/iot/latest/developerguide/device-defender-detect.html">Device Defender Detect.</a>
3317
+ * </p>
3318
+ */
3319
+ deviceDefenderIndexingMode?: DeviceDefenderIndexingMode | string;
3320
+ /**
3321
+ * <p>Named shadow indexing mode. Valid values are:</p>
3322
+ * <ul>
3323
+ * <li>
3324
+ * <p>ON – Your thing index contains named shadow. To enable thing
3325
+ * named shadow indexing, <i>namedShadowIndexingMode</i> must not be set to
3326
+ * OFF.</p>
3327
+ * </li>
3328
+ * <li>
3329
+ * <p>OFF - Named shadow indexing is disabled.</p>
3330
+ * </li>
3331
+ * </ul>
3332
+ * <p>For more information about Shadows, see <a href="https://docs.aws.amazon.com/iot/latest/developerguide/iot-device-shadows.html">IoT Device Shadow service.</a>
3333
+ * </p>
3334
+ */
3335
+ namedShadowIndexingMode?: NamedShadowIndexingMode | string;
3251
3336
  /**
3252
3337
  * <p>Contains fields that are indexed and whose types are already known by the Fleet Indexing
3253
3338
  * service.</p>
@@ -3885,12 +3970,6 @@ export interface NotConfiguredException extends __SmithyException, $MetadataBear
3885
3970
  */
3886
3971
  message?: string;
3887
3972
  }
3888
- export declare namespace NotConfiguredException {
3889
- /**
3890
- * @internal
3891
- */
3892
- const filterSensitiveLog: (obj: NotConfiguredException) => any;
3893
- }
3894
3973
  export declare enum BehaviorCriteriaType {
3895
3974
  MACHINE_LEARNING = "MACHINE_LEARNING",
3896
3975
  STATIC = "STATIC",
@@ -5013,6 +5092,11 @@ export interface JobExecutionSummary {
5013
5092
  * information.</p>
5014
5093
  */
5015
5094
  executionNumber?: number;
5095
+ /**
5096
+ * <p>The number that indicates how many retry attempts have been completed for this
5097
+ * job on this device.</p>
5098
+ */
5099
+ retryAttempt?: number;
5016
5100
  }
5017
5101
  export declare namespace JobExecutionSummary {
5018
5102
  /**
@@ -5085,6 +5169,10 @@ export interface ListJobExecutionsForThingRequest {
5085
5169
  * <p>The token to retrieve the next set of results.</p>
5086
5170
  */
5087
5171
  nextToken?: string;
5172
+ /**
5173
+ * <p>The unique identifier you assigned to this job when it was created.</p>
5174
+ */
5175
+ jobId?: string;
5088
5176
  }
5089
5177
  export declare namespace ListJobExecutionsForThingRequest {
5090
5178
  /**
@@ -6471,128 +6559,3 @@ export declare enum ReportType {
6471
6559
  ERRORS = "ERRORS",
6472
6560
  RESULTS = "RESULTS"
6473
6561
  }
6474
- export interface ListThingRegistrationTaskReportsRequest {
6475
- /**
6476
- * <p>The id of the task.</p>
6477
- */
6478
- taskId: string | undefined;
6479
- /**
6480
- * <p>The type of task report.</p>
6481
- */
6482
- reportType: ReportType | string | undefined;
6483
- /**
6484
- * <p>To retrieve the next set of results, the <code>nextToken</code>
6485
- * value from a previous response; otherwise <b>null</b> to receive
6486
- * the first set of results.</p>
6487
- */
6488
- nextToken?: string;
6489
- /**
6490
- * <p>The maximum number of results to return per request.</p>
6491
- */
6492
- maxResults?: number;
6493
- }
6494
- export declare namespace ListThingRegistrationTaskReportsRequest {
6495
- /**
6496
- * @internal
6497
- */
6498
- const filterSensitiveLog: (obj: ListThingRegistrationTaskReportsRequest) => any;
6499
- }
6500
- export interface ListThingRegistrationTaskReportsResponse {
6501
- /**
6502
- * <p>Links to the task resources.</p>
6503
- */
6504
- resourceLinks?: string[];
6505
- /**
6506
- * <p>The type of task report.</p>
6507
- */
6508
- reportType?: ReportType | string;
6509
- /**
6510
- * <p>The token to use to get the next set of results, or <b>null</b> if there are no additional results.</p>
6511
- */
6512
- nextToken?: string;
6513
- }
6514
- export declare namespace ListThingRegistrationTaskReportsResponse {
6515
- /**
6516
- * @internal
6517
- */
6518
- const filterSensitiveLog: (obj: ListThingRegistrationTaskReportsResponse) => any;
6519
- }
6520
- export interface ListThingRegistrationTasksRequest {
6521
- /**
6522
- * <p>To retrieve the next set of results, the <code>nextToken</code>
6523
- * value from a previous response; otherwise <b>null</b> to receive
6524
- * the first set of results.</p>
6525
- */
6526
- nextToken?: string;
6527
- /**
6528
- * <p>The maximum number of results to return at one time.</p>
6529
- */
6530
- maxResults?: number;
6531
- /**
6532
- * <p>The status of the bulk thing provisioning task.</p>
6533
- */
6534
- status?: Status | string;
6535
- }
6536
- export declare namespace ListThingRegistrationTasksRequest {
6537
- /**
6538
- * @internal
6539
- */
6540
- const filterSensitiveLog: (obj: ListThingRegistrationTasksRequest) => any;
6541
- }
6542
- export interface ListThingRegistrationTasksResponse {
6543
- /**
6544
- * <p>A list of bulk thing provisioning task IDs.</p>
6545
- */
6546
- taskIds?: string[];
6547
- /**
6548
- * <p>The token to use to get the next set of results, or <b>null</b> if there are no additional results.</p>
6549
- */
6550
- nextToken?: string;
6551
- }
6552
- export declare namespace ListThingRegistrationTasksResponse {
6553
- /**
6554
- * @internal
6555
- */
6556
- const filterSensitiveLog: (obj: ListThingRegistrationTasksResponse) => any;
6557
- }
6558
- /**
6559
- * <p>The input for the ListThings operation.</p>
6560
- */
6561
- export interface ListThingsRequest {
6562
- /**
6563
- * <p>To retrieve the next set of results, the <code>nextToken</code>
6564
- * value from a previous response; otherwise <b>null</b> to receive
6565
- * the first set of results.</p>
6566
- */
6567
- nextToken?: string;
6568
- /**
6569
- * <p>The maximum number of results to return in this operation.</p>
6570
- */
6571
- maxResults?: number;
6572
- /**
6573
- * <p>The attribute name used to search for things.</p>
6574
- */
6575
- attributeName?: string;
6576
- /**
6577
- * <p>The attribute value used to search for things.</p>
6578
- */
6579
- attributeValue?: string;
6580
- /**
6581
- * <p>The name of the thing type used to search for things.</p>
6582
- */
6583
- thingTypeName?: string;
6584
- /**
6585
- * <p>When <code>true</code>, the action returns the thing resources with attribute values
6586
- * that start with the <code>attributeValue</code> provided.</p>
6587
- * <p>When <code>false</code>, or not present, the action returns only the thing
6588
- * resources with attribute values that match the entire <code>attributeValue</code>
6589
- * provided. </p>
6590
- */
6591
- usePrefixAttributeValue?: boolean;
6592
- }
6593
- export declare namespace ListThingsRequest {
6594
- /**
6595
- * @internal
6596
- */
6597
- const filterSensitiveLog: (obj: ListThingsRequest) => any;
6598
- }
@@ -1,6 +1,131 @@
1
1
  import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
2
- import { AbortConfig, AggregationType, AlertTarget, AttributePayload, AuditCheckConfiguration, AuditFrequency, AuditMitigationActionsTaskTarget, AuditNotificationTarget, AuthInfo, AuthorizerConfig, AuthorizerStatus, AuthResult, AutoRegistrationStatus, Behavior, BillingGroupProperties, CustomMetricType, DayOfWeek, DimensionType, FleetMetricUnit, JobExecutionsRolloutConfig, LogLevel, MetricToRetain, MetricValue, MitigationActionParams, PresignedUrlConfig, ProvisioningHook, ResourceIdentifier, StreamFile, Tag, ThingGroupProperties, ThingTypeProperties, TimeoutConfig, TopicRuleDestinationStatus, TopicRulePayload, VerificationState, ViolationEventAdditionalInfo } from "./models_0";
3
- import { BehaviorCriteriaType, CACertificateStatus, CertificateStatus, Configuration, DetectMitigationActionsTaskTarget, DomainConfigurationStatus, LogTargetType, RegistrationConfig, ThingGroupIndexingConfiguration, ThingIndexingConfiguration, ThingTypeMetadata, ViolationEventOccurrenceRange } from "./models_1";
2
+ import { AbortConfig, AggregationType, AlertTarget, AttributePayload, AuditCheckConfiguration, AuditFrequency, AuditMitigationActionsTaskTarget, AuditNotificationTarget, AuthInfo, AuthorizerConfig, AuthorizerStatus, AuthResult, AutoRegistrationStatus, Behavior, BillingGroupProperties, CustomMetricType, DayOfWeek, DimensionType, FleetMetricUnit, JobExecutionsRetryConfig, JobExecutionsRolloutConfig, LogLevel, MetricToRetain, MetricValue, MitigationActionParams, PresignedUrlConfig, ProvisioningHook, ResourceIdentifier, StreamFile, Tag, ThingGroupProperties, ThingTypeProperties, TimeoutConfig, TopicRuleDestinationStatus, TopicRulePayload, VerificationState, ViolationEventAdditionalInfo } from "./models_0";
3
+ import { BehaviorCriteriaType, CACertificateStatus, CertificateStatus, Configuration, DetectMitigationActionsTaskTarget, DomainConfigurationStatus, LogTargetType, RegistrationConfig, ReportType, Status, ThingGroupIndexingConfiguration, ThingIndexingConfiguration, ThingTypeMetadata, ViolationEventOccurrenceRange } from "./models_1";
4
+ export interface ListThingRegistrationTaskReportsRequest {
5
+ /**
6
+ * <p>The id of the task.</p>
7
+ */
8
+ taskId: string | undefined;
9
+ /**
10
+ * <p>The type of task report.</p>
11
+ */
12
+ reportType: ReportType | string | undefined;
13
+ /**
14
+ * <p>To retrieve the next set of results, the <code>nextToken</code>
15
+ * value from a previous response; otherwise <b>null</b> to receive
16
+ * the first set of results.</p>
17
+ */
18
+ nextToken?: string;
19
+ /**
20
+ * <p>The maximum number of results to return per request.</p>
21
+ */
22
+ maxResults?: number;
23
+ }
24
+ export declare namespace ListThingRegistrationTaskReportsRequest {
25
+ /**
26
+ * @internal
27
+ */
28
+ const filterSensitiveLog: (obj: ListThingRegistrationTaskReportsRequest) => any;
29
+ }
30
+ export interface ListThingRegistrationTaskReportsResponse {
31
+ /**
32
+ * <p>Links to the task resources.</p>
33
+ */
34
+ resourceLinks?: string[];
35
+ /**
36
+ * <p>The type of task report.</p>
37
+ */
38
+ reportType?: ReportType | string;
39
+ /**
40
+ * <p>The token to use to get the next set of results, or <b>null</b> if there are no additional results.</p>
41
+ */
42
+ nextToken?: string;
43
+ }
44
+ export declare namespace ListThingRegistrationTaskReportsResponse {
45
+ /**
46
+ * @internal
47
+ */
48
+ const filterSensitiveLog: (obj: ListThingRegistrationTaskReportsResponse) => any;
49
+ }
50
+ export interface ListThingRegistrationTasksRequest {
51
+ /**
52
+ * <p>To retrieve the next set of results, the <code>nextToken</code>
53
+ * value from a previous response; otherwise <b>null</b> to receive
54
+ * the first set of results.</p>
55
+ */
56
+ nextToken?: string;
57
+ /**
58
+ * <p>The maximum number of results to return at one time.</p>
59
+ */
60
+ maxResults?: number;
61
+ /**
62
+ * <p>The status of the bulk thing provisioning task.</p>
63
+ */
64
+ status?: Status | string;
65
+ }
66
+ export declare namespace ListThingRegistrationTasksRequest {
67
+ /**
68
+ * @internal
69
+ */
70
+ const filterSensitiveLog: (obj: ListThingRegistrationTasksRequest) => any;
71
+ }
72
+ export interface ListThingRegistrationTasksResponse {
73
+ /**
74
+ * <p>A list of bulk thing provisioning task IDs.</p>
75
+ */
76
+ taskIds?: string[];
77
+ /**
78
+ * <p>The token to use to get the next set of results, or <b>null</b> if there are no additional results.</p>
79
+ */
80
+ nextToken?: string;
81
+ }
82
+ export declare namespace ListThingRegistrationTasksResponse {
83
+ /**
84
+ * @internal
85
+ */
86
+ const filterSensitiveLog: (obj: ListThingRegistrationTasksResponse) => any;
87
+ }
88
+ /**
89
+ * <p>The input for the ListThings operation.</p>
90
+ */
91
+ export interface ListThingsRequest {
92
+ /**
93
+ * <p>To retrieve the next set of results, the <code>nextToken</code>
94
+ * value from a previous response; otherwise <b>null</b> to receive
95
+ * the first set of results.</p>
96
+ */
97
+ nextToken?: string;
98
+ /**
99
+ * <p>The maximum number of results to return in this operation.</p>
100
+ */
101
+ maxResults?: number;
102
+ /**
103
+ * <p>The attribute name used to search for things.</p>
104
+ */
105
+ attributeName?: string;
106
+ /**
107
+ * <p>The attribute value used to search for things.</p>
108
+ */
109
+ attributeValue?: string;
110
+ /**
111
+ * <p>The name of the thing type used to search for things.</p>
112
+ */
113
+ thingTypeName?: string;
114
+ /**
115
+ * <p>When <code>true</code>, the action returns the thing resources with attribute values
116
+ * that start with the <code>attributeValue</code> provided.</p>
117
+ * <p>When <code>false</code>, or not present, the action returns only the thing
118
+ * resources with attribute values that match the entire <code>attributeValue</code>
119
+ * provided. </p>
120
+ */
121
+ usePrefixAttributeValue?: boolean;
122
+ }
123
+ export declare namespace ListThingsRequest {
124
+ /**
125
+ * @internal
126
+ */
127
+ const filterSensitiveLog: (obj: ListThingsRequest) => any;
128
+ }
4
129
  /**
5
130
  * <p>The properties of the thing, including thing name, thing type name, and a list of thing
6
131
  * attributes.</p>
@@ -736,12 +861,6 @@ export interface RegistrationCodeValidationException extends __SmithyException,
736
861
  */
737
862
  message?: string;
738
863
  }
739
- export declare namespace RegistrationCodeValidationException {
740
- /**
741
- * @internal
742
- */
743
- const filterSensitiveLog: (obj: RegistrationCodeValidationException) => any;
744
- }
745
864
  /**
746
865
  * <p>Unable to verify the CA certificate used to sign the device certificate you are
747
866
  * attempting to register. This is happens when you have registered more than one CA
@@ -755,12 +874,6 @@ export interface CertificateConflictException extends __SmithyException, $Metada
755
874
  */
756
875
  message?: string;
757
876
  }
758
- export declare namespace CertificateConflictException {
759
- /**
760
- * @internal
761
- */
762
- const filterSensitiveLog: (obj: CertificateConflictException) => any;
763
- }
764
877
  /**
765
878
  * <p>The input to the RegisterCertificate operation.</p>
766
879
  */
@@ -889,12 +1002,6 @@ export interface ResourceRegistrationFailureException extends __SmithyException,
889
1002
  */
890
1003
  message?: string;
891
1004
  }
892
- export declare namespace ResourceRegistrationFailureException {
893
- /**
894
- * @internal
895
- */
896
- const filterSensitiveLog: (obj: ResourceRegistrationFailureException) => any;
897
- }
898
1005
  /**
899
1006
  * <p>The input for the RejectCertificateTransfer operation.</p>
900
1007
  */
@@ -1112,9 +1219,16 @@ export interface ThingDocument {
1112
1219
  [key: string]: string;
1113
1220
  };
1114
1221
  /**
1115
- * <p>The shadow.</p>
1222
+ * <p>The unnamed shadow and named shadow.</p>
1223
+ * <p>For more information about shadows, see <a href="https://docs.aws.amazon.com/iot/latest/developerguide/iot-device-shadows.html">IoT Device Shadow service.</a>
1224
+ * </p>
1116
1225
  */
1117
1226
  shadow?: string;
1227
+ /**
1228
+ * <p>Contains Device Defender data.</p>
1229
+ * <p>For more information about Device Defender, see <a href="https://docs.aws.amazon.com/iot/latest/developerguide/device-defender.html">Device Defender</a>. </p>
1230
+ */
1231
+ deviceDefender?: string;
1118
1232
  /**
1119
1233
  * <p>Indicates whether the thing is connected to the Amazon Web Services IoT Core service.</p>
1120
1234
  */
@@ -1315,12 +1429,6 @@ export interface TaskAlreadyExistsException extends __SmithyException, $Metadata
1315
1429
  $fault: "client";
1316
1430
  message?: string;
1317
1431
  }
1318
- export declare namespace TaskAlreadyExistsException {
1319
- /**
1320
- * @internal
1321
- */
1322
- const filterSensitiveLog: (obj: TaskAlreadyExistsException) => any;
1323
- }
1324
1432
  export interface StartDetectMitigationActionsTaskRequest {
1325
1433
  /**
1326
1434
  * <p>
@@ -1552,12 +1660,6 @@ export interface InvalidResponseException extends __SmithyException, $MetadataBe
1552
1660
  */
1553
1661
  message?: string;
1554
1662
  }
1555
- export declare namespace InvalidResponseException {
1556
- /**
1557
- * @internal
1558
- */
1559
- const filterSensitiveLog: (obj: InvalidResponseException) => any;
1560
- }
1561
1663
  /**
1562
1664
  * <p>Specifies the HTTP context to use for the test authorizer request.</p>
1563
1665
  */
@@ -1729,12 +1831,6 @@ export interface TransferConflictException extends __SmithyException, $MetadataB
1729
1831
  */
1730
1832
  message?: string;
1731
1833
  }
1732
- export declare namespace TransferConflictException {
1733
- /**
1734
- * @internal
1735
- */
1736
- const filterSensitiveLog: (obj: TransferConflictException) => any;
1737
- }
1738
1834
  export interface UntagResourceRequest {
1739
1835
  /**
1740
1836
  * <p>The ARN of the resource.</p>
@@ -1878,6 +1974,12 @@ export interface UpdateAuthorizerRequest {
1878
1974
  * <p>The status of the update authorizer request.</p>
1879
1975
  */
1880
1976
  status?: AuthorizerStatus | string;
1977
+ /**
1978
+ * <p>When <code>true</code>, the result from the authorizer’s Lambda function is
1979
+ * cached for the time specified in <code>refreshAfterInSeconds</code>. The cached
1980
+ * result is used while the device reuses the same HTTP connection.</p>
1981
+ */
1982
+ enableCachingForHttp?: boolean;
1881
1983
  }
1882
1984
  export declare namespace UpdateAuthorizerRequest {
1883
1985
  /**
@@ -2264,7 +2366,7 @@ export interface UpdateFleetMetricRequest {
2264
2366
  indexName: string | undefined;
2265
2367
  /**
2266
2368
  * <p>Used to support unit transformation such as milliseconds to seconds. The unit must be
2267
- * supported by <a href="https://docs.aws.amazon.com/https:/docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_MetricDatum.html">CW metric</a>.</p>
2369
+ * supported by <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_MetricDatum.html">CW metric</a>.</p>
2268
2370
  */
2269
2371
  unit?: FleetMetricUnit | string;
2270
2372
  /**
@@ -2340,6 +2442,10 @@ export interface UpdateJobRequest {
2340
2442
  * </note>
2341
2443
  */
2342
2444
  namespaceId?: string;
2445
+ /**
2446
+ * <p>Allows you to create the criteria to retry a job.</p>
2447
+ */
2448
+ jobExecutionsRetryConfig?: JobExecutionsRetryConfig;
2343
2449
  }
2344
2450
  export declare namespace UpdateJobRequest {
2345
2451
  /**
@@ -1,10 +1,11 @@
1
- import { FetchHttpHandler } from "@aws-sdk/fetch-http-handler";
1
+ import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
2
2
  import { IoTClientConfig } from "./IoTClient";
3
3
  /**
4
4
  * @internal
5
5
  */
6
6
  export declare const getRuntimeConfig: (config: IoTClientConfig) => {
7
7
  runtime: string;
8
+ defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
8
9
  base64Decoder: import("@aws-sdk/types").Decoder;
9
10
  base64Encoder: import("@aws-sdk/types").Encoder;
10
11
  bodyLengthChecker: (body: any) => number | undefined;
@@ -12,7 +13,7 @@ export declare const getRuntimeConfig: (config: IoTClientConfig) => {
12
13
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
13
14
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
14
15
  region: string | import("@aws-sdk/types").Provider<any>;
15
- requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | FetchHttpHandler;
16
+ requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
16
17
  retryMode: string | import("@aws-sdk/types").Provider<string>;
17
18
  sha256: import("@aws-sdk/types").HashConstructor;
18
19
  streamCollector: import("@aws-sdk/types").StreamCollector;
@@ -1,18 +1,19 @@
1
- import { NodeHttpHandler } from "@aws-sdk/node-http-handler";
1
+ import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
2
2
  import { IoTClientConfig } from "./IoTClient";
3
3
  /**
4
4
  * @internal
5
5
  */
6
6
  export declare const getRuntimeConfig: (config: IoTClientConfig) => {
7
7
  runtime: string;
8
+ defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
8
9
  base64Decoder: import("@aws-sdk/types").Decoder;
9
10
  base64Encoder: import("@aws-sdk/types").Encoder;
10
11
  bodyLengthChecker: (body: any) => number | undefined;
11
- credentialDefaultProvider: import("@aws-sdk/client-sts/dist-types/defaultStsRoleAssumers").DefaultCredentialProvider;
12
+ credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
12
13
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
13
14
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
14
15
  region: string | import("@aws-sdk/types").Provider<string>;
15
- requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | NodeHttpHandler;
16
+ requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
16
17
  retryMode: string | import("@aws-sdk/types").Provider<string>;
17
18
  sha256: import("@aws-sdk/types").HashConstructor;
18
19
  streamCollector: import("@aws-sdk/types").StreamCollector;
@@ -25,6 +25,7 @@ export declare const getRuntimeConfig: (config: IoTClientConfig) => {
25
25
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
26
26
  regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
27
27
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
28
+ defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode> | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
28
29
  endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
29
30
  tls?: boolean | undefined;
30
31
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
@@ -4,7 +4,7 @@ import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry
4
4
  import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
5
5
  import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
6
6
  import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
7
- import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
7
+ import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
8
8
  import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
9
9
  import { AcceptCertificateTransferCommandInput, AcceptCertificateTransferCommandOutput } from "./commands/AcceptCertificateTransferCommand";
10
10
  import { AddThingToBillingGroupCommandInput, AddThingToBillingGroupCommandOutput } from "./commands/AddThingToBillingGroupCommand";
@@ -287,6 +287,8 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
287
287
  regionInfoProvider?: RegionInfoProvider;
288
288
 
289
289
  defaultUserAgentProvider?: Provider<__UserAgent>;
290
+
291
+ defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
290
292
  }
291
293
  declare type IoTClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
292
294
 
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
2
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
3
  import { IoTClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTClient";
4
- import { DeleteScheduledAuditRequest, DeleteScheduledAuditResponse } from "../models/models_0";
4
+ import { DeleteScheduledAuditRequest, DeleteScheduledAuditResponse } from "../models/models_1";
5
5
  export interface DeleteScheduledAuditCommandInput extends DeleteScheduledAuditRequest {
6
6
  }
7
7
  export interface DeleteScheduledAuditCommandOutput extends DeleteScheduledAuditResponse, __MetadataBearer {
@@ -1,8 +1,7 @@
1
1
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
2
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
3
  import { IoTClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTClient";
4
- import { DeleteSecurityProfileRequest } from "../models/models_0";
5
- import { DeleteSecurityProfileResponse } from "../models/models_1";
4
+ import { DeleteSecurityProfileRequest, DeleteSecurityProfileResponse } from "../models/models_1";
6
5
  export interface DeleteSecurityProfileCommandInput extends DeleteSecurityProfileRequest {
7
6
  }
8
7
  export interface DeleteSecurityProfileCommandOutput extends DeleteSecurityProfileResponse, __MetadataBearer {