@aws-sdk/client-iot 3.44.0 → 3.47.1

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 (46) hide show
  1. package/CHANGELOG.md +48 -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 +1 -2
  6. package/dist-cjs/endpoints.js +1 -28
  7. package/dist-cjs/models/models_0.js +20 -158
  8. package/dist-cjs/models/models_1.js +24 -36
  9. package/dist-cjs/models/models_2.js +21 -39
  10. package/dist-cjs/protocols/Aws_restJson1.js +74 -0
  11. package/dist-cjs/runtimeConfig.browser.js +7 -2
  12. package/dist-cjs/runtimeConfig.js +9 -3
  13. package/dist-es/commands/DeleteScheduledAuditCommand.js +1 -1
  14. package/dist-es/commands/DeleteSecurityProfileCommand.js +1 -2
  15. package/dist-es/commands/ListThingRegistrationTaskReportsCommand.js +1 -1
  16. package/dist-es/commands/ListThingRegistrationTasksCommand.js +1 -2
  17. package/dist-es/endpoints.js +1 -28
  18. package/dist-es/models/models_0.js +14 -104
  19. package/dist-es/models/models_1.js +12 -20
  20. package/dist-es/models/models_2.js +12 -24
  21. package/dist-es/protocols/Aws_restJson1.js +74 -11
  22. package/dist-es/runtimeConfig.browser.js +12 -3
  23. package/dist-es/runtimeConfig.js +13 -6
  24. package/dist-types/IoTClient.d.ts +5 -1
  25. package/dist-types/commands/DeleteScheduledAuditCommand.d.ts +1 -1
  26. package/dist-types/commands/DeleteSecurityProfileCommand.d.ts +1 -2
  27. package/dist-types/commands/ListThingRegistrationTaskReportsCommand.d.ts +1 -1
  28. package/dist-types/commands/ListThingRegistrationTasksCommand.d.ts +1 -2
  29. package/dist-types/models/models_0.d.ts +61 -173
  30. package/dist-types/models/models_1.d.ts +57 -81
  31. package/dist-types/models/models_2.d.ts +80 -38
  32. package/dist-types/runtimeConfig.browser.d.ts +3 -2
  33. package/dist-types/runtimeConfig.d.ts +4 -3
  34. package/dist-types/runtimeConfig.native.d.ts +1 -0
  35. package/dist-types/ts3.4/IoTClient.d.ts +3 -1
  36. package/dist-types/ts3.4/commands/DeleteScheduledAuditCommand.d.ts +1 -1
  37. package/dist-types/ts3.4/commands/DeleteSecurityProfileCommand.d.ts +1 -2
  38. package/dist-types/ts3.4/commands/ListThingRegistrationTaskReportsCommand.d.ts +1 -1
  39. package/dist-types/ts3.4/commands/ListThingRegistrationTasksCommand.d.ts +1 -2
  40. package/dist-types/ts3.4/models/models_0.d.ts +31 -114
  41. package/dist-types/ts3.4/models/models_1.d.ts +33 -47
  42. package/dist-types/ts3.4/models/models_2.d.ts +44 -26
  43. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +3 -2
  44. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -3
  45. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
  46. package/package.json +39 -46
@@ -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";
@@ -344,6 +344,10 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
344
344
  * @internal
345
345
  */
346
346
  defaultUserAgentProvider?: Provider<__UserAgent>;
347
+ /**
348
+ * The {@link DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
349
+ */
350
+ defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
347
351
  }
348
352
  declare type IoTClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
