@aws-sdk/client-dsql 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
|
@@ -715,10 +715,10 @@ const paginateListClusters = core.createPaginator(DSQLClient, ListClustersComman
|
|
|
715
715
|
const checkState$1 = async (client, input) => {
|
|
716
716
|
let reason;
|
|
717
717
|
try {
|
|
718
|
-
|
|
718
|
+
let result = await client.send(new GetClusterCommand(input));
|
|
719
719
|
reason = result;
|
|
720
720
|
try {
|
|
721
|
-
|
|
721
|
+
const returnComparator = () => {
|
|
722
722
|
return result.status;
|
|
723
723
|
};
|
|
724
724
|
if (returnComparator() === "ACTIVE") {
|
|
@@ -745,7 +745,7 @@ const waitUntilClusterActive = async (params, input) => {
|
|
|
745
745
|
const checkState = async (client, input) => {
|
|
746
746
|
let reason;
|
|
747
747
|
try {
|
|
748
|
-
|
|
748
|
+
let result = await client.send(new GetClusterCommand(input));
|
|
749
749
|
reason = result;
|
|
750
750
|
}
|
|
751
751
|
catch (exception) {
|
|
@@ -3,10 +3,10 @@ import { GetClusterCommand } from "../commands/GetClusterCommand";
|
|
|
3
3
|
const checkState = async (client, input) => {
|
|
4
4
|
let reason;
|
|
5
5
|
try {
|
|
6
|
-
|
|
6
|
+
let result = await client.send(new GetClusterCommand(input));
|
|
7
7
|
reason = result;
|
|
8
8
|
try {
|
|
9
|
-
|
|
9
|
+
const returnComparator = () => {
|
|
10
10
|
return result.status;
|
|
11
11
|
};
|
|
12
12
|
if (returnComparator() === "ACTIVE") {
|
|
@@ -3,7 +3,7 @@ import { GetClusterCommand } from "../commands/GetClusterCommand";
|
|
|
3
3
|
const checkState = async (client, input) => {
|
|
4
4
|
let reason;
|
|
5
5
|
try {
|
|
6
|
-
|
|
6
|
+
let result = await client.send(new GetClusterCommand(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-dsql",
|
|
3
3
|
"description": "AWS SDK for JavaScript Dsql 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-dsql",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
24
24
|
"@aws-sdk/core": "3.957.0",
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.962.0",
|
|
26
26
|
"@aws-sdk/middleware-host-header": "3.957.0",
|
|
27
27
|
"@aws-sdk/middleware-logger": "3.957.0",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "3.957.0",
|