@aws-sdk/client-eks 3.1036.0 → 3.1038.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.
Files changed (27) hide show
  1. package/dist-cjs/index.js +4 -4
  2. package/dist-es/waiters/waitForAddonActive.js +1 -1
  3. package/dist-es/waiters/waitForAddonDeleted.js +2 -2
  4. package/dist-es/waiters/waitForClusterActive.js +1 -1
  5. package/dist-es/waiters/waitForClusterDeleted.js +2 -2
  6. package/dist-es/waiters/waitForFargateProfileDeleted.js +1 -1
  7. package/dist-es/waiters/waitForNodegroupActive.js +1 -1
  8. package/dist-es/waiters/waitForNodegroupDeleted.js +2 -2
  9. package/dist-types/EKS.d.ts +9 -8
  10. package/dist-types/ts3.4/EKS.d.ts +9 -8
  11. package/dist-types/ts3.4/waiters/waitForAddonActive.d.ts +7 -3
  12. package/dist-types/ts3.4/waiters/waitForAddonDeleted.d.ts +8 -3
  13. package/dist-types/ts3.4/waiters/waitForClusterActive.d.ts +7 -3
  14. package/dist-types/ts3.4/waiters/waitForClusterDeleted.d.ts +8 -3
  15. package/dist-types/ts3.4/waiters/waitForFargateProfileActive.d.ts +9 -3
  16. package/dist-types/ts3.4/waiters/waitForFargateProfileDeleted.d.ts +10 -3
  17. package/dist-types/ts3.4/waiters/waitForNodegroupActive.d.ts +9 -3
  18. package/dist-types/ts3.4/waiters/waitForNodegroupDeleted.d.ts +10 -3
  19. package/dist-types/waiters/waitForAddonActive.d.ts +4 -3
  20. package/dist-types/waiters/waitForAddonDeleted.d.ts +5 -3
  21. package/dist-types/waiters/waitForClusterActive.d.ts +4 -3
  22. package/dist-types/waiters/waitForClusterDeleted.d.ts +5 -3
  23. package/dist-types/waiters/waitForFargateProfileActive.d.ts +4 -3
  24. package/dist-types/waiters/waitForFargateProfileDeleted.d.ts +5 -3
  25. package/dist-types/waiters/waitForNodegroupActive.d.ts +4 -3
  26. package/dist-types/waiters/waitForNodegroupDeleted.d.ts +5 -3
  27. package/package.json +8 -8
package/dist-cjs/index.js CHANGED
@@ -977,7 +977,7 @@ const checkState$6 = async (client, input) => {
977
977
  }
