@aws-sdk/client-dynamodb 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.
@@ -17,6 +17,7 @@ import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
17
17
  import { resolveRuntimeExtensions } from "./runtimeExtensions";
18
18
  export { __Client };
19
19
  export class DynamoDBClient extends __Client {
20
+ config;
20
21
  constructor(...[configuration]) {
21
22
  const _config_0 = __getRuntimeConfig(configuration || {});
22
23
  const _config_1 = resolveClientEndpointParameters(_config_0);
@@ -60,26 +60,26 @@ export const TimeToLiveStatus = {
60
60
  ENABLING: "ENABLING",
61
61
  };
62
62
  export class BackupInUseException extends __BaseException {
63
+ name = "BackupInUseException";
64
+ $fault = "client";
63
65
  constructor(opts) {
64
66
  super({
65
67
  name: "BackupInUseException",
66
68
  $fault: "client",
67
69
  ...opts,
68
70
  });
69
- this.name = "BackupInUseException";
70
- this.$fault = "client";
71
71
  Object.setPrototypeOf(this, BackupInUseException.prototype);
72
72
  }
73
73
  }
74
74
  export class BackupNotFoundException extends __BaseException {
75
+ name = "BackupNotFoundException";
76
+ $fault = "client";
75
77
  constructor(opts) {
76
78
  super({
77
79
  name: "BackupNotFoundException",
78
80
  $fault: "client",
79
81
  ...opts,
80
82
  });
81
- this.name = "BackupNotFoundException";
82
- this.$fault = "client";
83
83
  Object.setPrototypeOf(this, BackupNotFoundException.prototype);
84
84
  }
85
85
  }
@@ -112,63 +112,64 @@ export const BatchStatementErrorCodeEnum = {
112
112
  ValidationError: "ValidationError",
113
113
  };
114
114
  export class InternalServerError extends __BaseException {
115
+ name = "InternalServerError";
116
+ $fault = "server";
115
117
  constructor(opts) {
116
118
  super({
117
119
  name: "InternalServerError",
118
120
  $fault: "server",
119
121
  ...opts,
120
122
  });
121
- this.name = "InternalServerError";
122
- this.$fault = "server";
123
123
  Object.setPrototypeOf(this, InternalServerError.prototype);
124
124
  }
125
125
  }
126
126
  export class RequestLimitExceeded extends __BaseException {
127
+ name = "RequestLimitExceeded";
128
+ $fault = "client";
127
129
  constructor(opts) {
128
130
  super({
129
131
  name: "RequestLimitExceeded",
130
132
  $fault: "client",
131
133
  ...opts,
132
134
  });
133
- this.name = "RequestLimitExceeded";
134
- this.$fault = "client";
135
135
  Object.setPrototypeOf(this, RequestLimitExceeded.prototype);
136
136
  }
137
137
  }
138
138
  export class InvalidEndpointException extends __BaseException {
139
+ name = "InvalidEndpointException";
140
+ $fault = "client";
141
+ Message;
139
142
  constructor(opts) {
140
143
  super({
141
144
  name: "InvalidEndpointException",
142
145
  $fault: "client",
143
146
  ...opts,
144
147
  });
145
- this.name = "InvalidEndpointException";
146
- this.$fault = "client";
147
148
  Object.setPrototypeOf(this, InvalidEndpointException.prototype);
148
149
  this.Message = opts.Message;
149
150
  }
150
151
  }
151
152
  export class ProvisionedThroughputExceededException extends __BaseException {
153
+ name = "ProvisionedThroughputExceededException";
154
+ $fault = "client";
152
155
  constructor(opts) {
153
156
  super({
154
157
  name: "ProvisionedThroughputExceededException",
155
158
  $fault: "client",
156
159
  ...opts,
157
160
  });
158
- this.name = "ProvisionedThroughputExceededException";
159
- this.$fault = "client";
160
161
  Object.setPrototypeOf(this, ProvisionedThroughputExceededException.prototype);
161
162
  }
162
163
  }
163
164
  export class ResourceNotFoundException extends __BaseException {
165
+ name = "ResourceNotFoundException";
166
+ $fault = "client";
164
167
  constructor(opts) {
165
168
  super({
166
169
  name: "ResourceNotFoundException",
167
170
  $fault: "client",
168
171
  ...opts,
169
172
  });
170
- this.name = "ResourceNotFoundException";
171
- this.$fault = "client";
172
173
  Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
173
174
  }
174
175
  }
@@ -177,14 +178,14 @@ export const ReturnItemCollectionMetrics = {
177
178
  SIZE: "SIZE",
178
179
  };
179
180
  export class ItemCollectionSizeLimitExceededException extends __BaseException {
181
+ name = "ItemCollectionSizeLimitExceededException";
182
+ $fault = "client";
180
183
  constructor(opts) {
181
184
  super({
182
185
  name: "ItemCollectionSizeLimitExceededException",
183
186
  $fault: "client",
184
187
  ...opts,
185
188
  });
186
- this.name = "ItemCollectionSizeLimitExceededException";
187
- this.$fault = "client";
188
189
  Object.setPrototypeOf(this, ItemCollectionSizeLimitExceededException.prototype);
189
190
  }
190
191
  }
@@ -216,14 +217,14 @@ export const PointInTimeRecoveryStatus = {
216
217
  ENABLED: "ENABLED",
217
218
  };
218
219
  export class ContinuousBackupsUnavailableException extends __BaseException {
220
+ name = "ContinuousBackupsUnavailableException";
221
+ $fault = "client";
219
222
  constructor(opts) {
220
223
  super({
221
224
  name: "ContinuousBackupsUnavailableException",
222
225
  $fault: "client",
223
226
  ...opts,
224
227
  });
225
- this.name = "ContinuousBackupsUnavailableException";
226
- this.$fault = "client";
227
228
  Object.setPrototypeOf(this, ContinuousBackupsUnavailableException.prototype);
228
229
  }
229
230
  }
@@ -239,38 +240,38 @@ export const ContributorInsightsStatus = {
239
240
  FAILED: "FAILED",
240
241
  };
241
242
  export class LimitExceededException extends __BaseException {
243
+ name = "LimitExceededException";
244
+ $fault = "client";
242
245
  constructor(opts) {
243
246
  super({
244
247
  name: "LimitExceededException",
245
248
  $fault: "client",
246
249
  ...opts,
247
250
  });
248
- this.name = "LimitExceededException";
249
- this.$fault = "client";
250
251
  Object.setPrototypeOf(this, LimitExceededException.prototype);
251
252
  }
252
253
  }
253
254
  export class TableInUseException extends __BaseException {
255
+ name = "TableInUseException";
256
+ $fault = "client";
254
257
  constructor(opts) {
255
258
  super({
256
259
  name: "TableInUseException",
257
260
  $fault: "client",
258
261
  ...opts,
259
262
  });
260
- this.name = "TableInUseException";
261
- this.$fault = "client";
262
263
  Object.setPrototypeOf(this, TableInUseException.prototype);
263
264
  }
264
265
  }
265
266
  export class TableNotFoundException extends __BaseException {
267
+ name = "TableNotFoundException";
268
+ $fault = "client";
266
269
  constructor(opts) {
267
270
  super({
268
271
  name: "TableNotFoundException",
269
272
  $fault: "client",
270
273
  ...opts,
271
274
  });
272
- this.name = "TableNotFoundException";
273
- this.$fault = "client";
274
275
  Object.setPrototypeOf(this, TableNotFoundException.prototype);
275
276
  }
276
277
  }
@@ -309,14 +310,14 @@ export const TableStatus = {
309
310
  UPDATING: "UPDATING",
310
311
  };
311
312
  export class GlobalTableAlreadyExistsException extends __BaseException {
313
+ name = "GlobalTableAlreadyExistsException";
314
+ $fault = "client";
312
315
  constructor(opts) {
313
316
  super({
314
317
  name: "GlobalTableAlreadyExistsException",
315
318
  $fault: "client",
316
319
  ...opts,
317
320
  });
318
- this.name = "GlobalTableAlreadyExistsException";
319
- this.$fault = "client";
320
321
  Object.setPrototypeOf(this, GlobalTableAlreadyExistsException.prototype);
321
322
  }
322
323
  }
@@ -325,14 +326,14 @@ export const MultiRegionConsistency = {
325
326
  STRONG: "STRONG",
326
327
  };
327
328
  export class ResourceInUseException extends __BaseException {
329
+ name = "ResourceInUseException";
330
+ $fault = "client";
328
331
  constructor(opts) {
329
332
  super({
330
333
  name: "ResourceInUseException",
331
334
  $fault: "client",
332
335
  ...opts,
333
336
  });
334
- this.name = "ResourceInUseException";
335
- this.$fault = "client";
336
337
  Object.setPrototypeOf(this, ResourceInUseException.prototype);
337
338
  }
338
339
  }
@@ -344,38 +345,38 @@ export const ReturnValue = {
344
345
  UPDATED_OLD: "UPDATED_OLD",
345
346
  };
346
347
  export class ReplicatedWriteConflictException extends __BaseException {
348
+ name = "ReplicatedWriteConflictException";
349
+ $fault = "client";
347
350
  constructor(opts) {
348
351
  super({
349
352
  name: "ReplicatedWriteConflictException",
350
353
  $fault: "client",
351
354
  ...opts,
352
355
  });
353
- this.name = "ReplicatedWriteConflictException";
354
- this.$fault = "client";
355
356
  Object.setPrototypeOf(this, ReplicatedWriteConflictException.prototype);
356
357
  }
357
358
  }
358
359
  export class TransactionConflictException extends __BaseException {
360
+ name = "TransactionConflictException";
361
+ $fault = "client";
359
362
  constructor(opts) {
360
363
  super({
361
364
  name: "TransactionConflictException",
362
365
  $fault: "client",
363
366
  ...opts,
364
367
  });
365
- this.name = "TransactionConflictException";
366
- this.$fault = "client";
367
368
  Object.setPrototypeOf(this, TransactionConflictException.prototype);
368
369
  }
369
370
  }
370
371
  export class PolicyNotFoundException extends __BaseException {
372
+ name = "PolicyNotFoundException";
373
+ $fault = "client";
371
374
  constructor(opts) {
372
375
  super({
373
376
  name: "PolicyNotFoundException",
374
377
  $fault: "client",
375
378
  ...opts,
376
379
  });
377
- this.name = "PolicyNotFoundException";
378
- this.$fault = "client";
379
380
  Object.setPrototypeOf(this, PolicyNotFoundException.prototype);
380
381
  }
381
382
  }
@@ -401,26 +402,26 @@ export const S3SseAlgorithm = {
401
402
  KMS: "KMS",
402
403
  };
403
404
  export class ExportNotFoundException extends __BaseException {
405
+ name = "ExportNotFoundException";
406
+ $fault = "client";
404
407
  constructor(opts) {
405
408
  super({
406
409
  name: "ExportNotFoundException",
407
410
  $fault: "client",
408
411
  ...opts,
409
412
  });
410
- this.name = "ExportNotFoundException";
411
- this.$fault = "client";
412
413
  Object.setPrototypeOf(this, ExportNotFoundException.prototype);
413
414
  }
414
415
  }
415
416
  export class GlobalTableNotFoundException extends __BaseException {
417
+ name = "GlobalTableNotFoundException";
418
+ $fault = "client";
416
419
  constructor(opts) {
417
420
  super({
418
421
  name: "GlobalTableNotFoundException",
419
422
  $fault: "client",
420
423
  ...opts,
421
424
  });
422
- this.name = "GlobalTableNotFoundException";
423
- this.$fault = "client";
424
425
  Object.setPrototypeOf(this, GlobalTableNotFoundException.prototype);
425
426
  }
426
427
  }
@@ -442,14 +443,14 @@ export const InputFormat = {
442
443
  ION: "ION",
443
444
  };
444
445
  export class ImportNotFoundException extends __BaseException {
446
+ name = "ImportNotFoundException";
447
+ $fault = "client";
445
448
  constructor(opts) {
446
449
  super({
447
450
  name: "ImportNotFoundException",
448
451
  $fault: "client",
449
452
  ...opts,
450
453
  });
451
- this.name = "ImportNotFoundException";
452
- this.$fault = "client";
453
454
  Object.setPrototypeOf(this, ImportNotFoundException.prototype);
454
455
  }
455
456
  }
@@ -462,88 +463,90 @@ export const DestinationStatus = {
462
463
  UPDATING: "UPDATING",
463
464
  };
464
465
  export class DuplicateItemException extends __BaseException {
466
+ name = "DuplicateItemException";
467
+ $fault = "client";
465
468
  constructor(opts) {
466
469
  super({
467
470
  name: "DuplicateItemException",
468
471
  $fault: "client",
469
472
  ...opts,
470
473
  });
471
- this.name = "DuplicateItemException";
472
- this.$fault = "client";
473
474
  Object.setPrototypeOf(this, DuplicateItemException.prototype);
474
475
  }
475
476
  }
476
477
  export class IdempotentParameterMismatchException extends __BaseException {
478
+ name = "IdempotentParameterMismatchException";
479
+ $fault = "client";
480
+ Message;
477
481
  constructor(opts) {
478
482
  super({
479
483
  name: "IdempotentParameterMismatchException",
480
484
  $fault: "client",
481
485
  ...opts,
482
486
  });
483
- this.name = "IdempotentParameterMismatchException";
484
- this.$fault = "client";
485
487
  Object.setPrototypeOf(this, IdempotentParameterMismatchException.prototype);
486
488
  this.Message = opts.Message;
487
489
  }
488
490
  }
489
491
  export class TransactionInProgressException extends __BaseException {
492
+ name = "TransactionInProgressException";
493
+ $fault = "client";
494
+ Message;
490
495
  constructor(opts) {
491
496
  super({
492
497
  name: "TransactionInProgressException",
493
498
  $fault: "client",
494
499
  ...opts,
495
500
  });
496
- this.name = "TransactionInProgressException";
497
- this.$fault = "client";
498
501
  Object.setPrototypeOf(this, TransactionInProgressException.prototype);
499
502
  this.Message = opts.Message;
500
503
  }
501
504
  }
502
505
  export class ExportConflictException extends __BaseException {
506
+ name = "ExportConflictException";
507
+ $fault = "client";
503
508
  constructor(opts) {
504
509
  super({
505
510
  name: "ExportConflictException",
506
511
  $fault: "client",
507
512
  ...opts,
508
513
  });
509
- this.name = "ExportConflictException";
510
- this.$fault = "client";
511
514
  Object.setPrototypeOf(this, ExportConflictException.prototype);
512
515
  }
513
516
  }
514
517
  export class InvalidExportTimeException extends __BaseException {
518
+ name = "InvalidExportTimeException";
519
+ $fault = "client";
515
520
  constructor(opts) {
516
521
  super({
517
522
  name: "InvalidExportTimeException",
518
523
  $fault: "client",
519
524
  ...opts,
520
525
  });
521
- this.name = "InvalidExportTimeException";
522
- this.$fault = "client";
523
526
  Object.setPrototypeOf(this, InvalidExportTimeException.prototype);
524
527
  }
525
528
  }
526
529
  export class PointInTimeRecoveryUnavailableException extends __BaseException {
530
+ name = "PointInTimeRecoveryUnavailableException";
531
+ $fault = "client";
527
532
  constructor(opts) {
528
533
  super({
529
534
  name: "PointInTimeRecoveryUnavailableException",
530
535
  $fault: "client",
531
536
  ...opts,
532
537
  });
533
- this.name = "PointInTimeRecoveryUnavailableException";
534
- this.$fault = "client";
535
538
  Object.setPrototypeOf(this, PointInTimeRecoveryUnavailableException.prototype);
536
539
  }
537
540
  }
538
541
  export class ImportConflictException extends __BaseException {
542
+ name = "ImportConflictException";
543
+ $fault = "client";
539
544
  constructor(opts) {
540
545
  super({
541
546
  name: "ImportConflictException",
542
547
  $fault: "client",
543
548
  ...opts,
544
549
  });
545
- this.name = "ImportConflictException";
546
- this.$fault = "client";
547
550
  Object.setPrototypeOf(this, ImportConflictException.prototype);
548
551
  }
549
552
  }
@@ -554,62 +557,62 @@ export const Select = {
554
557
  SPECIFIC_ATTRIBUTES: "SPECIFIC_ATTRIBUTES",
555
558
  };
556
559
  export class TableAlreadyExistsException extends __BaseException {
560
+ name = "TableAlreadyExistsException";
561
+ $fault = "client";
557
562
  constructor(opts) {
558
563
  super({
559
564
  name: "TableAlreadyExistsException",
560
565
  $fault: "client",
561
566
  ...opts,
562
567
  });
563
- this.name = "TableAlreadyExistsException";
564
- this.$fault = "client";
565
568
  Object.setPrototypeOf(this, TableAlreadyExistsException.prototype);
566
569
  }
567
570
  }
568
571
  export class InvalidRestoreTimeException extends __BaseException {
572
+ name = "InvalidRestoreTimeException";
573
+ $fault = "client";
569
574
  constructor(opts) {
570
575
  super({
571
576
  name: "InvalidRestoreTimeException",
572
577
  $fault: "client",
573
578
  ...opts,
574
579
  });
575
- this.name = "InvalidRestoreTimeException";
576
- this.$fault = "client";
577
580
  Object.setPrototypeOf(this, InvalidRestoreTimeException.prototype);
578
581
  }
579
582
  }
580
583
  export class ReplicaAlreadyExistsException extends __BaseException {
584
+ name = "ReplicaAlreadyExistsException";
585
+ $fault = "client";
581
586
  constructor(opts) {
582
587
  super({
583
588
  name: "ReplicaAlreadyExistsException",
584
589
  $fault: "client",
585
590
  ...opts,
586
591
  });
587
- this.name = "ReplicaAlreadyExistsException";
588
- this.$fault = "client";
589
592
  Object.setPrototypeOf(this, ReplicaAlreadyExistsException.prototype);
590
593
  }
591
594
  }
592
595
  export class ReplicaNotFoundException extends __BaseException {
596
+ name = "ReplicaNotFoundException";
597
+ $fault = "client";
593
598
  constructor(opts) {
594
599
  super({
595
600
  name: "ReplicaNotFoundException",
596
601
  $fault: "client",
597
602
  ...opts,
598
603
  });
599
- this.name = "ReplicaNotFoundException";
600
- this.$fault = "client";
601
604
  Object.setPrototypeOf(this, ReplicaNotFoundException.prototype);
602
605
  }
603
606
  }
604
607
  export class IndexNotFoundException extends __BaseException {
608
+ name = "IndexNotFoundException";
609
+ $fault = "client";
605
610
  constructor(opts) {
606
611
  super({
607
612
  name: "IndexNotFoundException",
608
613
  $fault: "client",
609
614
  ...opts,
610
615
  });
611
- this.name = "IndexNotFoundException";
612
- this.$fault = "client";
613
616
  Object.setPrototypeOf(this, IndexNotFoundException.prototype);
614
617
  }
615
618
  }
@@ -640,27 +643,30 @@ export var AttributeValue;
640
643
  };
641
644
  })(AttributeValue || (AttributeValue = {}));
