@aws-sdk/client-dynamodb 3.30.0 → 3.34.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 +35 -0
- package/dist/cjs/DynamoDBClient.js +14 -14
- package/dist/cjs/DynamoDBClient.js.map +1 -1
- package/dist/cjs/commands/BatchExecuteStatementCommand.js +3 -3
- package/dist/cjs/commands/BatchExecuteStatementCommand.js.map +1 -1
- package/dist/cjs/commands/BatchGetItemCommand.js +3 -3
- package/dist/cjs/commands/BatchGetItemCommand.js.map +1 -1
- package/dist/cjs/commands/BatchWriteItemCommand.js +3 -3
- package/dist/cjs/commands/BatchWriteItemCommand.js.map +1 -1
- package/dist/cjs/commands/CreateBackupCommand.js +3 -3
- package/dist/cjs/commands/CreateBackupCommand.js.map +1 -1
- package/dist/cjs/commands/CreateGlobalTableCommand.js +3 -3
- package/dist/cjs/commands/CreateGlobalTableCommand.js.map +1 -1
- package/dist/cjs/commands/CreateTableCommand.js +3 -3
- package/dist/cjs/commands/CreateTableCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteBackupCommand.js +3 -3
- package/dist/cjs/commands/DeleteBackupCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteItemCommand.js +3 -3
- package/dist/cjs/commands/DeleteItemCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteTableCommand.js +3 -3
- package/dist/cjs/commands/DeleteTableCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeBackupCommand.js +3 -3
- package/dist/cjs/commands/DescribeBackupCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeContinuousBackupsCommand.js +3 -3
- package/dist/cjs/commands/DescribeContinuousBackupsCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeContributorInsightsCommand.js +3 -3
- package/dist/cjs/commands/DescribeContributorInsightsCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeEndpointsCommand.js +3 -3
- package/dist/cjs/commands/DescribeEndpointsCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeExportCommand.js +3 -3
- package/dist/cjs/commands/DescribeExportCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeGlobalTableCommand.js +3 -3
- package/dist/cjs/commands/DescribeGlobalTableCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeGlobalTableSettingsCommand.js +3 -3
- package/dist/cjs/commands/DescribeGlobalTableSettingsCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeKinesisStreamingDestinationCommand.js +3 -3
- package/dist/cjs/commands/DescribeKinesisStreamingDestinationCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeLimitsCommand.js +3 -3
- package/dist/cjs/commands/DescribeLimitsCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeTableCommand.js +3 -3
- package/dist/cjs/commands/DescribeTableCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeTableReplicaAutoScalingCommand.js +3 -3
- package/dist/cjs/commands/DescribeTableReplicaAutoScalingCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeTimeToLiveCommand.js +3 -3
- package/dist/cjs/commands/DescribeTimeToLiveCommand.js.map +1 -1
- package/dist/cjs/commands/DisableKinesisStreamingDestinationCommand.js +3 -3
- package/dist/cjs/commands/DisableKinesisStreamingDestinationCommand.js.map +1 -1
- package/dist/cjs/commands/EnableKinesisStreamingDestinationCommand.js +3 -3
- package/dist/cjs/commands/EnableKinesisStreamingDestinationCommand.js.map +1 -1
- package/dist/cjs/commands/ExecuteStatementCommand.js +3 -3
- package/dist/cjs/commands/ExecuteStatementCommand.js.map +1 -1
- package/dist/cjs/commands/ExecuteTransactionCommand.js +3 -3
- package/dist/cjs/commands/ExecuteTransactionCommand.js.map +1 -1
- package/dist/cjs/commands/ExportTableToPointInTimeCommand.js +3 -3
- package/dist/cjs/commands/ExportTableToPointInTimeCommand.js.map +1 -1
- package/dist/cjs/commands/GetItemCommand.js +3 -3
- package/dist/cjs/commands/GetItemCommand.js.map +1 -1
- package/dist/cjs/commands/ListBackupsCommand.js +3 -3
- package/dist/cjs/commands/ListBackupsCommand.js.map +1 -1
- package/dist/cjs/commands/ListContributorInsightsCommand.js +3 -3
- package/dist/cjs/commands/ListContributorInsightsCommand.js.map +1 -1
- package/dist/cjs/commands/ListExportsCommand.js +3 -3
- package/dist/cjs/commands/ListExportsCommand.js.map +1 -1
- package/dist/cjs/commands/ListGlobalTablesCommand.js +3 -3
- package/dist/cjs/commands/ListGlobalTablesCommand.js.map +1 -1
- package/dist/cjs/commands/ListTablesCommand.js +3 -3
- package/dist/cjs/commands/ListTablesCommand.js.map +1 -1
- package/dist/cjs/commands/ListTagsOfResourceCommand.js +3 -3
- package/dist/cjs/commands/ListTagsOfResourceCommand.js.map +1 -1
- package/dist/cjs/commands/PutItemCommand.js +3 -3
- package/dist/cjs/commands/PutItemCommand.js.map +1 -1
- package/dist/cjs/commands/QueryCommand.js +3 -3
- package/dist/cjs/commands/QueryCommand.js.map +1 -1
- package/dist/cjs/commands/RestoreTableFromBackupCommand.js +3 -3
- package/dist/cjs/commands/RestoreTableFromBackupCommand.js.map +1 -1
- package/dist/cjs/commands/RestoreTableToPointInTimeCommand.js +3 -3
- package/dist/cjs/commands/RestoreTableToPointInTimeCommand.js.map +1 -1
- package/dist/cjs/commands/ScanCommand.js +3 -3
- package/dist/cjs/commands/ScanCommand.js.map +1 -1
- package/dist/cjs/commands/TagResourceCommand.js +3 -3
- package/dist/cjs/commands/TagResourceCommand.js.map +1 -1
- package/dist/cjs/commands/TransactGetItemsCommand.js +3 -3
- package/dist/cjs/commands/TransactGetItemsCommand.js.map +1 -1
- package/dist/cjs/commands/TransactWriteItemsCommand.js +3 -3
- package/dist/cjs/commands/TransactWriteItemsCommand.js.map +1 -1
- package/dist/cjs/commands/UntagResourceCommand.js +3 -3
- package/dist/cjs/commands/UntagResourceCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateContinuousBackupsCommand.js +3 -3
- package/dist/cjs/commands/UpdateContinuousBackupsCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateContributorInsightsCommand.js +3 -3
- package/dist/cjs/commands/UpdateContributorInsightsCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateGlobalTableCommand.js +3 -3
- package/dist/cjs/commands/UpdateGlobalTableCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateGlobalTableSettingsCommand.js +3 -3
- package/dist/cjs/commands/UpdateGlobalTableSettingsCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateItemCommand.js +3 -3
- package/dist/cjs/commands/UpdateItemCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateTableCommand.js +3 -3
- package/dist/cjs/commands/UpdateTableCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateTableReplicaAutoScalingCommand.js +3 -3
- package/dist/cjs/commands/UpdateTableReplicaAutoScalingCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateTimeToLiveCommand.js +3 -3
- package/dist/cjs/commands/UpdateTimeToLiveCommand.js.map +1 -1
- package/dist/cjs/endpoints.js +1 -1
- package/dist/cjs/endpoints.js.map +1 -1
- package/dist/cjs/index.js +61 -61
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/models/index.js +1 -1
- package/dist/cjs/models/index.js.map +1 -1
- package/dist/cjs/package.json +41 -41
- package/dist/cjs/protocols/Aws_json1_0.js +252 -250
- package/dist/cjs/protocols/Aws_json1_0.js.map +1 -1
- package/dist/cjs/runtimeConfig.browser.js +4 -4
- package/dist/cjs/runtimeConfig.browser.js.map +1 -1
- package/dist/cjs/runtimeConfig.js +9 -9
- package/dist/cjs/runtimeConfig.js.map +1 -1
- package/dist/cjs/runtimeConfig.native.js +1 -1
- package/dist/cjs/runtimeConfig.native.js.map +1 -1
- package/dist/cjs/waiters/waitForTableExists.js +3 -3
- package/dist/cjs/waiters/waitForTableExists.js.map +1 -1
- package/dist/cjs/waiters/waitForTableNotExists.js +3 -3
- package/dist/cjs/waiters/waitForTableNotExists.js.map +1 -1
- package/dist/es/DynamoDB.js +1 -22
- package/dist/es/DynamoDB.js.map +1 -1
- package/dist/es/DynamoDBClient.js +1 -27
- package/dist/es/DynamoDBClient.js.map +1 -1
- package/dist/es/commands/BatchExecuteStatementCommand.js +2 -29
- package/dist/es/commands/BatchExecuteStatementCommand.js.map +1 -1
- package/dist/es/commands/BatchGetItemCommand.js +2 -72
- package/dist/es/commands/BatchGetItemCommand.js.map +1 -1
- package/dist/es/commands/BatchWriteItemCommand.js +2 -101
- package/dist/es/commands/BatchWriteItemCommand.js.map +1 -1
- package/dist/es/commands/CreateBackupCommand.js +2 -56
- package/dist/es/commands/CreateBackupCommand.js.map +1 -1
- package/dist/es/commands/CreateGlobalTableCommand.js +2 -94
- package/dist/es/commands/CreateGlobalTableCommand.js.map +1 -1
- package/dist/es/commands/CreateTableCommand.js +2 -39
- package/dist/es/commands/CreateTableCommand.js.map +1 -1
- package/dist/es/commands/DeleteBackupCommand.js +2 -28
- package/dist/es/commands/DeleteBackupCommand.js.map +1 -1
- package/dist/es/commands/DeleteItemCommand.js +2 -32
- package/dist/es/commands/DeleteItemCommand.js.map +1 -1
- package/dist/es/commands/DeleteTableCommand.js +2 -43
- package/dist/es/commands/DeleteTableCommand.js.map +1 -1
- package/dist/es/commands/DescribeBackupCommand.js +2 -28
- package/dist/es/commands/DescribeBackupCommand.js.map +1 -1
- package/dist/es/commands/DescribeContinuousBackupsCommand.js +2 -37
- package/dist/es/commands/DescribeContinuousBackupsCommand.js.map +1 -1
- package/dist/es/commands/DescribeContributorInsightsCommand.js +2 -27
- package/dist/es/commands/DescribeContributorInsightsCommand.js.map +1 -1
- package/dist/es/commands/DescribeEndpointsCommand.js +2 -27
- package/dist/es/commands/DescribeEndpointsCommand.js.map +1 -1
- package/dist/es/commands/DescribeExportCommand.js +2 -27
- package/dist/es/commands/DescribeExportCommand.js.map +1 -1
- package/dist/es/commands/DescribeGlobalTableCommand.js +2 -31
- package/dist/es/commands/DescribeGlobalTableCommand.js.map +1 -1
- package/dist/es/commands/DescribeGlobalTableSettingsCommand.js +2 -30
- package/dist/es/commands/DescribeGlobalTableSettingsCommand.js.map +1 -1
- package/dist/es/commands/DescribeKinesisStreamingDestinationCommand.js +2 -27
- package/dist/es/commands/DescribeKinesisStreamingDestinationCommand.js.map +1 -1
- package/dist/es/commands/DescribeLimitsCommand.js +2 -90
- package/dist/es/commands/DescribeLimitsCommand.js.map +1 -1
- package/dist/es/commands/DescribeTableCommand.js +2 -33
- package/dist/es/commands/DescribeTableCommand.js.map +1 -1
- package/dist/es/commands/DescribeTableReplicaAutoScalingCommand.js +2 -30
- package/dist/es/commands/DescribeTableReplicaAutoScalingCommand.js.map +1 -1
- package/dist/es/commands/DescribeTimeToLiveCommand.js +2 -27
- package/dist/es/commands/DescribeTimeToLiveCommand.js.map +1 -1
- package/dist/es/commands/DisableKinesisStreamingDestinationCommand.js +2 -28
- package/dist/es/commands/DisableKinesisStreamingDestinationCommand.js.map +1 -1
- package/dist/es/commands/EnableKinesisStreamingDestinationCommand.js +2 -30
- package/dist/es/commands/EnableKinesisStreamingDestinationCommand.js.map +1 -1
- package/dist/es/commands/ExecuteStatementCommand.js +2 -29
- package/dist/es/commands/ExecuteStatementCommand.js.map +1 -1
- package/dist/es/commands/ExecuteTransactionCommand.js +2 -29
- package/dist/es/commands/ExecuteTransactionCommand.js.map +1 -1
- package/dist/es/commands/ExportTableToPointInTimeCommand.js +2 -29
- package/dist/es/commands/ExportTableToPointInTimeCommand.js.map +1 -1
- package/dist/es/commands/GetItemCommand.js +2 -33
- package/dist/es/commands/GetItemCommand.js.map +1 -1
- package/dist/es/commands/ListBackupsCommand.js +2 -33
- package/dist/es/commands/ListBackupsCommand.js.map +1 -1
- package/dist/es/commands/ListContributorInsightsCommand.js +2 -27
- package/dist/es/commands/ListContributorInsightsCommand.js.map +1 -1
- package/dist/es/commands/ListExportsCommand.js +2 -27
- package/dist/es/commands/ListExportsCommand.js.map +1 -1
- package/dist/es/commands/ListGlobalTablesCommand.js +2 -30
- package/dist/es/commands/ListGlobalTablesCommand.js.map +1 -1
- package/dist/es/commands/ListTablesCommand.js +2 -29
- package/dist/es/commands/ListTablesCommand.js.map +1 -1
- package/dist/es/commands/ListTagsOfResourceCommand.js +2 -30
- package/dist/es/commands/ListTagsOfResourceCommand.js.map +1 -1
- package/dist/es/commands/PutItemCommand.js +2 -94
- package/dist/es/commands/PutItemCommand.js.map +1 -1
- package/dist/es/commands/QueryCommand.js +2 -82
- package/dist/es/commands/QueryCommand.js.map +1 -1
- package/dist/es/commands/RestoreTableFromBackupCommand.js +2 -51
- package/dist/es/commands/RestoreTableFromBackupCommand.js.map +1 -1
- package/dist/es/commands/RestoreTableToPointInTimeCommand.js +2 -82
- package/dist/es/commands/RestoreTableToPointInTimeCommand.js.map +1 -1
- package/dist/es/commands/ScanCommand.js +2 -51
- package/dist/es/commands/ScanCommand.js.map +1 -1
- package/dist/es/commands/TagResourceCommand.js +2 -33
- package/dist/es/commands/TagResourceCommand.js.map +1 -1
- package/dist/es/commands/TransactGetItemsCommand.js +2 -52
- package/dist/es/commands/TransactGetItemsCommand.js.map +1 -1
- package/dist/es/commands/TransactWriteItemsCommand.js +2 -100
- package/dist/es/commands/TransactWriteItemsCommand.js.map +1 -1
- package/dist/es/commands/UntagResourceCommand.js +2 -31
- package/dist/es/commands/UntagResourceCommand.js.map +1 -1
- package/dist/es/commands/UpdateContinuousBackupsCommand.js +2 -38
- package/dist/es/commands/UpdateContinuousBackupsCommand.js.map +1 -1
- package/dist/es/commands/UpdateContributorInsightsCommand.js +2 -27
- package/dist/es/commands/UpdateContributorInsightsCommand.js.map +1 -1
- package/dist/es/commands/UpdateGlobalTableCommand.js +2 -55
- package/dist/es/commands/UpdateGlobalTableCommand.js.map +1 -1
- package/dist/es/commands/UpdateGlobalTableSettingsCommand.js +2 -27
- package/dist/es/commands/UpdateGlobalTableSettingsCommand.js.map +1 -1
- package/dist/es/commands/UpdateItemCommand.js +2 -29
- package/dist/es/commands/UpdateItemCommand.js.map +1 -1
- package/dist/es/commands/UpdateTableCommand.js +2 -49
- package/dist/es/commands/UpdateTableCommand.js.map +1 -1
- package/dist/es/commands/UpdateTableReplicaAutoScalingCommand.js +2 -30
- package/dist/es/commands/UpdateTableReplicaAutoScalingCommand.js.map +1 -1
- package/dist/es/commands/UpdateTimeToLiveCommand.js +2 -51
- package/dist/es/commands/UpdateTimeToLiveCommand.js.map +1 -1
- package/dist/es/endpoints.js +1 -1
- package/dist/es/endpoints.js.map +1 -1
- package/dist/es/models/models_0.js +0 -660
- package/dist/es/models/models_0.js.map +1 -1
- package/dist/es/package.json +41 -41
- package/dist/es/pagination/ListContributorInsightsPaginator.js +16 -28
- package/dist/es/pagination/ListContributorInsightsPaginator.js.map +1 -1
- package/dist/es/pagination/ListExportsPaginator.js +16 -28
- package/dist/es/pagination/ListExportsPaginator.js.map +1 -1
- package/dist/es/pagination/ListTablesPaginator.js +16 -28
- package/dist/es/pagination/ListTablesPaginator.js.map +1 -1
- package/dist/es/pagination/QueryPaginator.js +16 -28
- package/dist/es/pagination/QueryPaginator.js.map +1 -1
- package/dist/es/pagination/ScanPaginator.js +16 -28
- package/dist/es/pagination/ScanPaginator.js.map +1 -1
- package/dist/es/protocols/Aws_json1_0.js +1306 -1309
- package/dist/es/protocols/Aws_json1_0.js.map +1 -1
- package/dist/es/runtimeConfig.browser.js +0 -3
- package/dist/es/runtimeConfig.browser.js.map +1 -1
- package/dist/es/runtimeConfig.js +0 -3
- package/dist/es/runtimeConfig.js.map +1 -1
- package/dist/es/runtimeConfig.native.js +0 -3
- package/dist/es/runtimeConfig.native.js.map +1 -1
- package/dist/es/runtimeConfig.shared.js +0 -3
- package/dist/es/runtimeConfig.shared.js.map +1 -1
- package/dist/es/waiters/waitForTableExists.js +9 -18
- package/dist/es/waiters/waitForTableExists.js.map +1 -1
- package/dist/es/waiters/waitForTableNotExists.js +8 -17
- package/dist/es/waiters/waitForTableNotExists.js.map +1 -1
- package/dist/types/runtimeConfig.browser.d.ts +1 -0
- package/dist/types/runtimeConfig.d.ts +1 -0
- package/dist/types/runtimeConfig.native.d.ts +1 -0
- package/dist/types/ts3.4/runtimeConfig.browser.d.ts +1 -0
- package/dist/types/ts3.4/runtimeConfig.d.ts +1 -0
- package/dist/types/ts3.4/runtimeConfig.native.d.ts +1 -0
- package/package.json +41 -41
- package/protocols/Aws_json1_0.ts +32 -26
- package/tsconfig.es.json +0 -2
- package/tsconfig.json +3 -5
- package/tsconfig.types.json +8 -0
|
@@ -4673,7 +4673,7 @@ const serializeAws_json1_0AutoScalingTargetTrackingScalingPolicyConfigurationUpd
|
|
|
4673
4673
|
...(input.ScaleOutCooldown !== undefined &&
|
|
4674
4674
|
input.ScaleOutCooldown !== null && { ScaleOutCooldown: input.ScaleOutCooldown }),
|
|
4675
4675
|
...(input.TargetValue !== undefined &&
|
|
4676
|
-
input.TargetValue !== null && { TargetValue:
|
|
4676
|
+
input.TargetValue !== null && { TargetValue: smithy_client_1.serializeFloat(input.TargetValue) }),
|
|
4677
4677
|
};
|
|
4678
4678
|
};
|
|
4679
4679
|
const serializeAws_json1_0BatchExecuteStatementInput = (input, context) => {
|
|
@@ -5008,7 +5008,7 @@ const serializeAws_json1_0ExecuteStatementInput = (input, context) => {
|
|
|
5008
5008
|
const serializeAws_json1_0ExecuteTransactionInput = (input, context) => {
|
|
5009
5009
|
var _a;
|
|
5010
5010
|
return {
|
|
5011
|
-
ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a :
|
|
5011
|
+
ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
|
|
5012
5012
|
...(input.TransactStatements !== undefined &&
|
|
5013
5013
|
input.TransactStatements !== null && {
|
|
5014
5014
|
TransactStatements: serializeAws_json1_0ParameterizedStatements(input.TransactStatements, context),
|
|
@@ -5042,7 +5042,7 @@ const serializeAws_json1_0ExpectedAttributeValue = (input, context) => {
|
|
|
5042
5042
|
const serializeAws_json1_0ExportTableToPointInTimeInput = (input, context) => {
|
|
5043
5043
|
var _a;
|
|
5044
5044
|
return {
|
|
5045
|
-
ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a :
|
|
5045
|
+
ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
|
|
5046
5046
|
...(input.ExportFormat !== undefined && input.ExportFormat !== null && { ExportFormat: input.ExportFormat }),
|
|
5047
5047
|
...(input.ExportTime !== undefined &&
|
|
5048
5048
|
input.ExportTime !== null && { ExportTime: Math.round(input.ExportTime.getTime() / 1000) }),
|
|
@@ -5948,7 +5948,7 @@ const serializeAws_json1_0TransactWriteItemList = (input, context) => {
|
|
|
5948
5948
|
const serializeAws_json1_0TransactWriteItemsInput = (input, context) => {
|
|
5949
5949
|
var _a;
|
|
5950
5950
|
return {
|
|
5951
|
-
ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a :
|
|
5951
|
+
ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
|
|
5952
5952
|
...(input.ReturnConsumedCapacity !== undefined &&
|
|
5953
5953
|
input.ReturnConsumedCapacity !== null && { ReturnConsumedCapacity: input.ReturnConsumedCapacity }),
|
|
5954
5954
|
...(input.ReturnItemCollectionMetrics !== undefined &&
|
|
@@ -6172,17 +6172,17 @@ const serializeAws_json1_0WriteRequests = (input, context) => {
|
|
|
6172
6172
|
};
|
|
6173
6173
|
const deserializeAws_json1_0ArchivalSummary = (output, context) => {
|
|
6174
6174
|
return {
|
|
6175
|
-
ArchivalBackupArn:
|
|
6175
|
+
ArchivalBackupArn: smithy_client_1.expectString(output.ArchivalBackupArn),
|
|
6176
6176
|
ArchivalDateTime: output.ArchivalDateTime !== undefined && output.ArchivalDateTime !== null
|
|
6177
|
-
?
|
|
6177
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.ArchivalDateTime)))
|
|
6178
6178
|
: undefined,
|
|
6179
|
-
ArchivalReason:
|
|
6179
|
+
ArchivalReason: smithy_client_1.expectString(output.ArchivalReason),
|
|
6180
6180
|
};
|
|
6181
6181
|
};
|
|
6182
6182
|
const deserializeAws_json1_0AttributeDefinition = (output, context) => {
|
|
6183
6183
|
return {
|
|
6184
|
-
AttributeName:
|
|
6185
|
-
AttributeType:
|
|
6184
|
+
AttributeName: smithy_client_1.expectString(output.AttributeName),
|
|
6185
|
+
AttributeType: smithy_client_1.expectString(output.AttributeType),
|
|
6186
6186
|
};
|
|
6187
6187
|
};
|
|
6188
6188
|
const deserializeAws_json1_0AttributeDefinitions = (output, context) => {
|
|
@@ -6202,7 +6202,7 @@ const deserializeAws_json1_0AttributeMap = (output, context) => {
|
|
|
6202
6202
|
}
|
|
6203
6203
|
return {
|
|
6204
6204
|
...acc,
|
|
6205
|
-
[key]: deserializeAws_json1_0AttributeValue(value, context),
|
|
6205
|
+
[key]: deserializeAws_json1_0AttributeValue(smithy_client_1.expectUnion(value), context),
|
|
6206
6206
|
};
|
|
6207
6207
|
}, {});
|
|
6208
6208
|
};
|
|
@@ -6213,7 +6213,7 @@ const deserializeAws_json1_0AttributeNameList = (output, context) => {
|
|
|
6213
6213
|
if (entry === null) {
|
|
6214
6214
|
return null;
|
|
6215
6215
|
}
|
|
6216
|
-
return
|
|
6216
|
+
return smithy_client_1.expectString(entry);
|
|
6217
6217
|
});
|
|
6218
6218
|
};
|
|
6219
6219
|
const deserializeAws_json1_0AttributeValue = (output, context) => {
|
|
@@ -6222,8 +6222,8 @@ const deserializeAws_json1_0AttributeValue = (output, context) => {
|
|
|
6222
6222
|
B: context.base64Decoder(output.B),
|
|
6223
6223
|
};
|
|
6224
6224
|
}
|
|
6225
|
-
if (
|
|
6226
|
-
return { BOOL:
|
|
6225
|
+
if (smithy_client_1.expectBoolean(output.BOOL) !== undefined) {
|
|
6226
|
+
return { BOOL: smithy_client_1.expectBoolean(output.BOOL) };
|
|
6227
6227
|
}
|
|
6228
6228
|
if (output.BS !== undefined && output.BS !== null) {
|
|
6229
6229
|
return {
|
|
@@ -6240,19 +6240,19 @@ const deserializeAws_json1_0AttributeValue = (output, context) => {
|
|
|
6240
6240
|
M: deserializeAws_json1_0MapAttributeValue(output.M, context),
|
|
6241
6241
|
};
|
|
6242
6242
|
}
|
|
6243
|
-
if (
|
|
6244
|
-
return { N:
|
|
6243
|
+
if (smithy_client_1.expectString(output.N) !== undefined) {
|
|
6244
|
+
return { N: smithy_client_1.expectString(output.N) };
|
|
6245
6245
|
}
|
|
6246
6246
|
if (output.NS !== undefined && output.NS !== null) {
|
|
6247
6247
|
return {
|
|
6248
6248
|
NS: deserializeAws_json1_0NumberSetAttributeValue(output.NS, context),
|
|
6249
6249
|
};
|
|
6250
6250
|
}
|
|
6251
|
-
if (
|
|
6252
|
-
return { NULL:
|
|
6251
|
+
if (smithy_client_1.expectBoolean(output.NULL) !== undefined) {
|
|
6252
|
+
return { NULL: smithy_client_1.expectBoolean(output.NULL) };
|
|
6253
6253
|
}
|
|
6254
|
-
if (
|
|
6255
|
-
return { S:
|
|
6254
|
+
if (smithy_client_1.expectString(output.S) !== undefined) {
|
|
6255
|
+
return { S: smithy_client_1.expectString(output.S) };
|
|
6256
6256
|
}
|
|
6257
6257
|
if (output.SS !== undefined && output.SS !== null) {
|
|
6258
6258
|
return {
|
|
@@ -6263,7 +6263,7 @@ const deserializeAws_json1_0AttributeValue = (output, context) => {
|
|
|
6263
6263
|
};
|
|
6264
6264
|
const deserializeAws_json1_0AutoScalingPolicyDescription = (output, context) => {
|
|
6265
6265
|
return {
|
|
6266
|
-
PolicyName:
|
|
6266
|
+
PolicyName: smithy_client_1.expectString(output.PolicyName),
|
|
6267
6267
|
TargetTrackingScalingPolicyConfiguration: output.TargetTrackingScalingPolicyConfiguration !== undefined &&
|
|
6268
6268
|
output.TargetTrackingScalingPolicyConfiguration !== null
|
|
6269
6269
|
? deserializeAws_json1_0AutoScalingTargetTrackingScalingPolicyConfigurationDescription(output.TargetTrackingScalingPolicyConfiguration, context)
|
|
@@ -6282,10 +6282,10 @@ const deserializeAws_json1_0AutoScalingPolicyDescriptionList = (output, context)
|
|
|
6282
6282
|
};
|
|
6283
6283
|
const deserializeAws_json1_0AutoScalingSettingsDescription = (output, context) => {
|
|
6284
6284
|
return {
|
|
6285
|
-
AutoScalingDisabled:
|
|
6286
|
-
AutoScalingRoleArn:
|
|
6287
|
-
MaximumUnits:
|
|
6288
|
-
MinimumUnits:
|
|
6285
|
+
AutoScalingDisabled: smithy_client_1.expectBoolean(output.AutoScalingDisabled),
|
|
6286
|
+
AutoScalingRoleArn: smithy_client_1.expectString(output.AutoScalingRoleArn),
|
|
6287
|
+
MaximumUnits: smithy_client_1.expectLong(output.MaximumUnits),
|
|
6288
|
+
MinimumUnits: smithy_client_1.expectLong(output.MinimumUnits),
|
|
6289
6289
|
ScalingPolicies: output.ScalingPolicies !== undefined && output.ScalingPolicies !== null
|
|
6290
6290
|
? deserializeAws_json1_0AutoScalingPolicyDescriptionList(output.ScalingPolicies, context)
|
|
6291
6291
|
: undefined,
|
|
@@ -6293,10 +6293,10 @@ const deserializeAws_json1_0AutoScalingSettingsDescription = (output, context) =
|
|
|
6293
6293
|
};
|
|
6294
6294
|
const deserializeAws_json1_0AutoScalingTargetTrackingScalingPolicyConfigurationDescription = (output, context) => {
|
|
6295
6295
|
return {
|
|
6296
|
-
DisableScaleIn:
|
|
6297
|
-
ScaleInCooldown:
|
|
6298
|
-
ScaleOutCooldown:
|
|
6299
|
-
TargetValue:
|
|
6296
|
+
DisableScaleIn: smithy_client_1.expectBoolean(output.DisableScaleIn),
|
|
6297
|
+
ScaleInCooldown: smithy_client_1.expectInt32(output.ScaleInCooldown),
|
|
6298
|
+
ScaleOutCooldown: smithy_client_1.expectInt32(output.ScaleOutCooldown),
|
|
6299
|
+
TargetValue: smithy_client_1.limitedParseDouble(output.TargetValue),
|
|
6300
6300
|
};
|
|
6301
6301
|
};
|
|
6302
6302
|
const deserializeAws_json1_0BackupDescription = (output, context) => {
|
|
@@ -6314,27 +6314,27 @@ const deserializeAws_json1_0BackupDescription = (output, context) => {
|
|
|
6314
6314
|
};
|
|
6315
6315
|
const deserializeAws_json1_0BackupDetails = (output, context) => {
|
|
6316
6316
|
return {
|
|
6317
|
-
BackupArn:
|
|
6317
|
+
BackupArn: smithy_client_1.expectString(output.BackupArn),
|
|
6318
6318
|
BackupCreationDateTime: output.BackupCreationDateTime !== undefined && output.BackupCreationDateTime !== null
|
|
6319
|
-
?
|
|
6319
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.BackupCreationDateTime)))
|
|
6320
6320
|
: undefined,
|
|
6321
6321
|
BackupExpiryDateTime: output.BackupExpiryDateTime !== undefined && output.BackupExpiryDateTime !== null
|
|
6322
|
-
?
|
|
6322
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.BackupExpiryDateTime)))
|
|
6323
6323
|
: undefined,
|
|
6324
|
-
BackupName:
|
|
6325
|
-
BackupSizeBytes:
|
|
6326
|
-
BackupStatus:
|
|
6327
|
-
BackupType:
|
|
6324
|
+
BackupName: smithy_client_1.expectString(output.BackupName),
|
|
6325
|
+
BackupSizeBytes: smithy_client_1.expectLong(output.BackupSizeBytes),
|
|
6326
|
+
BackupStatus: smithy_client_1.expectString(output.BackupStatus),
|
|
6327
|
+
BackupType: smithy_client_1.expectString(output.BackupType),
|
|
6328
6328
|
};
|
|
6329
6329
|
};
|
|
6330
6330
|
const deserializeAws_json1_0BackupInUseException = (output, context) => {
|
|
6331
6331
|
return {
|
|
6332
|
-
message:
|
|
6332
|
+
message: smithy_client_1.expectString(output.message),
|
|
6333
6333
|
};
|
|
6334
6334
|
};
|
|
6335
6335
|
const deserializeAws_json1_0BackupNotFoundException = (output, context) => {
|
|
6336
6336
|
return {
|
|
6337
|
-
message:
|
|
6337
|
+
message: smithy_client_1.expectString(output.message),
|
|
6338
6338
|
};
|
|
6339
6339
|
};
|
|
6340
6340
|
const deserializeAws_json1_0BackupSummaries = (output, context) => {
|
|
@@ -6349,20 +6349,20 @@ const deserializeAws_json1_0BackupSummaries = (output, context) => {
|
|
|
6349
6349
|
};
|
|
6350
6350
|
const deserializeAws_json1_0BackupSummary = (output, context) => {
|
|
6351
6351
|
return {
|
|
6352
|
-
BackupArn:
|
|
6352
|
+
BackupArn: smithy_client_1.expectString(output.BackupArn),
|
|
6353
6353
|
BackupCreationDateTime: output.BackupCreationDateTime !== undefined && output.BackupCreationDateTime !== null
|
|
6354
|
-
?
|
|
6354
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.BackupCreationDateTime)))
|
|
6355
6355
|
: undefined,
|
|
6356
6356
|
BackupExpiryDateTime: output.BackupExpiryDateTime !== undefined && output.BackupExpiryDateTime !== null
|
|
6357
|
-
?
|
|
6357
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.BackupExpiryDateTime)))
|
|
6358
6358
|
: undefined,
|
|
6359
|
-
BackupName:
|
|
6360
|
-
BackupSizeBytes:
|
|
6361
|
-
BackupStatus:
|
|
6362
|
-
BackupType:
|
|
6363
|
-
TableArn:
|
|
6364
|
-
TableId:
|
|
6365
|
-
TableName:
|
|
6359
|
+
BackupName: smithy_client_1.expectString(output.BackupName),
|
|
6360
|
+
BackupSizeBytes: smithy_client_1.expectLong(output.BackupSizeBytes),
|
|
6361
|
+
BackupStatus: smithy_client_1.expectString(output.BackupStatus),
|
|
6362
|
+
BackupType: smithy_client_1.expectString(output.BackupType),
|
|
6363
|
+
TableArn: smithy_client_1.expectString(output.TableArn),
|
|
6364
|
+
TableId: smithy_client_1.expectString(output.TableId),
|
|
6365
|
+
TableName: smithy_client_1.expectString(output.TableName),
|
|
6366
6366
|
};
|
|
6367
6367
|
};
|
|
6368
6368
|
const deserializeAws_json1_0BatchExecuteStatementOutput = (output, context) => {
|
|
@@ -6409,8 +6409,8 @@ const deserializeAws_json1_0BatchGetResponseMap = (output, context) => {
|
|
|
6409
6409
|
};
|
|
6410
6410
|
const deserializeAws_json1_0BatchStatementError = (output, context) => {
|
|
6411
6411
|
return {
|
|
6412
|
-
Code:
|
|
6413
|
-
Message:
|
|
6412
|
+
Code: smithy_client_1.expectString(output.Code),
|
|
6413
|
+
Message: smithy_client_1.expectString(output.Message),
|
|
6414
6414
|
};
|
|
6415
6415
|
};
|
|
6416
6416
|
const deserializeAws_json1_0BatchStatementResponse = (output, context) => {
|
|
@@ -6421,7 +6421,7 @@ const deserializeAws_json1_0BatchStatementResponse = (output, context) => {
|
|
|
6421
6421
|
Item: output.Item !== undefined && output.Item !== null
|
|
6422
6422
|
? deserializeAws_json1_0AttributeMap(output.Item, context)
|
|
6423
6423
|
: undefined,
|
|
6424
|
-
TableName:
|
|
6424
|
+
TableName: smithy_client_1.expectString(output.TableName),
|
|
6425
6425
|
};
|
|
6426
6426
|
};
|
|
6427
6427
|
const deserializeAws_json1_0BatchWriteItemOutput = (output, context) => {
|
|
@@ -6450,9 +6450,9 @@ const deserializeAws_json1_0BatchWriteItemRequestMap = (output, context) => {
|
|
|
6450
6450
|
};
|
|
6451
6451
|
const deserializeAws_json1_0BillingModeSummary = (output, context) => {
|
|
6452
6452
|
return {
|
|
6453
|
-
BillingMode:
|
|
6453
|
+
BillingMode: smithy_client_1.expectString(output.BillingMode),
|
|
6454
6454
|
LastUpdateToPayPerRequestDateTime: output.LastUpdateToPayPerRequestDateTime !== undefined && output.LastUpdateToPayPerRequestDateTime !== null
|
|
6455
|
-
?
|
|
6455
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastUpdateToPayPerRequestDateTime)))
|
|
6456
6456
|
: undefined,
|
|
6457
6457
|
};
|
|
6458
6458
|
};
|
|
@@ -6468,11 +6468,11 @@ const deserializeAws_json1_0BinarySetAttributeValue = (output, context) => {
|
|
|
6468
6468
|
};
|
|
6469
6469
|
const deserializeAws_json1_0CancellationReason = (output, context) => {
|
|
6470
6470
|
return {
|
|
6471
|
-
Code:
|
|
6471
|
+
Code: smithy_client_1.expectString(output.Code),
|
|
6472
6472
|
Item: output.Item !== undefined && output.Item !== null
|
|
6473
6473
|
? deserializeAws_json1_0AttributeMap(output.Item, context)
|
|
6474
6474
|
: undefined,
|
|
6475
|
-
Message:
|
|
6475
|
+
Message: smithy_client_1.expectString(output.Message),
|
|
6476
6476
|
};
|
|
6477
6477
|
};
|
|
6478
6478
|
const deserializeAws_json1_0CancellationReasonList = (output, context) => {
|
|
@@ -6487,31 +6487,31 @@ const deserializeAws_json1_0CancellationReasonList = (output, context) => {
|
|
|
6487
6487
|
};
|
|
6488
6488
|
const deserializeAws_json1_0Capacity = (output, context) => {
|
|
6489
6489
|
return {
|
|
6490
|
-
CapacityUnits:
|
|
6491
|
-
ReadCapacityUnits:
|
|
6492
|
-
WriteCapacityUnits:
|
|
6490
|
+
CapacityUnits: smithy_client_1.limitedParseDouble(output.CapacityUnits),
|
|
6491
|
+
ReadCapacityUnits: smithy_client_1.limitedParseDouble(output.ReadCapacityUnits),
|
|
6492
|
+
WriteCapacityUnits: smithy_client_1.limitedParseDouble(output.WriteCapacityUnits),
|
|
6493
6493
|
};
|
|
6494
6494
|
};
|
|
6495
6495
|
const deserializeAws_json1_0ConditionalCheckFailedException = (output, context) => {
|
|
6496
6496
|
return {
|
|
6497
|
-
message:
|
|
6497
|
+
message: smithy_client_1.expectString(output.message),
|
|
6498
6498
|
};
|
|
6499
6499
|
};
|
|
6500
6500
|
const deserializeAws_json1_0ConsumedCapacity = (output, context) => {
|
|
6501
6501
|
return {
|
|
6502
|
-
CapacityUnits:
|
|
6502
|
+
CapacityUnits: smithy_client_1.limitedParseDouble(output.CapacityUnits),
|
|
6503
6503
|
GlobalSecondaryIndexes: output.GlobalSecondaryIndexes !== undefined && output.GlobalSecondaryIndexes !== null
|
|
6504
6504
|
? deserializeAws_json1_0SecondaryIndexesCapacityMap(output.GlobalSecondaryIndexes, context)
|
|
6505
6505
|
: undefined,
|
|
6506
6506
|
LocalSecondaryIndexes: output.LocalSecondaryIndexes !== undefined && output.LocalSecondaryIndexes !== null
|
|
6507
6507
|
? deserializeAws_json1_0SecondaryIndexesCapacityMap(output.LocalSecondaryIndexes, context)
|
|
6508
6508
|
: undefined,
|
|
6509
|
-
ReadCapacityUnits:
|
|
6509
|
+
ReadCapacityUnits: smithy_client_1.limitedParseDouble(output.ReadCapacityUnits),
|
|
6510
6510
|
Table: output.Table !== undefined && output.Table !== null
|
|
6511
6511
|
? deserializeAws_json1_0Capacity(output.Table, context)
|
|
6512
6512
|
: undefined,
|
|
6513
|
-
TableName:
|
|
6514
|
-
WriteCapacityUnits:
|
|
6513
|
+
TableName: smithy_client_1.expectString(output.TableName),
|
|
6514
|
+
WriteCapacityUnits: smithy_client_1.limitedParseDouble(output.WriteCapacityUnits),
|
|
6515
6515
|
};
|
|
6516
6516
|
};
|
|
6517
6517
|
const deserializeAws_json1_0ConsumedCapacityMultiple = (output, context) => {
|
|
@@ -6526,7 +6526,7 @@ const deserializeAws_json1_0ConsumedCapacityMultiple = (output, context) => {
|
|
|
6526
6526
|
};
|
|
6527
6527
|
const deserializeAws_json1_0ContinuousBackupsDescription = (output, context) => {
|
|
6528
6528
|
return {
|
|
6529
|
-
ContinuousBackupsStatus:
|
|
6529
|
+
ContinuousBackupsStatus: smithy_client_1.expectString(output.ContinuousBackupsStatus),
|
|
6530
6530
|
PointInTimeRecoveryDescription: output.PointInTimeRecoveryDescription !== undefined && output.PointInTimeRecoveryDescription !== null
|
|
6531
6531
|
? deserializeAws_json1_0PointInTimeRecoveryDescription(output.PointInTimeRecoveryDescription, context)
|
|
6532
6532
|
: undefined,
|
|
@@ -6534,7 +6534,7 @@ const deserializeAws_json1_0ContinuousBackupsDescription = (output, context) =>
|
|
|
6534
6534
|
};
|
|
6535
6535
|
const deserializeAws_json1_0ContinuousBackupsUnavailableException = (output, context) => {
|
|
6536
6536
|
return {
|
|
6537
|
-
message:
|
|
6537
|
+
message: smithy_client_1.expectString(output.message),
|
|
6538
6538
|
};
|
|
6539
6539
|
};
|
|
6540
6540
|
const deserializeAws_json1_0ContributorInsightsRuleList = (output, context) => {
|
|
@@ -6544,7 +6544,7 @@ const deserializeAws_json1_0ContributorInsightsRuleList = (output, context) => {
|
|
|
6544
6544
|
if (entry === null) {
|
|
6545
6545
|
return null;
|
|
6546
6546
|
}
|
|
6547
|
-
return
|
|
6547
|
+
return smithy_client_1.expectString(entry);
|
|
6548
6548
|
});
|
|
6549
6549
|
};
|
|
6550
6550
|
const deserializeAws_json1_0ContributorInsightsSummaries = (output, context) => {
|
|
@@ -6559,9 +6559,9 @@ const deserializeAws_json1_0ContributorInsightsSummaries = (output, context) =>
|
|
|
6559
6559
|
};
|
|
6560
6560
|
const deserializeAws_json1_0ContributorInsightsSummary = (output, context) => {
|
|
6561
6561
|
return {
|
|
6562
|
-
ContributorInsightsStatus:
|
|
6563
|
-
IndexName:
|
|
6564
|
-
TableName:
|
|
6562
|
+
ContributorInsightsStatus: smithy_client_1.expectString(output.ContributorInsightsStatus),
|
|
6563
|
+
IndexName: smithy_client_1.expectString(output.IndexName),
|
|
6564
|
+
TableName: smithy_client_1.expectString(output.TableName),
|
|
6565
6565
|
};
|
|
6566
6566
|
};
|
|
6567
6567
|
const deserializeAws_json1_0CreateBackupOutput = (output, context) => {
|
|
@@ -6636,15 +6636,15 @@ const deserializeAws_json1_0DescribeContributorInsightsOutput = (output, context
|
|
|
6636
6636
|
ContributorInsightsRuleList: output.ContributorInsightsRuleList !== undefined && output.ContributorInsightsRuleList !== null
|
|
6637
6637
|
? deserializeAws_json1_0ContributorInsightsRuleList(output.ContributorInsightsRuleList, context)
|
|
6638
6638
|
: undefined,
|
|
6639
|
-
ContributorInsightsStatus:
|
|
6639
|
+
ContributorInsightsStatus: smithy_client_1.expectString(output.ContributorInsightsStatus),
|
|
6640
6640
|
FailureException: output.FailureException !== undefined && output.FailureException !== null
|
|
6641
6641
|
? deserializeAws_json1_0FailureException(output.FailureException, context)
|
|
6642
6642
|
: undefined,
|
|
6643
|
-
IndexName:
|
|
6643
|
+
IndexName: smithy_client_1.expectString(output.IndexName),
|
|
6644
6644
|
LastUpdateDateTime: output.LastUpdateDateTime !== undefined && output.LastUpdateDateTime !== null
|
|
6645
|
-
?
|
|
6645
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastUpdateDateTime)))
|
|
6646
6646
|
: undefined,
|
|
6647
|
-
TableName:
|
|
6647
|
+
TableName: smithy_client_1.expectString(output.TableName),
|
|
6648
6648
|
};
|
|
6649
6649
|
};
|
|
6650
6650
|
const deserializeAws_json1_0DescribeEndpointsResponse = (output, context) => {
|
|
@@ -6670,7 +6670,7 @@ const deserializeAws_json1_0DescribeGlobalTableOutput = (output, context) => {
|
|
|
6670
6670
|
};
|
|
6671
6671
|
const deserializeAws_json1_0DescribeGlobalTableSettingsOutput = (output, context) => {
|
|
6672
6672
|
return {
|
|
6673
|
-
GlobalTableName:
|
|
6673
|
+
GlobalTableName: smithy_client_1.expectString(output.GlobalTableName),
|
|
6674
6674
|
ReplicaSettings: output.ReplicaSettings !== undefined && output.ReplicaSettings !== null
|
|
6675
6675
|
? deserializeAws_json1_0ReplicaSettingsDescriptionList(output.ReplicaSettings, context)
|
|
6676
6676
|
: undefined,
|
|
@@ -6681,15 +6681,15 @@ const deserializeAws_json1_0DescribeKinesisStreamingDestinationOutput = (output,
|
|
|
6681
6681
|
KinesisDataStreamDestinations: output.KinesisDataStreamDestinations !== undefined && output.KinesisDataStreamDestinations !== null
|
|
6682
6682
|
? deserializeAws_json1_0KinesisDataStreamDestinations(output.KinesisDataStreamDestinations, context)
|
|
6683
6683
|
: undefined,
|
|
6684
|
-
TableName:
|
|
6684
|
+
TableName: smithy_client_1.expectString(output.TableName),
|
|
6685
6685
|
};
|
|
6686
6686
|
};
|
|
6687
6687
|
const deserializeAws_json1_0DescribeLimitsOutput = (output, context) => {
|
|
6688
6688
|
return {
|
|
6689
|
-
AccountMaxReadCapacityUnits:
|
|
6690
|
-
AccountMaxWriteCapacityUnits:
|
|
6691
|
-
TableMaxReadCapacityUnits:
|
|
6692
|
-
TableMaxWriteCapacityUnits:
|
|
6689
|
+
AccountMaxReadCapacityUnits: smithy_client_1.expectLong(output.AccountMaxReadCapacityUnits),
|
|
6690
|
+
AccountMaxWriteCapacityUnits: smithy_client_1.expectLong(output.AccountMaxWriteCapacityUnits),
|
|
6691
|
+
TableMaxReadCapacityUnits: smithy_client_1.expectLong(output.TableMaxReadCapacityUnits),
|
|
6692
|
+
TableMaxWriteCapacityUnits: smithy_client_1.expectLong(output.TableMaxWriteCapacityUnits),
|
|
6693
6693
|
};
|
|
6694
6694
|
};
|
|
6695
6695
|
const deserializeAws_json1_0DescribeTableOutput = (output, context) => {
|
|
@@ -6715,13 +6715,13 @@ const deserializeAws_json1_0DescribeTimeToLiveOutput = (output, context) => {
|
|
|
6715
6715
|
};
|
|
6716
6716
|
const deserializeAws_json1_0DuplicateItemException = (output, context) => {
|
|
6717
6717
|
return {
|
|
6718
|
-
message:
|
|
6718
|
+
message: smithy_client_1.expectString(output.message),
|
|
6719
6719
|
};
|
|
6720
6720
|
};
|
|
6721
6721
|
const deserializeAws_json1_0Endpoint = (output, context) => {
|
|
6722
6722
|
return {
|
|
6723
|
-
Address:
|
|
6724
|
-
CachePeriodInMinutes:
|
|
6723
|
+
Address: smithy_client_1.expectString(output.Address),
|
|
6724
|
+
CachePeriodInMinutes: smithy_client_1.expectLong(output.CachePeriodInMinutes),
|
|
6725
6725
|
};
|
|
6726
6726
|
};
|
|
6727
6727
|
const deserializeAws_json1_0Endpoints = (output, context) => {
|
|
@@ -6739,7 +6739,7 @@ const deserializeAws_json1_0ExecuteStatementOutput = (output, context) => {
|
|
|
6739
6739
|
Items: output.Items !== undefined && output.Items !== null
|
|
6740
6740
|
? deserializeAws_json1_0ItemList(output.Items, context)
|
|
6741
6741
|
: undefined,
|
|
6742
|
-
NextToken:
|
|
6742
|
+
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
6743
6743
|
};
|
|
6744
6744
|
};
|
|
6745
6745
|
const deserializeAws_json1_0ExecuteTransactionOutput = (output, context) => {
|
|
@@ -6751,39 +6751,41 @@ const deserializeAws_json1_0ExecuteTransactionOutput = (output, context) => {
|
|
|
6751
6751
|
};
|
|
6752
6752
|
const deserializeAws_json1_0ExportConflictException = (output, context) => {
|
|
6753
6753
|
return {
|
|
6754
|
-
message:
|
|
6754
|
+
message: smithy_client_1.expectString(output.message),
|
|
6755
6755
|
};
|
|
6756
6756
|
};
|
|
6757
6757
|
const deserializeAws_json1_0ExportDescription = (output, context) => {
|
|
6758
6758
|
return {
|
|
6759
|
-
BilledSizeBytes:
|
|
6760
|
-
ClientToken:
|
|
6761
|
-
EndTime: output.EndTime !== undefined && output.EndTime !== null
|
|
6762
|
-
|
|
6763
|
-
|
|
6764
|
-
|
|
6765
|
-
|
|
6759
|
+
BilledSizeBytes: smithy_client_1.expectLong(output.BilledSizeBytes),
|
|
6760
|
+
ClientToken: smithy_client_1.expectString(output.ClientToken),
|
|
6761
|
+
EndTime: output.EndTime !== undefined && output.EndTime !== null
|
|
6762
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.EndTime)))
|
|
6763
|
+
: undefined,
|
|
6764
|
+
ExportArn: smithy_client_1.expectString(output.ExportArn),
|
|
6765
|
+
ExportFormat: smithy_client_1.expectString(output.ExportFormat),
|
|
6766
|
+
ExportManifest: smithy_client_1.expectString(output.ExportManifest),
|
|
6767
|
+
ExportStatus: smithy_client_1.expectString(output.ExportStatus),
|
|
6766
6768
|
ExportTime: output.ExportTime !== undefined && output.ExportTime !== null
|
|
6767
|
-
?
|
|
6768
|
-
: undefined,
|
|
6769
|
-
FailureCode:
|
|
6770
|
-
FailureMessage:
|
|
6771
|
-
ItemCount:
|
|
6772
|
-
S3Bucket:
|
|
6773
|
-
S3BucketOwner:
|
|
6774
|
-
S3Prefix:
|
|
6775
|
-
S3SseAlgorithm:
|
|
6776
|
-
S3SseKmsKeyId:
|
|
6769
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.ExportTime)))
|
|
6770
|
+
: undefined,
|
|
6771
|
+
FailureCode: smithy_client_1.expectString(output.FailureCode),
|
|
6772
|
+
FailureMessage: smithy_client_1.expectString(output.FailureMessage),
|
|
6773
|
+
ItemCount: smithy_client_1.expectLong(output.ItemCount),
|
|
6774
|
+
S3Bucket: smithy_client_1.expectString(output.S3Bucket),
|
|
6775
|
+
S3BucketOwner: smithy_client_1.expectString(output.S3BucketOwner),
|
|
6776
|
+
S3Prefix: smithy_client_1.expectString(output.S3Prefix),
|
|
6777
|
+
S3SseAlgorithm: smithy_client_1.expectString(output.S3SseAlgorithm),
|
|
6778
|
+
S3SseKmsKeyId: smithy_client_1.expectString(output.S3SseKmsKeyId),
|
|
6777
6779
|
StartTime: output.StartTime !== undefined && output.StartTime !== null
|
|
6778
|
-
?
|
|
6780
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.StartTime)))
|
|
6779
6781
|
: undefined,
|
|
6780
|
-
TableArn:
|
|
6781
|
-
TableId:
|
|
6782
|
+
TableArn: smithy_client_1.expectString(output.TableArn),
|
|
6783
|
+
TableId: smithy_client_1.expectString(output.TableId),
|
|
6782
6784
|
};
|
|
6783
6785
|
};
|
|
6784
6786
|
const deserializeAws_json1_0ExportNotFoundException = (output, context) => {
|
|
6785
6787
|
return {
|
|
6786
|
-
message:
|
|
6788
|
+
message: smithy_client_1.expectString(output.message),
|
|
6787
6789
|
};
|
|
6788
6790
|
};
|
|
6789
6791
|
const deserializeAws_json1_0ExportSummaries = (output, context) => {
|
|
@@ -6798,8 +6800,8 @@ const deserializeAws_json1_0ExportSummaries = (output, context) => {
|
|
|
6798
6800
|
};
|
|
6799
6801
|
const deserializeAws_json1_0ExportSummary = (output, context) => {
|
|
6800
6802
|
return {
|
|
6801
|
-
ExportArn:
|
|
6802
|
-
ExportStatus:
|
|
6803
|
+
ExportArn: smithy_client_1.expectString(output.ExportArn),
|
|
6804
|
+
ExportStatus: smithy_client_1.expectString(output.ExportStatus),
|
|
6803
6805
|
};
|
|
6804
6806
|
};
|
|
6805
6807
|
const deserializeAws_json1_0ExportTableToPointInTimeOutput = (output, context) => {
|
|
@@ -6816,14 +6818,14 @@ const deserializeAws_json1_0ExpressionAttributeNameMap = (output, context) => {
|
|
|
6816
6818
|
}
|
|
6817
6819
|
return {
|
|
6818
6820
|
...acc,
|
|
6819
|
-
[key]:
|
|
6821
|
+
[key]: smithy_client_1.expectString(value),
|
|
6820
6822
|
};
|
|
6821
6823
|
}, {});
|
|
6822
6824
|
};
|
|
6823
6825
|
const deserializeAws_json1_0FailureException = (output, context) => {
|
|
6824
6826
|
return {
|
|
6825
|
-
ExceptionDescription:
|
|
6826
|
-
ExceptionName:
|
|
6827
|
+
ExceptionDescription: smithy_client_1.expectString(output.ExceptionDescription),
|
|
6828
|
+
ExceptionName: smithy_client_1.expectString(output.ExceptionName),
|
|
6827
6829
|
};
|
|
6828
6830
|
};
|
|
6829
6831
|
const deserializeAws_json1_0GetItemOutput = (output, context) => {
|
|
@@ -6838,12 +6840,12 @@ const deserializeAws_json1_0GetItemOutput = (output, context) => {
|
|
|
6838
6840
|
};
|
|
6839
6841
|
const deserializeAws_json1_0GlobalSecondaryIndexDescription = (output, context) => {
|
|
6840
6842
|
return {
|
|
6841
|
-
Backfilling:
|
|
6842
|
-
IndexArn:
|
|
6843
|
-
IndexName:
|
|
6844
|
-
IndexSizeBytes:
|
|
6845
|
-
IndexStatus:
|
|
6846
|
-
ItemCount:
|
|
6843
|
+
Backfilling: smithy_client_1.expectBoolean(output.Backfilling),
|
|
6844
|
+
IndexArn: smithy_client_1.expectString(output.IndexArn),
|
|
6845
|
+
IndexName: smithy_client_1.expectString(output.IndexName),
|
|
6846
|
+
IndexSizeBytes: smithy_client_1.expectLong(output.IndexSizeBytes),
|
|
6847
|
+
IndexStatus: smithy_client_1.expectString(output.IndexStatus),
|
|
6848
|
+
ItemCount: smithy_client_1.expectLong(output.ItemCount),
|
|
6847
6849
|
KeySchema: output.KeySchema !== undefined && output.KeySchema !== null
|
|
6848
6850
|
? deserializeAws_json1_0KeySchema(output.KeySchema, context)
|
|
6849
6851
|
: undefined,
|
|
@@ -6877,7 +6879,7 @@ const deserializeAws_json1_0GlobalSecondaryIndexes = (output, context) => {
|
|
|
6877
6879
|
};
|
|
6878
6880
|
const deserializeAws_json1_0GlobalSecondaryIndexInfo = (output, context) => {
|
|
6879
6881
|
return {
|
|
6880
|
-
IndexName:
|
|
6882
|
+
IndexName: smithy_client_1.expectString(output.IndexName),
|
|
6881
6883
|
KeySchema: output.KeySchema !== undefined && output.KeySchema !== null
|
|
6882
6884
|
? deserializeAws_json1_0KeySchema(output.KeySchema, context)
|
|
6883
6885
|
: undefined,
|
|
@@ -6891,7 +6893,7 @@ const deserializeAws_json1_0GlobalSecondaryIndexInfo = (output, context) => {
|
|
|
6891
6893
|
};
|
|
6892
6894
|
const deserializeAws_json1_0GlobalTable = (output, context) => {
|
|
6893
6895
|
return {
|
|
6894
|
-
GlobalTableName:
|
|
6896
|
+
GlobalTableName: smithy_client_1.expectString(output.GlobalTableName),
|
|
6895
6897
|
ReplicationGroup: output.ReplicationGroup !== undefined && output.ReplicationGroup !== null
|
|
6896
6898
|
? deserializeAws_json1_0ReplicaList(output.ReplicationGroup, context)
|
|
6897
6899
|
: undefined,
|
|
@@ -6899,17 +6901,17 @@ const deserializeAws_json1_0GlobalTable = (output, context) => {
|
|
|
6899
6901
|
};
|
|
6900
6902
|
const deserializeAws_json1_0GlobalTableAlreadyExistsException = (output, context) => {
|
|
6901
6903
|
return {
|
|
6902
|
-
message:
|
|
6904
|
+
message: smithy_client_1.expectString(output.message),
|
|
6903
6905
|
};
|
|
6904
6906
|
};
|
|
6905
6907
|
const deserializeAws_json1_0GlobalTableDescription = (output, context) => {
|
|
6906
6908
|
return {
|
|
6907
6909
|
CreationDateTime: output.CreationDateTime !== undefined && output.CreationDateTime !== null
|
|
6908
|
-
?
|
|
6910
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationDateTime)))
|
|
6909
6911
|
: undefined,
|
|
6910
|
-
GlobalTableArn:
|
|
6911
|
-
GlobalTableName:
|
|
6912
|
-
GlobalTableStatus:
|
|
6912
|
+
GlobalTableArn: smithy_client_1.expectString(output.GlobalTableArn),
|
|
6913
|
+
GlobalTableName: smithy_client_1.expectString(output.GlobalTableName),
|
|
6914
|
+
GlobalTableStatus: smithy_client_1.expectString(output.GlobalTableStatus),
|
|
6913
6915
|
ReplicationGroup: output.ReplicationGroup !== undefined && output.ReplicationGroup !== null
|
|
6914
6916
|
? deserializeAws_json1_0ReplicaDescriptionList(output.ReplicationGroup, context)
|
|
6915
6917
|
: undefined,
|
|
@@ -6927,37 +6929,37 @@ const deserializeAws_json1_0GlobalTableList = (output, context) => {
|
|
|
6927
6929
|
};
|
|
6928
6930
|
const deserializeAws_json1_0GlobalTableNotFoundException = (output, context) => {
|
|
6929
6931
|
return {
|
|
6930
|
-
message:
|
|
6932
|
+
message: smithy_client_1.expectString(output.message),
|
|
6931
6933
|
};
|
|
6932
6934
|
};
|
|
6933
6935
|
const deserializeAws_json1_0IdempotentParameterMismatchException = (output, context) => {
|
|
6934
6936
|
return {
|
|
6935
|
-
Message:
|
|
6937
|
+
Message: smithy_client_1.expectString(output.Message),
|
|
6936
6938
|
};
|
|
6937
6939
|
};
|
|
6938
6940
|
const deserializeAws_json1_0IndexNotFoundException = (output, context) => {
|
|
6939
6941
|
return {
|
|
6940
|
-
message:
|
|
6942
|
+
message: smithy_client_1.expectString(output.message),
|
|
6941
6943
|
};
|
|
6942
6944
|
};
|
|
6943
6945
|
const deserializeAws_json1_0InternalServerError = (output, context) => {
|
|
6944
6946
|
return {
|
|
6945
|
-
message:
|
|
6947
|
+
message: smithy_client_1.expectString(output.message),
|
|
6946
6948
|
};
|
|
6947
6949
|
};
|
|
6948
6950
|
const deserializeAws_json1_0InvalidEndpointException = (output, context) => {
|
|
6949
6951
|
return {
|
|
6950
|
-
Message:
|
|
6952
|
+
Message: smithy_client_1.expectString(output.Message),
|
|
6951
6953
|
};
|
|
6952
6954
|
};
|
|
6953
6955
|
const deserializeAws_json1_0InvalidExportTimeException = (output, context) => {
|
|
6954
6956
|
return {
|
|
6955
|
-
message:
|
|
6957
|
+
message: smithy_client_1.expectString(output.message),
|
|
6956
6958
|
};
|
|
6957
6959
|
};
|
|
6958
6960
|
const deserializeAws_json1_0InvalidRestoreTimeException = (output, context) => {
|
|
6959
6961
|
return {
|
|
6960
|
-
message:
|
|
6962
|
+
message: smithy_client_1.expectString(output.message),
|
|
6961
6963
|
};
|
|
6962
6964
|
};
|
|
6963
6965
|
const deserializeAws_json1_0ItemCollectionKeyAttributeMap = (output, context) => {
|
|
@@ -6967,7 +6969,7 @@ const deserializeAws_json1_0ItemCollectionKeyAttributeMap = (output, context) =>
|
|
|
6967
6969
|
}
|
|
6968
6970
|
return {
|
|
6969
6971
|
...acc,
|
|
6970
|
-
[key]: deserializeAws_json1_0AttributeValue(value, context),
|
|
6972
|
+
[key]: deserializeAws_json1_0AttributeValue(smithy_client_1.expectUnion(value), context),
|
|
6971
6973
|
};
|
|
6972
6974
|
}, {});
|
|
6973
6975
|
};
|
|
@@ -7009,12 +7011,12 @@ const deserializeAws_json1_0ItemCollectionSizeEstimateRange = (output, context)
|
|
|
7009
7011
|
if (entry === null) {
|
|
7010
7012
|
return null;
|
|
7011
7013
|
}
|
|
7012
|
-
return
|
|
7014
|
+
return smithy_client_1.limitedParseDouble(entry);
|
|
7013
7015
|
});
|
|
7014
7016
|
};
|
|
7015
7017
|
const deserializeAws_json1_0ItemCollectionSizeLimitExceededException = (output, context) => {
|
|
7016
7018
|
return {
|
|
7017
|
-
message:
|
|
7019
|
+
message: smithy_client_1.expectString(output.message),
|
|
7018
7020
|
};
|
|
7019
7021
|
};
|
|
7020
7022
|
const deserializeAws_json1_0ItemList = (output, context) => {
|
|
@@ -7051,7 +7053,7 @@ const deserializeAws_json1_0Key = (output, context) => {
|
|
|
7051
7053
|
}
|
|
7052
7054
|
return {
|
|
7053
7055
|
...acc,
|
|
7054
|
-
[key]: deserializeAws_json1_0AttributeValue(value, context),
|
|
7056
|
+
[key]: deserializeAws_json1_0AttributeValue(smithy_client_1.expectUnion(value), context),
|
|
7055
7057
|
};
|
|
7056
7058
|
}, {});
|
|
7057
7059
|
};
|
|
@@ -7070,14 +7072,14 @@ const deserializeAws_json1_0KeysAndAttributes = (output, context) => {
|
|
|
7070
7072
|
AttributesToGet: output.AttributesToGet !== undefined && output.AttributesToGet !== null
|
|
7071
7073
|
? deserializeAws_json1_0AttributeNameList(output.AttributesToGet, context)
|
|
7072
7074
|
: undefined,
|
|
7073
|
-
ConsistentRead:
|
|
7075
|
+
ConsistentRead: smithy_client_1.expectBoolean(output.ConsistentRead),
|
|
7074
7076
|
ExpressionAttributeNames: output.ExpressionAttributeNames !== undefined && output.ExpressionAttributeNames !== null
|
|
7075
7077
|
? deserializeAws_json1_0ExpressionAttributeNameMap(output.ExpressionAttributeNames, context)
|
|
7076
7078
|
: undefined,
|
|
7077
7079
|
Keys: output.Keys !== undefined && output.Keys !== null
|
|
7078
7080
|
? deserializeAws_json1_0KeyList(output.Keys, context)
|
|
7079
7081
|
: undefined,
|
|
7080
|
-
ProjectionExpression:
|
|
7082
|
+
ProjectionExpression: smithy_client_1.expectString(output.ProjectionExpression),
|
|
7081
7083
|
};
|
|
7082
7084
|
};
|
|
7083
7085
|
const deserializeAws_json1_0KeySchema = (output, context) => {
|
|
@@ -7092,15 +7094,15 @@ const deserializeAws_json1_0KeySchema = (output, context) => {
|
|
|
7092
7094
|
};
|
|
7093
7095
|
const deserializeAws_json1_0KeySchemaElement = (output, context) => {
|
|
7094
7096
|
return {
|
|
7095
|
-
AttributeName:
|
|
7096
|
-
KeyType:
|
|
7097
|
+
AttributeName: smithy_client_1.expectString(output.AttributeName),
|
|
7098
|
+
KeyType: smithy_client_1.expectString(output.KeyType),
|
|
7097
7099
|
};
|
|
7098
7100
|
};
|
|
7099
7101
|
const deserializeAws_json1_0KinesisDataStreamDestination = (output, context) => {
|
|
7100
7102
|
return {
|
|
7101
|
-
DestinationStatus:
|
|
7102
|
-
DestinationStatusDescription:
|
|
7103
|
-
StreamArn:
|
|
7103
|
+
DestinationStatus: smithy_client_1.expectString(output.DestinationStatus),
|
|
7104
|
+
DestinationStatusDescription: smithy_client_1.expectString(output.DestinationStatusDescription),
|
|
7105
|
+
StreamArn: smithy_client_1.expectString(output.StreamArn),
|
|
7104
7106
|
};
|
|
7105
7107
|
};
|
|
7106
7108
|
const deserializeAws_json1_0KinesisDataStreamDestinations = (output, context) => {
|
|
@@ -7115,14 +7117,14 @@ const deserializeAws_json1_0KinesisDataStreamDestinations = (output, context) =>
|
|
|
7115
7117
|
};
|
|
7116
7118
|
const deserializeAws_json1_0KinesisStreamingDestinationOutput = (output, context) => {
|
|
7117
7119
|
return {
|
|
7118
|
-
DestinationStatus:
|
|
7119
|
-
StreamArn:
|
|
7120
|
-
TableName:
|
|
7120
|
+
DestinationStatus: smithy_client_1.expectString(output.DestinationStatus),
|
|
7121
|
+
StreamArn: smithy_client_1.expectString(output.StreamArn),
|
|
7122
|
+
TableName: smithy_client_1.expectString(output.TableName),
|
|
7121
7123
|
};
|
|
7122
7124
|
};
|
|
7123
7125
|
const deserializeAws_json1_0LimitExceededException = (output, context) => {
|
|
7124
7126
|
return {
|
|
7125
|
-
message:
|
|
7127
|
+
message: smithy_client_1.expectString(output.message),
|
|
7126
7128
|
};
|
|
7127
7129
|
};
|
|
7128
7130
|
const deserializeAws_json1_0ListAttributeValue = (output, context) => {
|
|
@@ -7132,7 +7134,7 @@ const deserializeAws_json1_0ListAttributeValue = (output, context) => {
|
|
|
7132
7134
|
if (entry === null) {
|
|
7133
7135
|
return null;
|
|
7134
7136
|
}
|
|
7135
|
-
return deserializeAws_json1_0AttributeValue(entry, context);
|
|
7137
|
+
return deserializeAws_json1_0AttributeValue(smithy_client_1.expectUnion(entry), context);
|
|
7136
7138
|
});
|
|
7137
7139
|
};
|
|
7138
7140
|
const deserializeAws_json1_0ListBackupsOutput = (output, context) => {
|
|
@@ -7140,7 +7142,7 @@ const deserializeAws_json1_0ListBackupsOutput = (output, context) => {
|
|
|
7140
7142
|
BackupSummaries: output.BackupSummaries !== undefined && output.BackupSummaries !== null
|
|
7141
7143
|
? deserializeAws_json1_0BackupSummaries(output.BackupSummaries, context)
|
|
7142
7144
|
: undefined,
|
|
7143
|
-
LastEvaluatedBackupArn:
|
|
7145
|
+
LastEvaluatedBackupArn: smithy_client_1.expectString(output.LastEvaluatedBackupArn),
|
|
7144
7146
|
};
|
|
7145
7147
|
};
|
|
7146
7148
|
const deserializeAws_json1_0ListContributorInsightsOutput = (output, context) => {
|
|
@@ -7148,7 +7150,7 @@ const deserializeAws_json1_0ListContributorInsightsOutput = (output, context) =>
|
|
|
7148
7150
|
ContributorInsightsSummaries: output.ContributorInsightsSummaries !== undefined && output.ContributorInsightsSummaries !== null
|
|
7149
7151
|
? deserializeAws_json1_0ContributorInsightsSummaries(output.ContributorInsightsSummaries, context)
|
|
7150
7152
|
: undefined,
|
|
7151
|
-
NextToken:
|
|
7153
|
+
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
7152
7154
|
};
|
|
7153
7155
|
};
|
|
7154
7156
|
const deserializeAws_json1_0ListExportsOutput = (output, context) => {
|
|
@@ -7156,7 +7158,7 @@ const deserializeAws_json1_0ListExportsOutput = (output, context) => {
|
|
|
7156
7158
|
ExportSummaries: output.ExportSummaries !== undefined && output.ExportSummaries !== null
|
|
7157
7159
|
? deserializeAws_json1_0ExportSummaries(output.ExportSummaries, context)
|
|
7158
7160
|
: undefined,
|
|
7159
|
-
NextToken:
|
|
7161
|
+
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
7160
7162
|
};
|
|
7161
7163
|
};
|
|
7162
7164
|
const deserializeAws_json1_0ListGlobalTablesOutput = (output, context) => {
|
|
@@ -7164,12 +7166,12 @@ const deserializeAws_json1_0ListGlobalTablesOutput = (output, context) => {
|
|
|
7164
7166
|
GlobalTables: output.GlobalTables !== undefined && output.GlobalTables !== null
|
|
7165
7167
|
? deserializeAws_json1_0GlobalTableList(output.GlobalTables, context)
|
|
7166
7168
|
: undefined,
|
|
7167
|
-
LastEvaluatedGlobalTableName:
|
|
7169
|
+
LastEvaluatedGlobalTableName: smithy_client_1.expectString(output.LastEvaluatedGlobalTableName),
|
|
7168
7170
|
};
|
|
7169
7171
|
};
|
|
7170
7172
|
const deserializeAws_json1_0ListTablesOutput = (output, context) => {
|
|
7171
7173
|
return {
|
|
7172
|
-
LastEvaluatedTableName:
|
|
7174
|
+
LastEvaluatedTableName: smithy_client_1.expectString(output.LastEvaluatedTableName),
|
|
7173
7175
|
TableNames: output.TableNames !== undefined && output.TableNames !== null
|
|
7174
7176
|
? deserializeAws_json1_0TableNameList(output.TableNames, context)
|
|
7175
7177
|
: undefined,
|
|
@@ -7177,7 +7179,7 @@ const deserializeAws_json1_0ListTablesOutput = (output, context) => {
|
|
|
7177
7179
|
};
|
|
7178
7180
|
const deserializeAws_json1_0ListTagsOfResourceOutput = (output, context) => {
|
|
7179
7181
|
return {
|
|
7180
|
-
NextToken:
|
|
7182
|
+
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
7181
7183
|
Tags: output.Tags !== undefined && output.Tags !== null
|
|
7182
7184
|
? deserializeAws_json1_0TagList(output.Tags, context)
|
|
7183
7185
|
: undefined,
|
|
@@ -7185,10 +7187,10 @@ const deserializeAws_json1_0ListTagsOfResourceOutput = (output, context) => {
|
|
|
7185
7187
|
};
|
|
7186
7188
|
const deserializeAws_json1_0LocalSecondaryIndexDescription = (output, context) => {
|
|
7187
7189
|
return {
|
|
7188
|
-
IndexArn:
|
|
7189
|
-
IndexName:
|
|
7190
|
-
IndexSizeBytes:
|
|
7191
|
-
ItemCount:
|
|
7190
|
+
IndexArn: smithy_client_1.expectString(output.IndexArn),
|
|
7191
|
+
IndexName: smithy_client_1.expectString(output.IndexName),
|
|
7192
|
+
IndexSizeBytes: smithy_client_1.expectLong(output.IndexSizeBytes),
|
|
7193
|
+
ItemCount: smithy_client_1.expectLong(output.ItemCount),
|
|
7192
7194
|
KeySchema: output.KeySchema !== undefined && output.KeySchema !== null
|
|
7193
7195
|
? deserializeAws_json1_0KeySchema(output.KeySchema, context)
|
|
7194
7196
|
: undefined,
|
|
@@ -7219,7 +7221,7 @@ const deserializeAws_json1_0LocalSecondaryIndexes = (output, context) => {
|
|
|
7219
7221
|
};
|
|
7220
7222
|
const deserializeAws_json1_0LocalSecondaryIndexInfo = (output, context) => {
|
|
7221
7223
|
return {
|
|
7222
|
-
IndexName:
|
|
7224
|
+
IndexName: smithy_client_1.expectString(output.IndexName),
|
|
7223
7225
|
KeySchema: output.KeySchema !== undefined && output.KeySchema !== null
|
|
7224
7226
|
? deserializeAws_json1_0KeySchema(output.KeySchema, context)
|
|
7225
7227
|
: undefined,
|
|
@@ -7235,7 +7237,7 @@ const deserializeAws_json1_0MapAttributeValue = (output, context) => {
|
|
|
7235
7237
|
}
|
|
7236
7238
|
return {
|
|
7237
7239
|
...acc,
|
|
7238
|
-
[key]: deserializeAws_json1_0AttributeValue(value, context),
|
|
7240
|
+
[key]: deserializeAws_json1_0AttributeValue(smithy_client_1.expectUnion(value), context),
|
|
7239
7241
|
};
|
|
7240
7242
|
}, {});
|
|
7241
7243
|
};
|
|
@@ -7246,7 +7248,7 @@ const deserializeAws_json1_0NonKeyAttributeNameList = (output, context) => {
|
|
|
7246
7248
|
if (entry === null) {
|
|
7247
7249
|
return null;
|
|
7248
7250
|
}
|
|
7249
|
-
return
|
|
7251
|
+
return smithy_client_1.expectString(entry);
|
|
7250
7252
|
});
|
|
7251
7253
|
};
|
|
7252
7254
|
const deserializeAws_json1_0NumberSetAttributeValue = (output, context) => {
|
|
@@ -7256,7 +7258,7 @@ const deserializeAws_json1_0NumberSetAttributeValue = (output, context) => {
|
|
|
7256
7258
|
if (entry === null) {
|
|
7257
7259
|
return null;
|
|
7258
7260
|
}
|
|
7259
|
-
return
|
|
7261
|
+
return smithy_client_1.expectString(entry);
|
|
7260
7262
|
});
|
|
7261
7263
|
};
|
|
7262
7264
|
const deserializeAws_json1_0PartiQLBatchResponse = (output, context) => {
|
|
@@ -7272,17 +7274,17 @@ const deserializeAws_json1_0PartiQLBatchResponse = (output, context) => {
|
|
|
7272
7274
|
const deserializeAws_json1_0PointInTimeRecoveryDescription = (output, context) => {
|
|
7273
7275
|
return {
|
|
7274
7276
|
EarliestRestorableDateTime: output.EarliestRestorableDateTime !== undefined && output.EarliestRestorableDateTime !== null
|
|
7275
|
-
?
|
|
7277
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.EarliestRestorableDateTime)))
|
|
7276
7278
|
: undefined,
|
|
7277
7279
|
LatestRestorableDateTime: output.LatestRestorableDateTime !== undefined && output.LatestRestorableDateTime !== null
|
|
7278
|
-
?
|
|
7280
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LatestRestorableDateTime)))
|
|
7279
7281
|
: undefined,
|
|
7280
|
-
PointInTimeRecoveryStatus:
|
|
7282
|
+
PointInTimeRecoveryStatus: smithy_client_1.expectString(output.PointInTimeRecoveryStatus),
|
|
7281
7283
|
};
|
|
7282
7284
|
};
|
|
7283
7285
|
const deserializeAws_json1_0PointInTimeRecoveryUnavailableException = (output, context) => {
|
|
7284
7286
|
return {
|
|
7285
|
-
message:
|
|
7287
|
+
message: smithy_client_1.expectString(output.message),
|
|
7286
7288
|
};
|
|
7287
7289
|
};
|
|
7288
7290
|
const deserializeAws_json1_0Projection = (output, context) => {
|
|
@@ -7290,36 +7292,36 @@ const deserializeAws_json1_0Projection = (output, context) => {
|
|
|
7290
7292
|
NonKeyAttributes: output.NonKeyAttributes !== undefined && output.NonKeyAttributes !== null
|
|
7291
7293
|
? deserializeAws_json1_0NonKeyAttributeNameList(output.NonKeyAttributes, context)
|
|
7292
7294
|
: undefined,
|
|
7293
|
-
ProjectionType:
|
|
7295
|
+
ProjectionType: smithy_client_1.expectString(output.ProjectionType),
|
|
7294
7296
|
};
|
|
7295
7297
|
};
|
|
7296
7298
|
const deserializeAws_json1_0ProvisionedThroughput = (output, context) => {
|
|
7297
7299
|
return {
|
|
7298
|
-
ReadCapacityUnits:
|
|
7299
|
-
WriteCapacityUnits:
|
|
7300
|
+
ReadCapacityUnits: smithy_client_1.expectLong(output.ReadCapacityUnits),
|
|
7301
|
+
WriteCapacityUnits: smithy_client_1.expectLong(output.WriteCapacityUnits),
|
|
7300
7302
|
};
|
|
7301
7303
|
};
|
|
7302
7304
|
const deserializeAws_json1_0ProvisionedThroughputDescription = (output, context) => {
|
|
7303
7305
|
return {
|
|
7304
7306
|
LastDecreaseDateTime: output.LastDecreaseDateTime !== undefined && output.LastDecreaseDateTime !== null
|
|
7305
|
-
?
|
|
7307
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastDecreaseDateTime)))
|
|
7306
7308
|
: undefined,
|
|
7307
7309
|
LastIncreaseDateTime: output.LastIncreaseDateTime !== undefined && output.LastIncreaseDateTime !== null
|
|
7308
|
-
?
|
|
7310
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastIncreaseDateTime)))
|
|
7309
7311
|
: undefined,
|
|
7310
|
-
NumberOfDecreasesToday:
|
|
7311
|
-
ReadCapacityUnits:
|
|
7312
|
-
WriteCapacityUnits:
|
|
7312
|
+
NumberOfDecreasesToday: smithy_client_1.expectLong(output.NumberOfDecreasesToday),
|
|
7313
|
+
ReadCapacityUnits: smithy_client_1.expectLong(output.ReadCapacityUnits),
|
|
7314
|
+
WriteCapacityUnits: smithy_client_1.expectLong(output.WriteCapacityUnits),
|
|
7313
7315
|
};
|
|
7314
7316
|
};
|
|
7315
7317
|
const deserializeAws_json1_0ProvisionedThroughputExceededException = (output, context) => {
|
|
7316
7318
|
return {
|
|
7317
|
-
message:
|
|
7319
|
+
message: smithy_client_1.expectString(output.message),
|
|
7318
7320
|
};
|
|
7319
7321
|
};
|
|
7320
7322
|
const deserializeAws_json1_0ProvisionedThroughputOverride = (output, context) => {
|
|
7321
7323
|
return {
|
|
7322
|
-
ReadCapacityUnits:
|
|
7324
|
+
ReadCapacityUnits: smithy_client_1.expectLong(output.ReadCapacityUnits),
|
|
7323
7325
|
};
|
|
7324
7326
|
};
|
|
7325
7327
|
const deserializeAws_json1_0PutItemInputAttributeMap = (output, context) => {
|
|
@@ -7329,7 +7331,7 @@ const deserializeAws_json1_0PutItemInputAttributeMap = (output, context) => {
|
|
|
7329
7331
|
}
|
|
7330
7332
|
return {
|
|
7331
7333
|
...acc,
|
|
7332
|
-
[key]: deserializeAws_json1_0AttributeValue(value, context),
|
|
7334
|
+
[key]: deserializeAws_json1_0AttributeValue(smithy_client_1.expectUnion(value), context),
|
|
7333
7335
|
};
|
|
7334
7336
|
}, {});
|
|
7335
7337
|
};
|
|
@@ -7358,24 +7360,24 @@ const deserializeAws_json1_0QueryOutput = (output, context) => {
|
|
|
7358
7360
|
ConsumedCapacity: output.ConsumedCapacity !== undefined && output.ConsumedCapacity !== null
|
|
7359
7361
|
? deserializeAws_json1_0ConsumedCapacity(output.ConsumedCapacity, context)
|
|
7360
7362
|
: undefined,
|
|
7361
|
-
Count:
|
|
7363
|
+
Count: smithy_client_1.expectInt32(output.Count),
|
|
7362
7364
|
Items: output.Items !== undefined && output.Items !== null
|
|
7363
7365
|
? deserializeAws_json1_0ItemList(output.Items, context)
|
|
7364
7366
|
: undefined,
|
|
7365
7367
|
LastEvaluatedKey: output.LastEvaluatedKey !== undefined && output.LastEvaluatedKey !== null
|
|
7366
7368
|
? deserializeAws_json1_0Key(output.LastEvaluatedKey, context)
|
|
7367
7369
|
: undefined,
|
|
7368
|
-
ScannedCount:
|
|
7370
|
+
ScannedCount: smithy_client_1.expectInt32(output.ScannedCount),
|
|
7369
7371
|
};
|
|
7370
7372
|
};
|
|
7371
7373
|
const deserializeAws_json1_0Replica = (output, context) => {
|
|
7372
7374
|
return {
|
|
7373
|
-
RegionName:
|
|
7375
|
+
RegionName: smithy_client_1.expectString(output.RegionName),
|
|
7374
7376
|
};
|
|
7375
7377
|
};
|
|
7376
7378
|
const deserializeAws_json1_0ReplicaAlreadyExistsException = (output, context) => {
|
|
7377
7379
|
return {
|
|
7378
|
-
message:
|
|
7380
|
+
message: smithy_client_1.expectString(output.message),
|
|
7379
7381
|
};
|
|
7380
7382
|
};
|
|
7381
7383
|
const deserializeAws_json1_0ReplicaAutoScalingDescription = (output, context) => {
|
|
@@ -7383,7 +7385,7 @@ const deserializeAws_json1_0ReplicaAutoScalingDescription = (output, context) =>
|
|
|
7383
7385
|
GlobalSecondaryIndexes: output.GlobalSecondaryIndexes !== undefined && output.GlobalSecondaryIndexes !== null
|
|
7384
7386
|
? deserializeAws_json1_0ReplicaGlobalSecondaryIndexAutoScalingDescriptionList(output.GlobalSecondaryIndexes, context)
|
|
7385
7387
|
: undefined,
|
|
7386
|
-
RegionName:
|
|
7388
|
+
RegionName: smithy_client_1.expectString(output.RegionName),
|
|
7387
7389
|
ReplicaProvisionedReadCapacityAutoScalingSettings: output.ReplicaProvisionedReadCapacityAutoScalingSettings !== undefined &&
|
|
7388
7390
|
output.ReplicaProvisionedReadCapacityAutoScalingSettings !== null
|
|
7389
7391
|
? deserializeAws_json1_0AutoScalingSettingsDescription(output.ReplicaProvisionedReadCapacityAutoScalingSettings, context)
|
|
@@ -7392,7 +7394,7 @@ const deserializeAws_json1_0ReplicaAutoScalingDescription = (output, context) =>
|
|
|
7392
7394
|
output.ReplicaProvisionedWriteCapacityAutoScalingSettings !== null
|
|
7393
7395
|
? deserializeAws_json1_0AutoScalingSettingsDescription(output.ReplicaProvisionedWriteCapacityAutoScalingSettings, context)
|
|
7394
7396
|
: undefined,
|
|
7395
|
-
ReplicaStatus:
|
|
7397
|
+
ReplicaStatus: smithy_client_1.expectString(output.ReplicaStatus),
|
|
7396
7398
|
};
|
|
7397
7399
|
};
|
|
7398
7400
|
const deserializeAws_json1_0ReplicaAutoScalingDescriptionList = (output, context) => {
|
|
@@ -7410,17 +7412,17 @@ const deserializeAws_json1_0ReplicaDescription = (output, context) => {
|
|
|
7410
7412
|
GlobalSecondaryIndexes: output.GlobalSecondaryIndexes !== undefined && output.GlobalSecondaryIndexes !== null
|
|
7411
7413
|
? deserializeAws_json1_0ReplicaGlobalSecondaryIndexDescriptionList(output.GlobalSecondaryIndexes, context)
|
|
7412
7414
|
: undefined,
|
|
7413
|
-
KMSMasterKeyId:
|
|
7415
|
+
KMSMasterKeyId: smithy_client_1.expectString(output.KMSMasterKeyId),
|
|
7414
7416
|
ProvisionedThroughputOverride: output.ProvisionedThroughputOverride !== undefined && output.ProvisionedThroughputOverride !== null
|
|
7415
7417
|
? deserializeAws_json1_0ProvisionedThroughputOverride(output.ProvisionedThroughputOverride, context)
|
|
7416
7418
|
: undefined,
|
|
7417
|
-
RegionName:
|
|
7419
|
+
RegionName: smithy_client_1.expectString(output.RegionName),
|
|
7418
7420
|
ReplicaInaccessibleDateTime: output.ReplicaInaccessibleDateTime !== undefined && output.ReplicaInaccessibleDateTime !== null
|
|
7419
|
-
?
|
|
7421
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.ReplicaInaccessibleDateTime)))
|
|
7420
7422
|
: undefined,
|
|
7421
|
-
ReplicaStatus:
|
|
7422
|
-
ReplicaStatusDescription:
|
|
7423
|
-
ReplicaStatusPercentProgress:
|
|
7423
|
+
ReplicaStatus: smithy_client_1.expectString(output.ReplicaStatus),
|
|
7424
|
+
ReplicaStatusDescription: smithy_client_1.expectString(output.ReplicaStatusDescription),
|
|
7425
|
+
ReplicaStatusPercentProgress: smithy_client_1.expectString(output.ReplicaStatusPercentProgress),
|
|
7424
7426
|
};
|
|
7425
7427
|
};
|
|
7426
7428
|
const deserializeAws_json1_0ReplicaDescriptionList = (output, context) => {
|
|
@@ -7435,8 +7437,8 @@ const deserializeAws_json1_0ReplicaDescriptionList = (output, context) => {
|
|
|
7435
7437
|
};
|
|
7436
7438
|
const deserializeAws_json1_0ReplicaGlobalSecondaryIndexAutoScalingDescription = (output, context) => {
|
|
7437
7439
|
return {
|
|
7438
|
-
IndexName:
|
|
7439
|
-
IndexStatus:
|
|
7440
|
+
IndexName: smithy_client_1.expectString(output.IndexName),
|
|
7441
|
+
IndexStatus: smithy_client_1.expectString(output.IndexStatus),
|
|
7440
7442
|
ProvisionedReadCapacityAutoScalingSettings: output.ProvisionedReadCapacityAutoScalingSettings !== undefined &&
|
|
7441
7443
|
output.ProvisionedReadCapacityAutoScalingSettings !== null
|
|
7442
7444
|
? deserializeAws_json1_0AutoScalingSettingsDescription(output.ProvisionedReadCapacityAutoScalingSettings, context)
|
|
@@ -7459,7 +7461,7 @@ const deserializeAws_json1_0ReplicaGlobalSecondaryIndexAutoScalingDescriptionLis
|
|
|
7459
7461
|
};
|
|
7460
7462
|
const deserializeAws_json1_0ReplicaGlobalSecondaryIndexDescription = (output, context) => {
|
|
7461
7463
|
return {
|
|
7462
|
-
IndexName:
|
|
7464
|
+
IndexName: smithy_client_1.expectString(output.IndexName),
|
|
7463
7465
|
ProvisionedThroughputOverride: output.ProvisionedThroughputOverride !== undefined && output.ProvisionedThroughputOverride !== null
|
|
7464
7466
|
? deserializeAws_json1_0ProvisionedThroughputOverride(output.ProvisionedThroughputOverride, context)
|
|
7465
7467
|
: undefined,
|
|
@@ -7477,18 +7479,18 @@ const deserializeAws_json1_0ReplicaGlobalSecondaryIndexDescriptionList = (output
|
|
|
7477
7479
|
};
|
|
7478
7480
|
const deserializeAws_json1_0ReplicaGlobalSecondaryIndexSettingsDescription = (output, context) => {
|
|
7479
7481
|
return {
|
|
7480
|
-
IndexName:
|
|
7481
|
-
IndexStatus:
|
|
7482
|
+
IndexName: smithy_client_1.expectString(output.IndexName),
|
|
7483
|
+
IndexStatus: smithy_client_1.expectString(output.IndexStatus),
|
|
7482
7484
|
ProvisionedReadCapacityAutoScalingSettings: output.ProvisionedReadCapacityAutoScalingSettings !== undefined &&
|
|
7483
7485
|
output.ProvisionedReadCapacityAutoScalingSettings !== null
|
|
7484
7486
|
? deserializeAws_json1_0AutoScalingSettingsDescription(output.ProvisionedReadCapacityAutoScalingSettings, context)
|
|
7485
7487
|
: undefined,
|
|
7486
|
-
ProvisionedReadCapacityUnits:
|
|
7488
|
+
ProvisionedReadCapacityUnits: smithy_client_1.expectLong(output.ProvisionedReadCapacityUnits),
|
|
7487
7489
|
ProvisionedWriteCapacityAutoScalingSettings: output.ProvisionedWriteCapacityAutoScalingSettings !== undefined &&
|
|
7488
7490
|
output.ProvisionedWriteCapacityAutoScalingSettings !== null
|
|
7489
7491
|
? deserializeAws_json1_0AutoScalingSettingsDescription(output.ProvisionedWriteCapacityAutoScalingSettings, context)
|
|
7490
7492
|
: undefined,
|
|
7491
|
-
ProvisionedWriteCapacityUnits:
|
|
7493
|
+
ProvisionedWriteCapacityUnits: smithy_client_1.expectLong(output.ProvisionedWriteCapacityUnits),
|
|
7492
7494
|
};
|
|
7493
7495
|
};
|
|
7494
7496
|
const deserializeAws_json1_0ReplicaGlobalSecondaryIndexSettingsDescriptionList = (output, context) => {
|
|
@@ -7513,12 +7515,12 @@ const deserializeAws_json1_0ReplicaList = (output, context) => {
|
|
|
7513
7515
|
};
|
|
7514
7516
|
const deserializeAws_json1_0ReplicaNotFoundException = (output, context) => {
|
|
7515
7517
|
return {
|
|
7516
|
-
message:
|
|
7518
|
+
message: smithy_client_1.expectString(output.message),
|
|
7517
7519
|
};
|
|
7518
7520
|
};
|
|
7519
7521
|
const deserializeAws_json1_0ReplicaSettingsDescription = (output, context) => {
|
|
7520
7522
|
return {
|
|
7521
|
-
RegionName:
|
|
7523
|
+
RegionName: smithy_client_1.expectString(output.RegionName),
|
|
7522
7524
|
ReplicaBillingModeSummary: output.ReplicaBillingModeSummary !== undefined && output.ReplicaBillingModeSummary !== null
|
|
7523
7525
|
? deserializeAws_json1_0BillingModeSummary(output.ReplicaBillingModeSummary, context)
|
|
7524
7526
|
: undefined,
|
|
@@ -7529,13 +7531,13 @@ const deserializeAws_json1_0ReplicaSettingsDescription = (output, context) => {
|
|
|
7529
7531
|
output.ReplicaProvisionedReadCapacityAutoScalingSettings !== null
|
|
7530
7532
|
? deserializeAws_json1_0AutoScalingSettingsDescription(output.ReplicaProvisionedReadCapacityAutoScalingSettings, context)
|
|
7531
7533
|
: undefined,
|
|
7532
|
-
ReplicaProvisionedReadCapacityUnits:
|
|
7534
|
+
ReplicaProvisionedReadCapacityUnits: smithy_client_1.expectLong(output.ReplicaProvisionedReadCapacityUnits),
|
|
7533
7535
|
ReplicaProvisionedWriteCapacityAutoScalingSettings: output.ReplicaProvisionedWriteCapacityAutoScalingSettings !== undefined &&
|
|
7534
7536
|
output.ReplicaProvisionedWriteCapacityAutoScalingSettings !== null
|
|
7535
7537
|
? deserializeAws_json1_0AutoScalingSettingsDescription(output.ReplicaProvisionedWriteCapacityAutoScalingSettings, context)
|
|
7536
7538
|
: undefined,
|
|
7537
|
-
ReplicaProvisionedWriteCapacityUnits:
|
|
7538
|
-
ReplicaStatus:
|
|
7539
|
+
ReplicaProvisionedWriteCapacityUnits: smithy_client_1.expectLong(output.ReplicaProvisionedWriteCapacityUnits),
|
|
7540
|
+
ReplicaStatus: smithy_client_1.expectString(output.ReplicaStatus),
|
|
7539
7541
|
};
|
|
7540
7542
|
};
|
|
7541
7543
|
const deserializeAws_json1_0ReplicaSettingsDescriptionList = (output, context) => {
|
|
@@ -7550,27 +7552,27 @@ const deserializeAws_json1_0ReplicaSettingsDescriptionList = (output, context) =
|
|
|
7550
7552
|
};
|
|
7551
7553
|
const deserializeAws_json1_0RequestLimitExceeded = (output, context) => {
|
|
7552
7554
|
return {
|
|
7553
|
-
message:
|
|
7555
|
+
message: smithy_client_1.expectString(output.message),
|
|
7554
7556
|
};
|
|
7555
7557
|
};
|
|
7556
7558
|
const deserializeAws_json1_0ResourceInUseException = (output, context) => {
|
|
7557
7559
|
return {
|
|
7558
|
-
message:
|
|
7560
|
+
message: smithy_client_1.expectString(output.message),
|
|
7559
7561
|
};
|
|
7560
7562
|
};
|
|
7561
7563
|
const deserializeAws_json1_0ResourceNotFoundException = (output, context) => {
|
|
7562
7564
|
return {
|
|
7563
|
-
message:
|
|
7565
|
+
message: smithy_client_1.expectString(output.message),
|
|
7564
7566
|
};
|
|
7565
7567
|
};
|
|
7566
7568
|
const deserializeAws_json1_0RestoreSummary = (output, context) => {
|
|
7567
7569
|
return {
|
|
7568
7570
|
RestoreDateTime: output.RestoreDateTime !== undefined && output.RestoreDateTime !== null
|
|
7569
|
-
?
|
|
7571
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.RestoreDateTime)))
|
|
7570
7572
|
: undefined,
|
|
7571
|
-
RestoreInProgress:
|
|
7572
|
-
SourceBackupArn:
|
|
7573
|
-
SourceTableArn:
|
|
7573
|
+
RestoreInProgress: smithy_client_1.expectBoolean(output.RestoreInProgress),
|
|
7574
|
+
SourceBackupArn: smithy_client_1.expectString(output.SourceBackupArn),
|
|
7575
|
+
SourceTableArn: smithy_client_1.expectString(output.SourceTableArn),
|
|
7574
7576
|
};
|
|
7575
7577
|
};
|
|
7576
7578
|
const deserializeAws_json1_0RestoreTableFromBackupOutput = (output, context) => {
|
|
@@ -7592,14 +7594,14 @@ const deserializeAws_json1_0ScanOutput = (output, context) => {
|
|
|
7592
7594
|
ConsumedCapacity: output.ConsumedCapacity !== undefined && output.ConsumedCapacity !== null
|
|
7593
7595
|
? deserializeAws_json1_0ConsumedCapacity(output.ConsumedCapacity, context)
|
|
7594
7596
|
: undefined,
|
|
7595
|
-
Count:
|
|
7597
|
+
Count: smithy_client_1.expectInt32(output.Count),
|
|
7596
7598
|
Items: output.Items !== undefined && output.Items !== null
|
|
7597
7599
|
? deserializeAws_json1_0ItemList(output.Items, context)
|
|
7598
7600
|
: undefined,
|
|
7599
7601
|
LastEvaluatedKey: output.LastEvaluatedKey !== undefined && output.LastEvaluatedKey !== null
|
|
7600
7602
|
? deserializeAws_json1_0Key(output.LastEvaluatedKey, context)
|
|
7601
7603
|
: undefined,
|
|
7602
|
-
ScannedCount:
|
|
7604
|
+
ScannedCount: smithy_client_1.expectInt32(output.ScannedCount),
|
|
7603
7605
|
};
|
|
7604
7606
|
};
|
|
7605
7607
|
const deserializeAws_json1_0SecondaryIndexesCapacityMap = (output, context) => {
|
|
@@ -7615,21 +7617,21 @@ const deserializeAws_json1_0SecondaryIndexesCapacityMap = (output, context) => {
|
|
|
7615
7617
|
};
|
|
7616
7618
|
const deserializeAws_json1_0SourceTableDetails = (output, context) => {
|
|
7617
7619
|
return {
|
|
7618
|
-
BillingMode:
|
|
7619
|
-
ItemCount:
|
|
7620
|
+
BillingMode: smithy_client_1.expectString(output.BillingMode),
|
|
7621
|
+
ItemCount: smithy_client_1.expectLong(output.ItemCount),
|
|
7620
7622
|
KeySchema: output.KeySchema !== undefined && output.KeySchema !== null
|
|
7621
7623
|
? deserializeAws_json1_0KeySchema(output.KeySchema, context)
|
|
7622
7624
|
: undefined,
|
|
7623
7625
|
ProvisionedThroughput: output.ProvisionedThroughput !== undefined && output.ProvisionedThroughput !== null
|
|
7624
7626
|
? deserializeAws_json1_0ProvisionedThroughput(output.ProvisionedThroughput, context)
|
|
7625
7627
|
: undefined,
|
|
7626
|
-
TableArn:
|
|
7628
|
+
TableArn: smithy_client_1.expectString(output.TableArn),
|
|
7627
7629
|
TableCreationDateTime: output.TableCreationDateTime !== undefined && output.TableCreationDateTime !== null
|
|
7628
|
-
?
|
|
7630
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.TableCreationDateTime)))
|
|
7629
7631
|
: undefined,
|
|
7630
|
-
TableId:
|
|
7631
|
-
TableName:
|
|
7632
|
-
TableSizeBytes:
|
|
7632
|
+
TableId: smithy_client_1.expectString(output.TableId),
|
|
7633
|
+
TableName: smithy_client_1.expectString(output.TableName),
|
|
7634
|
+
TableSizeBytes: smithy_client_1.expectLong(output.TableSizeBytes),
|
|
7633
7635
|
};
|
|
7634
7636
|
};
|
|
7635
7637
|
const deserializeAws_json1_0SourceTableFeatureDetails = (output, context) => {
|
|
@@ -7654,17 +7656,17 @@ const deserializeAws_json1_0SourceTableFeatureDetails = (output, context) => {
|
|
|
7654
7656
|
const deserializeAws_json1_0SSEDescription = (output, context) => {
|
|
7655
7657
|
return {
|
|
7656
7658
|
InaccessibleEncryptionDateTime: output.InaccessibleEncryptionDateTime !== undefined && output.InaccessibleEncryptionDateTime !== null
|
|
7657
|
-
?
|
|
7659
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.InaccessibleEncryptionDateTime)))
|
|
7658
7660
|
: undefined,
|
|
7659
|
-
KMSMasterKeyArn:
|
|
7660
|
-
SSEType:
|
|
7661
|
-
Status:
|
|
7661
|
+
KMSMasterKeyArn: smithy_client_1.expectString(output.KMSMasterKeyArn),
|
|
7662
|
+
SSEType: smithy_client_1.expectString(output.SSEType),
|
|
7663
|
+
Status: smithy_client_1.expectString(output.Status),
|
|
7662
7664
|
};
|
|
7663
7665
|
};
|
|
7664
7666
|
const deserializeAws_json1_0StreamSpecification = (output, context) => {
|
|
7665
7667
|
return {
|
|
7666
|
-
StreamEnabled:
|
|
7667
|
-
StreamViewType:
|
|
7668
|
+
StreamEnabled: smithy_client_1.expectBoolean(output.StreamEnabled),
|
|
7669
|
+
StreamViewType: smithy_client_1.expectString(output.StreamViewType),
|
|
7668
7670
|
};
|
|
7669
7671
|
};
|
|
7670
7672
|
const deserializeAws_json1_0StringSetAttributeValue = (output, context) => {
|
|
@@ -7674,12 +7676,12 @@ const deserializeAws_json1_0StringSetAttributeValue = (output, context) => {
|
|
|
7674
7676
|
if (entry === null) {
|
|
7675
7677
|
return null;
|
|
7676
7678
|
}
|
|
7677
|
-
return
|
|
7679
|
+
return smithy_client_1.expectString(entry);
|
|
7678
7680
|
});
|
|
7679
7681
|
};
|
|
7680
7682
|
const deserializeAws_json1_0TableAlreadyExistsException = (output, context) => {
|
|
7681
7683
|
return {
|
|
7682
|
-
message:
|
|
7684
|
+
message: smithy_client_1.expectString(output.message),
|
|
7683
7685
|
};
|
|
7684
7686
|
};
|
|
7685
7687
|
const deserializeAws_json1_0TableAutoScalingDescription = (output, context) => {
|
|
@@ -7687,8 +7689,8 @@ const deserializeAws_json1_0TableAutoScalingDescription = (output, context) => {
|
|
|
7687
7689
|
Replicas: output.Replicas !== undefined && output.Replicas !== null
|
|
7688
7690
|
? deserializeAws_json1_0ReplicaAutoScalingDescriptionList(output.Replicas, context)
|
|
7689
7691
|
: undefined,
|
|
7690
|
-
TableName:
|
|
7691
|
-
TableStatus:
|
|
7692
|
+
TableName: smithy_client_1.expectString(output.TableName),
|
|
7693
|
+
TableStatus: smithy_client_1.expectString(output.TableStatus),
|
|
7692
7694
|
};
|
|
7693
7695
|
};
|
|
7694
7696
|
const deserializeAws_json1_0TableDescription = (output, context) => {
|
|
@@ -7703,18 +7705,18 @@ const deserializeAws_json1_0TableDescription = (output, context) => {
|
|
|
7703
7705
|
? deserializeAws_json1_0BillingModeSummary(output.BillingModeSummary, context)
|
|
7704
7706
|
: undefined,
|
|
7705
7707
|
CreationDateTime: output.CreationDateTime !== undefined && output.CreationDateTime !== null
|
|
7706
|
-
?
|
|
7708
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationDateTime)))
|
|
7707
7709
|
: undefined,
|
|
7708
7710
|
GlobalSecondaryIndexes: output.GlobalSecondaryIndexes !== undefined && output.GlobalSecondaryIndexes !== null
|
|
7709
7711
|
? deserializeAws_json1_0GlobalSecondaryIndexDescriptionList(output.GlobalSecondaryIndexes, context)
|
|
7710
7712
|
: undefined,
|
|
7711
|
-
GlobalTableVersion:
|
|
7712
|
-
ItemCount:
|
|
7713
|
+
GlobalTableVersion: smithy_client_1.expectString(output.GlobalTableVersion),
|
|
7714
|
+
ItemCount: smithy_client_1.expectLong(output.ItemCount),
|
|
7713
7715
|
KeySchema: output.KeySchema !== undefined && output.KeySchema !== null
|
|
7714
7716
|
? deserializeAws_json1_0KeySchema(output.KeySchema, context)
|
|
7715
7717
|
: undefined,
|
|
7716
|
-
LatestStreamArn:
|
|
7717
|
-
LatestStreamLabel:
|
|
7718
|
+
LatestStreamArn: smithy_client_1.expectString(output.LatestStreamArn),
|
|
7719
|
+
LatestStreamLabel: smithy_client_1.expectString(output.LatestStreamLabel),
|
|
7718
7720
|
LocalSecondaryIndexes: output.LocalSecondaryIndexes !== undefined && output.LocalSecondaryIndexes !== null
|
|
7719
7721
|
? deserializeAws_json1_0LocalSecondaryIndexDescriptionList(output.LocalSecondaryIndexes, context)
|
|
7720
7722
|
: undefined,
|
|
@@ -7733,16 +7735,16 @@ const deserializeAws_json1_0TableDescription = (output, context) => {
|
|
|
7733
7735
|
StreamSpecification: output.StreamSpecification !== undefined && output.StreamSpecification !== null
|
|
7734
7736
|
? deserializeAws_json1_0StreamSpecification(output.StreamSpecification, context)
|
|
7735
7737
|
: undefined,
|
|
7736
|
-
TableArn:
|
|
7737
|
-
TableId:
|
|
7738
|
-
TableName:
|
|
7739
|
-
TableSizeBytes:
|
|
7740
|
-
TableStatus:
|
|
7738
|
+
TableArn: smithy_client_1.expectString(output.TableArn),
|
|
7739
|
+
TableId: smithy_client_1.expectString(output.TableId),
|
|
7740
|
+
TableName: smithy_client_1.expectString(output.TableName),
|
|
7741
|
+
TableSizeBytes: smithy_client_1.expectLong(output.TableSizeBytes),
|
|
7742
|
+
TableStatus: smithy_client_1.expectString(output.TableStatus),
|
|
7741
7743
|
};
|
|
7742
7744
|
};
|
|
7743
7745
|
const deserializeAws_json1_0TableInUseException = (output, context) => {
|
|
7744
7746
|
return {
|
|
7745
|
-
message:
|
|
7747
|
+
message: smithy_client_1.expectString(output.message),
|
|
7746
7748
|
};
|
|
7747
7749
|
};
|
|
7748
7750
|
const deserializeAws_json1_0TableNameList = (output, context) => {
|
|
@@ -7752,18 +7754,18 @@ const deserializeAws_json1_0TableNameList = (output, context) => {
|
|
|
7752
7754
|
if (entry === null) {
|
|
7753
7755
|
return null;
|
|
7754
7756
|
}
|
|
7755
|
-
return
|
|
7757
|
+
return smithy_client_1.expectString(entry);
|
|
7756
7758
|
});
|
|
7757
7759
|
};
|
|
7758
7760
|
const deserializeAws_json1_0TableNotFoundException = (output, context) => {
|
|
7759
7761
|
return {
|
|
7760
|
-
message:
|
|
7762
|
+
message: smithy_client_1.expectString(output.message),
|
|
7761
7763
|
};
|
|
7762
7764
|
};
|
|
7763
7765
|
const deserializeAws_json1_0Tag = (output, context) => {
|
|
7764
7766
|
return {
|
|
7765
|
-
Key:
|
|
7766
|
-
Value:
|
|
7767
|
+
Key: smithy_client_1.expectString(output.Key),
|
|
7768
|
+
Value: smithy_client_1.expectString(output.Value),
|
|
7767
7769
|
};
|
|
7768
7770
|
};
|
|
7769
7771
|
const deserializeAws_json1_0TagList = (output, context) => {
|
|
@@ -7778,14 +7780,14 @@ const deserializeAws_json1_0TagList = (output, context) => {
|
|
|
7778
7780
|
};
|
|
7779
7781
|
const deserializeAws_json1_0TimeToLiveDescription = (output, context) => {
|
|
7780
7782
|
return {
|
|
7781
|
-
AttributeName:
|
|
7782
|
-
TimeToLiveStatus:
|
|
7783
|
+
AttributeName: smithy_client_1.expectString(output.AttributeName),
|
|
7784
|
+
TimeToLiveStatus: smithy_client_1.expectString(output.TimeToLiveStatus),
|
|
7783
7785
|
};
|
|
7784
7786
|
};
|
|
7785
7787
|
const deserializeAws_json1_0TimeToLiveSpecification = (output, context) => {
|
|
7786
7788
|
return {
|
|
7787
|
-
AttributeName:
|
|
7788
|
-
Enabled:
|
|
7789
|
+
AttributeName: smithy_client_1.expectString(output.AttributeName),
|
|
7790
|
+
Enabled: smithy_client_1.expectBoolean(output.Enabled),
|
|
7789
7791
|
};
|
|
7790
7792
|
};
|
|
7791
7793
|
const deserializeAws_json1_0TransactGetItemsOutput = (output, context) => {
|
|
@@ -7803,17 +7805,17 @@ const deserializeAws_json1_0TransactionCanceledException = (output, context) =>
|
|
|
7803
7805
|
CancellationReasons: output.CancellationReasons !== undefined && output.CancellationReasons !== null
|
|
7804
7806
|
? deserializeAws_json1_0CancellationReasonList(output.CancellationReasons, context)
|
|
7805
7807
|
: undefined,
|
|
7806
|
-
Message:
|
|
7808
|
+
Message: smithy_client_1.expectString(output.Message),
|
|
7807
7809
|
};
|
|
7808
7810
|
};
|
|
7809
7811
|
const deserializeAws_json1_0TransactionConflictException = (output, context) => {
|
|
7810
7812
|
return {
|
|
7811
|
-
message:
|
|
7813
|
+
message: smithy_client_1.expectString(output.message),
|
|
7812
7814
|
};
|
|
7813
7815
|
};
|
|
7814
7816
|
const deserializeAws_json1_0TransactionInProgressException = (output, context) => {
|
|
7815
7817
|
return {
|
|
7816
|
-
Message:
|
|
7818
|
+
Message: smithy_client_1.expectString(output.Message),
|
|
7817
7819
|
};
|
|
7818
7820
|
};
|
|
7819
7821
|
const deserializeAws_json1_0TransactWriteItemsOutput = (output, context) => {
|
|
@@ -7835,9 +7837,9 @@ const deserializeAws_json1_0UpdateContinuousBackupsOutput = (output, context) =>
|
|
|
7835
7837
|
};
|
|
7836
7838
|
const deserializeAws_json1_0UpdateContributorInsightsOutput = (output, context) => {
|
|
7837
7839
|
return {
|
|
7838
|
-
ContributorInsightsStatus:
|
|
7839
|
-
IndexName:
|
|
7840
|
-
TableName:
|
|
7840
|
+
ContributorInsightsStatus: smithy_client_1.expectString(output.ContributorInsightsStatus),
|
|
7841
|
+
IndexName: smithy_client_1.expectString(output.IndexName),
|
|
7842
|
+
TableName: smithy_client_1.expectString(output.TableName),
|
|
7841
7843
|
};
|
|
7842
7844
|
};
|
|
7843
7845
|
const deserializeAws_json1_0UpdateGlobalTableOutput = (output, context) => {
|
|
@@ -7849,7 +7851,7 @@ const deserializeAws_json1_0UpdateGlobalTableOutput = (output, context) => {
|
|
|
7849
7851
|
};
|
|
7850
7852
|
const deserializeAws_json1_0UpdateGlobalTableSettingsOutput = (output, context) => {
|
|
7851
7853
|
return {
|
|
7852
|
-
GlobalTableName:
|
|
7854
|
+
GlobalTableName: smithy_client_1.expectString(output.GlobalTableName),
|
|
7853
7855
|
ReplicaSettings: output.ReplicaSettings !== undefined && output.ReplicaSettings !== null
|
|
7854
7856
|
? deserializeAws_json1_0ReplicaSettingsDescriptionList(output.ReplicaSettings, context)
|
|
7855
7857
|
: undefined,
|