978
978
  catch (exception) {
979
979
  reason = exception;
980
- if (exception.name && exception.name == "ResourceNotFoundException") {
980
+ if (exception.name === "ResourceNotFoundException") {
981
981
  return { state: utilWaiter.WaiterState.SUCCESS, reason };
982
982
  }
983
983
  }
@@ -1076,7 +1076,7 @@ const checkState$4 = async (client, input) => {
1076
1076
  }
1077
1077
  catch (exception) {
1078
1078
  reason = exception;
1079
- if (exception.name && exception.name == "ResourceNotFoundException") {
1079
+ if (exception.name === "ResourceNotFoundException") {
1080
1080
  return { state: utilWaiter.WaiterState.SUCCESS, reason };
1081
1081
  }
1082
1082
  }
@@ -1148,7 +1148,7 @@ const checkState$2 = async (client, input) => {
1148
1148
  }
1149
1149
  catch (exception) {
1150
1150
  reason = exception;
1151
- if (exception.name && exception.name == "ResourceNotFoundException") {
1151
+ if (exception.name === "ResourceNotFoundException") {
1152
1152
  return { state: utilWaiter.WaiterState.SUCCESS, reason };
1153
1153
  }
1154
1154
  }
@@ -1220,7 +1220,7 @@ const checkState = async (client, input) => {
1220
1220
  }
1221
1221
  catch (exception) {
1222
1222
  reason = exception;
1223
- if (exception.name && exception.name == "ResourceNotFoundException") {
1223
+ if (exception.name === "ResourceNotFoundException") {
1224
1224
  return { state: utilWaiter.WaiterState.SUCCESS, reason };
1225
1225
  }
1226
1226
  }
@@ -1,5 +1,5 @@
1
1
  import { checkExceptions, createWaiter, WaiterState, } from "@smithy/util-waiter";
2
- import { DescribeAddonCommand } from "../commands/DescribeAddonCommand";
2
+ import { DescribeAddonCommand, } from "../commands/DescribeAddonCommand";
3
3
  const checkState = async (client, input) => {
4
4
  let reason;
5
5
  try {
@@ -1,5 +1,5 @@
1
1
  import { checkExceptions, createWaiter, WaiterState, } from "@smithy/util-waiter";
2
- import { DescribeAddonCommand } from "../commands/DescribeAddonCommand";
2
+ import { DescribeAddonCommand, } from "../commands/DescribeAddonCommand";
3
3
  const checkState = async (client, input) => {
4
4
  let reason;
5
5
  try {
@@ -17,7 +17,7 @@ const checkState = async (client, input) => {
17
17
  }
18
18
  catch (exception) {
19
19
  reason = exception;
20
- if (exception.name && exception.name == "ResourceNotFoundException") {
20
+ if (exception.name === "ResourceNotFoundException") {
21
21
  return { state: WaiterState.SUCCESS, reason };
22
22
  }
23
23
  }
@@ -1,5 +1,5 @@
1
1
  import { checkExceptions, createWaiter, WaiterState, } from "@smithy/util-waiter";
2
- import { DescribeClusterCommand } from "../commands/DescribeClusterCommand";
2
+ import { DescribeClusterCommand, } from "../commands/DescribeClusterCommand";
3
3
  const checkState = async (client, input) => {
4
4
  let reason;
5
5
  try {
@@ -1,5 +1,5 @@
1
1
  import { checkExceptions, createWaiter, WaiterState, } from "@smithy/util-waiter";
2
- import { DescribeClusterCommand } from "../commands/DescribeClusterCommand";
2
+ import { DescribeClusterCommand, } from "../commands/DescribeClusterCommand";
3
3
  const checkState = async (client, input) => {
4
4
  let reason;
5
5
  try {
@@ -35,7 +35,7 @@ const checkState = async (client, input) => {
35
35
  }
36
36
  catch (exception) {
37
37
  reason = exception;
38
- if (exception.name && exception.name == "ResourceNotFoundException") {
38
+ if (exception.name === "ResourceNotFoundException") {
39
39
  return { state: WaiterState.SUCCESS, reason };
40
40
  }
41
41
  }
@@ -17,7 +17,7 @@ const checkState = async (client, input) => {
17
17
  }
18
18
  catch (exception) {
19
19
  reason = exception;
20
- if (exception.name && exception.name == "ResourceNotFoundException") {
20
+ if (exception.name === "ResourceNotFoundException") {
21
21
  return { state: WaiterState.SUCCESS, reason };
22
22
  }
23
23
  }
@@ -1,5 +1,5 @@
1
1
  import { checkExceptions, createWaiter, WaiterState, } from "@smithy/util-waiter";
2
- import { DescribeNodegroupCommand } from "../commands/DescribeNodegroupCommand";
2
+ import { DescribeNodegroupCommand, } from "../commands/DescribeNodegroupCommand";
3
3
  const checkState = async (client, input) => {
4
4
  let reason;
5
5
  try {
@@ -1,5 +1,5 @@
1
1
  import { checkExceptions, createWaiter, WaiterState, } from "@smithy/util-waiter";
2
- import { DescribeNodegroupCommand } from "../commands/DescribeNodegroupCommand";
2
+ import { DescribeNodegroupCommand, } from "../commands/DescribeNodegroupCommand";
3
3
  const checkState = async (client, input) => {
4
4
  let reason;
5
5
  try {
@@ -17,7 +17,7 @@ const checkState = async (client, input) => {
17
17
  }
18
18
  catch (exception) {
19
19
  reason = exception;
20
- if (exception.name && exception.name == "ResourceNotFoundException") {
20
+ if (exception.name === "ResourceNotFoundException") {
21
21
  return { state: WaiterState.SUCCESS, reason };
22
22
  }
23
23
  }
@@ -65,6 +65,7 @@ import { type UpdateNodegroupConfigCommandInput, type UpdateNodegroupConfigComma
65
65
  import { type UpdateNodegroupVersionCommandInput, type UpdateNodegroupVersionCommandOutput } from "./commands/UpdateNodegroupVersionCommand";
66
66
  import { type UpdatePodIdentityAssociationCommandInput, type UpdatePodIdentityAssociationCommandOutput } from "./commands/UpdatePodIdentityAssociationCommand";
67
67
  import { EKSClient } from "./EKSClient";
68
+ import type { ResourceNotFoundException } from "./models/errors";
68
69
  export interface EKS {
69
70
  /**
70
71
  * @see {@link AssociateAccessPolicyCommand}
@@ -565,49 +566,49 @@ export interface EKS {
565
566
  * @param args - command input.
566
567
  * @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
567
568
  */
568
- waitUntilAddonActive(args: DescribeAddonCommandInput, waiterConfig: number | Omit<WaiterConfiguration<EKS>, "client">): Promise<WaiterResult>;
569
+ waitUntilAddonActive(args: DescribeAddonCommandInput, waiterConfig: number | Omit<WaiterConfiguration<EKS>, "client">): Promise<WaiterResult<DescribeAddonCommandOutput>>;
569
570
  /**
570
571
  * @see {@link DescribeAddonCommand}
571
572
  * @param args - command input.
572
573
  * @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
573
574
  */
574
- waitUntilAddonDeleted(args: DescribeAddonCommandInput, waiterConfig: number | Omit<WaiterConfiguration<EKS>, "client">): Promise<WaiterResult>;
575
+ waitUntilAddonDeleted(args: DescribeAddonCommandInput, waiterConfig: number | Omit<WaiterConfiguration<EKS>, "client">): Promise<WaiterResult<ResourceNotFoundException>>;
575
576
  /**
576
577
  * @see {@link DescribeClusterCommand}
577
578
  * @param args - command input.
578
579
  * @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
579
580
  */
580
- waitUntilClusterActive(args: DescribeClusterCommandInput, waiterConfig: number | Omit<WaiterConfiguration<EKS>, "client">): Promise<WaiterResult>;
581
+ waitUntilClusterActive(args: DescribeClusterCommandInput, waiterConfig: number | Omit<WaiterConfiguration<EKS>, "client">): Promise<WaiterResult<DescribeClusterCommandOutput>>;
581
582
  /**
582
583
  * @see {@link DescribeClusterCommand}
583
584
  * @param args - command input.
584
585
  * @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
585
586
  */
586
- waitUntilClusterDeleted(args: DescribeClusterCommandInput, waiterConfig: number | Omit<WaiterConfiguration<EKS>, "client">): Promise<WaiterResult>;
587
+ waitUntilClusterDeleted(args: DescribeClusterCommandInput, waiterConfig: number | Omit<WaiterConfiguration<EKS>, "client">): Promise<WaiterResult<ResourceNotFoundException>>;
587
588
  /**
588
589
  * @see {@link DescribeFargateProfileCommand}
589
590
  * @param args - command input.
590
591
  * @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
591
592
  */
592
- waitUntilFargateProfileActive(args: DescribeFargateProfileCommandInput, waiterConfig: number | Omit<WaiterConfiguration<EKS>, "client">): Promise<WaiterResult>;
593
+ waitUntilFargateProfileActive(args: DescribeFargateProfileCommandInput, waiterConfig: number | Omit<WaiterConfiguration<EKS>, "client">): Promise<WaiterResult<DescribeFargateProfileCommandOutput>>;
593
594
  /**
594
595
  * @see {@link DescribeFargateProfileCommand}
595
596
  * @param args - command input.
596
597
  * @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
597
598
  */
598
- waitUntilFargateProfileDeleted(args: DescribeFargateProfileCommandInput, waiterConfig: number | Omit<WaiterConfiguration<EKS>, "client">): Promise<WaiterResult>;
599
+ waitUntilFargateProfileDeleted(args: DescribeFargateProfileCommandInput, waiterConfig: number | Omit<WaiterConfiguration<EKS>, "client">): Promise<WaiterResult<ResourceNotFoundException>>;
599
600
  /**
600
601
  * @see {@link DescribeNodegroupCommand}
601
602
  * @param args - command input.
602
603
  * @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
603
604
  */
604
- waitUntilNodegroupActive(args: DescribeNodegroupCommandInput, waiterConfig: number | Omit<WaiterConfiguration<EKS>, "client">): Promise<WaiterResult>;
605
+ waitUntilNodegroupActive(args: DescribeNodegroupCommandInput, waiterConfig: number | Omit<WaiterConfiguration<EKS>, "client">): Promise<WaiterResult<DescribeNodegroupCommandOutput>>;
605
606
  /**
606
607
  * @see {@link DescribeNodegroupCommand}
607
608
  * @param args - command input.
608
609
  * @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
609
610
  */
610
- waitUntilNodegroupDeleted(args: DescribeNodegroupCommandInput, waiterConfig: number | Omit<WaiterConfiguration<EKS>, "client">): Promise<WaiterResult>;
611
+ waitUntilNodegroupDeleted(args: DescribeNodegroupCommandInput, waiterConfig: number | Omit<WaiterConfiguration<EKS>, "client">): Promise<WaiterResult<ResourceNotFoundException>>;
611
612
  }
612
613
  /**
613
614
  * <p>Amazon Elastic Kubernetes Service (Amazon EKS) is a managed service that makes it easy for you to run Kubernetes on
@@ -262,6 +262,7 @@ import {
262
262
  UpdatePodIdentityAssociationCommandOutput,
263
263
  } from "./commands/UpdatePodIdentityAssociationCommand";
264
264
  import { EKSClient } from "./EKSClient";
265
+ import { ResourceNotFoundException } from "./models/errors";
265
266
  export interface EKS {
266
267
  associateAccessPolicy(
267
268
  args: AssociateAccessPolicyCommandInput,
@@ -1219,7 +1220,7 @@ export interface EKS {
1219
1220
  WaiterConfiguration<EKS>,
1220
1221
  Exclude<keyof WaiterConfiguration<EKS>, "client">
1221
1222
  >
1222
- ): Promise<WaiterResult>;
1223
+ ): Promise<WaiterResult<DescribeAddonCommandOutput>>;
1223
1224
  waitUntilAddonDeleted(
1224
1225
  args: DescribeAddonCommandInput,
1225
1226
  waiterConfig:
@@ -1228,7 +1229,7 @@ export interface EKS {
1228
1229
  WaiterConfiguration<EKS>,
1229
1230
  Exclude<keyof WaiterConfiguration<EKS>, "client">
1230
1231
  >
1231
- ): Promise<WaiterResult>;
1232
+ ): Promise<WaiterResult<ResourceNotFoundException>>;
1232
1233
  waitUntilClusterActive(
1233
1234
  args: DescribeClusterCommandInput,
1234
1235
  waiterConfig:
@@ -1237,7 +1238,7 @@ export interface EKS {
1237
1238
  WaiterConfiguration<EKS>,
1238
1239
  Exclude<keyof WaiterConfiguration<EKS>, "client">
1239
1240
  >
1240
- ): Promise<WaiterResult>;
1241
+ ): Promise<WaiterResult<DescribeClusterCommandOutput>>;
1241
1242
  waitUntilClusterDeleted(
1242
1243
  args: DescribeClusterCommandInput,
1243
1244
  waiterConfig:
@@ -1246,7 +1247,7 @@ export interface EKS {
1246
1247
  WaiterConfiguration<EKS>,
1247
1248
  Exclude<keyof WaiterConfiguration<EKS>, "client">
1248
1249
  >
1249
- ): Promise<WaiterResult>;
1250
+ ): Promise<WaiterResult<ResourceNotFoundException>>;
1250
1251
  waitUntilFargateProfileActive(
1251
1252
  args: DescribeFargateProfileCommandInput,
1252
1253
  waiterConfig:
@@ -1255,7 +1256,7 @@ export interface EKS {
1255
1256
  WaiterConfiguration<EKS>,
1256
1257
  Exclude<keyof WaiterConfiguration<EKS>, "client">
1257
1258
  >
1258
- ): Promise<WaiterResult>;
1259
+ ): Promise<WaiterResult<DescribeFargateProfileCommandOutput>>;
1259
1260
  waitUntilFargateProfileDeleted(
1260
1261
  args: DescribeFargateProfileCommandInput,
1261
1262
  waiterConfig:
@@ -1264,7 +1265,7 @@ export interface EKS {
1264
1265
  WaiterConfiguration<EKS>,
1265
1266
  Exclude<keyof WaiterConfiguration<EKS>, "client">
1266
1267
  >
1267
- ): Promise<WaiterResult>;
1268
+ ): Promise<WaiterResult<ResourceNotFoundException>>;
1268
1269
  waitUntilNodegroupActive(
1269
1270
  args: DescribeNodegroupCommandInput,
1270
1271
  waiterConfig:
@@ -1273,7 +1274,7 @@ export interface EKS {
1273
1274
  WaiterConfiguration<EKS>,
1274
1275
  Exclude<keyof WaiterConfiguration<EKS>, "client">
1275
1276
  >
1276
- ): Promise<WaiterResult>;
1277
+ ): Promise<WaiterResult<DescribeNodegroupCommandOutput>>;
1277
1278
  waitUntilNodegroupDeleted(
1278
1279
  args: DescribeNodegroupCommandInput,
1279
1280
  waiterConfig:
@@ -1282,6 +1283,6 @@ export interface EKS {
1282
1283
  WaiterConfiguration<EKS>,
1283
1284
  Exclude<keyof WaiterConfiguration<EKS>, "client">
1284
1285
  >
1285
- ): Promise<WaiterResult>;
1286
+ ): Promise<WaiterResult<ResourceNotFoundException>>;
1286
1287
  }
1287
1288
  export declare class EKS extends EKSClient implements EKS {}
@@ -1,11 +1,15 @@
1
1
  import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
2
- import { DescribeAddonCommandInput } from "../commands/DescribeAddonCommand";
2
+ import {
3
+ DescribeAddonCommandInput,
4
+ DescribeAddonCommandOutput,
5
+ } from "../commands/DescribeAddonCommand";
3
6
  import { EKSClient } from "../EKSClient";
7
+ import { EKSServiceException } from "../models/EKSServiceException";
4
8
  export declare const waitForAddonActive: (
5
9
  params: WaiterConfiguration<EKSClient>,
6
10
  input: DescribeAddonCommandInput
7
- ) => Promise<WaiterResult>;
11
+ ) => Promise<WaiterResult<DescribeAddonCommandOutput | EKSServiceException>>;
8
12
  export declare const waitUntilAddonActive: (
9
13
  params: WaiterConfiguration<EKSClient>,
10
14
  input: DescribeAddonCommandInput
11
- ) => Promise<WaiterResult>;
15
+ ) => Promise<WaiterResult<DescribeAddonCommandOutput>>;
@@ -1,11 +1,16 @@
1
1
  import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
2
- import { DescribeAddonCommandInput } from "../commands/DescribeAddonCommand";
2
+ import {
3
+ DescribeAddonCommandInput,
4
+ DescribeAddonCommandOutput,
5
+ } from "../commands/DescribeAddonCommand";
3
6
  import { EKSClient } from "../EKSClient";
7
+ import { EKSServiceException } from "../models/EKSServiceException";
8
+ import { ResourceNotFoundException } from "../models/errors";
4
9
  export declare const waitForAddonDeleted: (
5
10
  params: WaiterConfiguration<EKSClient>,
6
11
  input: DescribeAddonCommandInput
7
- ) => Promise<WaiterResult>;
12
+ ) => Promise<WaiterResult<DescribeAddonCommandOutput | EKSServiceException>>;
8
13
  export declare const waitUntilAddonDeleted: (
9
14
  params: WaiterConfiguration<EKSClient>,
10
15
  input: DescribeAddonCommandInput
11
- ) => Promise<WaiterResult>;
16
+ ) => Promise<WaiterResult<ResourceNotFoundException>>;
@@ -1,11 +1,15 @@
1
1
  import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
2
- import { DescribeClusterCommandInput } from "../commands/DescribeClusterCommand";
2
+ import {
3
+ DescribeClusterCommandInput,
4
+ DescribeClusterCommandOutput,
5
+ } from "../commands/DescribeClusterCommand";
3
6
  import { EKSClient } from "../EKSClient";
7
+ import { EKSServiceException } from "../models/EKSServiceException";
4
8
  export declare const waitForClusterActive: (
5
9
  params: WaiterConfiguration<EKSClient>,
6
10
  input: DescribeClusterCommandInput
7
- ) => Promise<WaiterResult>;
11
+ ) => Promise<WaiterResult<DescribeClusterCommandOutput | EKSServiceException>>;
8
12
  export declare const waitUntilClusterActive: (
9
13
  params: WaiterConfiguration<EKSClient>,
10
14
  input: DescribeClusterCommandInput
11
- ) => Promise<WaiterResult>;
15
+ ) => Promise<WaiterResult<DescribeClusterCommandOutput>>;
@@ -1,11 +1,16 @@
1
1
  import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
2
- import { DescribeClusterCommandInput } from "../commands/DescribeClusterCommand";
2
+ import {
3
+ DescribeClusterCommandInput,
4
+ DescribeClusterCommandOutput,
5
+ } from "../commands/DescribeClusterCommand";
3
6
  import { EKSClient } from "../EKSClient";
7
+ import { EKSServiceException } from "../models/EKSServiceException";
8
+ import { ResourceNotFoundException } from "../models/errors";
4
9
  export declare const waitForClusterDeleted: (
5
10
  params: WaiterConfiguration<EKSClient>,
6
11
  input: DescribeClusterCommandInput
7
- ) => Promise<WaiterResult>;
12
+ ) => Promise<WaiterResult<DescribeClusterCommandOutput | EKSServiceException>>;
8
13
  export declare const waitUntilClusterDeleted: (
9
14
  params: WaiterConfiguration<EKSClient>,
10
15
  input: DescribeClusterCommandInput
11
- ) => Promise<WaiterResult>;
16
+ ) => Promise<WaiterResult<ResourceNotFoundException>>;
@@ -1,11 +1,17 @@
1
1
  import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
2
- import { DescribeFargateProfileCommandInput } from "../commands/DescribeFargateProfileCommand";
2
+ import {
3
+ DescribeFargateProfileCommandInput,
4
+ DescribeFargateProfileCommandOutput,
5
+ } from "../commands/DescribeFargateProfileCommand";
3
6
  import { EKSClient } from "../EKSClient";
7
+ import { EKSServiceException } from "../models/EKSServiceException";
4
8
  export declare const waitForFargateProfileActive: (
5
9
  params: WaiterConfiguration<EKSClient>,
6
10
  input: DescribeFargateProfileCommandInput
7
- ) => Promise<WaiterResult>;
11
+ ) => Promise<
12
+ WaiterResult<DescribeFargateProfileCommandOutput | EKSServiceException>
13
+ >;
8
14
  export declare const waitUntilFargateProfileActive: (
9
15
  params: WaiterConfiguration<EKSClient>,
10
16
  input: DescribeFargateProfileCommandInput
11
- ) => Promise<WaiterResult>;
17
+ ) => Promise<WaiterResult<DescribeFargateProfileCommandOutput>>;
@@ -1,11 +1,18 @@
1
1
  import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
2
- import { DescribeFargateProfileCommandInput } from "../commands/DescribeFargateProfileCommand";
2
+ import {
3
+ DescribeFargateProfileCommandInput,
4
+ DescribeFargateProfileCommandOutput,
5
+ } from "../commands/DescribeFargateProfileCommand";
3
6
  import { EKSClient } from "../EKSClient";
7
+ import { EKSServiceException } from "../models/EKSServiceException";
8
+ import { ResourceNotFoundException } from "../models/errors";
4
9
  export declare const waitForFargateProfileDeleted: (
5
10
  params: WaiterConfiguration<EKSClient>,
6
11
  input: DescribeFargateProfileCommandInput
7
- ) => Promise<WaiterResult>;
12
+ ) => Promise<
13
+ WaiterResult<DescribeFargateProfileCommandOutput | EKSServiceException>
14
+ >;
8
15
  export declare const waitUntilFargateProfileDeleted: (
9
16
  params: WaiterConfiguration<EKSClient>,
10
17
  input: DescribeFargateProfileCommandInput
11
- ) => Promise<WaiterResult>;
18
+ ) => Promise<WaiterResult<ResourceNotFoundException>>;
@@ -1,11 +1,17 @@
1
1
  import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
2
- import { DescribeNodegroupCommandInput } from "../commands/DescribeNodegroupCommand";
2
+ import {
3
+ DescribeNodegroupCommandInput,
4
+ DescribeNodegroupCommandOutput,
5
+ } from "../commands/DescribeNodegroupCommand";
3
6
  import { EKSClient } from "../EKSClient";
7
+ import { EKSServiceException } from "../models/EKSServiceException";
4
8
  export declare const waitForNodegroupActive: (
5
9
  params: WaiterConfiguration<EKSClient>,
6
10
  input: DescribeNodegroupCommandInput
7
- ) => Promise<WaiterResult>;
11
+ ) => Promise<
12
+ WaiterResult<DescribeNodegroupCommandOutput | EKSServiceException>
13
+ >;
8
14
  export declare const waitUntilNodegroupActive: (
9
15
  params: WaiterConfiguration<EKSClient>,
10
16
  input: DescribeNodegroupCommandInput
11
- ) => Promise<WaiterResult>;
17
+ ) => Promise<WaiterResult<DescribeNodegroupCommandOutput>>;
@@ -1,11 +1,18 @@
1
1
  import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
2
- import { DescribeNodegroupCommandInput } from "../commands/DescribeNodegroupCommand";
2
+ import {
3
+ DescribeNodegroupCommandInput,
4
+ DescribeNodegroupCommandOutput,
5
+ } from "../commands/DescribeNodegroupCommand";
3
6
  import { EKSClient } from "../EKSClient";
7
+ import { EKSServiceException } from "../models/EKSServiceException";
8
+ import { ResourceNotFoundException } from "../models/errors";
4
9
  export declare const waitForNodegroupDeleted: (
5
10
  params: WaiterConfiguration<EKSClient>,
6
11
  input: DescribeNodegroupCommandInput
7
- ) => Promise<WaiterResult>;
12
+ ) => Promise<
13
+ WaiterResult<DescribeNodegroupCommandOutput | EKSServiceException>
14
+ >;
8
15
  export declare const waitUntilNodegroupDeleted: (
9
16
  params: WaiterConfiguration<EKSClient>,
10
17
  input: DescribeNodegroupCommandInput
11
- ) => Promise<WaiterResult>;
18
+ ) => Promise<WaiterResult<ResourceNotFoundException>>;
@@ -1,14 +1,15 @@
1
1
  import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
2
- import { type DescribeAddonCommandInput } from "../commands/DescribeAddonCommand";
2
+ import { type DescribeAddonCommandInput, type DescribeAddonCommandOutput } from "../commands/DescribeAddonCommand";
3
3
  import type { EKSClient } from "../EKSClient";
4
+ import type { EKSServiceException } from "../models/EKSServiceException";
4
5
  /**
5
6
  *
6
7
  * @deprecated Use waitUntilAddonActive instead. waitForAddonActive does not throw error in non-success cases.
7
8
  */
8
- export declare const waitForAddonActive: (params: WaiterConfiguration<EKSClient>, input: DescribeAddonCommandInput) => Promise<WaiterResult>;
9
+ export declare const waitForAddonActive: (params: WaiterConfiguration<EKSClient>, input: DescribeAddonCommandInput) => Promise<WaiterResult<DescribeAddonCommandOutput | EKSServiceException>>;
9
10
  /**
10
11
  *
11
12
  * @param params - Waiter configuration options.
12
13
  * @param input - The input to DescribeAddonCommand for polling.
13
14
  */
14
- export declare const waitUntilAddonActive: (params: WaiterConfiguration<EKSClient>, input: DescribeAddonCommandInput) => Promise<WaiterResult>;
15
+ export declare const waitUntilAddonActive: (params: WaiterConfiguration<EKSClient>, input: DescribeAddonCommandInput) => Promise<WaiterResult<DescribeAddonCommandOutput>>;
@@ -1,14 +1,16 @@
1
1
  import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
2
- import { type DescribeAddonCommandInput } from "../commands/DescribeAddonCommand";
2
+ import { type DescribeAddonCommandInput, type DescribeAddonCommandOutput } from "../commands/DescribeAddonCommand";
3
3
  import type { EKSClient } from "../EKSClient";
4
+ import type { EKSServiceException } from "../models/EKSServiceException";
5
+ import type { ResourceNotFoundException } from "../models/errors";
4
6
  /**
5
7
  *
6
8
  * @deprecated Use waitUntilAddonDeleted instead. waitForAddonDeleted does not throw error in non-success cases.
7
9
  */
8
- export declare const waitForAddonDeleted: (params: WaiterConfiguration<EKSClient>, input: DescribeAddonCommandInput) => Promise<WaiterResult>;
10
+ export declare const waitForAddonDeleted: (params: WaiterConfiguration<EKSClient>, input: DescribeAddonCommandInput) => Promise<WaiterResult<DescribeAddonCommandOutput | EKSServiceException>>;
9
11
  /**
10
12
  *
11
13
  * @param params - Waiter configuration options.
12
14
  * @param input - The input to DescribeAddonCommand for polling.
13
15
  */
14
- export declare const waitUntilAddonDeleted: (params: WaiterConfiguration<EKSClient>, input: DescribeAddonCommandInput) => Promise<WaiterResult>;
16
+ export declare const waitUntilAddonDeleted: (params: WaiterConfiguration<EKSClient>, input: DescribeAddonCommandInput) => Promise<WaiterResult<ResourceNotFoundException>>;
@@ -1,14 +1,15 @@
1
1
  import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
2
- import { type DescribeClusterCommandInput } from "../commands/DescribeClusterCommand";
2
+ import { type DescribeClusterCommandInput, type DescribeClusterCommandOutput } from "../commands/DescribeClusterCommand";
3
3
  import type { EKSClient } from "../EKSClient";
4
+ import type { EKSServiceException } from "../models/EKSServiceException";
4
5
  /**
5
6
  *
6
7
  * @deprecated Use waitUntilClusterActive instead. waitForClusterActive does not throw error in non-success cases.
7
8
  */
8
- export declare const waitForClusterActive: (params: WaiterConfiguration<EKSClient>, input: DescribeClusterCommandInput) => Promise<WaiterResult>;
9
+ export declare const waitForClusterActive: (params: WaiterConfiguration<EKSClient>, input: DescribeClusterCommandInput) => Promise<WaiterResult<DescribeClusterCommandOutput | EKSServiceException>>;
9
10
  /**
10
11
  *
11
12
  * @param params - Waiter configuration options.
12
13
  * @param input - The input to DescribeClusterCommand for polling.
13
14
  */
14
- export declare const waitUntilClusterActive: (params: WaiterConfiguration<EKSClient>, input: DescribeClusterCommandInput) => Promise<WaiterResult>;
15
+ export declare const waitUntilClusterActive: (params: WaiterConfiguration<EKSClient>, input: DescribeClusterCommandInput) => Promise<WaiterResult<DescribeClusterCommandOutput>>;
@@ -1,14 +1,16 @@
1
1
  import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
2
- import { type DescribeClusterCommandInput } from "../commands/DescribeClusterCommand";
2
+ import { type DescribeClusterCommandInput, type DescribeClusterCommandOutput } from "../commands/DescribeClusterCommand";
3
3
  import type { EKSClient } from "../EKSClient";
4
+ import type { EKSServiceException } from "../models/EKSServiceException";
5
+ import type { ResourceNotFoundException } from "../models/errors";
4
6
  /**
5
7
  *
6
8
  * @deprecated Use waitUntilClusterDeleted instead. waitForClusterDeleted does not throw error in non-success cases.
7
9
  */
8
- export declare const waitForClusterDeleted: (params: WaiterConfiguration<EKSClient>, input: DescribeClusterCommandInput) => Promise<WaiterResult>;
10
+ export declare const waitForClusterDeleted: (params: WaiterConfiguration<EKSClient>, input: DescribeClusterCommandInput) => Promise<WaiterResult<DescribeClusterCommandOutput | EKSServiceException>>;
9
11
  /**
10
12
  *
11
13
  * @param params - Waiter configuration options.
12
14
  * @param input - The input to DescribeClusterCommand for polling.
13
15
  */
14
- export declare const waitUntilClusterDeleted: (params: WaiterConfiguration<EKSClient>, input: DescribeClusterCommandInput) => Promise<WaiterResult>;
16
+ export declare const waitUntilClusterDeleted: (params: WaiterConfiguration<EKSClient>, input: DescribeClusterCommandInput) => Promise<WaiterResult<ResourceNotFoundException>>;
@@ -1,14 +1,15 @@
1
1
  import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
2
- import { type DescribeFargateProfileCommandInput } from "../commands/DescribeFargateProfileCommand";
2
+ import { type DescribeFargateProfileCommandInput, type DescribeFargateProfileCommandOutput } from "../commands/DescribeFargateProfileCommand";
3
3
  import type { EKSClient } from "../EKSClient";
4
+ import type { EKSServiceException } from "../models/EKSServiceException";
4
5
  /**
5
6
  *
6
7
  * @deprecated Use waitUntilFargateProfileActive instead. waitForFargateProfileActive does not throw error in non-success cases.
7
8
  */
8
- export declare const waitForFargateProfileActive: (params: WaiterConfiguration<EKSClient>, input: DescribeFargateProfileCommandInput) => Promise<WaiterResult>;
9
+ export declare const waitForFargateProfileActive: (params: WaiterConfiguration<EKSClient>, input: DescribeFargateProfileCommandInput) => Promise<WaiterResult<DescribeFargateProfileCommandOutput | EKSServiceException>>;
9
10
  /**
10
11
  *
11
12
  * @param params - Waiter configuration options.
12
13
  * @param input - The input to DescribeFargateProfileCommand for polling.
13
14
  */
14
- export declare const waitUntilFargateProfileActive: (params: WaiterConfiguration<EKSClient>, input: DescribeFargateProfileCommandInput) => Promise<WaiterResult>;
15
+ export declare const waitUntilFargateProfileActive: (params: WaiterConfiguration<EKSClient>, input: DescribeFargateProfileCommandInput) => Promise<WaiterResult<DescribeFargateProfileCommandOutput>>;
@@ -1,14 +1,16 @@
1
1
  import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
2
- import { type DescribeFargateProfileCommandInput } from "../commands/DescribeFargateProfileCommand";
2
+ import { type DescribeFargateProfileCommandInput, type DescribeFargateProfileCommandOutput } from "../commands/DescribeFargateProfileCommand";
3
3
  import type { EKSClient } from "../EKSClient";
4
+ import type { EKSServiceException } from "../models/EKSServiceException";
5
+ import type { ResourceNotFoundException } from "../models/errors";
4
6
  /**
5
7
  *
6
8
  * @deprecated Use waitUntilFargateProfileDeleted instead. waitForFargateProfileDeleted does not throw error in non-success cases.
7
9
  */
8
- export declare const waitForFargateProfileDeleted: (params: WaiterConfiguration<EKSClient>, input: DescribeFargateProfileCommandInput) => Promise<WaiterResult>;
10
+ export declare const waitForFargateProfileDeleted: (params: WaiterConfiguration<EKSClient>, input: DescribeFargateProfileCommandInput) => Promise<WaiterResult<DescribeFargateProfileCommandOutput | EKSServiceException>>;
9
11
  /**
10
12
  *
11
13
  * @param params - Waiter configuration options.
12
14
  * @param input - The input to DescribeFargateProfileCommand for polling.
13
15
  */
14
- export declare const waitUntilFargateProfileDeleted: (params: WaiterConfiguration<EKSClient>, input: DescribeFargateProfileCommandInput) => Promise<WaiterResult>;
16
+ export declare const waitUntilFargateProfileDeleted: (params: WaiterConfiguration<EKSClient>, input: DescribeFargateProfileCommandInput) => Promise<WaiterResult<ResourceNotFoundException>>;
@@ -1,14 +1,15 @@
1
1
  import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
2
- import { type DescribeNodegroupCommandInput } from "../commands/DescribeNodegroupCommand";
2
+ import { type DescribeNodegroupCommandInput, type DescribeNodegroupCommandOutput } from "../commands/DescribeNodegroupCommand";
3
3
  import type { EKSClient } from "../EKSClient";
4
+ import type { EKSServiceException } from "../models/EKSServiceException";
4
5
  /**
5
6
  *
6
7
  * @deprecated Use waitUntilNodegroupActive instead. waitForNodegroupActive does not throw error in non-success cases.
7
8
  */
8
- export declare const waitForNodegroupActive: (params: WaiterConfiguration<EKSClient>, input: DescribeNodegroupCommandInput) => Promise<WaiterResult>;
9
+ export declare const waitForNodegroupActive: (params: WaiterConfiguration<EKSClient>, input: DescribeNodegroupCommandInput) => Promise<WaiterResult<DescribeNodegroupCommandOutput | EKSServiceException>>;
9
10
  /**
10
11
  *
11
12
  * @param params - Waiter configuration options.
12
13
  * @param input - The input to DescribeNodegroupCommand for polling.
13
14
  */
14
- export declare const waitUntilNodegroupActive: (params: WaiterConfiguration<EKSClient>, input: DescribeNodegroupCommandInput) => Promise<WaiterResult>;
15
+ export declare const waitUntilNodegroupActive: (params: WaiterConfiguration<EKSClient>, input: DescribeNodegroupCommandInput) => Promise<WaiterResult<DescribeNodegroupCommandOutput>>;
@@ -1,14 +1,16 @@
1
1
  import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
2
- import { type DescribeNodegroupCommandInput } from "../commands/DescribeNodegroupCommand";
2
+ import { type DescribeNodegroupCommandInput, type DescribeNodegroupCommandOutput } from "../commands/DescribeNodegroupCommand";
3
3
  import type { EKSClient } from "../EKSClient";
4
+ import type { EKSServiceException } from "../models/EKSServiceException";
5
+ import type { ResourceNotFoundException } from "../models/errors";
4
6
  /**
5
7
  *
6
8
  * @deprecated Use waitUntilNodegroupDeleted instead. waitForNodegroupDeleted does not throw error in non-success cases.
7
9
  */
8
- export declare const waitForNodegroupDeleted: (params: WaiterConfiguration<EKSClient>, input: DescribeNodegroupCommandInput) => Promise<WaiterResult>;
10
+ export declare const waitForNodegroupDeleted: (params: WaiterConfiguration<EKSClient>, input: DescribeNodegroupCommandInput) => Promise<WaiterResult<DescribeNodegroupCommandOutput | EKSServiceException>>;
9
11
  /**
10
12
  *
11
13
  * @param params - Waiter configuration options.
12
14
  * @param input - The input to DescribeNodegroupCommand for polling.
13
15
  */
14
- export declare const waitUntilNodegroupDeleted: (params: WaiterConfiguration<EKSClient>, input: DescribeNodegroupCommandInput) => Promise<WaiterResult>;
16
+ export declare const waitUntilNodegroupDeleted: (params: WaiterConfiguration<EKSClient>, input: DescribeNodegroupCommandInput) => Promise<WaiterResult<ResourceNotFoundException>>;
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.1036.0",
4
+ "version": "3.1038.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.974.5",
25
- "@aws-sdk/credential-provider-node": "^3.972.36",
24
+ "@aws-sdk/core": "^3.974.6",
25
+ "@aws-sdk/credential-provider-node": "^3.972.37",
26
26
  "@aws-sdk/middleware-host-header": "^3.972.10",
27
27
  "@aws-sdk/middleware-logger": "^3.972.10",
28
28
  "@aws-sdk/middleware-recursion-detection": "^3.972.11",
29
- "@aws-sdk/middleware-user-agent": "^3.972.35",
29
+ "@aws-sdk/middleware-user-agent": "^3.972.36",
30
30
  "@aws-sdk/region-config-resolver": "^3.972.13",
31
31
  "@aws-sdk/types": "^3.973.8",
32
32
  "@aws-sdk/util-endpoints": "^3.996.8",
33
33
  "@aws-sdk/util-user-agent-browser": "^3.972.10",
34
- "@aws-sdk/util-user-agent-node": "^3.973.21",
34
+ "@aws-sdk/util-user-agent-node": "^3.973.22",
35
35
  "@smithy/config-resolver": "^4.4.17",
36
36
  "@smithy/core": "^3.23.17",
37
37
  "@smithy/fetch-http-handler": "^5.3.17",
@@ -39,7 +39,7 @@
39
39
  "@smithy/invalid-dependency": "^4.2.14",
40
40
  "@smithy/middleware-content-length": "^4.2.14",
41
41
  "@smithy/middleware-endpoint": "^4.4.32",
42
- "@smithy/middleware-retry": "^4.5.5",
42
+ "@smithy/middleware-retry": "^4.5.6",
43
43
  "@smithy/middleware-serde": "^4.2.20",
44
44
  "@smithy/middleware-stack": "^4.2.14",
45
45
  "@smithy/node-config-provider": "^4.3.14",
@@ -55,9 +55,9 @@
55
55
  "@smithy/util-defaults-mode-node": "^4.2.54",
56
56
  "@smithy/util-endpoints": "^3.4.2",
57
57
  "@smithy/util-middleware": "^4.2.14",
58
- "@smithy/util-retry": "^4.3.4",
58
+ "@smithy/util-retry": "^4.3.5",
59
59
  "@smithy/util-utf8": "^4.2.2",
60
- "@smithy/util-waiter": "^4.2.16",
60
+ "@smithy/util-waiter": "^4.3.0",
61
61
  "tslib": "^2.6.2"
62
62
  },
63
63
  "devDependencies": {