@aws-sdk/client-iot 3.46.0 → 3.48.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.
@@ -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
  */
@@ -2892,12 +2838,6 @@ export interface InvalidStateTransitionException extends __SmithyException, $Met
2892
2838
  */
2893
2839
  message?: string;
2894
2840
  }
2895
- export declare namespace InvalidStateTransitionException {
2896
- /**
2897
- * @internal
2898
- */
2899
- const filterSensitiveLog: (obj: InvalidStateTransitionException) => any;
2900
- }
2901
2841
  export interface ClearDefaultAuthorizerRequest {
2902
2842
  }
2903
2843
  export declare namespace ClearDefaultAuthorizerRequest {
@@ -2946,12 +2886,6 @@ export interface ConflictingResourceUpdateException extends __SmithyException, $
2946
2886
  */
2947
2887
  message?: string;
2948
2888
  }
2949
- export declare namespace ConflictingResourceUpdateException {
2950
- /**
2951
- * @internal
2952
- */
2953
- const filterSensitiveLog: (obj: ConflictingResourceUpdateException) => any;
2954
- }
2955
2889
  /**
2956
2890
  * <p>An unexpected error has occurred.</p>
2957
2891
  */
@@ -2963,12 +2897,6 @@ export interface InternalException extends __SmithyException, $MetadataBearer {
2963
2897
  */
2964
2898
  message?: string;
2965
2899
  }
2966
- export declare namespace InternalException {
2967
- /**
2968
- * @internal
2969
- */
2970
- const filterSensitiveLog: (obj: InternalException) => any;
2971
- }
2972
2900
  export interface CreateAuditSuppressionRequest {
2973
2901
  /**
2974
2902
  * <p>An audit check name. Checks must be enabled
@@ -3040,12 +2968,6 @@ export interface ResourceAlreadyExistsException extends __SmithyException, $Meta
3040
2968
  */
3041
2969
  resourceArn?: string;
3042
2970
  }
3043
- export declare namespace ResourceAlreadyExistsException {
3044
- /**
3045
- * @internal
3046
- */
3047
- const filterSensitiveLog: (obj: ResourceAlreadyExistsException) => any;
3048
- }
3049
2971
  /**
3050
2972
  * <p>A set of key/value pairs that are used to manage the resource.</p>
3051
2973
  */
@@ -3367,12 +3289,6 @@ export interface CertificateValidationException extends __SmithyException, $Meta
3367
3289
  */
3368
3290
  message?: string;
3369
3291
  }
3370
- export declare namespace CertificateValidationException {
3371
- /**
3372
- * @internal
3373
- */
3374
- const filterSensitiveLog: (obj: CertificateValidationException) => any;
3375
- }
3376
3292
  export declare enum ServiceType {
3377
3293
  CREDENTIAL_PROVIDER = "CREDENTIAL_PROVIDER",
3378
3294
  DATA = "DATA",
@@ -3544,12 +3460,6 @@ export interface InvalidQueryException extends __SmithyException, $MetadataBeare
3544
3460
  */
3545
3461
  message?: string;
3546
3462
  }
3547
- export declare namespace InvalidQueryException {
3548
- /**
3549
- * @internal
3550
- */
3551
- const filterSensitiveLog: (obj: InvalidQueryException) => any;
3552
- }
3553
3463
  export declare enum FleetMetricUnit {
3554
3464
  Bits = "Bits",
3555
3465
  BitsSecond = "Bits/Second",
@@ -3655,12 +3565,6 @@ export interface IndexNotReadyException extends __SmithyException, $MetadataBear
3655
3565
  */
3656
3566
  message?: string;
3657
3567
  }
3658
- export declare namespace IndexNotReadyException {
3659
- /**
3660
- * @internal
3661
- */
3662
- const filterSensitiveLog: (obj: IndexNotReadyException) => any;
3663
- }
3664
3568
  /**
3665
3569
  * <p>The aggregation is invalid.</p>
3666
3570
  */
@@ -3669,12 +3573,6 @@ export interface InvalidAggregationException extends __SmithyException, $Metadat
3669
3573
  $fault: "client";
