@aws-sdk/client-arc-region-switch 3.958.0 → 3.964.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
@@ -1380,10 +1380,10 @@ const paginateListRoute53HealthChecksInRegion = core.createPaginator(ARCRegionSw
1380
1380
  const checkState$1 = async (client, input) => {
1381
1381
  let reason;
1382
1382
  try {
1383
- const result = await client.send(new GetPlanEvaluationStatusCommand(input));
1383
+ let result = await client.send(new GetPlanEvaluationStatusCommand(input));
1384
1384
  reason = result;
1385
1385
  try {
1386
- let returnComparator = () => {
1386
+ const returnComparator = () => {
1387
1387
  return result.evaluationState;
1388
1388
  };
1389
1389
  if (returnComparator() === "passed") {
@@ -1392,7 +1392,7 @@ const checkState$1 = async (client, input) => {
1392
1392
  }
1393
1393
  catch (e) { }
1394
1394
  try {
1395
- let returnComparator = () => {
1395
+ const returnComparator = () => {
1396
1396
  return result.evaluationState;
1397
1397
  };
1398
1398
  if (returnComparator() === "actionRequired") {
@@ -1401,7 +1401,7 @@ const checkState$1 = async (client, input) => {
1401
1401
  }
1402
1402
  catch (e) { }
1403
1403
  try {
1404
- let returnComparator = () => {
1404
+ const returnComparator = () => {
1405
1405
  return result.evaluationState;
1406
1406
  };
1407
1407
  if (returnComparator() === "pendingEvaluation") {
@@ -1428,10 +1428,10 @@ const waitUntilPlanEvaluationStatusPassed = async (params, input) => {
1428
1428
  const checkState = async (client, input) => {
1429
1429
  let reason;
1430
1430
  try {
1431
- const result = await client.send(new GetPlanExecutionCommand(input));
1431
+ let result = await client.send(new GetPlanExecutionCommand(input));
1432
1432
  reason = result;
1433
1433
  try {
1434
- let returnComparator = () => {
1434
+ const returnComparator = () => {
1435
1435
  return result.executionState;
1436
1436
  };
1437
1437
  if (returnComparator() === "completed") {
@@ -1440,7 +1440,7 @@ const checkState = async (client, input) => {
1440
1440
  }
1441
1441
  catch (e) { }
1442
1442
  try {
1443
- let returnComparator = () => {
1443
+ const returnComparator = () => {
1444
1444
  return result.executionState;
1445
1445
  };
1446
1446
  if (returnComparator() === "completedWithExceptions") {
@@ -1449,7 +1449,7 @@ const checkState = async (client, input) => {
1449
1449
  }
1450
1450
  catch (e) { }
1451
1451
  try {
1452
- let returnComparator = () => {
1452
+ const returnComparator = () => {
1453
1453
  return result.executionState;
1454
1454
  };
1455
1455
  if (returnComparator() === "failed") {
@@ -1458,7 +1458,7 @@ const checkState = async (client, input) => {
1458
1458
  }
1459
1459
  catch (e) { }
1460
1460
  try {
1461
- let returnComparator = () => {
1461
+ const returnComparator = () => {
1462
1462
  return result.executionState;
1463
1463
  };
1464
1464
  if (returnComparator() === "canceled") {
@@ -1467,7 +1467,7 @@ const checkState = async (client, input) => {
1467
1467
  }
1468
1468
  catch (e) { }
1469
1469
  try {
1470
- let returnComparator = () => {
1470
+ const returnComparator = () => {
1471
1471
  return result.executionState;
1472
1472
  };
1473
1473
  if (returnComparator() === "planExecutionTimedOut") {
@@ -3,10 +3,10 @@ import { GetPlanEvaluationStatusCommand, } from "../commands/GetPlanEvaluationSt
3
3
  const checkState = async (client, input) => {
4
4
  let reason;
5
5
  try {
6
- const result = await client.send(new GetPlanEvaluationStatusCommand(input));
6
+ let result = await client.send(new GetPlanEvaluationStatusCommand(input));
7
7
  reason = result;
8
8
  try {
9
- let returnComparator = () => {
9
+ const returnComparator = () => {
10
10
  return result.evaluationState;
11
11
  };
12
12
  if (returnComparator() === "passed") {
@@ -15,7 +15,7 @@ const checkState = async (client, input) => {
15
15
  }
16
16
  catch (e) { }
17
17
  try {
18
- let returnComparator = () => {
18
+ const returnComparator = () => {
19
19
  return result.evaluationState;
20
20
  };
21
21
  if (returnComparator() === "actionRequired") {
@@ -24,7 +24,7 @@ const checkState = async (client, input) => {
24
24
  }
25
25
  catch (e) { }
26
26
  try {
27
- let returnComparator = () => {
27
+ const returnComparator = () => {
28
28
  return result.evaluationState;
29
29
  };
30
30
  if (returnComparator() === "pendingEvaluation") {
@@ -3,10 +3,10 @@ import { GetPlanExecutionCommand } from "../commands/GetPlanExecutionCommand";
3
3
  const checkState = async (client, input) => {
4
4
  let reason;
5
5
  try {
6
- const result = await client.send(new GetPlanExecutionCommand(input));
6
+ let result = await client.send(new GetPlanExecutionCommand(input));
7
7
  reason = result;
8
8
  try {
9
- let returnComparator = () => {
9
+ const returnComparator = () => {
10
10
  return result.executionState;
11
11
  };
12
12
  if (returnComparator() === "completed") {
@@ -15,7 +15,7 @@ const checkState = async (client, input) => {
15
15
  }
16
16
  catch (e) { }
17
17
  try {
18
- let returnComparator = () => {
18
+ const returnComparator = () => {
19
19
  return result.executionState;
20
20
  };
21
21
  if (returnComparator() === "completedWithExceptions") {
@@ -24,7 +24,7 @@ const checkState = async (client, input) => {
24
24
  }
25
25
  catch (e) { }
26
26
  try {
27
- let returnComparator = () => {
27
+ const returnComparator = () => {
28
28
  return result.executionState;
29
29
  };
30
30
  if (returnComparator() === "failed") {
@@ -33,7 +33,7 @@ const checkState = async (client, input) => {
33
33
  }
34
34
  catch (e) { }
35
35
  try {
36
- let returnComparator = () => {
36
+ const returnComparator = () => {
37
37
  return result.executionState;
38
38
  };
39
39
  if (returnComparator() === "canceled") {
@@ -42,7 +42,7 @@ const checkState = async (client, input) => {
42
42
  }
43
43
  catch (e) { }
44
44
  try {
45
- let returnComparator = () => {
45
+ const returnComparator = () => {
46
46
  return result.executionState;
47
47
  };
48
48
  if (returnComparator() === "planExecutionTimedOut") {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-arc-region-switch",
3
3
  "description": "AWS SDK for JavaScript Arc Region Switch Client for Node.js, Browser and React Native",
4
- "version": "3.958.0",
4
+ "version": "3.964.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-arc-region-switch",
@@ -21,17 +21,17 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "5.2.0",
23
23
  "@aws-crypto/sha256-js": "5.2.0",
24
- "@aws-sdk/core": "3.957.0",
25
- "@aws-sdk/credential-provider-node": "3.958.0",
24
+ "@aws-sdk/core": "3.964.0",
25
+ "@aws-sdk/credential-provider-node": "3.964.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",
29
- "@aws-sdk/middleware-user-agent": "3.957.0",
29
+ "@aws-sdk/middleware-user-agent": "3.964.0",
30
30
  "@aws-sdk/region-config-resolver": "3.957.0",
31
31
  "@aws-sdk/types": "3.957.0",
32
32
  "@aws-sdk/util-endpoints": "3.957.0",
33
33
  "@aws-sdk/util-user-agent-browser": "3.957.0",
34
- "@aws-sdk/util-user-agent-node": "3.957.0",
34
+ "@aws-sdk/util-user-agent-node": "3.964.0",
35
35
  "@smithy/config-resolver": "^4.4.5",
36
36
  "@smithy/core": "^3.20.0",
37
37
  "@smithy/fetch-http-handler": "^5.3.8",