@aws-sdk/client-dynamodb 3.28.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 +32 -0
- package/dist/cjs/package.json +33 -33
- package/dist/cjs/protocols/Aws_json1_0.js +71 -69
- package/dist/cjs/protocols/Aws_json1_0.js.map +1 -1
- package/dist/es/endpoints.js +1 -2
- package/dist/es/endpoints.js.map +1 -1
- package/dist/es/package.json +33 -33
- package/dist/es/protocols/Aws_json1_0.js +72 -70
- package/dist/es/protocols/Aws_json1_0.js.map +1 -1
- package/package.json +33 -33
- package/protocols/Aws_json1_0.ts +78 -71
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-dynamodb",
|
|
3
3
|
"description": "AWS SDK for JavaScript Dynamodb Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.32.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation",
|
|
7
7
|
"build-documentation": "yarn remove-documentation && typedoc ./",
|
|
@@ -27,41 +27,41 @@
|
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"@aws-crypto/sha256-browser": "^1.0.0",
|
|
29
29
|
"@aws-crypto/sha256-js": "^1.0.0",
|
|
30
|
-
"@aws-sdk/client-sts": "3.
|
|
31
|
-
"@aws-sdk/config-resolver": "3.
|
|
32
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
33
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
34
|
-
"@aws-sdk/hash-node": "3.
|
|
35
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
36
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
37
|
-
"@aws-sdk/middleware-endpoint-discovery": "3.
|
|
38
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
39
|
-
"@aws-sdk/middleware-logger": "3.
|
|
40
|
-
"@aws-sdk/middleware-retry": "3.
|
|
41
|
-
"@aws-sdk/middleware-serde": "3.
|
|
42
|
-
"@aws-sdk/middleware-signing": "3.
|
|
43
|
-
"@aws-sdk/middleware-stack": "3.
|
|
44
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
45
|
-
"@aws-sdk/node-config-provider": "3.
|
|
46
|
-
"@aws-sdk/node-http-handler": "3.
|
|
47
|
-
"@aws-sdk/protocol-http": "3.
|
|
48
|
-
"@aws-sdk/smithy-client": "3.
|
|
49
|
-
"@aws-sdk/types": "3.
|
|
50
|
-
"@aws-sdk/url-parser": "3.
|
|
51
|
-
"@aws-sdk/util-base64-browser": "3.
|
|
52
|
-
"@aws-sdk/util-base64-node": "3.
|
|
53
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
54
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
55
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
56
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
57
|
-
"@aws-sdk/util-utf8-browser": "3.
|
|
58
|
-
"@aws-sdk/util-utf8-node": "3.
|
|
59
|
-
"@aws-sdk/util-waiter": "3.
|
|
30
|
+
"@aws-sdk/client-sts": "3.32.0",
|
|
31
|
+
"@aws-sdk/config-resolver": "3.32.0",
|
|
32
|
+
"@aws-sdk/credential-provider-node": "3.32.0",
|
|
33
|
+
"@aws-sdk/fetch-http-handler": "3.32.0",
|
|
34
|
+
"@aws-sdk/hash-node": "3.32.0",
|
|
35
|
+
"@aws-sdk/invalid-dependency": "3.32.0",
|
|
36
|
+
"@aws-sdk/middleware-content-length": "3.32.0",
|
|
37
|
+
"@aws-sdk/middleware-endpoint-discovery": "3.32.0",
|
|
38
|
+
"@aws-sdk/middleware-host-header": "3.32.0",
|
|
39
|
+
"@aws-sdk/middleware-logger": "3.32.0",
|
|
40
|
+
"@aws-sdk/middleware-retry": "3.32.0",
|
|
41
|
+
"@aws-sdk/middleware-serde": "3.32.0",
|
|
42
|
+
"@aws-sdk/middleware-signing": "3.32.0",
|
|
43
|
+
"@aws-sdk/middleware-stack": "3.32.0",
|
|
44
|
+
"@aws-sdk/middleware-user-agent": "3.32.0",
|
|
45
|
+
"@aws-sdk/node-config-provider": "3.32.0",
|
|
46
|
+
"@aws-sdk/node-http-handler": "3.32.0",
|
|
47
|
+
"@aws-sdk/protocol-http": "3.32.0",
|
|
48
|
+
"@aws-sdk/smithy-client": "3.32.0",
|
|
49
|
+
"@aws-sdk/types": "3.32.0",
|
|
50
|
+
"@aws-sdk/url-parser": "3.32.0",
|
|
51
|
+
"@aws-sdk/util-base64-browser": "3.32.0",
|
|
52
|
+
"@aws-sdk/util-base64-node": "3.32.0",
|
|
53
|
+
"@aws-sdk/util-body-length-browser": "3.32.0",
|
|
54
|
+
"@aws-sdk/util-body-length-node": "3.32.0",
|
|
55
|
+
"@aws-sdk/util-user-agent-browser": "3.32.0",
|
|
56
|
+
"@aws-sdk/util-user-agent-node": "3.32.0",
|
|
57
|
+
"@aws-sdk/util-utf8-browser": "3.32.0",
|
|
58
|
+
"@aws-sdk/util-utf8-node": "3.32.0",
|
|
59
|
+
"@aws-sdk/util-waiter": "3.32.0",
|
|
60
60
|
"tslib": "^2.3.0",
|
|
61
61
|
"uuid": "^8.3.2"
|
|
62
62
|
},
|
|
63
63
|
"devDependencies": {
|
|
64
|
-
"@aws-sdk/client-documentation-generator": "3.
|
|
64
|
+
"@aws-sdk/client-documentation-generator": "3.32.0",
|
|
65
65
|
"@types/node": "^12.7.5",
|
|
66
66
|
"@types/uuid": "^8.3.0",
|
|
67
67
|
"downlevel-dts": "0.7.0",
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
"rimraf": "^3.0.0",
|
|
70
70
|
"ts-jest": "^26.4.1",
|
|
71
71
|
"typedoc": "^0.19.2",
|
|
72
|
-
"typescript": "~4.3.
|
|
72
|
+
"typescript": "~4.3.5"
|
|
73
73
|
},
|
|
74
74
|
"engines": {
|
|
75
75
|
"node": ">=10.0.0"
|
package/protocols/Aws_json1_0.ts
CHANGED
|
@@ -324,9 +324,14 @@ import {
|
|
|
324
324
|
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
325
325
|
import {
|
|
326
326
|
expectBoolean as __expectBoolean,
|
|
327
|
-
|
|
327
|
+
expectInt32 as __expectInt32,
|
|
328
|
+
expectLong as __expectLong,
|
|
329
|
+
expectNonNull as __expectNonNull,
|
|
330
|
+
expectNumber as __expectNumber,
|
|
328
331
|
expectString as __expectString,
|
|
329
|
-
|
|
332
|
+
expectUnion as __expectUnion,
|
|
333
|
+
limitedParseDouble as __limitedParseDouble,
|
|
334
|
+
parseEpochTimestamp as __parseEpochTimestamp,
|
|
330
335
|
serializeFloat as __serializeFloat,
|
|
331
336
|
} from "@aws-sdk/smithy-client";
|
|
332
337
|
import {
|
|
@@ -7563,7 +7568,7 @@ const deserializeAws_json1_0ArchivalSummary = (output: any, context: __SerdeCont
|
|
|
7563
7568
|
ArchivalBackupArn: __expectString(output.ArchivalBackupArn),
|
|
7564
7569
|
ArchivalDateTime:
|
|
7565
7570
|
output.ArchivalDateTime !== undefined && output.ArchivalDateTime !== null
|
|
7566
|
-
?
|
|
7571
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.ArchivalDateTime)))
|
|
7567
7572
|
: undefined,
|
|
7568
7573
|
ArchivalReason: __expectString(output.ArchivalReason),
|
|
7569
7574
|
} as any;
|
|
@@ -7597,7 +7602,7 @@ const deserializeAws_json1_0AttributeMap = (
|
|
|
7597
7602
|
}
|
|
7598
7603
|
return {
|
|
7599
7604
|
...acc,
|
|
7600
|
-
[key]: deserializeAws_json1_0AttributeValue(value, context),
|
|
7605
|
+
[key]: deserializeAws_json1_0AttributeValue(__expectUnion(value), context),
|
|
7601
7606
|
};
|
|
7602
7607
|
}, {});
|
|
7603
7608
|
};
|
|
@@ -7697,8 +7702,8 @@ const deserializeAws_json1_0AutoScalingSettingsDescription = (
|
|
|
7697
7702
|
return {
|
|
7698
7703
|
AutoScalingDisabled: __expectBoolean(output.AutoScalingDisabled),
|
|
7699
7704
|
AutoScalingRoleArn: __expectString(output.AutoScalingRoleArn),
|
|
7700
|
-
MaximumUnits:
|
|
7701
|
-
MinimumUnits:
|
|
7705
|
+
MaximumUnits: __expectLong(output.MaximumUnits),
|
|
7706
|
+
MinimumUnits: __expectLong(output.MinimumUnits),
|
|
7702
7707
|
ScalingPolicies:
|
|
7703
7708
|
output.ScalingPolicies !== undefined && output.ScalingPolicies !== null
|
|
7704
7709
|
? deserializeAws_json1_0AutoScalingPolicyDescriptionList(output.ScalingPolicies, context)
|
|
@@ -7712,9 +7717,9 @@ const deserializeAws_json1_0AutoScalingTargetTrackingScalingPolicyConfigurationD
|
|
|
7712
7717
|
): AutoScalingTargetTrackingScalingPolicyConfigurationDescription => {
|
|
7713
7718
|
return {
|
|
7714
7719
|
DisableScaleIn: __expectBoolean(output.DisableScaleIn),
|
|
7715
|
-
ScaleInCooldown:
|
|
7716
|
-
ScaleOutCooldown:
|
|
7717
|
-
TargetValue:
|
|
7720
|
+
ScaleInCooldown: __expectInt32(output.ScaleInCooldown),
|
|
7721
|
+
ScaleOutCooldown: __expectInt32(output.ScaleOutCooldown),
|
|
7722
|
+
TargetValue: __limitedParseDouble(output.TargetValue),
|
|
7718
7723
|
} as any;
|
|
7719
7724
|
};
|
|
7720
7725
|
|
|
@@ -7740,14 +7745,14 @@ const deserializeAws_json1_0BackupDetails = (output: any, context: __SerdeContex
|
|
|
7740
7745
|
BackupArn: __expectString(output.BackupArn),
|
|
7741
7746
|
BackupCreationDateTime:
|
|
7742
7747
|
output.BackupCreationDateTime !== undefined && output.BackupCreationDateTime !== null
|
|
7743
|
-
?
|
|
7748
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.BackupCreationDateTime)))
|
|
7744
7749
|
: undefined,
|
|
7745
7750
|
BackupExpiryDateTime:
|
|
7746
7751
|
output.BackupExpiryDateTime !== undefined && output.BackupExpiryDateTime !== null
|
|
7747
|
-
?
|
|
7752
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.BackupExpiryDateTime)))
|
|
7748
7753
|
: undefined,
|
|
7749
7754
|
BackupName: __expectString(output.BackupName),
|
|
7750
|
-
BackupSizeBytes:
|
|
7755
|
+
BackupSizeBytes: __expectLong(output.BackupSizeBytes),
|
|
7751
7756
|
BackupStatus: __expectString(output.BackupStatus),
|
|
7752
7757
|
BackupType: __expectString(output.BackupType),
|
|
7753
7758
|
} as any;
|
|
@@ -7784,14 +7789,14 @@ const deserializeAws_json1_0BackupSummary = (output: any, context: __SerdeContex
|
|
|
7784
7789
|
BackupArn: __expectString(output.BackupArn),
|
|
7785
7790
|
BackupCreationDateTime:
|
|
7786
7791
|
output.BackupCreationDateTime !== undefined && output.BackupCreationDateTime !== null
|
|
7787
|
-
?
|
|
7792
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.BackupCreationDateTime)))
|
|
7788
7793
|
: undefined,
|
|
7789
7794
|
BackupExpiryDateTime:
|
|
7790
7795
|
output.BackupExpiryDateTime !== undefined && output.BackupExpiryDateTime !== null
|
|
7791
|
-
?
|
|
7796
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.BackupExpiryDateTime)))
|
|
7792
7797
|
: undefined,
|
|
7793
7798
|
BackupName: __expectString(output.BackupName),
|
|
7794
|
-
BackupSizeBytes:
|
|
7799
|
+
BackupSizeBytes: __expectLong(output.BackupSizeBytes),
|
|
7795
7800
|
BackupStatus: __expectString(output.BackupStatus),
|
|
7796
7801
|
BackupType: __expectString(output.BackupType),
|
|
7797
7802
|
TableArn: __expectString(output.TableArn),
|
|
@@ -7920,7 +7925,7 @@ const deserializeAws_json1_0BillingModeSummary = (output: any, context: __SerdeC
|
|
|
7920
7925
|
BillingMode: __expectString(output.BillingMode),
|
|
7921
7926
|
LastUpdateToPayPerRequestDateTime:
|
|
7922
7927
|
output.LastUpdateToPayPerRequestDateTime !== undefined && output.LastUpdateToPayPerRequestDateTime !== null
|
|
7923
|
-
?
|
|
7928
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastUpdateToPayPerRequestDateTime)))
|
|
7924
7929
|
: undefined,
|
|
7925
7930
|
} as any;
|
|
7926
7931
|
};
|
|
@@ -7960,9 +7965,9 @@ const deserializeAws_json1_0CancellationReasonList = (output: any, context: __Se
|
|
|
7960
7965
|
|
|
7961
7966
|
const deserializeAws_json1_0Capacity = (output: any, context: __SerdeContext): Capacity => {
|
|
7962
7967
|
return {
|
|
7963
|
-
CapacityUnits:
|
|
7964
|
-
ReadCapacityUnits:
|
|
7965
|
-
WriteCapacityUnits:
|
|
7968
|
+
CapacityUnits: __limitedParseDouble(output.CapacityUnits),
|
|
7969
|
+
ReadCapacityUnits: __limitedParseDouble(output.ReadCapacityUnits),
|
|
7970
|
+
WriteCapacityUnits: __limitedParseDouble(output.WriteCapacityUnits),
|
|
7966
7971
|
} as any;
|
|
7967
7972
|
};
|
|
7968
7973
|
|
|
@@ -7977,7 +7982,7 @@ const deserializeAws_json1_0ConditionalCheckFailedException = (
|
|
|
7977
7982
|
|
|
7978
7983
|
const deserializeAws_json1_0ConsumedCapacity = (output: any, context: __SerdeContext): ConsumedCapacity => {
|
|
7979
7984
|
return {
|
|
7980
|
-
CapacityUnits:
|
|
7985
|
+
CapacityUnits: __limitedParseDouble(output.CapacityUnits),
|
|
7981
7986
|
GlobalSecondaryIndexes:
|
|
7982
7987
|
output.GlobalSecondaryIndexes !== undefined && output.GlobalSecondaryIndexes !== null
|
|
7983
7988
|
? deserializeAws_json1_0SecondaryIndexesCapacityMap(output.GlobalSecondaryIndexes, context)
|
|
@@ -7986,13 +7991,13 @@ const deserializeAws_json1_0ConsumedCapacity = (output: any, context: __SerdeCon
|
|
|
7986
7991
|
output.LocalSecondaryIndexes !== undefined && output.LocalSecondaryIndexes !== null
|
|
7987
7992
|
? deserializeAws_json1_0SecondaryIndexesCapacityMap(output.LocalSecondaryIndexes, context)
|
|
7988
7993
|
: undefined,
|
|
7989
|
-
ReadCapacityUnits:
|
|
7994
|
+
ReadCapacityUnits: __limitedParseDouble(output.ReadCapacityUnits),
|
|
7990
7995
|
Table:
|
|
7991
7996
|
output.Table !== undefined && output.Table !== null
|
|
7992
7997
|
? deserializeAws_json1_0Capacity(output.Table, context)
|
|
7993
7998
|
: undefined,
|
|
7994
7999
|
TableName: __expectString(output.TableName),
|
|
7995
|
-
WriteCapacityUnits:
|
|
8000
|
+
WriteCapacityUnits: __limitedParseDouble(output.WriteCapacityUnits),
|
|
7996
8001
|
} as any;
|
|
7997
8002
|
};
|
|
7998
8003
|
|
|
@@ -8174,7 +8179,7 @@ const deserializeAws_json1_0DescribeContributorInsightsOutput = (
|
|
|
8174
8179
|
IndexName: __expectString(output.IndexName),
|
|
8175
8180
|
LastUpdateDateTime:
|
|
8176
8181
|
output.LastUpdateDateTime !== undefined && output.LastUpdateDateTime !== null
|
|
8177
|
-
?
|
|
8182
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastUpdateDateTime)))
|
|
8178
8183
|
: undefined,
|
|
8179
8184
|
TableName: __expectString(output.TableName),
|
|
8180
8185
|
} as any;
|
|
@@ -8241,10 +8246,10 @@ const deserializeAws_json1_0DescribeKinesisStreamingDestinationOutput = (
|
|
|
8241
8246
|
|
|
8242
8247
|
const deserializeAws_json1_0DescribeLimitsOutput = (output: any, context: __SerdeContext): DescribeLimitsOutput => {
|
|
8243
8248
|
return {
|
|
8244
|
-
AccountMaxReadCapacityUnits:
|
|
8245
|
-
AccountMaxWriteCapacityUnits:
|
|
8246
|
-
TableMaxReadCapacityUnits:
|
|
8247
|
-
TableMaxWriteCapacityUnits:
|
|
8249
|
+
AccountMaxReadCapacityUnits: __expectLong(output.AccountMaxReadCapacityUnits),
|
|
8250
|
+
AccountMaxWriteCapacityUnits: __expectLong(output.AccountMaxWriteCapacityUnits),
|
|
8251
|
+
TableMaxReadCapacityUnits: __expectLong(output.TableMaxReadCapacityUnits),
|
|
8252
|
+
TableMaxWriteCapacityUnits: __expectLong(output.TableMaxWriteCapacityUnits),
|
|
8248
8253
|
} as any;
|
|
8249
8254
|
};
|
|
8250
8255
|
|
|
@@ -8290,7 +8295,7 @@ const deserializeAws_json1_0DuplicateItemException = (output: any, context: __Se
|
|
|
8290
8295
|
const deserializeAws_json1_0Endpoint = (output: any, context: __SerdeContext): Endpoint => {
|
|
8291
8296
|
return {
|
|
8292
8297
|
Address: __expectString(output.Address),
|
|
8293
|
-
CachePeriodInMinutes:
|
|
8298
|
+
CachePeriodInMinutes: __expectLong(output.CachePeriodInMinutes),
|
|
8294
8299
|
} as any;
|
|
8295
8300
|
};
|
|
8296
8301
|
|
|
@@ -8338,21 +8343,23 @@ const deserializeAws_json1_0ExportConflictException = (
|
|
|
8338
8343
|
|
|
8339
8344
|
const deserializeAws_json1_0ExportDescription = (output: any, context: __SerdeContext): ExportDescription => {
|
|
8340
8345
|
return {
|
|
8341
|
-
BilledSizeBytes:
|
|
8346
|
+
BilledSizeBytes: __expectLong(output.BilledSizeBytes),
|
|
8342
8347
|
ClientToken: __expectString(output.ClientToken),
|
|
8343
8348
|
EndTime:
|
|
8344
|
-
output.EndTime !== undefined && output.EndTime !== null
|
|
8349
|
+
output.EndTime !== undefined && output.EndTime !== null
|
|
8350
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.EndTime)))
|
|
8351
|
+
: undefined,
|
|
8345
8352
|
ExportArn: __expectString(output.ExportArn),
|
|
8346
8353
|
ExportFormat: __expectString(output.ExportFormat),
|
|
8347
8354
|
ExportManifest: __expectString(output.ExportManifest),
|
|
8348
8355
|
ExportStatus: __expectString(output.ExportStatus),
|
|
8349
8356
|
ExportTime:
|
|
8350
8357
|
output.ExportTime !== undefined && output.ExportTime !== null
|
|
8351
|
-
?
|
|
8358
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.ExportTime)))
|
|
8352
8359
|
: undefined,
|
|
8353
8360
|
FailureCode: __expectString(output.FailureCode),
|
|
8354
8361
|
FailureMessage: __expectString(output.FailureMessage),
|
|
8355
|
-
ItemCount:
|
|
8362
|
+
ItemCount: __expectLong(output.ItemCount),
|
|
8356
8363
|
S3Bucket: __expectString(output.S3Bucket),
|
|
8357
8364
|
S3BucketOwner: __expectString(output.S3BucketOwner),
|
|
8358
8365
|
S3Prefix: __expectString(output.S3Prefix),
|
|
@@ -8360,7 +8367,7 @@ const deserializeAws_json1_0ExportDescription = (output: any, context: __SerdeCo
|
|
|
8360
8367
|
S3SseKmsKeyId: __expectString(output.S3SseKmsKeyId),
|
|
8361
8368
|
StartTime:
|
|
8362
8369
|
output.StartTime !== undefined && output.StartTime !== null
|
|
8363
|
-
?
|
|
8370
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartTime)))
|
|
8364
8371
|
: undefined,
|
|
8365
8372
|
TableArn: __expectString(output.TableArn),
|
|
8366
8373
|
TableId: __expectString(output.TableId),
|
|
@@ -8449,9 +8456,9 @@ const deserializeAws_json1_0GlobalSecondaryIndexDescription = (
|
|
|
8449
8456
|
Backfilling: __expectBoolean(output.Backfilling),
|
|
8450
8457
|
IndexArn: __expectString(output.IndexArn),
|
|
8451
8458
|
IndexName: __expectString(output.IndexName),
|
|
8452
|
-
IndexSizeBytes:
|
|
8459
|
+
IndexSizeBytes: __expectLong(output.IndexSizeBytes),
|
|
8453
8460
|
IndexStatus: __expectString(output.IndexStatus),
|
|
8454
|
-
ItemCount:
|
|
8461
|
+
ItemCount: __expectLong(output.ItemCount),
|
|
8455
8462
|
KeySchema:
|
|
8456
8463
|
output.KeySchema !== undefined && output.KeySchema !== null
|
|
8457
8464
|
? deserializeAws_json1_0KeySchema(output.KeySchema, context)
|
|
@@ -8539,7 +8546,7 @@ const deserializeAws_json1_0GlobalTableDescription = (output: any, context: __Se
|
|
|
8539
8546
|
return {
|
|
8540
8547
|
CreationDateTime:
|
|
8541
8548
|
output.CreationDateTime !== undefined && output.CreationDateTime !== null
|
|
8542
|
-
?
|
|
8549
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationDateTime)))
|
|
8543
8550
|
: undefined,
|
|
8544
8551
|
GlobalTableArn: __expectString(output.GlobalTableArn),
|
|
8545
8552
|
GlobalTableName: __expectString(output.GlobalTableName),
|
|
@@ -8629,7 +8636,7 @@ const deserializeAws_json1_0ItemCollectionKeyAttributeMap = (
|
|
|
8629
8636
|
}
|
|
8630
8637
|
return {
|
|
8631
8638
|
...acc,
|
|
8632
|
-
[key]: deserializeAws_json1_0AttributeValue(value, context),
|
|
8639
|
+
[key]: deserializeAws_json1_0AttributeValue(__expectUnion(value), context),
|
|
8633
8640
|
};
|
|
8634
8641
|
}, {});
|
|
8635
8642
|
};
|
|
@@ -8686,7 +8693,7 @@ const deserializeAws_json1_0ItemCollectionSizeEstimateRange = (output: any, cont
|
|
|
8686
8693
|
if (entry === null) {
|
|
8687
8694
|
return null as any;
|
|
8688
8695
|
}
|
|
8689
|
-
return
|
|
8696
|
+
return __limitedParseDouble(entry) as any;
|
|
8690
8697
|
});
|
|
8691
8698
|
};
|
|
8692
8699
|
|
|
@@ -8737,7 +8744,7 @@ const deserializeAws_json1_0Key = (output: any, context: __SerdeContext): { [key
|
|
|
8737
8744
|
}
|
|
8738
8745
|
return {
|
|
8739
8746
|
...acc,
|
|
8740
|
-
[key]: deserializeAws_json1_0AttributeValue(value, context),
|
|
8747
|
+
[key]: deserializeAws_json1_0AttributeValue(__expectUnion(value), context),
|
|
8741
8748
|
};
|
|
8742
8749
|
}, {});
|
|
8743
8750
|
};
|
|
@@ -8839,7 +8846,7 @@ const deserializeAws_json1_0ListAttributeValue = (output: any, context: __SerdeC
|
|
|
8839
8846
|
if (entry === null) {
|
|
8840
8847
|
return null as any;
|
|
8841
8848
|
}
|
|
8842
|
-
return deserializeAws_json1_0AttributeValue(entry, context);
|
|
8849
|
+
return deserializeAws_json1_0AttributeValue(__expectUnion(entry), context);
|
|
8843
8850
|
});
|
|
8844
8851
|
};
|
|
8845
8852
|
|
|
@@ -8916,8 +8923,8 @@ const deserializeAws_json1_0LocalSecondaryIndexDescription = (
|
|
|
8916
8923
|
return {
|
|
8917
8924
|
IndexArn: __expectString(output.IndexArn),
|
|
8918
8925
|
IndexName: __expectString(output.IndexName),
|
|
8919
|
-
IndexSizeBytes:
|
|
8920
|
-
ItemCount:
|
|
8926
|
+
IndexSizeBytes: __expectLong(output.IndexSizeBytes),
|
|
8927
|
+
ItemCount: __expectLong(output.ItemCount),
|
|
8921
8928
|
KeySchema:
|
|
8922
8929
|
output.KeySchema !== undefined && output.KeySchema !== null
|
|
8923
8930
|
? deserializeAws_json1_0KeySchema(output.KeySchema, context)
|
|
@@ -8984,7 +8991,7 @@ const deserializeAws_json1_0MapAttributeValue = (
|
|
|
8984
8991
|
}
|
|
8985
8992
|
return {
|
|
8986
8993
|
...acc,
|
|
8987
|
-
[key]: deserializeAws_json1_0AttributeValue(value, context),
|
|
8994
|
+
[key]: deserializeAws_json1_0AttributeValue(__expectUnion(value), context),
|
|
8988
8995
|
};
|
|
8989
8996
|
}, {});
|
|
8990
8997
|
};
|
|
@@ -9029,11 +9036,11 @@ const deserializeAws_json1_0PointInTimeRecoveryDescription = (
|
|
|
9029
9036
|
return {
|
|
9030
9037
|
EarliestRestorableDateTime:
|
|
9031
9038
|
output.EarliestRestorableDateTime !== undefined && output.EarliestRestorableDateTime !== null
|
|
9032
|
-
?
|
|
9039
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.EarliestRestorableDateTime)))
|
|
9033
9040
|
: undefined,
|
|
9034
9041
|
LatestRestorableDateTime:
|
|
9035
9042
|
output.LatestRestorableDateTime !== undefined && output.LatestRestorableDateTime !== null
|
|
9036
|
-
?
|
|
9043
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LatestRestorableDateTime)))
|
|
9037
9044
|
: undefined,
|
|
9038
9045
|
PointInTimeRecoveryStatus: __expectString(output.PointInTimeRecoveryStatus),
|
|
9039
9046
|
} as any;
|
|
@@ -9060,8 +9067,8 @@ const deserializeAws_json1_0Projection = (output: any, context: __SerdeContext):
|
|
|
9060
9067
|
|
|
9061
9068
|
const deserializeAws_json1_0ProvisionedThroughput = (output: any, context: __SerdeContext): ProvisionedThroughput => {
|
|
9062
9069
|
return {
|
|
9063
|
-
ReadCapacityUnits:
|
|
9064
|
-
WriteCapacityUnits:
|
|
9070
|
+
ReadCapacityUnits: __expectLong(output.ReadCapacityUnits),
|
|
9071
|
+
WriteCapacityUnits: __expectLong(output.WriteCapacityUnits),
|
|
9065
9072
|
} as any;
|
|
9066
9073
|
};
|
|
9067
9074
|
|
|
@@ -9072,15 +9079,15 @@ const deserializeAws_json1_0ProvisionedThroughputDescription = (
|
|
|
9072
9079
|
return {
|
|
9073
9080
|
LastDecreaseDateTime:
|
|
9074
9081
|
output.LastDecreaseDateTime !== undefined && output.LastDecreaseDateTime !== null
|
|
9075
|
-
?
|
|
9082
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastDecreaseDateTime)))
|
|
9076
9083
|
: undefined,
|
|
9077
9084
|
LastIncreaseDateTime:
|
|
9078
9085
|
output.LastIncreaseDateTime !== undefined && output.LastIncreaseDateTime !== null
|
|
9079
|
-
?
|
|
9086
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastIncreaseDateTime)))
|
|
9080
9087
|
: undefined,
|
|
9081
|
-
NumberOfDecreasesToday:
|
|
9082
|
-
ReadCapacityUnits:
|
|
9083
|
-
WriteCapacityUnits:
|
|
9088
|
+
NumberOfDecreasesToday: __expectLong(output.NumberOfDecreasesToday),
|
|
9089
|
+
ReadCapacityUnits: __expectLong(output.ReadCapacityUnits),
|
|
9090
|
+
WriteCapacityUnits: __expectLong(output.WriteCapacityUnits),
|
|
9084
9091
|
} as any;
|
|
9085
9092
|
};
|
|
9086
9093
|
|
|
@@ -9098,7 +9105,7 @@ const deserializeAws_json1_0ProvisionedThroughputOverride = (
|
|
|
9098
9105
|
context: __SerdeContext
|
|
9099
9106
|
): ProvisionedThroughputOverride => {
|
|
9100
9107
|
return {
|
|
9101
|
-
ReadCapacityUnits:
|
|
9108
|
+
ReadCapacityUnits: __expectLong(output.ReadCapacityUnits),
|
|
9102
9109
|
} as any;
|
|
9103
9110
|
};
|
|
9104
9111
|
|
|
@@ -9112,7 +9119,7 @@ const deserializeAws_json1_0PutItemInputAttributeMap = (
|
|
|
9112
9119
|
}
|
|
9113
9120
|
return {
|
|
9114
9121
|
...acc,
|
|
9115
|
-
[key]: deserializeAws_json1_0AttributeValue(value, context),
|
|
9122
|
+
[key]: deserializeAws_json1_0AttributeValue(__expectUnion(value), context),
|
|
9116
9123
|
};
|
|
9117
9124
|
}, {});
|
|
9118
9125
|
};
|
|
@@ -9149,7 +9156,7 @@ const deserializeAws_json1_0QueryOutput = (output: any, context: __SerdeContext)
|
|
|
9149
9156
|
output.ConsumedCapacity !== undefined && output.ConsumedCapacity !== null
|
|
9150
9157
|
? deserializeAws_json1_0ConsumedCapacity(output.ConsumedCapacity, context)
|
|
9151
9158
|
: undefined,
|
|
9152
|
-
Count:
|
|
9159
|
+
Count: __expectInt32(output.Count),
|
|
9153
9160
|
Items:
|
|
9154
9161
|
output.Items !== undefined && output.Items !== null
|
|
9155
9162
|
? deserializeAws_json1_0ItemList(output.Items, context)
|
|
@@ -9158,7 +9165,7 @@ const deserializeAws_json1_0QueryOutput = (output: any, context: __SerdeContext)
|
|
|
9158
9165
|
output.LastEvaluatedKey !== undefined && output.LastEvaluatedKey !== null
|
|
9159
9166
|
? deserializeAws_json1_0Key(output.LastEvaluatedKey, context)
|
|
9160
9167
|
: undefined,
|
|
9161
|
-
ScannedCount:
|
|
9168
|
+
ScannedCount: __expectInt32(output.ScannedCount),
|
|
9162
9169
|
} as any;
|
|
9163
9170
|
};
|
|
9164
9171
|
|
|
@@ -9238,7 +9245,7 @@ const deserializeAws_json1_0ReplicaDescription = (output: any, context: __SerdeC
|
|
|
9238
9245
|
RegionName: __expectString(output.RegionName),
|
|
9239
9246
|
ReplicaInaccessibleDateTime:
|
|
9240
9247
|
output.ReplicaInaccessibleDateTime !== undefined && output.ReplicaInaccessibleDateTime !== null
|
|
9241
|
-
?
|
|
9248
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.ReplicaInaccessibleDateTime)))
|
|
9242
9249
|
: undefined,
|
|
9243
9250
|
ReplicaStatus: __expectString(output.ReplicaStatus),
|
|
9244
9251
|
ReplicaStatusDescription: __expectString(output.ReplicaStatusDescription),
|
|
@@ -9339,7 +9346,7 @@ const deserializeAws_json1_0ReplicaGlobalSecondaryIndexSettingsDescription = (
|
|
|
9339
9346
|
context
|
|
9340
9347
|
)
|
|
9341
9348
|
: undefined,
|
|
9342
|
-
ProvisionedReadCapacityUnits:
|
|
9349
|
+
ProvisionedReadCapacityUnits: __expectLong(output.ProvisionedReadCapacityUnits),
|
|
9343
9350
|
ProvisionedWriteCapacityAutoScalingSettings:
|
|
9344
9351
|
output.ProvisionedWriteCapacityAutoScalingSettings !== undefined &&
|
|
9345
9352
|
output.ProvisionedWriteCapacityAutoScalingSettings !== null
|
|
@@ -9348,7 +9355,7 @@ const deserializeAws_json1_0ReplicaGlobalSecondaryIndexSettingsDescription = (
|
|
|
9348
9355
|
context
|
|
9349
9356
|
)
|
|
9350
9357
|
: undefined,
|
|
9351
|
-
ProvisionedWriteCapacityUnits:
|
|
9358
|
+
ProvisionedWriteCapacityUnits: __expectLong(output.ProvisionedWriteCapacityUnits),
|
|
9352
9359
|
} as any;
|
|
9353
9360
|
};
|
|
9354
9361
|
|
|
@@ -9411,7 +9418,7 @@ const deserializeAws_json1_0ReplicaSettingsDescription = (
|
|
|
9411
9418
|
context
|
|
9412
9419
|
)
|
|
9413
9420
|
: undefined,
|
|
9414
|
-
ReplicaProvisionedReadCapacityUnits:
|
|
9421
|
+
ReplicaProvisionedReadCapacityUnits: __expectLong(output.ReplicaProvisionedReadCapacityUnits),
|
|
9415
9422
|
ReplicaProvisionedWriteCapacityAutoScalingSettings:
|
|
9416
9423
|
output.ReplicaProvisionedWriteCapacityAutoScalingSettings !== undefined &&
|
|
9417
9424
|
output.ReplicaProvisionedWriteCapacityAutoScalingSettings !== null
|
|
@@ -9420,7 +9427,7 @@ const deserializeAws_json1_0ReplicaSettingsDescription = (
|
|
|
9420
9427
|
context
|
|
9421
9428
|
)
|
|
9422
9429
|
: undefined,
|
|
9423
|
-
ReplicaProvisionedWriteCapacityUnits:
|
|
9430
|
+
ReplicaProvisionedWriteCapacityUnits: __expectLong(output.ReplicaProvisionedWriteCapacityUnits),
|
|
9424
9431
|
ReplicaStatus: __expectString(output.ReplicaStatus),
|
|
9425
9432
|
} as any;
|
|
9426
9433
|
};
|
|
@@ -9464,7 +9471,7 @@ const deserializeAws_json1_0RestoreSummary = (output: any, context: __SerdeConte
|
|
|
9464
9471
|
return {
|
|
9465
9472
|
RestoreDateTime:
|
|
9466
9473
|
output.RestoreDateTime !== undefined && output.RestoreDateTime !== null
|
|
9467
|
-
?
|
|
9474
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.RestoreDateTime)))
|
|
9468
9475
|
: undefined,
|
|
9469
9476
|
RestoreInProgress: __expectBoolean(output.RestoreInProgress),
|
|
9470
9477
|
SourceBackupArn: __expectString(output.SourceBackupArn),
|
|
@@ -9502,7 +9509,7 @@ const deserializeAws_json1_0ScanOutput = (output: any, context: __SerdeContext):
|
|
|
9502
9509
|
output.ConsumedCapacity !== undefined && output.ConsumedCapacity !== null
|
|
9503
9510
|
? deserializeAws_json1_0ConsumedCapacity(output.ConsumedCapacity, context)
|
|
9504
9511
|
: undefined,
|
|
9505
|
-
Count:
|
|
9512
|
+
Count: __expectInt32(output.Count),
|
|
9506
9513
|
Items:
|
|
9507
9514
|
output.Items !== undefined && output.Items !== null
|
|
9508
9515
|
? deserializeAws_json1_0ItemList(output.Items, context)
|
|
@@ -9511,7 +9518,7 @@ const deserializeAws_json1_0ScanOutput = (output: any, context: __SerdeContext):
|
|
|
9511
9518
|
output.LastEvaluatedKey !== undefined && output.LastEvaluatedKey !== null
|
|
9512
9519
|
? deserializeAws_json1_0Key(output.LastEvaluatedKey, context)
|
|
9513
9520
|
: undefined,
|
|
9514
|
-
ScannedCount:
|
|
9521
|
+
ScannedCount: __expectInt32(output.ScannedCount),
|
|
9515
9522
|
} as any;
|
|
9516
9523
|
};
|
|
9517
9524
|
|
|
@@ -9533,7 +9540,7 @@ const deserializeAws_json1_0SecondaryIndexesCapacityMap = (
|
|
|
9533
9540
|
const deserializeAws_json1_0SourceTableDetails = (output: any, context: __SerdeContext): SourceTableDetails => {
|
|
9534
9541
|
return {
|
|
9535
9542
|
BillingMode: __expectString(output.BillingMode),
|
|
9536
|
-
ItemCount:
|
|
9543
|
+
ItemCount: __expectLong(output.ItemCount),
|
|
9537
9544
|
KeySchema:
|
|
9538
9545
|
output.KeySchema !== undefined && output.KeySchema !== null
|
|
9539
9546
|
? deserializeAws_json1_0KeySchema(output.KeySchema, context)
|
|
@@ -9545,11 +9552,11 @@ const deserializeAws_json1_0SourceTableDetails = (output: any, context: __SerdeC
|
|
|
9545
9552
|
TableArn: __expectString(output.TableArn),
|
|
9546
9553
|
TableCreationDateTime:
|
|
9547
9554
|
output.TableCreationDateTime !== undefined && output.TableCreationDateTime !== null
|
|
9548
|
-
?
|
|
9555
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.TableCreationDateTime)))
|
|
9549
9556
|
: undefined,
|
|
9550
9557
|
TableId: __expectString(output.TableId),
|
|
9551
9558
|
TableName: __expectString(output.TableName),
|
|
9552
|
-
TableSizeBytes:
|
|
9559
|
+
TableSizeBytes: __expectLong(output.TableSizeBytes),
|
|
9553
9560
|
} as any;
|
|
9554
9561
|
};
|
|
9555
9562
|
|
|
@@ -9585,7 +9592,7 @@ const deserializeAws_json1_0SSEDescription = (output: any, context: __SerdeConte
|
|
|
9585
9592
|
return {
|
|
9586
9593
|
InaccessibleEncryptionDateTime:
|
|
9587
9594
|
output.InaccessibleEncryptionDateTime !== undefined && output.InaccessibleEncryptionDateTime !== null
|
|
9588
|
-
?
|
|
9595
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.InaccessibleEncryptionDateTime)))
|
|
9589
9596
|
: undefined,
|
|
9590
9597
|
KMSMasterKeyArn: __expectString(output.KMSMasterKeyArn),
|
|
9591
9598
|
SSEType: __expectString(output.SSEType),
|
|
@@ -9650,14 +9657,14 @@ const deserializeAws_json1_0TableDescription = (output: any, context: __SerdeCon
|
|
|
9650
9657
|
: undefined,
|
|
9651
9658
|
CreationDateTime:
|
|
9652
9659
|
output.CreationDateTime !== undefined && output.CreationDateTime !== null
|
|
9653
|
-
?
|
|
9660
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationDateTime)))
|
|
9654
9661
|
: undefined,
|
|
9655
9662
|
GlobalSecondaryIndexes:
|
|
9656
9663
|
output.GlobalSecondaryIndexes !== undefined && output.GlobalSecondaryIndexes !== null
|
|
9657
9664
|
? deserializeAws_json1_0GlobalSecondaryIndexDescriptionList(output.GlobalSecondaryIndexes, context)
|
|
9658
9665
|
: undefined,
|
|
9659
9666
|
GlobalTableVersion: __expectString(output.GlobalTableVersion),
|
|
9660
|
-
ItemCount:
|
|
9667
|
+
ItemCount: __expectLong(output.ItemCount),
|
|
9661
9668
|
KeySchema:
|
|
9662
9669
|
output.KeySchema !== undefined && output.KeySchema !== null
|
|
9663
9670
|
? deserializeAws_json1_0KeySchema(output.KeySchema, context)
|
|
@@ -9691,7 +9698,7 @@ const deserializeAws_json1_0TableDescription = (output: any, context: __SerdeCon
|
|
|
9691
9698
|
TableArn: __expectString(output.TableArn),
|
|
9692
9699
|
TableId: __expectString(output.TableId),
|
|
9693
9700
|
TableName: __expectString(output.TableName),
|
|
9694
|
-
TableSizeBytes:
|
|
9701
|
+
TableSizeBytes: __expectLong(output.TableSizeBytes),
|
|
9695
9702
|
TableStatus: __expectString(output.TableStatus),
|
|
9696
9703
|
} as any;
|
|
9697
9704
|
};
|