3670
3574
  message?: string;
3671
3575
  }
3672
- export declare namespace InvalidAggregationException {
3673
- /**
3674
- * @internal
3675
- */
3676
- const filterSensitiveLog: (obj: InvalidAggregationException) => any;
3677
- }
3678
3576
  export declare enum RetryableFailureType {
3679
3577
  ALL = "ALL",
3680
3578
  FAILED = "FAILED",
@@ -3950,12 +3848,6 @@ export interface ConflictException extends __SmithyException, $MetadataBearer {
3950
3848
  $fault: "client";
3951
3849
  message?: string;
3952
3850
  }
3953
- export declare namespace ConflictException {
3954
- /**
3955
- * @internal
3956
- */
3957
- const filterSensitiveLog: (obj: ConflictException) => any;
3958
- }
3959
3851
  export interface CreateJobTemplateRequest {
3960
3852
  /**
3961
3853
  * <p>A unique identifier for the job template. We recommend using a UUID. Alpha-numeric
@@ -4870,12 +4762,6 @@ export interface MalformedPolicyException extends __SmithyException, $MetadataBe
4870
4762
  */
4871
4763
  message?: string;
4872
4764
  }
4873
- export declare namespace MalformedPolicyException {
4874
- /**
4875
- * @internal
4876
- */
4877
- const filterSensitiveLog: (obj: MalformedPolicyException) => any;
4878
- }
4879
4765
  /**
4880
4766
  * <p>The input for the CreatePolicyVersion operation.</p>
4881
4767
  */
@@ -4940,12 +4826,6 @@ export interface VersionsLimitExceededException extends __SmithyException, $Meta
4940
4826
  */
4941
4827
  message?: string;
4942
4828
  }
4943
- export declare namespace VersionsLimitExceededException {
4944
- /**
4945
- * @internal
4946
- */
4947
- const filterSensitiveLog: (obj: VersionsLimitExceededException) => any;
4948
- }
4949
4829
  export interface CreateProvisioningClaimRequest {
4950
4830
  /**
4951
4831
  * <p>The name of the provisioning template to use.</p>
@@ -5613,12 +5493,6 @@ export interface SqlParseException extends __SmithyException, $MetadataBearer {
5613
5493
  */
5614
5494
  message?: string;
5615
5495
  }
5616
- export declare namespace SqlParseException {
5617
- /**
5618
- * @internal
5619
- */
5620
- const filterSensitiveLog: (obj: SqlParseException) => any;
5621
- }
5622
5496
  /**
5623
5497
  * <p>HTTP URL destination configuration used by the topic rule's HTTP action.</p>
5624
5498
  */
@@ -5904,12 +5778,6 @@ export interface DeleteConflictException extends __SmithyException, $MetadataBea
5904
5778
  */
5905
5779
  message?: string;
5906
5780
  }
5907
- export declare namespace DeleteConflictException {
5908
- /**
5909
- * @internal
5910
- */
5911
- const filterSensitiveLog: (obj: DeleteConflictException) => any;
5912
- }
5913
5781
  export interface DeleteBillingGroupRequest {
5914
5782
  /**
5915
5783
  * <p>The name of the billing group.</p>
@@ -5948,12 +5816,6 @@ export interface CertificateStateException extends __SmithyException, $MetadataB
5948
5816
  */
5949
5817
  message?: string;
5950
5818
  }
5951
- export declare namespace CertificateStateException {
5952
- /**
5953
- * @internal
5954
- */
5955
- const filterSensitiveLog: (obj: CertificateStateException) => any;
5956
- }
5957
5819
  /**
5958
5820
  * <p>Input for the DeleteCACertificate operation.</p>
5959
5821
  */
@@ -2023,12 +2023,6 @@ export interface InternalServerException extends __SmithyException, $MetadataBea
2023
2023
  $fault: "server";
2024
2024
  message?: string;
2025
2025
  }
