@aws-sdk/client-dynamodb 3.43.0 → 3.44.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,17 @@
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.44.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.43.0...v3.44.0) (2021-12-02)
7
+
8
+
9
+ ### Features
10
+
11
+ * **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))
12
+
13
+
14
+
15
+
16
+
6
17
  # [3.43.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.42.0...v3.43.0) (2021-11-29)
7
18
 
8
19
 
@@ -1,10 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
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;
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) => ({
@@ -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) => ({
@@ -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),
@@ -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)); };
@@ -5193,17 +5193,18 @@ var serializeAws_json1_0CreateReplicaAction = function (input, context) {
5193
5193
  return __assign({}, (input.RegionName !== undefined && input.RegionName !== null && { RegionName: input.RegionName }));
5194
5194
  };
5195
5195
  var serializeAws_json1_0CreateReplicationGroupMemberAction = function (input, context) {
5196
- return __assign(__assign(__assign(__assign({}, (input.GlobalSecondaryIndexes !== undefined &&
5196
+ return __assign(__assign(__assign(__assign(__assign({}, (input.GlobalSecondaryIndexes !== undefined &&
5197
5197
  input.GlobalSecondaryIndexes !== null && {
5198
5198
  GlobalSecondaryIndexes: serializeAws_json1_0ReplicaGlobalSecondaryIndexList(input.GlobalSecondaryIndexes, context),
5199
5199
  })), (input.KMSMasterKeyId !== undefined &&
5200
5200
  input.KMSMasterKeyId !== null && { KMSMasterKeyId: input.KMSMasterKeyId })), (input.ProvisionedThroughputOverride !== undefined &&
5201
5201
  input.ProvisionedThroughputOverride !== null && {
5202
5202
  ProvisionedThroughputOverride: serializeAws_json1_0ProvisionedThroughputOverride(input.ProvisionedThroughputOverride, context),
5203
- })), (input.RegionName !== undefined && input.RegionName !== null && { RegionName: input.RegionName }));
5203
+ })), (input.RegionName !== undefined && input.RegionName !== null && { RegionName: input.RegionName })), (input.TableClassOverride !== undefined &&
5204
+ input.TableClassOverride !== null && { TableClassOverride: input.TableClassOverride }));
5204
5205
  };
5205
5206
  var serializeAws_json1_0CreateTableInput = function (input, context) {
5206
- return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AttributeDefinitions !== undefined &&
5207
+ return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AttributeDefinitions !== undefined &&
5207
5208
  input.AttributeDefinitions !== null && {
5208
5209
  AttributeDefinitions: serializeAws_json1_0AttributeDefinitions(input.AttributeDefinitions, context),
5209
5210
  })), (input.BillingMode !== undefined && input.BillingMode !== null && { BillingMode: input.BillingMode })), (input.GlobalSecondaryIndexes !== undefined &&
@@ -5222,7 +5223,7 @@ var serializeAws_json1_0CreateTableInput = function (input, context) {
5222
5223
  })), (input.StreamSpecification !== undefined &&
5223
5224
  input.StreamSpecification !== null && {
5224
5225
  StreamSpecification: serializeAws_json1_0StreamSpecification(input.StreamSpecification, context),
5225
- })), (input.TableName !== undefined && input.TableName !== null && { TableName: input.TableName })), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_0TagList(input.Tags, context) }));
5226
+ })), (input.TableClass !== undefined && input.TableClass !== null && { TableClass: input.TableClass })), (input.TableName !== undefined && input.TableName !== null && { TableName: input.TableName })), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_0TagList(input.Tags, context) }));
5226
5227
  };
5227
5228
  var serializeAws_json1_0Delete = function (input, context) {
5228
5229
  return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.ConditionExpression !== undefined &&
@@ -5817,7 +5818,7 @@ var serializeAws_json1_0ReplicaList = function (input, context) {
5817
5818
  });
5818
5819
  };
