@aws-sdk/client-eks 3.987.0 → 3.988.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-cjs/index.js +85 -2871
- package/dist-cjs/models/EKSServiceException.js +12 -0
- package/dist-cjs/models/errors.js +265 -0
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-cjs/schemas/schemas_0.js +2249 -0
- package/dist-es/models/enums.js +2 -0
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +120 -114
- package/dist-types/commands/CreateNodegroupCommand.d.ts +2 -2
- package/dist-types/commands/DeleteNodegroupCommand.d.ts +1 -1
- package/dist-types/commands/DescribeNodegroupCommand.d.ts +1 -1
- package/dist-types/models/enums.d.ts +2 -0
- package/dist-types/schemas/schemas_0.d.ts +23 -16
- package/dist-types/ts3.4/models/enums.d.ts +2 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +18 -16
- package/package.json +13 -13
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.EKSServiceException = exports.__ServiceException = void 0;
|
|
4
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
5
|
+
Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
|
|
6
|
+
class EKSServiceException extends smithy_client_1.ServiceException {
|
|
7
|
+
constructor(options) {
|
|
8
|
+
super(options);
|
|
9
|
+
Object.setPrototypeOf(this, EKSServiceException.prototype);
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
exports.EKSServiceException = EKSServiceException;
|
|
@@ -0,0 +1,265 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.InvalidStateException = exports.ResourcePropagationDelayException = exports.NotFoundException = exports.BadRequestException = exports.UnsupportedAvailabilityZoneException = exports.ServiceUnavailableException = exports.ResourceLimitExceededException = exports.ThrottlingException = exports.ResourceInUseException = exports.ClientException = exports.ServerException = exports.ResourceNotFoundException = exports.InvalidRequestException = exports.InvalidParameterException = exports.AccessDeniedException = void 0;
|
|
4
|
+
const EKSServiceException_1 = require("./EKSServiceException");
|
|
5
|
+
class AccessDeniedException extends EKSServiceException_1.EKSServiceException {
|
|
6
|
+
name = "AccessDeniedException";
|
|
7
|
+
$fault = "client";
|
|
8
|
+
constructor(opts) {
|
|
9
|
+
super({
|
|
10
|
+
name: "AccessDeniedException",
|
|
11
|
+
$fault: "client",
|
|
12
|
+
...opts,
|
|
13
|
+
});
|
|
14
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
exports.AccessDeniedException = AccessDeniedException;
|
|
18
|
+
class InvalidParameterException extends EKSServiceException_1.EKSServiceException {
|
|
19
|
+
name = "InvalidParameterException";
|
|
20
|
+
$fault = "client";
|
|
21
|
+
clusterName;
|
|
22
|
+
nodegroupName;
|
|
23
|
+
fargateProfileName;
|
|
24
|
+
addonName;
|
|
25
|
+
subscriptionId;
|
|
26
|
+
constructor(opts) {
|
|
27
|
+
super({
|
|
28
|
+
name: "InvalidParameterException",
|
|
29
|
+
$fault: "client",
|
|
30
|
+
...opts,
|
|
31
|
+
});
|
|
32
|
+
Object.setPrototypeOf(this, InvalidParameterException.prototype);
|
|
33
|
+
this.clusterName = opts.clusterName;
|
|
34
|
+
this.nodegroupName = opts.nodegroupName;
|
|
35
|
+
this.fargateProfileName = opts.fargateProfileName;
|
|
36
|
+
this.addonName = opts.addonName;
|
|
37
|
+
this.subscriptionId = opts.subscriptionId;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
exports.InvalidParameterException = InvalidParameterException;
|
|
41
|
+
class InvalidRequestException extends EKSServiceException_1.EKSServiceException {
|
|
42
|
+
name = "InvalidRequestException";
|
|
43
|
+
$fault = "client";
|
|
44
|
+
clusterName;
|
|
45
|
+
nodegroupName;
|
|
46
|
+
addonName;
|
|
47
|
+
subscriptionId;
|
|
48
|
+
constructor(opts) {
|
|
49
|
+
super({
|
|
50
|
+
name: "InvalidRequestException",
|
|
51
|
+
$fault: "client",
|
|
52
|
+
...opts,
|
|
53
|
+
});
|
|
54
|
+
Object.setPrototypeOf(this, InvalidRequestException.prototype);
|
|
55
|
+
this.clusterName = opts.clusterName;
|
|
56
|
+
this.nodegroupName = opts.nodegroupName;
|
|
57
|
+
this.addonName = opts.addonName;
|
|
58
|
+
this.subscriptionId = opts.subscriptionId;
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
exports.InvalidRequestException = InvalidRequestException;
|
|
62
|
+
class ResourceNotFoundException extends EKSServiceException_1.EKSServiceException {
|
|
63
|
+
name = "ResourceNotFoundException";
|
|
64
|
+
$fault = "client";
|
|
65
|
+
clusterName;
|
|
66
|
+
nodegroupName;
|
|
67
|
+
fargateProfileName;
|
|
68
|
+
addonName;
|
|
69
|
+
subscriptionId;
|
|
70
|
+
constructor(opts) {
|
|
71
|
+
super({
|
|
72
|
+
name: "ResourceNotFoundException",
|
|
73
|
+
$fault: "client",
|
|
74
|
+
...opts,
|
|
75
|
+
});
|
|
76
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
77
|
+
this.clusterName = opts.clusterName;
|
|
78
|
+
this.nodegroupName = opts.nodegroupName;
|
|
79
|
+
this.fargateProfileName = opts.fargateProfileName;
|
|
80
|
+
this.addonName = opts.addonName;
|
|
81
|
+
this.subscriptionId = opts.subscriptionId;
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
85
|
+
class ServerException extends EKSServiceException_1.EKSServiceException {
|
|
86
|
+
name = "ServerException";
|
|
87
|
+
$fault = "server";
|
|
88
|
+
clusterName;
|
|
89
|
+
nodegroupName;
|
|
90
|
+
addonName;
|
|
91
|
+
subscriptionId;
|
|
92
|
+
constructor(opts) {
|
|
93
|
+
super({
|
|
94
|
+
name: "ServerException",
|
|
95
|
+
$fault: "server",
|
|
96
|
+
...opts,
|
|
97
|
+
});
|
|
98
|
+
Object.setPrototypeOf(this, ServerException.prototype);
|
|
99
|
+
this.clusterName = opts.clusterName;
|
|
100
|
+
this.nodegroupName = opts.nodegroupName;
|
|
101
|
+
this.addonName = opts.addonName;
|
|
102
|
+
this.subscriptionId = opts.subscriptionId;
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
exports.ServerException = ServerException;
|
|
106
|
+
class ClientException extends EKSServiceException_1.EKSServiceException {
|
|
107
|
+
name = "ClientException";
|
|
108
|
+
$fault = "client";
|
|
109
|
+
clusterName;
|
|
110
|
+
nodegroupName;
|
|
111
|
+
addonName;
|
|
112
|
+
subscriptionId;
|
|
113
|
+
constructor(opts) {
|
|
114
|
+
super({
|
|
115
|
+
name: "ClientException",
|
|
116
|
+
$fault: "client",
|
|
117
|
+
...opts,
|
|
118
|
+
});
|
|
119
|
+
Object.setPrototypeOf(this, ClientException.prototype);
|
|
120
|
+
this.clusterName = opts.clusterName;
|
|
121
|
+
this.nodegroupName = opts.nodegroupName;
|
|
122
|
+
this.addonName = opts.addonName;
|
|
123
|
+
this.subscriptionId = opts.subscriptionId;
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
exports.ClientException = ClientException;
|
|
127
|
+
class ResourceInUseException extends EKSServiceException_1.EKSServiceException {
|
|
128
|
+
name = "ResourceInUseException";
|
|
129
|
+
$fault = "client";
|
|
130
|
+
clusterName;
|
|
131
|
+
nodegroupName;
|
|
132
|
+
addonName;
|
|
133
|
+
constructor(opts) {
|
|
134
|
+
super({
|
|
135
|
+
name: "ResourceInUseException",
|
|
136
|
+
$fault: "client",
|
|
137
|
+
...opts,
|
|
138
|
+
});
|
|
139
|
+
Object.setPrototypeOf(this, ResourceInUseException.prototype);
|
|
140
|
+
this.clusterName = opts.clusterName;
|
|
141
|
+
this.nodegroupName = opts.nodegroupName;
|
|
142
|
+
this.addonName = opts.addonName;
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
exports.ResourceInUseException = ResourceInUseException;
|
|
146
|
+
class ThrottlingException extends EKSServiceException_1.EKSServiceException {
|
|
147
|
+
name = "ThrottlingException";
|
|
148
|
+
$fault = "client";
|
|
149
|
+
clusterName;
|
|
150
|
+
constructor(opts) {
|
|
151
|
+
super({
|
|
152
|
+
name: "ThrottlingException",
|
|
153
|
+
$fault: "client",
|
|
154
|
+
...opts,
|
|
155
|
+
});
|
|
156
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
157
|
+
this.clusterName = opts.clusterName;
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
exports.ThrottlingException = ThrottlingException;
|
|
161
|
+
class ResourceLimitExceededException extends EKSServiceException_1.EKSServiceException {
|
|
162
|
+
name = "ResourceLimitExceededException";
|
|
163
|
+
$fault = "client";
|
|
164
|
+
clusterName;
|
|
165
|
+
nodegroupName;
|
|
166
|
+
subscriptionId;
|
|
167
|
+
constructor(opts) {
|
|
168
|
+
super({
|
|
169
|
+
name: "ResourceLimitExceededException",
|
|
170
|
+
$fault: "client",
|
|
171
|
+
...opts,
|
|
172
|
+
});
|
|
173
|
+
Object.setPrototypeOf(this, ResourceLimitExceededException.prototype);
|
|
174
|
+
this.clusterName = opts.clusterName;
|
|
175
|
+
this.nodegroupName = opts.nodegroupName;
|
|
176
|
+
this.subscriptionId = opts.subscriptionId;
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
exports.ResourceLimitExceededException = ResourceLimitExceededException;
|
|
180
|
+
class ServiceUnavailableException extends EKSServiceException_1.EKSServiceException {
|
|
181
|
+
name = "ServiceUnavailableException";
|
|
182
|
+
$fault = "server";
|
|
183
|
+
constructor(opts) {
|
|
184
|
+
super({
|
|
185
|
+
name: "ServiceUnavailableException",
|
|
186
|
+
$fault: "server",
|
|
187
|
+
...opts,
|
|
188
|
+
});
|
|
189
|
+
Object.setPrototypeOf(this, ServiceUnavailableException.prototype);
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
exports.ServiceUnavailableException = ServiceUnavailableException;
|
|
193
|
+
class UnsupportedAvailabilityZoneException extends EKSServiceException_1.EKSServiceException {
|
|
194
|
+
name = "UnsupportedAvailabilityZoneException";
|
|
195
|
+
$fault = "client";
|
|
196
|
+
clusterName;
|
|
197
|
+
nodegroupName;
|
|
198
|
+
validZones;
|
|
199
|
+
constructor(opts) {
|
|
200
|
+
super({
|
|
201
|
+
name: "UnsupportedAvailabilityZoneException",
|
|
202
|
+
$fault: "client",
|
|
203
|
+
...opts,
|
|
204
|
+
});
|
|
205
|
+
Object.setPrototypeOf(this, UnsupportedAvailabilityZoneException.prototype);
|
|
206
|
+
this.clusterName = opts.clusterName;
|
|
207
|
+
this.nodegroupName = opts.nodegroupName;
|
|
208
|
+
this.validZones = opts.validZones;
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
exports.UnsupportedAvailabilityZoneException = UnsupportedAvailabilityZoneException;
|
|
212
|
+
class BadRequestException extends EKSServiceException_1.EKSServiceException {
|
|
213
|
+
name = "BadRequestException";
|
|
214
|
+
$fault = "client";
|
|
215
|
+
constructor(opts) {
|
|
216
|
+
super({
|
|
217
|
+
name: "BadRequestException",
|
|
218
|
+
$fault: "client",
|
|
219
|
+
...opts,
|
|
220
|
+
});
|
|
221
|
+
Object.setPrototypeOf(this, BadRequestException.prototype);
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
exports.BadRequestException = BadRequestException;
|
|
225
|
+
class NotFoundException extends EKSServiceException_1.EKSServiceException {
|
|
226
|
+
name = "NotFoundException";
|
|
227
|
+
$fault = "client";
|
|
228
|
+
constructor(opts) {
|
|
229
|
+
super({
|
|
230
|
+
name: "NotFoundException",
|
|
231
|
+
$fault: "client",
|
|
232
|
+
...opts,
|
|
233
|
+
});
|
|
234
|
+
Object.setPrototypeOf(this, NotFoundException.prototype);
|
|
235
|
+
}
|
|
236
|
+
}
|
|
237
|
+
exports.NotFoundException = NotFoundException;
|
|
238
|
+
class ResourcePropagationDelayException extends EKSServiceException_1.EKSServiceException {
|
|
239
|
+
name = "ResourcePropagationDelayException";
|
|
240
|
+
$fault = "client";
|
|
241
|
+
constructor(opts) {
|
|
242
|
+
super({
|
|
243
|
+
name: "ResourcePropagationDelayException",
|
|
244
|
+
$fault: "client",
|
|
245
|
+
...opts,
|
|
246
|
+
});
|
|
247
|
+
Object.setPrototypeOf(this, ResourcePropagationDelayException.prototype);
|
|
248
|
+
}
|
|
249
|
+
}
|
|
250
|
+
exports.ResourcePropagationDelayException = ResourcePropagationDelayException;
|
|
251
|
+
class InvalidStateException extends EKSServiceException_1.EKSServiceException {
|
|
252
|
+
name = "InvalidStateException";
|
|
253
|
+
$fault = "client";
|
|
254
|
+
clusterName;
|
|
255
|
+
constructor(opts) {
|
|
256
|
+
super({
|
|
257
|
+
name: "InvalidStateException",
|
|
258
|
+
$fault: "client",
|
|
259
|
+
...opts,
|
|
260
|
+
});
|
|
261
|
+
Object.setPrototypeOf(this, InvalidStateException.prototype);
|
|
262
|
+
this.clusterName = opts.clusterName;
|
|
263
|
+
}
|
|
264
|
+
}
|
|
265
|
+
exports.InvalidStateException = InvalidStateException;
|
|
@@ -9,6 +9,7 @@ const util_base64_1 = require("@smithy/util-base64");
|
|
|
9
9
|
const util_utf8_1 = require("@smithy/util-utf8");
|
|
10
10
|
const httpAuthSchemeProvider_1 = require("./auth/httpAuthSchemeProvider");
|
|
11
11
|
const endpointResolver_1 = require("./endpoint/endpointResolver");
|
|
12
|
+
const schemas_0_1 = require("./schemas/schemas_0");
|
|
12
13
|
const getRuntimeConfig = (config) => {
|
|
13
14
|
return {
|
|
14
15
|
apiVersion: "2017-11-01",
|
|
@@ -29,6 +30,7 @@ const getRuntimeConfig = (config) => {
|
|
|
29
30
|
protocol: config?.protocol ?? protocols_1.AwsRestJsonProtocol,
|
|
30
31
|
protocolSettings: config?.protocolSettings ?? {
|
|
31
32
|
defaultNamespace: "com.amazonaws.eks",
|
|
33
|
+
errorTypeRegistries: schemas_0_1.errorTypeRegistries,
|
|
32
34
|
version: "2017-11-01",
|
|
33
35
|
serviceTarget: "AWSWesleyFrontend",
|
|
34
36
|
},
|