2026
- export declare namespace InternalServerException {
2027
- /**
2028
- * @internal
2029
- */
2030
- const filterSensitiveLog: (obj: InternalServerException) => any;
2031
- }
2032
2026
  export interface DescribeMitigationActionRequest {
2033
2027
  /**
2034
2028
  * <p>The friendly name that uniquely identifies the mitigation action.</p>
@@ -3976,12 +3970,6 @@ export interface NotConfiguredException extends __SmithyException, $MetadataBear
3976
3970
  */
3977
3971
  message?: string;
3978
3972
  }
3979
- export declare namespace NotConfiguredException {
3980
- /**
3981
- * @internal
3982
- */
3983
- const filterSensitiveLog: (obj: NotConfiguredException) => any;
3984
- }
3985
3973
  export declare enum BehaviorCriteriaType {
3986
3974
  MACHINE_LEARNING = "MACHINE_LEARNING",
3987
3975
  STATIC = "STATIC",
@@ -861,12 +861,6 @@ export interface RegistrationCodeValidationException extends __SmithyException,
861
861
  */
862
862
  message?: string;
863
863
  }
864
- export declare namespace RegistrationCodeValidationException {
865
- /**
866
- * @internal
867
- */
868
- const filterSensitiveLog: (obj: RegistrationCodeValidationException) => any;
869
- }
870
864
  /**
871
865
  * <p>Unable to verify the CA certificate used to sign the device certificate you are
872
866
  * attempting to register. This is happens when you have registered more than one CA
@@ -880,12 +874,6 @@ export interface CertificateConflictException extends __SmithyException, $Metada
880
874
  */
881
875
  message?: string;
882
876
  }
883
- export declare namespace CertificateConflictException {
884
- /**
885
- * @internal
886
- */
887
- const filterSensitiveLog: (obj: CertificateConflictException) => any;
888
- }
889
877
  /**
890
878
  * <p>The input to the RegisterCertificate operation.</p>
891
879
  */
@@ -1014,12 +1002,6 @@ export interface ResourceRegistrationFailureException extends __SmithyException,
1014
1002
  */
1015
1003
  message?: string;
1016
1004
  }
1017
- export declare namespace ResourceRegistrationFailureException {
1018
- /**
1019
- * @internal
1020
- */
1021
- const filterSensitiveLog: (obj: ResourceRegistrationFailureException) => any;
1022
- }
1023
1005
  /**
1024
1006
  * <p>The input for the RejectCertificateTransfer operation.</p>
1025
1007
  */
@@ -1447,12 +1429,6 @@ export interface TaskAlreadyExistsException extends __SmithyException, $Metadata
1447
1429
  $fault: "client";
1448
1430
  message?: string;
1449
1431
  }
1450
- export declare namespace TaskAlreadyExistsException {
1451
- /**
1452
- * @internal
1453
- */
1454
- const filterSensitiveLog: (obj: TaskAlreadyExistsException) => any;
1455
- }
1456
1432
  export interface StartDetectMitigationActionsTaskRequest {
1457
1433
  /**
1458
1434
  * <p>
@@ -1684,12 +1660,6 @@ export interface InvalidResponseException extends __SmithyException, $MetadataBe
1684
1660
  */
1685
1661
  message?: string;
1686
1662
  }
1687
- export declare namespace InvalidResponseException {
1688
- /**
1689
- * @internal
1690
- */
1691
- const filterSensitiveLog: (obj: InvalidResponseException) => any;
1692
- }
1693
1663
  /**
1694
1664
  * <p>Specifies the HTTP context to use for the test authorizer request.</p>
1695
1665
  */
@@ -1861,12 +1831,6 @@ export interface TransferConflictException extends __SmithyException, $MetadataB
1861
1831
  */
1862
1832
  message?: string;
1863
1833
  }
1864
- export declare namespace TransferConflictException {
1865
- /**
1866
- * @internal
1867
- */
1868
- const filterSensitiveLog: (obj: TransferConflictException) => any;
1869
- }
1870
1834
  export interface UntagResourceRequest {
1871
1835
  /**
1872
1836
  * <p>The ARN of the resource.</p>
@@ -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