@aws-sdk/client-dynamodb 3.36.0 → 3.39.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 +42 -0
- package/dist-cjs/DynamoDB.js +0 -21
- package/dist-cjs/DynamoDBClient.js +0 -26
- package/dist-cjs/commands/BatchExecuteStatementCommand.js +0 -26
- package/dist-cjs/commands/BatchGetItemCommand.js +0 -69
- package/dist-cjs/commands/BatchWriteItemCommand.js +0 -98
- package/dist-cjs/commands/CreateBackupCommand.js +0 -53
- package/dist-cjs/commands/CreateGlobalTableCommand.js +0 -91
- package/dist-cjs/commands/CreateTableCommand.js +0 -36
- package/dist-cjs/commands/DeleteBackupCommand.js +0 -25
- package/dist-cjs/commands/DeleteItemCommand.js +0 -29
- package/dist-cjs/commands/DeleteTableCommand.js +0 -40
- package/dist-cjs/commands/DescribeBackupCommand.js +0 -25
- package/dist-cjs/commands/DescribeContinuousBackupsCommand.js +0 -34
- package/dist-cjs/commands/DescribeContributorInsightsCommand.js +0 -24
- package/dist-cjs/commands/DescribeEndpointsCommand.js +0 -24
- package/dist-cjs/commands/DescribeExportCommand.js +0 -24
- package/dist-cjs/commands/DescribeGlobalTableCommand.js +0 -28
- package/dist-cjs/commands/DescribeGlobalTableSettingsCommand.js +0 -27
- package/dist-cjs/commands/DescribeKinesisStreamingDestinationCommand.js +0 -24
- package/dist-cjs/commands/DescribeLimitsCommand.js +0 -87
- package/dist-cjs/commands/DescribeTableCommand.js +0 -30
- package/dist-cjs/commands/DescribeTableReplicaAutoScalingCommand.js +0 -27
- package/dist-cjs/commands/DescribeTimeToLiveCommand.js +0 -24
- package/dist-cjs/commands/DisableKinesisStreamingDestinationCommand.js +0 -25
- package/dist-cjs/commands/EnableKinesisStreamingDestinationCommand.js +0 -27
- package/dist-cjs/commands/ExecuteStatementCommand.js +0 -26
- package/dist-cjs/commands/ExecuteTransactionCommand.js +0 -26
- package/dist-cjs/commands/ExportTableToPointInTimeCommand.js +0 -26
- package/dist-cjs/commands/GetItemCommand.js +0 -30
- package/dist-cjs/commands/ListBackupsCommand.js +0 -30
- package/dist-cjs/commands/ListContributorInsightsCommand.js +0 -24
- package/dist-cjs/commands/ListExportsCommand.js +0 -24
- package/dist-cjs/commands/ListGlobalTablesCommand.js +0 -27
- package/dist-cjs/commands/ListTablesCommand.js +0 -26
- package/dist-cjs/commands/ListTagsOfResourceCommand.js +0 -27
- package/dist-cjs/commands/PutItemCommand.js +0 -91
- package/dist-cjs/commands/QueryCommand.js +0 -79
- package/dist-cjs/commands/RestoreTableFromBackupCommand.js +0 -48
- package/dist-cjs/commands/RestoreTableToPointInTimeCommand.js +0 -79
- package/dist-cjs/commands/ScanCommand.js +0 -48
- package/dist-cjs/commands/TagResourceCommand.js +0 -30
- package/dist-cjs/commands/TransactGetItemsCommand.js +0 -49
- package/dist-cjs/commands/TransactWriteItemsCommand.js +0 -97
- package/dist-cjs/commands/UntagResourceCommand.js +0 -28
- package/dist-cjs/commands/UpdateContinuousBackupsCommand.js +0 -35
- package/dist-cjs/commands/UpdateContributorInsightsCommand.js +0 -24
- package/dist-cjs/commands/UpdateGlobalTableCommand.js +0 -52
- package/dist-cjs/commands/UpdateGlobalTableSettingsCommand.js +0 -24
- package/dist-cjs/commands/UpdateItemCommand.js +0 -26
- package/dist-cjs/commands/UpdateTableCommand.js +0 -46
- package/dist-cjs/commands/UpdateTableReplicaAutoScalingCommand.js +0 -27
- package/dist-cjs/commands/UpdateTimeToLiveCommand.js +0 -48
- package/dist-cjs/commands/index.js +53 -0
- package/dist-cjs/endpoints.js +6 -1
- package/dist-cjs/index.js +5 -60
- package/dist-cjs/models/models_0.js +0 -660
- package/dist-cjs/pagination/ListContributorInsightsPaginator.js +0 -10
- package/dist-cjs/pagination/ListExportsPaginator.js +0 -10
- package/dist-cjs/pagination/ListTablesPaginator.js +0 -10
- package/dist-cjs/pagination/QueryPaginator.js +0 -10
- package/dist-cjs/pagination/ScanPaginator.js +0 -10
- package/dist-cjs/pagination/index.js +9 -0
- package/dist-cjs/protocols/Aws_json1_0.js +0 -5
- package/dist-cjs/runtimeConfig.browser.js +1 -5
- package/dist-cjs/runtimeConfig.js +1 -5
- package/dist-cjs/runtimeConfig.native.js +0 -3
- package/dist-cjs/runtimeConfig.shared.js +0 -3
- package/dist-cjs/waiters/index.js +5 -0
- package/dist-cjs/waiters/waitForTableExists.js +0 -9
- package/dist-cjs/waiters/waitForTableNotExists.js +0 -9
- package/dist-es/commands/index.js +50 -0
- package/dist-es/endpoints.js +6 -1
- package/dist-es/index.js +5 -60
- package/dist-es/pagination/index.js +6 -0
- package/dist-es/waiters/index.js +2 -0
- package/dist-types/commands/index.d.ts +50 -0
- package/dist-types/index.d.ts +5 -60
- package/dist-types/pagination/index.d.ts +6 -0
- package/dist-types/ts3.4/DynamoDB.d.ts +51 -965
- package/dist-types/ts3.4/DynamoDBClient.d.ts +25 -112
- package/dist-types/ts3.4/commands/BatchExecuteStatementCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/BatchGetItemCommand.d.ts +2 -65
- package/dist-types/ts3.4/commands/BatchWriteItemCommand.d.ts +2 -94
- package/dist-types/ts3.4/commands/CreateBackupCommand.d.ts +2 -49
- package/dist-types/ts3.4/commands/CreateGlobalTableCommand.d.ts +2 -87
- package/dist-types/ts3.4/commands/CreateTableCommand.d.ts +2 -32
- package/dist-types/ts3.4/commands/DeleteBackupCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DeleteItemCommand.d.ts +2 -25
- package/dist-types/ts3.4/commands/DeleteTableCommand.d.ts +2 -36
- package/dist-types/ts3.4/commands/DescribeBackupCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DescribeContinuousBackupsCommand.d.ts +2 -30
- package/dist-types/ts3.4/commands/DescribeContributorInsightsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeEndpointsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeExportCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeGlobalTableCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/DescribeGlobalTableSettingsCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/DescribeKinesisStreamingDestinationCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeLimitsCommand.d.ts +2 -83
- package/dist-types/ts3.4/commands/DescribeTableCommand.d.ts +2 -26
- package/dist-types/ts3.4/commands/DescribeTableReplicaAutoScalingCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/DescribeTimeToLiveCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DisableKinesisStreamingDestinationCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/EnableKinesisStreamingDestinationCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/ExecuteStatementCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/ExecuteTransactionCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/ExportTableToPointInTimeCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/GetItemCommand.d.ts +2 -26
- package/dist-types/ts3.4/commands/ListBackupsCommand.d.ts +2 -26
- package/dist-types/ts3.4/commands/ListContributorInsightsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListExportsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListGlobalTablesCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/ListTablesCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/ListTagsOfResourceCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/PutItemCommand.d.ts +2 -87
- package/dist-types/ts3.4/commands/QueryCommand.d.ts +2 -75
- package/dist-types/ts3.4/commands/RestoreTableFromBackupCommand.d.ts +2 -44
- package/dist-types/ts3.4/commands/RestoreTableToPointInTimeCommand.d.ts +2 -75
- package/dist-types/ts3.4/commands/ScanCommand.d.ts +2 -44
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -26
- package/dist-types/ts3.4/commands/TransactGetItemsCommand.d.ts +2 -45
- package/dist-types/ts3.4/commands/TransactWriteItemsCommand.d.ts +2 -93
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/UpdateContinuousBackupsCommand.d.ts +2 -31
- package/dist-types/ts3.4/commands/UpdateContributorInsightsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateGlobalTableCommand.d.ts +2 -48
- package/dist-types/ts3.4/commands/UpdateGlobalTableSettingsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateItemCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/UpdateTableCommand.d.ts +2 -42
- package/dist-types/ts3.4/commands/UpdateTableReplicaAutoScalingCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/UpdateTimeToLiveCommand.d.ts +2 -44
- package/dist-types/ts3.4/commands/index.d.ts +50 -0
- package/dist-types/ts3.4/index.d.ts +5 -60
- package/dist-types/ts3.4/models/models_0.d.ts +1022 -6658
- package/dist-types/ts3.4/pagination/index.d.ts +6 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
- package/dist-types/ts3.4/waiters/index.d.ts +2 -0
- package/dist-types/ts3.4/waiters/waitForTableExists.d.ts +2 -9
- package/dist-types/ts3.4/waiters/waitForTableNotExists.d.ts +2 -9
- package/dist-types/waiters/index.d.ts +2 -0
- package/package.json +34 -34
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { FetchHttpHandler } from "@aws-sdk/fetch-http-handler";
|
|
2
2
|
import { DynamoDBClientConfig } from "./DynamoDBClient";
|
|
3
|
-
|
|
4
|
-
* @internal
|
|
5
|
-
*/
|
|
3
|
+
|
|
6
4
|
export declare const getRuntimeConfig: (config: DynamoDBClientConfig) => {
|
|
7
5
|
runtime: string;
|
|
8
6
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { NodeHttpHandler } from "@aws-sdk/node-http-handler";
|
|
2
2
|
import { DynamoDBClientConfig } from "./DynamoDBClient";
|
|
3
|
-
|
|
4
|
-
* @internal
|
|
5
|
-
*/
|
|
3
|
+
|
|
6
4
|
export declare const getRuntimeConfig: (config: DynamoDBClientConfig) => {
|
|
7
5
|
runtime: string;
|
|
8
6
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { Logger as __Logger } from "@aws-sdk/types";
|
|
2
2
|
import { DynamoDBClientConfig } from "./DynamoDBClient";
|
|
3
|
-
|
|
4
|
-
* @internal
|
|
5
|
-
*/
|
|
3
|
+
|
|
6
4
|
export declare const getRuntimeConfig: (config: DynamoDBClientConfig) => {
|
|
7
5
|
apiVersion: string;
|
|
8
6
|
disableHostPrefix: boolean;
|
|
@@ -1,14 +1,7 @@
|
|
|
1
1
|
import { WaiterConfiguration, WaiterResult } from "@aws-sdk/util-waiter";
|
|
2
2
|
import { DescribeTableCommandInput } from "../commands/DescribeTableCommand";
|
|
3
3
|
import { DynamoDBClient } from "../DynamoDBClient";
|
|
4
|
-
|
|
5
|
-
*
|
|
6
|
-
* @deprecated Use waitUntilTableExists instead. waitForTableExists does not throw error in non-success cases.
|
|
7
|
-
*/
|
|
4
|
+
|
|
8
5
|
export declare const waitForTableExists: (params: WaiterConfiguration<DynamoDBClient>, input: DescribeTableCommandInput) => Promise<WaiterResult>;
|
|
9
|
-
|
|
10
|
-
*
|
|
11
|
-
* @param params - Waiter configuration options.
|
|
12
|
-
* @param input - The input to DescribeTableCommand for polling.
|
|
13
|
-
*/
|
|
6
|
+
|
|
14
7
|
export declare const waitUntilTableExists: (params: WaiterConfiguration<DynamoDBClient>, input: DescribeTableCommandInput) => Promise<WaiterResult>;
|
|
@@ -1,14 +1,7 @@
|
|
|
1
1
|
import { WaiterConfiguration, WaiterResult } from "@aws-sdk/util-waiter";
|
|
2
2
|
import { DescribeTableCommandInput } from "../commands/DescribeTableCommand";
|
|
3
3
|
import { DynamoDBClient } from "../DynamoDBClient";
|
|
4
|
-
|
|
5
|
-
*
|
|
6
|
-
* @deprecated Use waitUntilTableNotExists instead. waitForTableNotExists does not throw error in non-success cases.
|
|
7
|
-
*/
|
|
4
|
+
|
|
8
5
|
export declare const waitForTableNotExists: (params: WaiterConfiguration<DynamoDBClient>, input: DescribeTableCommandInput) => Promise<WaiterResult>;
|
|
9
|
-
|
|
10
|
-
*
|
|
11
|
-
* @param params - Waiter configuration options.
|
|
12
|
-
* @param input - The input to DescribeTableCommand for polling.
|
|
13
|
-
*/
|
|
6
|
+
|
|
14
7
|
export declare const waitUntilTableNotExists: (params: WaiterConfiguration<DynamoDBClient>, input: DescribeTableCommandInput) => Promise<WaiterResult>;
|
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.39.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "yarn build:cjs && yarn build:es && yarn build:types",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.json",
|
|
@@ -19,43 +19,43 @@
|
|
|
19
19
|
"module": "./dist-es/index.js",
|
|
20
20
|
"sideEffects": false,
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@aws-crypto/sha256-browser": "
|
|
23
|
-
"@aws-crypto/sha256-js": "
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
28
|
-
"@aws-sdk/hash-node": "3.
|
|
29
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
30
|
-
"@aws-sdk/middleware-content-length": "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-retry": "3.
|
|
35
|
-
"@aws-sdk/middleware-serde": "3.
|
|
36
|
-
"@aws-sdk/middleware-signing": "3.
|
|
37
|
-
"@aws-sdk/middleware-stack": "3.
|
|
38
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
39
|
-
"@aws-sdk/node-config-provider": "3.
|
|
40
|
-
"@aws-sdk/node-http-handler": "3.
|
|
41
|
-
"@aws-sdk/protocol-http": "3.
|
|
42
|
-
"@aws-sdk/smithy-client": "3.
|
|
43
|
-
"@aws-sdk/types": "3.
|
|
44
|
-
"@aws-sdk/url-parser": "3.
|
|
45
|
-
"@aws-sdk/util-base64-browser": "3.
|
|
46
|
-
"@aws-sdk/util-base64-node": "3.
|
|
47
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
48
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
49
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
50
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
51
|
-
"@aws-sdk/util-utf8-browser": "3.
|
|
52
|
-
"@aws-sdk/util-utf8-node": "3.
|
|
53
|
-
"@aws-sdk/util-waiter": "3.
|
|
22
|
+
"@aws-crypto/sha256-browser": "2.0.0",
|
|
23
|
+
"@aws-crypto/sha256-js": "2.0.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.39.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.39.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.39.0",
|
|
27
|
+
"@aws-sdk/fetch-http-handler": "3.38.0",
|
|
28
|
+
"@aws-sdk/hash-node": "3.38.0",
|
|
29
|
+
"@aws-sdk/invalid-dependency": "3.38.0",
|
|
30
|
+
"@aws-sdk/middleware-content-length": "3.38.0",
|
|
31
|
+
"@aws-sdk/middleware-endpoint-discovery": "3.39.0",
|
|
32
|
+
"@aws-sdk/middleware-host-header": "3.38.0",
|
|
33
|
+
"@aws-sdk/middleware-logger": "3.38.0",
|
|
34
|
+
"@aws-sdk/middleware-retry": "3.39.0",
|
|
35
|
+
"@aws-sdk/middleware-serde": "3.38.0",
|
|
36
|
+
"@aws-sdk/middleware-signing": "3.39.0",
|
|
37
|
+
"@aws-sdk/middleware-stack": "3.38.0",
|
|
38
|
+
"@aws-sdk/middleware-user-agent": "3.38.0",
|
|
39
|
+
"@aws-sdk/node-config-provider": "3.39.0",
|
|
40
|
+
"@aws-sdk/node-http-handler": "3.38.0",
|
|
41
|
+
"@aws-sdk/protocol-http": "3.38.0",
|
|
42
|
+
"@aws-sdk/smithy-client": "3.38.0",
|
|
43
|
+
"@aws-sdk/types": "3.38.0",
|
|
44
|
+
"@aws-sdk/url-parser": "3.38.0",
|
|
45
|
+
"@aws-sdk/util-base64-browser": "3.37.0",
|
|
46
|
+
"@aws-sdk/util-base64-node": "3.37.0",
|
|
47
|
+
"@aws-sdk/util-body-length-browser": "3.37.0",
|
|
48
|
+
"@aws-sdk/util-body-length-node": "3.37.0",
|
|
49
|
+
"@aws-sdk/util-user-agent-browser": "3.38.0",
|
|
50
|
+
"@aws-sdk/util-user-agent-node": "3.39.0",
|
|
51
|
+
"@aws-sdk/util-utf8-browser": "3.37.0",
|
|
52
|
+
"@aws-sdk/util-utf8-node": "3.37.0",
|
|
53
|
+
"@aws-sdk/util-waiter": "3.38.0",
|
|
54
54
|
"tslib": "^2.3.0",
|
|
55
55
|
"uuid": "^8.3.2"
|
|
56
56
|
},
|
|
57
57
|
"devDependencies": {
|
|
58
|
-
"@aws-sdk/client-documentation-generator": "3.
|
|
58
|
+
"@aws-sdk/service-client-documentation-generator": "3.38.0",
|
|
59
59
|
"@types/node": "^12.7.5",
|
|
60
60
|
"@types/uuid": "^8.3.0",
|
|
61
61
|
"downlevel-dts": "0.7.0",
|