349
353
  /**
@@ -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 {
@@ -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 { ListThingRegistrationTaskReportsRequest, ListThingRegistrationTaskReportsResponse } from "../models/models_1";
4
+ import { ListThingRegistrationTaskReportsRequest, ListThingRegistrationTaskReportsResponse } from "../models/models_2";
5
5
  export interface ListThingRegistrationTaskReportsCommandInput extends ListThingRegistrationTaskReportsRequest {
6
6
  }
7
7
  export interface ListThingRegistrationTaskReportsCommandOutput extends ListThingRegistrationTaskReportsResponse, __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 { ListThingRegistrationTasksRequest } from "../models/models_1";
5
- import { ListThingRegistrationTasksResponse } from "../models/models_2";
4
+ import { ListThingRegistrationTasksRequest, ListThingRegistrationTasksResponse } from "../models/models_2";
6
5
  export interface ListThingRegistrationTasksCommandInput extends ListThingRegistrationTasksRequest {
7
6
  }
8
7
  export interface ListThingRegistrationTasksCommandOutput extends ListThingRegistrationTasksResponse, __MetadataBearer {
@@ -83,12 +83,6 @@ export interface InternalFailureException extends __SmithyException, $MetadataBe
83
83
  */
84
84
  message?: string;
85
85
  }
86
- export declare namespace InternalFailureException {
87
- /**
88
- * @internal
89
- */
90
- const filterSensitiveLog: (obj: InternalFailureException) => any;
91
- }
92
86
  /**
93
87
  * <p>The request is not valid.</p>
94
88
  */
@@ -100,12 +94,6 @@ export interface InvalidRequestException extends __SmithyException, $MetadataBea
100
94
  */
101
95
  message?: string;
102
96
  }
103
- export declare namespace InvalidRequestException {
104
- /**
105
- * @internal
106
- */
107
- const filterSensitiveLog: (obj: InvalidRequestException) => any;
108
- }
109
97
  /**
110
98
  * <p>The specified resource does not exist.</p>
111
99
  */
@@ -117,12 +105,6 @@ export interface ResourceNotFoundException extends __SmithyException, $MetadataB
117
105
  */
118
106
  message?: string;
119
107
  }
120
- export declare namespace ResourceNotFoundException {
121
- /**
122
- * @internal
123
- */
124
- const filterSensitiveLog: (obj: ResourceNotFoundException) => any;
125
- }
126
108
  /**
127
109
  * <p>The service is temporarily unavailable.</p>
128
110
  */
@@ -134,12 +116,6 @@ export interface ServiceUnavailableException extends __SmithyException, $Metadat
134
116
  */
135
117
  message?: string;
136
118
  }
137
- export declare namespace ServiceUnavailableException {
138
- /**
139
- * @internal
140
- */
141
- const filterSensitiveLog: (obj: ServiceUnavailableException) => any;
142
- }
143
119
  /**
144
120
  * <p>The rate exceeds the limit.</p>
145
121
  */
@@ -151,12 +127,6 @@ export interface ThrottlingException extends __SmithyException, $MetadataBearer
151
127
  */
152
128
  message?: string;
153
129
  }
154
- export declare namespace ThrottlingException {
155
- /**
156
- * @internal
157
- */
158
- const filterSensitiveLog: (obj: ThrottlingException) => any;
159
- }
160
130
  /**
161
131
  * <p>You can't revert the certificate transfer because the transfer is already
162
132
  * complete.</p>
@@ -169,12 +139,6 @@ export interface TransferAlreadyCompletedException extends __SmithyException, $M
169
139
  */
170
140
  message?: string;
171
141
  }
172
- export declare namespace TransferAlreadyCompletedException {
173
- /**
174
- * @internal
175
- */
176
- const filterSensitiveLog: (obj: TransferAlreadyCompletedException) => any;
177
- }
178
142
  /**
179
143
  * <p>You are not authorized to perform this operation.</p>
180
144
  */
@@ -186,12 +150,6 @@ export interface UnauthorizedException extends __SmithyException, $MetadataBeare
186
150
  */
187
151
  message?: string;
188
152
  }
189
- export declare namespace UnauthorizedException {
190
- /**
191
- * @internal
192
- */
193
- const filterSensitiveLog: (obj: UnauthorizedException) => any;
194
- }
195
153
  /**
196
154
  * <p>Describes an action that updates a CloudWatch alarm.</p>
197
155
  */
@@ -1851,12 +1809,6 @@ export interface LimitExceededException extends __SmithyException, $MetadataBear
1851
1809
  */
1852
1810
  message?: string;
1853
1811
  }
