@aws-sdk/client-eks 3.1113.0 → 3.1115.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 (65) hide show
  1. package/README.md +35 -0
  2. package/dist-cjs/index.js +381 -123
  3. package/dist-es/EKS.js +14 -0
  4. package/dist-es/commands/ActivateCertificateAuthorityCommand.js +4 -0
  5. package/dist-es/commands/CreateCertificateAuthorityCommand.js +4 -0
  6. package/dist-es/commands/DeleteCertificateAuthorityCommand.js +4 -0
  7. package/dist-es/commands/DescribeCertificateAuthorityCommand.js +4 -0
  8. package/dist-es/commands/ListCertificateAuthoritiesCommand.js +4 -0
  9. package/dist-es/commands/index.js +5 -0
  10. package/dist-es/models/enums.js +76 -52
  11. package/dist-es/models/errors.js +29 -29
  12. package/dist-es/pagination/ListCertificateAuthoritiesPaginator.js +4 -0
  13. package/dist-es/pagination/index.js +1 -0
  14. package/dist-es/schemas/schemas_0.js +166 -36
  15. package/dist-es/waiters/index.js +1 -0
  16. package/dist-es/waiters/waitForCertificateAuthorityUpdateComplete.js +49 -0
  17. package/dist-types/EKS.d.ts +48 -0
  18. package/dist-types/EKSClient.d.ts +7 -2
  19. package/dist-types/commands/ActivateCertificateAuthorityCommand.d.ts +139 -0
  20. package/dist-types/commands/AssociateEncryptionConfigCommand.d.ts +2 -2
  21. package/dist-types/commands/AssociateIdentityProviderConfigCommand.d.ts +2 -2
  22. package/dist-types/commands/CancelUpdateCommand.d.ts +2 -2
  23. package/dist-types/commands/CreateCertificateAuthorityCommand.d.ts +149 -0
  24. package/dist-types/commands/CreateClusterCommand.d.ts +4 -0
  25. package/dist-types/commands/DeleteCertificateAuthorityCommand.d.ts +134 -0
  26. package/dist-types/commands/DeleteClusterCommand.d.ts +4 -0
  27. package/dist-types/commands/DeregisterClusterCommand.d.ts +4 -0
  28. package/dist-types/commands/DescribeCertificateAuthorityCommand.d.ts +104 -0
  29. package/dist-types/commands/DescribeClusterCommand.d.ts +4 -0
  30. package/dist-types/commands/DescribeUpdateCommand.d.ts +2 -2
  31. package/dist-types/commands/DisassociateIdentityProviderConfigCommand.d.ts +2 -2
  32. package/dist-types/commands/ListCertificateAuthoritiesCommand.d.ts +102 -0
  33. package/dist-types/commands/RegisterClusterCommand.d.ts +4 -0
  34. package/dist-types/commands/UpdateAddonCommand.d.ts +2 -2
  35. package/dist-types/commands/UpdateCapabilityCommand.d.ts +2 -2
  36. package/dist-types/commands/UpdateClusterConfigCommand.d.ts +2 -2
  37. package/dist-types/commands/UpdateClusterVersionCommand.d.ts +2 -2
  38. package/dist-types/commands/UpdateNodegroupConfigCommand.d.ts +2 -2
  39. package/dist-types/commands/UpdateNodegroupVersionCommand.d.ts +2 -2
  40. package/dist-types/commands/index.d.ts +5 -0
  41. package/dist-types/models/enums.d.ts +120 -64
  42. package/dist-types/models/errors.d.ts +37 -37
  43. package/dist-types/models/models_0.d.ts +569 -186
  44. package/dist-types/pagination/ListCertificateAuthoritiesPaginator.d.ts +7 -0
  45. package/dist-types/pagination/index.d.ts +1 -0
  46. package/dist-types/schemas/schemas_0.d.ts +20 -0
  47. package/dist-types/ts3.4/EKS.d.ts +98 -0
  48. package/dist-types/ts3.4/EKSClient.d.ts +30 -0
  49. package/dist-types/ts3.4/commands/ActivateCertificateAuthorityCommand.d.ts +42 -0
  50. package/dist-types/ts3.4/commands/CreateCertificateAuthorityCommand.d.ts +42 -0
  51. package/dist-types/ts3.4/commands/DeleteCertificateAuthorityCommand.d.ts +42 -0
  52. package/dist-types/ts3.4/commands/DescribeCertificateAuthorityCommand.d.ts +42 -0
  53. package/dist-types/ts3.4/commands/ListCertificateAuthoritiesCommand.d.ts +42 -0
  54. package/dist-types/ts3.4/commands/index.d.ts +5 -0
  55. package/dist-types/ts3.4/models/enums.d.ts +90 -58
  56. package/dist-types/ts3.4/models/errors.d.ts +14 -14
  57. package/dist-types/ts3.4/models/models_0.d.ts +103 -22
  58. package/dist-types/ts3.4/pagination/ListCertificateAuthoritiesPaginator.d.ts +11 -0
  59. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  60. package/dist-types/ts3.4/schemas/schemas_0.d.ts +20 -0
  61. package/dist-types/ts3.4/waiters/index.d.ts +1 -0
  62. package/dist-types/ts3.4/waiters/waitForCertificateAuthorityUpdateComplete.d.ts +15 -0
  63. package/dist-types/waiters/index.d.ts +1 -0
  64. package/dist-types/waiters/waitForCertificateAuthorityUpdateComplete.d.ts +15 -0
  65. package/package.json +1 -1
