@aws-sdk/client-dynamodb 3.41.0 → 3.45.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,50 @@
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.45.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.44.0...v3.45.0) (2021-12-23)
7
+
8
+
9
+ ### Features
10
+
11
+ * **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))
12
+
13
+
14
+
15
+
16
+
17
+ # [3.44.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.43.0...v3.44.0) (2021-12-02)
18
+
19
+
20
+ ### Features
21
+
22
+ * **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))
23
+
24
+
25
+
26
+
27
+
28
+ # [3.43.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.42.0...v3.43.0) (2021-11-29)
29
+
30
+
31
+ ### Features
32
+
33
+ * **clients:** update clients as of 11/28/2021 ([#3072](https://github.com/aws/aws-sdk-js-v3/issues/3072)) ([2ad1622](https://github.com/aws/aws-sdk-js-v3/commit/2ad1622ba8586b926fe508055211803bb29e3976))
34
+
35
+
36
+
37
+
38
+
39
+ # [3.42.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.41.0...v3.42.0) (2021-11-19)
40
+
41
+
42
+ ### Bug Fixes
43
+
44
+ * **clients:** merge default variants by comparing tags ([#3044](https://github.com/aws/aws-sdk-js-v3/issues/3044)) ([d65a310](https://github.com/aws/aws-sdk-js-v3/commit/d65a310ed5a471e72633a18ae6f3c98390e20783))
45
+
46
+
47
+
48
+
49
+
6
50
  # [3.41.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.40.1...v3.41.0) (2021-11-11)
7
51
 
8
52
 
@@ -108,6 +108,7 @@ const partitionHash = {
108
108
  "ap-south-1",
109
109
  "ap-southeast-1",
110
110
  "ap-southeast-2",
111
+ "ap-southeast-3",
111
112
  "ca-central-1",
112
113
  "ca-central-1-fips",
113
114
  "eu-central-1",
@@ -210,6 +211,14 @@ const partitionHash = {
210
211
  hostname: "dynamodb.{region}.amazonaws.com",
211
212
  tags: ["fips"],
212
213
  },
214
+ {
215
+ hostname: "dynamodb-fips.{region}.api.aws",
216
+ tags: ["dualstack", "fips"],
217
+ },
218
+ {
219
+ hostname: "dynamodb.{region}.api.aws",
220
+ tags: ["dualstack"],
221
+ },
213
222
  ],
214
223
  },
215
224
  };
@@ -1,10 +1,10 @@
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.ConsumedCapacity = exports.Capacity = exports.RequestLimitExceeded = exports.InternalServerError = exports.BatchStatementError = exports.BatchStatementErrorCodeEnum = 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.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.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.TableClassSummary = exports.TableClass = exports.ReplicaGlobalSecondaryIndexDescription = void 0;
5
+ 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 = exports.ReplicaSettingsDescription = exports.ReplicaGlobalSecondaryIndexSettingsDescription = void 0;
6
+ 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 = exports.UpdateContinuousBackupsOutput = exports.UpdateContinuousBackupsInput = 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 = exports.TransactGetItemsOutput = exports.ExecuteTransactionOutput = void 0;
8
8
  var ArchivalSummary;
9
9
  (function (ArchivalSummary) {
10
10
  ArchivalSummary.filterSensitiveLog = (obj) => ({
@@ -156,6 +156,18 @@ var BackupTypeFilter;
156
156
  BackupTypeFilter["SYSTEM"] = "SYSTEM";
157
157
  BackupTypeFilter["USER"] = "USER";
158
158
  })(BackupTypeFilter = exports.BackupTypeFilter || (exports.BackupTypeFilter = {}));
159
+ var Capacity;
160
+ (function (Capacity) {
161
+ Capacity.filterSensitiveLog = (obj) => ({
162
+ ...obj,
163
+ });
164
+ })(Capacity = exports.Capacity || (exports.Capacity = {}));
165
+ var ConsumedCapacity;
166
+ (function (ConsumedCapacity) {
167
+ ConsumedCapacity.filterSensitiveLog = (obj) => ({
168
+ ...obj,
169
+ });
170
+ })(ConsumedCapacity = exports.ConsumedCapacity || (exports.ConsumedCapacity = {}));
159
171
  var BatchStatementErrorCodeEnum;
160
172
  (function (BatchStatementErrorCodeEnum) {
161
173
  BatchStatementErrorCodeEnum["AccessDenied"] = "AccessDenied";
@@ -188,18 +200,6 @@ var RequestLimitExceeded;
188
200
  ...obj,
189
201
  });
190
202
  })(RequestLimitExceeded = exports.RequestLimitExceeded || (exports.RequestLimitExceeded = {}));
191
- var Capacity;
192
- (function (Capacity) {
193
- Capacity.filterSensitiveLog = (obj) => ({
194
- ...obj,
195
- });
196
- })(Capacity = exports.Capacity || (exports.Capacity = {}));
197
- var ConsumedCapacity;
198
- (function (ConsumedCapacity) {
199
- ConsumedCapacity.filterSensitiveLog = (obj) => ({
200
- ...obj,
201
- });
202
- })(ConsumedCapacity = exports.ConsumedCapacity || (exports.ConsumedCapacity = {}));
203
203
  var InvalidEndpointException;
204
204
  (function (InvalidEndpointException) {
205
205
  InvalidEndpointException.filterSensitiveLog = (obj) => ({
@@ -320,6 +320,17 @@ var ReplicaGlobalSecondaryIndexDescription;
320
320
  ...obj,
321
321
  });
322
322
  })(ReplicaGlobalSecondaryIndexDescription = exports.ReplicaGlobalSecondaryIndexDescription || (exports.ReplicaGlobalSecondaryIndexDescription = {}));
323
+ var TableClass;
324
+ (function (TableClass) {
325
+ TableClass["STANDARD"] = "STANDARD";
326
+ TableClass["STANDARD_INFREQUENT_ACCESS"] = "STANDARD_INFREQUENT_ACCESS";
327
+ })(TableClass = exports.TableClass || (exports.TableClass = {}));
328
+ var TableClassSummary;
329
+ (function (TableClassSummary) {
330
+ TableClassSummary.filterSensitiveLog = (obj) => ({
331
+ ...obj,
332
+ });
333
+ })(TableClassSummary = exports.TableClassSummary || (exports.TableClassSummary = {}));
323
334
  var ReplicaDescription;
324
335
  (function (ReplicaDescription) {
325
336
  ReplicaDescription.filterSensitiveLog = (obj) => ({
@@ -4678,6 +4678,8 @@ const serializeAws_json1_0AutoScalingTargetTrackingScalingPolicyConfigurationUpd
4678
4678
  };
4679
4679
  const serializeAws_json1_0BatchExecuteStatementInput = (input, context) => {
4680
4680
  return {
4681
+ ...(input.ReturnConsumedCapacity !== undefined &&
4682
+ input.ReturnConsumedCapacity !== null && { ReturnConsumedCapacity: input.ReturnConsumedCapacity }),
4681
4683
  ...(input.Statements !== undefined &&
4682
4684
  input.Statements !== null && { Statements: serializeAws_json1_0PartiQLBatchRequest(input.Statements, context) }),
4683
4685
  };
@@ -4824,6 +4826,8 @@ const serializeAws_json1_0CreateReplicationGroupMemberAction = (input, context)
4824
4826
  ProvisionedThroughputOverride: serializeAws_json1_0ProvisionedThroughputOverride(input.ProvisionedThroughputOverride, context),
4825
4827
  }),
4826
4828
  ...(input.RegionName !== undefined && input.RegionName !== null && { RegionName: input.RegionName }),
4829
+ ...(input.TableClassOverride !== undefined &&
4830
+ input.TableClassOverride !== null && { TableClassOverride: input.TableClassOverride }),
4827
4831
  };
4828
4832
  };
4829
4833
  const serializeAws_json1_0CreateTableInput = (input, context) => {
@@ -4855,6 +4859,7 @@ const serializeAws_json1_0CreateTableInput = (input, context) => {
4855
4859
  input.StreamSpecification !== null && {
4856
4860
  StreamSpecification: serializeAws_json1_0StreamSpecification(input.StreamSpecification, context),
4857
4861
  }),
4862
+ ...(input.TableClass !== undefined && input.TableClass !== null && { TableClass: input.TableClass }),
4858
4863
  ...(input.TableName !== undefined && input.TableName !== null && { TableName: input.TableName }),
4859
4864
  ...(input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_0TagList(input.Tags, context) }),
4860
4865
  };
@@ -5002,6 +5007,8 @@ const serializeAws_json1_0ExecuteStatementInput = (input, context) => {
5002
5007
  input.Parameters !== null && {
5003
5008
  Parameters: serializeAws_json1_0PreparedStatementParameters(input.Parameters, context),
5004
5009
  }),
5010
+ ...(input.ReturnConsumedCapacity !== undefined &&
5011
+ input.ReturnConsumedCapacity !== null && { ReturnConsumedCapacity: input.ReturnConsumedCapacity }),
5005
5012
  ...(input.Statement !== undefined && input.Statement !== null && { Statement: input.Statement }),
5006
5013
  };
