@aws-sdk/client-codedeploy 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
@@ -4189,10 +4189,10 @@ const paginateListDeployments = core.createPaginator(CodeDeployClient, ListDeplo
4189
4189
  const checkState = async (client, input) => {
4190
4190
  let reason;
4191
4191
  try {
4192
- const result = await client.send(new GetDeploymentCommand(input));
4192
+ let result = await client.send(new GetDeploymentCommand(input));
4193
4193
  reason = result;
4194
4194
  try {
4195
- let returnComparator = () => {
4195
+ const returnComparator = () => {
4196
4196
  return result.deploymentInfo.status;
4197
4197
  };
4198
4198
  if (returnComparator() === "Succeeded") {
@@ -4201,7 +4201,7 @@ const checkState = async (client, input) => {
4201
4201
  }
4202
4202
  catch (e) { }
4203
4203
  try {
4204
- let returnComparator = () => {
4204
+ const returnComparator = () => {
4205
4205
  return result.deploymentInfo.status;
4206
4206
  };
4207
4207
  if (returnComparator() === "Failed") {
@@ -4210,7 +4210,7 @@ const checkState = async (client, input) => {
4210
4210
  }
4211
4211
  catch (e) { }
4212
4212
  try {
4213
- let returnComparator = () => {
4213
+ const returnComparator = () => {
4214
4214
  return result.deploymentInfo.status;
4215
4215
  };
4216
4216
  if (returnComparator() === "Stopped") {
@@ -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.deploymentInfo.status;
11
11
  };
12
12
  if (returnComparator() === "Succeeded") {
@@ -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.deploymentInfo.status;
20
20
  };
21
21
  if (returnComparator() === "Failed") {
@@ -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.deploymentInfo.status;
29
29
  };
30
30
  if (returnComparator() === "Stopped") {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-codedeploy",
3
3
  "description": "AWS SDK for JavaScript Codedeploy 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-codedeploy",
@@ -24,7 +24,7 @@
24
24
  "@aws-crypto/sha256-browser": "5.2.0",
25
25
  "@aws-crypto/sha256-js": "5.2.0",
26
26
  "@aws-sdk/core": "3.957.0",
27
- "@aws-sdk/credential-provider-node": "3.958.0",
27
+ "@aws-sdk/credential-provider-node": "3.962.0",
28
28
  "@aws-sdk/middleware-host-header": "3.957.0",
29
29
  "@aws-sdk/middleware-logger": "3.957.0",
30
30
  "@aws-sdk/middleware-recursion-detection": "3.957.0",