@aws-sdk/client-eks 3.598.0 → 3.600.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 +9 -0
- package/dist-es/models/models_0.js +6 -0
- package/dist-es/protocols/Aws_restJson1.js +1 -0
- package/dist-types/commands/CreateFargateProfileCommand.d.ts +11 -0
- package/dist-types/commands/DeleteFargateProfileCommand.d.ts +11 -0
- package/dist-types/commands/DescribeFargateProfileCommand.d.ts +11 -0
- package/dist-types/models/models_0.d.ts +53 -0
- package/dist-types/ts3.4/models/models_0.d.ts +17 -0
- package/package.json +4 -4
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",
|
|
@@ -2858,6 +2865,7 @@ var de_FargateProfile = /* @__PURE__ */ __name((output, context) => {
|
|
|
2858
2865
|
createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
2859
2866
|
fargateProfileArn: import_smithy_client.expectString,
|
|
2860
2867
|
fargateProfileName: import_smithy_client.expectString,
|
|
2868
|
+
health: import_smithy_client._json,
|
|
2861
2869
|
podExecutionRoleArn: import_smithy_client.expectString,
|
|
2862
2870
|
selectors: import_smithy_client._json,
|
|
2863
2871
|
status: import_smithy_client.expectString,
|
|
@@ -4438,6 +4446,7 @@ var waitUntilNodegroupDeleted = /* @__PURE__ */ __name(async (params, input) =>
|
|
|
4438
4446
|
UnsupportedAvailabilityZoneException,
|
|
4439
4447
|
EksAnywhereSubscriptionLicenseType,
|
|
4440
4448
|
EksAnywhereSubscriptionTermUnit,
|
|
4449
|
+
FargateProfileIssueCode,
|
|
4441
4450
|
FargateProfileStatus,
|
|
4442
4451
|
CapacityTypes,
|
|
4443
4452
|
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",
|
|
@@ -1986,6 +1986,7 @@ const de_FargateProfile = (output, context) => {
|
|
|
1986
1986
|
createdAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1987
1987
|
fargateProfileArn: __expectString,
|
|
1988
1988
|
fargateProfileName: __expectString,
|
|
1989
|
+
health: _json,
|
|
1989
1990
|
podExecutionRoleArn: __expectString,
|
|
1990
1991
|
selectors: _json,
|
|
1991
1992
|
status: __expectString,
|
|
@@ -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
|
*
|
|
@@ -2465,6 +2465,53 @@ export interface CreateFargateProfileRequest {
|
|
|
2465
2465
|
*/
|
|
2466
2466
|
tags?: Record<string, string>;
|
|
2467
2467
|
}
|
|
2468
|
+
/**
|
|
2469
|
+
* @public
|
|
2470
|
+
* @enum
|
|
2471
|
+
*/
|
|
2472
|
+
export declare const FargateProfileIssueCode: {
|
|
2473
|
+
readonly ACCESS_DENIED: "AccessDenied";
|
|
2474
|
+
readonly CLUSTER_UNREACHABLE: "ClusterUnreachable";
|
|
2475
|
+
readonly INTERNAL_FAILURE: "InternalFailure";
|
|
2476
|
+
readonly POD_EXECUTION_ROLE_ALREADY_IN_USE: "PodExecutionRoleAlreadyInUse";
|
|
2477
|
+
};
|
|
2478
|
+
/**
|
|
2479
|
+
* @public
|
|
2480
|
+
*/
|
|
2481
|
+
export type FargateProfileIssueCode = (typeof FargateProfileIssueCode)[keyof typeof FargateProfileIssueCode];
|
|
2482
|
+
/**
|
|
2483
|
+
* <p>An issue that is associated with the Fargate profile.</p>
|
|
2484
|
+
* @public
|
|
2485
|
+
*/
|
|
2486
|
+
export interface FargateProfileIssue {
|
|
2487
|
+
/**
|
|
2488
|
+
* <p>A brief description of the error.</p>
|
|
2489
|
+
* @public
|
|
2490
|
+
*/
|
|
2491
|
+
code?: FargateProfileIssueCode;
|
|
2492
|
+
/**
|
|
2493
|
+
* <p>The error message associated with the issue.</p>
|
|
2494
|
+
* @public
|
|
2495
|
+
*/
|
|
2496
|
+
message?: string;
|
|
2497
|
+
/**
|
|
2498
|
+
* <p>The Amazon Web Services resources that are affected by this issue.</p>
|
|
2499
|
+
* @public
|
|
2500
|
+
*/
|
|
2501
|
+
resourceIds?: string[];
|
|
2502
|
+
}
|
|
2503
|
+
/**
|
|
2504
|
+
* <p>The health status of the Fargate profile. If there are issues with
|
|
2505
|
+
* your Fargate profile's health, they are listed here.</p>
|
|
2506
|
+
* @public
|
|
2507
|
+
*/
|
|
2508
|
+
export interface FargateProfileHealth {
|
|
2509
|
+
/**
|
|
2510
|
+
* <p>Any issues that are associated with the Fargate profile.</p>
|
|
2511
|
+
* @public
|
|
2512
|
+
*/
|
|
2513
|
+
issues?: FargateProfileIssue[];
|
|
2514
|
+
}
|
|
2468
2515
|
/**
|
|
2469
2516
|
* @public
|
|
2470
2517
|
* @enum
|
|
@@ -2536,6 +2583,12 @@ export interface FargateProfile {
|
|
|
2536
2583
|
* @public
|
|
2537
2584
|
*/
|
|
2538
2585
|
tags?: Record<string, string>;
|
|
2586
|
+
/**
|
|
2587
|
+
* <p>The health status of the Fargate profile. If there are issues with
|
|
2588
|
+
* your Fargate profile's health, they are listed here.</p>
|
|
2589
|
+
* @public
|
|
2590
|
+
*/
|
|
2591
|
+
health?: FargateProfileHealth;
|
|
2539
2592
|
}
|
|
2540
2593
|
/**
|
|
2541
2594
|
* @public
|
|
@@ -625,6 +625,22 @@ export interface CreateFargateProfileRequest {
|
|
|
625
625
|
clientRequestToken?: string;
|
|
626
626
|
tags?: Record<string, string>;
|
|
627
627
|
}
|
|
628
|
+
export declare const FargateProfileIssueCode: {
|
|
629
|
+
readonly ACCESS_DENIED: "AccessDenied";
|
|
630
|
+
readonly CLUSTER_UNREACHABLE: "ClusterUnreachable";
|
|
631
|
+
readonly INTERNAL_FAILURE: "InternalFailure";
|
|
632
|
+
readonly POD_EXECUTION_ROLE_ALREADY_IN_USE: "PodExecutionRoleAlreadyInUse";
|
|
633
|
+
};
|
|
634
|
+
export type FargateProfileIssueCode =
|
|
635
|
+
(typeof FargateProfileIssueCode)[keyof typeof FargateProfileIssueCode];
|
|
636
|
+
export interface FargateProfileIssue {
|
|
637
|
+
code?: FargateProfileIssueCode;
|
|
638
|
+
message?: string;
|
|
639
|
+
resourceIds?: string[];
|
|
640
|
+
}
|
|
641
|
+
export interface FargateProfileHealth {
|
|
642
|
+
issues?: FargateProfileIssue[];
|
|
643
|
+
}
|
|
628
644
|
export declare const FargateProfileStatus: {
|
|
629
645
|
readonly ACTIVE: "ACTIVE";
|
|
630
646
|
readonly CREATE_FAILED: "CREATE_FAILED";
|
|
@@ -644,6 +660,7 @@ export interface FargateProfile {
|
|
|
644
660
|
selectors?: FargateProfileSelector[];
|
|
645
661
|
status?: FargateProfileStatus;
|
|
646
662
|
tags?: Record<string, string>;
|
|
663
|
+
health?: FargateProfileHealth;
|
|
647
664
|
}
|
|
648
665
|
export interface CreateFargateProfileResponse {
|
|
649
666
|
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.
|
|
4
|
+
"version": "3.600.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.
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
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.
|
|
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",
|