5007
5014
  };
@@ -5009,6 +5016,8 @@ const serializeAws_json1_0ExecuteTransactionInput = (input, context) => {
5009
5016
  var _a;
5010
5017
  return {
5011
5018
  ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
5019
+ ...(input.ReturnConsumedCapacity !== undefined &&
5020
+ input.ReturnConsumedCapacity !== null && { ReturnConsumedCapacity: input.ReturnConsumedCapacity }),
5012
5021
  ...(input.TransactStatements !== undefined &&
5013
5022
  input.TransactStatements !== null && {
5014
5023
  TransactStatements: serializeAws_json1_0ParameterizedStatements(input.TransactStatements, context),
@@ -5683,6 +5692,8 @@ const serializeAws_json1_0ReplicaSettingsUpdate = (input, context) => {
5683
5692
  input.ReplicaProvisionedReadCapacityUnits !== null && {
5684
5693
  ReplicaProvisionedReadCapacityUnits: input.ReplicaProvisionedReadCapacityUnits,
5685
5694
  }),
5695
+ ...(input.ReplicaTableClass !== undefined &&
5696
+ input.ReplicaTableClass !== null && { ReplicaTableClass: input.ReplicaTableClass }),
5686
5697
  };
5687
5698
  };
5688
5699
  const serializeAws_json1_0ReplicaSettingsUpdateList = (input, context) => {
@@ -6092,6 +6103,8 @@ const serializeAws_json1_0UpdateReplicationGroupMemberAction = (input, context)
6092
6103
  ProvisionedThroughputOverride: serializeAws_json1_0ProvisionedThroughputOverride(input.ProvisionedThroughputOverride, context),
6093
6104
  }),
6094
6105
  ...(input.RegionName !== undefined && input.RegionName !== null && { RegionName: input.RegionName }),
6106
+ ...(input.TableClassOverride !== undefined &&
6107
+ input.TableClassOverride !== null && { TableClassOverride: input.TableClassOverride }),
6095
6108
  };
6096
6109
  };
6097
6110
  const serializeAws_json1_0UpdateTableInput = (input, context) => {
@@ -6121,6 +6134,7 @@ const serializeAws_json1_0UpdateTableInput = (input, context) => {
6121
6134
  input.StreamSpecification !== null && {
6122
6135
  StreamSpecification: serializeAws_json1_0StreamSpecification(input.StreamSpecification, context),
6123
6136
  }),
6137
+ ...(input.TableClass !== undefined && input.TableClass !== null && { TableClass: input.TableClass }),
6124
6138
  ...(input.TableName !== undefined && input.TableName !== null && { TableName: input.TableName }),
6125
6139
  };
6126
6140
  };
@@ -6367,6 +6381,9 @@ const deserializeAws_json1_0BackupSummary = (output, context) => {
6367
6381
  };
