@aws-sdk/client-eks 3.933.0 → 3.935.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-es/index.js CHANGED
@@ -3,5 +3,6 @@ export * from "./EKS";
3
3
  export * from "./commands";
4
4
  export * from "./pagination";
5
5
  export * from "./waiters";
6
- export * from "./models";
6
+ export * from "./models/enums";
7
+ export * from "./models/errors";
7
8
  export { EKSServiceException } from "./models/EKSServiceException";
@@ -0,0 +1,317 @@
1
+ export const AuthenticationMode = {
2
+ API: "API",
3
+ API_AND_CONFIG_MAP: "API_AND_CONFIG_MAP",
4
+ CONFIG_MAP: "CONFIG_MAP",
5
+ };
6
+ export const AccessScopeType = {
7
+ cluster: "cluster",
8
+ namespace: "namespace",
9
+ };
10
+ export const AddonIssueCode = {
11
+ ACCESS_DENIED: "AccessDenied",
12
+ ADDON_PERMISSION_FAILURE: "AddonPermissionFailure",
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",
31
+ };
32
+ export const AMITypes = {
33
+ AL2023_ARM_64_NVIDIA: "AL2023_ARM_64_NVIDIA",
34
+ AL2023_ARM_64_STANDARD: "AL2023_ARM_64_STANDARD",
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_x86_64: "BOTTLEROCKET_x86_64",
45
+ BOTTLEROCKET_x86_64_FIPS: "BOTTLEROCKET_x86_64_FIPS",
46
+ BOTTLEROCKET_x86_64_NVIDIA: "BOTTLEROCKET_x86_64_NVIDIA",
47
+ CUSTOM: "CUSTOM",
48
+ WINDOWS_CORE_2019_x86_64: "WINDOWS_CORE_2019_x86_64",
49
+ WINDOWS_CORE_2022_x86_64: "WINDOWS_CORE_2022_x86_64",
50
+ WINDOWS_FULL_2019_x86_64: "WINDOWS_FULL_2019_x86_64",
51
+ WINDOWS_FULL_2022_x86_64: "WINDOWS_FULL_2022_x86_64",
52
+ };
53
+ export const ErrorCode = {
54
+ ACCESS_DENIED: "AccessDenied",
55
+ ADMISSION_REQUEST_DENIED: "AdmissionRequestDenied",
56
+ CLUSTER_UNREACHABLE: "ClusterUnreachable",
57
+ CONFIGURATION_CONFLICT: "ConfigurationConflict",
58
+ ENI_LIMIT_REACHED: "EniLimitReached",
59
+ INSUFFICIENT_FREE_ADDRESSES: "InsufficientFreeAddresses",
60
+ INSUFFICIENT_NUMBER_OF_REPLICAS: "InsufficientNumberOfReplicas",
61
+ IP_NOT_AVAILABLE: "IpNotAvailable",
62
+ K8S_RESOURCE_NOT_FOUND: "K8sResourceNotFound",
63
+ NODE_CREATION_FAILURE: "NodeCreationFailure",
64
+ OPERATION_NOT_PERMITTED: "OperationNotPermitted",
65
+ POD_EVICTION_FAILURE: "PodEvictionFailure",
66
+ SECURITY_GROUP_NOT_FOUND: "SecurityGroupNotFound",
67
+ SUBNET_NOT_FOUND: "SubnetNotFound",
68
+ UNKNOWN: "Unknown",
69
+ UNSUPPORTED_ADDON_MODIFICATION: "UnsupportedAddonModification",
70
+ VPC_ID_NOT_FOUND: "VpcIdNotFound",
71
+ };
72
+ export const UpdateParamType = {
73
+ ADDON_VERSION: "AddonVersion",
74
+ AUTHENTICATION_MODE: "AuthenticationMode",
75
+ CLUSTER_LOGGING: "ClusterLogging",
76
+ COMPUTE_CONFIG: "ComputeConfig",
77
+ CONFIGURATION_VALUES: "ConfigurationValues",
78
+ DELETION_PROTECTION: "DeletionProtection",
79
+ DESIRED_SIZE: "DesiredSize",
80
+ ENCRYPTION_CONFIG: "EncryptionConfig",
81
+ ENDPOINT_PRIVATE_ACCESS: "EndpointPrivateAccess",
82
+ ENDPOINT_PUBLIC_ACCESS: "EndpointPublicAccess",
83
+ IDENTITY_PROVIDER_CONFIG: "IdentityProviderConfig",
84
+ KUBERNETES_NETWORK_CONFIG: "KubernetesNetworkConfig",
85
+ LABELS_TO_ADD: "LabelsToAdd",
86
+ LABELS_TO_REMOVE: "LabelsToRemove",
87
+ LAUNCH_TEMPLATE_NAME: "LaunchTemplateName",
88
+ LAUNCH_TEMPLATE_VERSION: "LaunchTemplateVersion",
89
+ MAX_SIZE: "MaxSize",
90
+ MAX_UNAVAILABLE: "MaxUnavailable",
91
+ MAX_UNAVAILABLE_PERCENTAGE: "MaxUnavailablePercentage",
92
+ MIN_SIZE: "MinSize",
93
+ NODE_REPAIR_CONFIG: "NodeRepairConfig",
94
+ NODE_REPAIR_ENABLED: "NodeRepairEnabled",
95
+ PLATFORM_VERSION: "PlatformVersion",
96
+ POD_IDENTITY_ASSOCIATIONS: "PodIdentityAssociations",
97
+ PUBLIC_ACCESS_CIDRS: "PublicAccessCidrs",
98
+ RELEASE_VERSION: "ReleaseVersion",
99
+ REMOTE_NETWORK_CONFIG: "RemoteNetworkConfig",
100
+ RESOLVE_CONFLICTS: "ResolveConflicts",
101
+ SECURITY_GROUPS: "SecurityGroups",
102
+ SERVICE_ACCOUNT_ROLE_ARN: "ServiceAccountRoleArn",
103
+ STORAGE_CONFIG: "StorageConfig",
104
+ SUBNETS: "Subnets",
105
+ TAINTS_TO_ADD: "TaintsToAdd",
106
+ TAINTS_TO_REMOVE: "TaintsToRemove",
107
+ UPDATE_STRATEGY: "UpdateStrategy",
108
+ UPGRADE_POLICY: "UpgradePolicy",
109
+ VERSION: "Version",
110
+ ZONAL_SHIFT_CONFIG: "ZonalShiftConfig",
111
+ };
112
+ export const UpdateStatus = {
113
+ CANCELLED: "Cancelled",
114
+ FAILED: "Failed",
115
+ IN_PROGRESS: "InProgress",
116
+ SUCCESSFUL: "Successful",
117
+ };
118
+ export const UpdateType = {
119
+ ACCESS_CONFIG_UPDATE: "AccessConfigUpdate",
120
+ ADDON_UPDATE: "AddonUpdate",
121
+ ASSOCIATE_ENCRYPTION_CONFIG: "AssociateEncryptionConfig",
122
+ ASSOCIATE_IDENTITY_PROVIDER_CONFIG: "AssociateIdentityProviderConfig",
123
+ AUTO_MODE_UPDATE: "AutoModeUpdate",
124
+ CONFIG_UPDATE: "ConfigUpdate",
125
+ DELETION_PROTECTION_UPDATE: "DeletionProtectionUpdate",
126
+ DISASSOCIATE_IDENTITY_PROVIDER_CONFIG: "DisassociateIdentityProviderConfig",
127
+ ENDPOINT_ACCESS_UPDATE: "EndpointAccessUpdate",
128
+ LOGGING_UPDATE: "LoggingUpdate",
129
+ REMOTE_NETWORK_CONFIG_UPDATE: "RemoteNetworkConfigUpdate",
130
+ UPGRADE_POLICY_UPDATE: "UpgradePolicyUpdate",
131
+ VERSION_UPDATE: "VersionUpdate",
132
+ VPC_CONFIG_UPDATE: "VpcConfigUpdate",
133
+ ZONAL_SHIFT_CONFIG_UPDATE: "ZonalShiftConfigUpdate",
134
+ };
135
+ export const ResolveConflicts = {
136
+ NONE: "NONE",
137
+ OVERWRITE: "OVERWRITE",
138
+ PRESERVE: "PRESERVE",
139
+ };
140
+ export const IpFamily = {
141
+ IPV4: "ipv4",
142
+ IPV6: "ipv6",
143
+ };
144
+ export const LogType = {
145
+ API: "api",
146
+ AUDIT: "audit",
147
+ AUTHENTICATOR: "authenticator",
148
+ CONTROLLER_MANAGER: "controllerManager",
149
+ SCHEDULER: "scheduler",
150
+ };
151
+ export const SupportType = {
152
+ EXTENDED: "EXTENDED",
153
+ STANDARD: "STANDARD",
154
+ };
155
+ export const ClusterIssueCode = {
156
+ ACCESS_DENIED: "AccessDenied",
157
+ CLUSTER_UNREACHABLE: "ClusterUnreachable",
158
+ CONFIGURATION_CONFLICT: "ConfigurationConflict",
159
+ EC2_SECURITY_GROUP_NOT_FOUND: "Ec2SecurityGroupNotFound",
160
+ EC2_SERVICE_NOT_SUBSCRIBED: "Ec2ServiceNotSubscribed",
161
+ EC2_SUBNET_NOT_FOUND: "Ec2SubnetNotFound",
162
+ IAM_ROLE_NOT_FOUND: "IamRoleNotFound",
163
+ INSUFFICIENT_FREE_ADDRESSES: "InsufficientFreeAddresses",
164
+ INTERNAL_FAILURE: "InternalFailure",
165
+ KMS_GRANT_REVOKED: "KmsGrantRevoked",
166
+ KMS_KEY_DISABLED: "KmsKeyDisabled",
167
+ KMS_KEY_MARKED_FOR_DELETION: "KmsKeyMarkedForDeletion",
168
+ KMS_KEY_NOT_FOUND: "KmsKeyNotFound",
169
+ OTHER: "Other",
170
+ RESOURCE_LIMIT_EXCEEDED: "ResourceLimitExceeded",
171
+ RESOURCE_NOT_FOUND: "ResourceNotFound",
172
+ STS_REGIONAL_ENDPOINT_DISABLED: "StsRegionalEndpointDisabled",
173
+ UNSUPPORTED_VERSION: "UnsupportedVersion",
174
+ VPC_NOT_FOUND: "VpcNotFound",
175
+ };
176
+ export const ClusterStatus = {
177
+ ACTIVE: "ACTIVE",
178
+ CREATING: "CREATING",
179
+ DELETING: "DELETING",
180
+ FAILED: "FAILED",
181
+ PENDING: "PENDING",
182
+ UPDATING: "UPDATING",
183
+ };
184
+ export const EksAnywhereSubscriptionLicenseType = {
185
+ Cluster: "Cluster",
186
+ };
187
+ export const EksAnywhereSubscriptionTermUnit = {
188
+ MONTHS: "MONTHS",
189
+ };
190
+ export const FargateProfileIssueCode = {
191
+ ACCESS_DENIED: "AccessDenied",
192
+ CLUSTER_UNREACHABLE: "ClusterUnreachable",
193
+ INTERNAL_FAILURE: "InternalFailure",
194
+ POD_EXECUTION_ROLE_ALREADY_IN_USE: "PodExecutionRoleAlreadyInUse",
195
+ };
196
+ export const FargateProfileStatus = {
197
+ ACTIVE: "ACTIVE",
198
+ CREATE_FAILED: "CREATE_FAILED",
199
+ CREATING: "CREATING",
200
+ DELETE_FAILED: "DELETE_FAILED",
201
+ DELETING: "DELETING",
202
+ };
203
+ export const CapacityTypes = {
204
+ CAPACITY_BLOCK: "CAPACITY_BLOCK",
205
+ ON_DEMAND: "ON_DEMAND",
206
+ SPOT: "SPOT",
207
+ };
208
+ export const RepairAction = {
209
+ NoAction: "NoAction",
210
+ Reboot: "Reboot",
211
+ Replace: "Replace",
212
+ };
213
+ export const TaintEffect = {
214
+ NO_EXECUTE: "NO_EXECUTE",
215
+ NO_SCHEDULE: "NO_SCHEDULE",
216
+ PREFER_NO_SCHEDULE: "PREFER_NO_SCHEDULE",
217
+ };
218
+ export const NodegroupUpdateStrategies = {
219
+ DEFAULT: "DEFAULT",
220
+ MINIMAL: "MINIMAL",
221
+ };
222
+ export const NodegroupIssueCode = {
223
+ ACCESS_DENIED: "AccessDenied",
224
+ AMI_ID_NOT_FOUND: "AmiIdNotFound",
225
+ ASG_INSTANCE_LAUNCH_FAILURES: "AsgInstanceLaunchFailures",
226
+ AUTO_SCALING_GROUP_INSTANCE_REFRESH_ACTIVE: "AutoScalingGroupInstanceRefreshActive",
227
+ AUTO_SCALING_GROUP_INVALID_CONFIGURATION: "AutoScalingGroupInvalidConfiguration",
228
+ AUTO_SCALING_GROUP_NOT_FOUND: "AutoScalingGroupNotFound",
229
+ AUTO_SCALING_GROUP_OPT_IN_REQUIRED: "AutoScalingGroupOptInRequired",
230
+ AUTO_SCALING_GROUP_RATE_LIMIT_EXCEEDED: "AutoScalingGroupRateLimitExceeded",
231
+ CLUSTER_UNREACHABLE: "ClusterUnreachable",
232
+ EC2_INSTANCE_TYPE_DOES_NOT_EXIST: "Ec2InstanceTypeDoesNotExist",
233
+ EC2_LAUNCH_TEMPLATE_DELETION_FAILURE: "Ec2LaunchTemplateDeletionFailure",
234
+ EC2_LAUNCH_TEMPLATE_INVALID_CONFIGURATION: "Ec2LaunchTemplateInvalidConfiguration",
235
+ EC2_LAUNCH_TEMPLATE_MAX_LIMIT_EXCEEDED: "Ec2LaunchTemplateMaxLimitExceeded",
236
+ EC2_LAUNCH_TEMPLATE_NOT_FOUND: "Ec2LaunchTemplateNotFound",
237
+ EC2_LAUNCH_TEMPLATE_VERSION_MAX_LIMIT_EXCEEDED: "Ec2LaunchTemplateVersionMaxLimitExceeded",
238
+ EC2_LAUNCH_TEMPLATE_VERSION_MISMATCH: "Ec2LaunchTemplateVersionMismatch",
239
+ EC2_SECURITY_GROUP_DELETION_FAILURE: "Ec2SecurityGroupDeletionFailure",
240
+ EC2_SECURITY_GROUP_NOT_FOUND: "Ec2SecurityGroupNotFound",
241
+ EC2_SUBNET_INVALID_CONFIGURATION: "Ec2SubnetInvalidConfiguration",
242
+ EC2_SUBNET_LIST_TOO_LONG: "Ec2SubnetListTooLong",
243
+ EC2_SUBNET_MISSING_IPV6_ASSIGNMENT: "Ec2SubnetMissingIpv6Assignment",
244
+ EC2_SUBNET_NOT_FOUND: "Ec2SubnetNotFound",
245
+ IAM_INSTANCE_PROFILE_NOT_FOUND: "IamInstanceProfileNotFound",
246
+ IAM_LIMIT_EXCEEDED: "IamLimitExceeded",
247
+ IAM_NODE_ROLE_NOT_FOUND: "IamNodeRoleNotFound",
248
+ IAM_THROTTLING: "IamThrottling",
249
+ INSTANCE_LIMIT_EXCEEDED: "InstanceLimitExceeded",
250
+ INSUFFICIENT_FREE_ADDRESSES: "InsufficientFreeAddresses",
251
+ INTERNAL_FAILURE: "InternalFailure",
252
+ KUBERNETES_LABEL_INVALID: "KubernetesLabelInvalid",
253
+ LIMIT_EXCEEDED: "LimitExceeded",
254
+ NODE_CREATION_FAILURE: "NodeCreationFailure",
255
+ NODE_TERMINATION_FAILURE: "NodeTerminationFailure",
256
+ POD_EVICTION_FAILURE: "PodEvictionFailure",
257
+ SOURCE_EC2_LAUNCH_TEMPLATE_NOT_FOUND: "SourceEc2LaunchTemplateNotFound",
258
+ UNKNOWN: "Unknown",
259
+ };
260
+ export const NodegroupStatus = {
261
+ ACTIVE: "ACTIVE",
262
+ CREATE_FAILED: "CREATE_FAILED",
263
+ CREATING: "CREATING",
264
+ DEGRADED: "DEGRADED",
265
+ DELETE_FAILED: "DELETE_FAILED",
266
+ DELETING: "DELETING",
267
+ UPDATING: "UPDATING",
268
+ };
269
+ export const ClusterVersionStatus = {
270
+ extended_support: "extended-support",
271
+ standard_support: "standard-support",
272
+ unsupported: "unsupported",
273
+ };
274
+ export const VersionStatus = {
275
+ EXTENDED_SUPPORT: "EXTENDED_SUPPORT",
276
+ STANDARD_SUPPORT: "STANDARD_SUPPORT",
277
+ UNSUPPORTED: "UNSUPPORTED",
278
+ };
279
+ export const ConfigStatus = {
280
+ ACTIVE: "ACTIVE",
281
+ CREATING: "CREATING",
282
+ DELETING: "DELETING",
283
+ };
284
+ export const Category = {
285
+ MISCONFIGURATION: "MISCONFIGURATION",
286
+ UPGRADE_READINESS: "UPGRADE_READINESS",
287
+ };
288
+ export const InsightStatusValue = {
289
+ ERROR: "ERROR",
290
+ PASSING: "PASSING",
291
+ UNKNOWN: "UNKNOWN",
292
+ WARNING: "WARNING",
293
+ };
294
+ export const InsightsRefreshStatus = {
295
+ COMPLETED: "COMPLETED",
296
+ FAILED: "FAILED",
297
+ IN_PROGRESS: "IN_PROGRESS",
298
+ };
299
+ export const EksAnywhereSubscriptionStatus = {
300
+ ACTIVE: "ACTIVE",
301
+ CREATING: "CREATING",
302
+ DELETING: "DELETING",
303
+ EXPIRED: "EXPIRED",
304
+ EXPIRING: "EXPIRING",
305
+ UPDATING: "UPDATING",
306
+ };
307
+ export const ConnectorConfigProvider = {
308
+ AKS: "AKS",
309
+ ANTHOS: "ANTHOS",
310
+ EC2: "EC2",
311
+ EKS_ANYWHERE: "EKS_ANYWHERE",
312
+ GKE: "GKE",
313
+ OPENSHIFT: "OPENSHIFT",
314
+ OTHER: "OTHER",
315
+ RANCHER: "RANCHER",
316
+ TANZU: "TANZU",
317
+ };
@@ -0,0 +1,247 @@
1
+ import { EKSServiceException as __BaseException } from "./EKSServiceException";
2
+ export class AccessDeniedException extends __BaseException {
3
+ name = "AccessDeniedException";
4
+ $fault = "client";
5
+ constructor(opts) {
6
+ super({
7
+ name: "AccessDeniedException",
8
+ $fault: "client",
9
+ ...opts,
10
+ });
11
+ Object.setPrototypeOf(this, AccessDeniedException.prototype);
12
+ }
13
+ }
14
+ export class InvalidParameterException extends __BaseException {
15
+ name = "InvalidParameterException";
16
+ $fault = "client";
17
+ clusterName;
18
+ nodegroupName;
19
+ fargateProfileName;
20
+ addonName;
21
+ subscriptionId;
22
+ constructor(opts) {
23
+ super({
24
+ name: "InvalidParameterException",
25
+ $fault: "client",
26
+ ...opts,
27
+ });
28
+ Object.setPrototypeOf(this, InvalidParameterException.prototype);
29
+ this.clusterName = opts.clusterName;
30
+ this.nodegroupName = opts.nodegroupName;
31
+ this.fargateProfileName = opts.fargateProfileName;
32
+ this.addonName = opts.addonName;
33
+ this.subscriptionId = opts.subscriptionId;
34
+ }
35
+ }
36
+ export class InvalidRequestException extends __BaseException {
37
+ name = "InvalidRequestException";
38
+ $fault = "client";
39
+ clusterName;
40
+ nodegroupName;
41
+ addonName;
42
+ subscriptionId;
43
+ constructor(opts) {
44
+ super({
45
+ name: "InvalidRequestException",
46
+ $fault: "client",
47
+ ...opts,
48
+ });
49
+ Object.setPrototypeOf(this, InvalidRequestException.prototype);
50
+ this.clusterName = opts.clusterName;
51
+ this.nodegroupName = opts.nodegroupName;
52
+ this.addonName = opts.addonName;
53
+ this.subscriptionId = opts.subscriptionId;
54
+ }
55
+ }
56
+ export class ResourceNotFoundException extends __BaseException {
57
+ name = "ResourceNotFoundException";
58
+ $fault = "client";
59
+ clusterName;
60
+ nodegroupName;
61
+ fargateProfileName;
62
+ addonName;
63
+ subscriptionId;
64
+ constructor(opts) {
65
+ super({
66
+ name: "ResourceNotFoundException",
67
+ $fault: "client",
68
+ ...opts,
69
+ });
70
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
71
+ this.clusterName = opts.clusterName;
72
+ this.nodegroupName = opts.nodegroupName;
73
+ this.fargateProfileName = opts.fargateProfileName;
74
+ this.addonName = opts.addonName;
75
+ this.subscriptionId = opts.subscriptionId;
76
+ }
77
+ }
78
+ export class ServerException extends __BaseException {
79
+ name = "ServerException";
80
+ $fault = "server";
81
+ clusterName;
82
+ nodegroupName;
83
+ addonName;
84
+ subscriptionId;
85
+ constructor(opts) {
86
+ super({
87
+ name: "ServerException",
88
+ $fault: "server",
89
+ ...opts,
90
+ });
91
+ Object.setPrototypeOf(this, ServerException.prototype);
92
+ this.clusterName = opts.clusterName;
93
+ this.nodegroupName = opts.nodegroupName;
94
+ this.addonName = opts.addonName;
95
+ this.subscriptionId = opts.subscriptionId;
96
+ }
97
+ }
98
+ export class ClientException extends __BaseException {
99
+ name = "ClientException";
100
+ $fault = "client";
101
+ clusterName;
102
+ nodegroupName;
103
+ addonName;
104
+ subscriptionId;
105
+ constructor(opts) {
106
+ super({
107
+ name: "ClientException",
108
+ $fault: "client",
109
+ ...opts,
110
+ });
111
+ Object.setPrototypeOf(this, ClientException.prototype);
112
+ this.clusterName = opts.clusterName;
113
+ this.nodegroupName = opts.nodegroupName;
114
+ this.addonName = opts.addonName;
115
+ this.subscriptionId = opts.subscriptionId;
116
+ }
117
+ }
118
+ export class ResourceInUseException extends __BaseException {
119
+ name = "ResourceInUseException";
120
+ $fault = "client";
121
+ clusterName;
122
+ nodegroupName;
123
+ addonName;
124
+ constructor(opts) {
125
+ super({
126
+ name: "ResourceInUseException",
127
+ $fault: "client",
128
+ ...opts,
129
+ });
130
+ Object.setPrototypeOf(this, ResourceInUseException.prototype);
131
+ this.clusterName = opts.clusterName;
132
+ this.nodegroupName = opts.nodegroupName;
133
+ this.addonName = opts.addonName;
134
+ }
135
+ }
136
+ export class ThrottlingException extends __BaseException {
137
+ name = "ThrottlingException";
138
+ $fault = "client";
139
+ clusterName;
140
+ constructor(opts) {
141
+ super({
142
+ name: "ThrottlingException",
143
+ $fault: "client",
144
+ ...opts,
145
+ });
146
+ Object.setPrototypeOf(this, ThrottlingException.prototype);
147
+ this.clusterName = opts.clusterName;
148
+ }
149
+ }
150
+ export class ResourceLimitExceededException extends __BaseException {
151
+ name = "ResourceLimitExceededException";
152
+ $fault = "client";
153
+ clusterName;
154
+ nodegroupName;
155
+ subscriptionId;
156
+ constructor(opts) {
157
+ super({
158
+ name: "ResourceLimitExceededException",
159
+ $fault: "client",
160
+ ...opts,
161
+ });
162
+ Object.setPrototypeOf(this, ResourceLimitExceededException.prototype);
163
+ this.clusterName = opts.clusterName;
164
+ this.nodegroupName = opts.nodegroupName;
165
+ this.subscriptionId = opts.subscriptionId;
166
+ }
167
+ }
168
+ export class ServiceUnavailableException extends __BaseException {
169
+ name = "ServiceUnavailableException";
170
+ $fault = "server";
171
+ constructor(opts) {
172
+ super({
173
+ name: "ServiceUnavailableException",
174
+ $fault: "server",
175
+ ...opts,
176
+ });
177
+ Object.setPrototypeOf(this, ServiceUnavailableException.prototype);
178
+ }
179
+ }
180
+ export class UnsupportedAvailabilityZoneException extends __BaseException {
181
+ name = "UnsupportedAvailabilityZoneException";
182
+ $fault = "client";
183
+ clusterName;
184
+ nodegroupName;
185
+ validZones;
186
+ constructor(opts) {
187
+ super({
188
+ name: "UnsupportedAvailabilityZoneException",
189
+ $fault: "client",
190
+ ...opts,
191
+ });
192
+ Object.setPrototypeOf(this, UnsupportedAvailabilityZoneException.prototype);
193
+ this.clusterName = opts.clusterName;
194
+ this.nodegroupName = opts.nodegroupName;
195
+ this.validZones = opts.validZones;
196
+ }
197
+ }
198
+ export class BadRequestException extends __BaseException {
199
+ name = "BadRequestException";
200
+ $fault = "client";
201
+ constructor(opts) {
202
+ super({
203
+ name: "BadRequestException",
204
+ $fault: "client",
205
+ ...opts,
206
+ });
207
+ Object.setPrototypeOf(this, BadRequestException.prototype);
208
+ }
209
+ }
210
+ export class NotFoundException extends __BaseException {
211
+ name = "NotFoundException";
212
+ $fault = "client";
213
+ constructor(opts) {
214
+ super({
215
+ name: "NotFoundException",
216
+ $fault: "client",
217
+ ...opts,
218
+ });
219
+ Object.setPrototypeOf(this, NotFoundException.prototype);
220
+ }
221
+ }
222
+ export class ResourcePropagationDelayException extends __BaseException {
223
+ name = "ResourcePropagationDelayException";
224
+ $fault = "client";
225
+ constructor(opts) {
226
+ super({
227
+ name: "ResourcePropagationDelayException",
228
+ $fault: "client",
229
+ ...opts,
230
+ });
231
+ Object.setPrototypeOf(this, ResourcePropagationDelayException.prototype);
232
+ }
233
+ }
234
+ export class InvalidStateException extends __BaseException {
235
+ name = "InvalidStateException";
236
+ $fault = "client";
237
+ clusterName;
238
+ constructor(opts) {
239
+ super({
240
+ name: "InvalidStateException",
241
+ $fault: "client",
242
+ ...opts,
243
+ });
244
+ Object.setPrototypeOf(this, InvalidStateException.prototype);
245
+ this.clusterName = opts.clusterName;
246
+ }
247
+ }