@aws-sdk/client-dynamodb 3.490.0 → 3.495.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/dist-cjs/DynamoDB.js +1 -117
- package/dist-cjs/DynamoDBClient.js +1 -61
- package/dist-cjs/auth/httpAuthExtensionConfiguration.js +1 -43
- package/dist-cjs/commands/BatchExecuteStatementCommand.js +1 -28
- package/dist-cjs/commands/BatchGetItemCommand.js +1 -28
- package/dist-cjs/commands/BatchWriteItemCommand.js +1 -28
- package/dist-cjs/commands/CreateBackupCommand.js +1 -28
- package/dist-cjs/commands/CreateGlobalTableCommand.js +1 -28
- package/dist-cjs/commands/CreateTableCommand.js +1 -28
- package/dist-cjs/commands/DeleteBackupCommand.js +1 -28
- package/dist-cjs/commands/DeleteItemCommand.js +1 -28
- package/dist-cjs/commands/DeleteTableCommand.js +1 -28
- package/dist-cjs/commands/DescribeBackupCommand.js +1 -28
- package/dist-cjs/commands/DescribeContinuousBackupsCommand.js +1 -28
- package/dist-cjs/commands/DescribeContributorInsightsCommand.js +1 -28
- package/dist-cjs/commands/DescribeEndpointsCommand.js +1 -28
- package/dist-cjs/commands/DescribeExportCommand.js +1 -28
- package/dist-cjs/commands/DescribeGlobalTableCommand.js +1 -28
- package/dist-cjs/commands/DescribeGlobalTableSettingsCommand.js +1 -28
- package/dist-cjs/commands/DescribeImportCommand.js +1 -28
- package/dist-cjs/commands/DescribeKinesisStreamingDestinationCommand.js +1 -28
- package/dist-cjs/commands/DescribeLimitsCommand.js +1 -28
- package/dist-cjs/commands/DescribeTableCommand.js +1 -28
- package/dist-cjs/commands/DescribeTableReplicaAutoScalingCommand.js +1 -28
- package/dist-cjs/commands/DescribeTimeToLiveCommand.js +1 -28
- package/dist-cjs/commands/DisableKinesisStreamingDestinationCommand.js +1 -28
- package/dist-cjs/commands/EnableKinesisStreamingDestinationCommand.js +1 -28
- package/dist-cjs/commands/ExecuteStatementCommand.js +1 -28
- package/dist-cjs/commands/ExecuteTransactionCommand.js +1 -28
- package/dist-cjs/commands/ExportTableToPointInTimeCommand.js +1 -28
- package/dist-cjs/commands/GetItemCommand.js +1 -28
- package/dist-cjs/commands/ImportTableCommand.js +1 -28
- package/dist-cjs/commands/ListBackupsCommand.js +1 -28
- package/dist-cjs/commands/ListContributorInsightsCommand.js +1 -28
- package/dist-cjs/commands/ListExportsCommand.js +1 -28
- package/dist-cjs/commands/ListGlobalTablesCommand.js +1 -28
- package/dist-cjs/commands/ListImportsCommand.js +1 -28
- package/dist-cjs/commands/ListTablesCommand.js +1 -28
- package/dist-cjs/commands/ListTagsOfResourceCommand.js +1 -28
- package/dist-cjs/commands/PutItemCommand.js +1 -28
- package/dist-cjs/commands/QueryCommand.js +1 -28
- package/dist-cjs/commands/RestoreTableFromBackupCommand.js +1 -28
- package/dist-cjs/commands/RestoreTableToPointInTimeCommand.js +1 -28
- package/dist-cjs/commands/ScanCommand.js +1 -28
- package/dist-cjs/commands/TagResourceCommand.js +1 -28
- package/dist-cjs/commands/TransactGetItemsCommand.js +1 -28
- package/dist-cjs/commands/TransactWriteItemsCommand.js +1 -28
- package/dist-cjs/commands/UntagResourceCommand.js +1 -28
- package/dist-cjs/commands/UpdateContinuousBackupsCommand.js +1 -28
- package/dist-cjs/commands/UpdateContributorInsightsCommand.js +1 -28
- package/dist-cjs/commands/UpdateGlobalTableCommand.js +1 -28
- package/dist-cjs/commands/UpdateGlobalTableSettingsCommand.js +1 -28
- package/dist-cjs/commands/UpdateItemCommand.js +1 -28
- package/dist-cjs/commands/UpdateTableCommand.js +1 -28
- package/dist-cjs/commands/UpdateTableReplicaAutoScalingCommand.js +1 -28
- package/dist-cjs/commands/UpdateTimeToLiveCommand.js +1 -28
- package/dist-cjs/commands/index.js +1 -56
- package/dist-cjs/endpoint/EndpointParameters.js +1 -18
- package/dist-cjs/extensionConfiguration.js +1 -2
- package/dist-cjs/index.js +6692 -12
- package/dist-cjs/models/DynamoDBServiceException.js +1 -12
- package/dist-cjs/models/index.js +1 -4
- package/dist-cjs/models/models_0.js +1 -671
- package/dist-cjs/pagination/Interfaces.js +1 -2
- package/dist-cjs/pagination/ListContributorInsightsPaginator.js +1 -7
- package/dist-cjs/pagination/ListExportsPaginator.js +1 -7
- package/dist-cjs/pagination/ListImportsPaginator.js +1 -7
- package/dist-cjs/pagination/ListTablesPaginator.js +1 -7
- package/dist-cjs/pagination/QueryPaginator.js +1 -7
- package/dist-cjs/pagination/ScanPaginator.js +1 -7
- package/dist-cjs/pagination/index.js +1 -10
- package/dist-cjs/protocols/Aws_json1_0.js +1 -4555
- package/dist-cjs/runtimeExtensions.js +1 -25
- package/dist-cjs/waiters/index.js +1 -5
- package/dist-cjs/waiters/waitForTableExists.js +1 -39
- package/dist-cjs/waiters/waitForTableNotExists.js +1 -30
- package/dist-types/models/models_0.d.ts +2 -2
- package/package.json +42 -42
|
@@ -1,25 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.resolveRuntimeExtensions = void 0;
|
|
4
|
-
const region_config_resolver_1 = require("@aws-sdk/region-config-resolver");
|
|
5
|
-
const protocol_http_1 = require("@smithy/protocol-http");
|
|
6
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
-
const httpAuthExtensionConfiguration_1 = require("./auth/httpAuthExtensionConfiguration");
|
|
8
|
-
const asPartial = (t) => t;
|
|
9
|
-
const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
|
10
|
-
const extensionConfiguration = {
|
|
11
|
-
...asPartial((0, region_config_resolver_1.getAwsRegionExtensionConfiguration)(runtimeConfig)),
|
|
12
|
-
...asPartial((0, smithy_client_1.getDefaultExtensionConfiguration)(runtimeConfig)),
|
|
13
|
-
...asPartial((0, protocol_http_1.getHttpHandlerExtensionConfiguration)(runtimeConfig)),
|
|
14
|
-
...asPartial((0, httpAuthExtensionConfiguration_1.getHttpAuthExtensionConfiguration)(runtimeConfig)),
|
|
15
|
-
};
|
|
16
|
-
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
17
|
-
return {
|
|
18
|
-
...runtimeConfig,
|
|
19
|
-
...(0, region_config_resolver_1.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
|
|
20
|
-
...(0, smithy_client_1.resolveDefaultRuntimeConfig)(extensionConfiguration),
|
|
21
|
-
...(0, protocol_http_1.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),
|
|
22
|
-
...(0, httpAuthExtensionConfiguration_1.resolveHttpAuthRuntimeConfig)(extensionConfiguration),
|
|
23
|
-
};
|
|
24
|
-
};
|
|
25
|
-
exports.resolveRuntimeExtensions = resolveRuntimeExtensions;
|
|
1
|
+
module.exports = require("./index.js");
|
|
@@ -1,5 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const tslib_1 = require("tslib");
|
|
4
|
-
tslib_1.__exportStar(require("./waitForTableExists"), exports);
|
|
5
|
-
tslib_1.__exportStar(require("./waitForTableNotExists"), exports);
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -1,39 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.waitUntilTableExists = exports.waitForTableExists = void 0;
|
|
4
|
-
const util_waiter_1 = require("@smithy/util-waiter");
|
|
5
|
-
const DescribeTableCommand_1 = require("../commands/DescribeTableCommand");
|
|
6
|
-
const checkState = async (client, input) => {
|
|
7
|
-
let reason;
|
|
8
|
-
try {
|
|
9
|
-
const result = await client.send(new DescribeTableCommand_1.DescribeTableCommand(input));
|
|
10
|
-
reason = result;
|
|
11
|
-
try {
|
|
12
|
-
const returnComparator = () => {
|
|
13
|
-
return result.Table.TableStatus;
|
|
14
|
-
};
|
|
15
|
-
if (returnComparator() === "ACTIVE") {
|
|
16
|
-
return { state: util_waiter_1.WaiterState.SUCCESS, reason };
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
catch (e) { }
|
|
20
|
-
}
|
|
21
|
-
catch (exception) {
|
|
22
|
-
reason = exception;
|
|
23
|
-
if (exception.name && exception.name == "ResourceNotFoundException") {
|
|
24
|
-
return { state: util_waiter_1.WaiterState.RETRY, reason };
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
return { state: util_waiter_1.WaiterState.RETRY, reason };
|
|
28
|
-
};
|
|
29
|
-
const waitForTableExists = async (params, input) => {
|
|
30
|
-
const serviceDefaults = { minDelay: 20, maxDelay: 120 };
|
|
31
|
-
return (0, util_waiter_1.createWaiter)({ ...serviceDefaults, ...params }, input, checkState);
|
|
32
|
-
};
|
|
33
|
-
exports.waitForTableExists = waitForTableExists;
|
|
34
|
-
const waitUntilTableExists = async (params, input) => {
|
|
35
|
-
const serviceDefaults = { minDelay: 20, maxDelay: 120 };
|
|
36
|
-
const result = await (0, util_waiter_1.createWaiter)({ ...serviceDefaults, ...params }, input, checkState);
|
|
37
|
-
return (0, util_waiter_1.checkExceptions)(result);
|
|
38
|
-
};
|
|
39
|
-
exports.waitUntilTableExists = waitUntilTableExists;
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -1,30 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.waitUntilTableNotExists = exports.waitForTableNotExists = void 0;
|
|
4
|
-
const util_waiter_1 = require("@smithy/util-waiter");
|
|
5
|
-
const DescribeTableCommand_1 = require("../commands/DescribeTableCommand");
|
|
6
|
-
const checkState = async (client, input) => {
|
|
7
|
-
let reason;
|
|
8
|
-
try {
|
|
9
|
-
const result = await client.send(new DescribeTableCommand_1.DescribeTableCommand(input));
|
|
10
|
-
reason = result;
|
|
11
|
-
}
|
|
12
|
-
catch (exception) {
|
|
13
|
-
reason = exception;
|
|
14
|
-
if (exception.name && exception.name == "ResourceNotFoundException") {
|
|
15
|
-
return { state: util_waiter_1.WaiterState.SUCCESS, reason };
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
return { state: util_waiter_1.WaiterState.RETRY, reason };
|
|
19
|
-
};
|
|
20
|
-
const waitForTableNotExists = async (params, input) => {
|
|
21
|
-
const serviceDefaults = { minDelay: 20, maxDelay: 120 };
|
|
22
|
-
return (0, util_waiter_1.createWaiter)({ ...serviceDefaults, ...params }, input, checkState);
|
|
23
|
-
};
|
|
24
|
-
exports.waitForTableNotExists = waitForTableNotExists;
|
|
25
|
-
const waitUntilTableNotExists = async (params, input) => {
|
|
26
|
-
const serviceDefaults = { minDelay: 20, maxDelay: 120 };
|
|
27
|
-
const result = await (0, util_waiter_1.createWaiter)({ ...serviceDefaults, ...params }, input, checkState);
|
|
28
|
-
return (0, util_waiter_1.checkExceptions)(result);
|
|
29
|
-
};
|
|
30
|
-
exports.waitUntilTableNotExists = waitUntilTableNotExists;
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -5809,8 +5809,8 @@ export interface UpdateTableInput {
|
|
|
5809
5809
|
* @public
|
|
5810
5810
|
* <p>Represents the DynamoDB Streams configuration for the table.</p>
|
|
5811
5811
|
* <note>
|
|
5812
|
-
* <p>You receive a <code>
|
|
5813
|
-
*
|
|
5812
|
+
* <p>You receive a <code>ValidationException</code> if you try to enable a stream on a
|
|
5813
|
+
* table that already has a stream, or if you try to disable a stream on a table that
|
|
5814
5814
|
* doesn't have a stream.</p>
|
|
5815
5815
|
* </note>
|
|
5816
5816
|
*/
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
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.495.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
|
-
"build:cjs": "
|
|
7
|
+
"build:cjs": "node ../../scripts/compilation/inline client-dynamodb",
|
|
8
8
|
"build:es": "tsc -p tsconfig.es.json",
|
|
9
9
|
"build:include:deps": "lerna run --scope $npm_package_name --include-dependencies build",
|
|
10
10
|
"build:types": "tsc -p tsconfig.types.json",
|
|
@@ -20,50 +20,50 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
-
"@aws-sdk/core": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/middleware-endpoint-discovery": "3.
|
|
27
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
28
|
-
"@aws-sdk/middleware-logger": "3.
|
|
29
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
31
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
32
|
-
"@aws-sdk/types": "3.
|
|
33
|
-
"@aws-sdk/util-endpoints": "3.
|
|
34
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
35
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
36
|
-
"@smithy/config-resolver": "^2.0
|
|
37
|
-
"@smithy/core": "^1.
|
|
38
|
-
"@smithy/fetch-http-handler": "^2.
|
|
39
|
-
"@smithy/hash-node": "^2.0
|
|
40
|
-
"@smithy/invalid-dependency": "^2.0
|
|
41
|
-
"@smithy/middleware-content-length": "^2.0
|
|
42
|
-
"@smithy/middleware-endpoint": "^2.
|
|
43
|
-
"@smithy/middleware-retry": "^2.0
|
|
44
|
-
"@smithy/middleware-serde": "^2.0
|
|
45
|
-
"@smithy/middleware-stack": "^2.0
|
|
46
|
-
"@smithy/node-config-provider": "^2.
|
|
47
|
-
"@smithy/node-http-handler": "^2.
|
|
48
|
-
"@smithy/protocol-http": "^3.0
|
|
49
|
-
"@smithy/smithy-client": "^2.
|
|
50
|
-
"@smithy/types": "^2.
|
|
51
|
-
"@smithy/url-parser": "^2.0
|
|
52
|
-
"@smithy/util-base64": "^2.0
|
|
53
|
-
"@smithy/util-body-length-browser": "^2.0
|
|
54
|
-
"@smithy/util-body-length-node": "^2.
|
|
55
|
-
"@smithy/util-defaults-mode-browser": "^2.0
|
|
56
|
-
"@smithy/util-defaults-mode-node": "^2.0
|
|
57
|
-
"@smithy/util-endpoints": "^1.0
|
|
58
|
-
"@smithy/util-middleware": "^2.0
|
|
59
|
-
"@smithy/util-retry": "^2.0
|
|
60
|
-
"@smithy/util-utf8": "^2.0
|
|
61
|
-
"@smithy/util-waiter": "^2.0
|
|
23
|
+
"@aws-sdk/client-sts": "3.495.0",
|
|
24
|
+
"@aws-sdk/core": "3.495.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.495.0",
|
|
26
|
+
"@aws-sdk/middleware-endpoint-discovery": "3.495.0",
|
|
27
|
+
"@aws-sdk/middleware-host-header": "3.495.0",
|
|
28
|
+
"@aws-sdk/middleware-logger": "3.495.0",
|
|
29
|
+
"@aws-sdk/middleware-recursion-detection": "3.495.0",
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.495.0",
|
|
31
|
+
"@aws-sdk/region-config-resolver": "3.495.0",
|
|
32
|
+
"@aws-sdk/types": "3.495.0",
|
|
33
|
+
"@aws-sdk/util-endpoints": "3.495.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-browser": "3.495.0",
|
|
35
|
+
"@aws-sdk/util-user-agent-node": "3.495.0",
|
|
36
|
+
"@smithy/config-resolver": "^2.1.0",
|
|
37
|
+
"@smithy/core": "^1.3.0",
|
|
38
|
+
"@smithy/fetch-http-handler": "^2.4.0",
|
|
39
|
+
"@smithy/hash-node": "^2.1.0",
|
|
40
|
+
"@smithy/invalid-dependency": "^2.1.0",
|
|
41
|
+
"@smithy/middleware-content-length": "^2.1.0",
|
|
42
|
+
"@smithy/middleware-endpoint": "^2.4.0",
|
|
43
|
+
"@smithy/middleware-retry": "^2.1.0",
|
|
44
|
+
"@smithy/middleware-serde": "^2.1.0",
|
|
45
|
+
"@smithy/middleware-stack": "^2.1.0",
|
|
46
|
+
"@smithy/node-config-provider": "^2.2.0",
|
|
47
|
+
"@smithy/node-http-handler": "^2.3.0",
|
|
48
|
+
"@smithy/protocol-http": "^3.1.0",
|
|
49
|
+
"@smithy/smithy-client": "^2.3.0",
|
|
50
|
+
"@smithy/types": "^2.9.0",
|
|
51
|
+
"@smithy/url-parser": "^2.1.0",
|
|
52
|
+
"@smithy/util-base64": "^2.1.0",
|
|
53
|
+
"@smithy/util-body-length-browser": "^2.1.0",
|
|
54
|
+
"@smithy/util-body-length-node": "^2.2.0",
|
|
55
|
+
"@smithy/util-defaults-mode-browser": "^2.1.0",
|
|
56
|
+
"@smithy/util-defaults-mode-node": "^2.1.0",
|
|
57
|
+
"@smithy/util-endpoints": "^1.1.0",
|
|
58
|
+
"@smithy/util-middleware": "^2.1.0",
|
|
59
|
+
"@smithy/util-retry": "^2.1.0",
|
|
60
|
+
"@smithy/util-utf8": "^2.1.0",
|
|
61
|
+
"@smithy/util-waiter": "^2.1.0",
|
|
62
62
|
"tslib": "^2.5.0",
|
|
63
63
|
"uuid": "^8.3.2"
|
|
64
64
|
},
|
|
65
65
|
"devDependencies": {
|
|
66
|
-
"@smithy/service-client-documentation-generator": "^2.
|
|
66
|
+
"@smithy/service-client-documentation-generator": "^2.1.0",
|
|
67
67
|
"@tsconfig/node14": "1.0.3",
|
|
68
68
|
"@types/node": "^14.14.31",
|
|
69
69
|
"@types/uuid": "^8.3.0",
|