@aws-sdk/client-eks 3.52.0 → 3.54.1

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
@@ -4,3 +4,4 @@ export * from "./commands";
4
4
  export * from "./models";
5
5
  export * from "./pagination";
6
6
  export * from "./waiters";
7
+ export { EKSServiceException } from "./models/EKSServiceException";
@@ -0,0 +1,12 @@
1
+ import { __extends } from "tslib";
2
+ import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
3
+ var EKSServiceException = (function (_super) {
4
+ __extends(EKSServiceException, _super);
5
+ function EKSServiceException(options) {
6
+ var _this = _super.call(this, options) || this;
7
+ Object.setPrototypeOf(_this, EKSServiceException.prototype);
8
+ return _this;
9
+ }
10
+ return EKSServiceException;
11
+ }(__ServiceException));
12
+ export { EKSServiceException };
@@ -1,4 +1,17 @@
1
- import { __assign } from "tslib";
1
+ import { __assign, __extends } from "tslib";
2
+ import { EKSServiceException as __BaseException } from "./EKSServiceException";
3
+ var AccessDeniedException = (function (_super) {
4
+ __extends(AccessDeniedException, _super);
5
+ function AccessDeniedException(opts) {
6
+ var _this = _super.call(this, __assign({ name: "AccessDeniedException", $fault: "client" }, opts)) || this;
7
+ _this.name = "AccessDeniedException";
8
+ _this.$fault = "client";
9
+ Object.setPrototypeOf(_this, AccessDeniedException.prototype);
10
+ return _this;
11
+ }
12
+ return AccessDeniedException;
13
+ }(__BaseException));
14
+ export { AccessDeniedException };
2
15
  export var AddonIssueCode;
