@aws-sdk/client-route53-recovery-control-config 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 +15 -15
- package/dist-es/waiters/waitForClusterCreated.js +3 -3
- package/dist-es/waiters/waitForClusterDeleted.js +2 -2
- package/dist-es/waiters/waitForControlPanelCreated.js +3 -3
- package/dist-es/waiters/waitForControlPanelDeleted.js +2 -2
- package/dist-es/waiters/waitForRoutingControlCreated.js +3 -3
- package/dist-es/waiters/waitForRoutingControlDeleted.js +2 -2
- package/package.json +2 -2
package/dist-cjs/index.js
CHANGED
|
@@ -1153,10 +1153,10 @@ const paginateListSafetyRules = core.createPaginator(Route53RecoveryControlConfi
|
|
|
1153
1153
|
const checkState$5 = async (client, input) => {
|
|
1154
1154
|
let reason;
|
|
1155
1155
|
try {
|
|
1156
|
-
|
|
1156
|
+
let result = await client.send(new DescribeClusterCommand(input));
|
|
1157
1157
|
reason = result;
|
|
1158
1158
|
try {
|
|
1159
|
-
|
|
1159
|
+
const returnComparator = () => {
|
|
1160
1160
|
return result.Cluster.Status;
|
|
1161
1161
|
};
|
|
1162
1162
|
if (returnComparator() === "DEPLOYED") {
|
|
@@ -1165,7 +1165,7 @@ const checkState$5 = async (client, input) => {
|
|
|
1165
1165
|
}
|
|
1166
1166
|
catch (e) { }
|
|
1167
1167
|
try {
|
|
1168
|
-
|
|
1168
|
+
const returnComparator = () => {
|
|
1169
1169
|
return result.Cluster.Status;
|
|
1170
1170
|
};
|
|
1171
1171
|
if (returnComparator() === "PENDING") {
|
|
@@ -1195,10 +1195,10 @@ const waitUntilClusterCreated = async (params, input) => {
|
|
|
1195
1195
|
const checkState$4 = async (client, input) => {
|
|
1196
1196
|
let reason;
|
|
1197
1197
|
try {
|
|
1198
|
-
|
|
1198
|
+
let result = await client.send(new DescribeClusterCommand(input));
|
|
1199
1199
|
reason = result;
|
|
1200
1200
|
try {
|
|
1201
|
-
|
|
1201
|
+
const returnComparator = () => {
|
|
1202
1202
|
return result.Cluster.Status;
|
|
1203
1203
|
};
|
|
1204
1204
|
if (returnComparator() === "PENDING_DELETION") {
|
|
@@ -1231,10 +1231,10 @@ const waitUntilClusterDeleted = async (params, input) => {
|
|
|
1231
1231
|
const checkState$3 = async (client, input) => {
|
|
1232
1232
|
let reason;
|
|
1233
1233
|
try {
|
|
1234
|
-
|
|
1234
|
+
let result = await client.send(new DescribeControlPanelCommand(input));
|
|
1235
1235
|
reason = result;
|
|
1236
1236
|
try {
|
|
1237
|
-
|
|
1237
|
+
const returnComparator = () => {
|
|
1238
1238
|
return result.ControlPanel.Status;
|
|
1239
1239
|
};
|
|
1240
1240
|
if (returnComparator() === "DEPLOYED") {
|
|
@@ -1243,7 +1243,7 @@ const checkState$3 = async (client, input) => {
|
|
|
1243
1243
|
}
|
|
1244
1244
|
catch (e) { }
|
|
1245
1245
|
try {
|
|
1246
|
-
|
|
1246
|
+
const returnComparator = () => {
|
|
1247
1247
|
return result.ControlPanel.Status;
|
|
1248
1248
|
};
|
|
1249
1249
|
if (returnComparator() === "PENDING") {
|
|
@@ -1273,10 +1273,10 @@ const waitUntilControlPanelCreated = async (params, input) => {
|
|
|
1273
1273
|
const checkState$2 = async (client, input) => {
|
|
1274
1274
|
let reason;
|
|
1275
1275
|
try {
|
|
1276
|
-
|
|
1276
|
+
let result = await client.send(new DescribeControlPanelCommand(input));
|
|
1277
1277
|
reason = result;
|
|
1278
1278
|
try {
|
|
1279
|
-
|
|
1279
|
+
const returnComparator = () => {
|
|
1280
1280
|
return result.ControlPanel.Status;
|
|
1281
1281
|
};
|
|
1282
1282
|
if (returnComparator() === "PENDING_DELETION") {
|
|
@@ -1309,10 +1309,10 @@ const waitUntilControlPanelDeleted = async (params, input) => {
|
|
|
1309
1309
|
const checkState$1 = async (client, input) => {
|
|
1310
1310
|
let reason;
|
|
1311
1311
|
try {
|
|
1312
|
-
|
|
1312
|
+
let result = await client.send(new DescribeRoutingControlCommand(input));
|
|
1313
1313
|
reason = result;
|
|
1314
1314
|
try {
|
|
1315
|
-
|
|
1315
|
+
const returnComparator = () => {
|
|
1316
1316
|
return result.RoutingControl.Status;
|
|
1317
1317
|
};
|
|
1318
1318
|
if (returnComparator() === "DEPLOYED") {
|
|
@@ -1321,7 +1321,7 @@ const checkState$1 = async (client, input) => {
|
|
|
1321
1321
|
}
|
|
1322
1322
|
catch (e) { }
|
|
1323
1323
|
try {
|
|
1324
|
-
|
|
1324
|
+
const returnComparator = () => {
|
|
1325
1325
|
return result.RoutingControl.Status;
|
|
1326
1326
|
};
|
|
1327
1327
|
if (returnComparator() === "PENDING") {
|
|
@@ -1351,10 +1351,10 @@ const waitUntilRoutingControlCreated = async (params, input) => {
|
|
|
1351
1351
|
const checkState = async (client, input) => {
|
|
1352
1352
|
let reason;
|
|
1353
1353
|
try {
|
|
1354
|
-
|
|
1354
|
+
let result = await client.send(new DescribeRoutingControlCommand(input));
|
|
1355
1355
|
reason = result;
|
|
1356
1356
|
try {
|
|
1357
|
-
|
|
1357
|
+
const returnComparator = () => {
|
|
1358
1358
|
return result.RoutingControl.Status;
|
|
1359
1359
|
};
|
|
1360
1360
|
if (returnComparator() === "PENDING_DELETION") {
|
|
@@ -3,10 +3,10 @@ import { DescribeClusterCommand } from "../commands/DescribeClusterCommand";
|
|
|
3
3
|
const checkState = async (client, input) => {
|
|
4
4
|
let reason;
|
|
5
5
|
try {
|
|
6
|
-
|
|
6
|
+
let result = await client.send(new DescribeClusterCommand(input));
|
|
7
7
|
reason = result;
|
|
8
8
|
try {
|
|
9
|
-
|
|
9
|
+
const returnComparator = () => {
|
|
10
10
|
return result.Cluster.Status;
|
|
11
11
|
};
|
|
12
12
|
if (returnComparator() === "DEPLOYED") {
|
|
@@ -15,7 +15,7 @@ const checkState = async (client, input) => {
|
|
|
15
15
|
}
|
|
16
16
|
catch (e) { }
|
|
17
17
|
try {
|
|
18
|
-
|
|
18
|
+
const returnComparator = () => {
|
|
19
19
|
return result.Cluster.Status;
|
|
20
20
|
};
|
|
21
21
|
if (returnComparator() === "PENDING") {
|
|
@@ -3,10 +3,10 @@ import { DescribeClusterCommand } from "../commands/DescribeClusterCommand";
|
|
|
3
3
|
const checkState = async (client, input) => {
|
|
4
4
|
let reason;
|
|
5
5
|
try {
|
|
6
|
-
|
|
6
|
+
let result = await client.send(new DescribeClusterCommand(input));
|
|
7
7
|
reason = result;
|
|
8
8
|
try {
|
|
9
|
-
|
|
9
|
+
const returnComparator = () => {
|
|
10
10
|
return result.Cluster.Status;
|
|
11
11
|
};
|
|
12
12
|
if (returnComparator() === "PENDING_DELETION") {
|
|
@@ -3,10 +3,10 @@ import { DescribeControlPanelCommand } from "../commands/DescribeControlPanelCom
|
|
|
3
3
|
const checkState = async (client, input) => {
|
|
4
4
|
let reason;
|
|
5
5
|
try {
|
|
6
|
-
|
|
6
|
+
let result = await client.send(new DescribeControlPanelCommand(input));
|
|
7
7
|
reason = result;
|
|
8
8
|
try {
|
|
9
|
-
|
|
9
|
+
const returnComparator = () => {
|
|
10
10
|
return result.ControlPanel.Status;
|
|
11
11
|
};
|
|
12
12
|
if (returnComparator() === "DEPLOYED") {
|
|
@@ -15,7 +15,7 @@ const checkState = async (client, input) => {
|
|
|
15
15
|
}
|
|
16
16
|
catch (e) { }
|
|
17
17
|
try {
|
|
18
|
-
|
|
18
|
+
const returnComparator = () => {
|
|
19
19
|
return result.ControlPanel.Status;
|
|
20
20
|
};
|
|
21
21
|
if (returnComparator() === "PENDING") {
|
|
@@ -3,10 +3,10 @@ import { DescribeControlPanelCommand } from "../commands/DescribeControlPanelCom
|
|
|
3
3
|
const checkState = async (client, input) => {
|
|
4
4
|
let reason;
|
|
5
5
|
try {
|
|
6
|
-
|
|
6
|
+
let result = await client.send(new DescribeControlPanelCommand(input));
|
|
7
7
|
reason = result;
|
|
8
8
|
try {
|
|
9
|
-
|
|
9
|
+
const returnComparator = () => {
|
|
10
10
|
return result.ControlPanel.Status;
|
|
11
11
|
};
|
|
12
12
|
if (returnComparator() === "PENDING_DELETION") {
|
|
@@ -3,10 +3,10 @@ import { DescribeRoutingControlCommand, } from "../commands/DescribeRoutingContr
|
|
|
3
3
|
const checkState = async (client, input) => {
|
|
4
4
|
let reason;
|
|
5
5
|
try {
|
|
6
|
-
|
|
6
|
+
let result = await client.send(new DescribeRoutingControlCommand(input));
|
|
7
7
|
reason = result;
|
|
8
8
|
try {
|
|
9
|
-
|
|
9
|
+
const returnComparator = () => {
|
|
10
10
|
return result.RoutingControl.Status;
|
|
11
11
|
};
|
|
12
12
|
if (returnComparator() === "DEPLOYED") {
|
|
@@ -15,7 +15,7 @@ const checkState = async (client, input) => {
|
|
|
15
15
|
}
|
|
16
16
|
catch (e) { }
|
|
17
17
|
try {
|
|
18
|
-
|
|
18
|
+
const returnComparator = () => {
|
|
19
19
|
return result.RoutingControl.Status;
|
|
20
20
|
};
|
|
21
21
|
if (returnComparator() === "PENDING") {
|
|
@@ -3,10 +3,10 @@ import { DescribeRoutingControlCommand, } from "../commands/DescribeRoutingContr
|
|
|
3
3
|
const checkState = async (client, input) => {
|
|
4
4
|
let reason;
|
|
5
5
|
try {
|
|
6
|
-
|
|
6
|
+
let result = await client.send(new DescribeRoutingControlCommand(input));
|
|
7
7
|
reason = result;
|
|
8
8
|
try {
|
|
9
|
-
|
|
9
|
+
const returnComparator = () => {
|
|
10
10
|
return result.RoutingControl.Status;
|
|
11
11
|
};
|
|
12
12
|
if (returnComparator() === "PENDING_DELETION") {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-route53-recovery-control-config",
|
|
3
3
|
"description": "AWS SDK for JavaScript Route53 Recovery Control Config 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-route53-recovery-control-config",
|
|
@@ -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",
|