@aws-sdk/client-amp 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
@@ -1903,10 +1903,10 @@ const paginateListWorkspaces = core.createPaginator(AmpClient, ListWorkspacesCom
1903
1903
  const checkState$5 = async (client, input) => {
1904
1904
  let reason;
1905
1905
  try {
1906
- const result = await client.send(new DescribeAnomalyDetectorCommand(input));
1906
+ let result = await client.send(new DescribeAnomalyDetectorCommand(input));
1907
1907
  reason = result;
1908
1908
  try {
1909
- let returnComparator = () => {
1909
+ const returnComparator = () => {
1910
1910
  return result.anomalyDetector.status.statusCode;
1911
1911
  };
1912
1912
  if (returnComparator() === "ACTIVE") {
@@ -1915,7 +1915,7 @@ const checkState$5 = async (client, input) => {
1915
1915
  }
1916
1916
  catch (e) { }
1917
1917
  try {
1918
- let returnComparator = () => {
1918
+ const returnComparator = () => {
1919
1919
  return result.anomalyDetector.status.statusCode;
1920
1920
  };
1921
1921
  if (returnComparator() === "CREATING") {
@@ -1924,7 +1924,7 @@ const checkState$5 = async (client, input) => {
1924
1924
  }
1925
1925
  catch (e) { }
1926
1926
  try {
1927
- let returnComparator = () => {
1927
+ const returnComparator = () => {
1928
1928
  return result.anomalyDetector.status.statusCode;
1929
1929
  };
1930
1930
  if (returnComparator() === "UPDATING") {
@@ -1951,10 +1951,10 @@ const waitUntilAnomalyDetectorActive = async (params, input) => {
1951
1951
  const checkState$4 = async (client, input) => {
1952
1952
  let reason;
1953
1953
  try {
1954
- const result = await client.send(new DescribeAnomalyDetectorCommand(input));
1954
+ let result = await client.send(new DescribeAnomalyDetectorCommand(input));
1955
1955
  reason = result;
1956
1956
  try {
1957
- let returnComparator = () => {
1957
+ const returnComparator = () => {
1958
1958
  return result.anomalyDetector.status.statusCode;
1959
1959
  };
1960
1960
  if (returnComparator() === "DELETING") {
@@ -1984,10 +1984,10 @@ const waitUntilAnomalyDetectorDeleted = async (params, input) => {
1984
1984
  const checkState$3 = async (client, input) => {
1985
1985
  let reason;
1986
1986
  try {
1987
- const result = await client.send(new DescribeScraperCommand(input));
1987
+ let result = await client.send(new DescribeScraperCommand(input));
1988
1988
  reason = result;
1989
1989
  try {
1990
- let returnComparator = () => {
1990
+ const returnComparator = () => {
1991
1991
  return result.scraper.status.statusCode;
1992
1992
  };
1993
1993
  if (returnComparator() === "ACTIVE") {
@@ -1996,7 +1996,7 @@ const checkState$3 = async (client, input) => {
1996
1996
  }
1997
1997
  catch (e) { }
1998
1998
  try {
1999
- let returnComparator = () => {
1999
+ const returnComparator = () => {
2000
2000
  return result.scraper.status.statusCode;
2001
2001
  };
2002
2002
  if (returnComparator() === "CREATION_FAILED") {
@@ -2023,10 +2023,10 @@ const waitUntilScraperActive = async (params, input) => {
2023
2023
  const checkState$2 = async (client, input) => {
2024
2024
  let reason;
2025
2025
  try {
2026
- const result = await client.send(new DescribeScraperCommand(input));
2026
+ let result = await client.send(new DescribeScraperCommand(input));
2027
2027
  reason = result;
2028
2028
  try {
2029
- let returnComparator = () => {
2029
+ const returnComparator = () => {
2030
2030
  return result.scraper.status.statusCode;
2031
2031
  };
2032
2032
  if (returnComparator() === "DELETION_FAILED") {
@@ -2056,10 +2056,10 @@ const waitUntilScraperDeleted = async (params, input) => {
2056
2056
  const checkState$1 = async (client, input) => {
2057
2057
  let reason;
2058
2058
  try {
2059
- const result = await client.send(new DescribeWorkspaceCommand(input));
2059
+ let result = await client.send(new DescribeWorkspaceCommand(input));
2060
2060
  reason = result;
2061
2061
  try {
2062
- let returnComparator = () => {
2062
+ const returnComparator = () => {
2063
2063
  return result.workspace.status.statusCode;
2064
2064
  };
2065
2065
  if (returnComparator() === "ACTIVE") {
@@ -2068,7 +2068,7 @@ const checkState$1 = async (client, input) => {
2068
2068
  }
2069
2069
  catch (e) { }
2070
2070
  try {
2071
- let returnComparator = () => {
2071
+ const returnComparator = () => {
2072
2072
  return result.workspace.status.statusCode;
2073
2073
  };
2074
2074
  if (returnComparator() === "UPDATING") {
@@ -2077,7 +2077,7 @@ const checkState$1 = async (client, input) => {
2077
2077
  }
2078
2078
  catch (e) { }
2079
2079
  try {
2080
- let returnComparator = () => {
2080
+ const returnComparator = () => {
2081
2081
  return result.workspace.status.statusCode;
2082
2082
  };
2083
2083
  if (returnComparator() === "CREATING") {
@@ -2104,10 +2104,10 @@ const waitUntilWorkspaceActive = async (params, input) => {
2104
2104
  const checkState = async (client, input) => {
2105
2105
  let reason;
2106
2106
  try {
2107
- const result = await client.send(new DescribeWorkspaceCommand(input));
2107
+ let result = await client.send(new DescribeWorkspaceCommand(input));
2108
2108
  reason = result;
2109
2109
  try {
2110
- let returnComparator = () => {
2110
+ const returnComparator = () => {
2111
2111
  return result.workspace.status.statusCode;
2112
2112
  };
2113
2113
  if (returnComparator() === "DELETING") {
@@ -3,10 +3,10 @@ import { DescribeAnomalyDetectorCommand, } from "../commands/DescribeAnomalyDete
3
3
  const checkState = async (client, input) => {
4
4
  let reason;
5
5
  try {
6
- const result = await client.send(new DescribeAnomalyDetectorCommand(input));
6
+ let result = await client.send(new DescribeAnomalyDetectorCommand(input));
7
7
  reason = result;
8
8
  try {
9
- let returnComparator = () => {
9
+ const returnComparator = () => {
10
10
  return result.anomalyDetector.status.statusCode;
11
11
  };
12
12
  if (returnComparator() === "ACTIVE") {
@@ -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.anomalyDetector.status.statusCode;
20
20
  };
21
21
  if (returnComparator() === "CREATING") {
@@ -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.anomalyDetector.status.statusCode;
29
29
  };
30
30
  if (returnComparator() === "UPDATING") {
@@ -3,10 +3,10 @@ import { DescribeAnomalyDetectorCommand, } from "../commands/DescribeAnomalyDete
3
3
  const checkState = async (client, input) => {
4
4
  let reason;
5
5
  try {
6
- const result = await client.send(new DescribeAnomalyDetectorCommand(input));
6
+ let result = await client.send(new DescribeAnomalyDetectorCommand(input));
7
7
  reason = result;
8
8
  try {
9
- let returnComparator = () => {
9
+ const returnComparator = () => {
10
10
  return result.anomalyDetector.status.statusCode;
11
11
  };
12
12
  if (returnComparator() === "DELETING") {
@@ -3,10 +3,10 @@ import { DescribeScraperCommand } from "../commands/DescribeScraperCommand";
3
3
  const checkState = async (client, input) => {
4
4
  let reason;
5
5
  try {
6
- const result = await client.send(new DescribeScraperCommand(input));
6
+ let result = await client.send(new DescribeScraperCommand(input));
7
7
  reason = result;
8
8
  try {
9
- let returnComparator = () => {
9
+ const returnComparator = () => {
10
10
  return result.scraper.status.statusCode;
11
11
  };
12
12
  if (returnComparator() === "ACTIVE") {
@@ -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.scraper.status.statusCode;
20
20
  };
21
21
  if (returnComparator() === "CREATION_FAILED") {
@@ -3,10 +3,10 @@ import { DescribeScraperCommand } from "../commands/DescribeScraperCommand";
3
3
  const checkState = async (client, input) => {
4
4
  let reason;
5
5
  try {
6
- const result = await client.send(new DescribeScraperCommand(input));
6
+ let result = await client.send(new DescribeScraperCommand(input));
7
7
  reason = result;
8
8
  try {
9
- let returnComparator = () => {
9
+ const returnComparator = () => {
10
10
  return result.scraper.status.statusCode;
11
11
  };
12
12
  if (returnComparator() === "DELETION_FAILED") {
@@ -3,10 +3,10 @@ import { DescribeWorkspaceCommand } from "../commands/DescribeWorkspaceCommand";
3
3
  const checkState = async (client, input) => {
4
4
  let reason;
5
5
  try {
6
- const result = await client.send(new DescribeWorkspaceCommand(input));
6
+ let result = await client.send(new DescribeWorkspaceCommand(input));
7
7
  reason = result;
8
8
  try {
9
- let returnComparator = () => {
9
+ const returnComparator = () => {
10
10
  return result.workspace.status.statusCode;
11
11
  };
12
12
  if (returnComparator() === "ACTIVE") {
@@ -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.workspace.status.statusCode;
20
20
  };
21
21
  if (returnComparator() === "UPDATING") {
@@ -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.workspace.status.statusCode;
29
29
  };
30
30
  if (returnComparator() === "CREATING") {
@@ -3,10 +3,10 @@ import { DescribeWorkspaceCommand } from "../commands/DescribeWorkspaceCommand";
3
3
  const checkState = async (client, input) => {
4
4
  let reason;
5
5
  try {
6
- const result = await client.send(new DescribeWorkspaceCommand(input));
6
+ let result = await client.send(new DescribeWorkspaceCommand(input));
7
7
  reason = result;
8
8
  try {
9
- let returnComparator = () => {
9
+ const returnComparator = () => {
10
10
  return result.workspace.status.statusCode;
11
11
  };
12
12
  if (returnComparator() === "DELETING") {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-amp",
3
3
  "description": "AWS SDK for JavaScript Amp Client for Node.js, Browser and React Native",
4
- "version": "3.958.0",
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-amp",
@@ -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.958.0",
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",