@aws-sdk/client-eks 3.934.0 → 3.936.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 +364 -363
- package/dist-es/index.js +2 -1
- package/dist-es/models/enums.js +317 -0
- package/dist-es/models/errors.js +247 -0
- package/dist-es/models/models_0.js +1 -564
- package/dist-es/schemas/schemas_0.js +1 -1
- package/dist-types/index.d.ts +3 -1
- package/dist-types/models/enums.d.ts +581 -0
- package/dist-types/models/errors.d.ts +372 -0
- package/dist-types/models/models_0.d.ts +1 -953
- package/dist-types/ts3.4/index.d.ts +3 -1
- package/dist-types/ts3.4/models/enums.d.ts +368 -0
- package/dist-types/ts3.4/models/errors.d.ts +140 -0
- package/dist-types/ts3.4/models/models_0.d.ts +35 -508
- package/package.json +19 -19
- package/dist-es/models/index.js +0 -1
- package/dist-types/models/index.d.ts +0 -1
- package/dist-types/ts3.4/models/index.d.ts +0 -1
|
@@ -0,0 +1,372 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { EKSServiceException as __BaseException } from "./EKSServiceException";
|
|
3
|
+
/**
|
|
4
|
+
* <p>You don't have permissions to perform the requested operation. The <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_terms-and-concepts.html">IAM principal</a>
|
|
5
|
+
* making the request must have at least one IAM permissions policy attached that grants
|
|
6
|
+
* the required permissions. For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html">Access
|
|
7
|
+
* management</a> in the <i>IAM User Guide</i>. </p>
|
|
8
|
+
* @public
|
|
9
|
+
*/
|
|
10
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
11
|
+
readonly name: "AccessDeniedException";
|
|
12
|
+
readonly $fault: "client";
|
|
13
|
+
/**
|
|
14
|
+
* @internal
|
|
15
|
+
*/
|
|
16
|
+
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* <p>The specified parameter is invalid. Review the available parameters for the API
|
|
20
|
+
* request.</p>
|
|
21
|
+
* @public
|
|
22
|
+
*/
|
|
23
|
+
export declare class InvalidParameterException extends __BaseException {
|
|
24
|
+
readonly name: "InvalidParameterException";
|
|
25
|
+
readonly $fault: "client";
|
|
26
|
+
/**
|
|
27
|
+
* <p>The Amazon EKS cluster associated with the exception.</p>
|
|
28
|
+
* @public
|
|
29
|
+
*/
|
|
30
|
+
clusterName?: string | undefined;
|
|
31
|
+
/**
|
|
32
|
+
* <p>The Amazon EKS managed node group associated with the exception.</p>
|
|
33
|
+
* @public
|
|
34
|
+
*/
|
|
35
|
+
nodegroupName?: string | undefined;
|
|
36
|
+
/**
|
|
37
|
+
* <p>The Fargate profile associated with the exception.</p>
|
|
38
|
+
* @public
|
|
39
|
+
*/
|
|
40
|
+
fargateProfileName?: string | undefined;
|
|
41
|
+
/**
|
|
42
|
+
* <p>The specified parameter for the add-on name is invalid. Review the available
|
|
43
|
+
* parameters for the API request</p>
|
|
44
|
+
* @public
|
|
45
|
+
*/
|
|
46
|
+
addonName?: string | undefined;
|
|
47
|
+
/**
|
|
48
|
+
* <p>The Amazon EKS subscription ID with the exception.</p>
|
|
49
|
+
* @public
|
|
50
|
+
*/
|
|
51
|
+
subscriptionId?: string | undefined;
|
|
52
|
+
/**
|
|
53
|
+
* @internal
|
|
54
|
+
*/
|
|
55
|
+
constructor(opts: __ExceptionOptionType<InvalidParameterException, __BaseException>);
|
|
56
|
+
}
|
|
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>
|
|
60
|
+
* @public
|
|
61
|
+
*/
|
|
62
|
+
export declare class InvalidRequestException extends __BaseException {
|
|
63
|
+
readonly name: "InvalidRequestException";
|
|
64
|
+
readonly $fault: "client";
|
|
65
|
+
/**
|
|
66
|
+
* <p>The Amazon EKS cluster associated with the exception.</p>
|
|
67
|
+
* @public
|
|
68
|
+
*/
|
|
69
|
+
clusterName?: string | undefined;
|
|
70
|
+
/**
|
|
71
|
+
* <p>The Amazon EKS managed node group associated with the exception.</p>
|
|
72
|
+
* @public
|
|
73
|
+
*/
|
|
74
|
+
nodegroupName?: string | undefined;
|
|
75
|
+
/**
|
|
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
|
+
* @public
|
|
79
|
+
*/
|
|
80
|
+
addonName?: string | undefined;
|
|
81
|
+
/**
|
|
82
|
+
* <p>The Amazon EKS subscription ID with the exception.</p>
|
|
83
|
+
* @public
|
|
84
|
+
*/
|
|
85
|
+
subscriptionId?: string | undefined;
|
|
86
|
+
/**
|
|
87
|
+
* @internal
|
|
88
|
+
*/
|
|
89
|
+
constructor(opts: __ExceptionOptionType<InvalidRequestException, __BaseException>);
|
|
90
|
+
}
|
|
91
|
+
/**
|
|
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>
|
|
96
|
+
* @public
|
|
97
|
+
*/
|
|
98
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
99
|
+
readonly name: "ResourceNotFoundException";
|
|
100
|
+
readonly $fault: "client";
|
|
101
|
+
/**
|
|
102
|
+
* <p>The Amazon EKS cluster associated with the exception.</p>
|
|
103
|
+
* @public
|
|
104
|
+
*/
|
|
105
|
+
clusterName?: string | undefined;
|
|
106
|
+
/**
|
|
107
|
+
* <p>The Amazon EKS managed node group associated with the exception.</p>
|
|
108
|
+
* @public
|
|
109
|
+
*/
|
|
110
|
+
nodegroupName?: string | undefined;
|
|
111
|
+
/**
|
|
112
|
+
* <p>The Fargate profile associated with the exception.</p>
|
|
113
|
+
* @public
|
|
114
|
+
*/
|
|
115
|
+
fargateProfileName?: string | undefined;
|
|
116
|
+
/**
|
|
117
|
+
* <p>The Amazon EKS add-on name associated with the exception.</p>
|
|
118
|
+
* @public
|
|
119
|
+
*/
|
|
120
|
+
addonName?: string | undefined;
|
|
121
|
+
/**
|
|
122
|
+
* <p>The Amazon EKS subscription ID with the exception.</p>
|
|
123
|
+
* @public
|
|
124
|
+
*/
|
|
125
|
+
subscriptionId?: string | undefined;
|
|
126
|
+
/**
|
|
127
|
+
* @internal
|
|
128
|
+
*/
|
|
129
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
130
|
+
}
|
|
131
|
+
/**
|
|
132
|
+
* <p>These errors are usually caused by a server-side issue.</p>
|
|
133
|
+
* @public
|
|
134
|
+
*/
|
|
135
|
+
export declare class ServerException extends __BaseException {
|
|
136
|
+
readonly name: "ServerException";
|
|
137
|
+
readonly $fault: "server";
|
|
138
|
+
/**
|
|
139
|
+
* <p>The Amazon EKS cluster associated with the exception.</p>
|
|
140
|
+
* @public
|
|
141
|
+
*/
|
|
142
|
+
clusterName?: string | undefined;
|
|
143
|
+
/**
|
|
144
|
+
* <p>The Amazon EKS managed node group associated with the exception.</p>
|
|
145
|
+
* @public
|
|
146
|
+
*/
|
|
147
|
+
nodegroupName?: string | undefined;
|
|
148
|
+
/**
|
|
149
|
+
* <p>The Amazon EKS add-on name associated with the exception.</p>
|
|
150
|
+
* @public
|
|
151
|
+
*/
|
|
152
|
+
addonName?: string | undefined;
|
|
153
|
+
/**
|
|
154
|
+
* <p>The Amazon EKS subscription ID with the exception.</p>
|
|
155
|
+
* @public
|
|
156
|
+
*/
|
|
157
|
+
subscriptionId?: string | undefined;
|
|
158
|
+
/**
|
|
159
|
+
* @internal
|
|
160
|
+
*/
|
|
161
|
+
constructor(opts: __ExceptionOptionType<ServerException, __BaseException>);
|
|
162
|
+
}
|
|
163
|
+
/**
|
|
164
|
+
* <p>These errors are usually caused by a client action. Actions can include using an
|
|
165
|
+
* action or resource on behalf of an <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_terms-and-concepts.html">IAM principal</a> that doesn't have permissions to use
|
|
166
|
+
* the action or resource or specifying an identifier that is not valid.</p>
|
|
167
|
+
* @public
|
|
168
|
+
*/
|
|
169
|
+
export declare class ClientException extends __BaseException {
|
|
170
|
+
readonly name: "ClientException";
|
|
171
|
+
readonly $fault: "client";
|
|
172
|
+
/**
|
|
173
|
+
* <p>The Amazon EKS cluster associated with the exception.</p>
|
|
174
|
+
* @public
|
|
175
|
+
*/
|
|
176
|
+
clusterName?: string | undefined;
|
|
177
|
+
/**
|
|
178
|
+
* <p>The Amazon EKS managed node group associated with the exception.</p>
|
|
179
|
+
* @public
|
|
180
|
+
*/
|
|
181
|
+
nodegroupName?: string | undefined;
|
|
182
|
+
/**
|
|
183
|
+
* <p>The Amazon EKS add-on name associated with the exception.</p>
|
|
184
|
+
* @public
|
|
185
|
+
*/
|
|
186
|
+
addonName?: string | undefined;
|
|
187
|
+
/**
|
|
188
|
+
* <p>The Amazon EKS subscription ID with the exception.</p>
|
|
189
|
+
* @public
|
|
190
|
+
*/
|
|
191
|
+
subscriptionId?: string | undefined;
|
|
192
|
+
/**
|
|
193
|
+
* @internal
|
|
194
|
+
*/
|
|
195
|
+
constructor(opts: __ExceptionOptionType<ClientException, __BaseException>);
|
|
196
|
+
}
|
|
197
|
+
/**
|
|
198
|
+
* <p>The specified resource is in use.</p>
|
|
199
|
+
* @public
|
|
200
|
+
*/
|
|
201
|
+
export declare class ResourceInUseException extends __BaseException {
|
|
202
|
+
readonly name: "ResourceInUseException";
|
|
203
|
+
readonly $fault: "client";
|
|
204
|
+
/**
|
|
205
|
+
* <p>The Amazon EKS cluster associated with the exception.</p>
|
|
206
|
+
* @public
|
|
207
|
+
*/
|
|
208
|
+
clusterName?: string | undefined;
|
|
209
|
+
/**
|
|
210
|
+
* <p>The Amazon EKS managed node group associated with the exception.</p>
|
|
211
|
+
* @public
|
|
212
|
+
*/
|
|
213
|
+
nodegroupName?: string | undefined;
|
|
214
|
+
/**
|
|
215
|
+
* <p>The specified add-on name is in use.</p>
|
|
216
|
+
* @public
|
|
217
|
+
*/
|
|
218
|
+
addonName?: string | undefined;
|
|
219
|
+
/**
|
|
220
|
+
* @internal
|
|
221
|
+
*/
|
|
222
|
+
constructor(opts: __ExceptionOptionType<ResourceInUseException, __BaseException>);
|
|
223
|
+
}
|
|
224
|
+
/**
|
|
225
|
+
* <p>The request or operation couldn't be performed because a service is throttling
|
|
226
|
+
* requests.</p>
|
|
227
|
+
* @public
|
|
228
|
+
*/
|
|
229
|
+
export declare class ThrottlingException extends __BaseException {
|
|
230
|
+
readonly name: "ThrottlingException";
|
|
231
|
+
readonly $fault: "client";
|
|
232
|
+
/**
|
|
233
|
+
* <p>The Amazon EKS cluster associated with the exception.</p>
|
|
234
|
+
* @public
|
|
235
|
+
*/
|
|
236
|
+
clusterName?: string | undefined;
|
|
237
|
+
/**
|
|
238
|
+
* @internal
|
|
239
|
+
*/
|
|
240
|
+
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
241
|
+
}
|
|
242
|
+
/**
|
|
243
|
+
* <p>You have encountered a service limit on the specified resource.</p>
|
|
244
|
+
* @public
|
|
245
|
+
*/
|
|
246
|
+
export declare class ResourceLimitExceededException extends __BaseException {
|
|
247
|
+
readonly name: "ResourceLimitExceededException";
|
|
248
|
+
readonly $fault: "client";
|
|
249
|
+
/**
|
|
250
|
+
* <p>The Amazon EKS cluster associated with the exception.</p>
|
|
251
|
+
* @public
|
|
252
|
+
*/
|
|
253
|
+
clusterName?: string | undefined;
|
|
254
|
+
/**
|
|
255
|
+
* <p>The Amazon EKS managed node group associated with the exception.</p>
|
|
256
|
+
* @public
|
|
257
|
+
*/
|
|
258
|
+
nodegroupName?: string | undefined;
|
|
259
|
+
/**
|
|
260
|
+
* <p>The Amazon EKS subscription ID with the exception.</p>
|
|
261
|
+
* @public
|
|
262
|
+
*/
|
|
263
|
+
subscriptionId?: string | undefined;
|
|
264
|
+
/**
|
|
265
|
+
* @internal
|
|
266
|
+
*/
|
|
267
|
+
constructor(opts: __ExceptionOptionType<ResourceLimitExceededException, __BaseException>);
|
|
268
|
+
}
|
|
269
|
+
/**
|
|
270
|
+
* <p>The service is unavailable. Back off and retry the operation.</p>
|
|
271
|
+
* @public
|
|
272
|
+
*/
|
|
273
|
+
export declare class ServiceUnavailableException extends __BaseException {
|
|
274
|
+
readonly name: "ServiceUnavailableException";
|
|
275
|
+
readonly $fault: "server";
|
|
276
|
+
/**
|
|
277
|
+
* @internal
|
|
278
|
+
*/
|
|
279
|
+
constructor(opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>);
|
|
280
|
+
}
|
|
281
|
+
/**
|
|
282
|
+
* <p>At least one of your specified cluster subnets is in an Availability Zone that does not support
|
|
283
|
+
* Amazon EKS. The exception output specifies the supported Availability Zones for your account, from which
|
|
284
|
+
* you can choose subnets for your cluster.</p>
|
|
285
|
+
* @public
|
|
286
|
+
*/
|
|
287
|
+
export declare class UnsupportedAvailabilityZoneException extends __BaseException {
|
|
288
|
+
readonly name: "UnsupportedAvailabilityZoneException";
|
|
289
|
+
readonly $fault: "client";
|
|
290
|
+
/**
|
|
291
|
+
* <p>The Amazon EKS cluster associated with the exception.</p>
|
|
292
|
+
* @public
|
|
293
|
+
*/
|
|
294
|
+
clusterName?: string | undefined;
|
|
295
|
+
/**
|
|
296
|
+
* <p>The Amazon EKS managed node group associated with the exception.</p>
|
|
297
|
+
* @public
|
|
298
|
+
*/
|
|
299
|
+
nodegroupName?: string | undefined;
|
|
300
|
+
/**
|
|
301
|
+
* <p>The supported Availability Zones for your account. Choose subnets in these Availability Zones for your
|
|
302
|
+
* cluster.</p>
|
|
303
|
+
* @public
|
|
304
|
+
*/
|
|
305
|
+
validZones?: string[] | undefined;
|
|
306
|
+
/**
|
|
307
|
+
* @internal
|
|
308
|
+
*/
|
|
309
|
+
constructor(opts: __ExceptionOptionType<UnsupportedAvailabilityZoneException, __BaseException>);
|
|
310
|
+
}
|
|
311
|
+
/**
|
|
312
|
+
* <p>This exception is thrown if the request contains a semantic error. The precise meaning
|
|
313
|
+
* will depend on the API, and will be documented in the error message.</p>
|
|
314
|
+
* @public
|
|
315
|
+
*/
|
|
316
|
+
export declare class BadRequestException extends __BaseException {
|
|
317
|
+
readonly name: "BadRequestException";
|
|
318
|
+
readonly $fault: "client";
|
|
319
|
+
/**
|
|
320
|
+
* @internal
|
|
321
|
+
*/
|
|
322
|
+
constructor(opts: __ExceptionOptionType<BadRequestException, __BaseException>);
|
|
323
|
+
}
|
|
324
|
+
/**
|
|
325
|
+
* <p>A service resource associated with the request could not be found. Clients should not
|
|
326
|
+
* retry such requests.</p>
|
|
327
|
+
* @public
|
|
328
|
+
*/
|
|
329
|
+
export declare class NotFoundException extends __BaseException {
|
|
330
|
+
readonly name: "NotFoundException";
|
|
331
|
+
readonly $fault: "client";
|
|
332
|
+
/**
|
|
333
|
+
* @internal
|
|
334
|
+
*/
|
|
335
|
+
constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
|
|
336
|
+
}
|
|
337
|
+
/**
|
|
338
|
+
* <p>Required resources (such as service-linked roles) were created and are still
|
|
339
|
+
* propagating. Retry later.</p>
|
|
340
|
+
* @public
|
|
341
|
+
*/
|
|
342
|
+
export declare class ResourcePropagationDelayException extends __BaseException {
|
|
343
|
+
readonly name: "ResourcePropagationDelayException";
|
|
344
|
+
readonly $fault: "client";
|
|
345
|
+
/**
|
|
346
|
+
* @internal
|
|
347
|
+
*/
|
|
348
|
+
constructor(opts: __ExceptionOptionType<ResourcePropagationDelayException, __BaseException>);
|
|
349
|
+
}
|
|
350
|
+
/**
|
|
351
|
+
* <p>Amazon EKS detected upgrade readiness issues. Call the <a href="https://docs.aws.amazon.com/eks/latest/APIReference/API_ListInsights.html">
|
|
352
|
+
* <code>ListInsights</code>
|
|
353
|
+
* </a> API to view detected upgrade blocking issues.
|
|
354
|
+
* Pass the <a href="https://docs.aws.amazon.com/eks/latest/APIReference/API_UpdateClusterVersion.html#API_UpdateClusterVersion_RequestBody">
|
|
355
|
+
* <code>force</code>
|
|
356
|
+
* </a> flag when updating to override upgrade readiness
|
|
357
|
+
* errors.</p>
|
|
358
|
+
* @public
|
|
359
|
+
*/
|
|
360
|
+
export declare class InvalidStateException extends __BaseException {
|
|
361
|
+
readonly name: "InvalidStateException";
|
|
362
|
+
readonly $fault: "client";
|
|
363
|
+
/**
|
|
364
|
+
* <p>The Amazon EKS cluster associated with the exception.</p>
|
|
365
|
+
* @public
|
|
366
|
+
*/
|
|
367
|
+
clusterName?: string | undefined;
|
|
368
|
+
/**
|
|
369
|
+
* @internal
|
|
370
|
+
*/
|
|
371
|
+
constructor(opts: __ExceptionOptionType<InvalidStateException, __BaseException>);
|
|
372
|
+
}
|