@aws-sdk/client-appconfig 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
@@ -1708,10 +1708,10 @@ const paginateListHostedConfigurationVersions = core.createPaginator(AppConfigCl
1708
1708
  const checkState$1 = async (client, input) => {
1709
1709
  let reason;
1710
1710
  try {
1711
- const result = await client.send(new GetDeploymentCommand(input));
1711
+ let result = await client.send(new GetDeploymentCommand(input));
1712
1712
  reason = result;
1713
1713
  try {
1714
- let returnComparator = () => {
1714
+ const returnComparator = () => {
1715
1715
  return result.State;
1716
1716
  };
1717
1717
  if (returnComparator() === "COMPLETE") {
@@ -1720,7 +1720,7 @@ const checkState$1 = async (client, input) => {
1720
1720
  }
1721
1721
  catch (e) { }
1722
1722
  try {
1723
- let returnComparator = () => {
1723
+ const returnComparator = () => {
1724
1724
  return result.State;
1725
1725
  };
1726
1726
  if (returnComparator() === "ROLLED_BACK") {
@@ -1729,7 +1729,7 @@ const checkState$1 = async (client, input) => {
1729
1729
  }
1730
1730
  catch (e) { }
1731
1731
  try {
1732
- let returnComparator = () => {
1732
+ const returnComparator = () => {
1733
1733
  return result.State;
1734
1734
  };
1735
1735
  if (returnComparator() === "REVERTED") {
@@ -1756,10 +1756,10 @@ const waitUntilDeploymentComplete = async (params, input) => {
1756
1756
  const checkState = async (client, input) => {
1757
1757
  let reason;
1758
1758
  try {
1759
- const result = await client.send(new GetEnvironmentCommand(input));
1759
+ let result = await client.send(new GetEnvironmentCommand(input));
1760
1760
  reason = result;
1761
1761
  try {
1762
- let returnComparator = () => {
1762
+ const returnComparator = () => {
1763
1763
  return result.State;
1764
1764
  };
1765
1765
  if (returnComparator() === "ReadyForDeployment") {
@@ -1768,7 +1768,7 @@ const checkState = async (client, input) => {
1768
1768
  }
1769
1769
  catch (e) { }
1770
1770
  try {
1771
- let returnComparator = () => {
1771
+ const returnComparator = () => {
1772
1772
  return result.State;
1773
1773
  };
1774
1774
  if (returnComparator() === "RolledBack") {
@@ -1777,7 +1777,7 @@ const checkState = async (client, input) => {
1777
1777
  }
1778
1778
  catch (e) { }
1779
1779
  try {
1780
- let returnComparator = () => {
1780
+ const returnComparator = () => {
1781
1781
  return result.State;
1782
1782
  };
1783
1783
  if (returnComparator() === "Reverted") {
@@ -3,10 +3,10 @@ import { GetDeploymentCommand } from "../commands/GetDeploymentCommand";
3
3
  const checkState = async (client, input) => {
4
4
  let reason;
5
5
  try {
6
- const result = await client.send(new GetDeploymentCommand(input));
6
+ let result = await client.send(new GetDeploymentCommand(input));
7
7
  reason = result;
8
8
  try {
9
- let returnComparator = () => {
9
+ const returnComparator = () => {
10
10
  return result.State;
11
11
  };
12
12
  if (returnComparator() === "COMPLETE") {
@@ -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.State;
20
20
  };
21
21
  if (returnComparator() === "ROLLED_BACK") {
@@ -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.State;
29
29
  };
30
30
  if (returnComparator() === "REVERTED") {
@@ -3,10 +3,10 @@ import { GetEnvironmentCommand } from "../commands/GetEnvironmentCommand";
3
3
  const checkState = async (client, input) => {
4
4
  let reason;
5
5
  try {
6
- const result = await client.send(new GetEnvironmentCommand(input));
6
+ let result = await client.send(new GetEnvironmentCommand(input));
7
7
  reason = result;
8
8
  try {
9
- let returnComparator = () => {
9
+ const returnComparator = () => {
10
10
  return result.State;
11
11
  };
12
12
  if (returnComparator() === "ReadyForDeployment") {
@@ -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.State;
20
20
  };
21
21
  if (returnComparator() === "RolledBack") {
@@ -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.State;
29
29
  };
30
30
  if (returnComparator() === "Reverted") {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-appconfig",
3
3
  "description": "AWS SDK for JavaScript Appconfig 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-appconfig",
@@ -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",