@aws-sdk/client-eks 3.598.0 → 3.605.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
@@ -74,6 +74,7 @@ __export(src_exports, {
74
74
  EksAnywhereSubscriptionStatus: () => EksAnywhereSubscriptionStatus,
75
75
  EksAnywhereSubscriptionTermUnit: () => EksAnywhereSubscriptionTermUnit,
76
76
  ErrorCode: () => ErrorCode,
77
+ FargateProfileIssueCode: () => FargateProfileIssueCode,
77
78
  FargateProfileStatus: () => FargateProfileStatus,
78
79
  InsightStatusValue: () => InsightStatusValue,
79
80
  InvalidParameterException: () => InvalidParameterException,
@@ -690,6 +691,12 @@ var EksAnywhereSubscriptionLicenseType = {
690
691
  var EksAnywhereSubscriptionTermUnit = {
691
692
  MONTHS: "MONTHS"
692
693
  };
694
+ var FargateProfileIssueCode = {
695
+ ACCESS_DENIED: "AccessDenied",
696
+ CLUSTER_UNREACHABLE: "ClusterUnreachable",
697
+ INTERNAL_FAILURE: "InternalFailure",
698
+ POD_EXECUTION_ROLE_ALREADY_IN_USE: "PodExecutionRoleAlreadyInUse"
699
+ };
693
700
  var FargateProfileStatus = {
694
701
  ACTIVE: "ACTIVE",
695
702
  CREATE_FAILED: "CREATE_FAILED",
@@ -945,6 +952,7 @@ var se_CreateClusterCommand = /* @__PURE__ */ __name(async (input, context) => {
945
952
  body = JSON.stringify(
946
953
  (0, import_smithy_client.take)(input, {
947
954
  accessConfig: (_) => (0, import_smithy_client._json)(_),
955
+ bootstrapSelfManagedAddons: [],
948
956
  clientRequestToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
949
957
  encryptionConfig: (_) => (0, import_smithy_client._json)(_),
950
958
  kubernetesNetworkConfig: (_) => (0, import_smithy_client._json)(_),
@@ -2858,6 +2866,7 @@ var de_FargateProfile = /* @__PURE__ */ __name((output, context) => {
2858
2866
  createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
2859
2867
  fargateProfileArn: import_smithy_client.expectString,
2860
2868
  fargateProfileName: import_smithy_client.expectString,
2869
+ health: import_smithy_client._json,
2861
2870
  podExecutionRoleArn: import_smithy_client.expectString,
2862
2871
  selectors: import_smithy_client._json,
2863
2872
  status: import_smithy_client.expectString,
@@ -4438,6 +4447,7 @@ var waitUntilNodegroupDeleted = /* @__PURE__ */ __name(async (params, input) =>
4438
4447
  UnsupportedAvailabilityZoneException,
4439
4448
  EksAnywhereSubscriptionLicenseType,
4440
4449
  EksAnywhereSubscriptionTermUnit,
4450
+ FargateProfileIssueCode,
4441
4451
  FargateProfileStatus,
4442
4452
  CapacityTypes,
4443
4453
  TaintEffect,
@@ -315,6 +315,12 @@ export const EksAnywhereSubscriptionLicenseType = {
315
315
  export const EksAnywhereSubscriptionTermUnit = {
316
316
  MONTHS: "MONTHS",
317
317
  };
318
+ export const FargateProfileIssueCode = {
319
+ ACCESS_DENIED: "AccessDenied",
320
+ CLUSTER_UNREACHABLE: "ClusterUnreachable",
321
+ INTERNAL_FAILURE: "InternalFailure",
322
+ POD_EXECUTION_ROLE_ALREADY_IN_USE: "PodExecutionRoleAlreadyInUse",
323
+ };
318
324
  export const FargateProfileStatus = {
319
325
  ACTIVE: "ACTIVE",
320
326
  CREATE_FAILED: "CREATE_FAILED",
@@ -100,6 +100,7 @@ export const se_CreateClusterCommand = async (input, context) => {
100
100
  let body;
101
101
  body = JSON.stringify(take(input, {
102
102
  accessConfig: (_) => _json(_),
103
+ bootstrapSelfManagedAddons: [],
103
104
  clientRequestToken: [true, (_) => _ ?? generateIdempotencyToken()],
104
105
  encryptionConfig: (_) => _json(_),
105
106
  kubernetesNetworkConfig: (_) => _json(_),
@@ -1986,6 +1987,7 @@ const de_FargateProfile = (output, context) => {
1986
1987
  createdAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
1987
1988
  fargateProfileArn: __expectString,
1988
1989
  fargateProfileName: __expectString,
1990
+ health: _json,
1989
1991
  podExecutionRoleArn: __expectString,
1990
1992
  selectors: _json,
1991
1993
  status: __expectString,
@@ -129,6 +129,7 @@ declare const CreateClusterCommand_base: {
129
129
  * bootstrapClusterCreatorAdminPermissions: true || false,
130
130
  * authenticationMode: "API" || "API_AND_CONFIG_MAP" || "CONFIG_MAP",
131
131
  * },
132
+ * bootstrapSelfManagedAddons: true || false,
132
133
  * };
133
134
  * const command = new CreateClusterCommand(input);
134
135
  * const response = await client.send(command);
@@ -104,6 +104,17 @@ declare const CreateFargateProfileCommand_base: {
104
104
  * // tags: { // TagMap
105
105
  * // "<keys>": "STRING_VALUE",
106
106
  * // },
107
+ * // health: { // FargateProfileHealth
108
+ * // issues: [ // FargateProfileIssueList
109
+ * // { // FargateProfileIssue
110
+ * // code: "PodExecutionRoleAlreadyInUse" || "AccessDenied" || "ClusterUnreachable" || "InternalFailure",
111
+ * // message: "STRING_VALUE",
112
+ * // resourceIds: [
113
+ * // "STRING_VALUE",
114
+ * // ],
115
+ * // },
116
+ * // ],
117
+ * // },
107
118
  * // },
108
119
  * // };
109
120
  *
@@ -72,6 +72,17 @@ declare const DeleteFargateProfileCommand_base: {
72
72
  * // tags: { // TagMap
73
73
  * // "<keys>": "STRING_VALUE",
74
74
  * // },
75
+ * // health: { // FargateProfileHealth
76
+ * // issues: [ // FargateProfileIssueList
77
+ * // { // FargateProfileIssue
78
+ * // code: "PodExecutionRoleAlreadyInUse" || "AccessDenied" || "ClusterUnreachable" || "InternalFailure",
79
+ * // message: "STRING_VALUE",
80
+ * // resourceIds: [
81
+ * // "STRING_VALUE",
82
+ * // ],
83
+ * // },
84
+ * // ],
85
+ * // },
75
86
  * // },
76
87
  * // };
77
88
  *
@@ -62,6 +62,17 @@ declare const DescribeFargateProfileCommand_base: {
62
62
  * // tags: { // TagMap
63
63
  * // "<keys>": "STRING_VALUE",
64
64
  * // },
65
+ * // health: { // FargateProfileHealth
66
+ * // issues: [ // FargateProfileIssueList
67
+ * // { // FargateProfileIssue
68
+ * // code: "PodExecutionRoleAlreadyInUse" || "AccessDenied" || "ClusterUnreachable" || "InternalFailure",
69
+ * // message: "STRING_VALUE",
70
+ * // resourceIds: [
71
+ * // "STRING_VALUE",
72
+ * // ],
73
+ * // },
74
+ * // ],
75
+ * // },
65
76
  * // },
66
77
  * // };
67
78
  *
@@ -1752,6 +1752,13 @@ export interface CreateClusterRequest {
1752
1752
  * @public
1753
1753
  */
1754
1754
  accessConfig?: CreateAccessConfigRequest;
1755
+ /**
1756
+ * <p>If you set this value to <code>False</code> when creating a cluster, the default networking add-ons will not be installed.</p>
1757
+ * <p>The default networking addons include vpc-cni, coredns, and kube-proxy.</p>
1758
+ * <p>Use this option when you plan to install third-party alternative add-ons or self-manage the default networking add-ons.</p>
1759
+ * @public
1760
+ */
1761
+ bootstrapSelfManagedAddons?: boolean;
1755
1762
  }
1756
1763
  /**
1757
1764
  * <p>An object representing the <code>certificate-authority-data</code> for your
@@ -2465,6 +2472,53 @@ export interface CreateFargateProfileRequest {
2465
2472
  */
2466
2473
  tags?: Record<string, string>;
2467
2474
  }
2475
+ /**
2476
+ * @public
2477
+ * @enum
2478
+ */
2479
+ export declare const FargateProfileIssueCode: {
2480
+ readonly ACCESS_DENIED: "AccessDenied";
2481
+ readonly CLUSTER_UNREACHABLE: "ClusterUnreachable";
2482
+ readonly INTERNAL_FAILURE: "InternalFailure";
2483
+ readonly POD_EXECUTION_ROLE_ALREADY_IN_USE: "PodExecutionRoleAlreadyInUse";
2484
+ };
2485
+ /**
2486
+ * @public
2487
+ */
2488
+ export type FargateProfileIssueCode = (typeof FargateProfileIssueCode)[keyof typeof FargateProfileIssueCode];
2489
+ /**
2490
+ * <p>An issue that is associated with the Fargate profile.</p>
2491
+ * @public
2492
+ */
2493
+ export interface FargateProfileIssue {
2494
+ /**
2495
+ * <p>A brief description of the error.</p>
2496
+ * @public
2497
+ */
2498
+ code?: FargateProfileIssueCode;
2499
+ /**
2500
+ * <p>The error message associated with the issue.</p>
2501
+ * @public
2502
+ */
2503
+ message?: string;
2504
+ /**
2505
+ * <p>The Amazon Web Services resources that are affected by this issue.</p>
2506
+ * @public
2507
+ */
2508
+ resourceIds?: string[];
2509
+ }
2510
+ /**
2511
+ * <p>The health status of the Fargate profile. If there are issues with
2512
+ * your Fargate profile's health, they are listed here.</p>
2513
+ * @public
2514
+ */
2515
+ export interface FargateProfileHealth {
2516
+ /**
2517
+ * <p>Any issues that are associated with the Fargate profile.</p>
2518
+ * @public
2519
+ */
2520
+ issues?: FargateProfileIssue[];
2521
+ }
2468
2522
  /**
2469
2523
  * @public
2470
2524
  * @enum
@@ -2536,6 +2590,12 @@ export interface FargateProfile {
2536
2590
  * @public
2537
2591
  */
2538
2592
  tags?: Record<string, string>;
2593
+ /**
2594
+ * <p>The health status of the Fargate profile. If there are issues with
2595
+ * your Fargate profile's health, they are listed here.</p>
2596
+ * @public
2597
+ */
2598
+ health?: FargateProfileHealth;
2539
2599
  }
2540
2600
  /**
2541
2601
  * @public
@@ -447,6 +447,7 @@ export interface CreateClusterRequest {
447
447
  encryptionConfig?: EncryptionConfig[];
448
448
  outpostConfig?: OutpostConfigRequest;
449
449
  accessConfig?: CreateAccessConfigRequest;
450
+ bootstrapSelfManagedAddons?: boolean;
450
451
  }
451
452
  export interface Certificate {
452
453
  data?: string;
@@ -625,6 +626,22 @@ export interface CreateFargateProfileRequest {
625
626
  clientRequestToken?: string;
626
627
  tags?: Record<string, string>;
627
628
  }
629
+ export declare const FargateProfileIssueCode: {
630
+ readonly ACCESS_DENIED: "AccessDenied";
631
+ readonly CLUSTER_UNREACHABLE: "ClusterUnreachable";
632
+ readonly INTERNAL_FAILURE: "InternalFailure";
633
+ readonly POD_EXECUTION_ROLE_ALREADY_IN_USE: "PodExecutionRoleAlreadyInUse";
634
+ };
635
+ export type FargateProfileIssueCode =
636
+ (typeof FargateProfileIssueCode)[keyof typeof FargateProfileIssueCode];
637
+ export interface FargateProfileIssue {
638
+ code?: FargateProfileIssueCode;
639
+ message?: string;
640
+ resourceIds?: string[];
641
+ }
642
+ export interface FargateProfileHealth {
643
+ issues?: FargateProfileIssue[];
644
+ }
628
645
  export declare const FargateProfileStatus: {
629
646
  readonly ACTIVE: "ACTIVE";
630
647
  readonly CREATE_FAILED: "CREATE_FAILED";
@@ -644,6 +661,7 @@ export interface FargateProfile {
644
661
  selectors?: FargateProfileSelector[];
645
662
  status?: FargateProfileStatus;
646
663
  tags?: Record<string, string>;
664
+ health?: FargateProfileHealth;
647
665
  }
648
666
  export interface CreateFargateProfileResponse {
649
667
  fargateProfile?: FargateProfile;
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.598.0",
4
+ "version": "3.605.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-eks",
@@ -20,10 +20,10 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/client-sso-oidc": "3.598.0",
24
- "@aws-sdk/client-sts": "3.598.0",
23
+ "@aws-sdk/client-sso-oidc": "3.600.0",
24
+ "@aws-sdk/client-sts": "3.600.0",
25
25
  "@aws-sdk/core": "3.598.0",
26
- "@aws-sdk/credential-provider-node": "3.598.0",
26
+ "@aws-sdk/credential-provider-node": "3.600.0",
27
27
  "@aws-sdk/middleware-host-header": "3.598.0",
28
28
  "@aws-sdk/middleware-logger": "3.598.0",
29
29
  "@aws-sdk/middleware-recursion-detection": "3.598.0",