1854
- export declare namespace LimitExceededException {
1855
- /**
1856
- * @internal
1857
- */
1858
- const filterSensitiveLog: (obj: LimitExceededException) => any;
1859
- }
1860
1812
  export interface AttachPolicyRequest {
1861
1813
  /**
1862
1814
  * <p>The name of the policy to attach.</p>
@@ -1930,12 +1882,6 @@ export interface VersionConflictException extends __SmithyException, $MetadataBe
1930
1882
  */
1931
1883
  message?: string;
1932
1884
  }
1933
- export declare namespace VersionConflictException {
1934
- /**
1935
- * @internal
1936
- */
1937
- const filterSensitiveLog: (obj: VersionConflictException) => any;
1938
- }
1939
1885
  /**
1940
1886
  * <p>The input for the AttachThingPrincipal operation.</p>
1941
1887
  */
@@ -2586,6 +2532,12 @@ export interface AuthorizerDescription {
2586
2532
  * <p>Specifies whether IoT validates the token signature in an authorization request.</p>
2587
2533
  */
2588
2534
  signingDisabled?: boolean;
2535
+ /**
2536
+ * <p>When <code>true</code>, the result from the authorizer’s Lambda function is
2537
+ * cached for the time specified in <code>refreshAfterInSeconds</code>. The cached
2538
+ * result is used while the device reuses the same HTTP connection.</p>
2539
+ */
2540
+ enableCachingForHttp?: boolean;
2589
2541
  }
2590
2542
  export declare namespace AuthorizerDescription {
2591
2543
  /**
@@ -2886,12 +2838,6 @@ export interface InvalidStateTransitionException extends __SmithyException, $Met
2886
2838
  */
2887
2839
  message?: string;
2888
2840
  }
2889
- export declare namespace InvalidStateTransitionException {
2890
- /**
2891
- * @internal
2892
- */
2893
- const filterSensitiveLog: (obj: InvalidStateTransitionException) => any;
2894
- }
2895
2841
  export interface ClearDefaultAuthorizerRequest {
2896
2842
  }
2897
2843
  export declare namespace ClearDefaultAuthorizerRequest {
@@ -2940,12 +2886,6 @@ export interface ConflictingResourceUpdateException extends __SmithyException, $
2940
2886
  */
2941
2887
  message?: string;
2942
2888
  }
2943
- export declare namespace ConflictingResourceUpdateException {
2944
- /**
2945
- * @internal
2946
- */
2947
- const filterSensitiveLog: (obj: ConflictingResourceUpdateException) => any;
2948
- }
2949
2889
  /**
2950
2890
  * <p>An unexpected error has occurred.</p>
2951
2891
  */
@@ -2957,12 +2897,6 @@ export interface InternalException extends __SmithyException, $MetadataBearer {
2957
2897
  */
2958
2898
  message?: string;
2959
2899
  }
2960
- export declare namespace InternalException {
2961
- /**
2962
- * @internal
2963
- */
2964
- const filterSensitiveLog: (obj: InternalException) => any;
2965
- }
2966
2900
  export interface CreateAuditSuppressionRequest {
2967
2901
  /**
2968
2902
  * <p>An audit check name. Checks must be enabled
@@ -3034,12 +2968,6 @@ export interface ResourceAlreadyExistsException extends __SmithyException, $Meta
3034
2968
  */
3035
2969
  resourceArn?: string;
3036
2970
  }
3037
- export declare namespace ResourceAlreadyExistsException {
3038
- /**
3039
- * @internal
3040
- */
3041
- const filterSensitiveLog: (obj: ResourceAlreadyExistsException) => any;
3042
- }
3043
2971
  /**
3044
2972
  * <p>A set of key/value pairs that are used to manage the resource.</p>
3045
2973
  */
@@ -3098,6 +3026,14 @@ export interface CreateAuthorizerRequest {
3098
3026
  * <p>Specifies whether IoT validates the token signature in an authorization request.</p>
3099
3027
  */
3100
3028
  signingDisabled?: boolean;
3029
+ /**
3030
+ * <p>When <code>true</code>, the result from the authorizer’s Lambda function is
3031
+ * cached for clients that use persistent HTTP connections. The results are cached for the time
3032
+ * specified by the Lambda function in <code>refreshAfterInSeconds</code>. This value
3033
+ * does not affect authorization of clients that use MQTT connections.</p>
3034
+ * <p>The default value is <code>false</code>.</p>
3035
+ */
3036
+ enableCachingForHttp?: boolean;
3101
3037
  }