6368
6382
  const deserializeAws_json1_0BatchExecuteStatementOutput = (output, context) => {
6369
6383
  return {
6384
+ ConsumedCapacity: output.ConsumedCapacity !== undefined && output.ConsumedCapacity !== null
6385
+ ? deserializeAws_json1_0ConsumedCapacityMultiple(output.ConsumedCapacity, context)
6386
+ : undefined,
6370
6387
  Responses: output.Responses !== undefined && output.Responses !== null
6371
6388
  ? deserializeAws_json1_0PartiQLBatchResponse(output.Responses, context)
6372
6389
  : undefined,
@@ -6736,6 +6753,9 @@ const deserializeAws_json1_0Endpoints = (output, context) => {
6736
6753
  };
6737
6754
  const deserializeAws_json1_0ExecuteStatementOutput = (output, context) => {
6738
6755
  return {
6756
+ ConsumedCapacity: output.ConsumedCapacity !== undefined && output.ConsumedCapacity !== null
6757
+ ? deserializeAws_json1_0ConsumedCapacity(output.ConsumedCapacity, context)
6758
+ : undefined,
6739
6759
  Items: output.Items !== undefined && output.Items !== null
6740
6760
  ? deserializeAws_json1_0ItemList(output.Items, context)
6741
6761
  : undefined,
@@ -6744,6 +6764,9 @@ const deserializeAws_json1_0ExecuteStatementOutput = (output, context) => {
6744
6764
  };
6745
6765
  const deserializeAws_json1_0ExecuteTransactionOutput = (output, context) => {
6746
6766
  return {
6767
+ ConsumedCapacity: output.ConsumedCapacity !== undefined && output.ConsumedCapacity !== null
6768
+ ? deserializeAws_json1_0ConsumedCapacityMultiple(output.ConsumedCapacity, context)
6769
+ : undefined,
6747
6770
  Responses: output.Responses !== undefined && output.Responses !== null
6748
6771
  ? deserializeAws_json1_0ItemResponseList(output.Responses, context)
6749
6772
  : undefined,
@@ -7423,6 +7446,9 @@ const deserializeAws_json1_0ReplicaDescription = (output, context) => {
7423
7446
  ReplicaStatus: smithy_client_1.expectString(output.ReplicaStatus),
7424
7447
  ReplicaStatusDescription: smithy_client_1.expectString(output.ReplicaStatusDescription),
7425
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,
7426
7452
  };
7427
7453
  };
7428
7454
  const deserializeAws_json1_0ReplicaDescriptionList = (output, context) => {
@@ -7538,6 +7564,9 @@ const deserializeAws_json1_0ReplicaSettingsDescription = (output, context) => {
7538
7564
  : undefined,
7539
7565
  ReplicaProvisionedWriteCapacityUnits: smithy_client_1.expectLong(output.ReplicaProvisionedWriteCapacityUnits),
7540
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,
7541
7570
  };
7542
7571
  };
7543
7572
  const deserializeAws_json1_0ReplicaSettingsDescriptionList = (output, context) => {
@@ -7693,6 +7722,14 @@ const deserializeAws_json1_0TableAutoScalingDescription = (output, context) => {
7693
7722
  TableStatus: smithy_client_1.expectString(output.TableStatus),
7694
7723
  };
7695
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
+ };
7696
7733
  const deserializeAws_json1_0TableDescription = (output, context) => {
7697
7734
  return {
7698
7735
  ArchivalSummary: output.ArchivalSummary !== undefined && output.ArchivalSummary !== null
@@ -7736,6 +7773,9 @@ const deserializeAws_json1_0TableDescription = (output, context) => {
7736
7773
  ? deserializeAws_json1_0StreamSpecification(output.StreamSpecification, context)
7737
7774
  : undefined,
7738
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,
7739
7779
  TableId: smithy_client_1.expectString(output.TableId),
7740
7780
  TableName: smithy_client_1.expectString(output.TableName),
7741
7781
  TableSizeBytes: smithy_client_1.expectLong(output.TableSizeBytes),
@@ -106,6 +106,7 @@ var partitionHash = {
106
106
  "ap-south-1",
107
107
  "ap-southeast-1",
108
108
  "ap-southeast-2",
109
+ "ap-southeast-3",
109
110
  "ca-central-1",
110
111
  "ca-central-1-fips",
111
112
  "eu-central-1",
@@ -208,6 +209,14 @@ var partitionHash = {
208
209
  hostname: "dynamodb.{region}.amazonaws.com",
209
210
  tags: ["fips"],
210
211
  },
212
+ {
213
+ hostname: "dynamodb-fips.{region}.api.aws",
214
+ tags: ["dualstack", "fips"],
215
+ },
216
+ {
217
+ hostname: "dynamodb.{region}.api.aws",
218
+ tags: ["dualstack"],
219
+ },
211
220
  ],
212
221
  },
213
222
  };
@@ -104,6 +104,14 @@ export var BackupTypeFilter;
104
104
  BackupTypeFilter["SYSTEM"] = "SYSTEM";
105
105
  BackupTypeFilter["USER"] = "USER";
106
106
  })(BackupTypeFilter || (BackupTypeFilter = {}));
107
+ export var Capacity;
108
+ (function (Capacity) {
109
+ Capacity.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
110
+ })(Capacity || (Capacity = {}));
111
+ export var ConsumedCapacity;
112
+ (function (ConsumedCapacity) {
113
+ ConsumedCapacity.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
114
+ })(ConsumedCapacity || (ConsumedCapacity = {}));
107
115
  export var BatchStatementErrorCodeEnum;
108
116
  (function (BatchStatementErrorCodeEnum) {
109
117
  BatchStatementErrorCodeEnum["AccessDenied"] = "AccessDenied";
@@ -130,14 +138,6 @@ export var RequestLimitExceeded;
130
138
  (function (RequestLimitExceeded) {
131
139
  RequestLimitExceeded.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
132
140
  })(RequestLimitExceeded || (RequestLimitExceeded = {}));
133
- export var Capacity;
134
- (function (Capacity) {
135
- Capacity.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
136
- })(Capacity || (Capacity = {}));
137
- export var ConsumedCapacity;
138
- (function (ConsumedCapacity) {
139
- ConsumedCapacity.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
140
- })(ConsumedCapacity || (ConsumedCapacity = {}));
141
141
  export var InvalidEndpointException;
142
142
  (function (InvalidEndpointException) {
143
143
  InvalidEndpointException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -218,6 +218,15 @@ export var ReplicaGlobalSecondaryIndexDescription;
218
218
  (function (ReplicaGlobalSecondaryIndexDescription) {
219
219
  ReplicaGlobalSecondaryIndexDescription.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
220
220
  })(ReplicaGlobalSecondaryIndexDescription || (ReplicaGlobalSecondaryIndexDescription = {}));
221
+ export var TableClass;
222
+ (function (TableClass) {
223
+ TableClass["STANDARD"] = "STANDARD";
224
+ TableClass["STANDARD_INFREQUENT_ACCESS"] = "STANDARD_INFREQUENT_ACCESS";
225
+ })(TableClass || (TableClass = {}));
226
+ export var TableClassSummary;
227
+ (function (TableClassSummary) {
228
+ TableClassSummary.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
229
+ })(TableClassSummary || (TableClassSummary = {}));
221
230
  export var ReplicaDescription;
222
231
  (function (ReplicaDescription) {
223
232
  ReplicaDescription.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -5095,7 +5095,8 @@ var serializeAws_json1_0AutoScalingTargetTrackingScalingPolicyConfigurationUpdat
5095
5095
  input.TargetValue !== null && { TargetValue: __serializeFloat(input.TargetValue) }));
5096
5096
  };
5097
5097
  var serializeAws_json1_0BatchExecuteStatementInput = function (input, context) {
5098
- return __assign({}, (input.Statements !== undefined &&
5098
+ return __assign(__assign({}, (input.ReturnConsumedCapacity !== undefined &&
5099
+ input.ReturnConsumedCapacity !== null && { ReturnConsumedCapacity: input.ReturnConsumedCapacity })), (input.Statements !== undefined &&
5099
5100
  input.Statements !== null && { Statements: serializeAws_json1_0PartiQLBatchRequest(input.Statements, context) }));
5100
5101
  };
5101
5102
  var serializeAws_json1_0BatchGetItemInput = function (input, context) {
@@ -5192,17 +5193,18 @@ var serializeAws_json1_0CreateReplicaAction = function (input, context) {
5192
5193
  return __assign({}, (input.RegionName !== undefined && input.RegionName !== null && { RegionName: input.RegionName }));
5193
5194
  };
5194
5195
  var serializeAws_json1_0CreateReplicationGroupMemberAction = function (input, context) {
5195
- return __assign(__assign(__assign(__assign({}, (input.GlobalSecondaryIndexes !== undefined &&
5196
+ return __assign(__assign(__assign(__assign(__assign({}, (input.GlobalSecondaryIndexes !== undefined &&
5196
5197
  input.GlobalSecondaryIndexes !== null && {
5197
5198
  GlobalSecondaryIndexes: serializeAws_json1_0ReplicaGlobalSecondaryIndexList(input.GlobalSecondaryIndexes, context),
5198
5199
  })), (input.KMSMasterKeyId !== undefined &&
5199
5200
  input.KMSMasterKeyId !== null && { KMSMasterKeyId: input.KMSMasterKeyId })), (input.ProvisionedThroughputOverride !== undefined &&
5200
5201
  input.ProvisionedThroughputOverride !== null && {
5201
5202
  ProvisionedThroughputOverride: serializeAws_json1_0ProvisionedThroughputOverride(input.ProvisionedThroughputOverride, context),
5202
- })), (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 }));
5203
5205
  };
5204
5206
  var serializeAws_json1_0CreateTableInput = function (input, context) {
5205
- 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 &&
5206
5208
  input.AttributeDefinitions !== null && {
5207
5209
  AttributeDefinitions: serializeAws_json1_0AttributeDefinitions(input.AttributeDefinitions, context),
5208
5210
  })), (input.BillingMode !== undefined && input.BillingMode !== null && { BillingMode: input.BillingMode })), (input.GlobalSecondaryIndexes !== undefined &&
@@ -5221,7 +5223,7 @@ var serializeAws_json1_0CreateTableInput = function (input, context) {
5221
5223
  })), (input.StreamSpecification !== undefined &&
5222
5224
  input.StreamSpecification !== null && {
5223
5225
  StreamSpecification: serializeAws_json1_0StreamSpecification(input.StreamSpecification, context),
5224
- })), (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) }));
5225
5227
  };
5226
5228
  var serializeAws_json1_0Delete = function (input, context) {
5227
5229
  return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.ConditionExpression !== undefined &&
@@ -5307,15 +5309,17 @@ var serializeAws_json1_0DescribeTimeToLiveInput = function (input, context) {
5307
5309
  return __assign({}, (input.TableName !== undefined && input.TableName !== null && { TableName: input.TableName }));
5308
5310
  };
5309
5311
  var serializeAws_json1_0ExecuteStatementInput = function (input, context) {
5310
- return __assign(__assign(__assign(__assign({}, (input.ConsistentRead !== undefined &&
5312
+ return __assign(__assign(__assign(__assign(__assign({}, (input.ConsistentRead !== undefined &&
5311
5313
  input.ConsistentRead !== null && { ConsistentRead: input.ConsistentRead })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken })), (input.Parameters !== undefined &&
5312
5314
  input.Parameters !== null && {
5313
5315
  Parameters: serializeAws_json1_0PreparedStatementParameters(input.Parameters, context),
5314
- })), (input.Statement !== undefined && input.Statement !== null && { Statement: input.Statement }));
5316
+ })), (input.ReturnConsumedCapacity !== undefined &&
5317
+ input.ReturnConsumedCapacity !== null && { ReturnConsumedCapacity: input.ReturnConsumedCapacity })), (input.Statement !== undefined && input.Statement !== null && { Statement: input.Statement }));
5315
5318
  };
5316
5319
  var serializeAws_json1_0ExecuteTransactionInput = function (input, context) {
5317
5320
  var _a;
5318
- return __assign({ ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }, (input.TransactStatements !== undefined &&
5321
+ return __assign(__assign({ ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }, (input.ReturnConsumedCapacity !== undefined &&
5322
+ input.ReturnConsumedCapacity !== null && { ReturnConsumedCapacity: input.ReturnConsumedCapacity })), (input.TransactStatements !== undefined &&
5319
5323
  input.TransactStatements !== null && {
5320
5324
  TransactStatements: serializeAws_json1_0ParameterizedStatements(input.TransactStatements, context),
5321
5325
  }));
@@ -5814,7 +5818,7 @@ var serializeAws_json1_0ReplicaList = function (input, context) {
5814
5818
  });
5815
5819
  };
5816
5820
  var serializeAws_json1_0ReplicaSettingsUpdate = function (input, context) {
5817
- 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 &&
5818
5822
  input.ReplicaGlobalSecondaryIndexSettingsUpdate !== null && {
5819
5823
  ReplicaGlobalSecondaryIndexSettingsUpdate: serializeAws_json1_0ReplicaGlobalSecondaryIndexSettingsUpdateList(input.ReplicaGlobalSecondaryIndexSettingsUpdate, context),
5820
5824
  })), (input.ReplicaProvisionedReadCapacityAutoScalingSettingsUpdate !== undefined &&
@@ -5823,7 +5827,8 @@ var serializeAws_json1_0ReplicaSettingsUpdate = function (input, context) {
5823
5827
  })), (input.ReplicaProvisionedReadCapacityUnits !== undefined &&
5824
5828
  input.ReplicaProvisionedReadCapacityUnits !== null && {
5825
5829
  ReplicaProvisionedReadCapacityUnits: input.ReplicaProvisionedReadCapacityUnits,
5826
- }));
5830
+ })), (input.ReplicaTableClass !== undefined &&
5831
+ input.ReplicaTableClass !== null && { ReplicaTableClass: input.ReplicaTableClass }));
5827
5832
  };
5828
5833
  var serializeAws_json1_0ReplicaSettingsUpdateList = function (input, context) {
5829
5834
  return input
@@ -6102,17 +6107,18 @@ var serializeAws_json1_0UpdateItemInput = function (input, context) {
6102
6107
  input.UpdateExpression !== null && { UpdateExpression: input.UpdateExpression }));
6103
6108
  };
