@aws-sdk/client-eks 3.52.0 → 3.53.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
@@ -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)); };
@@ -464,6 +610,18 @@ export var ListNodegroupsResponse;
464
610
  (function (ListNodegroupsResponse) {
465
611
  ListNodegroupsResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
466
612
  })(ListNodegroupsResponse || (ListNodegroupsResponse = {}));
613
+ var BadRequestException = (function (_super) {
614
+ __extends(BadRequestException, _super);
615
+ function BadRequestException(opts) {
616
+ var _this = _super.call(this, __assign({ name: "BadRequestException", $fault: "client" }, opts)) || this;
617
+ _this.name = "BadRequestException";
618
+ _this.$fault = "client";
619
+ Object.setPrototypeOf(_this, BadRequestException.prototype);
620
+ return _this;
621
+ }
622
+ return BadRequestException;
623
+ }(__BaseException));
624
+ export { BadRequestException };
467
625
  export var ListTagsForResourceRequest;
468
626
  (function (ListTagsForResourceRequest) {
469
627
  ListTagsForResourceRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -472,6 +630,18 @@ export var ListTagsForResourceResponse;
472
630
  (function (ListTagsForResourceResponse) {
473
631
  ListTagsForResourceResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
474
632
  })(ListTagsForResourceResponse || (ListTagsForResourceResponse = {}));
633
+ var NotFoundException = (function (_super) {
634
+ __extends(NotFoundException, _super);
635
+ function NotFoundException(opts) {
636
+ var _this = _super.call(this, __assign({ name: "NotFoundException", $fault: "client" }, opts)) || this;
637
+ _this.name = "NotFoundException";
638
+ _this.$fault = "client";
639
+ Object.setPrototypeOf(_this, NotFoundException.prototype);
640
+ return _this;
641
+ }
642
+ return NotFoundException;
643
+ }(__BaseException));
644
+ export { NotFoundException };
475
645
  export var ListUpdatesRequest;
476
646
  (function (ListUpdatesRequest) {
477
647
  ListUpdatesRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -504,6 +674,18 @@ export var RegisterClusterResponse;
504
674
  (function (RegisterClusterResponse) {
505
675
  RegisterClusterResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
506
676
  })(RegisterClusterResponse || (RegisterClusterResponse = {}));
677
+ var ResourcePropagationDelayException = (function (_super) {
678
+ __extends(ResourcePropagationDelayException, _super);
679
+ function ResourcePropagationDelayException(opts) {
680
+ var _this = _super.call(this, __assign({ name: "ResourcePropagationDelayException", $fault: "client" }, opts)) || this;
681
+ _this.name = "ResourcePropagationDelayException";
682
+ _this.$fault = "client";
683
+ Object.setPrototypeOf(_this, ResourcePropagationDelayException.prototype);
684
+ return _this;
685
+ }
686
+ return ResourcePropagationDelayException;
687
+ }(__BaseException));
688
+ export { ResourcePropagationDelayException };
507
689
  export var TagResourceRequest;
508
690
  (function (TagResourceRequest) {
509
691
  TagResourceRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };