@aws-sdk/client-iot 3.721.0 → 3.723.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.
@@ -14,6 +14,7 @@ import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
14
14
  import { resolveRuntimeExtensions } from "./runtimeExtensions";
15
15
  export { __Client };
16
16
  export class IoTClient extends __Client {
17
+ config;
17
18
  constructor(...[configuration]) {
18
19
  const _config_0 = __getRuntimeConfig(configuration || {});
19
20
  const _config_1 = resolveClientEndpointParameters(_config_0);
@@ -10,86 +10,86 @@ export const JobExecutionFailureType = {
10
10
  TIMED_OUT: "TIMED_OUT",
11
11
  };
12
12
  export class InternalFailureException extends __BaseException {
13
+ name = "InternalFailureException";
14
+ $fault = "server";
13
15
  constructor(opts) {
14
16
  super({
15
17
  name: "InternalFailureException",
16
18
  $fault: "server",
17
19
  ...opts,
18
20
  });
19
- this.name = "InternalFailureException";
20
- this.$fault = "server";
21
21
  Object.setPrototypeOf(this, InternalFailureException.prototype);
22
22
  }
23
23
  }
24
24
  export class InvalidRequestException extends __BaseException {
25
+ name = "InvalidRequestException";
26
+ $fault = "client";
25
27
  constructor(opts) {
26
28
  super({
27
29
  name: "InvalidRequestException",
28
30
  $fault: "client",
29
31
  ...opts,
30
32
  });
31
- this.name = "InvalidRequestException";
32
- this.$fault = "client";
33
33
  Object.setPrototypeOf(this, InvalidRequestException.prototype);
34
34
  }
35
35
  }
36
36
  export class ResourceNotFoundException extends __BaseException {
37
+ name = "ResourceNotFoundException";
38
+ $fault = "client";
37
39
  constructor(opts) {
38
40
  super({
39
41
  name: "ResourceNotFoundException",
40
42
  $fault: "client",
41
43
  ...opts,
42
44
  });
43
- this.name = "ResourceNotFoundException";
44
- this.$fault = "client";
45
45
  Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
46
46
  }
47
47
  }
48
48
  export class ServiceUnavailableException extends __BaseException {
49
+ name = "ServiceUnavailableException";
50
+ $fault = "server";
49
51
  constructor(opts) {
50
52
  super({
51
53
  name: "ServiceUnavailableException",
52
54
  $fault: "server",
53
55
  ...opts,
54
56
  });
55
- this.name = "ServiceUnavailableException";
56
- this.$fault = "server";
57
57
  Object.setPrototypeOf(this, ServiceUnavailableException.prototype);
58
58
  }
59
59
  }
60
60
  export class ThrottlingException extends __BaseException {
61
+ name = "ThrottlingException";
62
+ $fault = "client";
61
63
  constructor(opts) {
62
64
  super({
63
65
  name: "ThrottlingException",
64
66
  $fault: "client",
65
67
  ...opts,
66
68
  });
67
- this.name = "ThrottlingException";
68
- this.$fault = "client";
69
69
  Object.setPrototypeOf(this, ThrottlingException.prototype);
70
70
  }
71
71
  }
72
72
  export class TransferAlreadyCompletedException extends __BaseException {
73
+ name = "TransferAlreadyCompletedException";
74
+ $fault = "client";
73
75
  constructor(opts) {
74
76
  super({
75
77
  name: "TransferAlreadyCompletedException",
76
78
  $fault: "client",
77
79
  ...opts,
78
80
  });
79
- this.name = "TransferAlreadyCompletedException";
80
- this.$fault = "client";
81
81
  Object.setPrototypeOf(this, TransferAlreadyCompletedException.prototype);
82
82
  }
83
83
  }
84
84
  export class UnauthorizedException extends __BaseException {
85
+ name = "UnauthorizedException";
86
+ $fault = "client";
85
87
  constructor(opts) {
86
88
  super({
87
89
  name: "UnauthorizedException",
88
90
  $fault: "client",
89
91
  ...opts,
90
92
  });
91
- this.name = "UnauthorizedException";
92
- this.$fault = "client";
93
93
  Object.setPrototypeOf(this, UnauthorizedException.prototype);
94
94
  }
95
95
  }
@@ -178,75 +178,76 @@ export const SbomValidationStatus = {
178
178
  SUCCEEDED: "SUCCEEDED",
179
179
  };
180
180
  export class ConflictException extends __BaseException {
181
+ name = "ConflictException";
182
+ $fault = "client";
183
+ resourceId;
181
184
  constructor(opts) {
182
185
  super({
183
186
  name: "ConflictException",
184
187
  $fault: "client",
185
188
  ...opts,
186
189
  });
187
- this.name = "ConflictException";
188
- this.$fault = "client";
189
190
  Object.setPrototypeOf(this, ConflictException.prototype);
190
191
  this.resourceId = opts.resourceId;
191
192
  }
192
193
  }
193
194
  export class InternalServerException extends __BaseException {
195
+ name = "InternalServerException";
196
+ $fault = "server";
194
197
  constructor(opts) {
195
198
  super({
196
199
  name: "InternalServerException",
197
200
  $fault: "server",
198
201
  ...opts,
199
202
  });
200
- this.name = "InternalServerException";
201
- this.$fault = "server";
202
203
  Object.setPrototypeOf(this, InternalServerException.prototype);
203
204
  }
204
205
  }
205
206
  export class ServiceQuotaExceededException extends __BaseException {
207
+ name = "ServiceQuotaExceededException";
208
+ $fault = "client";
206
209
  constructor(opts) {
207
210
  super({
208
211
  name: "ServiceQuotaExceededException",
209
212
  $fault: "client",
210
213
  ...opts,
211
214
  });
212
- this.name = "ServiceQuotaExceededException";
213
- this.$fault = "client";
214
215
  Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
215
216
  }
216
217
  }
217
218
  export class ValidationException extends __BaseException {
219
+ name = "ValidationException";
220
+ $fault = "client";
218
221
  constructor(opts) {
219
222
  super({
220
223
  name: "ValidationException",
221
224
  $fault: "client",
222
225
  ...opts,
223
226
  });
224
- this.name = "ValidationException";
225
- this.$fault = "client";
226
227
  Object.setPrototypeOf(this, ValidationException.prototype);
227
228
  }
228
229
  }
229
230
  export class LimitExceededException extends __BaseException {
231
+ name = "LimitExceededException";
232
+ $fault = "client";
230
233
  constructor(opts) {
231
234
  super({
232
235
  name: "LimitExceededException",
233
236
  $fault: "client",
234
237
  ...opts,
235
238
  });
236
- this.name = "LimitExceededException";
237
- this.$fault = "client";
238
239
  Object.setPrototypeOf(this, LimitExceededException.prototype);
239
240
  }
240
241
  }
241
242
  export class VersionConflictException extends __BaseException {
243
+ name = "VersionConflictException";
244
+ $fault = "client";
242
245
  constructor(opts) {
243
246
  super({
244
247
  name: "VersionConflictException",
245
248
  $fault: "client",
246
249
  ...opts,
247
250
  });
248
- this.name = "VersionConflictException";
249
- this.$fault = "client";
250
251
  Object.setPrototypeOf(this, VersionConflictException.prototype);
251
252
  }
252
253
  }
@@ -333,50 +334,52 @@ export const AutoRegistrationStatus = {
333
334
  ENABLE: "ENABLE",
334
335
  };
335
336
  export class InvalidStateTransitionException extends __BaseException {
337
+ name = "InvalidStateTransitionException";
338
+ $fault = "client";
336
339
  constructor(opts) {
337
340
  super({
338
341
  name: "InvalidStateTransitionException",
339
342
  $fault: "client",
340
343
  ...opts,
341
344
  });
342
- this.name = "InvalidStateTransitionException";
343
- this.$fault = "client";
344
345
  Object.setPrototypeOf(this, InvalidStateTransitionException.prototype);
345
346
  }
346
347
  }
347
348
  export class ConflictingResourceUpdateException extends __BaseException {
349
+ name = "ConflictingResourceUpdateException";
350
+ $fault = "client";
348
351
  constructor(opts) {
349
352
  super({
350
353
  name: "ConflictingResourceUpdateException",
351
354
  $fault: "client",
352
355
  ...opts,
353
356
  });
354
- this.name = "ConflictingResourceUpdateException";
355
- this.$fault = "client";
356
357
  Object.setPrototypeOf(this, ConflictingResourceUpdateException.prototype);
357
358
  }
358
359
  }
359
360
  export class InternalException extends __BaseException {
361
+ name = "InternalException";
362
+ $fault = "server";
360
363
  constructor(opts) {
361
364
  super({
362
365
  name: "InternalException",
363
366
  $fault: "server",
364
367
  ...opts,
365
368
  });
366
- this.name = "InternalException";
367
- this.$fault = "server";
368
369
  Object.setPrototypeOf(this, InternalException.prototype);
369
370
  }
370
371
  }
371
372
  export class ResourceAlreadyExistsException extends __BaseException {
373
+ name = "ResourceAlreadyExistsException";
374
+ $fault = "client";
375
+ resourceId;
376
+ resourceArn;
372
377
  constructor(opts) {
373
378
  super({
374
379
  name: "ResourceAlreadyExistsException",
375
380
  $fault: "client",
376
381
  ...opts,
377
382
  });
378
- this.name = "ResourceAlreadyExistsException";
379
- this.$fault = "client";
380
383
  Object.setPrototypeOf(this, ResourceAlreadyExistsException.prototype);
381
384
  this.resourceId = opts.resourceId;
382
385
  this.resourceArn = opts.resourceArn;
@@ -399,14 +402,14 @@ export const DimensionType = {
399
402
  TOPIC_FILTER: "TOPIC_FILTER",
400
403
  };
401
404
  export class CertificateValidationException extends __BaseException {
405
+ name = "CertificateValidationException";
406
+ $fault = "client";
402
407
  constructor(opts) {
403
408
  super({
404
409
  name: "CertificateValidationException",
405
410
  $fault: "client",
406
411
  ...opts,
407
412
  });
408
- this.name = "CertificateValidationException";
409
- this.$fault = "client";
410
413
  Object.setPrototypeOf(this, CertificateValidationException.prototype);
411
414
  }
412
415
  }
@@ -416,14 +419,14 @@ export const ServiceType = {
416
419
  JOBS: "JOBS",
417
420
  };
418
421
  export class InvalidQueryException extends __BaseException {
422
+ name = "InvalidQueryException";
423
+ $fault = "client";
419
424
  constructor(opts) {
420
425
  super({
421
426
  name: "InvalidQueryException",
422
427
  $fault: "client",
423
428
  ...opts,
424
429
  });
425
- this.name = "InvalidQueryException";
426
- this.$fault = "client";
427
430
  Object.setPrototypeOf(this, InvalidQueryException.prototype);
428
431
  }
429
432
  }
@@ -457,26 +460,26 @@ export const FleetMetricUnit = {
457
460
  TerabytesSecond: "Terabytes/Second",
458
461
  };
459
462
  export class IndexNotReadyException extends __BaseException {
463
+ name = "IndexNotReadyException";
464
+ $fault = "client";
460
465
  constructor(opts) {
461
466
  super({
462
467
  name: "IndexNotReadyException",
463
468
  $fault: "client",
464
469
  ...opts,
465
470
  });
466
- this.name = "IndexNotReadyException";
467
- this.$fault = "client";
468
471
  Object.setPrototypeOf(this, IndexNotReadyException.prototype);
469
472
  }
470
473
  }
471
474
  export class InvalidAggregationException extends __BaseException {
475
+ name = "InvalidAggregationException";
476
+ $fault = "client";
472
477
  constructor(opts) {
473
478
  super({
474
479
  name: "InvalidAggregationException",
475
480
  $fault: "client",
476
481
  ...opts,
477
482
  });
478
- this.name = "InvalidAggregationException";
479
- this.$fault = "client";
480
483
  Object.setPrototypeOf(this, InvalidAggregationException.prototype);
481
484
  }
482
485
  }
@@ -537,26 +540,26 @@ export const PackageVersionStatus = {
537
540
  PUBLISHED: "PUBLISHED",
538
541
  };
539
542
  export class MalformedPolicyException extends __BaseException {
543
+ name = "MalformedPolicyException";
544
+ $fault = "client";
540
545
  constructor(opts) {
541
546
  super({
542
547
  name: "MalformedPolicyException",
543
548
  $fault: "client",
544
549
  ...opts,
545
550
  });
546
- this.name = "MalformedPolicyException";
547
- this.$fault = "client";
548
551
  Object.setPrototypeOf(this, MalformedPolicyException.prototype);
549
552
  }
550
553
  }
551
554
  export class VersionsLimitExceededException extends __BaseException {
555
+ name = "VersionsLimitExceededException";
556
+ $fault = "client";
552
557
  constructor(opts) {
553
558
  super({
554
559
  name: "VersionsLimitExceededException",
555
560
  $fault: "client",
556
561
  ...opts,
557
562
  });
558
- this.name = "VersionsLimitExceededException";
559
- this.$fault = "client";
560
563
  Object.setPrototypeOf(this, VersionsLimitExceededException.prototype);
561
564
  }
562
565
  }
@@ -574,14 +577,14 @@ export const DayOfWeek = {
574
577
  WED: "WED",
575
578
  };
576
579
  export class SqlParseException extends __BaseException {
580
+ name = "SqlParseException";
581
+ $fault = "client";
577
582
  constructor(opts) {
578
583
  super({
579
584
  name: "SqlParseException",
580
585
  $fault: "client",
581
586
  ...opts,
582
587
  });
583
- this.name = "SqlParseException";
584
- this.$fault = "client";
585
588
  Object.setPrototypeOf(this, SqlParseException.prototype);
586
589
  }
587
590
  }
@@ -1,26 +1,26 @@
1
1
  import { SENSITIVE_STRING } from "@smithy/smithy-client";
2
2
  import { IoTServiceException as __BaseException } from "./IoTServiceException";
3
3
  export class DeleteConflictException extends __BaseException {
4
+ name = "DeleteConflictException";
5
+ $fault = "client";
4
6
  constructor(opts) {
5
7
  super({
6
8
  name: "DeleteConflictException",
7
9
  $fault: "client",
8
10
  ...opts,
9
11
  });
10
- this.name = "DeleteConflictException";
11
- this.$fault = "client";
12
12
  Object.setPrototypeOf(this, DeleteConflictException.prototype);
13
13
  }
14
14
  }
15
15
  export class CertificateStateException extends __BaseException {
16
+ name = "CertificateStateException";
17
+ $fault = "client";
16
18
  constructor(opts) {
17
19
  super({
18
20
  name: "CertificateStateException",
19
21
  $fault: "client",
20
22
  ...opts,
21
23
  });
22
- this.name = "CertificateStateException";
23
- this.$fault = "client";
24
24
  Object.setPrototypeOf(this, CertificateStateException.prototype);
25
25
  }
26
26
  }
@@ -181,14 +181,14 @@ export const DisconnectReasonValue = {
181
181
  WEBSOCKET_TTL_EXPIRATION: "WEBSOCKET_TTL_EXPIRATION",
182
182
  };
183
183
  export class NotConfiguredException extends __BaseException {
184
+ name = "NotConfiguredException";
185
+ $fault = "client";
184
186
  constructor(opts) {
185
187
  super({
186
188
  name: "NotConfiguredException",
187
189
  $fault: "client",
188
190
  ...opts,
189
191
  });
190
- this.name = "NotConfiguredException";
191
- this.$fault = "client";
192
192
  Object.setPrototypeOf(this, NotConfiguredException.prototype);
193
193
  }
194
194
  }
@@ -24,74 +24,74 @@ export const ViolationEventType = {
24
24
  IN_ALARM: "in-alarm",
25
25
  };
26
26
  export class RegistrationCodeValidationException extends __BaseException {
27
+ name = "RegistrationCodeValidationException";
28
+ $fault = "client";
27
29
  constructor(opts) {
28
30
  super({
29
31
  name: "RegistrationCodeValidationException",
30
32
  $fault: "client",
31
33
  ...opts,
32
34
  });
33
- this.name = "RegistrationCodeValidationException";
34
- this.$fault = "client";
35
35
  Object.setPrototypeOf(this, RegistrationCodeValidationException.prototype);
36
36
  }
37
37
  }
38
38
  export class CertificateConflictException extends __BaseException {
39
+ name = "CertificateConflictException";
40
+ $fault = "client";
39
41
  constructor(opts) {
40
42
  super({
41
43
  name: "CertificateConflictException",
42
44
  $fault: "client",
43
45
  ...opts,
44
46
  });
45
- this.name = "CertificateConflictException";
46
- this.$fault = "client";
47
47
  Object.setPrototypeOf(this, CertificateConflictException.prototype);
48
48
  }
49
49
  }
50
50
  export class ResourceRegistrationFailureException extends __BaseException {
51
+ name = "ResourceRegistrationFailureException";
52
+ $fault = "client";
51
53
  constructor(opts) {
52
54
  super({
53
55
  name: "ResourceRegistrationFailureException",
54
56
  $fault: "client",
55
57
  ...opts,
56
58
  });
57
- this.name = "ResourceRegistrationFailureException";
58
- this.$fault = "client";
59
59
  Object.setPrototypeOf(this, ResourceRegistrationFailureException.prototype);
60
60
  }
61
61
  }
62
62
  export class TaskAlreadyExistsException extends __BaseException {
63
+ name = "TaskAlreadyExistsException";
64
+ $fault = "client";
63
65
  constructor(opts) {
64
66
  super({
65
67
  name: "TaskAlreadyExistsException",
66
68
  $fault: "client",
67
69
  ...opts,
68
70
  });
69
- this.name = "TaskAlreadyExistsException";
70
- this.$fault = "client";
71
71
  Object.setPrototypeOf(this, TaskAlreadyExistsException.prototype);
72
72
  }
73
73
  }
74
74
  export class InvalidResponseException extends __BaseException {
75
+ name = "InvalidResponseException";
76
+ $fault = "client";
75
77
  constructor(opts) {
76
78
  super({
77
79
  name: "InvalidResponseException",
78
80
  $fault: "client",
79
81
  ...opts,
80
82
  });
81
- this.name = "InvalidResponseException";
82
- this.$fault = "client";
83
83
  Object.setPrototypeOf(this, InvalidResponseException.prototype);
84
84
  }
85
85
  }
86
86
  export class TransferConflictException extends __BaseException {
87
+ name = "TransferConflictException";
88
+ $fault = "client";
87
89
  constructor(opts) {
88
90
  super({
89
91
  name: "TransferConflictException",
90
92
  $fault: "client",
91
93
  ...opts,
92
94
  });
93
- this.name = "TransferConflictException";
94
- this.$fault = "client";
95
95
  Object.setPrototypeOf(this, TransferConflictException.prototype);
96
96
  }
97
97
  }
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: IoTClientConfig) => {
7
7
  runtime: string;
8
8
  defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
9
9
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
10
- credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
10
+ credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
11
11
  defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
12
12
  maxAttempts: number | import("@smithy/types").Provider<number>;
13
13
  region: string | import("@smithy/types").Provider<any>;
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: IoTClientConfig) => {
7
7
  runtime: string;
8
8
  defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
9
9
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
10
- credentialDefaultProvider: (init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity>;
10
+ credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity>);
11
11
  defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
12
12
  maxAttempts: number | import("@smithy/types").Provider<number>;
13
13
  region: string | import("@smithy/types").Provider<string>;
@@ -22,7 +22,7 @@ export declare const getRuntimeConfig: (config: IoTClientConfig) => {
22
22
  region: string | import("@smithy/types").Provider<any>;
23
23
  profile?: string | undefined;
24
24
  defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
25
- credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
25
+ credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
26
26
  maxAttempts: number | import("@smithy/types").Provider<number>;
27
27
  retryMode: string | import("@smithy/types").Provider<string>;
28
28
  logger: import("@smithy/types").Logger;
@@ -31,7 +31,7 @@ export declare const getRuntimeConfig: (config: IoTClientConfig) => {
31
31
  customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
32
32
  userAgentAppId?: string | import("@smithy/types").Provider<string | undefined> | undefined;
33
33
  retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
34
- endpoint?: string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2> | undefined;
34
+ endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
35
35
  endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
36
36
  logger?: import("@smithy/types").Logger | undefined;
37
37
  }) => import("@smithy/types").EndpointV2;
@@ -6,9 +6,11 @@ export declare const getRuntimeConfig: (config: IoTClientConfig) => {
6
6
  import("@smithy/smithy-client").ResolvedDefaultsMode
7
7
  >;
8
8
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
9
- credentialDefaultProvider: (
10
- input: any
11
- ) => import("@smithy/types").AwsCredentialIdentityProvider;
9
+ credentialDefaultProvider:
10
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
11
+ | ((
12
+ _: unknown
13
+ ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
12
14
  defaultUserAgentProvider: (
13
15
  config?:
14
16
  | import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
@@ -6,13 +6,15 @@ export declare const getRuntimeConfig: (config: IoTClientConfig) => {
6
6
  import("@smithy/smithy-client").ResolvedDefaultsMode
7
7
  >;
8
8
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
9
- credentialDefaultProvider: (
10
- init?:
11
- | import("@aws-sdk/credential-provider-node").DefaultProviderInit
12
- | undefined
13
- ) => import("@smithy/types").MemoizedProvider<
14
- import("@smithy/types").AwsCredentialIdentity
15
- >;
9
+ credentialDefaultProvider:
10
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
11
+ | ((
12
+ init?:
13
+ | import("@aws-sdk/credential-provider-node").DefaultProviderInit
14
+ | undefined
15
+ ) => import("@smithy/types").MemoizedProvider<
16
+ import("@smithy/types").AwsCredentialIdentity
17
+ >);
16
18
  defaultUserAgentProvider: (
17
19
  config?:
18
20
  | import("@aws-sdk/util-user-agent-node").PreviouslyResolved
@@ -28,9 +28,11 @@ export declare const getRuntimeConfig: (config: IoTClientConfig) => {
28
28
  | import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
29
29
  | undefined
30
30
  ) => Promise<import("@smithy/types").UserAgent>;
31
- credentialDefaultProvider: (
32
- input: any
33
- ) => import("@smithy/types").AwsCredentialIdentityProvider;
31
+ credentialDefaultProvider:
32
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
33
+ | ((
34
+ _: unknown
35
+ ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
34
36
  maxAttempts: number | import("@smithy/types").Provider<number>;
35
37
  retryMode: string | import("@smithy/types").Provider<string>;
36
38
  logger: import("@smithy/types").Logger;
@@ -50,11 +52,21 @@ export declare const getRuntimeConfig: (config: IoTClientConfig) => {
50
52
  | import("@smithy/types").RetryStrategyV2
51
53
  | undefined;
52
54
  endpoint?:
53
- | string
54
- | import("@smithy/types").Endpoint
55
- | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
56
- | import("@smithy/types").EndpointV2
57
- | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
55
+ | ((
56
+ | string
57
+ | import("@smithy/types").Endpoint
58
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
59
+ | import("@smithy/types").EndpointV2
60
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
61
+ ) &
62
+ (
63
+ | string
64
+ | import("@smithy/types").Provider<string>
65
+ | import("@smithy/types").Endpoint
66
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
67
+ | import("@smithy/types").EndpointV2
68
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
69
+ ))
58
70
  | undefined;
59
71
  endpointProvider: (
60
72
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,