6104
6109
  var serializeAws_json1_0UpdateReplicationGroupMemberAction = function (input, context) {
6105
- return __assign(__assign(__assign(__assign({}, (input.GlobalSecondaryIndexes !== undefined &&
6110
+ return __assign(__assign(__assign(__assign(__assign({}, (input.GlobalSecondaryIndexes !== undefined &&
6106
6111
  input.GlobalSecondaryIndexes !== null && {
6107
6112
  GlobalSecondaryIndexes: serializeAws_json1_0ReplicaGlobalSecondaryIndexList(input.GlobalSecondaryIndexes, context),
6108
6113
  })), (input.KMSMasterKeyId !== undefined &&
6109
6114
  input.KMSMasterKeyId !== null && { KMSMasterKeyId: input.KMSMasterKeyId })), (input.ProvisionedThroughputOverride !== undefined &&
6110
6115
  input.ProvisionedThroughputOverride !== null && {
6111
6116
  ProvisionedThroughputOverride: serializeAws_json1_0ProvisionedThroughputOverride(input.ProvisionedThroughputOverride, context),
6112
- })), (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 }));
6113
6119
  };
6114
6120
  var serializeAws_json1_0UpdateTableInput = function (input, context) {
6115
- 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 &&
6116
6122
  input.AttributeDefinitions !== null && {
6117
6123
  AttributeDefinitions: serializeAws_json1_0AttributeDefinitions(input.AttributeDefinitions, context),
6118
6124
  })), (input.BillingMode !== undefined && input.BillingMode !== null && { BillingMode: input.BillingMode })), (input.GlobalSecondaryIndexUpdates !== undefined &&
@@ -6130,7 +6136,7 @@ var serializeAws_json1_0UpdateTableInput = function (input, context) {
6130
6136
  })), (input.StreamSpecification !== undefined &&
6131
6137
  input.StreamSpecification !== null && {
6132
6138
  StreamSpecification: serializeAws_json1_0StreamSpecification(input.StreamSpecification, context),
6133
- })), (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 }));
6134
6140
  };