3
16
  (function (AddonIssueCode) {
4
17
  AddonIssueCode["ACCESS_DENIED"] = "AccessDenied";
@@ -126,6 +139,98 @@ export var AssociateEncryptionConfigResponse;
126
139
  (function (AssociateEncryptionConfigResponse) {
127
140
  AssociateEncryptionConfigResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
128
141
  })(AssociateEncryptionConfigResponse || (AssociateEncryptionConfigResponse = {}));
142
+ var ClientException = (function (_super) {
143
+ __extends(ClientException, _super);
144
+ function ClientException(opts) {
145
+ var _this = _super.call(this, __assign({ name: "ClientException", $fault: "client" }, opts)) || this;
146
+ _this.name = "ClientException";
147
+ _this.$fault = "client";
148
+ Object.setPrototypeOf(_this, ClientException.prototype);
149
+ _this.clusterName = opts.clusterName;
150
+ _this.nodegroupName = opts.nodegroupName;
151
+ _this.addonName = opts.addonName;
152
+ return _this;
153
+ }
154
+ return ClientException;
155
+ }(__BaseException));
156
+ export { ClientException };
157
+ var InvalidParameterException = (function (_super) {
158
+ __extends(InvalidParameterException, _super);
159
+ function InvalidParameterException(opts) {
160
+ var _this = _super.call(this, __assign({ name: "InvalidParameterException", $fault: "client" }, opts)) || this;
161
+ _this.name = "InvalidParameterException";
162
+ _this.$fault = "client";
163
+ Object.setPrototypeOf(_this, InvalidParameterException.prototype);
164
+ _this.clusterName = opts.clusterName;
165
+ _this.nodegroupName = opts.nodegroupName;
166
+ _this.fargateProfileName = opts.fargateProfileName;
167
+ _this.addonName = opts.addonName;
168
+ return _this;
169
+ }
170
+ return InvalidParameterException;
171
+ }(__BaseException));
172
+ export { InvalidParameterException };
173
+ var InvalidRequestException = (function (_super) {
174
+ __extends(InvalidRequestException, _super);
175
+ function InvalidRequestException(opts) {
176
+ var _this = _super.call(this, __assign({ name: "InvalidRequestException", $fault: "client" }, opts)) || this;
177
+ _this.name = "InvalidRequestException";
178
+ _this.$fault = "client";
179
+ Object.setPrototypeOf(_this, InvalidRequestException.prototype);
180
+ _this.clusterName = opts.clusterName;
181
+ _this.nodegroupName = opts.nodegroupName;
182
+ _this.addonName = opts.addonName;
183
+ return _this;
184
+ }
185
+ return InvalidRequestException;
186
+ }(__BaseException));
187
+ export { InvalidRequestException };
188
+ var ResourceInUseException = (function (_super) {
189
+ __extends(ResourceInUseException, _super);
190
+ function ResourceInUseException(opts) {
191
+ var _this = _super.call(this, __assign({ name: "ResourceInUseException", $fault: "client" }, opts)) || this;
192
+ _this.name = "ResourceInUseException";
193
+ _this.$fault = "client";
194
+ Object.setPrototypeOf(_this, ResourceInUseException.prototype);
195
+ _this.clusterName = opts.clusterName;
196
+ _this.nodegroupName = opts.nodegroupName;
197
+ _this.addonName = opts.addonName;
198
+ return _this;
199
+ }
200
+ return ResourceInUseException;
201
+ }(__BaseException));
202
+ export { ResourceInUseException };
203
+ var ResourceNotFoundException = (function (_super) {
204
+ __extends(ResourceNotFoundException, _super);
205
+ function ResourceNotFoundException(opts) {
206
+ var _this = _super.call(this, __assign({ name: "ResourceNotFoundException", $fault: "client" }, opts)) || this;
207
+ _this.name = "ResourceNotFoundException";
208
+ _this.$fault = "client";
209
+ Object.setPrototypeOf(_this, ResourceNotFoundException.prototype);
210
+ _this.clusterName = opts.clusterName;
211
+ _this.nodegroupName = opts.nodegroupName;
212
+ _this.fargateProfileName = opts.fargateProfileName;
213
+ _this.addonName = opts.addonName;
214
+ return _this;
215
+ }
216
+ return ResourceNotFoundException;
217
+ }(__BaseException));
218
+ export { ResourceNotFoundException };
219
+ var ServerException = (function (_super) {
220
+ __extends(ServerException, _super);
221
+ function ServerException(opts) {
222
+ var _this = _super.call(this, __assign({ name: "ServerException", $fault: "server" }, opts)) || this;
223
+ _this.name = "ServerException";
224
+ _this.$fault = "server";
225
+ Object.setPrototypeOf(_this, ServerException.prototype);
226
+ _this.clusterName = opts.clusterName;
227
+ _this.nodegroupName = opts.nodegroupName;
228
+ _this.addonName = opts.addonName;
229
+ return _this;
230
+ }
231
+ return ServerException;
232
+ }(__BaseException));
233
+ export { ServerException };
129
234
  export var OidcIdentityProviderConfigRequest;
130
235
  (function (OidcIdentityProviderConfigRequest) {
131
236
  OidcIdentityProviderConfigRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -215,6 +320,47 @@ export var CreateClusterResponse;
215
320
  (function (CreateClusterResponse) {
216
321
  CreateClusterResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
217
322
  })(CreateClusterResponse || (CreateClusterResponse = {}));
323
+ var ResourceLimitExceededException = (function (_super) {
324
+ __extends(ResourceLimitExceededException, _super);
325
+ function ResourceLimitExceededException(opts) {
326
+ var _this = _super.call(this, __assign({ name: "ResourceLimitExceededException", $fault: "client" }, opts)) || this;
327
+ _this.name = "ResourceLimitExceededException";
328
+ _this.$fault = "client";
329
+ Object.setPrototypeOf(_this, ResourceLimitExceededException.prototype);
330
+ _this.clusterName = opts.clusterName;
331
+ _this.nodegroupName = opts.nodegroupName;
332
+ return _this;
333
+ }
334
+ return ResourceLimitExceededException;
335
+ }(__BaseException));
336
+ export { ResourceLimitExceededException };
337
+ var ServiceUnavailableException = (function (_super) {
338
+ __extends(ServiceUnavailableException, _super);
339
+ function ServiceUnavailableException(opts) {
340
+ var _this = _super.call(this, __assign({ name: "ServiceUnavailableException", $fault: "server" }, opts)) || this;
341
+ _this.name = "ServiceUnavailableException";
342
+ _this.$fault = "server";
343
+ Object.setPrototypeOf(_this, ServiceUnavailableException.prototype);
344
+ return _this;
345
+ }
346
+ return ServiceUnavailableException;
347
+ }(__BaseException));
348
+ export { ServiceUnavailableException };
349
+ var UnsupportedAvailabilityZoneException = (function (_super) {
350
+ __extends(UnsupportedAvailabilityZoneException, _super);
351
+ function UnsupportedAvailabilityZoneException(opts) {
352
+ var _this = _super.call(this, __assign({ name: "UnsupportedAvailabilityZoneException", $fault: "client" }, opts)) || this;
353
+ _this.name = "UnsupportedAvailabilityZoneException";
354
+ _this.$fault = "client";
355
+ Object.setPrototypeOf(_this, UnsupportedAvailabilityZoneException.prototype);
356
+ _this.clusterName = opts.clusterName;
357
+ _this.nodegroupName = opts.nodegroupName;
358
+ _this.validZones = opts.validZones;
359
+ return _this;
360
+ }
361
+ return UnsupportedAvailabilityZoneException;
362
+ }(__BaseException));
363
+ export { UnsupportedAvailabilityZoneException };
218
364
  export var FargateProfileSelector;
219
365
  (function (FargateProfileSelector) {
220
366
  FargateProfileSelector.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -273,6 +419,7 @@ export var NodegroupIssueCode;
273
419
  NodegroupIssueCode["EC2_SECURITY_GROUP_DELETION_FAILURE"] = "Ec2SecurityGroupDeletionFailure";
274
420
  NodegroupIssueCode["EC2_SECURITY_GROUP_NOT_FOUND"] = "Ec2SecurityGroupNotFound";
275
421
  NodegroupIssueCode["EC2_SUBNET_INVALID_CONFIGURATION"] = "Ec2SubnetInvalidConfiguration";
422
+ NodegroupIssueCode["EC2_SUBNET_MISSING_IPV6_ASSIGNMENT"] = "Ec2SubnetMissingIpv6Assignment";
276
423
  NodegroupIssueCode["EC2_SUBNET_NOT_FOUND"] = "Ec2SubnetNotFound";
277
424
  NodegroupIssueCode["IAM_INSTANCE_PROFILE_NOT_FOUND"] = "IamInstanceProfileNotFound";
278
425
  NodegroupIssueCode["IAM_LIMIT_EXCEEDED"] = "IamLimitExceeded";
@@ -464,6 +611,18 @@ export var ListNodegroupsResponse;
464
611
  (function (ListNodegroupsResponse) {
465
612
  ListNodegroupsResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
466
613
  })(ListNodegroupsResponse || (ListNodegroupsResponse = {}));
614
+ var BadRequestException = (function (_super) {
615
+ __extends(BadRequestException, _super);
616
+ function BadRequestException(opts) {
617
+ var _this = _super.call(this, __assign({ name: "BadRequestException", $fault: "client" }, opts)) || this;
618
+ _this.name = "BadRequestException";
619
+ _this.$fault = "client";
620
+ Object.setPrototypeOf(_this, BadRequestException.prototype);
621
+ return _this;
622
+ }
623
+ return BadRequestException;
624
+ }(__BaseException));
625
+ export { BadRequestException };
467
626
  export var ListTagsForResourceRequest;
468
627
  (function (ListTagsForResourceRequest) {
469
628
  ListTagsForResourceRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -472,6 +631,18 @@ export var ListTagsForResourceResponse;
472
631
  (function (ListTagsForResourceResponse) {
473
632
  ListTagsForResourceResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
474
633
  })(ListTagsForResourceResponse || (ListTagsForResourceResponse = {}));
634
+ var NotFoundException = (function (_super) {
635
+ __extends(NotFoundException, _super);
636
+ function NotFoundException(opts) {
637
+ var _this = _super.call(this, __assign({ name: "NotFoundException", $fault: "client" }, opts)) || this;
638
+ _this.name = "NotFoundException";
639
+ _this.$fault = "client";
640
+ Object.setPrototypeOf(_this, NotFoundException.prototype);
641
+ return _this;
642
+ }
643
+ return NotFoundException;
644
+ }(__BaseException));
645
+ export { NotFoundException };
475
646
  export var ListUpdatesRequest;
476
647
  (function (ListUpdatesRequest) {
477
648
  ListUpdatesRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -504,6 +675,18 @@ export var RegisterClusterResponse;
504
675
  (function (RegisterClusterResponse) {
505
676
  RegisterClusterResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
506
677
  })(RegisterClusterResponse || (RegisterClusterResponse = {}));
678
+ var ResourcePropagationDelayException = (function (_super) {
679
+ __extends(ResourcePropagationDelayException, _super);
680
+ function ResourcePropagationDelayException(opts) {
681
+ var _this = _super.call(this, __assign({ name: "ResourcePropagationDelayException", $fault: "client" }, opts)) || this;
682
+ _this.name = "ResourcePropagationDelayException";
683
+ _this.$fault = "client";
684
+ Object.setPrototypeOf(_this, ResourcePropagationDelayException.prototype);
685
+ return _this;
686
+ }
687
+ return ResourcePropagationDelayException;
688
+ }(__BaseException));
689
+ export { ResourcePropagationDelayException };
507
690
  export var TagResourceRequest;
508
691
  (function (TagResourceRequest) {
509
692
  TagResourceRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };