@aws-sdk/client-dynamodb 3.958.0 → 3.962.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/index.js
CHANGED
|
@@ -3836,10 +3836,10 @@ const paginateScan = core.createPaginator(DynamoDBClient, ScanCommand, "Exclusiv
|
|
|
3836
3836
|
const checkState$1 = async (client, input) => {
|
|
3837
3837
|
let reason;
|
|
3838
3838
|
try {
|
|
3839
|
-
|
|
3839
|
+
let result = await client.send(new DescribeTableCommand(input));
|
|
3840
3840
|
reason = result;
|
|
3841
3841
|
try {
|
|
3842
|
-
|
|
3842
|
+
const returnComparator = () => {
|
|
3843
3843
|
return result.Table.TableStatus;
|
|
3844
3844
|
};
|
|
3845
3845
|
if (returnComparator() === "ACTIVE") {
|
|
@@ -3869,7 +3869,7 @@ const waitUntilTableExists = async (params, input) => {
|
|
|
3869
3869
|
const checkState = async (client, input) => {
|
|
3870
3870
|
let reason;
|
|
3871
3871
|
try {
|
|
3872
|
-
|
|
3872
|
+
let result = await client.send(new DescribeTableCommand(input));
|
|
3873
3873
|
reason = result;
|
|
3874
3874
|
}
|
|
3875
3875
|
catch (exception) {
|
|
@@ -3,10 +3,10 @@ import { DescribeTableCommand } from "../commands/DescribeTableCommand";
|
|
|
3
3
|
const checkState = async (client, input) => {
|
|
4
4
|
let reason;
|
|
5
5
|
try {
|
|
6
|
-
|
|
6
|
+
let result = await client.send(new DescribeTableCommand(input));
|
|
7
7
|
reason = result;
|
|
8
8
|
try {
|
|
9
|
-
|
|
9
|
+
const returnComparator = () => {
|
|
10
10
|
return result.Table.TableStatus;
|
|
11
11
|
};
|
|
12
12
|
if (returnComparator() === "ACTIVE") {
|
|
@@ -3,7 +3,7 @@ import { DescribeTableCommand } from "../commands/DescribeTableCommand";
|
|
|
3
3
|
const checkState = async (client, input) => {
|
|
4
4
|
let reason;
|
|
5
5
|
try {
|
|
6
|
-
|
|
6
|
+
let result = await client.send(new DescribeTableCommand(input));
|
|
7
7
|
reason = result;
|
|
8
8
|
}
|
|
9
9
|
catch (exception) {
|
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.962.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-dynamodb",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
25
25
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
26
26
|
"@aws-sdk/core": "3.957.0",
|
|
27
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
+
"@aws-sdk/credential-provider-node": "3.962.0",
|
|
28
28
|
"@aws-sdk/dynamodb-codec": "3.957.0",
|
|
29
29
|
"@aws-sdk/middleware-endpoint-discovery": "3.957.0",
|
|
30
30
|
"@aws-sdk/middleware-host-header": "3.957.0",
|