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