@aws-sdk/client-dynamodb 3.252.0 → 3.254.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.
|
@@ -3568,7 +3568,7 @@ const serializeAws_json1_0ExportTableToPointInTimeInput = (input, context) => {
|
|
|
3568
3568
|
return {
|
|
3569
3569
|
ClientToken: input.ClientToken ?? (0, uuid_1.v4)(),
|
|
3570
3570
|
...(input.ExportFormat != null && { ExportFormat: input.ExportFormat }),
|
|
3571
|
-
...(input.ExportTime != null && { ExportTime: Math.round(input.ExportTime.getTime() / 1000)
|
|
3571
|
+
...(input.ExportTime != null && { ExportTime: Math.round(input.ExportTime.getTime() / 1000) }),
|
|
3572
3572
|
...(input.S3Bucket != null && { S3Bucket: input.S3Bucket }),
|
|
3573
3573
|
...(input.S3BucketOwner != null && { S3BucketOwner: input.S3BucketOwner }),
|
|
3574
3574
|
...(input.S3Prefix != null && { S3Prefix: input.S3Prefix }),
|
|
@@ -3791,10 +3791,10 @@ const serializeAws_json1_0ListBackupsInput = (input, context) => {
|
|
|
3791
3791
|
...(input.Limit != null && { Limit: input.Limit }),
|
|
3792
3792
|
...(input.TableName != null && { TableName: input.TableName }),
|
|
3793
3793
|
...(input.TimeRangeLowerBound != null && {
|
|
3794
|
-
TimeRangeLowerBound: Math.round(input.TimeRangeLowerBound.getTime() / 1000)
|
|
3794
|
+
TimeRangeLowerBound: Math.round(input.TimeRangeLowerBound.getTime() / 1000),
|
|
3795
3795
|
}),
|
|
3796
3796
|
...(input.TimeRangeUpperBound != null && {
|
|
3797
|
-
TimeRangeUpperBound: Math.round(input.TimeRangeUpperBound.getTime() / 1000)
|
|
3797
|
+
TimeRangeUpperBound: Math.round(input.TimeRangeUpperBound.getTime() / 1000),
|
|
3798
3798
|
}),
|
|
3799
3799
|
};
|
|
3800
3800
|
};
|
|
@@ -4177,9 +4177,7 @@ const serializeAws_json1_0RestoreTableToPointInTimeInput = (input, context) => {
|
|
|
4177
4177
|
...(input.ProvisionedThroughputOverride != null && {
|
|
4178
4178
|
ProvisionedThroughputOverride: serializeAws_json1_0ProvisionedThroughput(input.ProvisionedThroughputOverride, context),
|
|
4179
4179
|
}),
|
|
4180
|
-
...(input.RestoreDateTime != null && {
|
|
4181
|
-
RestoreDateTime: Math.round(input.RestoreDateTime.getTime() / 1000).toString(),
|
|
4182
|
-
}),
|
|
4180
|
+
...(input.RestoreDateTime != null && { RestoreDateTime: Math.round(input.RestoreDateTime.getTime() / 1000) }),
|
|
4183
4181
|
...(input.SSESpecificationOverride != null && {
|
|
4184
4182
|
SSESpecificationOverride: serializeAws_json1_0SSESpecification(input.SSESpecificationOverride, context),
|
|
4185
4183
|
}),
|
|
@@ -3457,7 +3457,7 @@ const serializeAws_json1_0ExportTableToPointInTimeInput = (input, context) => {
|
|
|
3457
3457
|
return {
|
|
3458
3458
|
ClientToken: input.ClientToken ?? generateIdempotencyToken(),
|
|
3459
3459
|
...(input.ExportFormat != null && { ExportFormat: input.ExportFormat }),
|
|
3460
|
-
...(input.ExportTime != null && { ExportTime: Math.round(input.ExportTime.getTime() / 1000)
|
|
3460
|
+
...(input.ExportTime != null && { ExportTime: Math.round(input.ExportTime.getTime() / 1000) }),
|
|
3461
3461
|
...(input.S3Bucket != null && { S3Bucket: input.S3Bucket }),
|
|
3462
3462
|
...(input.S3BucketOwner != null && { S3BucketOwner: input.S3BucketOwner }),
|
|
3463
3463
|
...(input.S3Prefix != null && { S3Prefix: input.S3Prefix }),
|
|
@@ -3680,10 +3680,10 @@ const serializeAws_json1_0ListBackupsInput = (input, context) => {
|
|
|
3680
3680
|
...(input.Limit != null && { Limit: input.Limit }),
|
|
3681
3681
|
...(input.TableName != null && { TableName: input.TableName }),
|
|
3682
3682
|
...(input.TimeRangeLowerBound != null && {
|
|
3683
|
-
TimeRangeLowerBound: Math.round(input.TimeRangeLowerBound.getTime() / 1000)
|
|
3683
|
+
TimeRangeLowerBound: Math.round(input.TimeRangeLowerBound.getTime() / 1000),
|
|
3684
3684
|
}),
|
|
3685
3685
|
...(input.TimeRangeUpperBound != null && {
|
|
3686
|
-
TimeRangeUpperBound: Math.round(input.TimeRangeUpperBound.getTime() / 1000)
|
|
3686
|
+
TimeRangeUpperBound: Math.round(input.TimeRangeUpperBound.getTime() / 1000),
|
|
3687
3687
|
}),
|
|
3688
3688
|
};
|
|
3689
3689
|
};
|
|
@@ -4066,9 +4066,7 @@ const serializeAws_json1_0RestoreTableToPointInTimeInput = (input, context) => {
|
|
|
4066
4066
|
...(input.ProvisionedThroughputOverride != null && {
|
|
4067
4067
|
ProvisionedThroughputOverride: serializeAws_json1_0ProvisionedThroughput(input.ProvisionedThroughputOverride, context),
|
|
4068
4068
|
}),
|
|
4069
|
-
...(input.RestoreDateTime != null && {
|
|
4070
|
-
RestoreDateTime: Math.round(input.RestoreDateTime.getTime() / 1000).toString(),
|
|
4071
|
-
}),
|
|
4069
|
+
...(input.RestoreDateTime != null && { RestoreDateTime: Math.round(input.RestoreDateTime.getTime() / 1000) }),
|
|
4072
4070
|
...(input.SSESpecificationOverride != null && {
|
|
4073
4071
|
SSESpecificationOverride: serializeAws_json1_0SSESpecification(input.SSESpecificationOverride, context),
|
|
4074
4072
|
}),
|
|
@@ -7,7 +7,7 @@ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-s
|
|
|
7
7
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
8
8
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
9
9
|
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
10
|
-
import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
10
|
+
import { BodyLengthCalculator as __BodyLengthCalculator, ChecksumConstructor as __ChecksumConstructor, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
11
11
|
import { BatchExecuteStatementCommandInput, BatchExecuteStatementCommandOutput } from "./commands/BatchExecuteStatementCommand";
|
|
12
12
|
import { BatchGetItemCommandInput, BatchGetItemCommandOutput } from "./commands/BatchGetItemCommand";
|
|
13
13
|
import { BatchWriteItemCommandInput, BatchWriteItemCommandOutput } from "./commands/BatchWriteItemCommand";
|
|
@@ -70,11 +70,11 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
70
70
|
*/
|
|
71
71
|
requestHandler?: __HttpHandler;
|
|
72
72
|
/**
|
|
73
|
-
* A constructor for a class implementing the {@link
|
|
73
|
+
* A constructor for a class implementing the {@link __Checksum} interface
|
|
74
74
|
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
|
|
75
75
|
* @internal
|
|
76
76
|
*/
|
|
77
|
-
sha256?: __HashConstructor;
|
|
77
|
+
sha256?: __ChecksumConstructor | __HashConstructor;
|
|
78
78
|
/**
|
|
79
79
|
* The function that will be used to convert strings into HTTP endpoints.
|
|
80
80
|
* @internal
|
|
@@ -35,6 +35,7 @@ import {
|
|
|
35
35
|
} from "@aws-sdk/smithy-client";
|
|
36
36
|
import {
|
|
37
37
|
BodyLengthCalculator as __BodyLengthCalculator,
|
|
38
|
+
ChecksumConstructor as __ChecksumConstructor,
|
|
38
39
|
Credentials as __Credentials,
|
|
39
40
|
Decoder as __Decoder,
|
|
40
41
|
Encoder as __Encoder,
|
|
@@ -369,7 +370,7 @@ export declare type ServiceOutputTypes =
|
|
|
369
370
|
export interface ClientDefaults
|
|
370
371
|
extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
371
372
|
requestHandler?: __HttpHandler;
|
|
372
|
-
sha256?: __HashConstructor;
|
|
373
|
+
sha256?: __ChecksumConstructor | __HashConstructor;
|
|
373
374
|
urlParser?: __UrlParser;
|
|
374
375
|
bodyLengthChecker?: __BodyLengthCalculator;
|
|
375
376
|
streamCollector?: __StreamCollector;
|
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.254.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -18,43 +18,43 @@
|
|
|
18
18
|
"module": "./dist-es/index.js",
|
|
19
19
|
"sideEffects": false,
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@aws-crypto/sha256-browser": "
|
|
22
|
-
"@aws-crypto/sha256-js": "
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
-
"@aws-sdk/config-resolver": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
27
|
-
"@aws-sdk/hash-node": "3.
|
|
28
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
29
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
30
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
31
|
-
"@aws-sdk/middleware-endpoint-discovery": "3.
|
|
32
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
33
|
-
"@aws-sdk/middleware-logger": "3.
|
|
34
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
36
|
-
"@aws-sdk/middleware-serde": "3.
|
|
37
|
-
"@aws-sdk/middleware-signing": "3.
|
|
38
|
-
"@aws-sdk/middleware-stack": "3.
|
|
39
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
40
|
-
"@aws-sdk/node-config-provider": "3.
|
|
41
|
-
"@aws-sdk/node-http-handler": "3.
|
|
42
|
-
"@aws-sdk/protocol-http": "3.
|
|
43
|
-
"@aws-sdk/smithy-client": "3.
|
|
44
|
-
"@aws-sdk/types": "3.
|
|
45
|
-
"@aws-sdk/url-parser": "3.
|
|
21
|
+
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
|
+
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
+
"@aws-sdk/client-sts": "3.254.0",
|
|
24
|
+
"@aws-sdk/config-resolver": "3.254.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.254.0",
|
|
26
|
+
"@aws-sdk/fetch-http-handler": "3.254.0",
|
|
27
|
+
"@aws-sdk/hash-node": "3.254.0",
|
|
28
|
+
"@aws-sdk/invalid-dependency": "3.254.0",
|
|
29
|
+
"@aws-sdk/middleware-content-length": "3.254.0",
|
|
30
|
+
"@aws-sdk/middleware-endpoint": "3.254.0",
|
|
31
|
+
"@aws-sdk/middleware-endpoint-discovery": "3.254.0",
|
|
32
|
+
"@aws-sdk/middleware-host-header": "3.254.0",
|
|
33
|
+
"@aws-sdk/middleware-logger": "3.254.0",
|
|
34
|
+
"@aws-sdk/middleware-recursion-detection": "3.254.0",
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.254.0",
|
|
36
|
+
"@aws-sdk/middleware-serde": "3.254.0",
|
|
37
|
+
"@aws-sdk/middleware-signing": "3.254.0",
|
|
38
|
+
"@aws-sdk/middleware-stack": "3.254.0",
|
|
39
|
+
"@aws-sdk/middleware-user-agent": "3.254.0",
|
|
40
|
+
"@aws-sdk/node-config-provider": "3.254.0",
|
|
41
|
+
"@aws-sdk/node-http-handler": "3.254.0",
|
|
42
|
+
"@aws-sdk/protocol-http": "3.254.0",
|
|
43
|
+
"@aws-sdk/smithy-client": "3.254.0",
|
|
44
|
+
"@aws-sdk/types": "3.254.0",
|
|
45
|
+
"@aws-sdk/url-parser": "3.254.0",
|
|
46
46
|
"@aws-sdk/util-base64": "3.208.0",
|
|
47
47
|
"@aws-sdk/util-body-length-browser": "3.188.0",
|
|
48
48
|
"@aws-sdk/util-body-length-node": "3.208.0",
|
|
49
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
51
|
-
"@aws-sdk/util-endpoints": "3.
|
|
52
|
-
"@aws-sdk/util-retry": "3.
|
|
53
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
54
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
49
|
+
"@aws-sdk/util-defaults-mode-browser": "3.254.0",
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.254.0",
|
|
51
|
+
"@aws-sdk/util-endpoints": "3.254.0",
|
|
52
|
+
"@aws-sdk/util-retry": "3.254.0",
|
|
53
|
+
"@aws-sdk/util-user-agent-browser": "3.254.0",
|
|
54
|
+
"@aws-sdk/util-user-agent-node": "3.254.0",
|
|
55
55
|
"@aws-sdk/util-utf8-browser": "3.188.0",
|
|
56
56
|
"@aws-sdk/util-utf8-node": "3.208.0",
|
|
57
|
-
"@aws-sdk/util-waiter": "3.
|
|
57
|
+
"@aws-sdk/util-waiter": "3.254.0",
|
|
58
58
|
"tslib": "^2.3.1",
|
|
59
59
|
"uuid": "^8.3.2"
|
|
60
60
|
},
|