@aws-sdk/client-efs 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.
@@ -0,0 +1,517 @@
1
+ import { EFSServiceException as __BaseException } from "./EFSServiceException";
2
+ export class AccessPointAlreadyExists extends __BaseException {
3
+ name = "AccessPointAlreadyExists";
4
+ $fault = "client";
5
+ ErrorCode;
6
+ Message;
7
+ AccessPointId;
8
+ constructor(opts) {
9
+ super({
10
+ name: "AccessPointAlreadyExists",
11
+ $fault: "client",
12
+ ...opts,
13
+ });
14
+ Object.setPrototypeOf(this, AccessPointAlreadyExists.prototype);
15
+ this.ErrorCode = opts.ErrorCode;
16
+ this.Message = opts.Message;
17
+ this.AccessPointId = opts.AccessPointId;
18
+ }
19
+ }
20
+ export class AccessPointLimitExceeded extends __BaseException {
21
+ name = "AccessPointLimitExceeded";
22
+ $fault = "client";
23
+ ErrorCode;
24
+ Message;
25
+ constructor(opts) {
26
+ super({
27
+ name: "AccessPointLimitExceeded",
28
+ $fault: "client",
29
+ ...opts,
30
+ });
31
+ Object.setPrototypeOf(this, AccessPointLimitExceeded.prototype);
32
+ this.ErrorCode = opts.ErrorCode;
33
+ this.Message = opts.Message;
34
+ }
35
+ }
36
+ export class AccessPointNotFound extends __BaseException {
37
+ name = "AccessPointNotFound";
38
+ $fault = "client";
39
+ ErrorCode;
40
+ Message;
41
+ constructor(opts) {
42
+ super({
43
+ name: "AccessPointNotFound",
44
+ $fault: "client",
45
+ ...opts,
46
+ });
47
+ Object.setPrototypeOf(this, AccessPointNotFound.prototype);
48
+ this.ErrorCode = opts.ErrorCode;
49
+ this.Message = opts.Message;
50
+ }
51
+ }
52
+ export class AvailabilityZonesMismatch extends __BaseException {
53
+ name = "AvailabilityZonesMismatch";
54
+ $fault = "client";
55
+ ErrorCode;
56
+ Message;
57
+ constructor(opts) {
58
+ super({
59
+ name: "AvailabilityZonesMismatch",
60
+ $fault: "client",
61
+ ...opts,
62
+ });
63
+ Object.setPrototypeOf(this, AvailabilityZonesMismatch.prototype);
64
+ this.ErrorCode = opts.ErrorCode;
65
+ this.Message = opts.Message;
66
+ }
67
+ }
68
+ export class BadRequest extends __BaseException {
69
+ name = "BadRequest";
70
+ $fault = "client";
71
+ ErrorCode;
72
+ Message;
73
+ constructor(opts) {
74
+ super({
75
+ name: "BadRequest",
76
+ $fault: "client",
77
+ ...opts,
78
+ });
79
+ Object.setPrototypeOf(this, BadRequest.prototype);
80
+ this.ErrorCode = opts.ErrorCode;
81
+ this.Message = opts.Message;
82
+ }
83
+ }
84
+ export class ConflictException extends __BaseException {
85
+ name = "ConflictException";
86
+ $fault = "client";
87
+ ErrorCode;
88
+ Message;
89
+ constructor(opts) {
90
+ super({
91
+ name: "ConflictException",
92
+ $fault: "client",
93
+ ...opts,
94
+ });
95
+ Object.setPrototypeOf(this, ConflictException.prototype);
96
+ this.ErrorCode = opts.ErrorCode;
97
+ this.Message = opts.Message;
98
+ }
99
+ }
100
+ export class FileSystemNotFound extends __BaseException {
101
+ name = "FileSystemNotFound";
102
+ $fault = "client";
103
+ ErrorCode;
104
+ Message;
105
+ constructor(opts) {
106
+ super({
107
+ name: "FileSystemNotFound",
108
+ $fault: "client",
109
+ ...opts,
110
+ });
111
+ Object.setPrototypeOf(this, FileSystemNotFound.prototype);
112
+ this.ErrorCode = opts.ErrorCode;
113
+ this.Message = opts.Message;
114
+ }
115
+ }
116
+ export class IncorrectFileSystemLifeCycleState extends __BaseException {
117
+ name = "IncorrectFileSystemLifeCycleState";
118
+ $fault = "client";
119
+ ErrorCode;
120
+ Message;
121
+ constructor(opts) {
122
+ super({
123
+ name: "IncorrectFileSystemLifeCycleState",
124
+ $fault: "client",
125
+ ...opts,
126
+ });
127
+ Object.setPrototypeOf(this, IncorrectFileSystemLifeCycleState.prototype);
128
+ this.ErrorCode = opts.ErrorCode;
129
+ this.Message = opts.Message;
130
+ }
131
+ }
132
+ export class InternalServerError extends __BaseException {
133
+ name = "InternalServerError";
134
+ $fault = "server";
135
+ ErrorCode;
136
+ Message;
137
+ constructor(opts) {
138
+ super({
139
+ name: "InternalServerError",
140
+ $fault: "server",
141
+ ...opts,
142
+ });
143
+ Object.setPrototypeOf(this, InternalServerError.prototype);
144
+ this.ErrorCode = opts.ErrorCode;
145
+ this.Message = opts.Message;
146
+ }
147
+ }
148
+ export class ThrottlingException extends __BaseException {
149
+ name = "ThrottlingException";
150
+ $fault = "client";
151
+ ErrorCode;
152
+ Message;
153
+ constructor(opts) {
154
+ super({
155
+ name: "ThrottlingException",
156
+ $fault: "client",
157
+ ...opts,
158
+ });
159
+ Object.setPrototypeOf(this, ThrottlingException.prototype);
160
+ this.ErrorCode = opts.ErrorCode;
161
+ this.Message = opts.Message;
162
+ }
163
+ }
164
+ export class FileSystemAlreadyExists extends __BaseException {
165
+ name = "FileSystemAlreadyExists";
166
+ $fault = "client";
167
+ ErrorCode;
168
+ Message;
169
+ FileSystemId;
170
+ constructor(opts) {
171
+ super({
172
+ name: "FileSystemAlreadyExists",
173
+ $fault: "client",
174
+ ...opts,
175
+ });
176
+ Object.setPrototypeOf(this, FileSystemAlreadyExists.prototype);
177
+ this.ErrorCode = opts.ErrorCode;
178
+ this.Message = opts.Message;
179
+ this.FileSystemId = opts.FileSystemId;
180
+ }
181
+ }
182
+ export class FileSystemLimitExceeded extends __BaseException {
183
+ name = "FileSystemLimitExceeded";
184
+ $fault = "client";
185
+ ErrorCode;
186
+ Message;
187
+ constructor(opts) {
188
+ super({
189
+ name: "FileSystemLimitExceeded",
190
+ $fault: "client",
191
+ ...opts,
192
+ });
193
+ Object.setPrototypeOf(this, FileSystemLimitExceeded.prototype);
194
+ this.ErrorCode = opts.ErrorCode;
195
+ this.Message = opts.Message;
196
+ }
197
+ }
198
+ export class InsufficientThroughputCapacity extends __BaseException {
199
+ name = "InsufficientThroughputCapacity";
200
+ $fault = "server";
201
+ ErrorCode;
202
+ Message;
203
+ constructor(opts) {
204
+ super({
205
+ name: "InsufficientThroughputCapacity",
206
+ $fault: "server",
207
+ ...opts,
208
+ });
209
+ Object.setPrototypeOf(this, InsufficientThroughputCapacity.prototype);
210
+ this.ErrorCode = opts.ErrorCode;
211
+ this.Message = opts.Message;
212
+ }
213
+ }
214
+ export class ThroughputLimitExceeded extends __BaseException {
215
+ name = "ThroughputLimitExceeded";
216
+ $fault = "client";
217
+ ErrorCode;
218
+ Message;
219
+ constructor(opts) {
220
+ super({
221
+ name: "ThroughputLimitExceeded",
222
+ $fault: "client",
223
+ ...opts,
224
+ });
225
+ Object.setPrototypeOf(this, ThroughputLimitExceeded.prototype);
226
+ this.ErrorCode = opts.ErrorCode;
227
+ this.Message = opts.Message;
228
+ }
229
+ }
230
+ export class UnsupportedAvailabilityZone extends __BaseException {
231
+ name = "UnsupportedAvailabilityZone";
232
+ $fault = "client";
233
+ ErrorCode;
234
+ Message;
235
+ constructor(opts) {
236
+ super({
237
+ name: "UnsupportedAvailabilityZone",
238
+ $fault: "client",
239
+ ...opts,
240
+ });
241
+ Object.setPrototypeOf(this, UnsupportedAvailabilityZone.prototype);
242
+ this.ErrorCode = opts.ErrorCode;
243
+ this.Message = opts.Message;
244
+ }
245
+ }
246
+ export class IpAddressInUse extends __BaseException {
247
+ name = "IpAddressInUse";
248
+ $fault = "client";
249
+ ErrorCode;
250
+ Message;
251
+ constructor(opts) {
252
+ super({
253
+ name: "IpAddressInUse",
254
+ $fault: "client",
255
+ ...opts,
256
+ });
257
+ Object.setPrototypeOf(this, IpAddressInUse.prototype);
258
+ this.ErrorCode = opts.ErrorCode;
259
+ this.Message = opts.Message;
260
+ }
261
+ }
262
+ export class MountTargetConflict extends __BaseException {
263
+ name = "MountTargetConflict";
264
+ $fault = "client";
265
+ ErrorCode;
266
+ Message;
267
+ constructor(opts) {
268
+ super({
269
+ name: "MountTargetConflict",
270
+ $fault: "client",
271
+ ...opts,
272
+ });
273
+ Object.setPrototypeOf(this, MountTargetConflict.prototype);
274
+ this.ErrorCode = opts.ErrorCode;
275
+ this.Message = opts.Message;
276
+ }
277
+ }
278
+ export class NetworkInterfaceLimitExceeded extends __BaseException {
279
+ name = "NetworkInterfaceLimitExceeded";
280
+ $fault = "client";
281
+ ErrorCode;
282
+ Message;
283
+ constructor(opts) {
284
+ super({
285
+ name: "NetworkInterfaceLimitExceeded",
286
+ $fault: "client",
287
+ ...opts,
288
+ });
289
+ Object.setPrototypeOf(this, NetworkInterfaceLimitExceeded.prototype);
290
+ this.ErrorCode = opts.ErrorCode;
291
+ this.Message = opts.Message;
292
+ }
293
+ }
294
+ export class NoFreeAddressesInSubnet extends __BaseException {
295
+ name = "NoFreeAddressesInSubnet";
296
+ $fault = "client";
297
+ ErrorCode;
298
+ Message;
299
+ constructor(opts) {
300
+ super({
301
+ name: "NoFreeAddressesInSubnet",
302
+ $fault: "client",
303
+ ...opts,
304
+ });
305
+ Object.setPrototypeOf(this, NoFreeAddressesInSubnet.prototype);
306
+ this.ErrorCode = opts.ErrorCode;
307
+ this.Message = opts.Message;
308
+ }
309
+ }
310
+ export class SecurityGroupLimitExceeded extends __BaseException {
311
+ name = "SecurityGroupLimitExceeded";
312
+ $fault = "client";
313
+ ErrorCode;
314
+ Message;
315
+ constructor(opts) {
316
+ super({
317
+ name: "SecurityGroupLimitExceeded",
318
+ $fault: "client",
319
+ ...opts,
320
+ });
321
+ Object.setPrototypeOf(this, SecurityGroupLimitExceeded.prototype);
322
+ this.ErrorCode = opts.ErrorCode;
323
+ this.Message = opts.Message;
324
+ }
325
+ }
326
+ export class SecurityGroupNotFound extends __BaseException {
327
+ name = "SecurityGroupNotFound";
328
+ $fault = "client";
329
+ ErrorCode;
330
+ Message;
331
+ constructor(opts) {
332
+ super({
333
+ name: "SecurityGroupNotFound",
334
+ $fault: "client",
335
+ ...opts,
336
+ });
337
+ Object.setPrototypeOf(this, SecurityGroupNotFound.prototype);
338
+ this.ErrorCode = opts.ErrorCode;
339
+ this.Message = opts.Message;
340
+ }
341
+ }
342
+ export class SubnetNotFound extends __BaseException {
343
+ name = "SubnetNotFound";
344
+ $fault = "client";
345
+ ErrorCode;
346
+ Message;
347
+ constructor(opts) {
348
+ super({
349
+ name: "SubnetNotFound",
350
+ $fault: "client",
351
+ ...opts,
352
+ });
353
+ Object.setPrototypeOf(this, SubnetNotFound.prototype);
354
+ this.ErrorCode = opts.ErrorCode;
355
+ this.Message = opts.Message;
356
+ }
357
+ }
358
+ export class ReplicationNotFound extends __BaseException {
359
+ name = "ReplicationNotFound";
360
+ $fault = "client";
361
+ ErrorCode;
362
+ Message;
363
+ constructor(opts) {
364
+ super({
365
+ name: "ReplicationNotFound",
366
+ $fault: "client",
367
+ ...opts,
368
+ });
369
+ Object.setPrototypeOf(this, ReplicationNotFound.prototype);
370
+ this.ErrorCode = opts.ErrorCode;
371
+ this.Message = opts.Message;
372
+ }
373
+ }
374
+ export class ValidationException extends __BaseException {
375
+ name = "ValidationException";
376
+ $fault = "client";
377
+ ErrorCode;
378
+ Message;
379
+ constructor(opts) {
380
+ super({
381
+ name: "ValidationException",
382
+ $fault: "client",
383
+ ...opts,
384
+ });
385
+ Object.setPrototypeOf(this, ValidationException.prototype);
386
+ this.ErrorCode = opts.ErrorCode;
387
+ this.Message = opts.Message;
388
+ }
389
+ }
390
+ export class FileSystemInUse extends __BaseException {
391
+ name = "FileSystemInUse";
392
+ $fault = "client";
393
+ ErrorCode;
394
+ Message;
395
+ constructor(opts) {
396
+ super({
397
+ name: "FileSystemInUse",
398
+ $fault: "client",
399
+ ...opts,
400
+ });
401
+ Object.setPrototypeOf(this, FileSystemInUse.prototype);
402
+ this.ErrorCode = opts.ErrorCode;
403
+ this.Message = opts.Message;
404
+ }
405
+ }
406
+ export class DependencyTimeout extends __BaseException {
407
+ name = "DependencyTimeout";
408
+ $fault = "server";
409
+ ErrorCode;
410
+ Message;
411
+ constructor(opts) {
412
+ super({
413
+ name: "DependencyTimeout",
414
+ $fault: "server",
415
+ ...opts,
416
+ });
417
+ Object.setPrototypeOf(this, DependencyTimeout.prototype);
418
+ this.ErrorCode = opts.ErrorCode;
419
+ this.Message = opts.Message;
420
+ }
421
+ }
422
+ export class MountTargetNotFound extends __BaseException {
423
+ name = "MountTargetNotFound";
424
+ $fault = "client";
425
+ ErrorCode;
426
+ Message;
427
+ constructor(opts) {
428
+ super({
429
+ name: "MountTargetNotFound",
430
+ $fault: "client",
431
+ ...opts,
432
+ });
433
+ Object.setPrototypeOf(this, MountTargetNotFound.prototype);
434
+ this.ErrorCode = opts.ErrorCode;
435
+ this.Message = opts.Message;
436
+ }
437
+ }
438
+ export class PolicyNotFound extends __BaseException {
439
+ name = "PolicyNotFound";
440
+ $fault = "client";
441
+ ErrorCode;
442
+ Message;
443
+ constructor(opts) {
444
+ super({
445
+ name: "PolicyNotFound",
446
+ $fault: "client",
447
+ ...opts,
448
+ });
449
+ Object.setPrototypeOf(this, PolicyNotFound.prototype);
450
+ this.ErrorCode = opts.ErrorCode;
451
+ this.Message = opts.Message;
452
+ }
453
+ }
454
+ export class IncorrectMountTargetState extends __BaseException {
455
+ name = "IncorrectMountTargetState";
456
+ $fault = "client";
457
+ ErrorCode;
458
+ Message;
459
+ constructor(opts) {
460
+ super({
461
+ name: "IncorrectMountTargetState",
462
+ $fault: "client",
463
+ ...opts,
464
+ });
465
+ Object.setPrototypeOf(this, IncorrectMountTargetState.prototype);
466
+ this.ErrorCode = opts.ErrorCode;
467
+ this.Message = opts.Message;
468
+ }
469
+ }
470
+ export class InvalidPolicyException extends __BaseException {
471
+ name = "InvalidPolicyException";
472
+ $fault = "client";
473
+ ErrorCode;
474
+ Message;
475
+ constructor(opts) {
476
+ super({
477
+ name: "InvalidPolicyException",
478
+ $fault: "client",
479
+ ...opts,
480
+ });
481
+ Object.setPrototypeOf(this, InvalidPolicyException.prototype);
482
+ this.ErrorCode = opts.ErrorCode;
483
+ this.Message = opts.Message;
484
+ }
485
+ }
486
+ export class TooManyRequests extends __BaseException {
487
+ name = "TooManyRequests";
488
+ $fault = "client";
489
+ ErrorCode;
490
+ Message;
491
+ constructor(opts) {
492
+ super({
493
+ name: "TooManyRequests",
494
+ $fault: "client",
495
+ ...opts,
496
+ });
497
+ Object.setPrototypeOf(this, TooManyRequests.prototype);
498
+ this.ErrorCode = opts.ErrorCode;
499
+ this.Message = opts.Message;
500
+ }
501
+ }
502
+ export class ReplicationAlreadyExists extends __BaseException {
503
+ name = "ReplicationAlreadyExists";
504
+ $fault = "client";
505
+ ErrorCode;
506
+ Message;
507
+ constructor(opts) {
508
+ super({
509
+ name: "ReplicationAlreadyExists",
510
+ $fault: "client",
511
+ ...opts,
512
+ });
513
+ Object.setPrototypeOf(this, ReplicationAlreadyExists.prototype);
514
+ this.ErrorCode = opts.ErrorCode;
515
+ this.Message = opts.Message;
516
+ }
517
+ }