@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.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,56 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.47.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.46.0...v3.47.0) (2022-01-15)
7
+
8
+
9
+ ### Features
10
+
11
+ * **clients:** update clients to use default values inferred from defaults mode ([#3192](https://github.com/aws/aws-sdk-js-v3/issues/3192)) ([9152e21](https://github.com/aws/aws-sdk-js-v3/commit/9152e210c6ec29f34bb070eaf2874039022e6ab7))
12
+
13
+
14
+
15
+
16
+
17
+ # [3.46.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.45.0...v3.46.0) (2022-01-07)
18
+
19
+
20
+ ### Bug Fixes
21
+
22
+ * **clients:** update clean:dist script to delete dist-* folder ([#3155](https://github.com/aws/aws-sdk-js-v3/issues/3155)) ([cdb1709](https://github.com/aws/aws-sdk-js-v3/commit/cdb17090f82d1fc8755811c82cbed5976ec7e60b))
23
+
24
+
25
+ ### Features
26
+
27
+ * **clients:** extend typedoc.json from root ([#3136](https://github.com/aws/aws-sdk-js-v3/issues/3136)) ([f6a3ef5](https://github.com/aws/aws-sdk-js-v3/commit/f6a3ef541ae2d92872d09d8cab6727911287ebb2))
28
+ * end support for Node.js 10.x ([#3122](https://github.com/aws/aws-sdk-js-v3/issues/3122)) ([7acf18a](https://github.com/aws/aws-sdk-js-v3/commit/7acf18abd3fb1cc461f809110cdb0d7968c2070e))
29
+
30
+
31
+
32
+
33
+
34
+ # [3.45.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.44.0...v3.45.0) (2021-12-23)
35
+
36
+
37
+ ### Features
38
+
39
+ * **clients:** update clients as of 2021/12/23 ([#3110](https://github.com/aws/aws-sdk-js-v3/issues/3110)) ([5d638e1](https://github.com/aws/aws-sdk-js-v3/commit/5d638e188ce64fa80fe36b8cba79ba63b80b50b7))
40
+
41
+
42
+
43
+
44
+
45
+ # [3.44.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.43.0...v3.44.0) (2021-12-02)
46
+
47
+
48
+ ### Features
49
+
50
+ * **clients:** update clients as of 2021/12/01 ([#3078](https://github.com/aws/aws-sdk-js-v3/issues/3078)) ([9c44188](https://github.com/aws/aws-sdk-js-v3/commit/9c44188265ea484d55c50848d7daae5571007ce0))
51
+
52
+
53
+
54
+
55
+
6
56
  # [3.43.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.42.0...v3.43.0) (2021-11-29)
7
57
 
8
58
 
@@ -5,10 +5,6 @@ const config_resolver_1 = require("@aws-sdk/config-resolver");
5
5
  const regionHash = {
6
6
  "ca-central-1": {
7
7
  variants: [
8
- {
9
- hostname: "dynamodb.ca-central-1.amazonaws.com",
10
- tags: [],
11
- },
12
8
  {
13
9
  hostname: "dynamodb-fips.ca-central-1.amazonaws.com",
14
10
  tags: ["fips"],
@@ -26,10 +22,6 @@ const regionHash = {
26
22
  },
27
23
  "us-east-1": {
28
24
  variants: [
29
- {
30
- hostname: "dynamodb.us-east-1.amazonaws.com",
31
- tags: [],
32
- },
33
25
  {
34
26
  hostname: "dynamodb-fips.us-east-1.amazonaws.com",
35
27
  tags: ["fips"],
@@ -38,10 +30,6 @@ const regionHash = {
38
30
  },
39
31
  "us-east-2": {
40
32
  variants: [
41
- {
42
- hostname: "dynamodb.us-east-2.amazonaws.com",
43
- tags: [],
44
- },
45
33
  {
46
34
  hostname: "dynamodb-fips.us-east-2.amazonaws.com",
47
35
  tags: ["fips"],
@@ -50,10 +38,6 @@ const regionHash = {
50
38
  },
51
39
  "us-gov-east-1": {
52
40
  variants: [
53
- {
54
- hostname: "dynamodb.us-gov-east-1.amazonaws.com",
55
- tags: [],
56
- },
57
41
  {
58
42
  hostname: "dynamodb.us-gov-east-1.amazonaws.com",
59
43
  tags: ["fips"],
@@ -62,10 +46,6 @@ const regionHash = {
62
46
  },
63
47
  "us-gov-west-1": {
64
48
  variants: [
65
- {
66
- hostname: "dynamodb.us-gov-west-1.amazonaws.com",
67
- tags: [],
68
- },
69
49
  {
70
50
  hostname: "dynamodb.us-gov-west-1.amazonaws.com",
71
51
  tags: ["fips"],
@@ -74,10 +54,6 @@ const regionHash = {
74
54
  },
75
55
  "us-west-1": {
76
56
  variants: [
77
- {
78
- hostname: "dynamodb.us-west-1.amazonaws.com",
79
- tags: [],
80
- },
81
57
  {
82
58
  hostname: "dynamodb-fips.us-west-1.amazonaws.com",
83
59
  tags: ["fips"],
@@ -86,10 +62,6 @@ const regionHash = {
86
62
  },
87
63
  "us-west-2": {
88
64
  variants: [
89
- {
90
- hostname: "dynamodb.us-west-2.amazonaws.com",
91
- tags: [],
92
- },
93
65
  {
94
66
  hostname: "dynamodb-fips.us-west-2.amazonaws.com",
95
67
  tags: ["fips"],
@@ -108,6 +80,7 @@ const partitionHash = {
108
80
  "ap-south-1",
109
81
  "ap-southeast-1",
110
82
  "ap-southeast-2",
83
+ "ap-southeast-3",
111
84
  "ca-central-1",
112
85
  "ca-central-1-fips",
113
86
  "eu-central-1",
@@ -1,10 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ProvisionedThroughputOverride = exports.CreateGlobalTableInput = exports.Replica = exports.CreateGlobalSecondaryIndexAction = exports.TableNotFoundException = exports.TableInUseException = exports.LimitExceededException = exports.CreateBackupOutput = exports.CreateBackupInput = exports.ContributorInsightsSummary = exports.ContinuousBackupsUnavailableException = exports.ContinuousBackupsDescription = exports.PointInTimeRecoveryDescription = exports.ConditionalCheckFailedException = exports.BillingModeSummary = exports.ItemCollectionSizeLimitExceededException = exports.ResourceNotFoundException = exports.ProvisionedThroughputExceededException = exports.InvalidEndpointException = exports.RequestLimitExceeded = exports.InternalServerError = exports.BatchStatementError = exports.BatchStatementErrorCodeEnum = exports.ConsumedCapacity = exports.Capacity = exports.BackupTypeFilter = exports.BackupSummary = exports.BackupNotFoundException = exports.BackupInUseException = exports.BackupDescription = exports.SourceTableFeatureDetails = exports.TimeToLiveDescription = exports.StreamSpecification = exports.SSEDescription = exports.LocalSecondaryIndexInfo = exports.GlobalSecondaryIndexInfo = exports.Projection = exports.SourceTableDetails = exports.ProvisionedThroughput = exports.KeySchemaElement = exports.BackupDetails = exports.BackupType = exports.AutoScalingSettingsUpdate = exports.AutoScalingSettingsDescription = exports.AutoScalingPolicyUpdate = exports.AutoScalingTargetTrackingScalingPolicyConfigurationUpdate = exports.AutoScalingPolicyDescription = exports.AutoScalingTargetTrackingScalingPolicyConfigurationDescription = exports.AttributeDefinition = exports.ArchivalSummary = void 0;
4
- exports.ReplicaSettingsDescription = exports.ReplicaGlobalSecondaryIndexSettingsDescription = exports.DescribeGlobalTableSettingsInput = exports.GlobalTableNotFoundException = exports.DescribeGlobalTableOutput = exports.DescribeGlobalTableInput = exports.ExportNotFoundException = exports.DescribeExportOutput = exports.ExportDescription = exports.ExportStatus = exports.ExportFormat = exports.DescribeExportInput = exports.DescribeEndpointsResponse = exports.Endpoint = exports.DescribeEndpointsRequest = exports.DescribeContributorInsightsOutput = exports.FailureException = exports.DescribeContributorInsightsInput = exports.DescribeContinuousBackupsOutput = exports.DescribeContinuousBackupsInput = exports.DescribeBackupOutput = exports.DescribeBackupInput = exports.DeleteTableOutput = exports.DeleteTableInput = exports.DeleteReplicationGroupMemberAction = exports.DeleteReplicaAction = exports.TransactionConflictException = exports.DeleteGlobalSecondaryIndexAction = exports.DeleteBackupOutput = exports.DeleteBackupInput = exports.ResourceInUseException = exports.CreateTableOutput = exports.TableDescription = exports.RestoreSummary = exports.LocalSecondaryIndexDescription = exports.GlobalSecondaryIndexDescription = exports.ProvisionedThroughputDescription = exports.CreateTableInput = exports.Tag = exports.SSESpecification = exports.LocalSecondaryIndex = exports.GlobalSecondaryIndex = exports.CreateReplicationGroupMemberAction = exports.ReplicaGlobalSecondaryIndex = exports.CreateReplicaAction = exports.GlobalTableAlreadyExistsException = exports.CreateGlobalTableOutput = exports.GlobalTableDescription = exports.ReplicaDescription = exports.ReplicaGlobalSecondaryIndexDescription = void 0;
5
- exports.UpdateContinuousBackupsOutput = exports.UpdateContinuousBackupsInput = exports.PointInTimeRecoverySpecification = exports.UntagResourceInput = exports.TagResourceInput = exports.RestoreTableToPointInTimeOutput = exports.RestoreTableToPointInTimeInput = exports.InvalidRestoreTimeException = exports.TableAlreadyExistsException = exports.RestoreTableFromBackupOutput = exports.RestoreTableFromBackupInput = exports.ListTagsOfResourceOutput = exports.ListTagsOfResourceInput = exports.ListTablesOutput = exports.ListTablesInput = exports.ListGlobalTablesOutput = exports.GlobalTable = exports.ListGlobalTablesInput = exports.ListExportsOutput = exports.ExportSummary = exports.ListExportsInput = exports.ListContributorInsightsOutput = exports.ListContributorInsightsInput = exports.ListBackupsOutput = exports.ListBackupsInput = exports.PointInTimeRecoveryUnavailableException = exports.InvalidExportTimeException = exports.ExportTableToPointInTimeOutput = exports.ExportTableToPointInTimeInput = exports.ExportConflictException = exports.TransactionInProgressException = exports.IdempotentParameterMismatchException = exports.DuplicateItemException = exports.KinesisStreamingDestinationOutput = exports.KinesisStreamingDestinationInput = exports.DescribeTimeToLiveOutput = exports.DescribeTimeToLiveInput = exports.DescribeTableReplicaAutoScalingOutput = exports.TableAutoScalingDescription = exports.ReplicaAutoScalingDescription = exports.ReplicaGlobalSecondaryIndexAutoScalingDescription = exports.DescribeTableReplicaAutoScalingInput = exports.DescribeTableOutput = exports.DescribeTableInput = exports.DescribeLimitsOutput = exports.DescribeLimitsInput = exports.DescribeKinesisStreamingDestinationOutput = exports.KinesisDataStreamDestination = exports.DescribeKinesisStreamingDestinationInput = exports.DescribeGlobalTableSettingsOutput = void 0;
6
- exports.TransactGetItemsOutput = exports.ExecuteTransactionOutput = exports.ExecuteTransactionInput = exports.BatchExecuteStatementOutput = exports.BatchExecuteStatementInput = exports.TransactGetItem = exports.KeysAndAttributes = exports.ExecuteStatementOutput = exports.PutRequest = exports.ParameterizedStatement = exports.ItemResponse = exports.ItemCollectionMetrics = exports.GetItemOutput = exports.GetItemInput = exports.Get = exports.ExecuteStatementInput = exports.DeleteRequest = exports.Condition = exports.CancellationReason = exports.BatchStatementResponse = exports.BatchStatementRequest = exports.AttributeValueUpdate = exports.AttributeValue = exports.UpdateTimeToLiveOutput = exports.UpdateTimeToLiveInput = exports.TimeToLiveSpecification = exports.UpdateTableReplicaAutoScalingOutput = exports.UpdateTableReplicaAutoScalingInput = exports.ReplicaAutoScalingUpdate = exports.ReplicaGlobalSecondaryIndexAutoScalingUpdate = exports.GlobalSecondaryIndexAutoScalingUpdate = exports.UpdateTableOutput = exports.UpdateTableInput = exports.ReplicationGroupUpdate = exports.UpdateReplicationGroupMemberAction = exports.GlobalSecondaryIndexUpdate = exports.UpdateGlobalSecondaryIndexAction = exports.UpdateGlobalTableSettingsOutput = exports.UpdateGlobalTableSettingsInput = exports.ReplicaSettingsUpdate = exports.ReplicaGlobalSecondaryIndexSettingsUpdate = exports.GlobalTableGlobalSecondaryIndexSettingsUpdate = exports.IndexNotFoundException = exports.UpdateGlobalTableOutput = exports.UpdateGlobalTableInput = exports.ReplicaUpdate = exports.ReplicaNotFoundException = exports.ReplicaAlreadyExistsException = exports.UpdateContributorInsightsOutput = exports.UpdateContributorInsightsInput = void 0;
7
- exports.TransactWriteItemsInput = exports.TransactWriteItem = exports.UpdateItemInput = exports.BatchWriteItemOutput = exports.QueryInput = exports.PutItemInput = exports.DeleteItemInput = exports.BatchWriteItemInput = exports.ScanInput = exports.BatchGetItemOutput = exports.WriteRequest = exports.UpdateItemOutput = exports.ScanOutput = exports.QueryOutput = exports.PutItemOutput = exports.DeleteItemOutput = exports.Update = exports.Put = exports.Delete = exports.ConditionCheck = exports.TransactWriteItemsOutput = exports.TransactGetItemsInput = exports.ExpectedAttributeValue = exports.BatchGetItemInput = exports.TransactionCanceledException = void 0;
3
+ exports.Tag = exports.SSESpecification = exports.LocalSecondaryIndex = exports.GlobalSecondaryIndex = exports.CreateReplicationGroupMemberAction = exports.ReplicaGlobalSecondaryIndex = exports.CreateReplicaAction = exports.CreateGlobalTableOutput = exports.GlobalTableDescription = exports.ReplicaDescription = exports.TableClassSummary = exports.TableClass = exports.ReplicaGlobalSecondaryIndexDescription = exports.ProvisionedThroughputOverride = exports.CreateGlobalTableInput = exports.Replica = exports.CreateGlobalSecondaryIndexAction = exports.CreateBackupOutput = exports.CreateBackupInput = exports.ContributorInsightsSummary = exports.ContinuousBackupsDescription = exports.PointInTimeRecoveryDescription = exports.BillingModeSummary = exports.BatchStatementError = exports.BatchStatementErrorCodeEnum = exports.ConsumedCapacity = exports.Capacity = exports.BackupTypeFilter = exports.BackupSummary = exports.BackupDescription = exports.SourceTableFeatureDetails = exports.TimeToLiveDescription = exports.StreamSpecification = exports.SSEDescription = exports.LocalSecondaryIndexInfo = exports.GlobalSecondaryIndexInfo = exports.Projection = exports.SourceTableDetails = exports.ProvisionedThroughput = exports.KeySchemaElement = exports.BackupDetails = exports.BackupType = exports.AutoScalingSettingsUpdate = exports.AutoScalingSettingsDescription = exports.AutoScalingPolicyUpdate = exports.AutoScalingTargetTrackingScalingPolicyConfigurationUpdate = exports.AutoScalingPolicyDescription = exports.AutoScalingTargetTrackingScalingPolicyConfigurationDescription = exports.AttributeDefinition = exports.ArchivalSummary = void 0;
4
+ exports.KinesisStreamingDestinationInput = exports.DescribeTimeToLiveOutput = exports.DescribeTimeToLiveInput = exports.DescribeTableReplicaAutoScalingOutput = exports.TableAutoScalingDescription = exports.ReplicaAutoScalingDescription = exports.ReplicaGlobalSecondaryIndexAutoScalingDescription = exports.DescribeTableReplicaAutoScalingInput = exports.DescribeTableOutput = exports.DescribeTableInput = exports.DescribeLimitsOutput = exports.DescribeLimitsInput = exports.DescribeKinesisStreamingDestinationOutput = exports.KinesisDataStreamDestination = exports.DescribeKinesisStreamingDestinationInput = exports.DescribeGlobalTableSettingsOutput = exports.ReplicaSettingsDescription = exports.ReplicaGlobalSecondaryIndexSettingsDescription = exports.DescribeGlobalTableSettingsInput = exports.DescribeGlobalTableOutput = exports.DescribeGlobalTableInput = exports.DescribeExportOutput = exports.ExportDescription = exports.ExportStatus = exports.ExportFormat = exports.DescribeExportInput = exports.DescribeEndpointsResponse = exports.Endpoint = exports.DescribeEndpointsRequest = exports.DescribeContributorInsightsOutput = exports.FailureException = exports.DescribeContributorInsightsInput = exports.DescribeContinuousBackupsOutput = exports.DescribeContinuousBackupsInput = exports.DescribeBackupOutput = exports.DescribeBackupInput = exports.DeleteTableOutput = exports.DeleteTableInput = exports.DeleteReplicationGroupMemberAction = exports.DeleteReplicaAction = exports.DeleteGlobalSecondaryIndexAction = exports.DeleteBackupOutput = exports.DeleteBackupInput = exports.CreateTableOutput = exports.TableDescription = exports.RestoreSummary = exports.LocalSecondaryIndexDescription = exports.GlobalSecondaryIndexDescription = exports.ProvisionedThroughputDescription = exports.CreateTableInput = void 0;
5
+ exports.UpdateTimeToLiveOutput = exports.UpdateTimeToLiveInput = exports.TimeToLiveSpecification = exports.UpdateTableReplicaAutoScalingOutput = exports.UpdateTableReplicaAutoScalingInput = exports.ReplicaAutoScalingUpdate = exports.ReplicaGlobalSecondaryIndexAutoScalingUpdate = exports.GlobalSecondaryIndexAutoScalingUpdate = exports.UpdateTableOutput = exports.UpdateTableInput = exports.ReplicationGroupUpdate = exports.UpdateReplicationGroupMemberAction = exports.GlobalSecondaryIndexUpdate = exports.UpdateGlobalSecondaryIndexAction = exports.UpdateGlobalTableSettingsOutput = exports.UpdateGlobalTableSettingsInput = exports.ReplicaSettingsUpdate = exports.ReplicaGlobalSecondaryIndexSettingsUpdate = exports.GlobalTableGlobalSecondaryIndexSettingsUpdate = exports.UpdateGlobalTableOutput = exports.UpdateGlobalTableInput = exports.ReplicaUpdate = exports.UpdateContributorInsightsOutput = exports.UpdateContributorInsightsInput = exports.UpdateContinuousBackupsOutput = exports.UpdateContinuousBackupsInput = exports.PointInTimeRecoverySpecification = exports.UntagResourceInput = exports.TagResourceInput = exports.RestoreTableToPointInTimeOutput = exports.RestoreTableToPointInTimeInput = exports.RestoreTableFromBackupOutput = exports.RestoreTableFromBackupInput = exports.ListTagsOfResourceOutput = exports.ListTagsOfResourceInput = exports.ListTablesOutput = exports.ListTablesInput = exports.ListGlobalTablesOutput = exports.GlobalTable = exports.ListGlobalTablesInput = exports.ListExportsOutput = exports.ExportSummary = exports.ListExportsInput = exports.ListContributorInsightsOutput = exports.ListContributorInsightsInput = exports.ListBackupsOutput = exports.ListBackupsInput = exports.ExportTableToPointInTimeOutput = exports.ExportTableToPointInTimeInput = exports.KinesisStreamingDestinationOutput = void 0;
6
+ exports.TransactWriteItemsInput = exports.TransactWriteItem = exports.UpdateItemInput = exports.BatchWriteItemOutput = exports.QueryInput = exports.PutItemInput = exports.DeleteItemInput = exports.BatchWriteItemInput = exports.ScanInput = exports.BatchGetItemOutput = exports.WriteRequest = exports.UpdateItemOutput = exports.ScanOutput = exports.QueryOutput = exports.PutItemOutput = exports.DeleteItemOutput = exports.Update = exports.Put = exports.Delete = exports.ConditionCheck = exports.TransactWriteItemsOutput = exports.TransactGetItemsInput = exports.ExpectedAttributeValue = exports.BatchGetItemInput = exports.TransactGetItemsOutput = exports.ExecuteTransactionOutput = exports.ExecuteTransactionInput = exports.BatchExecuteStatementOutput = exports.BatchExecuteStatementInput = exports.TransactGetItem = exports.KeysAndAttributes = exports.ExecuteStatementOutput = exports.PutRequest = exports.ParameterizedStatement = exports.ItemResponse = exports.ItemCollectionMetrics = exports.GetItemOutput = exports.GetItemInput = exports.Get = exports.ExecuteStatementInput = exports.DeleteRequest = exports.Condition = exports.CancellationReason = exports.BatchStatementResponse = exports.BatchStatementRequest = exports.AttributeValueUpdate = exports.AttributeValue = void 0;
8
7
  var ArchivalSummary;
9
8
  (function (ArchivalSummary) {
10
9
  ArchivalSummary.filterSensitiveLog = (obj) => ({
@@ -131,18 +130,6 @@ var BackupDescription;
131
130
  ...obj,
132
131
  });
133
132
  })(BackupDescription = exports.BackupDescription || (exports.BackupDescription = {}));
134
- var BackupInUseException;
135
- (function (BackupInUseException) {
136
- BackupInUseException.filterSensitiveLog = (obj) => ({
137
- ...obj,
138
- });
139
- })(BackupInUseException = exports.BackupInUseException || (exports.BackupInUseException = {}));
140
- var BackupNotFoundException;
141
- (function (BackupNotFoundException) {
142
- BackupNotFoundException.filterSensitiveLog = (obj) => ({
143
- ...obj,
144
- });
145
- })(BackupNotFoundException = exports.BackupNotFoundException || (exports.BackupNotFoundException = {}));
146
133
  var BackupSummary;
147
134
  (function (BackupSummary) {
148
135
  BackupSummary.filterSensitiveLog = (obj) => ({
@@ -188,54 +175,12 @@ var BatchStatementError;
188
175
  ...obj,
189
176
  });
190
177
  })(BatchStatementError = exports.BatchStatementError || (exports.BatchStatementError = {}));
191
- var InternalServerError;
192
- (function (InternalServerError) {
193
- InternalServerError.filterSensitiveLog = (obj) => ({
194
- ...obj,
195
- });
196
- })(InternalServerError = exports.InternalServerError || (exports.InternalServerError = {}));
197
- var RequestLimitExceeded;
198
- (function (RequestLimitExceeded) {
199
- RequestLimitExceeded.filterSensitiveLog = (obj) => ({
200
- ...obj,
201
- });
202
- })(RequestLimitExceeded = exports.RequestLimitExceeded || (exports.RequestLimitExceeded = {}));
203
- var InvalidEndpointException;
204
- (function (InvalidEndpointException) {
205
- InvalidEndpointException.filterSensitiveLog = (obj) => ({
206
- ...obj,
207
- });
208
- })(InvalidEndpointException = exports.InvalidEndpointException || (exports.InvalidEndpointException = {}));
209
- var ProvisionedThroughputExceededException;
210
- (function (ProvisionedThroughputExceededException) {
211
- ProvisionedThroughputExceededException.filterSensitiveLog = (obj) => ({
212
- ...obj,
213
- });
214
- })(ProvisionedThroughputExceededException = exports.ProvisionedThroughputExceededException || (exports.ProvisionedThroughputExceededException = {}));
215
- var ResourceNotFoundException;
216
- (function (ResourceNotFoundException) {
217
- ResourceNotFoundException.filterSensitiveLog = (obj) => ({
218
- ...obj,
219
- });
220
- })(ResourceNotFoundException = exports.ResourceNotFoundException || (exports.ResourceNotFoundException = {}));
221
- var ItemCollectionSizeLimitExceededException;
222
- (function (ItemCollectionSizeLimitExceededException) {
223
- ItemCollectionSizeLimitExceededException.filterSensitiveLog = (obj) => ({
224
- ...obj,
225
- });
226
- })(ItemCollectionSizeLimitExceededException = exports.ItemCollectionSizeLimitExceededException || (exports.ItemCollectionSizeLimitExceededException = {}));
227
178
  var BillingModeSummary;
228
179
  (function (BillingModeSummary) {
229
180
  BillingModeSummary.filterSensitiveLog = (obj) => ({
230
181
  ...obj,
231
182
  });
232
183
  })(BillingModeSummary = exports.BillingModeSummary || (exports.BillingModeSummary = {}));
233
- var ConditionalCheckFailedException;
234
- (function (ConditionalCheckFailedException) {
235
- ConditionalCheckFailedException.filterSensitiveLog = (obj) => ({
236
- ...obj,
237
- });
238
- })(ConditionalCheckFailedException = exports.ConditionalCheckFailedException || (exports.ConditionalCheckFailedException = {}));
239
184
  var PointInTimeRecoveryDescription;
240
185
  (function (PointInTimeRecoveryDescription) {
241
186
  PointInTimeRecoveryDescription.filterSensitiveLog = (obj) => ({
@@ -248,12 +193,6 @@ var ContinuousBackupsDescription;
248
193
  ...obj,
249
194
  });
250
195
  })(ContinuousBackupsDescription = exports.ContinuousBackupsDescription || (exports.ContinuousBackupsDescription = {}));
251
- var ContinuousBackupsUnavailableException;
252
- (function (ContinuousBackupsUnavailableException) {
253
- ContinuousBackupsUnavailableException.filterSensitiveLog = (obj) => ({
254
- ...obj,
255
- });
256
- })(ContinuousBackupsUnavailableException = exports.ContinuousBackupsUnavailableException || (exports.ContinuousBackupsUnavailableException = {}));
257
196
  var ContributorInsightsSummary;
258
197
  (function (ContributorInsightsSummary) {
259
198
  ContributorInsightsSummary.filterSensitiveLog = (obj) => ({
@@ -272,24 +211,6 @@ var CreateBackupOutput;
272
211
  ...obj,
273
212
  });
274
213
  })(CreateBackupOutput = exports.CreateBackupOutput || (exports.CreateBackupOutput = {}));
275
- var LimitExceededException;
276
- (function (LimitExceededException) {
277
- LimitExceededException.filterSensitiveLog = (obj) => ({
278
- ...obj,
279
- });
280
- })(LimitExceededException = exports.LimitExceededException || (exports.LimitExceededException = {}));
281
- var TableInUseException;
282
- (function (TableInUseException) {
283
- TableInUseException.filterSensitiveLog = (obj) => ({
284
- ...obj,
285
- });
286
- })(TableInUseException = exports.TableInUseException || (exports.TableInUseException = {}));
287
- var TableNotFoundException;
288
- (function (TableNotFoundException) {
289
- TableNotFoundException.filterSensitiveLog = (obj) => ({
290
- ...obj,
291
- });
292
- })(TableNotFoundException = exports.TableNotFoundException || (exports.TableNotFoundException = {}));
293
214
  var CreateGlobalSecondaryIndexAction;
294
215
  (function (CreateGlobalSecondaryIndexAction) {
295
216
  CreateGlobalSecondaryIndexAction.filterSensitiveLog = (obj) => ({
@@ -320,6 +241,17 @@ var ReplicaGlobalSecondaryIndexDescription;
320
241
  ...obj,
321
242
  });
322
243
  })(ReplicaGlobalSecondaryIndexDescription = exports.ReplicaGlobalSecondaryIndexDescription || (exports.ReplicaGlobalSecondaryIndexDescription = {}));
244
+ var TableClass;
245
+ (function (TableClass) {
246
+ TableClass["STANDARD"] = "STANDARD";
247
+ TableClass["STANDARD_INFREQUENT_ACCESS"] = "STANDARD_INFREQUENT_ACCESS";
248
+ })(TableClass = exports.TableClass || (exports.TableClass = {}));
249
+ var TableClassSummary;
250
+ (function (TableClassSummary) {
251
+ TableClassSummary.filterSensitiveLog = (obj) => ({
252
+ ...obj,
253
+ });
254
+ })(TableClassSummary = exports.TableClassSummary || (exports.TableClassSummary = {}));
323
255
  var ReplicaDescription;
324
256
  (function (ReplicaDescription) {
325
257
  ReplicaDescription.filterSensitiveLog = (obj) => ({
@@ -338,12 +270,6 @@ var CreateGlobalTableOutput;
338
270
  ...obj,
339
271
  });
340
272
  })(CreateGlobalTableOutput = exports.CreateGlobalTableOutput || (exports.CreateGlobalTableOutput = {}));
341
- var GlobalTableAlreadyExistsException;
342
- (function (GlobalTableAlreadyExistsException) {
343
- GlobalTableAlreadyExistsException.filterSensitiveLog = (obj) => ({
344
- ...obj,
345
- });
346
- })(GlobalTableAlreadyExistsException = exports.GlobalTableAlreadyExistsException || (exports.GlobalTableAlreadyExistsException = {}));
347
273
  var CreateReplicaAction;
348
274
  (function (CreateReplicaAction) {
349
275
  CreateReplicaAction.filterSensitiveLog = (obj) => ({
@@ -428,12 +354,6 @@ var CreateTableOutput;
428
354
  ...obj,
429
355
  });
430
356
  })(CreateTableOutput = exports.CreateTableOutput || (exports.CreateTableOutput = {}));
431
- var ResourceInUseException;
432
- (function (ResourceInUseException) {
433
- ResourceInUseException.filterSensitiveLog = (obj) => ({
434
- ...obj,
435
- });
436
- })(ResourceInUseException = exports.ResourceInUseException || (exports.ResourceInUseException = {}));
437
357
  var DeleteBackupInput;
438
358
  (function (DeleteBackupInput) {
439
359
  DeleteBackupInput.filterSensitiveLog = (obj) => ({
@@ -452,12 +372,6 @@ var DeleteGlobalSecondaryIndexAction;
452
372
  ...obj,
453
373
  });
454
374
  })(DeleteGlobalSecondaryIndexAction = exports.DeleteGlobalSecondaryIndexAction || (exports.DeleteGlobalSecondaryIndexAction = {}));
455
- var TransactionConflictException;
456
- (function (TransactionConflictException) {
457
- TransactionConflictException.filterSensitiveLog = (obj) => ({
458
- ...obj,
459
- });
460
- })(TransactionConflictException = exports.TransactionConflictException || (exports.TransactionConflictException = {}));
461
375
  var DeleteReplicaAction;
462
376
  (function (DeleteReplicaAction) {
463
377
  DeleteReplicaAction.filterSensitiveLog = (obj) => ({
@@ -571,12 +485,6 @@ var DescribeExportOutput;
571
485
  ...obj,
572
486
  });
573
487
  })(DescribeExportOutput = exports.DescribeExportOutput || (exports.DescribeExportOutput = {}));
574
- var ExportNotFoundException;
575
- (function (ExportNotFoundException) {
576
- ExportNotFoundException.filterSensitiveLog = (obj) => ({
577
- ...obj,
578
- });
579
- })(ExportNotFoundException = exports.ExportNotFoundException || (exports.ExportNotFoundException = {}));
580
488
  var DescribeGlobalTableInput;
581
489
  (function (DescribeGlobalTableInput) {
582
490
  DescribeGlobalTableInput.filterSensitiveLog = (obj) => ({
@@ -589,12 +497,6 @@ var DescribeGlobalTableOutput;
589
497
  ...obj,
590
498
  });
591
499
  })(DescribeGlobalTableOutput = exports.DescribeGlobalTableOutput || (exports.DescribeGlobalTableOutput = {}));
592
- var GlobalTableNotFoundException;
593
- (function (GlobalTableNotFoundException) {
594
- GlobalTableNotFoundException.filterSensitiveLog = (obj) => ({
595
- ...obj,
596
- });
597
- })(GlobalTableNotFoundException = exports.GlobalTableNotFoundException || (exports.GlobalTableNotFoundException = {}));
598
500
  var DescribeGlobalTableSettingsInput;
599
501
  (function (DescribeGlobalTableSettingsInput) {
600
502
  DescribeGlobalTableSettingsInput.filterSensitiveLog = (obj) => ({
@@ -715,30 +617,6 @@ var KinesisStreamingDestinationOutput;
715
617
  ...obj,
716
618
  });
717
619
  })(KinesisStreamingDestinationOutput = exports.KinesisStreamingDestinationOutput || (exports.KinesisStreamingDestinationOutput = {}));
718
- var DuplicateItemException;
719
- (function (DuplicateItemException) {
720
- DuplicateItemException.filterSensitiveLog = (obj) => ({
721
- ...obj,
722
- });
723
- })(DuplicateItemException = exports.DuplicateItemException || (exports.DuplicateItemException = {}));
724
- var IdempotentParameterMismatchException;
725
- (function (IdempotentParameterMismatchException) {
726
- IdempotentParameterMismatchException.filterSensitiveLog = (obj) => ({
727
- ...obj,
728
- });
729
- })(IdempotentParameterMismatchException = exports.IdempotentParameterMismatchException || (exports.IdempotentParameterMismatchException = {}));
730
- var TransactionInProgressException;
731
- (function (TransactionInProgressException) {
732
- TransactionInProgressException.filterSensitiveLog = (obj) => ({
733
- ...obj,
734
- });
735
- })(TransactionInProgressException = exports.TransactionInProgressException || (exports.TransactionInProgressException = {}));
736
- var ExportConflictException;
737
- (function (ExportConflictException) {
738
- ExportConflictException.filterSensitiveLog = (obj) => ({
739
- ...obj,
740
- });
741
- })(ExportConflictException = exports.ExportConflictException || (exports.ExportConflictException = {}));
742
620
  var ExportTableToPointInTimeInput;
743
621
  (function (ExportTableToPointInTimeInput) {
744
622
  ExportTableToPointInTimeInput.filterSensitiveLog = (obj) => ({
@@ -751,18 +629,6 @@ var ExportTableToPointInTimeOutput;
751
629
  ...obj,
752
630
  });
753
631
  })(ExportTableToPointInTimeOutput = exports.ExportTableToPointInTimeOutput || (exports.ExportTableToPointInTimeOutput = {}));
754
- var InvalidExportTimeException;
755
- (function (InvalidExportTimeException) {
756
- InvalidExportTimeException.filterSensitiveLog = (obj) => ({
757
- ...obj,
758
- });
759
- })(InvalidExportTimeException = exports.InvalidExportTimeException || (exports.InvalidExportTimeException = {}));
760
- var PointInTimeRecoveryUnavailableException;
761
- (function (PointInTimeRecoveryUnavailableException) {
762
- PointInTimeRecoveryUnavailableException.filterSensitiveLog = (obj) => ({
763
- ...obj,
764
- });
765
- })(PointInTimeRecoveryUnavailableException = exports.PointInTimeRecoveryUnavailableException || (exports.PointInTimeRecoveryUnavailableException = {}));
766
632
  var ListBackupsInput;
767
633
  (function (ListBackupsInput) {
768
634
  ListBackupsInput.filterSensitiveLog = (obj) => ({
@@ -859,18 +725,6 @@ var RestoreTableFromBackupOutput;
859
725
  ...obj,
860
726
  });
861
727
  })(RestoreTableFromBackupOutput = exports.RestoreTableFromBackupOutput || (exports.RestoreTableFromBackupOutput = {}));
862
- var TableAlreadyExistsException;
863
- (function (TableAlreadyExistsException) {
864
- TableAlreadyExistsException.filterSensitiveLog = (obj) => ({
865
- ...obj,
866
- });
867
- })(TableAlreadyExistsException = exports.TableAlreadyExistsException || (exports.TableAlreadyExistsException = {}));
868
- var InvalidRestoreTimeException;
869
- (function (InvalidRestoreTimeException) {
870
- InvalidRestoreTimeException.filterSensitiveLog = (obj) => ({
871
- ...obj,
872
- });
873
- })(InvalidRestoreTimeException = exports.InvalidRestoreTimeException || (exports.InvalidRestoreTimeException = {}));
874
728
  var RestoreTableToPointInTimeInput;
875
729
  (function (RestoreTableToPointInTimeInput) {
876
730
  RestoreTableToPointInTimeInput.filterSensitiveLog = (obj) => ({
@@ -925,18 +779,6 @@ var UpdateContributorInsightsOutput;
925
779
  ...obj,
926
780
  });
927
781
  })(UpdateContributorInsightsOutput = exports.UpdateContributorInsightsOutput || (exports.UpdateContributorInsightsOutput = {}));
928
- var ReplicaAlreadyExistsException;
929
- (function (ReplicaAlreadyExistsException) {
930
- ReplicaAlreadyExistsException.filterSensitiveLog = (obj) => ({
931
- ...obj,
932
- });
933
- })(ReplicaAlreadyExistsException = exports.ReplicaAlreadyExistsException || (exports.ReplicaAlreadyExistsException = {}));
934
- var ReplicaNotFoundException;
935
- (function (ReplicaNotFoundException) {
936
- ReplicaNotFoundException.filterSensitiveLog = (obj) => ({
937
- ...obj,
938
- });
939
- })(ReplicaNotFoundException = exports.ReplicaNotFoundException || (exports.ReplicaNotFoundException = {}));
940
782
  var ReplicaUpdate;
941
783
  (function (ReplicaUpdate) {
942
784
  ReplicaUpdate.filterSensitiveLog = (obj) => ({
@@ -955,12 +797,6 @@ var UpdateGlobalTableOutput;
955
797
  ...obj,
956
798
  });
957
799
  })(UpdateGlobalTableOutput = exports.UpdateGlobalTableOutput || (exports.UpdateGlobalTableOutput = {}));
958
- var IndexNotFoundException;
959
- (function (IndexNotFoundException) {
960
- IndexNotFoundException.filterSensitiveLog = (obj) => ({
961
- ...obj,
962
- });
963
- })(IndexNotFoundException = exports.IndexNotFoundException || (exports.IndexNotFoundException = {}));
964
800
  var GlobalTableGlobalSecondaryIndexSettingsUpdate;
965
801
  (function (GlobalTableGlobalSecondaryIndexSettingsUpdate) {
966
802
  GlobalTableGlobalSecondaryIndexSettingsUpdate.filterSensitiveLog = (obj) => ({
@@ -1343,15 +1179,6 @@ var TransactGetItemsOutput;
1343
1179
  ...(obj.Responses && { Responses: obj.Responses.map((item) => ItemResponse.filterSensitiveLog(item)) }),
1344
1180
  });
1345
1181
  })(TransactGetItemsOutput = exports.TransactGetItemsOutput || (exports.TransactGetItemsOutput = {}));
1346
- var TransactionCanceledException;
1347
- (function (TransactionCanceledException) {
1348
- TransactionCanceledException.filterSensitiveLog = (obj) => ({
1349
- ...obj,
1350
- ...(obj.CancellationReasons && {
1351
- CancellationReasons: obj.CancellationReasons.map((item) => CancellationReason.filterSensitiveLog(item)),
1352
- }),
1353
- });
1354
- })(TransactionCanceledException = exports.TransactionCanceledException || (exports.TransactionCanceledException = {}));
1355
1182
  var BatchGetItemInput;
1356
1183
  (function (BatchGetItemInput) {
1357
1184
  BatchGetItemInput.filterSensitiveLog = (obj) => ({
@@ -4826,6 +4826,8 @@ const serializeAws_json1_0CreateReplicationGroupMemberAction = (input, context)
4826
4826
  ProvisionedThroughputOverride: serializeAws_json1_0ProvisionedThroughputOverride(input.ProvisionedThroughputOverride, context),
4827
4827
  }),
4828
4828
  ...(input.RegionName !== undefined && input.RegionName !== null && { RegionName: input.RegionName }),
4829
+ ...(input.TableClassOverride !== undefined &&
4830
+ input.TableClassOverride !== null && { TableClassOverride: input.TableClassOverride }),
4829
4831
  };
4830
4832
  };
4831
4833
  const serializeAws_json1_0CreateTableInput = (input, context) => {
@@ -4857,6 +4859,7 @@ const serializeAws_json1_0CreateTableInput = (input, context) => {
4857
4859
  input.StreamSpecification !== null && {
4858
4860
  StreamSpecification: serializeAws_json1_0StreamSpecification(input.StreamSpecification, context),
4859
4861
  }),
4862
+ ...(input.TableClass !== undefined && input.TableClass !== null && { TableClass: input.TableClass }),
4860
4863
  ...(input.TableName !== undefined && input.TableName !== null && { TableName: input.TableName }),
4861
4864
  ...(input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_0TagList(input.Tags, context) }),
4862
4865
  };
@@ -5689,6 +5692,8 @@ const serializeAws_json1_0ReplicaSettingsUpdate = (input, context) => {
5689
5692
  input.ReplicaProvisionedReadCapacityUnits !== null && {
5690
5693
  ReplicaProvisionedReadCapacityUnits: input.ReplicaProvisionedReadCapacityUnits,
5691
5694
  }),
5695
+ ...(input.ReplicaTableClass !== undefined &&
5696
+ input.ReplicaTableClass !== null && { ReplicaTableClass: input.ReplicaTableClass }),
5692
5697
  };
5693
5698
  };
5694
5699
  const serializeAws_json1_0ReplicaSettingsUpdateList = (input, context) => {
@@ -6098,6 +6103,8 @@ const serializeAws_json1_0UpdateReplicationGroupMemberAction = (input, context)
6098
6103
  ProvisionedThroughputOverride: serializeAws_json1_0ProvisionedThroughputOverride(input.ProvisionedThroughputOverride, context),
6099
6104
  }),
6100
6105
  ...(input.RegionName !== undefined && input.RegionName !== null && { RegionName: input.RegionName }),
6106
+ ...(input.TableClassOverride !== undefined &&
6107
+ input.TableClassOverride !== null && { TableClassOverride: input.TableClassOverride }),
6101
6108
  };
6102
6109
  };
6103
6110
  const serializeAws_json1_0UpdateTableInput = (input, context) => {
@@ -6127,6 +6134,7 @@ const serializeAws_json1_0UpdateTableInput = (input, context) => {
6127
6134
  input.StreamSpecification !== null && {
6128
6135
  StreamSpecification: serializeAws_json1_0StreamSpecification(input.StreamSpecification, context),
6129
6136
  }),
6137
+ ...(input.TableClass !== undefined && input.TableClass !== null && { TableClass: input.TableClass }),
6130
6138
  ...(input.TableName !== undefined && input.TableName !== null && { TableName: input.TableName }),
6131
6139
  };
6132
6140
  };
@@ -7438,6 +7446,9 @@ const deserializeAws_json1_0ReplicaDescription = (output, context) => {
7438
7446
  ReplicaStatus: smithy_client_1.expectString(output.ReplicaStatus),
7439
7447
  ReplicaStatusDescription: smithy_client_1.expectString(output.ReplicaStatusDescription),
7440
7448
  ReplicaStatusPercentProgress: smithy_client_1.expectString(output.ReplicaStatusPercentProgress),
7449
+ ReplicaTableClassSummary: output.ReplicaTableClassSummary !== undefined && output.ReplicaTableClassSummary !== null
7450
+ ? deserializeAws_json1_0TableClassSummary(output.ReplicaTableClassSummary, context)
7451
+ : undefined,
7441
7452
  };
7442
7453
  };
7443
7454
  const deserializeAws_json1_0ReplicaDescriptionList = (output, context) => {
@@ -7553,6 +7564,9 @@ const deserializeAws_json1_0ReplicaSettingsDescription = (output, context) => {
7553
7564
  : undefined,
7554
7565
  ReplicaProvisionedWriteCapacityUnits: smithy_client_1.expectLong(output.ReplicaProvisionedWriteCapacityUnits),
7555
7566
  ReplicaStatus: smithy_client_1.expectString(output.ReplicaStatus),
7567
+ ReplicaTableClassSummary: output.ReplicaTableClassSummary !== undefined && output.ReplicaTableClassSummary !== null
7568
+ ? deserializeAws_json1_0TableClassSummary(output.ReplicaTableClassSummary, context)
7569
+ : undefined,
7556
7570
  };
7557
7571
  };
7558
7572
  const deserializeAws_json1_0ReplicaSettingsDescriptionList = (output, context) => {
@@ -7708,6 +7722,14 @@ const deserializeAws_json1_0TableAutoScalingDescription = (output, context) => {
7708
7722
  TableStatus: smithy_client_1.expectString(output.TableStatus),
7709
7723
  };
7710
7724
  };
7725
+ const deserializeAws_json1_0TableClassSummary = (output, context) => {
7726
+ return {
7727
+ LastUpdateDateTime: output.LastUpdateDateTime !== undefined && output.LastUpdateDateTime !== null
7728
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastUpdateDateTime)))
7729
+ : undefined,
7730
+ TableClass: smithy_client_1.expectString(output.TableClass),
7731
+ };
7732
+ };
7711
7733
  const deserializeAws_json1_0TableDescription = (output, context) => {
7712
7734
  return {
7713
7735
  ArchivalSummary: output.ArchivalSummary !== undefined && output.ArchivalSummary !== null
@@ -7751,6 +7773,9 @@ const deserializeAws_json1_0TableDescription = (output, context) => {
7751
7773
  ? deserializeAws_json1_0StreamSpecification(output.StreamSpecification, context)
7752
7774
  : undefined,
7753
7775
  TableArn: smithy_client_1.expectString(output.TableArn),
7776
+ TableClassSummary: output.TableClassSummary !== undefined && output.TableClassSummary !== null
7777
+ ? deserializeAws_json1_0TableClassSummary(output.TableClassSummary, context)
7778
+ : undefined,
7754
7779
  TableId: smithy_client_1.expectString(output.TableId),
7755
7780
  TableName: smithy_client_1.expectString(output.TableName),
7756
7781
  TableSizeBytes: smithy_client_1.expectLong(output.TableSizeBytes),
@@ -13,13 +13,18 @@ const util_body_length_browser_1 = require("@aws-sdk/util-body-length-browser");
13
13
  const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
14
14
  const util_utf8_browser_1 = require("@aws-sdk/util-utf8-browser");
15
15
  const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
16
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
17
+ const util_defaults_mode_browser_1 = require("@aws-sdk/util-defaults-mode-browser");
16
18
  const getRuntimeConfig = (config) => {
17
19
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r;
20
+ const defaultsMode = util_defaults_mode_browser_1.resolveDefaultsModeConfig(config);
21
+ const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
18
22
  const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
19
23
  return {
20
24
  ...clientSharedValues,
21
25
  ...config,
22
26
  runtime: "browser",
27
+ defaultsMode,
23
28
  base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : util_base64_browser_1.fromBase64,
24
29
  base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_browser_1.toBase64,
25
30
  bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_browser_1.calculateBodyLength,
@@ -28,8 +33,8 @@ const getRuntimeConfig = (config) => {
28
33
  endpointDiscoveryEnabledProvider: (_f = config === null || config === void 0 ? void 0 : config.endpointDiscoveryEnabledProvider) !== null && _f !== void 0 ? _f : (() => Promise.resolve(undefined)),
29
34
  maxAttempts: (_g = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _g !== void 0 ? _g : middleware_retry_1.DEFAULT_MAX_ATTEMPTS,
30
35
  region: (_h = config === null || config === void 0 ? void 0 : config.region) !== null && _h !== void 0 ? _h : invalid_dependency_1.invalidProvider("Region is missing"),
31
- requestHandler: (_j = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _j !== void 0 ? _j : new fetch_http_handler_1.FetchHttpHandler(),
32
- retryMode: (_k = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _k !== void 0 ? _k : (() => Promise.resolve(middleware_retry_1.DEFAULT_RETRY_MODE)),
36
+ requestHandler: (_j = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _j !== void 0 ? _j : new fetch_http_handler_1.FetchHttpHandler(defaultConfigProvider),
37
+ retryMode: (_k = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _k !== void 0 ? _k : (async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE),
33
38
  sha256: (_l = config === null || config === void 0 ? void 0 : config.sha256) !== null && _l !== void 0 ? _l : sha256_browser_1.Sha256,
34
39
  streamCollector: (_m = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _m !== void 0 ? _m : fetch_http_handler_1.streamCollector,
35
40
  useDualstackEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _o !== void 0 ? _o : (() => Promise.resolve(config_resolver_1.DEFAULT_USE_DUALSTACK_ENDPOINT)),
@@ -17,14 +17,17 @@ const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
17
17
  const util_utf8_node_1 = require("@aws-sdk/util-utf8-node");
18
18
  const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
19
19
  const smithy_client_1 = require("@aws-sdk/smithy-client");
20
+ const util_defaults_mode_node_1 = require("@aws-sdk/util-defaults-mode-node");
20
21
  const getRuntimeConfig = (config) => {
21
22
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r;
22
- smithy_client_1.emitWarningIfUnsupportedVersion(process.version);
23
+ const defaultsMode = util_defaults_mode_node_1.resolveDefaultsModeConfig(config);
24
+ const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
23
25
  const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
24
26
  return {
25
27
  ...clientSharedValues,
26
28
  ...config,
27
29
  runtime: "node",
30
+ defaultsMode,
28
31
  base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : util_base64_node_1.fromBase64,
29
32
  base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_node_1.toBase64,
30
33
  bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_node_1.calculateBodyLength,
@@ -33,8 +36,11 @@ const getRuntimeConfig = (config) => {
33
36
  endpointDiscoveryEnabledProvider: (_f = config === null || config === void 0 ? void 0 : config.endpointDiscoveryEnabledProvider) !== null && _f !== void 0 ? _f : node_config_provider_1.loadConfig(middleware_endpoint_discovery_1.NODE_ENDPOINT_DISCOVERY_CONFIG_OPTIONS),
34
37
  maxAttempts: (_g = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _g !== void 0 ? _g : node_config_provider_1.loadConfig(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
35
38
  region: (_h = config === null || config === void 0 ? void 0 : config.region) !== null && _h !== void 0 ? _h : node_config_provider_1.loadConfig(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS),
36
- requestHandler: (_j = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _j !== void 0 ? _j : new node_http_handler_1.NodeHttpHandler(),
37
- retryMode: (_k = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _k !== void 0 ? _k : node_config_provider_1.loadConfig(middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS),
39
+ requestHandler: (_j = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _j !== void 0 ? _j : new node_http_handler_1.NodeHttpHandler(defaultConfigProvider),
40
+ retryMode: (_k = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _k !== void 0 ? _k : node_config_provider_1.loadConfig({
41
+ ...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
42
+ default: async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE,
43
+ }),
38
44
  sha256: (_l = config === null || config === void 0 ? void 0 : config.sha256) !== null && _l !== void 0 ? _l : hash_node_1.Hash.bind(null, "sha256"),
39
45
  streamCollector: (_m = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _m !== void 0 ? _m : node_http_handler_1.streamCollector,
40
46
  useDualstackEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _o !== void 0 ? _o : node_config_provider_1.loadConfig(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),