5819
5820
  var serializeAws_json1_0ReplicaSettingsUpdate = function (input, context) {
5820
- return __assign(__assign(__assign(__assign({}, (input.RegionName !== undefined && input.RegionName !== null && { RegionName: input.RegionName })), (input.ReplicaGlobalSecondaryIndexSettingsUpdate !== undefined &&
5821
+ return __assign(__assign(__assign(__assign(__assign({}, (input.RegionName !== undefined && input.RegionName !== null && { RegionName: input.RegionName })), (input.ReplicaGlobalSecondaryIndexSettingsUpdate !== undefined &&
5821
5822
  input.ReplicaGlobalSecondaryIndexSettingsUpdate !== null && {
5822
5823
  ReplicaGlobalSecondaryIndexSettingsUpdate: serializeAws_json1_0ReplicaGlobalSecondaryIndexSettingsUpdateList(input.ReplicaGlobalSecondaryIndexSettingsUpdate, context),
5823
5824
  })), (input.ReplicaProvisionedReadCapacityAutoScalingSettingsUpdate !== undefined &&
@@ -5826,7 +5827,8 @@ var serializeAws_json1_0ReplicaSettingsUpdate = function (input, context) {
5826
5827
  })), (input.ReplicaProvisionedReadCapacityUnits !== undefined &&
5827
5828
  input.ReplicaProvisionedReadCapacityUnits !== null && {
5828
5829
  ReplicaProvisionedReadCapacityUnits: input.ReplicaProvisionedReadCapacityUnits,
5829
- }));
5830
+ })), (input.ReplicaTableClass !== undefined &&
5831
+ input.ReplicaTableClass !== null && { ReplicaTableClass: input.ReplicaTableClass }));
5830
5832
  };
5831
5833
  var serializeAws_json1_0ReplicaSettingsUpdateList = function (input, context) {
5832
5834
  return input
@@ -6105,17 +6107,18 @@ var serializeAws_json1_0UpdateItemInput = function (input, context) {
6105
6107
  input.UpdateExpression !== null && { UpdateExpression: input.UpdateExpression }));
6106
6108
  };
6107
6109
  var serializeAws_json1_0UpdateReplicationGroupMemberAction = function (input, context) {
6108
- return __assign(__assign(__assign(__assign({}, (input.GlobalSecondaryIndexes !== undefined &&
6110
+ return __assign(__assign(__assign(__assign(__assign({}, (input.GlobalSecondaryIndexes !== undefined &&
6109
6111
  input.GlobalSecondaryIndexes !== null && {
6110
6112
  GlobalSecondaryIndexes: serializeAws_json1_0ReplicaGlobalSecondaryIndexList(input.GlobalSecondaryIndexes, context),
6111
6113
  })), (input.KMSMasterKeyId !== undefined &&
6112
6114
  input.KMSMasterKeyId !== null && { KMSMasterKeyId: input.KMSMasterKeyId })), (input.ProvisionedThroughputOverride !== undefined &&
6113
6115
  input.ProvisionedThroughputOverride !== null && {
6114
6116
  ProvisionedThroughputOverride: serializeAws_json1_0ProvisionedThroughputOverride(input.ProvisionedThroughputOverride, context),
6115
- })), (input.RegionName !== undefined && input.RegionName !== null && { RegionName: input.RegionName }));
6117
+ })), (input.RegionName !== undefined && input.RegionName !== null && { RegionName: input.RegionName })), (input.TableClassOverride !== undefined &&
6118
+ input.TableClassOverride !== null && { TableClassOverride: input.TableClassOverride }));
6116
6119
  };
6117
6120
  var serializeAws_json1_0UpdateTableInput = function (input, context) {
6118
- return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AttributeDefinitions !== undefined &&
6121
+ return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AttributeDefinitions !== undefined &&
6119
6122
  input.AttributeDefinitions !== null && {
6120
6123
  AttributeDefinitions: serializeAws_json1_0AttributeDefinitions(input.AttributeDefinitions, context),
6121
6124
  })), (input.BillingMode !== undefined && input.BillingMode !== null && { BillingMode: input.BillingMode })), (input.GlobalSecondaryIndexUpdates !== undefined &&
@@ -6133,7 +6136,7 @@ var serializeAws_json1_0UpdateTableInput = function (input, context) {
6133
6136
  })), (input.StreamSpecification !== undefined &&
6134
6137
  input.StreamSpecification !== null && {
6135
6138
  StreamSpecification: serializeAws_json1_0StreamSpecification(input.StreamSpecification, context),
6136
- })), (input.TableName !== undefined && input.TableName !== null && { TableName: input.TableName }));
6139
+ })), (input.TableClass !== undefined && input.TableClass !== null && { TableClass: input.TableClass })), (input.TableName !== undefined && input.TableName !== null && { TableName: input.TableName }));
6137
6140
  };