3102
3038
  export declare namespace CreateAuthorizerRequest {
3103
3039
  /**
@@ -3353,12 +3289,6 @@ export interface CertificateValidationException extends __SmithyException, $Meta
3353
3289
  */
3354
3290
  message?: string;
3355
3291
  }
3356
- export declare namespace CertificateValidationException {
3357
- /**
3358
- * @internal
3359
- */
3360
- const filterSensitiveLog: (obj: CertificateValidationException) => any;
3361
- }
3362
3292
  export declare enum ServiceType {
3363
3293
  CREDENTIAL_PROVIDER = "CREDENTIAL_PROVIDER",
3364
3294
  DATA = "DATA",
@@ -3530,12 +3460,6 @@ export interface InvalidQueryException extends __SmithyException, $MetadataBeare
3530
3460
  */
3531
3461
  message?: string;
3532
3462
  }
3533
- export declare namespace InvalidQueryException {
3534
- /**
3535
- * @internal
3536
- */
3537
- const filterSensitiveLog: (obj: InvalidQueryException) => any;
3538
- }
3539
3463
  export declare enum FleetMetricUnit {
3540
3464
  Bits = "Bits",
3541
3465
  BitsSecond = "Bits/Second",
@@ -3641,12 +3565,6 @@ export interface IndexNotReadyException extends __SmithyException, $MetadataBear
3641
3565
  */
3642
3566
  message?: string;
3643
3567
  }
3644
- export declare namespace IndexNotReadyException {
3645
- /**
3646
- * @internal
3647
- */
3648
- const filterSensitiveLog: (obj: IndexNotReadyException) => any;
3649
- }
3650
3568
  /**
3651
3569
  * <p>The aggregation is invalid.</p>
3652
3570
  */
@@ -3655,11 +3573,47 @@ export interface InvalidAggregationException extends __SmithyException, $Metadat
3655
3573
  $fault: "client";
3656
3574
  message?: string;
3657
3575
  }