@@ -27,98 +27,53 @@ export type AccessScopeType = (typeof AccessScopeType)[keyof typeof AccessScopeT
27
27
  * @public
28
28
  * @enum
29
29
  */
30
- export declare const AddonIssueCode: {
31
- readonly ACCESS_DENIED: "AccessDenied";
32
- readonly ADDON_PERMISSION_FAILURE: "AddonPermissionFailure";
33
- readonly ADDON_SUBSCRIPTION_NEEDED: "AddonSubscriptionNeeded";
34
- readonly ADMISSION_REQUEST_DENIED: "AdmissionRequestDenied";
35
- readonly CLUSTER_UNREACHABLE: "ClusterUnreachable";
36
- readonly CONFIGURATION_CONFLICT: "ConfigurationConflict";
37
- readonly INSUFFICIENT_NUMBER_OF_REPLICAS: "InsufficientNumberOfReplicas";
38
- readonly INTERNAL_FAILURE: "InternalFailure";
39
- readonly K8S_RESOURCE_NOT_FOUND: "K8sResourceNotFound";
40
- readonly UNSUPPORTED_ADDON_MODIFICATION: "UnsupportedAddonModification";
30
+ export declare const CertificateAuthorityActivatedBy: {
31
+ readonly CUSTOMER: "CUSTOMER";
32
+ readonly EKS: "EKS";
41
33
  };
42
34
  /**
43
35
  * @public
44
36
  */
45
- export type AddonIssueCode = (typeof AddonIssueCode)[keyof typeof AddonIssueCode];
37
+ export type CertificateAuthorityActivatedBy = (typeof CertificateAuthorityActivatedBy)[keyof typeof CertificateAuthorityActivatedBy];
46
38
  /**
47
39
  * @public
48
40
  * @enum
49
41
  */
50
- export declare const AddonStatus: {
51
- readonly ACTIVE: "ACTIVE";
52
- readonly CREATE_FAILED: "CREATE_FAILED";
53
- readonly CREATING: "CREATING";
54
- readonly DEGRADED: "DEGRADED";
55
- readonly DELETE_FAILED: "DELETE_FAILED";
56
- readonly DELETING: "DELETING";
57
- readonly UPDATE_FAILED: "UPDATE_FAILED";
58
- readonly UPDATING: "UPDATING";
59
- };
60
- /**
61
- * @public
62
- */
63
- export type AddonStatus = (typeof AddonStatus)[keyof typeof AddonStatus];
64
- /**
65
- * @public
66
- * @enum
67
- */
68
- export declare const AMITypes: {
69
- readonly AL2023_ARM_64_NVIDIA: "AL2023_ARM_64_NVIDIA";
70
- readonly AL2023_ARM_64_STANDARD: "AL2023_ARM_64_STANDARD";
71
- readonly AL2023_x86_64_NEURON: "AL2023_x86_64_NEURON";
72
- readonly AL2023_x86_64_NVIDIA: "AL2023_x86_64_NVIDIA";
73
- readonly AL2023_x86_64_STANDARD: "AL2023_x86_64_STANDARD";
74
- readonly AL2_ARM_64: "AL2_ARM_64";
75
- readonly AL2_x86_64: "AL2_x86_64";
76
- readonly AL2_x86_64_GPU: "AL2_x86_64_GPU";
77
- readonly BOTTLEROCKET_ARM_64: "BOTTLEROCKET_ARM_64";
78
- readonly BOTTLEROCKET_ARM_64_FIPS: "BOTTLEROCKET_ARM_64_FIPS";
79
- readonly BOTTLEROCKET_ARM_64_NVIDIA: "BOTTLEROCKET_ARM_64_NVIDIA";
80
- readonly BOTTLEROCKET_ARM_64_NVIDIA_FIPS: "BOTTLEROCKET_ARM_64_NVIDIA_FIPS";
81
- readonly BOTTLEROCKET_x86_64: "BOTTLEROCKET_x86_64";
82
- readonly BOTTLEROCKET_x86_64_FIPS: "BOTTLEROCKET_x86_64_FIPS";
83
- readonly BOTTLEROCKET_x86_64_NVIDIA: "BOTTLEROCKET_x86_64_NVIDIA";
84
- readonly BOTTLEROCKET_x86_64_NVIDIA_FIPS: "BOTTLEROCKET_x86_64_NVIDIA_FIPS";
85
- readonly CUSTOM: "CUSTOM";
86
- readonly WINDOWS_CORE_2019_x86_64: "WINDOWS_CORE_2019_x86_64";
87
- readonly WINDOWS_CORE_2022_x86_64: "WINDOWS_CORE_2022_x86_64";
88
- readonly WINDOWS_CORE_2025_x86_64: "WINDOWS_CORE_2025_x86_64";
89
- readonly WINDOWS_FULL_2019_x86_64: "WINDOWS_FULL_2019_x86_64";
90
- readonly WINDOWS_FULL_2022_x86_64: "WINDOWS_FULL_2022_x86_64";
91
- readonly WINDOWS_FULL_2025_x86_64: "WINDOWS_FULL_2025_x86_64";
42
+ export declare const CertificateAuthorityCreatedBy: {
43
+ readonly CUSTOMER: "CUSTOMER";
44
+ readonly EKS: "EKS";
92
45
  };
93
46
  /**
94
47
  * @public
95
48
  */
96
- export type AMITypes = (typeof AMITypes)[keyof typeof AMITypes];
49
+ export type CertificateAuthorityCreatedBy = (typeof CertificateAuthorityCreatedBy)[keyof typeof CertificateAuthorityCreatedBy];
97
50
  /**
98
51
  * @public
99
52
  * @enum
100
53
  */
101
- export declare const SsoIdentityType: {
102
- readonly SSO_GROUP: "SSO_GROUP";
103
- readonly SSO_USER: "SSO_USER";
54
+ export declare const CertificateAuthorityDistributionStatus: {
55
+ readonly COMPLETE: "COMPLETE";
56
+ readonly DELETING: "DELETING";
57
+ readonly FAILED: "FAILED";
58
+ readonly IN_PROGRESS: "IN_PROGRESS";
104
59
  };
105
60
  /**
106
61
  * @public
107
62
  */
108
- export type SsoIdentityType = (typeof SsoIdentityType)[keyof typeof SsoIdentityType];
63
+ export type CertificateAuthorityDistributionStatus = (typeof CertificateAuthorityDistributionStatus)[keyof typeof CertificateAuthorityDistributionStatus];
109
64
  /**
110
65
  * @public
111
66
  * @enum
112
67
  */
113
- export declare const ArgoCdRole: {
114
- readonly ADMIN: "ADMIN";
115
- readonly EDITOR: "EDITOR";
116
- readonly VIEWER: "VIEWER";
68
+ export declare const CertificateAuthoritySigningStatus: {
69
+ readonly ACTIVATING: "ACTIVATING";
70
+ readonly IN_USE: "IN_USE";
71
+ readonly NOT_USED: "NOT_USED";
117
72
  };
118
73
  /**
119
74
  * @public
120
75
  */
121
- export type ArgoCdRole = (typeof ArgoCdRole)[keyof typeof ArgoCdRole];
76
+ export type CertificateAuthoritySigningStatus = (typeof CertificateAuthoritySigningStatus)[keyof typeof CertificateAuthoritySigningStatus];
122
77
  /**
123
78
  * @public
124
79
  * @enum
@@ -164,8 +119,10 @@ export type ErrorCode = (typeof ErrorCode)[keyof typeof ErrorCode];
164
119
  * @enum
165
120
  */
166
121
  export declare const UpdateParamType: {
122
+ readonly ACTIVE_CERTIFICATE_AUTHORITY: "ActiveCertificateAuthority";
167
123
  readonly ADDON_VERSION: "AddonVersion";
168
124
  readonly AUTHENTICATION_MODE: "AuthenticationMode";
125
+ readonly CERTIFICATE_AUTHORITY_ID: "CertificateAuthorityId";
169
126
  readonly CLUSTER_LOGGING: "ClusterLogging";
170
127
  readonly COMPUTE_CONFIG: "ComputeConfig";
171
128
  readonly CONFIGURATION_VALUES: "ConfigurationValues";
@@ -203,10 +160,12 @@ export declare const UpdateParamType: {
203
160
  readonly ROLE_MAPPINGS_TO_REMOVE: "RoleMappingsToRemove";
204
161
  readonly SECURITY_GROUPS: "SecurityGroups";
205
162
  readonly SERVICE_ACCOUNT_ROLE_ARN: "ServiceAccountRoleArn";
163
+ readonly SIGNING_STATUS: "SigningStatus";
206
164
  readonly STORAGE_CONFIG: "StorageConfig";
207
165
  readonly SUBNETS: "Subnets";
208
166
  readonly TAINTS_TO_ADD: "TaintsToAdd";
209
167
  readonly TAINTS_TO_REMOVE: "TaintsToRemove";
168
+ readonly TRUSTED_CERTIFICATE_AUTHORITIES: "TrustedCertificateAuthorities";
210
169
  readonly UPDATED_TIER: "UpdatedTier";
211
170
  readonly UPDATE_STRATEGY: "UpdateStrategy";
212
171
  readonly UPGRADE_POLICY: "UpgradePolicy";
@@ -248,6 +207,7 @@ export declare const UpdateType: {
248
207
  readonly ASSOCIATE_IDENTITY_PROVIDER_CONFIG: "AssociateIdentityProviderConfig";
249
208
  readonly AUTO_MODE_UPDATE: "AutoModeUpdate";
250
209
  readonly CAPABILITY_UPDATE: "CapabilityUpdate";
210
+ readonly CERTIFICATE_AUTHORITY_UPDATE: "CertificateAuthorityUpdate";
251
211
  readonly CONFIG_UPDATE: "ConfigUpdate";
252
212
  readonly CONTROL_PLANE_COMPONENT_CONFIG_UPDATE: "ControlPlaneComponentConfigUpdate";
253
213
  readonly CONTROL_PLANE_EGRESS_UPDATE: "ControlPlaneEgressUpdate";
@@ -268,6 +228,102 @@ export declare const UpdateType: {
268
228
  * @public
269
229
  */
270
230
  export type UpdateType = (typeof UpdateType)[keyof typeof UpdateType];
231
+ /**
232
+ * @public
233
+ * @enum
234
+ */
235
+ export declare const AddonIssueCode: {
236
+ readonly ACCESS_DENIED: "AccessDenied";
237
+ readonly ADDON_PERMISSION_FAILURE: "AddonPermissionFailure";
238
+ readonly ADDON_SUBSCRIPTION_NEEDED: "AddonSubscriptionNeeded";
239
+ readonly ADMISSION_REQUEST_DENIED: "AdmissionRequestDenied";
240
+ readonly CLUSTER_UNREACHABLE: "ClusterUnreachable";
241
+ readonly CONFIGURATION_CONFLICT: "ConfigurationConflict";
242
+ readonly INSUFFICIENT_NUMBER_OF_REPLICAS: "InsufficientNumberOfReplicas";
243
+ readonly INTERNAL_FAILURE: "InternalFailure";
244
+ readonly K8S_RESOURCE_NOT_FOUND: "K8sResourceNotFound";
245
+ readonly UNSUPPORTED_ADDON_MODIFICATION: "UnsupportedAddonModification";
246
+ };
247
+ /**
248
+ * @public
249
+ */
250
+ export type AddonIssueCode = (typeof AddonIssueCode)[keyof typeof AddonIssueCode];
251
+ /**
252
+ * @public
253
+ * @enum
254
+ */
255
+ export declare const AddonStatus: {
256
+ readonly ACTIVE: "ACTIVE";
257
+ readonly CREATE_FAILED: "CREATE_FAILED";
258
+ readonly CREATING: "CREATING";
259
+ readonly DEGRADED: "DEGRADED";
260
+ readonly DELETE_FAILED: "DELETE_FAILED";
261
+ readonly DELETING: "DELETING";
262
+ readonly UPDATE_FAILED: "UPDATE_FAILED";
263
+ readonly UPDATING: "UPDATING";
264
+ };
265
+ /**
266
+ * @public
267
+ */
268
+ export type AddonStatus = (typeof AddonStatus)[keyof typeof AddonStatus];
269
+ /**
270
+ * @public
271
+ * @enum
272
+ */
273
+ export declare const AMITypes: {
274
+ readonly AL2023_ARM_64_NVIDIA: "AL2023_ARM_64_NVIDIA";
275
+ readonly AL2023_ARM_64_STANDARD: "AL2023_ARM_64_STANDARD";
276
+ readonly AL2023_x86_64_NEURON: "AL2023_x86_64_NEURON";
277
+ readonly AL2023_x86_64_NVIDIA: "AL2023_x86_64_NVIDIA";
278
+ readonly AL2023_x86_64_STANDARD: "AL2023_x86_64_STANDARD";
279
+ readonly AL2_ARM_64: "AL2_ARM_64";
280
+ readonly AL2_x86_64: "AL2_x86_64";
281
+ readonly AL2_x86_64_GPU: "AL2_x86_64_GPU";
282
+ readonly BOTTLEROCKET_ARM_64: "BOTTLEROCKET_ARM_64";
283
+ readonly BOTTLEROCKET_ARM_64_FIPS: "BOTTLEROCKET_ARM_64_FIPS";
284
+ readonly BOTTLEROCKET_ARM_64_NVIDIA: "BOTTLEROCKET_ARM_64_NVIDIA";
285
+ readonly BOTTLEROCKET_ARM_64_NVIDIA_FIPS: "BOTTLEROCKET_ARM_64_NVIDIA_FIPS";
286
+ readonly BOTTLEROCKET_x86_64: "BOTTLEROCKET_x86_64";
287
+ readonly BOTTLEROCKET_x86_64_FIPS: "BOTTLEROCKET_x86_64_FIPS";
288
+ readonly BOTTLEROCKET_x86_64_NVIDIA: "BOTTLEROCKET_x86_64_NVIDIA";
289
+ readonly BOTTLEROCKET_x86_64_NVIDIA_FIPS: "BOTTLEROCKET_x86_64_NVIDIA_FIPS";
290
+ readonly CUSTOM: "CUSTOM";
291
+ readonly WINDOWS_CORE_2019_x86_64: "WINDOWS_CORE_2019_x86_64";
292
+ readonly WINDOWS_CORE_2022_x86_64: "WINDOWS_CORE_2022_x86_64";
293
+ readonly WINDOWS_CORE_2025_x86_64: "WINDOWS_CORE_2025_x86_64";
294
+ readonly WINDOWS_FULL_2019_x86_64: "WINDOWS_FULL_2019_x86_64";
295
+ readonly WINDOWS_FULL_2022_x86_64: "WINDOWS_FULL_2022_x86_64";
296
+ readonly WINDOWS_FULL_2025_x86_64: "WINDOWS_FULL_2025_x86_64";
297
+ };
298
+ /**
299
+ * @public
300
+ */
301
+ export type AMITypes = (typeof AMITypes)[keyof typeof AMITypes];
302
+ /**
303
+ * @public
304
+ * @enum
305
+ */
306
+ export declare const SsoIdentityType: {
307
+ readonly SSO_GROUP: "SSO_GROUP";
308
+ readonly SSO_USER: "SSO_USER";
309
+ };
310
+ /**
311
+ * @public
312
+ */
313
+ export type SsoIdentityType = (typeof SsoIdentityType)[keyof typeof SsoIdentityType];
314
+ /**
315
+ * @public
316
+ * @enum
317
+ */
318
+ export declare const ArgoCdRole: {
319
+ readonly ADMIN: "ADMIN";
320
+ readonly EDITOR: "EDITOR";
321
+ readonly VIEWER: "VIEWER";
322
+ };
323
+ /**
324
+ * @public
325
+ */
326
+ export type ArgoCdRole = (typeof ArgoCdRole)[keyof typeof ArgoCdRole];
271
327
  /**
272
328
  * @public
273
329
  * @enum
@@ -55,12 +55,14 @@ export declare class InvalidParameterException extends __BaseException {
55
55
  constructor(opts: __ExceptionOptionType<InvalidParameterException, __BaseException>);
56
56
  }
57
57
  /**
58
- * <p>The request is invalid given the state of the cluster. Check the state of the cluster
59
- * and the associated operations.</p>
58
+ * <p>The specified resource could not be found. You can view your available clusters with
59
+ * <code>ListClusters</code>. You can view your available managed node groups with
60
+ * <code>ListNodegroups</code>. Amazon EKS clusters and node groups are Amazon Web Services Region
61
+ * specific.</p>
60
62
  * @public
61
63
  */
62
- export declare class InvalidRequestException extends __BaseException {
63
- readonly name: "InvalidRequestException";
64
+ export declare class ResourceNotFoundException extends __BaseException {
65
+ readonly name: "ResourceNotFoundException";
64
66
  readonly $fault: "client";
65
67
  /**
66
68
  * <p>The Amazon EKS cluster associated with the exception.</p>
@@ -73,8 +75,12 @@ export declare class InvalidRequestException extends __BaseException {
73
75
  */
74
76
  nodegroupName?: string | undefined;
75
77
  /**
76
- * <p>The request is invalid given the state of the add-on name. Check the state of the
77
- * cluster and the associated operations.</p>
78
+ * <p>The Fargate profile associated with the exception.</p>
79
+ * @public
80
+ */
81
+ fargateProfileName?: string | undefined;
82
+ /**
83
+ * <p>The Amazon EKS add-on name associated with the exception.</p>
78
84
  * @public
79
85
  */
80
86
  addonName?: string | undefined;
@@ -86,18 +92,15 @@ export declare class InvalidRequestException extends __BaseException {
86
92
  /**
87
93
  * @internal
88
94
  */
89
- constructor(opts: __ExceptionOptionType<InvalidRequestException, __BaseException>);
95
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
90
96
  }
91
97
  /**
92
- * <p>The specified resource could not be found. You can view your available clusters with
93
- * <code>ListClusters</code>. You can view your available managed node groups with
94
- * <code>ListNodegroups</code>. Amazon EKS clusters and node groups are Amazon Web Services Region
95
- * specific.</p>
98
+ * <p>These errors are usually caused by a server-side issue.</p>
96
99
  * @public
97
100
  */
98
- export declare class ResourceNotFoundException extends __BaseException {
99
- readonly name: "ResourceNotFoundException";
100
- readonly $fault: "client";
101
+ export declare class ServerException extends __BaseException {
102
+ readonly name: "ServerException";
103
+ readonly $fault: "server";
101
104
  /**
102
105
  * <p>The Amazon EKS cluster associated with the exception.</p>
103
106
  * @public
@@ -108,11 +111,6 @@ export declare class ResourceNotFoundException extends __BaseException {
108
111
  * @public
109
112
  */
110
113
  nodegroupName?: string | undefined;
111
- /**
112
- * <p>The Fargate profile associated with the exception.</p>
113
- * @public
114
- */
115
- fargateProfileName?: string | undefined;
116
114
  /**
117
115
  * <p>The Amazon EKS add-on name associated with the exception.</p>
118
116
  * @public
@@ -126,15 +124,28 @@ export declare class ResourceNotFoundException extends __BaseException {
126
124
  /**
127
125
  * @internal
128
126
  */
129
- constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
127
+ constructor(opts: __ExceptionOptionType<ServerException, __BaseException>);
130
128
  }
131
129
  /**
132
- * <p>These errors are usually caused by a server-side issue.</p>
130
+ * <p>The service is unavailable. Back off and retry the operation.</p>
133
131
  * @public
134
132
  */
135
- export declare class ServerException extends __BaseException {
136
- readonly name: "ServerException";
133
+ export declare class ServiceUnavailableException extends __BaseException {
134
+ readonly name: "ServiceUnavailableException";
137
135
  readonly $fault: "server";
136
+ /**
137
+ * @internal
138
+ */
139
+ constructor(opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>);
140
+ }
141
+ /**
142
+ * <p>The request is invalid given the state of the cluster. Check the state of the cluster
143
+ * and the associated operations.</p>
144
+ * @public
145
+ */
146
+ export declare class InvalidRequestException extends __BaseException {
147
+ readonly name: "InvalidRequestException";
148
+ readonly $fault: "client";
138
149
  /**
139
150
  * <p>The Amazon EKS cluster associated with the exception.</p>
140
151
  * @public
@@ -146,7 +157,8 @@ export declare class ServerException extends __BaseException {
146
157
  */
147
158
  nodegroupName?: string | undefined;
148
159
  /**
149
- * <p>The Amazon EKS add-on name associated with the exception.</p>
160
+ * <p>The request is invalid given the state of the add-on name. Check the state of the
161
+ * cluster and the associated operations.</p>
150
162
  * @public
151
163
  */
152
164
  addonName?: string | undefined;
@@ -158,7 +170,7 @@ export declare class ServerException extends __BaseException {
158
170
  /**
159
171
  * @internal
160
172
  */
161
- constructor(opts: __ExceptionOptionType<ServerException, __BaseException>);
173
+ constructor(opts: __ExceptionOptionType<InvalidRequestException, __BaseException>);
162
174
  }
163
175
  /**
164
176
  * <p>These errors are usually caused by a client action. Actions can include using an
@@ -289,18 +301,6 @@ export declare class ResourceLimitExceededException extends __BaseException {
289
301
  */
290
302
  constructor(opts: __ExceptionOptionType<ResourceLimitExceededException, __BaseException>);
291
303
  }
292
- /**
293
- * <p>The service is unavailable. Back off and retry the operation.</p>
294
- * @public
295
- */
296
- export declare class ServiceUnavailableException extends __BaseException {
297
- readonly name: "ServiceUnavailableException";
298
- readonly $fault: "server";
299
- /**
300
- * @internal
301
- */
302
- constructor(opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>);
303
- }
304
304
  /**
305
305
  * <p>At least one of your specified cluster subnets is in an Availability Zone that does not support
306
306
  * Amazon EKS. The exception output specifies the supported Availability Zones for your account, from which