6135
6141
  var serializeAws_json1_0UpdateTableReplicaAutoScalingInput = function (input, context) {
6136
6142
  return __assign(__assign(__assign(__assign({}, (input.GlobalSecondaryIndexUpdates !== undefined &&
@@ -6363,6 +6369,9 @@ var deserializeAws_json1_0BackupSummary = function (output, context) {
6363
6369
  };
6364
6370
  var deserializeAws_json1_0BatchExecuteStatementOutput = function (output, context) {
6365
6371
  return {
6372
+ ConsumedCapacity: output.ConsumedCapacity !== undefined && output.ConsumedCapacity !== null
6373
+ ? deserializeAws_json1_0ConsumedCapacityMultiple(output.ConsumedCapacity, context)
6374
+ : undefined,
6366
6375
  Responses: output.Responses !== undefined && output.Responses !== null
6367
6376
  ? deserializeAws_json1_0PartiQLBatchResponse(output.Responses, context)
6368
6377
  : undefined,
@@ -6729,6 +6738,9 @@ var deserializeAws_json1_0Endpoints = function (output, context) {
6729
6738
  };
6730
6739
  var deserializeAws_json1_0ExecuteStatementOutput = function (output, context) {
6731
6740
  return {
6741
+ ConsumedCapacity: output.ConsumedCapacity !== undefined && output.ConsumedCapacity !== null
6742
+ ? deserializeAws_json1_0ConsumedCapacity(output.ConsumedCapacity, context)
6743
+ : undefined,
6732
6744
  Items: output.Items !== undefined && output.Items !== null
6733
6745
  ? deserializeAws_json1_0ItemList(output.Items, context)
6734
6746
  : undefined,
@@ -6737,6 +6749,9 @@ var deserializeAws_json1_0ExecuteStatementOutput = function (output, context) {
6737
6749
  };
6738
6750
  var deserializeAws_json1_0ExecuteTransactionOutput = function (output, context) {
6739
6751
  return {
6752
+ ConsumedCapacity: output.ConsumedCapacity !== undefined && output.ConsumedCapacity !== null
6753
+ ? deserializeAws_json1_0ConsumedCapacityMultiple(output.ConsumedCapacity, context)
6754
+ : undefined,
6740
6755
  Responses: output.Responses !== undefined && output.Responses !== null
6741
6756
  ? deserializeAws_json1_0ItemResponseList(output.Responses, context)
6742
6757
  : undefined,
@@ -7410,6 +7425,9 @@ var deserializeAws_json1_0ReplicaDescription = function (output, context) {
7410
7425
  ReplicaStatus: __expectString(output.ReplicaStatus),
7411
7426
  ReplicaStatusDescription: __expectString(output.ReplicaStatusDescription),
7412
7427
  ReplicaStatusPercentProgress: __expectString(output.ReplicaStatusPercentProgress),
7428
+ ReplicaTableClassSummary: output.ReplicaTableClassSummary !== undefined && output.ReplicaTableClassSummary !== null
7429
+ ? deserializeAws_json1_0TableClassSummary(output.ReplicaTableClassSummary, context)
7430
+ : undefined,
7413
7431
  };
7414
7432
  };
7415
7433
  var deserializeAws_json1_0ReplicaDescriptionList = function (output, context) {
@@ -7525,6 +7543,9 @@ var deserializeAws_json1_0ReplicaSettingsDescription = function (output, context
7525
7543
  : undefined,
7526
7544
  ReplicaProvisionedWriteCapacityUnits: __expectLong(output.ReplicaProvisionedWriteCapacityUnits),
7527
7545
  ReplicaStatus: __expectString(output.ReplicaStatus),
7546
+ ReplicaTableClassSummary: output.ReplicaTableClassSummary !== undefined && output.ReplicaTableClassSummary !== null
7547
+ ? deserializeAws_json1_0TableClassSummary(output.ReplicaTableClassSummary, context)
7548
+ : undefined,
7528
7549
  };
7529
7550
  };
7530
7551
  var deserializeAws_json1_0ReplicaSettingsDescriptionList = function (output, context) {
@@ -7679,6 +7700,14 @@ var deserializeAws_json1_0TableAutoScalingDescription = function (output, contex
7679
7700
  TableStatus: __expectString(output.TableStatus),
7680
7701
  };
7681
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
+ };
7682
7711
  var deserializeAws_json1_0TableDescription = function (output, context) {
7683
7712
  return {
7684
7713
  ArchivalSummary: output.ArchivalSummary !== undefined && output.ArchivalSummary !== null
@@ -7722,6 +7751,9 @@ var deserializeAws_json1_0TableDescription = function (output, context) {
7722
7751
  ? deserializeAws_json1_0StreamSpecification(output.StreamSpecification, context)
7723
7752
  : undefined,
7724
7753
  TableArn: __expectString(output.TableArn),
7754
+ TableClassSummary: output.TableClassSummary !== undefined && output.TableClassSummary !== null
7755
+ ? deserializeAws_json1_0TableClassSummary(output.TableClassSummary, context)
7756
+ : undefined,
7725
7757
  TableId: __expectString(output.TableId),
7726
7758
  TableName: __expectString(output.TableName),
7727
7759
  TableSizeBytes: __expectLong(output.TableSizeBytes),
@@ -891,71 +891,6 @@ export declare enum BackupTypeFilter {
891
891
  SYSTEM = "SYSTEM",
892
892
  USER = "USER"
893
893
  }
894
- export declare enum BatchStatementErrorCodeEnum {
895
- AccessDenied = "AccessDenied",
896
- ConditionalCheckFailed = "ConditionalCheckFailed",
897
- DuplicateItem = "DuplicateItem",
898
- InternalServerError = "InternalServerError",
899
- ItemCollectionSizeLimitExceeded = "ItemCollectionSizeLimitExceeded",
900
- ProvisionedThroughputExceeded = "ProvisionedThroughputExceeded",
901
- RequestLimitExceeded = "RequestLimitExceeded",
902
- ResourceNotFound = "ResourceNotFound",
903
- ThrottlingError = "ThrottlingError",
904
- TransactionConflict = "TransactionConflict",
905
- ValidationError = "ValidationError"
906
- }
907
- /**
908
- * <p> An error associated with a statement in a PartiQL batch that was run. </p>
909
- */
910
- export interface BatchStatementError {
911
- /**
912
- * <p> The error code associated with the failed PartiQL batch statement. </p>
913
- */
914
- Code?: BatchStatementErrorCodeEnum | string;
915
- /**
916
- * <p> The error message associated with the PartiQL batch resposne. </p>
917
- */
918
- Message?: string;
919
- }
920
- export declare namespace BatchStatementError {
921
- /**
922
- * @internal
923
- */
924
- const filterSensitiveLog: (obj: BatchStatementError) => any;
925
- }
926
- /**
927
- * <p>An error occurred on the server side.</p>
928
- */
929
- export interface InternalServerError extends __SmithyException, $MetadataBearer {
930
- name: "InternalServerError";
931
- $fault: "server";
932
- /**
933
- * <p>The server encountered an internal error trying to fulfill the request.</p>
934
- */
935
- message?: string;
936
- }
937
- export declare namespace InternalServerError {
938
- /**
939
- * @internal
940
- */
941
- const filterSensitiveLog: (obj: InternalServerError) => any;
942
- }
943
- /**
944
- * <p>Throughput exceeds the current throughput quota for your account. Please contact
945
- * <a href="https://aws.amazon.com/support">Amazon Web Services Support</a> to request a
946
- * quota increase.</p>
947
- */
948
- export interface RequestLimitExceeded extends __SmithyException, $MetadataBearer {
949
- name: "RequestLimitExceeded";
950
- $fault: "client";
951
- message?: string;
952
- }
953
- export declare namespace RequestLimitExceeded {
954
- /**
955
- * @internal
956
- */
957
- const filterSensitiveLog: (obj: RequestLimitExceeded) => any;
958
- }
959
894
  export declare type ReturnConsumedCapacity = "INDEXES" | "NONE" | "TOTAL";
960
895
  /**
961
896
  * <p>Represents the amount of provisioned throughput capacity consumed on a table or an
@@ -1030,6 +965,71 @@ export declare namespace ConsumedCapacity {
1030
965
  */
1031
966
  const filterSensitiveLog: (obj: ConsumedCapacity) => any;
1032
967
  }
968
+ export declare enum BatchStatementErrorCodeEnum {
969
+ AccessDenied = "AccessDenied",
970
+ ConditionalCheckFailed = "ConditionalCheckFailed",
971
+ DuplicateItem = "DuplicateItem",
972
+ InternalServerError = "InternalServerError",
973
+ ItemCollectionSizeLimitExceeded = "ItemCollectionSizeLimitExceeded",
974
+ ProvisionedThroughputExceeded = "ProvisionedThroughputExceeded",
975
+ RequestLimitExceeded = "RequestLimitExceeded",
976
+ ResourceNotFound = "ResourceNotFound",
977
+ ThrottlingError = "ThrottlingError",
978
+ TransactionConflict = "TransactionConflict",
979
+ ValidationError = "ValidationError"
980
+ }
981
+ /**
982
+ * <p> An error associated with a statement in a PartiQL batch that was run. </p>
983
+ */
984
+ export interface BatchStatementError {
985
+ /**
986
+ * <p> The error code associated with the failed PartiQL batch statement. </p>
987
+ */
988
+ Code?: BatchStatementErrorCodeEnum | string;
989
+ /**
990
+ * <p> The error message associated with the PartiQL batch resposne. </p>
991
+ */
992
+ Message?: string;
993
+ }
994
+ export declare namespace BatchStatementError {
995
+ /**
996
+ * @internal
997
+ */
998
+ const filterSensitiveLog: (obj: BatchStatementError) => any;
999
+ }
1000
+ /**
1001
+ * <p>An error occurred on the server side.</p>
1002
+ */
1003
+ export interface InternalServerError extends __SmithyException, $MetadataBearer {
1004
+ name: "InternalServerError";
1005
+ $fault: "server";
1006
+ /**
1007
+ * <p>The server encountered an internal error trying to fulfill the request.</p>
1008
+ */
1009
+ message?: string;
1010
+ }
1011
+ export declare namespace InternalServerError {
1012
+ /**
1013
+ * @internal
1014
+ */
1015
+ const filterSensitiveLog: (obj: InternalServerError) => any;
1016
+ }
1017
+ /**
1018
+ * <p>Throughput exceeds the current throughput quota for your account. Please contact
1019
+ * <a href="https://aws.amazon.com/support">Amazon Web Services Support</a> to request a
1020
+ * quota increase.</p>
1021
+ */
1022
+ export interface RequestLimitExceeded extends __SmithyException, $MetadataBearer {
1023
+ name: "RequestLimitExceeded";
1024
+ $fault: "client";
1025
+ message?: string;
1026
+ }
1027
+ export declare namespace RequestLimitExceeded {
1028
+ /**
1029
+ * @internal
1030
+ */
1031
+ const filterSensitiveLog: (obj: RequestLimitExceeded) => any;
1032
+ }
1033
1033
  export interface InvalidEndpointException extends __SmithyException, $MetadataBearer {
1034
1034
  name: "InvalidEndpointException";
1035
1035
  $fault: "client";
@@ -1444,6 +1444,30 @@ export declare namespace ReplicaGlobalSecondaryIndexDescription {
1444
1444
  const filterSensitiveLog: (obj: ReplicaGlobalSecondaryIndexDescription) => any;
1445
1445
  }
1446
1446
  export declare type ReplicaStatus = "ACTIVE" | "CREATING" | "CREATION_FAILED" | "DELETING" | "INACCESSIBLE_ENCRYPTION_CREDENTIALS" | "REGION_DISABLED" | "UPDATING";
1447
+ export declare enum TableClass {
1448
+ STANDARD = "STANDARD",
1449
+ STANDARD_INFREQUENT_ACCESS = "STANDARD_INFREQUENT_ACCESS"
1450
+ }
1451
+ /**
1452
+ * <p>Contains details of the table class.</p>
1453
+ */
1454
+ export interface TableClassSummary {
1455
+ /**
1456
+ * <p>The table class of the specified table. Valid values are <code>STANDARD</code> and
1457
+ * <code>STANDARD_INFREQUENT_ACCESS</code>.</p>
1458
+ */
1459
+ TableClass?: TableClass | string;
1460
+ /**
1461
+ * <p>The date and time at which the table class was last updated.</p>
1462
+ */
1463
+ LastUpdateDateTime?: Date;
1464
+ }
1465
+ export declare namespace TableClassSummary {
1466
+ /**
1467
+ * @internal
1468
+ */
1469
+ const filterSensitiveLog: (obj: TableClassSummary) => any;
1470
+ }
1447
1471
  /**
1448
1472
  * <p>Contains the details of the replica.</p>
1449
1473
  */
@@ -1523,6 +1547,10 @@ export interface ReplicaDescription {
1523
1547
  * of inaccessibility check the <code>ReplicaStatus</code> property.</p>
1524
1548
  */
1525
1549
  ReplicaInaccessibleDateTime?: Date;
1550
+ /**
1551
+ * <p>Contains details of the table class.</p>
1552
+ */
1553
+ ReplicaTableClassSummary?: TableClassSummary;
1526
1554
  }
1527
1555
  export declare namespace ReplicaDescription {
1528
1556
  /**
@@ -1665,6 +1693,11 @@ export interface CreateReplicationGroupMemberAction {
1665
1693
  * <p>Replica-specific global secondary index settings.</p>
1666
1694
  */
1667
1695
  GlobalSecondaryIndexes?: ReplicaGlobalSecondaryIndex[];
1696
+ /**
1697
+ * <p>Replica-specific table class. If not specified, uses the source table's
1698
+ * table class.</p>
1699
+ */
1700
+ TableClassOverride?: TableClass | string;
1668
1701
  }
1669
1702
  export declare namespace CreateReplicationGroupMemberAction {
1670
1703
  /**
@@ -2100,6 +2133,11 @@ export interface CreateTableInput {
2100
2133
  * for DynamoDB</a>.</p>
2101
2134
  */
2102
2135
  Tags?: Tag[];
2136
+ /**
2137
+ * <p>The table class of the new table. Valid values are <code>STANDARD</code> and
2138
+ * <code>STANDARD_INFREQUENT_ACCESS</code>.</p>
2139
+ */
2140
+ TableClass?: TableClass | string;
2103
2141
  }
2104
2142
  export declare namespace CreateTableInput {
2105
2143
  /**
@@ -2719,6 +2757,10 @@ export interface TableDescription {
2719
2757
  * <p>Contains information about the table archive.</p>
2720
2758
  */
2721
2759
  ArchivalSummary?: ArchivalSummary;
2760
+ /**
2761
+ * <p>Contains details of the table class.</p>
2762
+ */
2763
+ TableClassSummary?: TableClassSummary;
2722
2764
  }
2723
2765
  export declare namespace TableDescription {
2724
2766
  /**
@@ -3372,6 +3414,10 @@ export interface ReplicaSettingsDescription {
3372
3414
  * <p>Replica global secondary index settings for the global table.</p>
3373
3415
  */
3374
3416
  ReplicaGlobalSecondaryIndexSettings?: ReplicaGlobalSecondaryIndexSettingsDescription[];
3417
+ /**
3418
+ * <p>Contains details of the table class.</p>
3419
+ */
3420
+ ReplicaTableClassSummary?: TableClassSummary;
3375
3421
  }
3376
3422
  export declare namespace ReplicaSettingsDescription {
3377
3423
  /**
@@ -4681,6 +4727,11 @@ export interface ReplicaSettingsUpdate {
4681
4727
  * modified.</p>
4682
4728
  */
4683
4729
  ReplicaGlobalSecondaryIndexSettingsUpdate?: ReplicaGlobalSecondaryIndexSettingsUpdate[];
4730
+ /**
4731
+ * <p>Replica-specific table class. If not specified, uses the source table's
4732
+ * table class.</p>
4733
+ */
4734
+ ReplicaTableClass?: TableClass | string;
4684
4735
  }
4685
4736
  export declare namespace ReplicaSettingsUpdate {
4686
4737
  /**
@@ -4869,6 +4920,11 @@ export interface UpdateReplicationGroupMemberAction {
4869
4920
  * <p>Replica-specific global secondary index settings.</p>
4870
4921
  */
4871
4922
  GlobalSecondaryIndexes?: ReplicaGlobalSecondaryIndex[];
4923
+ /**
4924
+ * <p>Replica-specific table class. If not specified, uses the source table's
4925
+ * table class.</p>
4926
+ */
4927
+ TableClassOverride?: TableClass | string;
4872
4928
  }
4873
4929
  export declare namespace UpdateReplicationGroupMemberAction {
4874
4930
  /**
@@ -5000,6 +5056,11 @@ export interface UpdateTableInput {
5000
5056
  * </note>
5001
5057
  */
5002
5058
  ReplicaUpdates?: ReplicationGroupUpdate[];
5059
+ /**
5060
+ * <p>The table class of the table to be updated. Valid values are <code>STANDARD</code> and
5061
+ * <code>STANDARD_INFREQUENT_ACCESS</code>.</p>
5062
+ */
5063
+ TableClass?: TableClass | string;
5003
5064
  }
5004
5065
  export declare namespace UpdateTableInput {
5005
5066
  /**
@@ -5895,6 +5956,34 @@ export interface ExecuteStatementInput {
5895
5956
  * statement response.</p>
5896
5957
  */
5897
5958
  NextToken?: string;
5959
+ /**
5960
+ * <p>Determines the level of detail about either provisioned or on-demand throughput
5961
+ * consumption that is returned in the response:</p>
5962
+ * <ul>
5963
+ * <li>
5964
+ * <p>
5965
+ * <code>INDEXES</code> - The response includes the aggregate
5966
+ * <code>ConsumedCapacity</code> for the operation, together with
5967
+ * <code>ConsumedCapacity</code> for each table and secondary index that was
5968
+ * accessed.</p>
5969
+ * <p>Note that some operations, such as <code>GetItem</code> and
5970
+ * <code>BatchGetItem</code>, do not access any indexes at all. In these cases,
5971
+ * specifying <code>INDEXES</code> will only return <code>ConsumedCapacity</code>
5972
+ * information for table(s).</p>
5973
+ * </li>
5974
+ * <li>
5975
+ * <p>
5976
+ * <code>TOTAL</code> - The response includes only the aggregate
5977
+ * <code>ConsumedCapacity</code> for the operation.</p>
5978
+ * </li>
5979
+ * <li>
5980
+ * <p>
5981
+ * <code>NONE</code> - No <code>ConsumedCapacity</code> details are included in the
5982
+ * response.</p>
5983
+ * </li>
5984
+ * </ul>
5985
+ */
5986
+ ReturnConsumedCapacity?: ReturnConsumedCapacity | string;
5898
5987
  }
5899
5988
  export declare namespace ExecuteStatementInput {
5900
5989
  /**
@@ -5971,8 +6060,8 @@ export interface GetItemInput {
5971
6060
  */
5972
6061
  ConsistentRead?: boolean;
5973
6062
  /**
5974
- * <p>Determines the level of detail about provisioned throughput consumption that is
5975
- * returned in the response:</p>
6063
+ * <p>Determines the level of detail about either provisioned or on-demand throughput
6064
+ * consumption that is returned in the response:</p>
5976
6065
  * <ul>
5977
6066
  * <li>
5978
6067
  * <p>
@@ -6201,6 +6290,14 @@ export interface ExecuteStatementOutput {
6201
6290
  * request to get the remaining results.</p>
6202
6291
  */
6203
6292
  NextToken?: string;
6293
+ /**
6294
+ * <p>The capacity units consumed by an operation. The data returned includes the total
6295
+ * provisioned throughput consumed, along with statistics for the table and any indexes
6296
+ * involved in the operation. <code>ConsumedCapacity</code> is only returned if the request
6297
+ * asked for it. For more information, see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ProvisionedThroughputIntro.html">Provisioned Throughput</a> in the <i>Amazon DynamoDB Developer
6298
+ * Guide</i>.</p>
6299
+ */
6300
+ ConsumedCapacity?: ConsumedCapacity;
6204
6301
  }
6205
6302
  export declare namespace ExecuteStatementOutput {
6206
6303
  /**
@@ -6331,6 +6428,34 @@ export interface BatchExecuteStatementInput {
6331
6428
  * <p>The list of PartiQL statements representing the batch to run.</p>
6332
6429
  */
6333
6430
  Statements: BatchStatementRequest[] | undefined;
6431
+ /**
6432
+ * <p>Determines the level of detail about either provisioned or on-demand throughput
6433
+ * consumption that is returned in the response:</p>
6434
+ * <ul>
6435
+ * <li>
6436
+ * <p>
6437
+ * <code>INDEXES</code> - The response includes the aggregate
6438
+ * <code>ConsumedCapacity</code> for the operation, together with
6439
+ * <code>ConsumedCapacity</code> for each table and secondary index that was
6440
+ * accessed.</p>
6441
+ * <p>Note that some operations, such as <code>GetItem</code> and
6442
+ * <code>BatchGetItem</code>, do not access any indexes at all. In these cases,
6443
+ * specifying <code>INDEXES</code> will only return <code>ConsumedCapacity</code>
6444
+ * information for table(s).</p>
6445
+ * </li>
6446
+ * <li>
6447
+ * <p>
6448
+ * <code>TOTAL</code> - The response includes only the aggregate
6449
+ * <code>ConsumedCapacity</code> for the operation.</p>
6450
+ * </li>
6451
+ * <li>
6452
+ * <p>
6453
+ * <code>NONE</code> - No <code>ConsumedCapacity</code> details are included in the
6454
+ * response.</p>
6455
+ * </li>
6456
+ * </ul>
6457
+ */
6458
+ ReturnConsumedCapacity?: ReturnConsumedCapacity | string;
6334
6459
  }
6335
6460
  export declare namespace BatchExecuteStatementInput {
6336
6461
  /**
@@ -6343,6 +6468,11 @@ export interface BatchExecuteStatementOutput {
6343
6468
  * <p>The response to each PartiQL statement in the batch.</p>
6344
6469
  */
6345
6470
  Responses?: BatchStatementResponse[];
6471
+ /**
6472
+ * <p>The capacity units consumed by the entire operation. The values of the list are
6473
+ * ordered according to the ordering of the statements.</p>
6474
+ */
6475
+ ConsumedCapacity?: ConsumedCapacity[];
6346
6476
  }
6347
6477
  export declare namespace BatchExecuteStatementOutput {
6348
6478
  /**
@@ -6360,6 +6490,11 @@ export interface ExecuteTransactionInput {
6360
6490
  * statement response.</p>
6361
6491
  */
6362
6492
  ClientRequestToken?: string;
6493
+ /**
6494
+ * <p>Determines the level of detail about either provisioned or on-demand throughput consumption that is
6495
+ * returned in the response. For more information, see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_TransactGetItems.html">TransactGetItems</a> and <a href="https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_TransactWriteItems.html">TransactWriteItems</a>.</p>
6496
+ */
6497
+ ReturnConsumedCapacity?: ReturnConsumedCapacity | string;
6363
6498
  }
6364
6499
  export declare namespace ExecuteTransactionInput {
6365
6500
  /**
@@ -6372,6 +6507,11 @@ export interface ExecuteTransactionOutput {
6372
6507
  * <p>The response to a PartiQL transaction.</p>
6373
6508
  */
6374
6509
  Responses?: ItemResponse[];
6510
+ /**
6511
+ * <p>The capacity units consumed by the entire operation. The values of the list are
6512
+ * ordered according to the ordering of the statements.</p>
6513
+ */
6514
+ ConsumedCapacity?: ConsumedCapacity[];
6375
6515
  }
6376
6516
  export declare namespace ExecuteTransactionOutput {
6377
6517
  /**
@@ -6769,8 +6909,8 @@ export interface BatchGetItemInput {
6769
6909
  [key: string]: KeysAndAttributes;
6770
6910
  } | undefined;
6771
6911
  /**
6772
- * <p>Determines the level of detail about provisioned throughput consumption that is
6773
- * returned in the response:</p>
6912
+ * <p>Determines the level of detail about either provisioned or on-demand throughput
6913
+ * consumption that is returned in the response:</p>
6774
6914
  * <ul>
6775
6915
  * <li>
6776
6916
  * <p>
@@ -7815,8 +7955,8 @@ export interface ScanInput {
7815
7955
  [key: string]: AttributeValue;
7816
7956
  };
7817
7957
  /**
7818
- * <p>Determines the level of detail about provisioned throughput consumption that is
7819
- * returned in the response:</p>
7958
+ * <p>Determines the level of detail about either provisioned or on-demand throughput
7959
+ * consumption that is returned in the response:</p>
7820
7960
  * <ul>
7821
7961
  * <li>
7822
7962
  * <p>
@@ -8056,8 +8196,8 @@ export interface BatchWriteItemInput {
8056
8196
  [key: string]: WriteRequest[];
8057
8197
  } | undefined;
8058
8198
  /**
8059
- * <p>Determines the level of detail about provisioned throughput consumption that is
8060
- * returned in the response:</p>
8199
+ * <p>Determines the level of detail about either provisioned or on-demand throughput
8200
+ * consumption that is returned in the response:</p>
8061
8201
  * <ul>
8062
8202
  * <li>
8063
8203
  * <p>
@@ -8153,8 +8293,8 @@ export interface DeleteItemInput {
8153
8293
  */
8154
8294
  ReturnValues?: ReturnValue | string;
8155
8295
  /**
8156
- * <p>Determines the level of detail about provisioned throughput consumption that is
8157
- * returned in the response:</p>
8296
+ * <p>Determines the level of detail about either provisioned or on-demand throughput
8297
+ * consumption that is returned in the response:</p>
8158
8298
  * <ul>
8159
8299
  * <li>
8160
8300
  * <p>
@@ -8365,8 +8505,8 @@ export interface PutItemInput {
8365
8505
  */
8366
8506
  ReturnValues?: ReturnValue | string;
8367
8507
  /**
8368
- * <p>Determines the level of detail about provisioned throughput consumption that is
8369
- * returned in the response:</p>
8508
+ * <p>Determines the level of detail about either provisioned or on-demand throughput
8509
+ * consumption that is returned in the response:</p>
8370
8510
  * <ul>
8371
8511
  * <li>
8372
8512
  * <p>
@@ -8662,8 +8802,8 @@ export interface QueryInput {
8662
8802
  [key: string]: AttributeValue;
8663
8803
  };
8664
8804
  /**
8665
- * <p>Determines the level of detail about provisioned throughput consumption that is
8666
- * returned in the response:</p>
8805
+ * <p>Determines the level of detail about either provisioned or on-demand throughput
8806
+ * consumption that is returned in the response:</p>
8667
8807
  * <ul>
8668
8808
  * <li>
8669
8809
  * <p>
@@ -9112,8 +9252,8 @@ export interface UpdateItemInput {
9112
9252
  */
9113
9253
  ReturnValues?: ReturnValue | string;
9114
9254
  /**
9115
- * <p>Determines the level of detail about provisioned throughput consumption that is
9116
- * returned in the response:</p>
9255
+ * <p>Determines the level of detail about either provisioned or on-demand throughput
9256
+ * consumption that is returned in the response:</p>
9117
9257
  * <ul>
9118
9258
  * <li>
9119
9259
  * <p>
@@ -9403,8 +9543,8 @@ export interface TransactWriteItemsInput {
9403
9543
  */
9404
9544
  TransactItems: TransactWriteItem[] | undefined;
9405
9545
  /**
9406
- * <p>Determines the level of detail about provisioned throughput consumption that is
9407
- * returned in the response:</p>
9546
+ * <p>Determines the level of detail about either provisioned or on-demand throughput
9547
+ * consumption that is returned in the response:</p>
9408
9548
  * <ul>
9409
9549
  * <li>
9410
9550
  * <p>
@@ -351,6 +351,45 @@ export declare enum BackupTypeFilter {
351
351
  SYSTEM = "SYSTEM",
352
352
  USER = "USER"
353
353
  }
354
+ export declare type ReturnConsumedCapacity = "INDEXES" | "NONE" | "TOTAL";
355
+
356
+ export interface Capacity {
357
+
358
+ ReadCapacityUnits?: number;
359
+
360
+ WriteCapacityUnits?: number;
361
+
362
+ CapacityUnits?: number;
363
+ }
364
+ export declare namespace Capacity {
365
+
366
+ const filterSensitiveLog: (obj: Capacity) => any;
367
+ }
368
+
369
+ export interface ConsumedCapacity {
370
+
371
+ TableName?: string;
372
+
373
+ CapacityUnits?: number;
374
+
375
+ ReadCapacityUnits?: number;
376
+
377
+ WriteCapacityUnits?: number;
378
+
379
+ Table?: Capacity;
380
+
381
+ LocalSecondaryIndexes?: {
382
+ [key: string]: Capacity;
383
+ };
384
+
385
+ GlobalSecondaryIndexes?: {
386
+ [key: string]: Capacity;
387
+ };
388
+ }
389
+ export declare namespace ConsumedCapacity {
390
+
391
+ const filterSensitiveLog: (obj: ConsumedCapacity) => any;
392
+ }
354
393
  export declare enum BatchStatementErrorCodeEnum {
355
394
  AccessDenied = "AccessDenied",
356
395
  ConditionalCheckFailed = "ConditionalCheckFailed",
@@ -396,45 +435,6 @@ export declare namespace RequestLimitExceeded {
396
435
 
397
436
  const filterSensitiveLog: (obj: RequestLimitExceeded) => any;
398
437
  }
399
- export declare type ReturnConsumedCapacity = "INDEXES" | "NONE" | "TOTAL";
400
-
401
- export interface Capacity {
402
-
403
- ReadCapacityUnits?: number;
404
-
405
- WriteCapacityUnits?: number;
406
-
407
- CapacityUnits?: number;
408
- }
409
- export declare namespace Capacity {
410
-
411
- const filterSensitiveLog: (obj: Capacity) => any;
412
- }
413
-
414
- export interface ConsumedCapacity {
415
-
416
- TableName?: string;
417
-
418
- CapacityUnits?: number;
419
-
420
- ReadCapacityUnits?: number;
421
-
422
- WriteCapacityUnits?: number;
423
-
424
- Table?: Capacity;
425
-
426
- LocalSecondaryIndexes?: {
427
- [key: string]: Capacity;
428
- };
429
-
430
- GlobalSecondaryIndexes?: {
431
- [key: string]: Capacity;
432
- };
433
- }
434
- export declare namespace ConsumedCapacity {
435
-
436
- const filterSensitiveLog: (obj: ConsumedCapacity) => any;
437
- }
438
438
  export interface InvalidEndpointException extends __SmithyException, $MetadataBearer {
439
439
  name: "InvalidEndpointException";
440
440
  $fault: "client";
@@ -659,6 +659,21 @@ export declare namespace ReplicaGlobalSecondaryIndexDescription {
659
659
  const filterSensitiveLog: (obj: ReplicaGlobalSecondaryIndexDescription) => any;
660
660
  }
661
661
  export declare type ReplicaStatus = "ACTIVE" | "CREATING" | "CREATION_FAILED" | "DELETING" | "INACCESSIBLE_ENCRYPTION_CREDENTIALS" | "REGION_DISABLED" | "UPDATING";
662
+ export declare enum TableClass {
663
+ STANDARD = "STANDARD",
664
+ STANDARD_INFREQUENT_ACCESS = "STANDARD_INFREQUENT_ACCESS"
665
+ }
666
+
667
+ export interface TableClassSummary {
668
+
669
+ TableClass?: TableClass | string;
670
+
671
+ LastUpdateDateTime?: Date;
672
+ }
673
+ export declare namespace TableClassSummary {
674
+
675
+ const filterSensitiveLog: (obj: TableClassSummary) => any;
676
+ }
662
677
 
663
678
  export interface ReplicaDescription {
664
679
 
@@ -677,6 +692,8 @@ export interface ReplicaDescription {
677
692
  GlobalSecondaryIndexes?: ReplicaGlobalSecondaryIndexDescription[];
678
693
 
679
694
  ReplicaInaccessibleDateTime?: Date;
695
+
696
+ ReplicaTableClassSummary?: TableClassSummary;
680
697
  }
681
698
  export declare namespace ReplicaDescription {
682
699
 
@@ -747,6 +764,8 @@ export interface CreateReplicationGroupMemberAction {
747
764
  ProvisionedThroughputOverride?: ProvisionedThroughputOverride;
748
765
 
749
766
  GlobalSecondaryIndexes?: ReplicaGlobalSecondaryIndex[];
767
+
768
+ TableClassOverride?: TableClass | string;
750
769
  }
751
770
  export declare namespace CreateReplicationGroupMemberAction {
752
771
 
@@ -826,6 +845,8 @@ export interface CreateTableInput {
826
845
  SSESpecification?: SSESpecification;
827
846
 
828
847
  Tags?: Tag[];
848
+
849
+ TableClass?: TableClass | string;
829
850
  }
830
851
  export declare namespace CreateTableInput {
831
852
 
@@ -953,6 +974,8 @@ export interface TableDescription {
953
974
  SSEDescription?: SSEDescription;
954
975
 
955
976
  ArchivalSummary?: ArchivalSummary;
977
+
978
+ TableClassSummary?: TableClassSummary;
956
979
  }
957
980
  export declare namespace TableDescription {
958
981
 
@@ -1298,6 +1321,8 @@ export interface ReplicaSettingsDescription {
1298
1321
  ReplicaProvisionedWriteCapacityAutoScalingSettings?: AutoScalingSettingsDescription;
1299
1322
 
1300
1323
  ReplicaGlobalSecondaryIndexSettings?: ReplicaGlobalSecondaryIndexSettingsDescription[];
1324
+
1325
+ ReplicaTableClassSummary?: TableClassSummary;
1301
1326
  }
1302
1327
  export declare namespace ReplicaSettingsDescription {
1303
1328
 
@@ -1983,6 +2008,8 @@ export interface ReplicaSettingsUpdate {
1983
2008
  ReplicaProvisionedReadCapacityAutoScalingSettingsUpdate?: AutoScalingSettingsUpdate;
1984
2009
 
1985
2010
  ReplicaGlobalSecondaryIndexSettingsUpdate?: ReplicaGlobalSecondaryIndexSettingsUpdate[];
2011
+
2012
+ ReplicaTableClass?: TableClass | string;
1986
2013
  }
1987
2014
  export declare namespace ReplicaSettingsUpdate {
1988
2015
 
@@ -2050,6 +2077,8 @@ export interface UpdateReplicationGroupMemberAction {
2050
2077
  ProvisionedThroughputOverride?: ProvisionedThroughputOverride;
2051
2078
 
2052
2079
  GlobalSecondaryIndexes?: ReplicaGlobalSecondaryIndex[];
2080
+
2081
+ TableClassOverride?: TableClass | string;
2053
2082
  }
2054
2083
  export declare namespace UpdateReplicationGroupMemberAction {
2055
2084
 
@@ -2086,6 +2115,8 @@ export interface UpdateTableInput {
2086
2115
  SSESpecification?: SSESpecification;
2087
2116
 
2088
2117
  ReplicaUpdates?: ReplicationGroupUpdate[];
2118
+
2119
+ TableClass?: TableClass | string;
2089
2120
  }
2090
2121
  export declare namespace UpdateTableInput {
2091
2122
 
@@ -2452,6 +2483,8 @@ export interface ExecuteStatementInput {
2452
2483
  ConsistentRead?: boolean;
2453
2484
 
2454
2485
  NextToken?: string;
2486
+
2487
+ ReturnConsumedCapacity?: ReturnConsumedCapacity | string;
2455
2488
  }
2456
2489
  export declare namespace ExecuteStatementInput {
2457
2490
 
@@ -2567,6 +2600,8 @@ export interface ExecuteStatementOutput {
2567
2600
  }[];
2568
2601
 
2569
2602
  NextToken?: string;
2603
+
2604
+ ConsumedCapacity?: ConsumedCapacity;
2570
2605
  }
2571
2606
  export declare namespace ExecuteStatementOutput {
2572
2607
 
@@ -2605,6 +2640,8 @@ export declare namespace TransactGetItem {
2605
2640
  export interface BatchExecuteStatementInput {
2606
2641
 
2607
2642
  Statements: BatchStatementRequest[] | undefined;
2643
+
2644
+ ReturnConsumedCapacity?: ReturnConsumedCapacity | string;
2608
2645
  }
2609
2646
  export declare namespace BatchExecuteStatementInput {
2610
2647
 
@@ -2613,6 +2650,8 @@ export declare namespace BatchExecuteStatementInput {
2613
2650
  export interface BatchExecuteStatementOutput {
2614
2651
 
2615
2652
  Responses?: BatchStatementResponse[];
2653
+
2654
+ ConsumedCapacity?: ConsumedCapacity[];
2616
2655
  }
2617
2656
  export declare namespace BatchExecuteStatementOutput {
2618
2657
 
@@ -2623,6 +2662,8 @@ export interface ExecuteTransactionInput {
2623
2662
  TransactStatements: ParameterizedStatement[] | undefined;
2624
2663
 
2625
2664
  ClientRequestToken?: string;
2665
+
2666
+ ReturnConsumedCapacity?: ReturnConsumedCapacity | string;
2626
2667
  }
2627
2668
  export declare namespace ExecuteTransactionInput {
2628
2669
 
@@ -2631,6 +2672,8 @@ export declare namespace ExecuteTransactionInput {
2631
2672
  export interface ExecuteTransactionOutput {
2632
2673
 
2633
2674
  Responses?: ItemResponse[];
2675
+
2676
+ ConsumedCapacity?: ConsumedCapacity[];
2634
2677
  }
2635
2678
  export declare namespace ExecuteTransactionOutput {
2636
2679
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-dynamodb",
3
3
  "description": "AWS SDK for JavaScript Dynamodb Client for Node.js, Browser and React Native",
4
- "version": "3.41.0",
4
+ "version": "3.45.0",
5
5
  "scripts": {
6
6
  "build": "yarn build:cjs && yarn build:es && yarn build:types",
7
7
  "build:cjs": "tsc -p tsconfig.json",
@@ -21,19 +21,19 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "2.0.0",
23
23
  "@aws-crypto/sha256-js": "2.0.0",
24
- "@aws-sdk/client-sts": "3.41.0",
25
- "@aws-sdk/config-resolver": "3.40.0",
26
- "@aws-sdk/credential-provider-node": "3.41.0",
24
+ "@aws-sdk/client-sts": "3.45.0",
25
+ "@aws-sdk/config-resolver": "3.45.0",
26
+ "@aws-sdk/credential-provider-node": "3.45.0",
27
27
  "@aws-sdk/fetch-http-handler": "3.40.0",
28
28
  "@aws-sdk/hash-node": "3.40.0",
29
29
  "@aws-sdk/invalid-dependency": "3.40.0",
30
30
  "@aws-sdk/middleware-content-length": "3.40.0",
31
- "@aws-sdk/middleware-endpoint-discovery": "3.40.0",
31
+ "@aws-sdk/middleware-endpoint-discovery": "3.45.0",
32
32
  "@aws-sdk/middleware-host-header": "3.40.0",
33
33
  "@aws-sdk/middleware-logger": "3.40.0",
34
34
  "@aws-sdk/middleware-retry": "3.40.0",
35
35
  "@aws-sdk/middleware-serde": "3.40.0",
36
- "@aws-sdk/middleware-signing": "3.40.0",
36
+ "@aws-sdk/middleware-signing": "3.45.0",
37
37
  "@aws-sdk/middleware-stack": "3.40.0",
38
38
  "@aws-sdk/middleware-user-agent": "3.40.0",
39
39
  "@aws-sdk/node-config-provider": "3.40.0",