@aws-sdk/client-eks 3.1113.0 → 3.1114.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/README.md +35 -0
- package/dist-cjs/index.js +381 -123
- package/dist-es/EKS.js +14 -0
- package/dist-es/commands/ActivateCertificateAuthorityCommand.js +4 -0
- package/dist-es/commands/CreateCertificateAuthorityCommand.js +4 -0
- package/dist-es/commands/DeleteCertificateAuthorityCommand.js +4 -0
- package/dist-es/commands/DescribeCertificateAuthorityCommand.js +4 -0
- package/dist-es/commands/ListCertificateAuthoritiesCommand.js +4 -0
- package/dist-es/commands/index.js +5 -0
- package/dist-es/models/enums.js +76 -52
- package/dist-es/models/errors.js +29 -29
- package/dist-es/pagination/ListCertificateAuthoritiesPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/schemas/schemas_0.js +166 -36
- package/dist-es/waiters/index.js +1 -0
- package/dist-es/waiters/waitForCertificateAuthorityUpdateComplete.js +49 -0
- package/dist-types/EKS.d.ts +48 -0
- package/dist-types/EKSClient.d.ts +7 -2
- package/dist-types/commands/ActivateCertificateAuthorityCommand.d.ts +139 -0
- package/dist-types/commands/AssociateEncryptionConfigCommand.d.ts +2 -2
- package/dist-types/commands/AssociateIdentityProviderConfigCommand.d.ts +2 -2
- package/dist-types/commands/CancelUpdateCommand.d.ts +2 -2
- package/dist-types/commands/CreateCertificateAuthorityCommand.d.ts +149 -0
- package/dist-types/commands/CreateClusterCommand.d.ts +4 -0
- package/dist-types/commands/DeleteCertificateAuthorityCommand.d.ts +134 -0
- package/dist-types/commands/DeleteClusterCommand.d.ts +4 -0
- package/dist-types/commands/DeregisterClusterCommand.d.ts +4 -0
- package/dist-types/commands/DescribeCertificateAuthorityCommand.d.ts +104 -0
- package/dist-types/commands/DescribeClusterCommand.d.ts +4 -0
- package/dist-types/commands/DescribeUpdateCommand.d.ts +2 -2
- package/dist-types/commands/DisassociateIdentityProviderConfigCommand.d.ts +2 -2
- package/dist-types/commands/ListCertificateAuthoritiesCommand.d.ts +102 -0
- package/dist-types/commands/RegisterClusterCommand.d.ts +4 -0
- package/dist-types/commands/UpdateAddonCommand.d.ts +2 -2
- package/dist-types/commands/UpdateCapabilityCommand.d.ts +2 -2
- package/dist-types/commands/UpdateClusterConfigCommand.d.ts +2 -2
- package/dist-types/commands/UpdateClusterVersionCommand.d.ts +2 -2
- package/dist-types/commands/UpdateNodegroupConfigCommand.d.ts +2 -2
- package/dist-types/commands/UpdateNodegroupVersionCommand.d.ts +2 -2
- package/dist-types/commands/index.d.ts +5 -0
- package/dist-types/models/enums.d.ts +120 -64
- package/dist-types/models/errors.d.ts +37 -37
- package/dist-types/models/models_0.d.ts +569 -186
- package/dist-types/pagination/ListCertificateAuthoritiesPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +20 -0
- package/dist-types/ts3.4/EKS.d.ts +98 -0
- package/dist-types/ts3.4/EKSClient.d.ts +30 -0
- package/dist-types/ts3.4/commands/ActivateCertificateAuthorityCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/CreateCertificateAuthorityCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DeleteCertificateAuthorityCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DescribeCertificateAuthorityCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListCertificateAuthoritiesCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/index.d.ts +5 -0
- package/dist-types/ts3.4/models/enums.d.ts +90 -58
- package/dist-types/ts3.4/models/errors.d.ts +14 -14
- package/dist-types/ts3.4/models/models_0.d.ts +103 -22
- package/dist-types/ts3.4/pagination/ListCertificateAuthoritiesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +20 -0
- package/dist-types/ts3.4/waiters/index.d.ts +1 -0
- package/dist-types/ts3.4/waiters/waitForCertificateAuthorityUpdateComplete.d.ts +15 -0
- package/dist-types/waiters/index.d.ts +1 -0
- package/dist-types/waiters/waitForCertificateAuthorityUpdateComplete.d.ts +15 -0
- package/package.json +1 -1
package/dist-es/EKS.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { createAggregatedClient } from "@smithy/core/client";
|
|
2
|
+
import { ActivateCertificateAuthorityCommand, } from "./commands/ActivateCertificateAuthorityCommand";
|
|
2
3
|
import { AssociateAccessPolicyCommand, } from "./commands/AssociateAccessPolicyCommand";
|
|
3
4
|
import { AssociateEncryptionConfigCommand, } from "./commands/AssociateEncryptionConfigCommand";
|
|
4
5
|
import { AssociateIdentityProviderConfigCommand, } from "./commands/AssociateIdentityProviderConfigCommand";
|
|
@@ -6,6 +7,7 @@ import { CancelUpdateCommand, } from "./commands/CancelUpdateCommand";
|
|
|
6
7
|
import { CreateAccessEntryCommand, } from "./commands/CreateAccessEntryCommand";
|
|
7
8
|
import { CreateAddonCommand, } from "./commands/CreateAddonCommand";
|
|
8
9
|
import { CreateCapabilityCommand, } from "./commands/CreateCapabilityCommand";
|
|
10
|
+
import { CreateCertificateAuthorityCommand, } from "./commands/CreateCertificateAuthorityCommand";
|
|
9
11
|
import { CreateClusterCommand, } from "./commands/CreateClusterCommand";
|
|
10
12
|
import { CreateEksAnywhereSubscriptionCommand, } from "./commands/CreateEksAnywhereSubscriptionCommand";
|
|
11
13
|
import { CreateFargateProfileCommand, } from "./commands/CreateFargateProfileCommand";
|
|
@@ -14,6 +16,7 @@ import { CreatePodIdentityAssociationCommand, } from "./commands/CreatePodIdenti
|
|
|
14
16
|
import { DeleteAccessEntryCommand, } from "./commands/DeleteAccessEntryCommand";
|
|
15
17
|
import { DeleteAddonCommand, } from "./commands/DeleteAddonCommand";
|
|
16
18
|
import { DeleteCapabilityCommand, } from "./commands/DeleteCapabilityCommand";
|
|
19
|
+
import { DeleteCertificateAuthorityCommand, } from "./commands/DeleteCertificateAuthorityCommand";
|
|
17
20
|
import { DeleteClusterCommand, } from "./commands/DeleteClusterCommand";
|
|
18
21
|
import { DeleteEksAnywhereSubscriptionCommand, } from "./commands/DeleteEksAnywhereSubscriptionCommand";
|
|
19
22
|
import { DeleteFargateProfileCommand, } from "./commands/DeleteFargateProfileCommand";
|
|
@@ -25,6 +28,7 @@ import { DescribeAddonCommand, } from "./commands/DescribeAddonCommand";
|
|
|
25
28
|
import { DescribeAddonConfigurationCommand, } from "./commands/DescribeAddonConfigurationCommand";
|
|
26
29
|
import { DescribeAddonVersionsCommand, } from "./commands/DescribeAddonVersionsCommand";
|
|
27
30
|
import { DescribeCapabilityCommand, } from "./commands/DescribeCapabilityCommand";
|
|
31
|
+
import { DescribeCertificateAuthorityCommand, } from "./commands/DescribeCertificateAuthorityCommand";
|
|
28
32
|
import { DescribeClusterCommand, } from "./commands/DescribeClusterCommand";
|
|
29
33
|
import { DescribeClusterVersionsCommand, } from "./commands/DescribeClusterVersionsCommand";
|
|
30
34
|
import { DescribeEksAnywhereSubscriptionCommand, } from "./commands/DescribeEksAnywhereSubscriptionCommand";
|
|
@@ -42,6 +46,7 @@ import { ListAccessPoliciesCommand, } from "./commands/ListAccessPoliciesCommand
|
|
|
42
46
|
import { ListAddonsCommand, } from "./commands/ListAddonsCommand";
|
|
43
47
|
import { ListAssociatedAccessPoliciesCommand, } from "./commands/ListAssociatedAccessPoliciesCommand";
|
|
44
48
|
import { ListCapabilitiesCommand, } from "./commands/ListCapabilitiesCommand";
|
|
49
|
+
import { ListCertificateAuthoritiesCommand, } from "./commands/ListCertificateAuthoritiesCommand";
|
|
45
50
|
import { ListClustersCommand, } from "./commands/ListClustersCommand";
|
|
46
51
|
import { ListEksAnywhereSubscriptionsCommand, } from "./commands/ListEksAnywhereSubscriptionsCommand";
|
|
47
52
|
import { ListFargateProfilesCommand, } from "./commands/ListFargateProfilesCommand";
|
|
@@ -72,6 +77,7 @@ import { paginateListAccessPolicies } from "./pagination/ListAccessPoliciesPagin
|
|
|
72
77
|
import { paginateListAddons } from "./pagination/ListAddonsPaginator";
|
|
73
78
|
import { paginateListAssociatedAccessPolicies } from "./pagination/ListAssociatedAccessPoliciesPaginator";
|
|
74
79
|
import { paginateListCapabilities } from "./pagination/ListCapabilitiesPaginator";
|
|
80
|
+
import { paginateListCertificateAuthorities } from "./pagination/ListCertificateAuthoritiesPaginator";
|
|
75
81
|
import { paginateListClusters } from "./pagination/ListClustersPaginator";
|
|
76
82
|
import { paginateListEksAnywhereSubscriptions } from "./pagination/ListEksAnywhereSubscriptionsPaginator";
|
|
77
83
|
import { paginateListFargateProfiles } from "./pagination/ListFargateProfilesPaginator";
|
|
@@ -82,6 +88,7 @@ import { paginateListPodIdentityAssociations } from "./pagination/ListPodIdentit
|
|
|
82
88
|
import { paginateListUpdates } from "./pagination/ListUpdatesPaginator";
|
|
83
89
|
import { waitUntilAddonActive } from "./waiters/waitForAddonActive";
|
|
84
90
|
import { waitUntilAddonDeleted } from "./waiters/waitForAddonDeleted";
|
|
91
|
+
import { waitUntilCertificateAuthorityUpdateComplete } from "./waiters/waitForCertificateAuthorityUpdateComplete";
|
|
85
92
|
import { waitUntilClusterActive } from "./waiters/waitForClusterActive";
|
|
86
93
|
import { waitUntilClusterDeleted } from "./waiters/waitForClusterDeleted";
|
|
87
94
|
import { waitUntilFargateProfileActive } from "./waiters/waitForFargateProfileActive";
|
|
@@ -89,6 +96,7 @@ import { waitUntilFargateProfileDeleted } from "./waiters/waitForFargateProfileD
|
|
|
89
96
|
import { waitUntilNodegroupActive } from "./waiters/waitForNodegroupActive";
|
|
90
97
|
import { waitUntilNodegroupDeleted } from "./waiters/waitForNodegroupDeleted";
|
|
91
98
|
const commands = {
|
|
99
|
+
ActivateCertificateAuthorityCommand,
|
|
92
100
|
AssociateAccessPolicyCommand,
|
|
93
101
|
AssociateEncryptionConfigCommand,
|
|
94
102
|
AssociateIdentityProviderConfigCommand,
|
|
@@ -96,6 +104,7 @@ const commands = {
|
|
|
96
104
|
CreateAccessEntryCommand,
|
|
97
105
|
CreateAddonCommand,
|
|
98
106
|
CreateCapabilityCommand,
|
|
107
|
+
CreateCertificateAuthorityCommand,
|
|
99
108
|
CreateClusterCommand,
|
|
100
109
|
CreateEksAnywhereSubscriptionCommand,
|
|
101
110
|
CreateFargateProfileCommand,
|
|
@@ -104,6 +113,7 @@ const commands = {
|
|
|
104
113
|
DeleteAccessEntryCommand,
|
|
105
114
|
DeleteAddonCommand,
|
|
106
115
|
DeleteCapabilityCommand,
|
|
116
|
+
DeleteCertificateAuthorityCommand,
|
|
107
117
|
DeleteClusterCommand,
|
|
108
118
|
DeleteEksAnywhereSubscriptionCommand,
|
|
109
119
|
DeleteFargateProfileCommand,
|
|
@@ -115,6 +125,7 @@ const commands = {
|
|
|
115
125
|
DescribeAddonConfigurationCommand,
|
|
116
126
|
DescribeAddonVersionsCommand,
|
|
117
127
|
DescribeCapabilityCommand,
|
|
128
|
+
DescribeCertificateAuthorityCommand,
|
|
118
129
|
DescribeClusterCommand,
|
|
119
130
|
DescribeClusterVersionsCommand,
|
|
120
131
|
DescribeEksAnywhereSubscriptionCommand,
|
|
@@ -132,6 +143,7 @@ const commands = {
|
|
|
132
143
|
ListAddonsCommand,
|
|
133
144
|
ListAssociatedAccessPoliciesCommand,
|
|
134
145
|
ListCapabilitiesCommand,
|
|
146
|
+
ListCertificateAuthoritiesCommand,
|
|
135
147
|
ListClustersCommand,
|
|
136
148
|
ListEksAnywhereSubscriptionsCommand,
|
|
137
149
|
ListFargateProfilesCommand,
|
|
@@ -163,6 +175,7 @@ const paginators = {
|
|
|
163
175
|
paginateListAddons,
|
|
164
176
|
paginateListAssociatedAccessPolicies,
|
|
165
177
|
paginateListCapabilities,
|
|
178
|
+
paginateListCertificateAuthorities,
|
|
166
179
|
paginateListClusters,
|
|
167
180
|
paginateListEksAnywhereSubscriptions,
|
|
168
181
|
paginateListFargateProfiles,
|
|
@@ -181,6 +194,7 @@ const waiters = {
|
|
|
181
194
|
waitUntilFargateProfileDeleted,
|
|
182
195
|
waitUntilNodegroupActive,
|
|
183
196
|
waitUntilNodegroupDeleted,
|
|
197
|
+
waitUntilCertificateAuthorityUpdateComplete,
|
|
184
198
|
};
|
|
185
199
|
export class EKS extends EKSClient {
|
|
186
200
|
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
2
|
+
import { ActivateCertificateAuthority$ } from "../schemas/schemas_0";
|
|
3
|
+
export class ActivateCertificateAuthorityCommand extends command(_ep0, _mw0, "ActivateCertificateAuthority", ActivateCertificateAuthority$) {
|
|
4
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
2
|
+
import { DescribeCertificateAuthority$ } from "../schemas/schemas_0";
|
|
3
|
+
export class DescribeCertificateAuthorityCommand extends command(_ep0, _mw0, "DescribeCertificateAuthority", DescribeCertificateAuthority$) {
|
|
4
|
+
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export * from "./ActivateCertificateAuthorityCommand";
|
|
1
2
|
export * from "./AssociateAccessPolicyCommand";
|
|
2
3
|
export * from "./AssociateEncryptionConfigCommand";
|
|
3
4
|
export * from "./AssociateIdentityProviderConfigCommand";
|
|
@@ -5,6 +6,7 @@ export * from "./CancelUpdateCommand";
|
|
|
5
6
|
export * from "./CreateAccessEntryCommand";
|
|
6
7
|
export * from "./CreateAddonCommand";
|
|
7
8
|
export * from "./CreateCapabilityCommand";
|
|
9
|
+
export * from "./CreateCertificateAuthorityCommand";
|
|
8
10
|
export * from "./CreateClusterCommand";
|
|
9
11
|
export * from "./CreateEksAnywhereSubscriptionCommand";
|
|
10
12
|
export * from "./CreateFargateProfileCommand";
|
|
@@ -13,6 +15,7 @@ export * from "./CreatePodIdentityAssociationCommand";
|
|
|
13
15
|
export * from "./DeleteAccessEntryCommand";
|
|
14
16
|
export * from "./DeleteAddonCommand";
|
|
15
17
|
export * from "./DeleteCapabilityCommand";
|
|
18
|
+
export * from "./DeleteCertificateAuthorityCommand";
|
|
16
19
|
export * from "./DeleteClusterCommand";
|
|
17
20
|
export * from "./DeleteEksAnywhereSubscriptionCommand";
|
|
18
21
|
export * from "./DeleteFargateProfileCommand";
|
|
@@ -24,6 +27,7 @@ export * from "./DescribeAddonCommand";
|
|
|
24
27
|
export * from "./DescribeAddonConfigurationCommand";
|
|
25
28
|
export * from "./DescribeAddonVersionsCommand";
|
|
26
29
|
export * from "./DescribeCapabilityCommand";
|
|
30
|
+
export * from "./DescribeCertificateAuthorityCommand";
|
|
27
31
|
export * from "./DescribeClusterCommand";
|
|
28
32
|
export * from "./DescribeClusterVersionsCommand";
|
|
29
33
|
export * from "./DescribeEksAnywhereSubscriptionCommand";
|
|
@@ -41,6 +45,7 @@ export * from "./ListAccessPoliciesCommand";
|
|
|
41
45
|
export * from "./ListAddonsCommand";
|
|
42
46
|
export * from "./ListAssociatedAccessPoliciesCommand";
|
|
43
47
|
export * from "./ListCapabilitiesCommand";
|
|
48
|
+
export * from "./ListCertificateAuthoritiesCommand";
|
|
44
49
|
export * from "./ListClustersCommand";
|
|
45
50
|
export * from "./ListEksAnywhereSubscriptionsCommand";
|
|
46
51
|
export * from "./ListFargateProfilesCommand";
|
package/dist-es/models/enums.js
CHANGED
|
@@ -7,61 +7,24 @@ export const AccessScopeType = {
|
|
|
7
7
|
cluster: "cluster",
|
|
8
8
|
namespace: "namespace",
|
|
9
9
|
};
|
|
10
|
-
export const
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
ADDON_SUBSCRIPTION_NEEDED: "AddonSubscriptionNeeded",
|
|
14
|
-
ADMISSION_REQUEST_DENIED: "AdmissionRequestDenied",
|
|
15
|
-
CLUSTER_UNREACHABLE: "ClusterUnreachable",
|
|
16
|
-
CONFIGURATION_CONFLICT: "ConfigurationConflict",
|
|
17
|
-
INSUFFICIENT_NUMBER_OF_REPLICAS: "InsufficientNumberOfReplicas",
|
|
18
|
-
INTERNAL_FAILURE: "InternalFailure",
|
|
19
|
-
K8S_RESOURCE_NOT_FOUND: "K8sResourceNotFound",
|
|
20
|
-
UNSUPPORTED_ADDON_MODIFICATION: "UnsupportedAddonModification",
|
|
21
|
-
};
|
|
22
|
-
export const AddonStatus = {
|
|
23
|
-
ACTIVE: "ACTIVE",
|
|
24
|
-
CREATE_FAILED: "CREATE_FAILED",
|
|
25
|
-
CREATING: "CREATING",
|
|
26
|
-
DEGRADED: "DEGRADED",
|
|
27
|
-
DELETE_FAILED: "DELETE_FAILED",
|
|
28
|
-
DELETING: "DELETING",
|
|
29
|
-
UPDATE_FAILED: "UPDATE_FAILED",
|
|
30
|
-
UPDATING: "UPDATING",
|
|
10
|
+
export const CertificateAuthorityActivatedBy = {
|
|
11
|
+
CUSTOMER: "CUSTOMER",
|
|
12
|
+
EKS: "EKS",
|
|
31
13
|
};
|
|
32
|
-
export const
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
AL2023_x86_64_NEURON: "AL2023_x86_64_NEURON",
|
|
36
|
-
AL2023_x86_64_NVIDIA: "AL2023_x86_64_NVIDIA",
|
|
37
|
-
AL2023_x86_64_STANDARD: "AL2023_x86_64_STANDARD",
|
|
38
|
-
AL2_ARM_64: "AL2_ARM_64",
|
|
39
|
-
AL2_x86_64: "AL2_x86_64",
|
|
40
|
-
AL2_x86_64_GPU: "AL2_x86_64_GPU",
|
|
41
|
-
BOTTLEROCKET_ARM_64: "BOTTLEROCKET_ARM_64",
|
|
42
|
-
BOTTLEROCKET_ARM_64_FIPS: "BOTTLEROCKET_ARM_64_FIPS",
|
|
43
|
-
BOTTLEROCKET_ARM_64_NVIDIA: "BOTTLEROCKET_ARM_64_NVIDIA",
|
|
44
|
-
BOTTLEROCKET_ARM_64_NVIDIA_FIPS: "BOTTLEROCKET_ARM_64_NVIDIA_FIPS",
|
|
45
|
-
BOTTLEROCKET_x86_64: "BOTTLEROCKET_x86_64",
|
|
46
|
-
BOTTLEROCKET_x86_64_FIPS: "BOTTLEROCKET_x86_64_FIPS",
|
|
47
|
-
BOTTLEROCKET_x86_64_NVIDIA: "BOTTLEROCKET_x86_64_NVIDIA",
|
|
48
|
-
BOTTLEROCKET_x86_64_NVIDIA_FIPS: "BOTTLEROCKET_x86_64_NVIDIA_FIPS",
|
|
49
|
-
CUSTOM: "CUSTOM",
|
|
50
|
-
WINDOWS_CORE_2019_x86_64: "WINDOWS_CORE_2019_x86_64",
|
|
51
|
-
WINDOWS_CORE_2022_x86_64: "WINDOWS_CORE_2022_x86_64",
|
|
52
|
-
WINDOWS_CORE_2025_x86_64: "WINDOWS_CORE_2025_x86_64",
|
|
53
|
-
WINDOWS_FULL_2019_x86_64: "WINDOWS_FULL_2019_x86_64",
|
|
54
|
-
WINDOWS_FULL_2022_x86_64: "WINDOWS_FULL_2022_x86_64",
|
|
55
|
-
WINDOWS_FULL_2025_x86_64: "WINDOWS_FULL_2025_x86_64",
|
|
14
|
+
export const CertificateAuthorityCreatedBy = {
|
|
15
|
+
CUSTOMER: "CUSTOMER",
|
|
16
|
+
EKS: "EKS",
|
|
56
17
|
};
|
|
57
|
-
export const
|
|
58
|
-
|
|
59
|
-
|
|
18
|
+
export const CertificateAuthorityDistributionStatus = {
|
|
19
|
+
COMPLETE: "COMPLETE",
|
|
20
|
+
DELETING: "DELETING",
|
|
21
|
+
FAILED: "FAILED",
|
|
22
|
+
IN_PROGRESS: "IN_PROGRESS",
|
|
60
23
|
};
|
|
61
|
-
export const
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
24
|
+
export const CertificateAuthoritySigningStatus = {
|
|
25
|
+
ACTIVATING: "ACTIVATING",
|
|
26
|
+
IN_USE: "IN_USE",
|
|
27
|
+
NOT_USED: "NOT_USED",
|
|
65
28
|
};
|
|
66
29
|
export const CancellationStatus = {
|
|
67
30
|
FAILED: "Failed",
|
|
@@ -88,8 +51,10 @@ export const ErrorCode = {
|
|
|
88
51
|
VPC_ID_NOT_FOUND: "VpcIdNotFound",
|
|
89
52
|
};
|
|
90
53
|
export const UpdateParamType = {
|
|
54
|
+
ACTIVE_CERTIFICATE_AUTHORITY: "ActiveCertificateAuthority",
|
|
91
55
|
ADDON_VERSION: "AddonVersion",
|
|
92
56
|
AUTHENTICATION_MODE: "AuthenticationMode",
|
|
57
|
+
CERTIFICATE_AUTHORITY_ID: "CertificateAuthorityId",
|
|
93
58
|
CLUSTER_LOGGING: "ClusterLogging",
|
|
94
59
|
COMPUTE_CONFIG: "ComputeConfig",
|
|
95
60
|
CONFIGURATION_VALUES: "ConfigurationValues",
|
|
@@ -127,10 +92,12 @@ export const UpdateParamType = {
|
|
|
127
92
|
ROLE_MAPPINGS_TO_REMOVE: "RoleMappingsToRemove",
|
|
128
93
|
SECURITY_GROUPS: "SecurityGroups",
|
|
129
94
|
SERVICE_ACCOUNT_ROLE_ARN: "ServiceAccountRoleArn",
|
|
95
|
+
SIGNING_STATUS: "SigningStatus",
|
|
130
96
|
STORAGE_CONFIG: "StorageConfig",
|
|
131
97
|
SUBNETS: "Subnets",
|
|
132
98
|
TAINTS_TO_ADD: "TaintsToAdd",
|
|
133
99
|
TAINTS_TO_REMOVE: "TaintsToRemove",
|
|
100
|
+
TRUSTED_CERTIFICATE_AUTHORITIES: "TrustedCertificateAuthorities",
|
|
134
101
|
UPDATED_TIER: "UpdatedTier",
|
|
135
102
|
UPDATE_STRATEGY: "UpdateStrategy",
|
|
136
103
|
UPGRADE_POLICY: "UpgradePolicy",
|
|
@@ -156,6 +123,7 @@ export const UpdateType = {
|
|
|
156
123
|
ASSOCIATE_IDENTITY_PROVIDER_CONFIG: "AssociateIdentityProviderConfig",
|
|
157
124
|
AUTO_MODE_UPDATE: "AutoModeUpdate",
|
|
158
125
|
CAPABILITY_UPDATE: "CapabilityUpdate",
|
|
126
|
+
CERTIFICATE_AUTHORITY_UPDATE: "CertificateAuthorityUpdate",
|
|
159
127
|
CONFIG_UPDATE: "ConfigUpdate",
|
|
160
128
|
CONTROL_PLANE_COMPONENT_CONFIG_UPDATE: "ControlPlaneComponentConfigUpdate",
|
|
161
129
|
CONTROL_PLANE_EGRESS_UPDATE: "ControlPlaneEgressUpdate",
|
|
@@ -172,6 +140,62 @@ export const UpdateType = {
|
|
|
172
140
|
VPC_CONFIG_UPDATE: "VpcConfigUpdate",
|
|
173
141
|
ZONAL_SHIFT_CONFIG_UPDATE: "ZonalShiftConfigUpdate",
|
|
174
142
|
};
|
|
143
|
+
export const AddonIssueCode = {
|
|
144
|
+
ACCESS_DENIED: "AccessDenied",
|
|
145
|
+
ADDON_PERMISSION_FAILURE: "AddonPermissionFailure",
|
|
146
|
+
ADDON_SUBSCRIPTION_NEEDED: "AddonSubscriptionNeeded",
|
|
147
|
+
ADMISSION_REQUEST_DENIED: "AdmissionRequestDenied",
|
|
148
|
+
CLUSTER_UNREACHABLE: "ClusterUnreachable",
|
|
149
|
+
CONFIGURATION_CONFLICT: "ConfigurationConflict",
|
|
150
|
+
INSUFFICIENT_NUMBER_OF_REPLICAS: "InsufficientNumberOfReplicas",
|
|
151
|
+
INTERNAL_FAILURE: "InternalFailure",
|
|
152
|
+
K8S_RESOURCE_NOT_FOUND: "K8sResourceNotFound",
|
|
153
|
+
UNSUPPORTED_ADDON_MODIFICATION: "UnsupportedAddonModification",
|
|
154
|
+
};
|
|
155
|
+
export const AddonStatus = {
|
|
156
|
+
ACTIVE: "ACTIVE",
|
|
157
|
+
CREATE_FAILED: "CREATE_FAILED",
|
|
158
|
+
CREATING: "CREATING",
|
|
159
|
+
DEGRADED: "DEGRADED",
|
|
160
|
+
DELETE_FAILED: "DELETE_FAILED",
|
|
161
|
+
DELETING: "DELETING",
|
|
162
|
+
UPDATE_FAILED: "UPDATE_FAILED",
|
|
163
|
+
UPDATING: "UPDATING",
|
|
164
|
+
};
|
|
165
|
+
export const AMITypes = {
|
|
166
|
+
AL2023_ARM_64_NVIDIA: "AL2023_ARM_64_NVIDIA",
|
|
167
|
+
AL2023_ARM_64_STANDARD: "AL2023_ARM_64_STANDARD",
|
|
168
|
+
AL2023_x86_64_NEURON: "AL2023_x86_64_NEURON",
|
|
169
|
+
AL2023_x86_64_NVIDIA: "AL2023_x86_64_NVIDIA",
|
|
170
|
+
AL2023_x86_64_STANDARD: "AL2023_x86_64_STANDARD",
|
|
171
|
+
AL2_ARM_64: "AL2_ARM_64",
|
|
172
|
+
AL2_x86_64: "AL2_x86_64",
|
|
173
|
+
AL2_x86_64_GPU: "AL2_x86_64_GPU",
|
|
174
|
+
BOTTLEROCKET_ARM_64: "BOTTLEROCKET_ARM_64",
|
|
175
|
+
BOTTLEROCKET_ARM_64_FIPS: "BOTTLEROCKET_ARM_64_FIPS",
|
|
176
|
+
BOTTLEROCKET_ARM_64_NVIDIA: "BOTTLEROCKET_ARM_64_NVIDIA",
|
|
177
|
+
BOTTLEROCKET_ARM_64_NVIDIA_FIPS: "BOTTLEROCKET_ARM_64_NVIDIA_FIPS",
|
|
178
|
+
BOTTLEROCKET_x86_64: "BOTTLEROCKET_x86_64",
|
|
179
|
+
BOTTLEROCKET_x86_64_FIPS: "BOTTLEROCKET_x86_64_FIPS",
|
|
180
|
+
BOTTLEROCKET_x86_64_NVIDIA: "BOTTLEROCKET_x86_64_NVIDIA",
|
|
181
|
+
BOTTLEROCKET_x86_64_NVIDIA_FIPS: "BOTTLEROCKET_x86_64_NVIDIA_FIPS",
|
|
182
|
+
CUSTOM: "CUSTOM",
|
|
183
|
+
WINDOWS_CORE_2019_x86_64: "WINDOWS_CORE_2019_x86_64",
|
|
184
|
+
WINDOWS_CORE_2022_x86_64: "WINDOWS_CORE_2022_x86_64",
|
|
185
|
+
WINDOWS_CORE_2025_x86_64: "WINDOWS_CORE_2025_x86_64",
|
|
186
|
+
WINDOWS_FULL_2019_x86_64: "WINDOWS_FULL_2019_x86_64",
|
|
187
|
+
WINDOWS_FULL_2022_x86_64: "WINDOWS_FULL_2022_x86_64",
|
|
188
|
+
WINDOWS_FULL_2025_x86_64: "WINDOWS_FULL_2025_x86_64",
|
|
189
|
+
};
|
|
190
|
+
export const SsoIdentityType = {
|
|
191
|
+
SSO_GROUP: "SSO_GROUP",
|
|
192
|
+
SSO_USER: "SSO_USER",
|
|
193
|
+
};
|
|
194
|
+
export const ArgoCdRole = {
|
|
195
|
+
ADMIN: "ADMIN",
|
|
196
|
+
EDITOR: "EDITOR",
|
|
197
|
+
VIEWER: "VIEWER",
|
|
198
|
+
};
|
|
175
199
|
export const ResolveConflicts = {
|
|
176
200
|
NONE: "NONE",
|
|
177
201
|
OVERWRITE: "OVERWRITE",
|
package/dist-es/models/errors.js
CHANGED
|
@@ -33,62 +33,74 @@ export class InvalidParameterException extends __BaseException {
|
|
|
33
33
|
this.subscriptionId = opts.subscriptionId;
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
|
-
export class
|
|
37
|
-
name = "
|
|
36
|
+
export class ResourceNotFoundException extends __BaseException {
|
|
37
|
+
name = "ResourceNotFoundException";
|
|
38
38
|
$fault = "client";
|
|
39
39
|
clusterName;
|
|
40
40
|
nodegroupName;
|
|
41
|
+
fargateProfileName;
|
|
41
42
|
addonName;
|
|
42
43
|
subscriptionId;
|
|
43
44
|
constructor(opts) {
|
|
44
45
|
super({
|
|
45
|
-
name: "
|
|
46
|
+
name: "ResourceNotFoundException",
|
|
46
47
|
$fault: "client",
|
|
47
48
|
...opts,
|
|
48
49
|
});
|
|
49
|
-
Object.setPrototypeOf(this,
|
|
50
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
50
51
|
this.clusterName = opts.clusterName;
|
|
51
52
|
this.nodegroupName = opts.nodegroupName;
|
|
53
|
+
this.fargateProfileName = opts.fargateProfileName;
|
|
52
54
|
this.addonName = opts.addonName;
|
|
53
55
|
this.subscriptionId = opts.subscriptionId;
|
|
54
56
|
}
|
|
55
57
|
}
|
|
56
|
-
export class
|
|
57
|
-
name = "
|
|
58
|
-
$fault = "
|
|
58
|
+
export class ServerException extends __BaseException {
|
|
59
|
+
name = "ServerException";
|
|
60
|
+
$fault = "server";
|
|
59
61
|
clusterName;
|
|
60
62
|
nodegroupName;
|
|
61
|
-
fargateProfileName;
|
|
62
63
|
addonName;
|
|
63
64
|
subscriptionId;
|
|
64
65
|
constructor(opts) {
|
|
65
66
|
super({
|
|
66
|
-
name: "
|
|
67
|
-
$fault: "
|
|
67
|
+
name: "ServerException",
|
|
68
|
+
$fault: "server",
|
|
68
69
|
...opts,
|
|
69
70
|
});
|
|
70
|
-
Object.setPrototypeOf(this,
|
|
71
|
+
Object.setPrototypeOf(this, ServerException.prototype);
|
|
71
72
|
this.clusterName = opts.clusterName;
|
|
72
73
|
this.nodegroupName = opts.nodegroupName;
|
|
73
|
-
this.fargateProfileName = opts.fargateProfileName;
|
|
74
74
|
this.addonName = opts.addonName;
|
|
75
75
|
this.subscriptionId = opts.subscriptionId;
|
|
76
76
|
}
|
|
77
77
|
}
|
|
78
|
-
export class
|
|
79
|
-
name = "
|
|
78
|
+
export class ServiceUnavailableException extends __BaseException {
|
|
79
|
+
name = "ServiceUnavailableException";
|
|
80
80
|
$fault = "server";
|
|
81
|
+
constructor(opts) {
|
|
82
|
+
super({
|
|
83
|
+
name: "ServiceUnavailableException",
|
|
84
|
+
$fault: "server",
|
|
85
|
+
...opts,
|
|
86
|
+
});
|
|
87
|
+
Object.setPrototypeOf(this, ServiceUnavailableException.prototype);
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
export class InvalidRequestException extends __BaseException {
|
|
91
|
+
name = "InvalidRequestException";
|
|
92
|
+
$fault = "client";
|
|
81
93
|
clusterName;
|
|
82
94
|
nodegroupName;
|
|
83
95
|
addonName;
|
|
84
96
|
subscriptionId;
|
|
85
97
|
constructor(opts) {
|
|
86
98
|
super({
|
|
87
|
-
name: "
|
|
88
|
-
$fault: "
|
|
99
|
+
name: "InvalidRequestException",
|
|
100
|
+
$fault: "client",
|
|
89
101
|
...opts,
|
|
90
102
|
});
|
|
91
|
-
Object.setPrototypeOf(this,
|
|
103
|
+
Object.setPrototypeOf(this, InvalidRequestException.prototype);
|
|
92
104
|
this.clusterName = opts.clusterName;
|
|
93
105
|
this.nodegroupName = opts.nodegroupName;
|
|
94
106
|
this.addonName = opts.addonName;
|
|
@@ -179,18 +191,6 @@ export class ResourceLimitExceededException extends __BaseException {
|
|
|
179
191
|
this.subscriptionId = opts.subscriptionId;
|
|
180
192
|
}
|
|
181
193
|
}
|
|
182
|
-
export class ServiceUnavailableException extends __BaseException {
|
|
183
|
-
name = "ServiceUnavailableException";
|
|
184
|
-
$fault = "server";
|
|
185
|
-
constructor(opts) {
|
|
186
|
-
super({
|
|
187
|
-
name: "ServiceUnavailableException",
|
|
188
|
-
$fault: "server",
|
|
189
|
-
...opts,
|
|
190
|
-
});
|
|
191
|
-
Object.setPrototypeOf(this, ServiceUnavailableException.prototype);
|
|
192
|
-
}
|
|
193
|
-
}
|
|
194
194
|
export class UnsupportedAvailabilityZoneException extends __BaseException {
|
|
195
195
|
name = "UnsupportedAvailabilityZoneException";
|
|
196
196
|
$fault = "client";
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
2
|
+
import { ListCertificateAuthoritiesCommand, } from "../commands/ListCertificateAuthoritiesCommand";
|
|
3
|
+
import { EKSClient } from "../EKSClient";
|
|
4
|
+
export const paginateListCertificateAuthorities = createPaginator(EKSClient, ListCertificateAuthoritiesCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -6,6 +6,7 @@ export * from "./ListAccessPoliciesPaginator";
|
|
|
6
6
|
export * from "./ListAddonsPaginator";
|
|
7
7
|
export * from "./ListAssociatedAccessPoliciesPaginator";
|
|
8
8
|
export * from "./ListCapabilitiesPaginator";
|
|
9
|
+
export * from "./ListCertificateAuthoritiesPaginator";
|
|
9
10
|
export * from "./ListClustersPaginator";
|
|
10
11
|
export * from "./ListEksAnywhereSubscriptionsPaginator";
|
|
11
12
|
export * from "./ListFargateProfilesPaginator";
|