@aws-sdk/client-dynamodb 3.43.0 → 3.47.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3,10 +3,6 @@ import { getRegionInfo } from "@aws-sdk/config-resolver";
3
3
  var regionHash = {
4
4
  "ca-central-1": {
5
5
  variants: [
6
- {
7
- hostname: "dynamodb.ca-central-1.amazonaws.com",
8
- tags: [],
9
- },
10
6
  {
11
7
  hostname: "dynamodb-fips.ca-central-1.amazonaws.com",
12
8
  tags: ["fips"],
@@ -24,10 +20,6 @@ var regionHash = {
24
20
  },
25
21
  "us-east-1": {
26
22
  variants: [
27
- {
28
- hostname: "dynamodb.us-east-1.amazonaws.com",
29
- tags: [],
30
- },
31
23
  {
32
24
  hostname: "dynamodb-fips.us-east-1.amazonaws.com",
33
25
  tags: ["fips"],
@@ -36,10 +28,6 @@ var regionHash = {
36
28
  },
37
29
  "us-east-2": {
38
30
  variants: [
39
- {
40
- hostname: "dynamodb.us-east-2.amazonaws.com",
41
- tags: [],
42
- },
43
31
  {
44
32
  hostname: "dynamodb-fips.us-east-2.amazonaws.com",
45
33
  tags: ["fips"],
@@ -48,10 +36,6 @@ var regionHash = {
48
36
  },
49
37
  "us-gov-east-1": {
50
38
  variants: [
51
- {
52
- hostname: "dynamodb.us-gov-east-1.amazonaws.com",
53
- tags: [],
54
- },
55
39
  {
56
40
  hostname: "dynamodb.us-gov-east-1.amazonaws.com",
57
41
  tags: ["fips"],
@@ -60,10 +44,6 @@ var regionHash = {
60
44
  },
61
45
  "us-gov-west-1": {
62
46
  variants: [
63
- {
64
- hostname: "dynamodb.us-gov-west-1.amazonaws.com",
65
- tags: [],
66
- },
67
47
  {
68
48
  hostname: "dynamodb.us-gov-west-1.amazonaws.com",
69
49
  tags: ["fips"],
@@ -72,10 +52,6 @@ var regionHash = {
72
52
  },
73
53
  "us-west-1": {
74
54
  variants: [
75
- {
76
- hostname: "dynamodb.us-west-1.amazonaws.com",
77
- tags: [],
78
- },
79
55
  {
80
56
  hostname: "dynamodb-fips.us-west-1.amazonaws.com",
81
57
  tags: ["fips"],
@@ -84,10 +60,6 @@ var regionHash = {
84
60
  },
85
61
  "us-west-2": {
86
62
  variants: [
87
- {
88
- hostname: "dynamodb.us-west-2.amazonaws.com",
89
- tags: [],
90
- },
91
63
  {
92
64
  hostname: "dynamodb-fips.us-west-2.amazonaws.com",
93
65
  tags: ["fips"],
@@ -106,6 +78,7 @@ var partitionHash = {
106
78
  "ap-south-1",
107
79
  "ap-southeast-1",
108
80
  "ap-southeast-2",
81
+ "ap-southeast-3",
109
82
  "ca-central-1",
110
83
  "ca-central-1-fips",
111
84
  "eu-central-1",
@@ -85,14 +85,6 @@ export var BackupDescription;
85
85
  (function (BackupDescription) {
86
86
  BackupDescription.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
87
87
  })(BackupDescription || (BackupDescription = {}));
88
- export var BackupInUseException;
89
- (function (BackupInUseException) {
90
- BackupInUseException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
91
- })(BackupInUseException || (BackupInUseException = {}));
92
- export var BackupNotFoundException;
93
- (function (BackupNotFoundException) {
94
- BackupNotFoundException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
95
- })(BackupNotFoundException || (BackupNotFoundException = {}));
96
88
  export var BackupSummary;
97
89
  (function (BackupSummary) {
98
90
  BackupSummary.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -130,38 +122,10 @@ export var BatchStatementError;
130
122
  (function (BatchStatementError) {
131
123
  BatchStatementError.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
132
124
  })(BatchStatementError || (BatchStatementError = {}));
133
- export var InternalServerError;
134
- (function (InternalServerError) {
135
- InternalServerError.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
136
- })(InternalServerError || (InternalServerError = {}));
137
- export var RequestLimitExceeded;
138
- (function (RequestLimitExceeded) {
139
- RequestLimitExceeded.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
140
- })(RequestLimitExceeded || (RequestLimitExceeded = {}));
141
- export var InvalidEndpointException;
142
- (function (InvalidEndpointException) {
143
- InvalidEndpointException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
144
- })(InvalidEndpointException || (InvalidEndpointException = {}));
145
- export var ProvisionedThroughputExceededException;
146
- (function (ProvisionedThroughputExceededException) {
147
- ProvisionedThroughputExceededException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
148
- })(ProvisionedThroughputExceededException || (ProvisionedThroughputExceededException = {}));
149
- export var ResourceNotFoundException;
150
- (function (ResourceNotFoundException) {
151
- ResourceNotFoundException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
152
- })(ResourceNotFoundException || (ResourceNotFoundException = {}));
153
- export var ItemCollectionSizeLimitExceededException;
154
- (function (ItemCollectionSizeLimitExceededException) {
155
- ItemCollectionSizeLimitExceededException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
156
- })(ItemCollectionSizeLimitExceededException || (ItemCollectionSizeLimitExceededException = {}));
157
125
  export var BillingModeSummary;
158
126
  (function (BillingModeSummary) {
159
127
  BillingModeSummary.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
160
128
  })(BillingModeSummary || (BillingModeSummary = {}));
161
- export var ConditionalCheckFailedException;
162
- (function (ConditionalCheckFailedException) {
163
- ConditionalCheckFailedException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
164
- })(ConditionalCheckFailedException || (ConditionalCheckFailedException = {}));
165
129
  export var PointInTimeRecoveryDescription;
166
130
  (function (PointInTimeRecoveryDescription) {
167
131
  PointInTimeRecoveryDescription.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -170,10 +134,6 @@ export var ContinuousBackupsDescription;
170
134
  (function (ContinuousBackupsDescription) {
171
135
  ContinuousBackupsDescription.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
172
136
  })(ContinuousBackupsDescription || (ContinuousBackupsDescription = {}));
173
- export var ContinuousBackupsUnavailableException;
174
- (function (ContinuousBackupsUnavailableException) {
175
- ContinuousBackupsUnavailableException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
176
- })(ContinuousBackupsUnavailableException || (ContinuousBackupsUnavailableException = {}));
177
137
  export var ContributorInsightsSummary;
178
138
  (function (ContributorInsightsSummary) {
179
139
  ContributorInsightsSummary.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -186,18 +146,6 @@ export var CreateBackupOutput;
186
146
  (function (CreateBackupOutput) {
187
147
  CreateBackupOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
188
148
  })(CreateBackupOutput || (CreateBackupOutput = {}));
189
- export var LimitExceededException;
190
- (function (LimitExceededException) {
191
- LimitExceededException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
192
- })(LimitExceededException || (LimitExceededException = {}));
193
- export var TableInUseException;
194
- (function (TableInUseException) {
195
- TableInUseException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
196
- })(TableInUseException || (TableInUseException = {}));
197
- export var TableNotFoundException;
198
- (function (TableNotFoundException) {
199
- TableNotFoundException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
200
- })(TableNotFoundException || (TableNotFoundException = {}));
201
149
  export var CreateGlobalSecondaryIndexAction;
202
150
  (function (CreateGlobalSecondaryIndexAction) {
203
151
  CreateGlobalSecondaryIndexAction.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -218,6 +166,15 @@ export var ReplicaGlobalSecondaryIndexDescription;
218
166
  (function (ReplicaGlobalSecondaryIndexDescription) {
219
167
  ReplicaGlobalSecondaryIndexDescription.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
220
168
  })(ReplicaGlobalSecondaryIndexDescription || (ReplicaGlobalSecondaryIndexDescription = {}));
169
+ export var TableClass;
170
+ (function (TableClass) {
171
+ TableClass["STANDARD"] = "STANDARD";
172
+ TableClass["STANDARD_INFREQUENT_ACCESS"] = "STANDARD_INFREQUENT_ACCESS";
173
+ })(TableClass || (TableClass = {}));
174
+ export var TableClassSummary;
175
+ (function (TableClassSummary) {
176
+ TableClassSummary.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
177
+ })(TableClassSummary || (TableClassSummary = {}));
221
178
  export var ReplicaDescription;
222
179
  (function (ReplicaDescription) {
223
180
  ReplicaDescription.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -230,10 +187,6 @@ export var CreateGlobalTableOutput;
230
187
  (function (CreateGlobalTableOutput) {
231
188
  CreateGlobalTableOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
232
189
  })(CreateGlobalTableOutput || (CreateGlobalTableOutput = {}));
233
- export var GlobalTableAlreadyExistsException;
234
- (function (GlobalTableAlreadyExistsException) {
235
- GlobalTableAlreadyExistsException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
236
- })(GlobalTableAlreadyExistsException || (GlobalTableAlreadyExistsException = {}));
237
190
  export var CreateReplicaAction;
238
191
  (function (CreateReplicaAction) {
239
192
  CreateReplicaAction.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -290,10 +243,6 @@ export var CreateTableOutput;
290
243
  (function (CreateTableOutput) {
291
244
  CreateTableOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
292
245
  })(CreateTableOutput || (CreateTableOutput = {}));
293
- export var ResourceInUseException;
294
- (function (ResourceInUseException) {
295
- ResourceInUseException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
296
- })(ResourceInUseException || (ResourceInUseException = {}));
297
246
  export var DeleteBackupInput;
298
247
  (function (DeleteBackupInput) {
299
248
  DeleteBackupInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -306,10 +255,6 @@ export var DeleteGlobalSecondaryIndexAction;
306
255
  (function (DeleteGlobalSecondaryIndexAction) {
307
256
  DeleteGlobalSecondaryIndexAction.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
308
257
  })(DeleteGlobalSecondaryIndexAction || (DeleteGlobalSecondaryIndexAction = {}));
309
- export var TransactionConflictException;
310
- (function (TransactionConflictException) {
311
- TransactionConflictException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
312
- })(TransactionConflictException || (TransactionConflictException = {}));
313
258
  export var DeleteReplicaAction;
314
259
  (function (DeleteReplicaAction) {
315
260
  DeleteReplicaAction.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -389,10 +334,6 @@ export var DescribeExportOutput;
389
334
  (function (DescribeExportOutput) {
390
335
  DescribeExportOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
391
336
  })(DescribeExportOutput || (DescribeExportOutput = {}));
392
- export var ExportNotFoundException;
393
- (function (ExportNotFoundException) {
394
- ExportNotFoundException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
395
- })(ExportNotFoundException || (ExportNotFoundException = {}));
396
337
  export var DescribeGlobalTableInput;
397
338
  (function (DescribeGlobalTableInput) {
398
339
  DescribeGlobalTableInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -401,10 +342,6 @@ export var DescribeGlobalTableOutput;
401
342
  (function (DescribeGlobalTableOutput) {
402
343
  DescribeGlobalTableOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
403
344
  })(DescribeGlobalTableOutput || (DescribeGlobalTableOutput = {}));
404
- export var GlobalTableNotFoundException;
405
- (function (GlobalTableNotFoundException) {
406
- GlobalTableNotFoundException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
407
- })(GlobalTableNotFoundException || (GlobalTableNotFoundException = {}));
408
345
  export var DescribeGlobalTableSettingsInput;
409
346
  (function (DescribeGlobalTableSettingsInput) {
410
347
  DescribeGlobalTableSettingsInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -485,22 +422,6 @@ export var KinesisStreamingDestinationOutput;
485
422
  (function (KinesisStreamingDestinationOutput) {
486
423
  KinesisStreamingDestinationOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
487
424
  })(KinesisStreamingDestinationOutput || (KinesisStreamingDestinationOutput = {}));
488
- export var DuplicateItemException;
489
- (function (DuplicateItemException) {
490
- DuplicateItemException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
491
- })(DuplicateItemException || (DuplicateItemException = {}));
492
- export var IdempotentParameterMismatchException;
493
- (function (IdempotentParameterMismatchException) {
494
- IdempotentParameterMismatchException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
495
- })(IdempotentParameterMismatchException || (IdempotentParameterMismatchException = {}));
496
- export var TransactionInProgressException;
497
- (function (TransactionInProgressException) {
498
- TransactionInProgressException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
499
- })(TransactionInProgressException || (TransactionInProgressException = {}));
500
- export var ExportConflictException;
501
- (function (ExportConflictException) {
502
- ExportConflictException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
503
- })(ExportConflictException || (ExportConflictException = {}));
504
425
  export var ExportTableToPointInTimeInput;
505
426
  (function (ExportTableToPointInTimeInput) {
506
427
  ExportTableToPointInTimeInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -509,14 +430,6 @@ export var ExportTableToPointInTimeOutput;
509
430
  (function (ExportTableToPointInTimeOutput) {
510
431
  ExportTableToPointInTimeOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
511
432
  })(ExportTableToPointInTimeOutput || (ExportTableToPointInTimeOutput = {}));
512
- export var InvalidExportTimeException;
513
- (function (InvalidExportTimeException) {
514
- InvalidExportTimeException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
515
- })(InvalidExportTimeException || (InvalidExportTimeException = {}));
516
- export var PointInTimeRecoveryUnavailableException;
517
- (function (PointInTimeRecoveryUnavailableException) {
518
- PointInTimeRecoveryUnavailableException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
519
- })(PointInTimeRecoveryUnavailableException || (PointInTimeRecoveryUnavailableException = {}));
520
433
  export var ListBackupsInput;
521
434
  (function (ListBackupsInput) {
522
435
  ListBackupsInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -581,14 +494,6 @@ export var RestoreTableFromBackupOutput;
581
494
  (function (RestoreTableFromBackupOutput) {
582
495
  RestoreTableFromBackupOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
583
496
  })(RestoreTableFromBackupOutput || (RestoreTableFromBackupOutput = {}));
584
- export var TableAlreadyExistsException;
585
- (function (TableAlreadyExistsException) {
586
- TableAlreadyExistsException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
587
- })(TableAlreadyExistsException || (TableAlreadyExistsException = {}));
588
- export var InvalidRestoreTimeException;
589
- (function (InvalidRestoreTimeException) {
590
- InvalidRestoreTimeException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
591
- })(InvalidRestoreTimeException || (InvalidRestoreTimeException = {}));
592
497
  export var RestoreTableToPointInTimeInput;
593
498
  (function (RestoreTableToPointInTimeInput) {
594
499
  RestoreTableToPointInTimeInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -625,14 +530,6 @@ export var UpdateContributorInsightsOutput;
625
530
  (function (UpdateContributorInsightsOutput) {
626
531
  UpdateContributorInsightsOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
627
532
  })(UpdateContributorInsightsOutput || (UpdateContributorInsightsOutput = {}));
628
- export var ReplicaAlreadyExistsException;
629
- (function (ReplicaAlreadyExistsException) {
630
- ReplicaAlreadyExistsException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
631
- })(ReplicaAlreadyExistsException || (ReplicaAlreadyExistsException = {}));
632
- export var ReplicaNotFoundException;
633
- (function (ReplicaNotFoundException) {
634
- ReplicaNotFoundException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
635
- })(ReplicaNotFoundException || (ReplicaNotFoundException = {}));
636
533
  export var ReplicaUpdate;
637
534
  (function (ReplicaUpdate) {
638
535
  ReplicaUpdate.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -645,10 +542,6 @@ export var UpdateGlobalTableOutput;
645
542
  (function (UpdateGlobalTableOutput) {
646
543
  UpdateGlobalTableOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
647
544
  })(UpdateGlobalTableOutput || (UpdateGlobalTableOutput = {}));
648
- export var IndexNotFoundException;
649
- (function (IndexNotFoundException) {
650
- IndexNotFoundException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
651
- })(IndexNotFoundException || (IndexNotFoundException = {}));
652
545
  export var GlobalTableGlobalSecondaryIndexSettingsUpdate;
653
546
  (function (GlobalTableGlobalSecondaryIndexSettingsUpdate) {
654
547
  GlobalTableGlobalSecondaryIndexSettingsUpdate.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -944,12 +837,6 @@ export var TransactGetItemsOutput;
944
837
  (function (TransactGetItemsOutput) {
945
838
  TransactGetItemsOutput.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Responses && { Responses: obj.Responses.map(function (item) { return ItemResponse.filterSensitiveLog(item); }) }))); };
946
839
  })(TransactGetItemsOutput || (TransactGetItemsOutput = {}));
947
- export var TransactionCanceledException;
948
- (function (TransactionCanceledException) {
949
- TransactionCanceledException.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.CancellationReasons && {
950
- CancellationReasons: obj.CancellationReasons.map(function (item) { return CancellationReason.filterSensitiveLog(item); }),
951
- }))); };
952
- })(TransactionCanceledException || (TransactionCanceledException = {}));
953
840
  export var BatchGetItemInput;
954
841
  (function (BatchGetItemInput) {
955
842
  BatchGetItemInput.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.RequestItems && {
@@ -5193,17 +5193,18 @@ var serializeAws_json1_0CreateReplicaAction = function (input, context) {
5193
5193
  return __assign({}, (input.RegionName !== undefined && input.RegionName !== null && { RegionName: input.RegionName }));
5194
5194
  };
5195
5195
  var serializeAws_json1_0CreateReplicationGroupMemberAction = function (input, context) {
5196
- return __assign(__assign(__assign(__assign({}, (input.GlobalSecondaryIndexes !== undefined &&
5196
+ return __assign(__assign(__assign(__assign(__assign({}, (input.GlobalSecondaryIndexes !== undefined &&
5197
5197
  input.GlobalSecondaryIndexes !== null && {
5198
5198
  GlobalSecondaryIndexes: serializeAws_json1_0ReplicaGlobalSecondaryIndexList(input.GlobalSecondaryIndexes, context),
5199
5199
  })), (input.KMSMasterKeyId !== undefined &&
5200
5200
  input.KMSMasterKeyId !== null && { KMSMasterKeyId: input.KMSMasterKeyId })), (input.ProvisionedThroughputOverride !== undefined &&
5201
5201
  input.ProvisionedThroughputOverride !== null && {
5202
5202
  ProvisionedThroughputOverride: serializeAws_json1_0ProvisionedThroughputOverride(input.ProvisionedThroughputOverride, context),
5203
- })), (input.RegionName !== undefined && input.RegionName !== null && { RegionName: input.RegionName }));
5203
+ })), (input.RegionName !== undefined && input.RegionName !== null && { RegionName: input.RegionName })), (input.TableClassOverride !== undefined &&
5204
+ input.TableClassOverride !== null && { TableClassOverride: input.TableClassOverride }));
5204
5205
  };
5205
5206
  var serializeAws_json1_0CreateTableInput = function (input, context) {
5206
- return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AttributeDefinitions !== undefined &&
5207
+ return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AttributeDefinitions !== undefined &&
5207
5208
  input.AttributeDefinitions !== null && {
5208
5209
  AttributeDefinitions: serializeAws_json1_0AttributeDefinitions(input.AttributeDefinitions, context),
5209
5210
  })), (input.BillingMode !== undefined && input.BillingMode !== null && { BillingMode: input.BillingMode })), (input.GlobalSecondaryIndexes !== undefined &&
@@ -5222,7 +5223,7 @@ var serializeAws_json1_0CreateTableInput = function (input, context) {
5222
5223
  })), (input.StreamSpecification !== undefined &&
5223
5224
  input.StreamSpecification !== null && {
5224
5225
  StreamSpecification: serializeAws_json1_0StreamSpecification(input.StreamSpecification, context),
5225
- })), (input.TableName !== undefined && input.TableName !== null && { TableName: input.TableName })), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_0TagList(input.Tags, context) }));
5226
+ })), (input.TableClass !== undefined && input.TableClass !== null && { TableClass: input.TableClass })), (input.TableName !== undefined && input.TableName !== null && { TableName: input.TableName })), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_0TagList(input.Tags, context) }));
5226
5227
  };
5227
5228
  var serializeAws_json1_0Delete = function (input, context) {
5228
5229
  return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.ConditionExpression !== undefined &&
@@ -5817,7 +5818,7 @@ var serializeAws_json1_0ReplicaList = function (input, context) {
5817
5818
  });
5818
5819
  };
5819
5820
  var serializeAws_json1_0ReplicaSettingsUpdate = function (input, context) {
5820
- return __assign(__assign(__assign(__assign({}, (input.RegionName !== undefined && input.RegionName !== null && { RegionName: input.RegionName })), (input.ReplicaGlobalSecondaryIndexSettingsUpdate !== undefined &&
5821
+ return __assign(__assign(__assign(__assign(__assign({}, (input.RegionName !== undefined && input.RegionName !== null && { RegionName: input.RegionName })), (input.ReplicaGlobalSecondaryIndexSettingsUpdate !== undefined &&
5821
5822
  input.ReplicaGlobalSecondaryIndexSettingsUpdate !== null && {
5822
5823
  ReplicaGlobalSecondaryIndexSettingsUpdate: serializeAws_json1_0ReplicaGlobalSecondaryIndexSettingsUpdateList(input.ReplicaGlobalSecondaryIndexSettingsUpdate, context),
5823
5824
  })), (input.ReplicaProvisionedReadCapacityAutoScalingSettingsUpdate !== undefined &&
@@ -5826,7 +5827,8 @@ var serializeAws_json1_0ReplicaSettingsUpdate = function (input, context) {
5826
5827
  })), (input.ReplicaProvisionedReadCapacityUnits !== undefined &&
5827
5828
  input.ReplicaProvisionedReadCapacityUnits !== null && {
5828
5829
  ReplicaProvisionedReadCapacityUnits: input.ReplicaProvisionedReadCapacityUnits,
5829
- }));
5830
+ })), (input.ReplicaTableClass !== undefined &&
5831
+ input.ReplicaTableClass !== null && { ReplicaTableClass: input.ReplicaTableClass }));
5830
5832
  };
5831
5833
  var serializeAws_json1_0ReplicaSettingsUpdateList = function (input, context) {
5832
5834
  return input
@@ -6105,17 +6107,18 @@ var serializeAws_json1_0UpdateItemInput = function (input, context) {
6105
6107
  input.UpdateExpression !== null && { UpdateExpression: input.UpdateExpression }));
6106
6108
  };
6107
6109
  var serializeAws_json1_0UpdateReplicationGroupMemberAction = function (input, context) {
6108
- return __assign(__assign(__assign(__assign({}, (input.GlobalSecondaryIndexes !== undefined &&
6110
+ return __assign(__assign(__assign(__assign(__assign({}, (input.GlobalSecondaryIndexes !== undefined &&
6109
6111
  input.GlobalSecondaryIndexes !== null && {
6110
6112
  GlobalSecondaryIndexes: serializeAws_json1_0ReplicaGlobalSecondaryIndexList(input.GlobalSecondaryIndexes, context),
6111
6113
  })), (input.KMSMasterKeyId !== undefined &&
6112
6114
  input.KMSMasterKeyId !== null && { KMSMasterKeyId: input.KMSMasterKeyId })), (input.ProvisionedThroughputOverride !== undefined &&
6113
6115
  input.ProvisionedThroughputOverride !== null && {
6114
6116
  ProvisionedThroughputOverride: serializeAws_json1_0ProvisionedThroughputOverride(input.ProvisionedThroughputOverride, context),
6115
- })), (input.RegionName !== undefined && input.RegionName !== null && { RegionName: input.RegionName }));
6117
+ })), (input.RegionName !== undefined && input.RegionName !== null && { RegionName: input.RegionName })), (input.TableClassOverride !== undefined &&
6118
+ input.TableClassOverride !== null && { TableClassOverride: input.TableClassOverride }));
6116
6119
  };
6117
6120
  var serializeAws_json1_0UpdateTableInput = function (input, context) {
6118
- return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AttributeDefinitions !== undefined &&
6121
+ return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AttributeDefinitions !== undefined &&
6119
6122
  input.AttributeDefinitions !== null && {
6120
6123
  AttributeDefinitions: serializeAws_json1_0AttributeDefinitions(input.AttributeDefinitions, context),
6121
6124
  })), (input.BillingMode !== undefined && input.BillingMode !== null && { BillingMode: input.BillingMode })), (input.GlobalSecondaryIndexUpdates !== undefined &&
@@ -6133,7 +6136,7 @@ var serializeAws_json1_0UpdateTableInput = function (input, context) {
6133
6136
  })), (input.StreamSpecification !== undefined &&
6134
6137
  input.StreamSpecification !== null && {
6135
6138
  StreamSpecification: serializeAws_json1_0StreamSpecification(input.StreamSpecification, context),
6136
- })), (input.TableName !== undefined && input.TableName !== null && { TableName: input.TableName }));
6139
+ })), (input.TableClass !== undefined && input.TableClass !== null && { TableClass: input.TableClass })), (input.TableName !== undefined && input.TableName !== null && { TableName: input.TableName }));
6137
6140
  };
6138
6141
  var serializeAws_json1_0UpdateTableReplicaAutoScalingInput = function (input, context) {
6139
6142
  return __assign(__assign(__assign(__assign({}, (input.GlobalSecondaryIndexUpdates !== undefined &&
@@ -7422,6 +7425,9 @@ var deserializeAws_json1_0ReplicaDescription = function (output, context) {
7422
7425
  ReplicaStatus: __expectString(output.ReplicaStatus),
7423
7426
  ReplicaStatusDescription: __expectString(output.ReplicaStatusDescription),
7424
7427
  ReplicaStatusPercentProgress: __expectString(output.ReplicaStatusPercentProgress),
7428
+ ReplicaTableClassSummary: output.ReplicaTableClassSummary !== undefined && output.ReplicaTableClassSummary !== null
7429
+ ? deserializeAws_json1_0TableClassSummary(output.ReplicaTableClassSummary, context)
7430
+ : undefined,
7425
7431
  };
7426
7432
  };
7427
7433
  var deserializeAws_json1_0ReplicaDescriptionList = function (output, context) {
@@ -7537,6 +7543,9 @@ var deserializeAws_json1_0ReplicaSettingsDescription = function (output, context
7537
7543
  : undefined,
7538
7544
  ReplicaProvisionedWriteCapacityUnits: __expectLong(output.ReplicaProvisionedWriteCapacityUnits),
7539
7545
  ReplicaStatus: __expectString(output.ReplicaStatus),
7546
+ ReplicaTableClassSummary: output.ReplicaTableClassSummary !== undefined && output.ReplicaTableClassSummary !== null
7547
+ ? deserializeAws_json1_0TableClassSummary(output.ReplicaTableClassSummary, context)
7548
+ : undefined,
7540
7549
  };
7541
7550
  };
7542
7551
  var deserializeAws_json1_0ReplicaSettingsDescriptionList = function (output, context) {
@@ -7691,6 +7700,14 @@ var deserializeAws_json1_0TableAutoScalingDescription = function (output, contex
7691
7700
  TableStatus: __expectString(output.TableStatus),
7692
7701
  };
7693
7702
  };
7703
+ var deserializeAws_json1_0TableClassSummary = function (output, context) {
7704
+ return {
7705
+ LastUpdateDateTime: output.LastUpdateDateTime !== undefined && output.LastUpdateDateTime !== null
7706
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastUpdateDateTime)))
7707
+ : undefined,
7708
+ TableClass: __expectString(output.TableClass),
7709
+ };
7710
+ };
7694
7711
  var deserializeAws_json1_0TableDescription = function (output, context) {
7695
7712
  return {
7696
7713
  ArchivalSummary: output.ArchivalSummary !== undefined && output.ArchivalSummary !== null
@@ -7734,6 +7751,9 @@ var deserializeAws_json1_0TableDescription = function (output, context) {
7734
7751
  ? deserializeAws_json1_0StreamSpecification(output.StreamSpecification, context)
7735
7752
  : undefined,
7736
7753
  TableArn: __expectString(output.TableArn),
7754
+ TableClassSummary: output.TableClassSummary !== undefined && output.TableClassSummary !== null
7755
+ ? deserializeAws_json1_0TableClassSummary(output.TableClassSummary, context)
7756
+ : undefined,
7737
7757
  TableId: __expectString(output.TableId),
7738
7758
  TableName: __expectString(output.TableName),
7739
7759
  TableSizeBytes: __expectLong(output.TableSizeBytes),
@@ -1,8 +1,8 @@
1
- import { __assign } from "tslib";
1
+ import { __assign, __awaiter, __generator } from "tslib";
2
2
  import packageInfo from "../package.json";
3
3
  import { Sha256 } from "@aws-crypto/sha256-browser";
4
4
  import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@aws-sdk/config-resolver";
5
- import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
5
+ import { FetchHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
6
6
  import { invalidProvider } from "@aws-sdk/invalid-dependency";
7
7
  import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@aws-sdk/middleware-retry";
8
8
  import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser";
@@ -10,8 +10,17 @@ import { calculateBodyLength } from "@aws-sdk/util-body-length-browser";
10
10
  import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser";
11
11
  import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-browser";
12
12
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
13
+ import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
14
+ import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-browser";
13
15
  export var getRuntimeConfig = function (config) {
14
16
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r;
17
+ var defaultsMode = resolveDefaultsModeConfig(config);
18
+ var defaultConfigProvider = function () { return defaultsMode().then(loadConfigsForDefaultMode); };
15
19
  var clientSharedValues = getSharedRuntimeConfig(config);
16
- return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "browser", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : (function (_) { return function () { return Promise.reject(new Error("Credential is missing")); }; }), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), endpointDiscoveryEnabledProvider: (_f = config === null || config === void 0 ? void 0 : config.endpointDiscoveryEnabledProvider) !== null && _f !== void 0 ? _f : (function () { return Promise.resolve(undefined); }), maxAttempts: (_g = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _g !== void 0 ? _g : DEFAULT_MAX_ATTEMPTS, region: (_h = config === null || config === void 0 ? void 0 : config.region) !== null && _h !== void 0 ? _h : invalidProvider("Region is missing"), requestHandler: (_j = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _j !== void 0 ? _j : new FetchHttpHandler(), retryMode: (_k = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _k !== void 0 ? _k : (function () { return Promise.resolve(DEFAULT_RETRY_MODE); }), sha256: (_l = config === null || config === void 0 ? void 0 : config.sha256) !== null && _l !== void 0 ? _l : Sha256, streamCollector: (_m = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _m !== void 0 ? _m : streamCollector, useDualstackEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _o !== void 0 ? _o : (function () { return Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT); }), useFipsEndpoint: (_p = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _p !== void 0 ? _p : (function () { return Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT); }), utf8Decoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _q !== void 0 ? _q : fromUtf8, utf8Encoder: (_r = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _r !== void 0 ? _r : toUtf8 });
20
+ return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "browser", defaultsMode: defaultsMode, base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : (function (_) { return function () { return Promise.reject(new Error("Credential is missing")); }; }), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), endpointDiscoveryEnabledProvider: (_f = config === null || config === void 0 ? void 0 : config.endpointDiscoveryEnabledProvider) !== null && _f !== void 0 ? _f : (function () { return Promise.resolve(undefined); }), maxAttempts: (_g = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _g !== void 0 ? _g : DEFAULT_MAX_ATTEMPTS, region: (_h = config === null || config === void 0 ? void 0 : config.region) !== null && _h !== void 0 ? _h : invalidProvider("Region is missing"), requestHandler: (_j = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _j !== void 0 ? _j : new RequestHandler(defaultConfigProvider), retryMode: (_k = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _k !== void 0 ? _k : (function () { return __awaiter(void 0, void 0, void 0, function () { return __generator(this, function (_a) {
21
+ switch (_a.label) {
22
+ case 0: return [4, defaultConfigProvider()];
23
+ case 1: return [2, (_a.sent()).retryMode || DEFAULT_RETRY_MODE];
24
+ }
25
+ }); }); }), sha256: (_l = config === null || config === void 0 ? void 0 : config.sha256) !== null && _l !== void 0 ? _l : Sha256, streamCollector: (_m = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _m !== void 0 ? _m : streamCollector, useDualstackEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _o !== void 0 ? _o : (function () { return Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT); }), useFipsEndpoint: (_p = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _p !== void 0 ? _p : (function () { return Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT); }), utf8Decoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _q !== void 0 ? _q : fromUtf8, utf8Encoder: (_r = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _r !== void 0 ? _r : toUtf8 });
17
26
  };
@@ -1,22 +1,29 @@
1
- import { __assign } from "tslib";
1
+ import { __assign, __awaiter, __generator } from "tslib";
2
2
  import packageInfo from "../package.json";
3
3
  import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts";
4
4
  import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@aws-sdk/config-resolver";
5
5
  import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
6
6
  import { Hash } from "@aws-sdk/hash-node";
7
7
  import { NODE_ENDPOINT_DISCOVERY_CONFIG_OPTIONS } from "@aws-sdk/middleware-endpoint-discovery";
8
- import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry";
8
+ import { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from "@aws-sdk/middleware-retry";
9
9
  import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider";
10
- import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler";
10
+ import { NodeHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/node-http-handler";
11
11
  import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node";
12
12
  import { calculateBodyLength } from "@aws-sdk/util-body-length-node";
13
13
  import { defaultUserAgent } from "@aws-sdk/util-user-agent-node";
14
14
  import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";
15
15
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
16
- import { emitWarningIfUnsupportedVersion } from "@aws-sdk/smithy-client";
16
+ import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
17
+ import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-node";
17
18
  export var getRuntimeConfig = function (config) {
18
19
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r;
19
- emitWarningIfUnsupportedVersion(process.version);
20
+ var defaultsMode = resolveDefaultsModeConfig(config);
21
+ var defaultConfigProvider = function () { return defaultsMode().then(loadConfigsForDefaultMode); };
20
22
  var clientSharedValues = getSharedRuntimeConfig(config);
21
- return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), endpointDiscoveryEnabledProvider: (_f = config === null || config === void 0 ? void 0 : config.endpointDiscoveryEnabledProvider) !== null && _f !== void 0 ? _f : loadNodeConfig(NODE_ENDPOINT_DISCOVERY_CONFIG_OPTIONS), maxAttempts: (_g = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_h = config === null || config === void 0 ? void 0 : config.region) !== null && _h !== void 0 ? _h : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_j = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _j !== void 0 ? _j : new NodeHttpHandler(), retryMode: (_k = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _k !== void 0 ? _k : loadNodeConfig(NODE_RETRY_MODE_CONFIG_OPTIONS), sha256: (_l = config === null || config === void 0 ? void 0 : config.sha256) !== null && _l !== void 0 ? _l : Hash.bind(null, "sha256"), streamCollector: (_m = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _m !== void 0 ? _m : streamCollector, useDualstackEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _o !== void 0 ? _o : loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS), useFipsEndpoint: (_p = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _p !== void 0 ? _p : loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS), utf8Decoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _q !== void 0 ? _q : fromUtf8, utf8Encoder: (_r = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _r !== void 0 ? _r : toUtf8 });
23
+ return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", defaultsMode: defaultsMode, base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), endpointDiscoveryEnabledProvider: (_f = config === null || config === void 0 ? void 0 : config.endpointDiscoveryEnabledProvider) !== null && _f !== void 0 ? _f : loadNodeConfig(NODE_ENDPOINT_DISCOVERY_CONFIG_OPTIONS), maxAttempts: (_g = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_h = config === null || config === void 0 ? void 0 : config.region) !== null && _h !== void 0 ? _h : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_j = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _j !== void 0 ? _j : new RequestHandler(defaultConfigProvider), retryMode: (_k = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _k !== void 0 ? _k : loadNodeConfig(__assign(__assign({}, NODE_RETRY_MODE_CONFIG_OPTIONS), { default: function () { return __awaiter(void 0, void 0, void 0, function () { return __generator(this, function (_a) {
24
+ switch (_a.label) {
25
+ case 0: return [4, defaultConfigProvider()];
26
+ case 1: return [2, (_a.sent()).retryMode || DEFAULT_RETRY_MODE];
27
+ }
28
+ }); }); } })), sha256: (_l = config === null || config === void 0 ? void 0 : config.sha256) !== null && _l !== void 0 ? _l : Hash.bind(null, "sha256"), streamCollector: (_m = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _m !== void 0 ? _m : streamCollector, useDualstackEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _o !== void 0 ? _o : loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS), useFipsEndpoint: (_p = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _p !== void 0 ? _p : loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS), utf8Decoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _q !== void 0 ? _q : fromUtf8, utf8Encoder: (_r = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _r !== void 0 ? _r : toUtf8 });
22
29
  };
@@ -5,7 +5,7 @@ import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry
5
5
  import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
6
6
  import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
7
7
  import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
8
- import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
8
+ import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
9
9
  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";
10
10
  import { BatchExecuteStatementCommandInput, BatchExecuteStatementCommandOutput } from "./commands/BatchExecuteStatementCommand";
11
11
  import { BatchGetItemCommandInput, BatchGetItemCommandOutput } from "./commands/BatchGetItemCommand";
@@ -165,6 +165,10 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
165
165
  * @internal
166
166
  */
167
167
  endpointDiscoveryEnabledProvider?: __Provider<boolean | undefined>;
168
+ /**
169
+ * The {@link DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
170
+ */
171
+ defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
168
172
  }
169
173
  declare type DynamoDBClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig & EndpointDiscoveryInputConfig;
170
174
  /**