6138
6141
  var serializeAws_json1_0UpdateTableReplicaAutoScalingInput = function (input, context) {
6139
6142
  return __assign(__assign(__assign(__assign({}, (input.GlobalSecondaryIndexUpdates !== undefined &&
@@ -7422,6 +7425,9 @@ var deserializeAws_json1_0ReplicaDescription = function (output, context) {
7422
7425
  ReplicaStatus: __expectString(output.ReplicaStatus),
7423
7426
  ReplicaStatusDescription: __expectString(output.ReplicaStatusDescription),
7424
7427
  ReplicaStatusPercentProgress: __expectString(output.ReplicaStatusPercentProgress),
7428
+ ReplicaTableClassSummary: output.ReplicaTableClassSummary !== undefined && output.ReplicaTableClassSummary !== null
7429
+ ? deserializeAws_json1_0TableClassSummary(output.ReplicaTableClassSummary, context)
7430
+ : undefined,
7425
7431
  };
7426
7432
  };
7427
7433
  var deserializeAws_json1_0ReplicaDescriptionList = function (output, context) {
@@ -7537,6 +7543,9 @@ var deserializeAws_json1_0ReplicaSettingsDescription = function (output, context
7537
7543
  : undefined,
7538
7544
  ReplicaProvisionedWriteCapacityUnits: __expectLong(output.ReplicaProvisionedWriteCapacityUnits),
7539
7545
  ReplicaStatus: __expectString(output.ReplicaStatus),
7546
+ ReplicaTableClassSummary: output.ReplicaTableClassSummary !== undefined && output.ReplicaTableClassSummary !== null
7547
+ ? deserializeAws_json1_0TableClassSummary(output.ReplicaTableClassSummary, context)
7548
+ : undefined,
7540
7549
  };
7541
7550
  };
7542
7551
  var deserializeAws_json1_0ReplicaSettingsDescriptionList = function (output, context) {
@@ -7691,6 +7700,14 @@ var deserializeAws_json1_0TableAutoScalingDescription = function (output, contex
7691
7700
  TableStatus: __expectString(output.TableStatus),
7692
7701
  };
7693
7702
  };
7703
+ var deserializeAws_json1_0TableClassSummary = function (output, context) {
7704
+ return {
7705
+ LastUpdateDateTime: output.LastUpdateDateTime !== undefined && output.LastUpdateDateTime !== null
7706
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastUpdateDateTime)))
7707
+ : undefined,
7708
+ TableClass: __expectString(output.TableClass),
7709
+ };
7710
+ };
7694
7711
  var deserializeAws_json1_0TableDescription = function (output, context) {
7695
7712
  return {
7696
7713
  ArchivalSummary: output.ArchivalSummary !== undefined && output.ArchivalSummary !== null
@@ -7734,6 +7751,9 @@ var deserializeAws_json1_0TableDescription = function (output, context) {
7734
7751
  ? deserializeAws_json1_0StreamSpecification(output.StreamSpecification, context)
7735
7752
  : undefined,
7736
7753
  TableArn: __expectString(output.TableArn),
7754
+ TableClassSummary: output.TableClassSummary !== undefined && output.TableClassSummary !== null
7755
+ ? deserializeAws_json1_0TableClassSummary(output.TableClassSummary, context)
7756
+ : undefined,
7737
7757
  TableId: __expectString(output.TableId),
7738
7758
  TableName: __expectString(output.TableName),
7739
7759
  TableSizeBytes: __expectLong(output.TableSizeBytes),
@@ -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
  /**
@@ -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
 
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.43.0",
4
+ "version": "3.44.0",
5
5
  "scripts": {
6
6
  "build": "yarn build:cjs && yarn build:es && yarn build:types",
7
7
  "build:cjs": "tsc -p tsconfig.json",