@aws-sdk/client-dynamodb 3.31.0 → 3.32.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 +8 -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 +33 -33
- package/dist/cjs/protocols/Aws_json1_0.js +250 -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/package.json +33 -33
- package/dist/es/pagination/ListContributorInsightsPaginator.js +4 -4
- package/dist/es/pagination/ListContributorInsightsPaginator.js.map +1 -1
- package/dist/es/pagination/ListExportsPaginator.js +4 -4
- package/dist/es/pagination/ListExportsPaginator.js.map +1 -1
- package/dist/es/pagination/ListTablesPaginator.js +4 -4
- package/dist/es/pagination/ListTablesPaginator.js.map +1 -1
- package/dist/es/pagination/QueryPaginator.js +4 -4
- package/dist/es/pagination/QueryPaginator.js.map +1 -1
- package/dist/es/pagination/ScanPaginator.js +4 -4
- package/dist/es/pagination/ScanPaginator.js.map +1 -1
- package/package.json +33 -33
- package/tsconfig.json +1 -2
|
@@ -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(
|
|
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,41 +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:
|
|
6759
|
+
BilledSizeBytes: smithy_client_1.expectLong(output.BilledSizeBytes),
|
|
6760
|
+
ClientToken: smithy_client_1.expectString(output.ClientToken),
|
|
6761
6761
|
EndTime: output.EndTime !== undefined && output.EndTime !== null
|
|
6762
|
-
?
|
|
6762
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.EndTime)))
|
|
6763
6763
|
: undefined,
|
|
6764
|
-
ExportArn:
|
|
6765
|
-
ExportFormat:
|
|
6766
|
-
ExportManifest:
|
|
6767
|
-
ExportStatus:
|
|
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),
|
|
6768
6768
|
ExportTime: output.ExportTime !== undefined && output.ExportTime !== null
|
|
6769
|
-
?
|
|
6770
|
-
: undefined,
|
|
6771
|
-
FailureCode:
|
|
6772
|
-
FailureMessage:
|
|
6773
|
-
ItemCount:
|
|
6774
|
-
S3Bucket:
|
|
6775
|
-
S3BucketOwner:
|
|
6776
|
-
S3Prefix:
|
|
6777
|
-
S3SseAlgorithm:
|
|
6778
|
-
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),
|
|
6779
6779
|
StartTime: output.StartTime !== undefined && output.StartTime !== null
|
|
6780
|
-
?
|
|
6780
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.StartTime)))
|
|
6781
6781
|
: undefined,
|
|
6782
|
-
TableArn:
|
|
6783
|
-
TableId:
|
|
6782
|
+
TableArn: smithy_client_1.expectString(output.TableArn),
|
|
6783
|
+
TableId: smithy_client_1.expectString(output.TableId),
|
|
6784
6784
|
};
|
|
6785
6785
|
};
|
|
6786
6786
|
const deserializeAws_json1_0ExportNotFoundException = (output, context) => {
|
|
6787
6787
|
return {
|
|
6788
|
-
message:
|
|
6788
|
+
message: smithy_client_1.expectString(output.message),
|
|
6789
6789
|
};
|
|
6790
6790
|
};
|
|
6791
6791
|
const deserializeAws_json1_0ExportSummaries = (output, context) => {
|
|
@@ -6800,8 +6800,8 @@ const deserializeAws_json1_0ExportSummaries = (output, context) => {
|
|
|
6800
6800
|
};
|
|
6801
6801
|
const deserializeAws_json1_0ExportSummary = (output, context) => {
|
|
6802
6802
|
return {
|
|
6803
|
-
ExportArn:
|
|
6804
|
-
ExportStatus:
|
|
6803
|
+
ExportArn: smithy_client_1.expectString(output.ExportArn),
|
|
6804
|
+
ExportStatus: smithy_client_1.expectString(output.ExportStatus),
|
|
6805
6805
|
};
|
|
6806
6806
|
};
|
|
6807
6807
|
const deserializeAws_json1_0ExportTableToPointInTimeOutput = (output, context) => {
|
|
@@ -6818,14 +6818,14 @@ const deserializeAws_json1_0ExpressionAttributeNameMap = (output, context) => {
|
|
|
6818
6818
|
}
|
|
6819
6819
|
return {
|
|
6820
6820
|
...acc,
|
|
6821
|
-
[key]:
|
|
6821
|
+
[key]: smithy_client_1.expectString(value),
|
|
6822
6822
|
};
|
|
6823
6823
|
}, {});
|
|
6824
6824
|
};
|
|
6825
6825
|
const deserializeAws_json1_0FailureException = (output, context) => {
|
|
6826
6826
|
return {
|
|
6827
|
-
ExceptionDescription:
|
|
6828
|
-
ExceptionName:
|
|
6827
|
+
ExceptionDescription: smithy_client_1.expectString(output.ExceptionDescription),
|
|
6828
|
+
ExceptionName: smithy_client_1.expectString(output.ExceptionName),
|
|
6829
6829
|
};
|
|
6830
6830
|
};
|
|
6831
6831
|
const deserializeAws_json1_0GetItemOutput = (output, context) => {
|
|
@@ -6840,12 +6840,12 @@ const deserializeAws_json1_0GetItemOutput = (output, context) => {
|
|
|
6840
6840
|
};
|
|
6841
6841
|
const deserializeAws_json1_0GlobalSecondaryIndexDescription = (output, context) => {
|
|
6842
6842
|
return {
|
|
6843
|
-
Backfilling:
|
|
6844
|
-
IndexArn:
|
|
6845
|
-
IndexName:
|
|
6846
|
-
IndexSizeBytes:
|
|
6847
|
-
IndexStatus:
|
|
6848
|
-
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),
|
|
6849
6849
|
KeySchema: output.KeySchema !== undefined && output.KeySchema !== null
|
|
6850
6850
|
? deserializeAws_json1_0KeySchema(output.KeySchema, context)
|
|
6851
6851
|
: undefined,
|
|
@@ -6879,7 +6879,7 @@ const deserializeAws_json1_0GlobalSecondaryIndexes = (output, context) => {
|
|
|
6879
6879
|
};
|
|
6880
6880
|
const deserializeAws_json1_0GlobalSecondaryIndexInfo = (output, context) => {
|
|
6881
6881
|
return {
|
|
6882
|
-
IndexName:
|
|
6882
|
+
IndexName: smithy_client_1.expectString(output.IndexName),
|
|
6883
6883
|
KeySchema: output.KeySchema !== undefined && output.KeySchema !== null
|
|
6884
6884
|
? deserializeAws_json1_0KeySchema(output.KeySchema, context)
|
|
6885
6885
|
: undefined,
|
|
@@ -6893,7 +6893,7 @@ const deserializeAws_json1_0GlobalSecondaryIndexInfo = (output, context) => {
|
|
|
6893
6893
|
};
|
|
6894
6894
|
const deserializeAws_json1_0GlobalTable = (output, context) => {
|
|
6895
6895
|
return {
|
|
6896
|
-
GlobalTableName:
|
|
6896
|
+
GlobalTableName: smithy_client_1.expectString(output.GlobalTableName),
|
|
6897
6897
|
ReplicationGroup: output.ReplicationGroup !== undefined && output.ReplicationGroup !== null
|
|
6898
6898
|
? deserializeAws_json1_0ReplicaList(output.ReplicationGroup, context)
|
|
6899
6899
|
: undefined,
|
|
@@ -6901,17 +6901,17 @@ const deserializeAws_json1_0GlobalTable = (output, context) => {
|
|
|
6901
6901
|
};
|
|
6902
6902
|
const deserializeAws_json1_0GlobalTableAlreadyExistsException = (output, context) => {
|
|
6903
6903
|
return {
|
|
6904
|
-
message:
|
|
6904
|
+
message: smithy_client_1.expectString(output.message),
|
|
6905
6905
|
};
|
|
6906
6906
|
};
|
|
6907
6907
|
const deserializeAws_json1_0GlobalTableDescription = (output, context) => {
|
|
6908
6908
|
return {
|
|
6909
6909
|
CreationDateTime: output.CreationDateTime !== undefined && output.CreationDateTime !== null
|
|
6910
|
-
?
|
|
6910
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationDateTime)))
|
|
6911
6911
|
: undefined,
|
|
6912
|
-
GlobalTableArn:
|
|
6913
|
-
GlobalTableName:
|
|
6914
|
-
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),
|
|
6915
6915
|
ReplicationGroup: output.ReplicationGroup !== undefined && output.ReplicationGroup !== null
|
|
6916
6916
|
? deserializeAws_json1_0ReplicaDescriptionList(output.ReplicationGroup, context)
|
|
6917
6917
|
: undefined,
|
|
@@ -6929,37 +6929,37 @@ const deserializeAws_json1_0GlobalTableList = (output, context) => {
|
|
|
6929
6929
|
};
|
|
6930
6930
|
const deserializeAws_json1_0GlobalTableNotFoundException = (output, context) => {
|
|
6931
6931
|
return {
|
|
6932
|
-
message:
|
|
6932
|
+
message: smithy_client_1.expectString(output.message),
|
|
6933
6933
|
};
|
|
6934
6934
|
};
|
|
6935
6935
|
const deserializeAws_json1_0IdempotentParameterMismatchException = (output, context) => {
|
|
6936
6936
|
return {
|
|
6937
|
-
Message:
|
|
6937
|
+
Message: smithy_client_1.expectString(output.Message),
|
|
6938
6938
|
};
|
|
6939
6939
|
};
|
|
6940
6940
|
const deserializeAws_json1_0IndexNotFoundException = (output, context) => {
|
|
6941
6941
|
return {
|
|
6942
|
-
message:
|
|
6942
|
+
message: smithy_client_1.expectString(output.message),
|
|
6943
6943
|
};
|
|
6944
6944
|
};
|
|
6945
6945
|
const deserializeAws_json1_0InternalServerError = (output, context) => {
|
|
6946
6946
|
return {
|
|
6947
|
-
message:
|
|
6947
|
+
message: smithy_client_1.expectString(output.message),
|
|
6948
6948
|
};
|
|
6949
6949
|
};
|
|
6950
6950
|
const deserializeAws_json1_0InvalidEndpointException = (output, context) => {
|
|
6951
6951
|
return {
|
|
6952
|
-
Message:
|
|
6952
|
+
Message: smithy_client_1.expectString(output.Message),
|
|
6953
6953
|
};
|
|
6954
6954
|
};
|
|
6955
6955
|
const deserializeAws_json1_0InvalidExportTimeException = (output, context) => {
|
|
6956
6956
|
return {
|
|
6957
|
-
message:
|
|
6957
|
+
message: smithy_client_1.expectString(output.message),
|
|
6958
6958
|
};
|
|
6959
6959
|
};
|
|
6960
6960
|
const deserializeAws_json1_0InvalidRestoreTimeException = (output, context) => {
|
|
6961
6961
|
return {
|
|
6962
|
-
message:
|
|
6962
|
+
message: smithy_client_1.expectString(output.message),
|
|
6963
6963
|
};
|
|
6964
6964
|
};
|
|
6965
6965
|
const deserializeAws_json1_0ItemCollectionKeyAttributeMap = (output, context) => {
|
|
@@ -6969,7 +6969,7 @@ const deserializeAws_json1_0ItemCollectionKeyAttributeMap = (output, context) =>
|
|
|
6969
6969
|
}
|
|
6970
6970
|
return {
|
|
6971
6971
|
...acc,
|
|
6972
|
-
[key]: deserializeAws_json1_0AttributeValue(
|
|
6972
|
+
[key]: deserializeAws_json1_0AttributeValue(smithy_client_1.expectUnion(value), context),
|
|
6973
6973
|
};
|
|
6974
6974
|
}, {});
|
|
6975
6975
|
};
|
|
@@ -7011,12 +7011,12 @@ const deserializeAws_json1_0ItemCollectionSizeEstimateRange = (output, context)
|
|
|
7011
7011
|
if (entry === null) {
|
|
7012
7012
|
return null;
|
|
7013
7013
|
}
|
|
7014
|
-
return
|
|
7014
|
+
return smithy_client_1.limitedParseDouble(entry);
|
|
7015
7015
|
});
|
|
7016
7016
|
};
|
|
7017
7017
|
const deserializeAws_json1_0ItemCollectionSizeLimitExceededException = (output, context) => {
|
|
7018
7018
|
return {
|
|
7019
|
-
message:
|
|
7019
|
+
message: smithy_client_1.expectString(output.message),
|
|
7020
7020
|
};
|
|
7021
7021
|
};
|
|
7022
7022
|
const deserializeAws_json1_0ItemList = (output, context) => {
|
|
@@ -7053,7 +7053,7 @@ const deserializeAws_json1_0Key = (output, context) => {
|
|
|
7053
7053
|
}
|
|
7054
7054
|
return {
|
|
7055
7055
|
...acc,
|
|
7056
|
-
[key]: deserializeAws_json1_0AttributeValue(
|
|
7056
|
+
[key]: deserializeAws_json1_0AttributeValue(smithy_client_1.expectUnion(value), context),
|
|
7057
7057
|
};
|
|
7058
7058
|
}, {});
|
|
7059
7059
|
};
|
|
@@ -7072,14 +7072,14 @@ const deserializeAws_json1_0KeysAndAttributes = (output, context) => {
|
|
|
7072
7072
|
AttributesToGet: output.AttributesToGet !== undefined && output.AttributesToGet !== null
|
|
7073
7073
|
? deserializeAws_json1_0AttributeNameList(output.AttributesToGet, context)
|
|
7074
7074
|
: undefined,
|
|
7075
|
-
ConsistentRead:
|
|
7075
|
+
ConsistentRead: smithy_client_1.expectBoolean(output.ConsistentRead),
|
|
7076
7076
|
ExpressionAttributeNames: output.ExpressionAttributeNames !== undefined && output.ExpressionAttributeNames !== null
|
|
7077
7077
|
? deserializeAws_json1_0ExpressionAttributeNameMap(output.ExpressionAttributeNames, context)
|
|
7078
7078
|
: undefined,
|
|
7079
7079
|
Keys: output.Keys !== undefined && output.Keys !== null
|
|
7080
7080
|
? deserializeAws_json1_0KeyList(output.Keys, context)
|
|
7081
7081
|
: undefined,
|
|
7082
|
-
ProjectionExpression:
|
|
7082
|
+
ProjectionExpression: smithy_client_1.expectString(output.ProjectionExpression),
|
|
7083
7083
|
};
|
|
7084
7084
|
};
|
|
7085
7085
|
const deserializeAws_json1_0KeySchema = (output, context) => {
|
|
@@ -7094,15 +7094,15 @@ const deserializeAws_json1_0KeySchema = (output, context) => {
|
|
|
7094
7094
|
};
|
|
7095
7095
|
const deserializeAws_json1_0KeySchemaElement = (output, context) => {
|
|
7096
7096
|
return {
|
|
7097
|
-
AttributeName:
|
|
7098
|
-
KeyType:
|
|
7097
|
+
AttributeName: smithy_client_1.expectString(output.AttributeName),
|
|
7098
|
+
KeyType: smithy_client_1.expectString(output.KeyType),
|
|
7099
7099
|
};
|
|
7100
7100
|
};
|
|
7101
7101
|
const deserializeAws_json1_0KinesisDataStreamDestination = (output, context) => {
|
|
7102
7102
|
return {
|
|
7103
|
-
DestinationStatus:
|
|
7104
|
-
DestinationStatusDescription:
|
|
7105
|
-
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),
|
|
7106
7106
|
};
|
|
7107
7107
|
};
|
|
7108
7108
|
const deserializeAws_json1_0KinesisDataStreamDestinations = (output, context) => {
|
|
@@ -7117,14 +7117,14 @@ const deserializeAws_json1_0KinesisDataStreamDestinations = (output, context) =>
|
|
|
7117
7117
|
};
|
|
7118
7118
|
const deserializeAws_json1_0KinesisStreamingDestinationOutput = (output, context) => {
|
|
7119
7119
|
return {
|
|
7120
|
-
DestinationStatus:
|
|
7121
|
-
StreamArn:
|
|
7122
|
-
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),
|
|
7123
7123
|
};
|
|
7124
7124
|
};
|
|
7125
7125
|
const deserializeAws_json1_0LimitExceededException = (output, context) => {
|
|
7126
7126
|
return {
|
|
7127
|
-
message:
|
|
7127
|
+
message: smithy_client_1.expectString(output.message),
|
|
7128
7128
|
};
|
|
7129
7129
|
};
|
|
7130
7130
|
const deserializeAws_json1_0ListAttributeValue = (output, context) => {
|
|
@@ -7134,7 +7134,7 @@ const deserializeAws_json1_0ListAttributeValue = (output, context) => {
|
|
|
7134
7134
|
if (entry === null) {
|
|
7135
7135
|
return null;
|
|
7136
7136
|
}
|
|
7137
|
-
return deserializeAws_json1_0AttributeValue(
|
|
7137
|
+
return deserializeAws_json1_0AttributeValue(smithy_client_1.expectUnion(entry), context);
|
|
7138
7138
|
});
|
|
7139
7139
|
};
|
|
7140
7140
|
const deserializeAws_json1_0ListBackupsOutput = (output, context) => {
|
|
@@ -7142,7 +7142,7 @@ const deserializeAws_json1_0ListBackupsOutput = (output, context) => {
|
|
|
7142
7142
|
BackupSummaries: output.BackupSummaries !== undefined && output.BackupSummaries !== null
|
|
7143
7143
|
? deserializeAws_json1_0BackupSummaries(output.BackupSummaries, context)
|
|
7144
7144
|
: undefined,
|
|
7145
|
-
LastEvaluatedBackupArn:
|
|
7145
|
+
LastEvaluatedBackupArn: smithy_client_1.expectString(output.LastEvaluatedBackupArn),
|
|
7146
7146
|
};
|
|
7147
7147
|
};
|
|
7148
7148
|
const deserializeAws_json1_0ListContributorInsightsOutput = (output, context) => {
|
|
@@ -7150,7 +7150,7 @@ const deserializeAws_json1_0ListContributorInsightsOutput = (output, context) =>
|
|
|
7150
7150
|
ContributorInsightsSummaries: output.ContributorInsightsSummaries !== undefined && output.ContributorInsightsSummaries !== null
|
|
7151
7151
|
? deserializeAws_json1_0ContributorInsightsSummaries(output.ContributorInsightsSummaries, context)
|
|
7152
7152
|
: undefined,
|
|
7153
|
-
NextToken:
|
|
7153
|
+
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
7154
7154
|
};
|
|
7155
7155
|
};
|
|
7156
7156
|
const deserializeAws_json1_0ListExportsOutput = (output, context) => {
|
|
@@ -7158,7 +7158,7 @@ const deserializeAws_json1_0ListExportsOutput = (output, context) => {
|
|
|
7158
7158
|
ExportSummaries: output.ExportSummaries !== undefined && output.ExportSummaries !== null
|
|
7159
7159
|
? deserializeAws_json1_0ExportSummaries(output.ExportSummaries, context)
|
|
7160
7160
|
: undefined,
|
|
7161
|
-
NextToken:
|
|
7161
|
+
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
7162
7162
|
};
|
|
7163
7163
|
};
|
|
7164
7164
|
const deserializeAws_json1_0ListGlobalTablesOutput = (output, context) => {
|
|
@@ -7166,12 +7166,12 @@ const deserializeAws_json1_0ListGlobalTablesOutput = (output, context) => {
|
|
|
7166
7166
|
GlobalTables: output.GlobalTables !== undefined && output.GlobalTables !== null
|
|
7167
7167
|
? deserializeAws_json1_0GlobalTableList(output.GlobalTables, context)
|
|
7168
7168
|
: undefined,
|
|
7169
|
-
LastEvaluatedGlobalTableName:
|
|
7169
|
+
LastEvaluatedGlobalTableName: smithy_client_1.expectString(output.LastEvaluatedGlobalTableName),
|
|
7170
7170
|
};
|
|
7171
7171
|
};
|
|
7172
7172
|
const deserializeAws_json1_0ListTablesOutput = (output, context) => {
|
|
7173
7173
|
return {
|
|
7174
|
-
LastEvaluatedTableName:
|
|
7174
|
+
LastEvaluatedTableName: smithy_client_1.expectString(output.LastEvaluatedTableName),
|
|
7175
7175
|
TableNames: output.TableNames !== undefined && output.TableNames !== null
|
|
7176
7176
|
? deserializeAws_json1_0TableNameList(output.TableNames, context)
|
|
7177
7177
|
: undefined,
|
|
@@ -7179,7 +7179,7 @@ const deserializeAws_json1_0ListTablesOutput = (output, context) => {
|
|
|
7179
7179
|
};
|
|
7180
7180
|
const deserializeAws_json1_0ListTagsOfResourceOutput = (output, context) => {
|
|
7181
7181
|
return {
|
|
7182
|
-
NextToken:
|
|
7182
|
+
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
7183
7183
|
Tags: output.Tags !== undefined && output.Tags !== null
|
|
7184
7184
|
? deserializeAws_json1_0TagList(output.Tags, context)
|
|
7185
7185
|
: undefined,
|
|
@@ -7187,10 +7187,10 @@ const deserializeAws_json1_0ListTagsOfResourceOutput = (output, context) => {
|
|
|
7187
7187
|
};
|
|
7188
7188
|
const deserializeAws_json1_0LocalSecondaryIndexDescription = (output, context) => {
|
|
7189
7189
|
return {
|
|
7190
|
-
IndexArn:
|
|
7191
|
-
IndexName:
|
|
7192
|
-
IndexSizeBytes:
|
|
7193
|
-
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),
|
|
7194
7194
|
KeySchema: output.KeySchema !== undefined && output.KeySchema !== null
|
|
7195
7195
|
? deserializeAws_json1_0KeySchema(output.KeySchema, context)
|
|
7196
7196
|
: undefined,
|
|
@@ -7221,7 +7221,7 @@ const deserializeAws_json1_0LocalSecondaryIndexes = (output, context) => {
|
|
|
7221
7221
|
};
|
|
7222
7222
|
const deserializeAws_json1_0LocalSecondaryIndexInfo = (output, context) => {
|
|
7223
7223
|
return {
|
|
7224
|
-
IndexName:
|
|
7224
|
+
IndexName: smithy_client_1.expectString(output.IndexName),
|
|
7225
7225
|
KeySchema: output.KeySchema !== undefined && output.KeySchema !== null
|
|
7226
7226
|
? deserializeAws_json1_0KeySchema(output.KeySchema, context)
|
|
7227
7227
|
: undefined,
|
|
@@ -7237,7 +7237,7 @@ const deserializeAws_json1_0MapAttributeValue = (output, context) => {
|
|
|
7237
7237
|
}
|
|
7238
7238
|
return {
|
|
7239
7239
|
...acc,
|
|
7240
|
-
[key]: deserializeAws_json1_0AttributeValue(
|
|
7240
|
+
[key]: deserializeAws_json1_0AttributeValue(smithy_client_1.expectUnion(value), context),
|
|
7241
7241
|
};
|
|
7242
7242
|
}, {});
|
|
7243
7243
|
};
|
|
@@ -7248,7 +7248,7 @@ const deserializeAws_json1_0NonKeyAttributeNameList = (output, context) => {
|
|
|
7248
7248
|
if (entry === null) {
|
|
7249
7249
|
return null;
|
|
7250
7250
|
}
|
|
7251
|
-
return
|
|
7251
|
+
return smithy_client_1.expectString(entry);
|
|
7252
7252
|
});
|
|
7253
7253
|
};
|
|
7254
7254
|
const deserializeAws_json1_0NumberSetAttributeValue = (output, context) => {
|
|
@@ -7258,7 +7258,7 @@ const deserializeAws_json1_0NumberSetAttributeValue = (output, context) => {
|
|
|
7258
7258
|
if (entry === null) {
|
|
7259
7259
|
return null;
|
|
7260
7260
|
}
|
|
7261
|
-
return
|
|
7261
|
+
return smithy_client_1.expectString(entry);
|
|
7262
7262
|
});
|
|
7263
7263
|
};
|
|
7264
7264
|
const deserializeAws_json1_0PartiQLBatchResponse = (output, context) => {
|
|
@@ -7274,17 +7274,17 @@ const deserializeAws_json1_0PartiQLBatchResponse = (output, context) => {
|
|
|
7274
7274
|
const deserializeAws_json1_0PointInTimeRecoveryDescription = (output, context) => {
|
|
7275
7275
|
return {
|
|
7276
7276
|
EarliestRestorableDateTime: output.EarliestRestorableDateTime !== undefined && output.EarliestRestorableDateTime !== null
|
|
7277
|
-
?
|
|
7277
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.EarliestRestorableDateTime)))
|
|
7278
7278
|
: undefined,
|
|
7279
7279
|
LatestRestorableDateTime: output.LatestRestorableDateTime !== undefined && output.LatestRestorableDateTime !== null
|
|
7280
|
-
?
|
|
7280
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LatestRestorableDateTime)))
|
|
7281
7281
|
: undefined,
|
|
7282
|
-
PointInTimeRecoveryStatus:
|
|
7282
|
+
PointInTimeRecoveryStatus: smithy_client_1.expectString(output.PointInTimeRecoveryStatus),
|
|
7283
7283
|
};
|
|
7284
7284
|
};
|
|
7285
7285
|
const deserializeAws_json1_0PointInTimeRecoveryUnavailableException = (output, context) => {
|
|
7286
7286
|
return {
|
|
7287
|
-
message:
|
|
7287
|
+
message: smithy_client_1.expectString(output.message),
|
|
7288
7288
|
};
|
|
7289
7289
|
};
|
|
7290
7290
|
const deserializeAws_json1_0Projection = (output, context) => {
|
|
@@ -7292,36 +7292,36 @@ const deserializeAws_json1_0Projection = (output, context) => {
|
|
|
7292
7292
|
NonKeyAttributes: output.NonKeyAttributes !== undefined && output.NonKeyAttributes !== null
|
|
7293
7293
|
? deserializeAws_json1_0NonKeyAttributeNameList(output.NonKeyAttributes, context)
|
|
7294
7294
|
: undefined,
|
|
7295
|
-
ProjectionType:
|
|
7295
|
+
ProjectionType: smithy_client_1.expectString(output.ProjectionType),
|
|
7296
7296
|
};
|
|
7297
7297
|
};
|
|
7298
7298
|
const deserializeAws_json1_0ProvisionedThroughput = (output, context) => {
|
|
7299
7299
|
return {
|
|
7300
|
-
ReadCapacityUnits:
|
|
7301
|
-
WriteCapacityUnits:
|
|
7300
|
+
ReadCapacityUnits: smithy_client_1.expectLong(output.ReadCapacityUnits),
|
|
7301
|
+
WriteCapacityUnits: smithy_client_1.expectLong(output.WriteCapacityUnits),
|
|
7302
7302
|
};
|
|
7303
7303
|
};
|
|
7304
7304
|
const deserializeAws_json1_0ProvisionedThroughputDescription = (output, context) => {
|
|
7305
7305
|
return {
|
|
7306
7306
|
LastDecreaseDateTime: output.LastDecreaseDateTime !== undefined && output.LastDecreaseDateTime !== null
|
|
7307
|
-
?
|
|
7307
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastDecreaseDateTime)))
|
|
7308
7308
|
: undefined,
|
|
7309
7309
|
LastIncreaseDateTime: output.LastIncreaseDateTime !== undefined && output.LastIncreaseDateTime !== null
|
|
7310
|
-
?
|
|
7310
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastIncreaseDateTime)))
|
|
7311
7311
|
: undefined,
|
|
7312
|
-
NumberOfDecreasesToday:
|
|
7313
|
-
ReadCapacityUnits:
|
|
7314
|
-
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),
|
|
7315
7315
|
};
|
|
7316
7316
|
};
|
|
7317
7317
|
const deserializeAws_json1_0ProvisionedThroughputExceededException = (output, context) => {
|
|
7318
7318
|
return {
|
|
7319
|
-
message:
|
|
7319
|
+
message: smithy_client_1.expectString(output.message),
|
|
7320
7320
|
};
|
|
7321
7321
|
};
|
|
7322
7322
|
const deserializeAws_json1_0ProvisionedThroughputOverride = (output, context) => {
|
|
7323
7323
|
return {
|
|
7324
|
-
ReadCapacityUnits:
|
|
7324
|
+
ReadCapacityUnits: smithy_client_1.expectLong(output.ReadCapacityUnits),
|
|
7325
7325
|
};
|
|
7326
7326
|
};
|
|
7327
7327
|
const deserializeAws_json1_0PutItemInputAttributeMap = (output, context) => {
|
|
@@ -7331,7 +7331,7 @@ const deserializeAws_json1_0PutItemInputAttributeMap = (output, context) => {
|
|
|
7331
7331
|
}
|
|
7332
7332
|
return {
|
|
7333
7333
|
...acc,
|
|
7334
|
-
[key]: deserializeAws_json1_0AttributeValue(
|
|
7334
|
+
[key]: deserializeAws_json1_0AttributeValue(smithy_client_1.expectUnion(value), context),
|
|
7335
7335
|
};
|
|
7336
7336
|
}, {});
|
|
7337
7337
|
};
|
|
@@ -7360,24 +7360,24 @@ const deserializeAws_json1_0QueryOutput = (output, context) => {
|
|
|
7360
7360
|
ConsumedCapacity: output.ConsumedCapacity !== undefined && output.ConsumedCapacity !== null
|
|
7361
7361
|
? deserializeAws_json1_0ConsumedCapacity(output.ConsumedCapacity, context)
|
|
7362
7362
|
: undefined,
|
|
7363
|
-
Count:
|
|
7363
|
+
Count: smithy_client_1.expectInt32(output.Count),
|
|
7364
7364
|
Items: output.Items !== undefined && output.Items !== null
|
|
7365
7365
|
? deserializeAws_json1_0ItemList(output.Items, context)
|
|
7366
7366
|
: undefined,
|
|
7367
7367
|
LastEvaluatedKey: output.LastEvaluatedKey !== undefined && output.LastEvaluatedKey !== null
|
|
7368
7368
|
? deserializeAws_json1_0Key(output.LastEvaluatedKey, context)
|
|
7369
7369
|
: undefined,
|
|
7370
|
-
ScannedCount:
|
|
7370
|
+
ScannedCount: smithy_client_1.expectInt32(output.ScannedCount),
|
|
7371
7371
|
};
|
|
7372
7372
|
};
|
|
7373
7373
|
const deserializeAws_json1_0Replica = (output, context) => {
|
|
7374
7374
|
return {
|
|
7375
|
-
RegionName:
|
|
7375
|
+
RegionName: smithy_client_1.expectString(output.RegionName),
|
|
7376
7376
|
};
|
|
7377
7377
|
};
|
|
7378
7378
|
const deserializeAws_json1_0ReplicaAlreadyExistsException = (output, context) => {
|
|
7379
7379
|
return {
|
|
7380
|
-
message:
|
|
7380
|
+
message: smithy_client_1.expectString(output.message),
|
|
7381
7381
|
};
|
|
7382
7382
|
};
|
|
7383
7383
|
const deserializeAws_json1_0ReplicaAutoScalingDescription = (output, context) => {
|
|
@@ -7385,7 +7385,7 @@ const deserializeAws_json1_0ReplicaAutoScalingDescription = (output, context) =>
|
|
|
7385
7385
|
GlobalSecondaryIndexes: output.GlobalSecondaryIndexes !== undefined && output.GlobalSecondaryIndexes !== null
|
|
7386
7386
|
? deserializeAws_json1_0ReplicaGlobalSecondaryIndexAutoScalingDescriptionList(output.GlobalSecondaryIndexes, context)
|
|
7387
7387
|
: undefined,
|
|
7388
|
-
RegionName:
|
|
7388
|
+
RegionName: smithy_client_1.expectString(output.RegionName),
|
|
7389
7389
|
ReplicaProvisionedReadCapacityAutoScalingSettings: output.ReplicaProvisionedReadCapacityAutoScalingSettings !== undefined &&
|
|
7390
7390
|
output.ReplicaProvisionedReadCapacityAutoScalingSettings !== null
|
|
7391
7391
|
? deserializeAws_json1_0AutoScalingSettingsDescription(output.ReplicaProvisionedReadCapacityAutoScalingSettings, context)
|
|
@@ -7394,7 +7394,7 @@ const deserializeAws_json1_0ReplicaAutoScalingDescription = (output, context) =>
|
|
|
7394
7394
|
output.ReplicaProvisionedWriteCapacityAutoScalingSettings !== null
|
|
7395
7395
|
? deserializeAws_json1_0AutoScalingSettingsDescription(output.ReplicaProvisionedWriteCapacityAutoScalingSettings, context)
|
|
7396
7396
|
: undefined,
|
|
7397
|
-
ReplicaStatus:
|
|
7397
|
+
ReplicaStatus: smithy_client_1.expectString(output.ReplicaStatus),
|
|
7398
7398
|
};
|
|
7399
7399
|
};
|
|
7400
7400
|
const deserializeAws_json1_0ReplicaAutoScalingDescriptionList = (output, context) => {
|
|
@@ -7412,17 +7412,17 @@ const deserializeAws_json1_0ReplicaDescription = (output, context) => {
|
|
|
7412
7412
|
GlobalSecondaryIndexes: output.GlobalSecondaryIndexes !== undefined && output.GlobalSecondaryIndexes !== null
|
|
7413
7413
|
? deserializeAws_json1_0ReplicaGlobalSecondaryIndexDescriptionList(output.GlobalSecondaryIndexes, context)
|
|
7414
7414
|
: undefined,
|
|
7415
|
-
KMSMasterKeyId:
|
|
7415
|
+
KMSMasterKeyId: smithy_client_1.expectString(output.KMSMasterKeyId),
|
|
7416
7416
|
ProvisionedThroughputOverride: output.ProvisionedThroughputOverride !== undefined && output.ProvisionedThroughputOverride !== null
|
|
7417
7417
|
? deserializeAws_json1_0ProvisionedThroughputOverride(output.ProvisionedThroughputOverride, context)
|
|
7418
7418
|
: undefined,
|
|
7419
|
-
RegionName:
|
|
7419
|
+
RegionName: smithy_client_1.expectString(output.RegionName),
|
|
7420
7420
|
ReplicaInaccessibleDateTime: output.ReplicaInaccessibleDateTime !== undefined && output.ReplicaInaccessibleDateTime !== null
|
|
7421
|
-
?
|
|
7421
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.ReplicaInaccessibleDateTime)))
|
|
7422
7422
|
: undefined,
|
|
7423
|
-
ReplicaStatus:
|
|
7424
|
-
ReplicaStatusDescription:
|
|
7425
|
-
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),
|
|
7426
7426
|
};
|
|
7427
7427
|
};
|
|
7428
7428
|
const deserializeAws_json1_0ReplicaDescriptionList = (output, context) => {
|
|
@@ -7437,8 +7437,8 @@ const deserializeAws_json1_0ReplicaDescriptionList = (output, context) => {
|
|
|
7437
7437
|
};
|
|
7438
7438
|
const deserializeAws_json1_0ReplicaGlobalSecondaryIndexAutoScalingDescription = (output, context) => {
|
|
7439
7439
|
return {
|
|
7440
|
-
IndexName:
|
|
7441
|
-
IndexStatus:
|
|
7440
|
+
IndexName: smithy_client_1.expectString(output.IndexName),
|
|
7441
|
+
IndexStatus: smithy_client_1.expectString(output.IndexStatus),
|
|
7442
7442
|
ProvisionedReadCapacityAutoScalingSettings: output.ProvisionedReadCapacityAutoScalingSettings !== undefined &&
|
|
7443
7443
|
output.ProvisionedReadCapacityAutoScalingSettings !== null
|
|
7444
7444
|
? deserializeAws_json1_0AutoScalingSettingsDescription(output.ProvisionedReadCapacityAutoScalingSettings, context)
|
|
@@ -7461,7 +7461,7 @@ const deserializeAws_json1_0ReplicaGlobalSecondaryIndexAutoScalingDescriptionLis
|
|
|
7461
7461
|
};
|
|
7462
7462
|
const deserializeAws_json1_0ReplicaGlobalSecondaryIndexDescription = (output, context) => {
|
|
7463
7463
|
return {
|
|
7464
|
-
IndexName:
|
|
7464
|
+
IndexName: smithy_client_1.expectString(output.IndexName),
|
|
7465
7465
|
ProvisionedThroughputOverride: output.ProvisionedThroughputOverride !== undefined && output.ProvisionedThroughputOverride !== null
|
|
7466
7466
|
? deserializeAws_json1_0ProvisionedThroughputOverride(output.ProvisionedThroughputOverride, context)
|
|
7467
7467
|
: undefined,
|
|
@@ -7479,18 +7479,18 @@ const deserializeAws_json1_0ReplicaGlobalSecondaryIndexDescriptionList = (output
|
|
|
7479
7479
|
};
|
|
7480
7480
|
const deserializeAws_json1_0ReplicaGlobalSecondaryIndexSettingsDescription = (output, context) => {
|
|
7481
7481
|
return {
|
|
7482
|
-
IndexName:
|
|
7483
|
-
IndexStatus:
|
|
7482
|
+
IndexName: smithy_client_1.expectString(output.IndexName),
|
|
7483
|
+
IndexStatus: smithy_client_1.expectString(output.IndexStatus),
|
|
7484
7484
|
ProvisionedReadCapacityAutoScalingSettings: output.ProvisionedReadCapacityAutoScalingSettings !== undefined &&
|
|
7485
7485
|
output.ProvisionedReadCapacityAutoScalingSettings !== null
|
|
7486
7486
|
? deserializeAws_json1_0AutoScalingSettingsDescription(output.ProvisionedReadCapacityAutoScalingSettings, context)
|
|
7487
7487
|
: undefined,
|
|
7488
|
-
ProvisionedReadCapacityUnits:
|
|
7488
|
+
ProvisionedReadCapacityUnits: smithy_client_1.expectLong(output.ProvisionedReadCapacityUnits),
|
|
7489
7489
|
ProvisionedWriteCapacityAutoScalingSettings: output.ProvisionedWriteCapacityAutoScalingSettings !== undefined &&
|
|
7490
7490
|
output.ProvisionedWriteCapacityAutoScalingSettings !== null
|
|
7491
7491
|
? deserializeAws_json1_0AutoScalingSettingsDescription(output.ProvisionedWriteCapacityAutoScalingSettings, context)
|
|
7492
7492
|
: undefined,
|
|
7493
|
-
ProvisionedWriteCapacityUnits:
|
|
7493
|
+
ProvisionedWriteCapacityUnits: smithy_client_1.expectLong(output.ProvisionedWriteCapacityUnits),
|
|
7494
7494
|
};
|
|
7495
7495
|
};
|
|
7496
7496
|
const deserializeAws_json1_0ReplicaGlobalSecondaryIndexSettingsDescriptionList = (output, context) => {
|
|
@@ -7515,12 +7515,12 @@ const deserializeAws_json1_0ReplicaList = (output, context) => {
|
|
|
7515
7515
|
};
|
|
7516
7516
|
const deserializeAws_json1_0ReplicaNotFoundException = (output, context) => {
|
|
7517
7517
|
return {
|
|
7518
|
-
message:
|
|
7518
|
+
message: smithy_client_1.expectString(output.message),
|
|
7519
7519
|
};
|
|
7520
7520
|
};
|
|
7521
7521
|
const deserializeAws_json1_0ReplicaSettingsDescription = (output, context) => {
|
|
7522
7522
|
return {
|
|
7523
|
-
RegionName:
|
|
7523
|
+
RegionName: smithy_client_1.expectString(output.RegionName),
|
|
7524
7524
|
ReplicaBillingModeSummary: output.ReplicaBillingModeSummary !== undefined && output.ReplicaBillingModeSummary !== null
|
|
7525
7525
|
? deserializeAws_json1_0BillingModeSummary(output.ReplicaBillingModeSummary, context)
|
|
7526
7526
|
: undefined,
|
|
@@ -7531,13 +7531,13 @@ const deserializeAws_json1_0ReplicaSettingsDescription = (output, context) => {
|
|
|
7531
7531
|
output.ReplicaProvisionedReadCapacityAutoScalingSettings !== null
|
|
7532
7532
|
? deserializeAws_json1_0AutoScalingSettingsDescription(output.ReplicaProvisionedReadCapacityAutoScalingSettings, context)
|
|
7533
7533
|
: undefined,
|
|
7534
|
-
ReplicaProvisionedReadCapacityUnits:
|
|
7534
|
+
ReplicaProvisionedReadCapacityUnits: smithy_client_1.expectLong(output.ReplicaProvisionedReadCapacityUnits),
|
|
7535
7535
|
ReplicaProvisionedWriteCapacityAutoScalingSettings: output.ReplicaProvisionedWriteCapacityAutoScalingSettings !== undefined &&
|
|
7536
7536
|
output.ReplicaProvisionedWriteCapacityAutoScalingSettings !== null
|
|
7537
7537
|
? deserializeAws_json1_0AutoScalingSettingsDescription(output.ReplicaProvisionedWriteCapacityAutoScalingSettings, context)
|
|
7538
7538
|
: undefined,
|
|
7539
|
-
ReplicaProvisionedWriteCapacityUnits:
|
|
7540
|
-
ReplicaStatus:
|
|
7539
|
+
ReplicaProvisionedWriteCapacityUnits: smithy_client_1.expectLong(output.ReplicaProvisionedWriteCapacityUnits),
|
|
7540
|
+
ReplicaStatus: smithy_client_1.expectString(output.ReplicaStatus),
|
|
7541
7541
|
};
|
|
7542
7542
|
};
|
|
7543
7543
|
const deserializeAws_json1_0ReplicaSettingsDescriptionList = (output, context) => {
|
|
@@ -7552,27 +7552,27 @@ const deserializeAws_json1_0ReplicaSettingsDescriptionList = (output, context) =
|
|
|
7552
7552
|
};
|
|
7553
7553
|
const deserializeAws_json1_0RequestLimitExceeded = (output, context) => {
|
|
7554
7554
|
return {
|
|
7555
|
-
message:
|
|
7555
|
+
message: smithy_client_1.expectString(output.message),
|
|
7556
7556
|
};
|
|
7557
7557
|
};
|
|
7558
7558
|
const deserializeAws_json1_0ResourceInUseException = (output, context) => {
|
|
7559
7559
|
return {
|
|
7560
|
-
message:
|
|
7560
|
+
message: smithy_client_1.expectString(output.message),
|
|
7561
7561
|
};
|
|
7562
7562
|
};
|
|
7563
7563
|
const deserializeAws_json1_0ResourceNotFoundException = (output, context) => {
|
|
7564
7564
|
return {
|
|
7565
|
-
message:
|
|
7565
|
+
message: smithy_client_1.expectString(output.message),
|
|
7566
7566
|
};
|
|
7567
7567
|
};
|
|
7568
7568
|
const deserializeAws_json1_0RestoreSummary = (output, context) => {
|
|
7569
7569
|
return {
|
|
7570
7570
|
RestoreDateTime: output.RestoreDateTime !== undefined && output.RestoreDateTime !== null
|
|
7571
|
-
?
|
|
7571
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.RestoreDateTime)))
|
|
7572
7572
|
: undefined,
|
|
7573
|
-
RestoreInProgress:
|
|
7574
|
-
SourceBackupArn:
|
|
7575
|
-
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),
|
|
7576
7576
|
};
|
|
7577
7577
|
};
|
|
7578
7578
|
const deserializeAws_json1_0RestoreTableFromBackupOutput = (output, context) => {
|
|
@@ -7594,14 +7594,14 @@ const deserializeAws_json1_0ScanOutput = (output, context) => {
|
|
|
7594
7594
|
ConsumedCapacity: output.ConsumedCapacity !== undefined && output.ConsumedCapacity !== null
|
|
7595
7595
|
? deserializeAws_json1_0ConsumedCapacity(output.ConsumedCapacity, context)
|
|
7596
7596
|
: undefined,
|
|
7597
|
-
Count:
|
|
7597
|
+
Count: smithy_client_1.expectInt32(output.Count),
|
|
7598
7598
|
Items: output.Items !== undefined && output.Items !== null
|
|
7599
7599
|
? deserializeAws_json1_0ItemList(output.Items, context)
|
|
7600
7600
|
: undefined,
|
|
7601
7601
|
LastEvaluatedKey: output.LastEvaluatedKey !== undefined && output.LastEvaluatedKey !== null
|
|
7602
7602
|
? deserializeAws_json1_0Key(output.LastEvaluatedKey, context)
|
|
7603
7603
|
: undefined,
|
|
7604
|
-
ScannedCount:
|
|
7604
|
+
ScannedCount: smithy_client_1.expectInt32(output.ScannedCount),
|
|
7605
7605
|
};
|
|
7606
7606
|
};
|
|
7607
7607
|
const deserializeAws_json1_0SecondaryIndexesCapacityMap = (output, context) => {
|
|
@@ -7617,21 +7617,21 @@ const deserializeAws_json1_0SecondaryIndexesCapacityMap = (output, context) => {
|
|
|
7617
7617
|
};
|
|
7618
7618
|
const deserializeAws_json1_0SourceTableDetails = (output, context) => {
|
|
7619
7619
|
return {
|
|
7620
|
-
BillingMode:
|
|
7621
|
-
ItemCount:
|
|
7620
|
+
BillingMode: smithy_client_1.expectString(output.BillingMode),
|
|
7621
|
+
ItemCount: smithy_client_1.expectLong(output.ItemCount),
|
|
7622
7622
|
KeySchema: output.KeySchema !== undefined && output.KeySchema !== null
|
|
7623
7623
|
? deserializeAws_json1_0KeySchema(output.KeySchema, context)
|
|
7624
7624
|
: undefined,
|
|
7625
7625
|
ProvisionedThroughput: output.ProvisionedThroughput !== undefined && output.ProvisionedThroughput !== null
|
|
7626
7626
|
? deserializeAws_json1_0ProvisionedThroughput(output.ProvisionedThroughput, context)
|
|
7627
7627
|
: undefined,
|
|
7628
|
-
TableArn:
|
|
7628
|
+
TableArn: smithy_client_1.expectString(output.TableArn),
|
|
7629
7629
|
TableCreationDateTime: output.TableCreationDateTime !== undefined && output.TableCreationDateTime !== null
|
|
7630
|
-
?
|
|
7630
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.TableCreationDateTime)))
|
|
7631
7631
|
: undefined,
|
|
7632
|
-
TableId:
|
|
7633
|
-
TableName:
|
|
7634
|
-
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),
|
|
7635
7635
|
};
|
|
7636
7636
|
};
|
|
7637
7637
|
const deserializeAws_json1_0SourceTableFeatureDetails = (output, context) => {
|
|
@@ -7656,17 +7656,17 @@ const deserializeAws_json1_0SourceTableFeatureDetails = (output, context) => {
|
|
|
7656
7656
|
const deserializeAws_json1_0SSEDescription = (output, context) => {
|
|
7657
7657
|
return {
|
|
7658
7658
|
InaccessibleEncryptionDateTime: output.InaccessibleEncryptionDateTime !== undefined && output.InaccessibleEncryptionDateTime !== null
|
|
7659
|
-
?
|
|
7659
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.InaccessibleEncryptionDateTime)))
|
|
7660
7660
|
: undefined,
|
|
7661
|
-
KMSMasterKeyArn:
|
|
7662
|
-
SSEType:
|
|
7663
|
-
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),
|
|
7664
7664
|
};
|
|
7665
7665
|
};
|
|
7666
7666
|
const deserializeAws_json1_0StreamSpecification = (output, context) => {
|
|
7667
7667
|
return {
|
|
7668
|
-
StreamEnabled:
|
|
7669
|
-
StreamViewType:
|
|
7668
|
+
StreamEnabled: smithy_client_1.expectBoolean(output.StreamEnabled),
|
|
7669
|
+
StreamViewType: smithy_client_1.expectString(output.StreamViewType),
|
|
7670
7670
|
};
|
|
7671
7671
|
};
|
|
7672
7672
|
const deserializeAws_json1_0StringSetAttributeValue = (output, context) => {
|
|
@@ -7676,12 +7676,12 @@ const deserializeAws_json1_0StringSetAttributeValue = (output, context) => {
|
|
|
7676
7676
|
if (entry === null) {
|
|
7677
7677
|
return null;
|
|
7678
7678
|
}
|
|
7679
|
-
return
|
|
7679
|
+
return smithy_client_1.expectString(entry);
|
|
7680
7680
|
});
|
|
7681
7681
|
};
|
|
7682
7682
|
const deserializeAws_json1_0TableAlreadyExistsException = (output, context) => {
|
|
7683
7683
|
return {
|
|
7684
|
-
message:
|
|
7684
|
+
message: smithy_client_1.expectString(output.message),
|
|
7685
7685
|
};
|
|
7686
7686
|
};
|
|
7687
7687
|
const deserializeAws_json1_0TableAutoScalingDescription = (output, context) => {
|
|
@@ -7689,8 +7689,8 @@ const deserializeAws_json1_0TableAutoScalingDescription = (output, context) => {
|
|
|
7689
7689
|
Replicas: output.Replicas !== undefined && output.Replicas !== null
|
|
7690
7690
|
? deserializeAws_json1_0ReplicaAutoScalingDescriptionList(output.Replicas, context)
|
|
7691
7691
|
: undefined,
|
|
7692
|
-
TableName:
|
|
7693
|
-
TableStatus:
|
|
7692
|
+
TableName: smithy_client_1.expectString(output.TableName),
|
|
7693
|
+
TableStatus: smithy_client_1.expectString(output.TableStatus),
|
|
7694
7694
|
};
|
|
7695
7695
|
};
|
|
7696
7696
|
const deserializeAws_json1_0TableDescription = (output, context) => {
|
|
@@ -7705,18 +7705,18 @@ const deserializeAws_json1_0TableDescription = (output, context) => {
|
|
|
7705
7705
|
? deserializeAws_json1_0BillingModeSummary(output.BillingModeSummary, context)
|
|
7706
7706
|
: undefined,
|
|
7707
7707
|
CreationDateTime: output.CreationDateTime !== undefined && output.CreationDateTime !== null
|
|
7708
|
-
?
|
|
7708
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationDateTime)))
|
|
7709
7709
|
: undefined,
|
|
7710
7710
|
GlobalSecondaryIndexes: output.GlobalSecondaryIndexes !== undefined && output.GlobalSecondaryIndexes !== null
|
|
7711
7711
|
? deserializeAws_json1_0GlobalSecondaryIndexDescriptionList(output.GlobalSecondaryIndexes, context)
|
|
7712
7712
|
: undefined,
|
|
7713
|
-
GlobalTableVersion:
|
|
7714
|
-
ItemCount:
|
|
7713
|
+
GlobalTableVersion: smithy_client_1.expectString(output.GlobalTableVersion),
|
|
7714
|
+
ItemCount: smithy_client_1.expectLong(output.ItemCount),
|
|
7715
7715
|
KeySchema: output.KeySchema !== undefined && output.KeySchema !== null
|
|
7716
7716
|
? deserializeAws_json1_0KeySchema(output.KeySchema, context)
|
|
7717
7717
|
: undefined,
|
|
7718
|
-
LatestStreamArn:
|
|
7719
|
-
LatestStreamLabel:
|
|
7718
|
+
LatestStreamArn: smithy_client_1.expectString(output.LatestStreamArn),
|
|
7719
|
+
LatestStreamLabel: smithy_client_1.expectString(output.LatestStreamLabel),
|
|
7720
7720
|
LocalSecondaryIndexes: output.LocalSecondaryIndexes !== undefined && output.LocalSecondaryIndexes !== null
|
|
7721
7721
|
? deserializeAws_json1_0LocalSecondaryIndexDescriptionList(output.LocalSecondaryIndexes, context)
|
|
7722
7722
|
: undefined,
|
|
@@ -7735,16 +7735,16 @@ const deserializeAws_json1_0TableDescription = (output, context) => {
|
|
|
7735
7735
|
StreamSpecification: output.StreamSpecification !== undefined && output.StreamSpecification !== null
|
|
7736
7736
|
? deserializeAws_json1_0StreamSpecification(output.StreamSpecification, context)
|
|
7737
7737
|
: undefined,
|
|
7738
|
-
TableArn:
|
|
7739
|
-
TableId:
|
|
7740
|
-
TableName:
|
|
7741
|
-
TableSizeBytes:
|
|
7742
|
-
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),
|
|
7743
7743
|
};
|
|
7744
7744
|
};
|
|
7745
7745
|
const deserializeAws_json1_0TableInUseException = (output, context) => {
|
|
7746
7746
|
return {
|
|
7747
|
-
message:
|
|
7747
|
+
message: smithy_client_1.expectString(output.message),
|
|
7748
7748
|
};
|
|
7749
7749
|
};
|
|
7750
7750
|
const deserializeAws_json1_0TableNameList = (output, context) => {
|
|
@@ -7754,18 +7754,18 @@ const deserializeAws_json1_0TableNameList = (output, context) => {
|
|
|
7754
7754
|
if (entry === null) {
|
|
7755
7755
|
return null;
|
|
7756
7756
|
}
|
|
7757
|
-
return
|
|
7757
|
+
return smithy_client_1.expectString(entry);
|
|
7758
7758
|
});
|
|
7759
7759
|
};
|
|
7760
7760
|
const deserializeAws_json1_0TableNotFoundException = (output, context) => {
|
|
7761
7761
|
return {
|
|
7762
|
-
message:
|
|
7762
|
+
message: smithy_client_1.expectString(output.message),
|
|
7763
7763
|
};
|
|
7764
7764
|
};
|
|
7765
7765
|
const deserializeAws_json1_0Tag = (output, context) => {
|
|
7766
7766
|
return {
|
|
7767
|
-
Key:
|
|
7768
|
-
Value:
|
|
7767
|
+
Key: smithy_client_1.expectString(output.Key),
|
|
7768
|
+
Value: smithy_client_1.expectString(output.Value),
|
|
7769
7769
|
};
|
|
7770
7770
|
};
|
|
7771
7771
|
const deserializeAws_json1_0TagList = (output, context) => {
|
|
@@ -7780,14 +7780,14 @@ const deserializeAws_json1_0TagList = (output, context) => {
|
|
|
7780
7780
|
};
|
|
7781
7781
|
const deserializeAws_json1_0TimeToLiveDescription = (output, context) => {
|
|
7782
7782
|
return {
|
|
7783
|
-
AttributeName:
|
|
7784
|
-
TimeToLiveStatus:
|
|
7783
|
+
AttributeName: smithy_client_1.expectString(output.AttributeName),
|
|
7784
|
+
TimeToLiveStatus: smithy_client_1.expectString(output.TimeToLiveStatus),
|
|
7785
7785
|
};
|
|
7786
7786
|
};
|
|
7787
7787
|
const deserializeAws_json1_0TimeToLiveSpecification = (output, context) => {
|
|
7788
7788
|
return {
|
|
7789
|
-
AttributeName:
|
|
7790
|
-
Enabled:
|
|
7789
|
+
AttributeName: smithy_client_1.expectString(output.AttributeName),
|
|
7790
|
+
Enabled: smithy_client_1.expectBoolean(output.Enabled),
|
|
7791
7791
|
};
|
|
7792
7792
|
};
|
|
7793
7793
|
const deserializeAws_json1_0TransactGetItemsOutput = (output, context) => {
|
|
@@ -7805,17 +7805,17 @@ const deserializeAws_json1_0TransactionCanceledException = (output, context) =>
|
|
|
7805
7805
|
CancellationReasons: output.CancellationReasons !== undefined && output.CancellationReasons !== null
|
|
7806
7806
|
? deserializeAws_json1_0CancellationReasonList(output.CancellationReasons, context)
|
|
7807
7807
|
: undefined,
|
|
7808
|
-
Message:
|
|
7808
|
+
Message: smithy_client_1.expectString(output.Message),
|
|
7809
7809
|
};
|
|
7810
7810
|
};
|
|
7811
7811
|
const deserializeAws_json1_0TransactionConflictException = (output, context) => {
|
|
7812
7812
|
return {
|
|
7813
|
-
message:
|
|
7813
|
+
message: smithy_client_1.expectString(output.message),
|
|
7814
7814
|
};
|
|
7815
7815
|
};
|
|
7816
7816
|
const deserializeAws_json1_0TransactionInProgressException = (output, context) => {
|
|
7817
7817
|
return {
|
|
7818
|
-
Message:
|
|
7818
|
+
Message: smithy_client_1.expectString(output.Message),
|
|
7819
7819
|
};
|
|
7820
7820
|
};
|
|
7821
7821
|
const deserializeAws_json1_0TransactWriteItemsOutput = (output, context) => {
|
|
@@ -7837,9 +7837,9 @@ const deserializeAws_json1_0UpdateContinuousBackupsOutput = (output, context) =>
|
|
|
7837
7837
|
};
|
|
7838
7838
|
const deserializeAws_json1_0UpdateContributorInsightsOutput = (output, context) => {
|
|
7839
7839
|
return {
|
|
7840
|
-
ContributorInsightsStatus:
|
|
7841
|
-
IndexName:
|
|
7842
|
-
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),
|
|
7843
7843
|
};
|
|
7844
7844
|
};
|
|
7845
7845
|
const deserializeAws_json1_0UpdateGlobalTableOutput = (output, context) => {
|
|
@@ -7851,7 +7851,7 @@ const deserializeAws_json1_0UpdateGlobalTableOutput = (output, context) => {
|
|
|
7851
7851
|
};
|
|
7852
7852
|
const deserializeAws_json1_0UpdateGlobalTableSettingsOutput = (output, context) => {
|
|
7853
7853
|
return {
|
|
7854
|
-
GlobalTableName:
|
|
7854
|
+
GlobalTableName: smithy_client_1.expectString(output.GlobalTableName),
|
|
7855
7855
|
ReplicaSettings: output.ReplicaSettings !== undefined && output.ReplicaSettings !== null
|
|
7856
7856
|
? deserializeAws_json1_0ReplicaSettingsDescriptionList(output.ReplicaSettings, context)
|
|
7857
7857
|
: undefined,
|