@aws-sdk/client-schemas 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
@@ -1360,10 +1360,10 @@ const paginateSearchSchemas = core.createPaginator(SchemasClient, SearchSchemasC
1360
1360
  const checkState = async (client, input) => {
1361
1361
  let reason;
1362
1362
  try {
1363
- const result = await client.send(new DescribeCodeBindingCommand(input));
1363
+ let result = await client.send(new DescribeCodeBindingCommand(input));
1364
1364
  reason = result;
1365
1365
  try {
1366
- let returnComparator = () => {
1366
+ const returnComparator = () => {
1367
1367
  return result.Status;
1368
1368
  };
1369
1369
  if (returnComparator() === "CREATE_COMPLETE") {
@@ -1372,7 +1372,7 @@ const checkState = async (client, input) => {
1372
1372
  }
1373
1373
  catch (e) { }
1374
1374
  try {
1375
- let returnComparator = () => {
1375
+ const returnComparator = () => {
1376
1376
  return result.Status;
1377
1377
  };
1378
1378
  if (returnComparator() === "CREATE_IN_PROGRESS") {
@@ -1381,7 +1381,7 @@ const checkState = async (client, input) => {
1381
1381
  }
1382
1382
  catch (e) { }
1383
1383
  try {
1384
- let returnComparator = () => {
1384
+ const returnComparator = () => {
1385
1385
  return result.Status;
1386
1386
  };
1387
1387
  if (returnComparator() === "CREATE_FAILED") {
@@ -3,10 +3,10 @@ import { DescribeCodeBindingCommand } from "../commands/DescribeCodeBindingComma
3
3
  const checkState = async (client, input) => {
4
4
  let reason;
5
5
  try {
6
- const result = await client.send(new DescribeCodeBindingCommand(input));
6
+ let result = await client.send(new DescribeCodeBindingCommand(input));
7
7
  reason = result;
8
8
  try {
9
- let returnComparator = () => {
9
+ const returnComparator = () => {
10
10
  return result.Status;
11
11
  };
12
12
  if (returnComparator() === "CREATE_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.Status;
20
20
  };
21
21
  if (returnComparator() === "CREATE_IN_PROGRESS") {
@@ -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.Status;
29
29
  };
30
30
  if (returnComparator() === "CREATE_FAILED") {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-schemas",
3
3
  "description": "AWS SDK for JavaScript Schemas 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-schemas",
@@ -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",