642
645
  export class ConditionalCheckFailedException extends __BaseException {
646
+ name = "ConditionalCheckFailedException";
647
+ $fault = "client";
648
+ Item;
643
649
  constructor(opts) {
644
650
  super({
645
651
  name: "ConditionalCheckFailedException",
646
652
  $fault: "client",
647
653
  ...opts,
648
654
  });
649
- this.name = "ConditionalCheckFailedException";
650
- this.$fault = "client";
651
655
  Object.setPrototypeOf(this, ConditionalCheckFailedException.prototype);
652
656
  this.Item = opts.Item;
653
657
  }
654
658
  }
655
659
  export class TransactionCanceledException extends __BaseException {
660
+ name = "TransactionCanceledException";
661
+ $fault = "client";
662
+ Message;
663
+ CancellationReasons;
656
664
  constructor(opts) {
657
665
  super({
658
666
  name: "TransactionCanceledException",
659
667
  $fault: "client",
660
668
  ...opts,
661
669
  });
662
- this.name = "TransactionCanceledException";
663
- this.$fault = "client";
664
670
  Object.setPrototypeOf(this, TransactionCanceledException.prototype);
665
671
  this.Message = opts.Message;
666
672
  this.CancellationReasons = opts.CancellationReasons;
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: DynamoDBClientConfig) => {
8
8
  defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
9
9
  accountIdEndpointMode: "disabled" | "preferred" | "required" | (() => Promise<string>);
10
10
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
11
- credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
11
+ credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
12
12
  defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
13
13
  endpointDiscoveryEnabledProvider: import("@smithy/types").Provider<boolean | undefined>;
14
14
  maxAttempts: number | import("@smithy/types").Provider<number>;
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: DynamoDBClientConfig) => {
8
8
  defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
9
9
  accountIdEndpointMode: "disabled" | "preferred" | "required" | import("@smithy/types").Provider<import("@aws-sdk/core/account-id-endpoint").AccountIdEndpointMode>;
10
10
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
11
- credentialDefaultProvider: (init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity>;
11
+ credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity>);
12
12
  defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
13
13
  endpointDiscoveryEnabledProvider: import("@smithy/types").Provider<boolean | undefined>;
14
14
  maxAttempts: number | import("@smithy/types").Provider<number>;
@@ -23,7 +23,7 @@ export declare const getRuntimeConfig: (config: DynamoDBClientConfig) => {
23
23
  profile?: string | undefined;
24
24
  accountIdEndpointMode: "disabled" | "preferred" | "required" | (() => Promise<string>);
25
25
  defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
26
- credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
26
+ credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
27
27
  maxAttempts: number | import("@smithy/types").Provider<number>;
28
28
  retryMode: string | import("@smithy/types").Provider<string>;
29
29
  logger: import("@smithy/types").Logger;
@@ -33,7 +33,7 @@ export declare const getRuntimeConfig: (config: DynamoDBClientConfig) => {
33
33
  customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
34
34
  userAgentAppId?: string | import("@smithy/types").Provider<string | undefined> | undefined;
35
35
  retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
36
- 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;
36
+ 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;
37
37
  endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
38
38
  logger?: import("@smithy/types").Logger | undefined;
39
39
  }) => import("@smithy/types").EndpointV2;
@@ -11,9 +11,11 @@ export declare const getRuntimeConfig: (config: DynamoDBClientConfig) => {
11
11
  | "required"
12
12
  | (() => Promise<string>);
13
13
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
14
- credentialDefaultProvider: (
15
- input: any
16
- ) => import("@smithy/types").AwsCredentialIdentityProvider;
14
+ credentialDefaultProvider:
15
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
16
+ | ((
17
+ _: unknown
18
+ ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
17
19
  defaultUserAgentProvider: (
18
20
  config?:
19
21
  | import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
@@ -13,13 +13,15 @@ export declare const getRuntimeConfig: (config: DynamoDBClientConfig) => {
13
13
  import("@aws-sdk/core/account-id-endpoint").AccountIdEndpointMode
14
14
  >;
15
15
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
16
- credentialDefaultProvider: (
17
- init?:
18
- | import("@aws-sdk/credential-provider-node").DefaultProviderInit
19
- | undefined
20
- ) => import("@smithy/types").MemoizedProvider<
21
- import("@smithy/types").AwsCredentialIdentity
22
- >;
16
+ credentialDefaultProvider:
17
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
18
+ | ((
19
+ init?:
20
+ | import("@aws-sdk/credential-provider-node").DefaultProviderInit
21
+ | undefined
22
+ ) => import("@smithy/types").MemoizedProvider<
23
+ import("@smithy/types").AwsCredentialIdentity
24
+ >);
23
25
  defaultUserAgentProvider: (
24
26
  config?:
25
27
  | import("@aws-sdk/util-user-agent-node").PreviouslyResolved
@@ -33,9 +33,11 @@ export declare const getRuntimeConfig: (config: DynamoDBClientConfig) => {
33
33
  | import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
34
34
  | undefined
35
35
  ) => Promise<import("@smithy/types").UserAgent>;
36
- credentialDefaultProvider: (
37
- input: any
38
- ) => import("@smithy/types").AwsCredentialIdentityProvider;
36
+ credentialDefaultProvider:
37
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
38
+ | ((
39
+ _: unknown
40
+ ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
39
41
  maxAttempts: number | import("@smithy/types").Provider<number>;
40
42
  retryMode: string | import("@smithy/types").Provider<string>;
41
43
  logger: import("@smithy/types").Logger;
@@ -58,11 +60,21 @@ export declare const getRuntimeConfig: (config: DynamoDBClientConfig) => {
58
60
  | import("@smithy/types").RetryStrategyV2
59
61
  | undefined;
60
62
  endpoint?:
61
- | string
62
- | import("@smithy/types").Endpoint
63
- | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
64
- | import("@smithy/types").EndpointV2
65
- | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
63
+ | ((
64
+ | 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
+ ) &
70
+ (
71
+ | string
72
+ | import("@smithy/types").Provider<string>
73
+ | import("@smithy/types").Endpoint
74
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
75
+ | import("@smithy/types").EndpointV2
76
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
77
+ ))
66
78
  | undefined;
67
79
  endpointProvider: (
68
80
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,