@aws-sdk/client-eks 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
@@ -3454,10 +3454,10 @@ const paginateListUpdates = core.createPaginator(EKSClient, ListUpdatesCommand,
3454
3454
  const checkState$7 = async (client, input) => {
3455
3455
  let reason;
3456
3456
  try {
3457
- const result = await client.send(new DescribeAddonCommand(input));
3457
+ let result = await client.send(new DescribeAddonCommand(input));
3458
3458
  reason = result;
3459
3459
  try {
3460
- let returnComparator = () => {
3460
+ const returnComparator = () => {
3461
3461
  return result.addon.status;
3462
3462
  };
3463
3463
  if (returnComparator() === "CREATE_FAILED") {
@@ -3466,7 +3466,7 @@ const checkState$7 = async (client, input) => {
3466
3466
  }
3467
3467
  catch (e) { }
3468
3468
  try {
3469
- let returnComparator = () => {
3469
+ const returnComparator = () => {
3470
3470
  return result.addon.status;
3471
3471
  };
3472
3472
  if (returnComparator() === "DEGRADED") {
@@ -3475,7 +3475,7 @@ const checkState$7 = async (client, input) => {
3475
3475
  }
3476
3476
  catch (e) { }
3477
3477
  try {
3478
- let returnComparator = () => {
3478
+ const returnComparator = () => {
3479
3479
  return result.addon.status;
3480
3480
  };
3481
3481
  if (returnComparator() === "ACTIVE") {
@@ -3502,10 +3502,10 @@ const waitUntilAddonActive = async (params, input) => {
3502
3502
  const checkState$6 = async (client, input) => {
3503
3503
  let reason;
3504
3504
  try {
3505
- const result = await client.send(new DescribeAddonCommand(input));
3505
+ let result = await client.send(new DescribeAddonCommand(input));
3506
3506
  reason = result;
3507
3507
  try {
3508
- let returnComparator = () => {
3508
+ const returnComparator = () => {
3509
3509
  return result.addon.status;
3510
3510
  };
3511
3511
  if (returnComparator() === "DELETE_FAILED") {
@@ -3535,10 +3535,10 @@ const waitUntilAddonDeleted = async (params, input) => {
3535
3535
  const checkState$5 = async (client, input) => {
3536
3536
  let reason;
3537
3537
  try {
3538
- const result = await client.send(new DescribeClusterCommand(input));
3538
+ let result = await client.send(new DescribeClusterCommand(input));
3539
3539
  reason = result;
3540
3540
  try {
3541
- let returnComparator = () => {
3541
+ const returnComparator = () => {
3542
3542
  return result.cluster.status;
3543
3543
  };
3544
3544
  if (returnComparator() === "DELETING") {
@@ -3547,7 +3547,7 @@ const checkState$5 = async (client, input) => {
3547
3547
  }
3548
3548
  catch (e) { }
3549
3549
  try {
3550
- let returnComparator = () => {
3550
+ const returnComparator = () => {
3551
3551
  return result.cluster.status;
3552
3552
  };
3553
3553
  if (returnComparator() === "FAILED") {
@@ -3556,7 +3556,7 @@ const checkState$5 = async (client, input) => {
3556
3556
  }
3557
3557
  catch (e) { }
3558
3558
  try {
3559
- let returnComparator = () => {
3559
+ const returnComparator = () => {
3560
3560
  return result.cluster.status;
3561
3561
  };
3562
3562
  if (returnComparator() === "ACTIVE") {
@@ -3583,10 +3583,10 @@ const waitUntilClusterActive = async (params, input) => {
3583
3583
  const checkState$4 = async (client, input) => {
3584
3584
  let reason;
3585
3585
  try {
3586
- const result = await client.send(new DescribeClusterCommand(input));
3586
+ let result = await client.send(new DescribeClusterCommand(input));
3587
3587
  reason = result;
3588
3588
  try {
3589
- let returnComparator = () => {
3589
+ const returnComparator = () => {
3590
3590
  return result.cluster.status;
3591
3591
  };
3592
3592
  if (returnComparator() === "ACTIVE") {
@@ -3595,7 +3595,7 @@ const checkState$4 = async (client, input) => {
3595
3595
  }
3596
3596
  catch (e) { }
3597
3597
  try {
3598
- let returnComparator = () => {
3598
+ const returnComparator = () => {
3599
3599
  return result.cluster.status;
3600
3600
  };
3601
3601
  if (returnComparator() === "CREATING") {
@@ -3604,7 +3604,7 @@ const checkState$4 = async (client, input) => {
3604
3604
  }
3605
3605
  catch (e) { }
3606
3606
  try {
3607
- let returnComparator = () => {
3607
+ const returnComparator = () => {
3608
3608
  return result.cluster.status;
3609
3609
  };
3610
3610
  if (returnComparator() === "PENDING") {
@@ -3634,10 +3634,10 @@ const waitUntilClusterDeleted = async (params, input) => {
3634
3634
  const checkState$3 = async (client, input) => {
3635
3635
  let reason;
3636
3636
  try {
3637
- const result = await client.send(new DescribeFargateProfileCommand(input));
3637
+ let result = await client.send(new DescribeFargateProfileCommand(input));
3638
3638
  reason = result;
3639
3639
  try {
3640
- let returnComparator = () => {
3640
+ const returnComparator = () => {
3641
3641
  return result.fargateProfile.status;
3642
3642
  };
3643
3643
  if (returnComparator() === "CREATE_FAILED") {
@@ -3646,7 +3646,7 @@ const checkState$3 = async (client, input) => {
3646
3646
  }
3647
3647
  catch (e) { }
3648
3648
  try {
3649
- let returnComparator = () => {
3649
+ const returnComparator = () => {
3650
3650
  return result.fargateProfile.status;
3651
3651
  };
3652
3652
  if (returnComparator() === "ACTIVE") {
@@ -3673,10 +3673,10 @@ const waitUntilFargateProfileActive = async (params, input) => {
3673
3673
  const checkState$2 = async (client, input) => {
3674
3674
  let reason;
3675
3675
  try {
3676
- const result = await client.send(new DescribeFargateProfileCommand(input));
3676
+ let result = await client.send(new DescribeFargateProfileCommand(input));
3677
3677
  reason = result;
3678
3678
  try {
3679
- let returnComparator = () => {
3679
+ const returnComparator = () => {
3680
3680
  return result.fargateProfile.status;
3681
3681
  };
3682
3682
  if (returnComparator() === "DELETE_FAILED") {
@@ -3706,10 +3706,10 @@ const waitUntilFargateProfileDeleted = async (params, input) => {
3706
3706
  const checkState$1 = async (client, input) => {
3707
3707
  let reason;
3708
3708
  try {
3709
- const result = await client.send(new DescribeNodegroupCommand(input));
3709
+ let result = await client.send(new DescribeNodegroupCommand(input));
3710
3710
  reason = result;
3711
3711
  try {
3712
- let returnComparator = () => {
3712
+ const returnComparator = () => {
3713
3713
  return result.nodegroup.status;
3714
3714
  };
3715
3715
  if (returnComparator() === "CREATE_FAILED") {
@@ -3718,7 +3718,7 @@ const checkState$1 = async (client, input) => {
3718
3718
  }
3719
3719
  catch (e) { }
3720
3720
  try {
3721
- let returnComparator = () => {
3721
+ const returnComparator = () => {
3722
3722
  return result.nodegroup.status;
3723
3723
  };
3724
3724
  if (returnComparator() === "ACTIVE") {
@@ -3745,10 +3745,10 @@ const waitUntilNodegroupActive = async (params, input) => {
3745
3745
  const checkState = async (client, input) => {
3746
3746
  let reason;
3747
3747
  try {
3748
- const result = await client.send(new DescribeNodegroupCommand(input));
3748
+ let result = await client.send(new DescribeNodegroupCommand(input));
3749
3749
  reason = result;
3750
3750
  try {
3751
- let returnComparator = () => {
3751
+ const returnComparator = () => {
3752
3752
  return result.nodegroup.status;
3753
3753
  };
3754
3754
  if (returnComparator() === "DELETE_FAILED") {
@@ -3,10 +3,10 @@ import { DescribeAddonCommand } from "../commands/DescribeAddonCommand";
3
3
  const checkState = async (client, input) => {
4
4
  let reason;
5
5
  try {
6
- const result = await client.send(new DescribeAddonCommand(input));
6
+ let result = await client.send(new DescribeAddonCommand(input));
7
7
  reason = result;
8
8
  try {
9
- let returnComparator = () => {
9
+ const returnComparator = () => {
10
10
  return result.addon.status;
11
11
  };
12
12
  if (returnComparator() === "CREATE_FAILED") {
@@ -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.addon.status;
20
20
  };
21
21
  if (returnComparator() === "DEGRADED") {
@@ -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.addon.status;
29
29
  };
30
30
  if (returnComparator() === "ACTIVE") {
@@ -3,10 +3,10 @@ import { DescribeAddonCommand } from "../commands/DescribeAddonCommand";
3
3
  const checkState = async (client, input) => {
4
4
  let reason;
5
5
  try {
6
- const result = await client.send(new DescribeAddonCommand(input));
6
+ let result = await client.send(new DescribeAddonCommand(input));
7
7
  reason = result;
8
8
  try {
9
- let returnComparator = () => {
9
+ const returnComparator = () => {
10
10
  return result.addon.status;
11
11
  };
12
12
  if (returnComparator() === "DELETE_FAILED") {
@@ -3,10 +3,10 @@ import { DescribeClusterCommand } from "../commands/DescribeClusterCommand";
3
3
  const checkState = async (client, input) => {
4
4
  let reason;
5
5
  try {
6
- const result = await client.send(new DescribeClusterCommand(input));
6
+ let result = await client.send(new DescribeClusterCommand(input));
7
7
  reason = result;
8
8
  try {
9
- let returnComparator = () => {
9
+ const returnComparator = () => {
10
10
  return result.cluster.status;
11
11
  };
12
12
  if (returnComparator() === "DELETING") {
@@ -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.cluster.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.cluster.status;
29
29
  };
30
30
  if (returnComparator() === "ACTIVE") {
@@ -3,10 +3,10 @@ import { DescribeClusterCommand } from "../commands/DescribeClusterCommand";
3
3
  const checkState = async (client, input) => {
4
4
  let reason;
5
5
  try {
6
- const result = await client.send(new DescribeClusterCommand(input));
6
+ let result = await client.send(new DescribeClusterCommand(input));
7
7
  reason = result;
8
8
  try {
9
- let returnComparator = () => {
9
+ const returnComparator = () => {
10
10
  return result.cluster.status;
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.cluster.status;
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.cluster.status;
29
29
  };
30
30
  if (returnComparator() === "PENDING") {
@@ -3,10 +3,10 @@ import { DescribeFargateProfileCommand, } from "../commands/DescribeFargateProfi
3
3
  const checkState = async (client, input) => {
4
4
  let reason;
5
5
  try {
6
- const result = await client.send(new DescribeFargateProfileCommand(input));
6
+ let result = await client.send(new DescribeFargateProfileCommand(input));
7
7
  reason = result;
8
8
  try {
9
- let returnComparator = () => {
9
+ const returnComparator = () => {
10
10
  return result.fargateProfile.status;
11
11
  };
12
12
  if (returnComparator() === "CREATE_FAILED") {
@@ -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.fargateProfile.status;
20
20
  };
21
21
  if (returnComparator() === "ACTIVE") {
@@ -3,10 +3,10 @@ import { DescribeFargateProfileCommand, } from "../commands/DescribeFargateProfi
3
3
  const checkState = async (client, input) => {
4
4
  let reason;
5
5
  try {
6
- const result = await client.send(new DescribeFargateProfileCommand(input));
6
+ let result = await client.send(new DescribeFargateProfileCommand(input));
7
7
  reason = result;
8
8
  try {
9
- let returnComparator = () => {
9
+ const returnComparator = () => {
10
10
  return result.fargateProfile.status;
11
11
  };
12
12
  if (returnComparator() === "DELETE_FAILED") {
@@ -3,10 +3,10 @@ import { DescribeNodegroupCommand } from "../commands/DescribeNodegroupCommand";
3
3
  const checkState = async (client, input) => {
4
4
  let reason;
5
5
  try {
6
- const result = await client.send(new DescribeNodegroupCommand(input));
6
+ let result = await client.send(new DescribeNodegroupCommand(input));
7
7
  reason = result;
8
8
  try {
9
- let returnComparator = () => {
9
+ const returnComparator = () => {
10
10
  return result.nodegroup.status;
11
11
  };
12
12
  if (returnComparator() === "CREATE_FAILED") {
@@ -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.nodegroup.status;
20
20
  };
21
21
  if (returnComparator() === "ACTIVE") {
@@ -3,10 +3,10 @@ import { DescribeNodegroupCommand } from "../commands/DescribeNodegroupCommand";
3
3
  const checkState = async (client, input) => {
4
4
  let reason;
5
5
  try {
6
- const result = await client.send(new DescribeNodegroupCommand(input));
6
+ let result = await client.send(new DescribeNodegroupCommand(input));
7
7
  reason = result;
8
8
  try {
9
- let returnComparator = () => {
9
+ const returnComparator = () => {
10
10
  return result.nodegroup.status;
11
11
  };
12
12
  if (returnComparator() === "DELETE_FAILED") {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-eks",
3
3
  "description": "AWS SDK for JavaScript Eks 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-eks",
@@ -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",