3658
- export declare namespace InvalidAggregationException {
3576
+ export declare enum RetryableFailureType {
3577
+ ALL = "ALL",
3578
+ FAILED = "FAILED",
3579
+ TIMED_OUT = "TIMED_OUT"
3580
+ }
3581
+ /**
3582
+ * <p>The criteria that determines how many retries are allowed for each failure
3583
+ * type for a job.</p>
3584
+ */
3585
+ export interface RetryCriteria {
3586
+ /**
3587
+ * <p>The type of job execution failures that can initiate a job retry.</p>
3588
+ */
3589
+ failureType: RetryableFailureType | string | undefined;
3590
+ /**
3591
+ * <p>The number of retries allowed for a failure type for the job.</p>
3592
+ */
3593
+ numberOfRetries: number | undefined;
3594
+ }
3595
+ export declare namespace RetryCriteria {
3596
+ /**
3597
+ * @internal
3598
+ */
3599
+ const filterSensitiveLog: (obj: RetryCriteria) => any;
3600
+ }
3601
+ /**
3602
+ * <p>The configuration that determines how many retries are allowed for each failure
3603
+ * type for a job.</p>
3604
+ */
3605
+ export interface JobExecutionsRetryConfig {
3606
+ /**
3607
+ * <p>The list of criteria that determines how many retries are allowed for each failure
3608
+ * type for a job.</p>
3609
+ */
3610
+ criteriaList: RetryCriteria[] | undefined;
3611
+ }
3612
+ export declare namespace JobExecutionsRetryConfig {
3659
3613
  /**
3660
3614
  * @internal
3661
3615
  */
3662
- const filterSensitiveLog: (obj: InvalidAggregationException) => any;
3616
+ const filterSensitiveLog: (obj: JobExecutionsRetryConfig) => any;
3663
3617
  }
3664
3618
  /**
3665
3619
  * <p>Allows you to define a criteria to initiate the increase in rate of rollout for a job.</p>
@@ -3819,7 +3773,7 @@ export interface CreateJobRequest {
3819
3773
  */
3820
3774
  jobExecutionsRolloutConfig?: JobExecutionsRolloutConfig;
3821
3775
  /**
3822
- * <p>Allows you to create criteria to abort a job.</p>
3776
+ * <p>Allows you to create the criteria to abort a job.</p>
3823
3777
  */
3824
3778
  abortConfig?: AbortConfig;
3825
3779
  /**
@@ -3849,6 +3803,10 @@ export interface CreateJobRequest {
3849
3803
  * <p>The ARN of the job template used to create the job.</p>
3850
3804
  */
3851
3805
  jobTemplateArn?: string;
3806
+ /**
3807
+ * <p>Allows you to create the criteria to retry a job.</p>
3808
+ */
3809
+ jobExecutionsRetryConfig?: JobExecutionsRetryConfig;
3852
3810
  /**
3853
3811
  * <p>Parameters of a managed template that you can specify to create the job document.</p>
3854
3812
  */
@@ -3890,12 +3848,6 @@ export interface ConflictException extends __SmithyException, $MetadataBearer {
3890
3848
  $fault: "client";
3891
3849
  message?: string;
3892
3850
  }
3893
- export declare namespace ConflictException {
3894
- /**
3895
- * @internal
3896
- */
3897
- const filterSensitiveLog: (obj: ConflictException) => any;
3898
- }
3899
3851
  export interface CreateJobTemplateRequest {
3900
3852
  /**
3901
3853
  * <p>A unique identifier for the job template. We recommend using a UUID. Alpha-numeric
@@ -3949,6 +3901,10 @@ export interface CreateJobTemplateRequest {
3949
3901
  * <p>Metadata that can be used to manage the job template.</p>
3950
3902
  */
3951
3903
  tags?: Tag[];
3904
+ /**
3905
+ * <p>Allows you to create the criteria to retry a job.</p>
3906
+ */
3907
+ jobExecutionsRetryConfig?: JobExecutionsRetryConfig;
3952
3908
  }
3953
3909
  export declare namespace CreateJobTemplateRequest {
3954
3910
  /**
@@ -4806,12 +4762,6 @@ export interface MalformedPolicyException extends __SmithyException, $MetadataBe
4806
4762
  */
4807
4763
  message?: string;
4808
4764
  }
4809
- export declare namespace MalformedPolicyException {
4810
- /**
4811
- * @internal
4812
- */
4813
- const filterSensitiveLog: (obj: MalformedPolicyException) => any;
4814
- }
4815
4765
  /**
4816
4766
  * <p>The input for the CreatePolicyVersion operation.</p>
4817
4767
  */
@@ -4876,12 +4826,6 @@ export interface VersionsLimitExceededException extends __SmithyException, $Meta
4876
4826
  */
4877
4827
  message?: string;
4878
4828
  }
4879
- export declare namespace VersionsLimitExceededException {
4880
- /**
4881
- * @internal
4882
- */
4883
- const filterSensitiveLog: (obj: VersionsLimitExceededException) => any;
4884
- }
4885
4829
  export interface CreateProvisioningClaimRequest {
4886
4830
  /**
4887
4831
  * <p>The name of the provisioning template to use.</p>
@@ -5549,12 +5493,6 @@ export interface SqlParseException extends __SmithyException, $MetadataBearer {
5549
5493
  */
5550
5494
  message?: string;
5551
5495
  }
5552
- export declare namespace SqlParseException {
5553
- /**
5554
- * @internal
5555
- */
5556
- const filterSensitiveLog: (obj: SqlParseException) => any;
5557
- }
5558
5496
  /**
5559
5497
  * <p>HTTP URL destination configuration used by the topic rule's HTTP action.</p>
5560
5498
  */
@@ -5840,12 +5778,6 @@ export interface DeleteConflictException extends __SmithyException, $MetadataBea
5840
5778
  */
5841
5779
  message?: string;
5842
5780
  }
5843
- export declare namespace DeleteConflictException {
5844
- /**
5845
- * @internal
5846
- */
5847
- const filterSensitiveLog: (obj: DeleteConflictException) => any;
5848
- }
5849
5781
  export interface DeleteBillingGroupRequest {
5850
5782
  /**
5851
5783
  * <p>The name of the billing group.</p>
@@ -5884,12 +5816,6 @@ export interface CertificateStateException extends __SmithyException, $MetadataB
5884
5816
  */
5885
5817
  message?: string;
5886
5818
  }
5887
- export declare namespace CertificateStateException {
5888
- /**
5889
- * @internal
5890
- */
5891
- const filterSensitiveLog: (obj: CertificateStateException) => any;
5892
- }
5893
5819
  /**
5894
5820
  * <p>Input for the DeleteCACertificate operation.</p>
5895
5821
  */
@@ -6307,41 +6233,3 @@ export declare namespace DeleteRoleAliasResponse {
6307
6233
  */
6308
6234
  const filterSensitiveLog: (obj: DeleteRoleAliasResponse) => any;
6309
6235
  }
6310
- export interface DeleteScheduledAuditRequest {
6311
- /**
6312
- * <p>The name of the scheduled audit you want to delete.</p>
6313
- */
6314
- scheduledAuditName: string | undefined;
6315
- }
6316
- export declare namespace DeleteScheduledAuditRequest {
6317
- /**
6318
- * @internal
6319
- */
6320
- const filterSensitiveLog: (obj: DeleteScheduledAuditRequest) => any;
6321
- }
6322
- export interface DeleteScheduledAuditResponse {
6323
- }
6324
- export declare namespace DeleteScheduledAuditResponse {
6325
- /**
6326
- * @internal
6327
- */
6328
- const filterSensitiveLog: (obj: DeleteScheduledAuditResponse) => any;
6329
- }
6330
- export interface DeleteSecurityProfileRequest {
6331
- /**
6332
- * <p>The name of the security profile to be deleted.</p>
6333
- */
6334
- securityProfileName: string | undefined;
6335
- /**
6336
- * <p>The expected version of the security profile. A new version is generated whenever
6337
- * the security profile is updated. If you specify a value that is different from the actual
6338
- * version, a <code>VersionConflictException</code> is thrown.</p>
6339
- */
6340
- expectedVersion?: number;
6341
- }
6342
- export declare namespace DeleteSecurityProfileRequest {
6343
- /**
6344
- * @internal
6345
- */
6346
- const filterSensitiveLog: (obj: DeleteSecurityProfileRequest) => any;
6347
- }
@@ -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 {
@@ -1658,6 +1696,10 @@ export interface Job {
1658
1696
  * <p>The ARN of the job template used to create the job.</p>
1659
1697
  */
1660
1698
  jobTemplateArn?: string;
1699
+ /**
1700
+ * <p>The configuration for the criteria to retry the job.</p>
1701
+ */
1702
+ jobExecutionsRetryConfig?: JobExecutionsRetryConfig;
1661
1703
  /**
1662
1704
  * <p>A key-value map that pairs the patterns that need to be replaced in a managed
1663
1705
  * template job document schema. You can use the description of each key as a guidance
@@ -1868,6 +1910,11 @@ export interface DescribeJobTemplateResponse {
1868
1910
  * be automatically set to <code>TIMED_OUT</code>.</p>
1869
1911
  */
1870
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;
1871
1918
  }
1872
1919
  export declare namespace DescribeJobTemplateResponse {
1873
1920
  /**
@@ -1976,12 +2023,6 @@ export interface InternalServerException extends __SmithyException, $MetadataBea
1976
2023
  $fault: "server";
1977
2024
  message?: string;
1978
2025
  }
1979
- export declare namespace InternalServerException {
1980
- /**
1981
- * @internal
1982
- */
1983
- const filterSensitiveLog: (obj: InternalServerException) => any;
1984
- }
1985
2026
  export interface DescribeMitigationActionRequest {
1986
2027
  /**
1987
2028
  * <p>The friendly name that uniquely identifies the mitigation action.</p>
@@ -3929,12 +3970,6 @@ export interface NotConfiguredException extends __SmithyException, $MetadataBear
3929
3970
  */
3930
3971
  message?: string;
3931
3972
  }
3932
- export declare namespace NotConfiguredException {
3933
- /**
3934
- * @internal
3935
- */
3936
- const filterSensitiveLog: (obj: NotConfiguredException) => any;
3937
- }
3938
3973
  export declare enum BehaviorCriteriaType {
3939
3974
  MACHINE_LEARNING = "MACHINE_LEARNING",
3940
3975
  STATIC = "STATIC",
@@ -5057,6 +5092,11 @@ export interface JobExecutionSummary {
5057
5092
  * information.</p>
5058
5093
  */
5059
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;
5060
5100
  }
5061
5101
  export declare namespace JobExecutionSummary {
5062
5102
  /**
@@ -5129,6 +5169,10 @@ export interface ListJobExecutionsForThingRequest {
5129
5169
  * <p>The token to retrieve the next set of results.</p>
5130
5170
  */
5131
5171
  nextToken?: string;
5172
+ /**
5173
+ * <p>The unique identifier you assigned to this job when it was created.</p>
5174
+ */
5175
+ jobId?: string;
5132
5176
  }
5133
5177
  export declare namespace ListJobExecutionsForThingRequest {
5134
5178
  /**
@@ -6515,71 +6559,3 @@ export declare enum ReportType {
6515
6559
  ERRORS = "ERRORS",
6516
6560
  RESULTS = "RESULTS"
6517
6561
  }
6518
- export interface ListThingRegistrationTaskReportsRequest {
6519
- /**
6520
- * <p>The id of the task.</p>
6521
- */
6522
- taskId: string | undefined;
6523
- /**
6524
- * <p>The type of task report.</p>
6525
- */
6526
- reportType: ReportType | string | undefined;
6527
- /**
6528
- * <p>To retrieve the next set of results, the <code>nextToken</code>
6529
- * value from a previous response; otherwise <b>null</b> to receive
6530
- * the first set of results.</p>
6531
- */
6532
- nextToken?: string;
6533
- /**
6534
- * <p>The maximum number of results to return per request.</p>
6535
- */
6536
- maxResults?: number;
6537
- }
6538
- export declare namespace ListThingRegistrationTaskReportsRequest {
6539
- /**
6540
- * @internal
6541
- */
6542
- const filterSensitiveLog: (obj: ListThingRegistrationTaskReportsRequest) => any;
6543
- }
6544
- export interface ListThingRegistrationTaskReportsResponse {
6545
- /**
6546
- * <p>Links to the task resources.</p>
6547
- */
6548
- resourceLinks?: string[];
6549
- /**
6550
- * <p>The type of task report.</p>
6551
- */
6552
- reportType?: ReportType | string;
6553
- /**
6554
- * <p>The token to use to get the next set of results, or <b>null</b> if there are no additional results.</p>
6555
- */
6556
- nextToken?: string;
6557
- }
6558
- export declare namespace ListThingRegistrationTaskReportsResponse {
6559
- /**
6560
- * @internal
6561
- */
6562
- const filterSensitiveLog: (obj: ListThingRegistrationTaskReportsResponse) => any;
6563
- }
6564
- export interface ListThingRegistrationTasksRequest {
6565
- /**
6566
- * <p>To retrieve the next set of results, the <code>nextToken</code>
6567
- * value from a previous response; otherwise <b>null</b> to receive
6568
- * the first set of results.</p>
6569
- */
6570
- nextToken?: string;
6571
- /**
6572
- * <p>The maximum number of results to return at one time.</p>
6573
- */
6574
- maxResults?: number;
6575
- /**
6576
- * <p>The status of the bulk thing provisioning task.</p>
6577
- */
6578
- status?: Status | string;
6579
- }
6580
- export declare namespace ListThingRegistrationTasksRequest {
6581
- /**
6582
- * @internal
6583
- */
6584
- const filterSensitiveLog: (obj: ListThingRegistrationTasksRequest) => any;
6585
- }