@aws-sdk/client-efs 3.1075.0 → 3.1077.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 CHANGED
@@ -1,21 +1,58 @@
1
- var __exportStar = (m, e) => { Object.assign(e, m); };
2
- const { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
1
+ const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
3
2
  const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
4
- const { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
3
+ const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
5
4
  exports.$Command = Command;
6
5
  exports.__Client = Client;
7
- const { resolveRegionConfig } = require("@smithy/core/config");
8
- const { resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
9
- const { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig, getContentLengthPlugin } = require("@smithy/core/protocols");
10
- const { resolveRetryConfig, getRetryPlugin } = require("@smithy/core/retry");
11
- const { getSchemaSerdePlugin } = require("@smithy/core/schema");
12
- const { resolveHttpAuthSchemeConfig, defaultEFSHttpAuthSchemeParametersProvider } = require("./auth/httpAuthSchemeProvider");
13
- const { getRuntimeConfig } = require("./runtimeConfig");
14
- const { CreateAccessPoint$, CreateFileSystem$, CreateMountTarget$, CreateReplicationConfiguration$, CreateTags$, DeleteAccessPoint$, DeleteFileSystem$, DeleteFileSystemPolicy$, DeleteMountTarget$, DeleteReplicationConfiguration$, DeleteTags$, DescribeAccessPoints$, DescribeAccountPreferences$, DescribeBackupPolicy$, DescribeFileSystemPolicy$, DescribeFileSystems$, DescribeLifecycleConfiguration$, DescribeMountTargets$, DescribeMountTargetSecurityGroups$, DescribeReplicationConfigurations$, DescribeTags$, ListTagsForResource$, ModifyMountTargetSecurityGroups$, PutAccountPreferences$, PutBackupPolicy$, PutFileSystemPolicy$, PutLifecycleConfiguration$, TagResource$, UntagResource$, UpdateFileSystem$, UpdateFileSystemProtection$ } = require("./schemas/schemas_0");
15
- __exportStar(require("./schemas/schemas_0"), exports);
16
- __exportStar(require("./models/errors"), exports);
17
- const { EFSServiceException } = require("./models/EFSServiceException");
18
- exports.EFSServiceException = EFSServiceException;
6
+ const { resolveDefaultsModeConfig, loadConfig, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, resolveRegionConfig } = require("@smithy/core/config");
7
+ const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
8
+ const { parseUrl, getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig, getContentLengthPlugin } = require("@smithy/core/protocols");
9
+ const { DEFAULT_RETRY_MODE, NODE_RETRY_MODE_CONFIG_OPTIONS, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, resolveRetryConfig, getRetryPlugin } = require("@smithy/core/retry");
10
+ const { TypeRegistry, getSchemaSerdePlugin } = require("@smithy/core/schema");
11
+ const { resolveAwsSdkSigV4Config, AwsSdkSigV4Signer, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } = require("@aws-sdk/core/httpAuthSchemes");
12
+ const { defaultProvider } = require("@aws-sdk/credential-provider-node");
13
+ const { toUtf8, fromUtf8, toBase64, fromBase64, calculateBodyLength } = require("@smithy/core/serde");
14
+ const { streamCollector, NodeHttpHandler } = require("@smithy/node-http-handler");
15
+ const { AwsRestJsonProtocol } = require("@aws-sdk/core/protocols");
16
+ const { Sha256 } = require("@smithy/core/checksum");
17
+
18
+ const defaultEFSHttpAuthSchemeParametersProvider = async (config, context, input) => {
19
+ return {
20
+ operation: getSmithyContext(context).operation,
21
+ region: await normalizeProvider(config.region)() || (() => {
22
+ throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
23
+ })(),
24
+ };
25
+ };
26
+ function createAwsAuthSigv4HttpAuthOption(authParameters) {
27
+ return {
28
+ schemeId: "aws.auth#sigv4",
29
+ signingProperties: {
30
+ name: "elasticfilesystem",
31
+ region: authParameters.region,
32
+ },
33
+ propertiesExtractor: (config, context) => ({
34
+ signingProperties: {
35
+ config,
36
+ context,
37
+ },
38
+ }),
39
+ };
40
+ }
41
+ const defaultEFSHttpAuthSchemeProvider = (authParameters) => {
42
+ const options = [];
43
+ switch (authParameters.operation) {
44
+ default: {
45
+ options.push(createAwsAuthSigv4HttpAuthOption(authParameters));
46
+ }
47
+ }
48
+ return options;
49
+ };
50
+ const resolveHttpAuthSchemeConfig = (config) => {
51
+ const config_0 = resolveAwsSdkSigV4Config(config);
52
+ return Object.assign(config_0, {
53
+ authSchemePreference: normalizeProvider(config.authSchemePreference ?? []),
54
+ });
55
+ };
19
56
 
20
57
  const resolveClientEndpointParameters = (options) => {
21
58
  return Object.assign(options, {
@@ -31,6 +68,1490 @@ const commonParams = {
31
68
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
32
69
  };
33
70
 
71
+ var version = "3.1076.0";
72
+ var packageInfo = {
73
+ version: version};
74
+
75
+ const m = "ref";
76
+ const a = -1, b = true, c = "isSet", d = "PartitionResult", e = "booleanEquals", f = "stringEquals", g = "getAttr", h = { [m]: "Endpoint" }, i = { "fn": g, "argv": [{ [m]: d }, "name"] }, j = { [m]: d }, k = {}, l = [{ [m]: "Region" }];
77
+ const _data = {
78
+ conditions: [
79
+ [c, [h]],
80
+ [c, l],
81
+ ["aws.partition", l, d],
82
+ [e, [{ [m]: "UseDualStack" }, b]],
83
+ [f, [i, "aws"]],
84
+ [f, [i, "aws-us-gov"]],
85
+ [f, [i, "aws-cn"]],
86
+ [e, [{ fn: g, argv: [j, "supportsDualStack"] }, b]],
87
+ [e, [{ [m]: "UseFIPS" }, b]],
88
+ [e, [{ fn: g, argv: [j, "supportsFIPS"] }, b]]
89
+ ],
90
+ results: [
91
+ [a],
92
+ [a, "Invalid Configuration: FIPS and custom endpoint are not supported"],
93
+ [a, "Invalid Configuration: Dualstack and custom endpoint are not supported"],
94
+ [h, k],
95
+ ["https://efs.{Region}.{PartitionResult#dualStackDnsSuffix}", k],
96
+ ["https://efs-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", k],
97
+ ["https://elasticfilesystem-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", k],
98
+ [a, "FIPS and DualStack are enabled, but this partition does not support one or both"],
99
+ ["https://elasticfilesystem-fips.{Region}.{PartitionResult#dnsSuffix}", k],
100
+ [a, "FIPS is enabled but this partition does not support FIPS"],
101
+ ["https://elasticfilesystem.{Region}.{PartitionResult#dualStackDnsSuffix}", k],
102
+ [a, "DualStack is enabled but this partition does not support DualStack"],
103
+ ["https://elasticfilesystem.{Region}.{PartitionResult#dnsSuffix}", k],
104
+ [a, "Invalid Configuration: Missing Region"]
105
+ ]
106
+ };
107
+ const root = 2;
108
+ const r = 100_000_000;
109
+ const nodes = new Int32Array([
110
+ -1, 1, -1,
111
+ 0, 16, 3,
112
+ 1, 4, r + 13,
113
+ 2, 5, r + 13,
114
+ 3, 8, 6,
115
+ 8, 7, r + 12,
116
+ 9, r + 8, r + 9,
117
+ 4, 15, 9,
118
+ 5, 15, 10,
119
+ 6, 15, 11,
120
+ 7, 13, 12,
121
+ 8, r + 7, r + 11,
122
+ 8, 14, r + 10,
123
+ 9, r + 6, r + 7,
124
+ 8, r + 5, r + 4,
125
+ 3, 18, 17,
126
+ 8, r + 1, r + 3,
127
+ 8, r + 1, r + 2,
128
+ ]);
129
+ const bdd = BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
130
+
131
+ const cache = new EndpointCache({
132
+ size: 50,
133
+ params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"],
134
+ });
135
+ const defaultEndpointResolver = (endpointParams, context = {}) => {
136
+ return cache.get(endpointParams, () => decideEndpoint(bdd, {
137
+ endpointParams: endpointParams,
138
+ logger: context.logger,
139
+ }));
140
+ };
141
+ customEndpointFunctions.aws = awsEndpointFunctions;
142
+
143
+ class EFSServiceException extends ServiceException {
144
+ constructor(options) {
145
+ super(options);
146
+ Object.setPrototypeOf(this, EFSServiceException.prototype);
147
+ }
148
+ }
149
+
150
+ class AccessPointAlreadyExists extends EFSServiceException {
151
+ name = "AccessPointAlreadyExists";
152
+ $fault = "client";
153
+ ErrorCode;
154
+ Message;
155
+ AccessPointId;
156
+ constructor(opts) {
157
+ super({
158
+ name: "AccessPointAlreadyExists",
159
+ $fault: "client",
160
+ ...opts,
161
+ });
162
+ Object.setPrototypeOf(this, AccessPointAlreadyExists.prototype);
163
+ this.ErrorCode = opts.ErrorCode;
164
+ this.Message = opts.Message;
165
+ this.AccessPointId = opts.AccessPointId;
166
+ }
167
+ }
168
+ class AccessPointLimitExceeded extends EFSServiceException {
169
+ name = "AccessPointLimitExceeded";
170
+ $fault = "client";
171
+ ErrorCode;
172
+ Message;
173
+ constructor(opts) {
174
+ super({
175
+ name: "AccessPointLimitExceeded",
176
+ $fault: "client",
177
+ ...opts,
178
+ });
179
+ Object.setPrototypeOf(this, AccessPointLimitExceeded.prototype);
180
+ this.ErrorCode = opts.ErrorCode;
181
+ this.Message = opts.Message;
182
+ }
183
+ }
184
+ class AccessPointNotFound extends EFSServiceException {
185
+ name = "AccessPointNotFound";
186
+ $fault = "client";
187
+ ErrorCode;
188
+ Message;
189
+ constructor(opts) {
190
+ super({
191
+ name: "AccessPointNotFound",
192
+ $fault: "client",
193
+ ...opts,
194
+ });
195
+ Object.setPrototypeOf(this, AccessPointNotFound.prototype);
196
+ this.ErrorCode = opts.ErrorCode;
197
+ this.Message = opts.Message;
198
+ }
199
+ }
200
+ class AvailabilityZonesMismatch extends EFSServiceException {
201
+ name = "AvailabilityZonesMismatch";
202
+ $fault = "client";
203
+ ErrorCode;
204
+ Message;
205
+ constructor(opts) {
206
+ super({
207
+ name: "AvailabilityZonesMismatch",
208
+ $fault: "client",
209
+ ...opts,
210
+ });
211
+ Object.setPrototypeOf(this, AvailabilityZonesMismatch.prototype);
212
+ this.ErrorCode = opts.ErrorCode;
213
+ this.Message = opts.Message;
214
+ }
215
+ }
216
+ class BadRequest extends EFSServiceException {
217
+ name = "BadRequest";
218
+ $fault = "client";
219
+ ErrorCode;
220
+ Message;
221
+ constructor(opts) {
222
+ super({
223
+ name: "BadRequest",
224
+ $fault: "client",
225
+ ...opts,
226
+ });
227
+ Object.setPrototypeOf(this, BadRequest.prototype);
228
+ this.ErrorCode = opts.ErrorCode;
229
+ this.Message = opts.Message;
230
+ }
231
+ }
232
+ class ConflictException extends EFSServiceException {
233
+ name = "ConflictException";
234
+ $fault = "client";
235
+ ErrorCode;
236
+ Message;
237
+ constructor(opts) {
238
+ super({
239
+ name: "ConflictException",
240
+ $fault: "client",
241
+ ...opts,
242
+ });
243
+ Object.setPrototypeOf(this, ConflictException.prototype);
244
+ this.ErrorCode = opts.ErrorCode;
245
+ this.Message = opts.Message;
246
+ }
247
+ }
248
+ class FileSystemNotFound extends EFSServiceException {
249
+ name = "FileSystemNotFound";
250
+ $fault = "client";
251
+ ErrorCode;
252
+ Message;
253
+ constructor(opts) {
254
+ super({
255
+ name: "FileSystemNotFound",
256
+ $fault: "client",
257
+ ...opts,
258
+ });
259
+ Object.setPrototypeOf(this, FileSystemNotFound.prototype);
260
+ this.ErrorCode = opts.ErrorCode;
261
+ this.Message = opts.Message;
262
+ }
263
+ }
264
+ class IncorrectFileSystemLifeCycleState extends EFSServiceException {
265
+ name = "IncorrectFileSystemLifeCycleState";
266
+ $fault = "client";
267
+ ErrorCode;
268
+ Message;
269
+ constructor(opts) {
270
+ super({
271
+ name: "IncorrectFileSystemLifeCycleState",
272
+ $fault: "client",
273
+ ...opts,
274
+ });
275
+ Object.setPrototypeOf(this, IncorrectFileSystemLifeCycleState.prototype);
276
+ this.ErrorCode = opts.ErrorCode;
277
+ this.Message = opts.Message;
278
+ }
279
+ }
280
+ class InternalServerError extends EFSServiceException {
281
+ name = "InternalServerError";
282
+ $fault = "server";
283
+ ErrorCode;
284
+ Message;
285
+ constructor(opts) {
286
+ super({
287
+ name: "InternalServerError",
288
+ $fault: "server",
289
+ ...opts,
290
+ });
291
+ Object.setPrototypeOf(this, InternalServerError.prototype);
292
+ this.ErrorCode = opts.ErrorCode;
293
+ this.Message = opts.Message;
294
+ }
295
+ }
296
+ class ThrottlingException extends EFSServiceException {
297
+ name = "ThrottlingException";
298
+ $fault = "client";
299
+ ErrorCode;
300
+ Message;
301
+ constructor(opts) {
302
+ super({
303
+ name: "ThrottlingException",
304
+ $fault: "client",
305
+ ...opts,
306
+ });
307
+ Object.setPrototypeOf(this, ThrottlingException.prototype);
308
+ this.ErrorCode = opts.ErrorCode;
309
+ this.Message = opts.Message;
310
+ }
311
+ }
312
+ class FileSystemAlreadyExists extends EFSServiceException {
313
+ name = "FileSystemAlreadyExists";
314
+ $fault = "client";
315
+ ErrorCode;
316
+ Message;
317
+ FileSystemId;
318
+ constructor(opts) {
319
+ super({
320
+ name: "FileSystemAlreadyExists",
321
+ $fault: "client",
322
+ ...opts,
323
+ });
324
+ Object.setPrototypeOf(this, FileSystemAlreadyExists.prototype);
325
+ this.ErrorCode = opts.ErrorCode;
326
+ this.Message = opts.Message;
327
+ this.FileSystemId = opts.FileSystemId;
328
+ }
329
+ }
330
+ class FileSystemLimitExceeded extends EFSServiceException {
331
+ name = "FileSystemLimitExceeded";
332
+ $fault = "client";
333
+ ErrorCode;
334
+ Message;
335
+ constructor(opts) {
336
+ super({
337
+ name: "FileSystemLimitExceeded",
338
+ $fault: "client",
339
+ ...opts,
340
+ });
341
+ Object.setPrototypeOf(this, FileSystemLimitExceeded.prototype);
342
+ this.ErrorCode = opts.ErrorCode;
343
+ this.Message = opts.Message;
344
+ }
345
+ }
346
+ class InsufficientThroughputCapacity extends EFSServiceException {
347
+ name = "InsufficientThroughputCapacity";
348
+ $fault = "server";
349
+ ErrorCode;
350
+ Message;
351
+ constructor(opts) {
352
+ super({
353
+ name: "InsufficientThroughputCapacity",
354
+ $fault: "server",
355
+ ...opts,
356
+ });
357
+ Object.setPrototypeOf(this, InsufficientThroughputCapacity.prototype);
358
+ this.ErrorCode = opts.ErrorCode;
359
+ this.Message = opts.Message;
360
+ }
361
+ }
362
+ class ThroughputLimitExceeded extends EFSServiceException {
363
+ name = "ThroughputLimitExceeded";
364
+ $fault = "client";
365
+ ErrorCode;
366
+ Message;
367
+ constructor(opts) {
368
+ super({
369
+ name: "ThroughputLimitExceeded",
370
+ $fault: "client",
371
+ ...opts,
372
+ });
373
+ Object.setPrototypeOf(this, ThroughputLimitExceeded.prototype);
374
+ this.ErrorCode = opts.ErrorCode;
375
+ this.Message = opts.Message;
376
+ }
377
+ }
378
+ class UnsupportedAvailabilityZone extends EFSServiceException {
379
+ name = "UnsupportedAvailabilityZone";
380
+ $fault = "client";
381
+ ErrorCode;
382
+ Message;
383
+ constructor(opts) {
384
+ super({
385
+ name: "UnsupportedAvailabilityZone",
386
+ $fault: "client",
387
+ ...opts,
388
+ });
389
+ Object.setPrototypeOf(this, UnsupportedAvailabilityZone.prototype);
390
+ this.ErrorCode = opts.ErrorCode;
391
+ this.Message = opts.Message;
392
+ }
393
+ }
394
+ class IpAddressInUse extends EFSServiceException {
395
+ name = "IpAddressInUse";
396
+ $fault = "client";
397
+ ErrorCode;
398
+ Message;
399
+ constructor(opts) {
400
+ super({
401
+ name: "IpAddressInUse",
402
+ $fault: "client",
403
+ ...opts,
404
+ });
405
+ Object.setPrototypeOf(this, IpAddressInUse.prototype);
406
+ this.ErrorCode = opts.ErrorCode;
407
+ this.Message = opts.Message;
408
+ }
409
+ }
410
+ class MountTargetConflict extends EFSServiceException {
411
+ name = "MountTargetConflict";
412
+ $fault = "client";
413
+ ErrorCode;
414
+ Message;
415
+ constructor(opts) {
416
+ super({
417
+ name: "MountTargetConflict",
418
+ $fault: "client",
419
+ ...opts,
420
+ });
421
+ Object.setPrototypeOf(this, MountTargetConflict.prototype);
422
+ this.ErrorCode = opts.ErrorCode;
423
+ this.Message = opts.Message;
424
+ }
425
+ }
426
+ class NetworkInterfaceLimitExceeded extends EFSServiceException {
427
+ name = "NetworkInterfaceLimitExceeded";
428
+ $fault = "client";
429
+ ErrorCode;
430
+ Message;
431
+ constructor(opts) {
432
+ super({
433
+ name: "NetworkInterfaceLimitExceeded",
434
+ $fault: "client",
435
+ ...opts,
436
+ });
437
+ Object.setPrototypeOf(this, NetworkInterfaceLimitExceeded.prototype);
438
+ this.ErrorCode = opts.ErrorCode;
439
+ this.Message = opts.Message;
440
+ }
441
+ }
442
+ class NoFreeAddressesInSubnet extends EFSServiceException {
443
+ name = "NoFreeAddressesInSubnet";
444
+ $fault = "client";
445
+ ErrorCode;
446
+ Message;
447
+ constructor(opts) {
448
+ super({
449
+ name: "NoFreeAddressesInSubnet",
450
+ $fault: "client",
451
+ ...opts,
452
+ });
453
+ Object.setPrototypeOf(this, NoFreeAddressesInSubnet.prototype);
454
+ this.ErrorCode = opts.ErrorCode;
455
+ this.Message = opts.Message;
456
+ }
457
+ }
458
+ class SecurityGroupLimitExceeded extends EFSServiceException {
459
+ name = "SecurityGroupLimitExceeded";
460
+ $fault = "client";
461
+ ErrorCode;
462
+ Message;
463
+ constructor(opts) {
464
+ super({
465
+ name: "SecurityGroupLimitExceeded",
466
+ $fault: "client",
467
+ ...opts,
468
+ });
469
+ Object.setPrototypeOf(this, SecurityGroupLimitExceeded.prototype);
470
+ this.ErrorCode = opts.ErrorCode;
471
+ this.Message = opts.Message;
472
+ }
473
+ }
474
+ class SecurityGroupNotFound extends EFSServiceException {
475
+ name = "SecurityGroupNotFound";
476
+ $fault = "client";
477
+ ErrorCode;
478
+ Message;
479
+ constructor(opts) {
480
+ super({
481
+ name: "SecurityGroupNotFound",
482
+ $fault: "client",
483
+ ...opts,
484
+ });
485
+ Object.setPrototypeOf(this, SecurityGroupNotFound.prototype);
486
+ this.ErrorCode = opts.ErrorCode;
487
+ this.Message = opts.Message;
488
+ }
489
+ }
490
+ class SubnetNotFound extends EFSServiceException {
491
+ name = "SubnetNotFound";
492
+ $fault = "client";
493
+ ErrorCode;
494
+ Message;
495
+ constructor(opts) {
496
+ super({
497
+ name: "SubnetNotFound",
498
+ $fault: "client",
499
+ ...opts,
500
+ });
501
+ Object.setPrototypeOf(this, SubnetNotFound.prototype);
502
+ this.ErrorCode = opts.ErrorCode;
503
+ this.Message = opts.Message;
504
+ }
505
+ }
506
+ class ReplicationNotFound extends EFSServiceException {
507
+ name = "ReplicationNotFound";
508
+ $fault = "client";
509
+ ErrorCode;
510
+ Message;
511
+ constructor(opts) {
512
+ super({
513
+ name: "ReplicationNotFound",
514
+ $fault: "client",
515
+ ...opts,
516
+ });
517
+ Object.setPrototypeOf(this, ReplicationNotFound.prototype);
518
+ this.ErrorCode = opts.ErrorCode;
519
+ this.Message = opts.Message;
520
+ }
521
+ }
522
+ class ValidationException extends EFSServiceException {
523
+ name = "ValidationException";
524
+ $fault = "client";
525
+ ErrorCode;
526
+ Message;
527
+ constructor(opts) {
528
+ super({
529
+ name: "ValidationException",
530
+ $fault: "client",
531
+ ...opts,
532
+ });
533
+ Object.setPrototypeOf(this, ValidationException.prototype);
534
+ this.ErrorCode = opts.ErrorCode;
535
+ this.Message = opts.Message;
536
+ }
537
+ }
538
+ class FileSystemInUse extends EFSServiceException {
539
+ name = "FileSystemInUse";
540
+ $fault = "client";
541
+ ErrorCode;
542
+ Message;
543
+ constructor(opts) {
544
+ super({
545
+ name: "FileSystemInUse",
546
+ $fault: "client",
547
+ ...opts,
548
+ });
549
+ Object.setPrototypeOf(this, FileSystemInUse.prototype);
550
+ this.ErrorCode = opts.ErrorCode;
551
+ this.Message = opts.Message;
552
+ }
553
+ }
554
+ class DependencyTimeout extends EFSServiceException {
555
+ name = "DependencyTimeout";
556
+ $fault = "server";
557
+ ErrorCode;
558
+ Message;
559
+ constructor(opts) {
560
+ super({
561
+ name: "DependencyTimeout",
562
+ $fault: "server",
563
+ ...opts,
564
+ });
565
+ Object.setPrototypeOf(this, DependencyTimeout.prototype);
566
+ this.ErrorCode = opts.ErrorCode;
567
+ this.Message = opts.Message;
568
+ }
569
+ }
570
+ class MountTargetNotFound extends EFSServiceException {
571
+ name = "MountTargetNotFound";
572
+ $fault = "client";
573
+ ErrorCode;
574
+ Message;
575
+ constructor(opts) {
576
+ super({
577
+ name: "MountTargetNotFound",
578
+ $fault: "client",
579
+ ...opts,
580
+ });
581
+ Object.setPrototypeOf(this, MountTargetNotFound.prototype);
582
+ this.ErrorCode = opts.ErrorCode;
583
+ this.Message = opts.Message;
584
+ }
585
+ }
586
+ class PolicyNotFound extends EFSServiceException {
587
+ name = "PolicyNotFound";
588
+ $fault = "client";
589
+ ErrorCode;
590
+ Message;
591
+ constructor(opts) {
592
+ super({
593
+ name: "PolicyNotFound",
594
+ $fault: "client",
595
+ ...opts,
596
+ });
597
+ Object.setPrototypeOf(this, PolicyNotFound.prototype);
598
+ this.ErrorCode = opts.ErrorCode;
599
+ this.Message = opts.Message;
600
+ }
601
+ }
602
+ class IncorrectMountTargetState extends EFSServiceException {
603
+ name = "IncorrectMountTargetState";
604
+ $fault = "client";
605
+ ErrorCode;
606
+ Message;
607
+ constructor(opts) {
608
+ super({
609
+ name: "IncorrectMountTargetState",
610
+ $fault: "client",
611
+ ...opts,
612
+ });
613
+ Object.setPrototypeOf(this, IncorrectMountTargetState.prototype);
614
+ this.ErrorCode = opts.ErrorCode;
615
+ this.Message = opts.Message;
616
+ }
617
+ }
618
+ class InvalidPolicyException extends EFSServiceException {
619
+ name = "InvalidPolicyException";
620
+ $fault = "client";
621
+ ErrorCode;
622
+ Message;
623
+ constructor(opts) {
624
+ super({
625
+ name: "InvalidPolicyException",
626
+ $fault: "client",
627
+ ...opts,
628
+ });
629
+ Object.setPrototypeOf(this, InvalidPolicyException.prototype);
630
+ this.ErrorCode = opts.ErrorCode;
631
+ this.Message = opts.Message;
632
+ }
633
+ }
634
+ class TooManyRequests extends EFSServiceException {
635
+ name = "TooManyRequests";
636
+ $fault = "client";
637
+ ErrorCode;
638
+ Message;
639
+ constructor(opts) {
640
+ super({
641
+ name: "TooManyRequests",
642
+ $fault: "client",
643
+ ...opts,
644
+ });
645
+ Object.setPrototypeOf(this, TooManyRequests.prototype);
646
+ this.ErrorCode = opts.ErrorCode;
647
+ this.Message = opts.Message;
648
+ }
649
+ }
650
+ class ReplicationAlreadyExists extends EFSServiceException {
651
+ name = "ReplicationAlreadyExists";
652
+ $fault = "client";
653
+ ErrorCode;
654
+ Message;
655
+ constructor(opts) {
656
+ super({
657
+ name: "ReplicationAlreadyExists",
658
+ $fault: "client",
659
+ ...opts,
660
+ });
661
+ Object.setPrototypeOf(this, ReplicationAlreadyExists.prototype);
662
+ this.ErrorCode = opts.ErrorCode;
663
+ this.Message = opts.Message;
664
+ }
665
+ }
666
+
667
+ const _AP = "AccessPoints";
668
+ const _APA = "AccessPointArn";
669
+ const _APAE = "AccessPointAlreadyExists";
670
+ const _APD = "AccessPointDescription";
671
+ const _APDc = "AccessPointDescriptions";
672
+ const _API = "AccessPointId";
673
+ const _APLE = "AccessPointLimitExceeded";
674
+ const _APNF = "AccessPointNotFound";
675
+ const _AZI = "AvailabilityZoneId";
676
+ const _AZM = "AvailabilityZonesMismatch";
677
+ const _AZN = "AvailabilityZoneName";
678
+ const _B = "Backup";
679
+ const _BP = "BackupPolicy";
680
+ const _BPD = "BackupPolicyDescription";
681
+ const _BPLSC = "BypassPolicyLockoutSafetyCheck";
682
+ const _BR = "BadRequest";
683
+ const _CAP = "CreateAccessPoint";
684
+ const _CAPR = "CreateAccessPointRequest";
685
+ const _CE = "ConflictException";
686
+ const _CFS = "CreateFileSystem";
687
+ const _CFSR = "CreateFileSystemRequest";
688
+ const _CI = "CreationInfo";
689
+ const _CMT = "CreateMountTarget";
690
+ const _CMTR = "CreateMountTargetRequest";
691
+ const _CRC = "CreateReplicationConfiguration";
692
+ const _CRCR = "CreateReplicationConfigurationRequest";
693
+ const _CT = "ClientToken";
694
+ const _CTR = "CreateTagsRequest";
695
+ const _CTr = "CreationToken";
696
+ const _CTre = "CreationTime";
697
+ const _CTrea = "CreateTags";
698
+ const _D = "Destinations";
699
+ const _DAP = "DeleteAccessPoint";
700
+ const _DAPR = "DeleteAccessPointRequest";
701
+ const _DAPRe = "DescribeAccessPointsRequest";
702
+ const _DAPRes = "DescribeAccessPointsResponse";
703
+ const _DAPResc = "DescribeAccountPreferencesRequest";
704
+ const _DAPRescr = "DescribeAccountPreferencesResponse";
705
+ const _DAPe = "DescribeAccessPoints";
706
+ const _DAPes = "DescribeAccountPreferences";
707
+ const _DBP = "DescribeBackupPolicy";
708
+ const _DBPR = "DescribeBackupPolicyRequest";
709
+ const _DFS = "DeleteFileSystem";
710
+ const _DFSP = "DeleteFileSystemPolicy";
711
+ const _DFSPR = "DeleteFileSystemPolicyRequest";
712
+ const _DFSPRe = "DescribeFileSystemPolicyRequest";
713
+ const _DFSPe = "DescribeFileSystemPolicy";
714
+ const _DFSR = "DeleteFileSystemRequest";
715
+ const _DFSRe = "DescribeFileSystemsRequest";
716
+ const _DFSRes = "DescribeFileSystemsResponse";
717
+ const _DFSe = "DescribeFileSystems";
718
+ const _DLC = "DescribeLifecycleConfiguration";
719
+ const _DLCR = "DescribeLifecycleConfigurationRequest";
720
+ const _DM = "DeletionMode";
721
+ const _DMT = "DeleteMountTarget";
722
+ const _DMTR = "DeleteMountTargetRequest";
723
+ const _DMTRe = "DescribeMountTargetsRequest";
724
+ const _DMTRes = "DescribeMountTargetsResponse";
725
+ const _DMTSG = "DescribeMountTargetSecurityGroups";
726
+ const _DMTSGR = "DescribeMountTargetSecurityGroupsRequest";
727
+ const _DMTSGRe = "DescribeMountTargetSecurityGroupsResponse";
728
+ const _DMTe = "DescribeMountTargets";
729
+ const _DRC = "DeleteReplicationConfiguration";
730
+ const _DRCR = "DeleteReplicationConfigurationRequest";
731
+ const _DRCRe = "DescribeReplicationConfigurationsRequest";
732
+ const _DRCRes = "DescribeReplicationConfigurationsResponse";
733
+ const _DRCe = "DescribeReplicationConfigurations";
734
+ const _DT = "DependencyTimeout";
735
+ const _DTC = "DestinationToCreate";
736
+ const _DTCe = "DestinationsToCreate";
737
+ const _DTR = "DeleteTagsRequest";
738
+ const _DTRe = "DescribeTagsRequest";
739
+ const _DTRes = "DescribeTagsResponse";
740
+ const _DTe = "DeleteTags";
741
+ const _DTes = "DescribeTags";
742
+ const _De = "Destination";
743
+ const _E = "Encrypted";
744
+ const _EC = "ErrorCode";
745
+ const _FS = "FileSystems";
746
+ const _FSA = "FileSystemArn";
747
+ const _FSAE = "FileSystemAlreadyExists";
748
+ const _FSD = "FileSystemDescription";
749
+ const _FSDi = "FileSystemDescriptions";
750
+ const _FSI = "FileSystemId";
751
+ const _FSIU = "FileSystemInUse";
752
+ const _FSLE = "FileSystemLimitExceeded";
753
+ const _FSNF = "FileSystemNotFound";
754
+ const _FSP = "FileSystemProtection";
755
+ const _FSPD = "FileSystemPolicyDescription";
756
+ const _FSPDi = "FileSystemProtectionDescription";
757
+ const _FSS = "FileSystemSize";
758
+ const _G = "Gid";
759
+ const _IA = "IpAddress";
760
+ const _IAIU = "IpAddressInUse";
761
+ const _IAT = "IpAddressType";
762
+ const _IAp = "Ipv6Address";
763
+ const _IFSLCS = "IncorrectFileSystemLifeCycleState";
764
+ const _IMTS = "IncorrectMountTargetState";
765
+ const _IPE = "InvalidPolicyException";
766
+ const _ISE = "InternalServerError";
767
+ const _ITC = "InsufficientThroughputCapacity";
768
+ const _K = "Key";
769
+ const _KKI = "KmsKeyId";
770
+ const _LCD = "LifecycleConfigurationDescription";
771
+ const _LCS = "LifeCycleState";
772
+ const _LP = "LifecyclePolicies";
773
+ const _LPi = "LifecyclePolicy";
774
+ const _LRT = "LastReplicatedTimestamp";
775
+ const _LTFR = "ListTagsForResource";
776
+ const _LTFRR = "ListTagsForResourceRequest";
777
+ const _LTFRRi = "ListTagsForResourceResponse";
778
+ const _M = "Message";
779
+ const _MI = "MaxItems";
780
+ const _MMTSG = "ModifyMountTargetSecurityGroups";
781
+ const _MMTSGR = "ModifyMountTargetSecurityGroupsRequest";
782
+ const _MR = "MaxResults";
783
+ const _MT = "MountTargets";
784
+ const _MTC = "MountTargetConflict";
785
+ const _MTD = "MountTargetDescription";
786
+ const _MTDo = "MountTargetDescriptions";
787
+ const _MTI = "MountTargetId";
788
+ const _MTNF = "MountTargetNotFound";
789
+ const _Ma = "Marker";
790
+ const _N = "Name";
791
+ const _NFAIS = "NoFreeAddressesInSubnet";
792
+ const _NII = "NetworkInterfaceId";
793
+ const _NILE = "NetworkInterfaceLimitExceeded";
794
+ const _NM = "NextMarker";
795
+ const _NOMT = "NumberOfMountTargets";
796
+ const _NT = "NextToken";
797
+ const _OG = "OwnerGid";
798
+ const _OI = "OwnerId";
799
+ const _OSFSA = "OriginalSourceFileSystemArn";
800
+ const _OU = "OwnerUid";
801
+ const _P = "Permissions";
802
+ const _PAP = "PutAccountPreferences";
803
+ const _PAPR = "PutAccountPreferencesRequest";
804
+ const _PAPRu = "PutAccountPreferencesResponse";
805
+ const _PBP = "PutBackupPolicy";
806
+ const _PBPR = "PutBackupPolicyRequest";
807
+ const _PFSP = "PutFileSystemPolicy";
808
+ const _PFSPR = "PutFileSystemPolicyRequest";
809
+ const _PLC = "PutLifecycleConfiguration";
810
+ const _PLCR = "PutLifecycleConfigurationRequest";
811
+ const _PM = "PerformanceMode";
812
+ const _PNF = "PolicyNotFound";
813
+ const _PTIM = "ProvisionedThroughputInMibps";
814
+ const _PU = "PosixUser";
815
+ const _Pa = "Path";
816
+ const _Po = "Policy";
817
+ const _R = "Replications";
818
+ const _RA = "RoleArn";
819
+ const _RAE = "ReplicationAlreadyExists";
820
+ const _RCD = "ReplicationConfigurationDescription";
821
+ const _RCDe = "ReplicationConfigurationDescriptions";
822
+ const _RD = "RootDirectory";
823
+ const _RI = "ResourceId";
824
+ const _RIP = "ResourceIdPreference";
825
+ const _RIT = "ResourceIdType";
826
+ const _RNF = "ReplicationNotFound";
827
+ const _ROP = "ReplicationOverwriteProtection";
828
+ const _Re = "Region";
829
+ const _Res = "Resources";
830
+ const _S = "Status";
831
+ const _SFSA = "SourceFileSystemArn";
832
+ const _SFSI = "SourceFileSystemId";
833
+ const _SFSOI = "SourceFileSystemOwnerId";
834
+ const _SFSR = "SourceFileSystemRegion";
835
+ const _SG = "SecurityGroups";
836
+ const _SGLE = "SecurityGroupLimitExceeded";
837
+ const _SGNF = "SecurityGroupNotFound";
838
+ const _SGe = "SecondaryGids";
839
+ const _SI = "SubnetId";
840
+ const _SIB = "SizeInBytes";
841
+ const _SM = "StatusMessage";
842
+ const _SNF = "SubnetNotFound";
843
+ const _T = "Tags";
844
+ const _TE = "ThrottlingException";
845
+ const _TK = "TagKeys";
846
+ const _TLE = "ThroughputLimitExceeded";
847
+ const _TM = "ThroughputMode";
848
+ const _TMR = "TooManyRequests";
849
+ const _TR = "TagResource";
850
+ const _TRR = "TagResourceRequest";
851
+ const _TTA = "TransitionToArchive";
852
+ const _TTIA = "TransitionToIA";
853
+ const _TTPSC = "TransitionToPrimaryStorageClass";
854
+ const _Ta = "Tag";
855
+ const _Ti = "Timestamp";
856
+ const _U = "Uid";
857
+ const _UAZ = "UnsupportedAvailabilityZone";
858
+ const _UFS = "UpdateFileSystem";
859
+ const _UFSP = "UpdateFileSystemProtection";
860
+ const _UFSPR = "UpdateFileSystemProtectionRequest";
861
+ const _UFSR = "UpdateFileSystemRequest";
862
+ const _UR = "UntagResource";
863
+ const _URR = "UntagResourceRequest";
864
+ const _V = "Value";
865
+ const _VE = "ValidationException";
866
+ const _VI = "VpcId";
867
+ const _VIA = "ValueInArchive";
868
+ const _VIIA = "ValueInIA";
869
+ const _VIS = "ValueInStandard";
870
+ const _c = "client";
871
+ const _dM = "deletionMode";
872
+ const _e = "error";
873
+ const _h = "http";
874
+ const _hE = "httpError";
875
+ const _hQ = "httpQuery";
876
+ const _s = "smithy.ts.sdk.synthetic.com.amazonaws.efs";
877
+ const _se = "server";
878
+ const _tK = "tagKeys";
879
+ const n0 = "com.amazonaws.efs";
880
+ const _s_registry = TypeRegistry.for(_s);
881
+ var EFSServiceException$ = [-3, _s, "EFSServiceException", 0, [], []];
882
+ _s_registry.registerError(EFSServiceException$, EFSServiceException);
883
+ const n0_registry = TypeRegistry.for(n0);
884
+ var AccessPointAlreadyExists$ = [-3, n0, _APAE,
885
+ { [_e]: _c, [_hE]: 409 },
886
+ [_EC, _API, _M],
887
+ [0, 0, 0], 2
888
+ ];
889
+ n0_registry.registerError(AccessPointAlreadyExists$, AccessPointAlreadyExists);
890
+ var AccessPointLimitExceeded$ = [-3, n0, _APLE,
891
+ { [_e]: _c, [_hE]: 403 },
892
+ [_EC, _M],
893
+ [0, 0], 1
894
+ ];
895
+ n0_registry.registerError(AccessPointLimitExceeded$, AccessPointLimitExceeded);
896
+ var AccessPointNotFound$ = [-3, n0, _APNF,
897
+ { [_e]: _c, [_hE]: 404 },
898
+ [_EC, _M],
899
+ [0, 0], 1
900
+ ];
901
+ n0_registry.registerError(AccessPointNotFound$, AccessPointNotFound);
902
+ var AvailabilityZonesMismatch$ = [-3, n0, _AZM,
903
+ { [_e]: _c, [_hE]: 400 },
904
+ [_EC, _M],
905
+ [0, 0]
906
+ ];
907
+ n0_registry.registerError(AvailabilityZonesMismatch$, AvailabilityZonesMismatch);
908
+ var BadRequest$ = [-3, n0, _BR,
909
+ { [_e]: _c, [_hE]: 400 },
910
+ [_EC, _M],
911
+ [0, 0], 1
912
+ ];
913
+ n0_registry.registerError(BadRequest$, BadRequest);
914
+ var ConflictException$ = [-3, n0, _CE,
915
+ { [_e]: _c, [_hE]: 409 },
916
+ [_EC, _M],
917
+ [0, 0]
918
+ ];
919
+ n0_registry.registerError(ConflictException$, ConflictException);
920
+ var DependencyTimeout$ = [-3, n0, _DT,
921
+ { [_e]: _se, [_hE]: 504 },
922
+ [_EC, _M],
923
+ [0, 0], 1
924
+ ];
925
+ n0_registry.registerError(DependencyTimeout$, DependencyTimeout);
926
+ var FileSystemAlreadyExists$ = [-3, n0, _FSAE,
927
+ { [_e]: _c, [_hE]: 409 },
928
+ [_EC, _FSI, _M],
929
+ [0, 0, 0], 2
930
+ ];
931
+ n0_registry.registerError(FileSystemAlreadyExists$, FileSystemAlreadyExists);
932
+ var FileSystemInUse$ = [-3, n0, _FSIU,
933
+ { [_e]: _c, [_hE]: 409 },
934
+ [_EC, _M],
935
+ [0, 0], 1
936
+ ];
937
+ n0_registry.registerError(FileSystemInUse$, FileSystemInUse);
938
+ var FileSystemLimitExceeded$ = [-3, n0, _FSLE,
939
+ { [_e]: _c, [_hE]: 403 },
940
+ [_EC, _M],
941
+ [0, 0], 1
942
+ ];
943
+ n0_registry.registerError(FileSystemLimitExceeded$, FileSystemLimitExceeded);
944
+ var FileSystemNotFound$ = [-3, n0, _FSNF,
945
+ { [_e]: _c, [_hE]: 404 },
946
+ [_EC, _M],
947
+ [0, 0], 1
948
+ ];
949
+ n0_registry.registerError(FileSystemNotFound$, FileSystemNotFound);
950
+ var IncorrectFileSystemLifeCycleState$ = [-3, n0, _IFSLCS,
951
+ { [_e]: _c, [_hE]: 409 },
952
+ [_EC, _M],
953
+ [0, 0], 1
954
+ ];
955
+ n0_registry.registerError(IncorrectFileSystemLifeCycleState$, IncorrectFileSystemLifeCycleState);
956
+ var IncorrectMountTargetState$ = [-3, n0, _IMTS,
957
+ { [_e]: _c, [_hE]: 409 },
958
+ [_EC, _M],
959
+ [0, 0], 1
960
+ ];
961
+ n0_registry.registerError(IncorrectMountTargetState$, IncorrectMountTargetState);
962
+ var InsufficientThroughputCapacity$ = [-3, n0, _ITC,
963
+ { [_e]: _se, [_hE]: 503 },
964
+ [_EC, _M],
965
+ [0, 0], 1
966
+ ];
967
+ n0_registry.registerError(InsufficientThroughputCapacity$, InsufficientThroughputCapacity);
968
+ var InternalServerError$ = [-3, n0, _ISE,
969
+ { [_e]: _se, [_hE]: 500 },
970
+ [_EC, _M],
971
+ [0, 0], 1
972
+ ];
973
+ n0_registry.registerError(InternalServerError$, InternalServerError);
974
+ var InvalidPolicyException$ = [-3, n0, _IPE,
975
+ { [_e]: _c, [_hE]: 400 },
976
+ [_EC, _M],
977
+ [0, 0]
978
+ ];
979
+ n0_registry.registerError(InvalidPolicyException$, InvalidPolicyException);
980
+ var IpAddressInUse$ = [-3, n0, _IAIU,
981
+ { [_e]: _c, [_hE]: 409 },
982
+ [_EC, _M],
983
+ [0, 0], 1
984
+ ];
985
+ n0_registry.registerError(IpAddressInUse$, IpAddressInUse);
986
+ var MountTargetConflict$ = [-3, n0, _MTC,
987
+ { [_e]: _c, [_hE]: 409 },
988
+ [_EC, _M],
989
+ [0, 0], 1
990
+ ];
991
+ n0_registry.registerError(MountTargetConflict$, MountTargetConflict);
992
+ var MountTargetNotFound$ = [-3, n0, _MTNF,
993
+ { [_e]: _c, [_hE]: 404 },
994
+ [_EC, _M],
995
+ [0, 0], 1
996
+ ];
997
+ n0_registry.registerError(MountTargetNotFound$, MountTargetNotFound);
998
+ var NetworkInterfaceLimitExceeded$ = [-3, n0, _NILE,
999
+ { [_e]: _c, [_hE]: 409 },
1000
+ [_EC, _M],
1001
+ [0, 0], 1
1002
+ ];
1003
+ n0_registry.registerError(NetworkInterfaceLimitExceeded$, NetworkInterfaceLimitExceeded);
1004
+ var NoFreeAddressesInSubnet$ = [-3, n0, _NFAIS,
1005
+ { [_e]: _c, [_hE]: 409 },
1006
+ [_EC, _M],
1007
+ [0, 0], 1
1008
+ ];
1009
+ n0_registry.registerError(NoFreeAddressesInSubnet$, NoFreeAddressesInSubnet);
1010
+ var PolicyNotFound$ = [-3, n0, _PNF,
1011
+ { [_e]: _c, [_hE]: 404 },
1012
+ [_EC, _M],
1013
+ [0, 0]
1014
+ ];
1015
+ n0_registry.registerError(PolicyNotFound$, PolicyNotFound);
1016
+ var ReplicationAlreadyExists$ = [-3, n0, _RAE,
1017
+ { [_e]: _c, [_hE]: 409 },
1018
+ [_EC, _M],
1019
+ [0, 0]
1020
+ ];
1021
+ n0_registry.registerError(ReplicationAlreadyExists$, ReplicationAlreadyExists);
1022
+ var ReplicationNotFound$ = [-3, n0, _RNF,
1023
+ { [_e]: _c, [_hE]: 404 },
1024
+ [_EC, _M],
1025
+ [0, 0]
1026
+ ];
1027
+ n0_registry.registerError(ReplicationNotFound$, ReplicationNotFound);
1028
+ var SecurityGroupLimitExceeded$ = [-3, n0, _SGLE,
1029
+ { [_e]: _c, [_hE]: 400 },
1030
+ [_EC, _M],
1031
+ [0, 0], 1
1032
+ ];
1033
+ n0_registry.registerError(SecurityGroupLimitExceeded$, SecurityGroupLimitExceeded);
1034
+ var SecurityGroupNotFound$ = [-3, n0, _SGNF,
1035
+ { [_e]: _c, [_hE]: 400 },
1036
+ [_EC, _M],
1037
+ [0, 0], 1
1038
+ ];
1039
+ n0_registry.registerError(SecurityGroupNotFound$, SecurityGroupNotFound);
1040
+ var SubnetNotFound$ = [-3, n0, _SNF,
1041
+ { [_e]: _c, [_hE]: 400 },
1042
+ [_EC, _M],
1043
+ [0, 0], 1
1044
+ ];
1045
+ n0_registry.registerError(SubnetNotFound$, SubnetNotFound);
1046
+ var ThrottlingException$ = [-3, n0, _TE,
1047
+ { [_e]: _c, [_hE]: 429 },
1048
+ [_EC, _M],
1049
+ [0, 0]
1050
+ ];
1051
+ n0_registry.registerError(ThrottlingException$, ThrottlingException);
1052
+ var ThroughputLimitExceeded$ = [-3, n0, _TLE,
1053
+ { [_e]: _c, [_hE]: 400 },
1054
+ [_EC, _M],
1055
+ [0, 0], 1
1056
+ ];
1057
+ n0_registry.registerError(ThroughputLimitExceeded$, ThroughputLimitExceeded);
1058
+ var TooManyRequests$ = [-3, n0, _TMR,
1059
+ { [_e]: _c, [_hE]: 429 },
1060
+ [_EC, _M],
1061
+ [0, 0], 1
1062
+ ];
1063
+ n0_registry.registerError(TooManyRequests$, TooManyRequests);
1064
+ var UnsupportedAvailabilityZone$ = [-3, n0, _UAZ,
1065
+ { [_e]: _c, [_hE]: 400 },
1066
+ [_EC, _M],
1067
+ [0, 0], 1
1068
+ ];
1069
+ n0_registry.registerError(UnsupportedAvailabilityZone$, UnsupportedAvailabilityZone);
1070
+ var ValidationException$ = [-3, n0, _VE,
1071
+ { [_e]: _c, [_hE]: 400 },
1072
+ [_EC, _M],
1073
+ [0, 0], 1
1074
+ ];
1075
+ n0_registry.registerError(ValidationException$, ValidationException);
1076
+ const errorTypeRegistries = [
1077
+ _s_registry,
1078
+ n0_registry,
1079
+ ];
1080
+ var AccessPointDescription$ = [3, n0, _APD,
1081
+ 0,
1082
+ [_CT, _N, _T, _API, _APA, _FSI, _PU, _RD, _OI, _LCS],
1083
+ [0, 0, () => Tags, 0, 0, 0, () => PosixUser$, () => RootDirectory$, 0, 0]
1084
+ ];
1085
+ var BackupPolicy$ = [3, n0, _BP,
1086
+ 0,
1087
+ [_S],
1088
+ [0], 1
1089
+ ];
1090
+ var BackupPolicyDescription$ = [3, n0, _BPD,
1091
+ 0,
1092
+ [_BP],
1093
+ [() => BackupPolicy$]
1094
+ ];
1095
+ var CreateAccessPointRequest$ = [3, n0, _CAPR,
1096
+ 0,
1097
+ [_FSI, _CT, _T, _PU, _RD],
1098
+ [0, [0, 4], () => Tags, () => PosixUser$, () => RootDirectory$], 1
1099
+ ];
1100
+ var CreateFileSystemRequest$ = [3, n0, _CFSR,
1101
+ 0,
1102
+ [_CTr, _PM, _E, _KKI, _TM, _PTIM, _AZN, _B, _T],
1103
+ [[0, 4], 0, 2, 0, 0, 1, 0, 2, () => Tags]
1104
+ ];
1105
+ var CreateMountTargetRequest$ = [3, n0, _CMTR,
1106
+ 0,
1107
+ [_FSI, _SI, _IA, _IAp, _IAT, _SG],
1108
+ [0, 0, 0, 0, 0, 64 | 0], 2
1109
+ ];
1110
+ var CreateReplicationConfigurationRequest$ = [3, n0, _CRCR,
1111
+ 0,
1112
+ [_SFSI, _D],
1113
+ [[0, 1], () => DestinationsToCreate], 2
1114
+ ];
1115
+ var CreateTagsRequest$ = [3, n0, _CTR,
1116
+ 0,
1117
+ [_FSI, _T],
1118
+ [[0, 1], () => Tags], 2
1119
+ ];
1120
+ var CreationInfo$ = [3, n0, _CI,
1121
+ 0,
1122
+ [_OU, _OG, _P],
1123
+ [1, 1, 0], 3
1124
+ ];
1125
+ var DeleteAccessPointRequest$ = [3, n0, _DAPR,
1126
+ 0,
1127
+ [_API],
1128
+ [[0, 1]], 1
1129
+ ];
1130
+ var DeleteFileSystemPolicyRequest$ = [3, n0, _DFSPR,
1131
+ 0,
1132
+ [_FSI],
1133
+ [[0, 1]], 1
1134
+ ];
1135
+ var DeleteFileSystemRequest$ = [3, n0, _DFSR,
1136
+ 0,
1137
+ [_FSI],
1138
+ [[0, 1]], 1
1139
+ ];
1140
+ var DeleteMountTargetRequest$ = [3, n0, _DMTR,
1141
+ 0,
1142
+ [_MTI],
1143
+ [[0, 1]], 1
1144
+ ];
1145
+ var DeleteReplicationConfigurationRequest$ = [3, n0, _DRCR,
1146
+ 0,
1147
+ [_SFSI, _DM],
1148
+ [[0, 1], [0, { [_hQ]: _dM }]], 1
1149
+ ];
1150
+ var DeleteTagsRequest$ = [3, n0, _DTR,
1151
+ 0,
1152
+ [_FSI, _TK],
1153
+ [[0, 1], 64 | 0], 2
1154
+ ];
1155
+ var DescribeAccessPointsRequest$ = [3, n0, _DAPRe,
1156
+ 0,
1157
+ [_MR, _NT, _API, _FSI],
1158
+ [[1, { [_hQ]: _MR }], [0, { [_hQ]: _NT }], [0, { [_hQ]: _API }], [0, { [_hQ]: _FSI }]]
1159
+ ];
1160
+ var DescribeAccessPointsResponse$ = [3, n0, _DAPRes,
1161
+ 0,
1162
+ [_AP, _NT],
1163
+ [() => AccessPointDescriptions, 0]
1164
+ ];
1165
+ var DescribeAccountPreferencesRequest$ = [3, n0, _DAPResc,
1166
+ 0,
1167
+ [_NT, _MR],
1168
+ [0, 1]
1169
+ ];
1170
+ var DescribeAccountPreferencesResponse$ = [3, n0, _DAPRescr,
1171
+ 0,
1172
+ [_RIP, _NT],
1173
+ [() => ResourceIdPreference$, 0]
1174
+ ];
1175
+ var DescribeBackupPolicyRequest$ = [3, n0, _DBPR,
1176
+ 0,
1177
+ [_FSI],
1178
+ [[0, 1]], 1
1179
+ ];
1180
+ var DescribeFileSystemPolicyRequest$ = [3, n0, _DFSPRe,
1181
+ 0,
1182
+ [_FSI],
1183
+ [[0, 1]], 1
1184
+ ];
1185
+ var DescribeFileSystemsRequest$ = [3, n0, _DFSRe,
1186
+ 0,
1187
+ [_MI, _Ma, _CTr, _FSI],
1188
+ [[1, { [_hQ]: _MI }], [0, { [_hQ]: _Ma }], [0, { [_hQ]: _CTr }], [0, { [_hQ]: _FSI }]]
1189
+ ];
1190
+ var DescribeFileSystemsResponse$ = [3, n0, _DFSRes,
1191
+ 0,
1192
+ [_Ma, _FS, _NM],
1193
+ [0, () => FileSystemDescriptions, 0]
1194
+ ];
1195
+ var DescribeLifecycleConfigurationRequest$ = [3, n0, _DLCR,
1196
+ 0,
1197
+ [_FSI],
1198
+ [[0, 1]], 1
1199
+ ];
1200
+ var DescribeMountTargetSecurityGroupsRequest$ = [3, n0, _DMTSGR,
1201
+ 0,
1202
+ [_MTI],
1203
+ [[0, 1]], 1
1204
+ ];
1205
+ var DescribeMountTargetSecurityGroupsResponse$ = [3, n0, _DMTSGRe,
1206
+ 0,
1207
+ [_SG],
1208
+ [64 | 0], 1
1209
+ ];
1210
+ var DescribeMountTargetsRequest$ = [3, n0, _DMTRe,
1211
+ 0,
1212
+ [_MI, _Ma, _FSI, _MTI, _API],
1213
+ [[1, { [_hQ]: _MI }], [0, { [_hQ]: _Ma }], [0, { [_hQ]: _FSI }], [0, { [_hQ]: _MTI }], [0, { [_hQ]: _API }]]
1214
+ ];
1215
+ var DescribeMountTargetsResponse$ = [3, n0, _DMTRes,
1216
+ 0,
1217
+ [_Ma, _MT, _NM],
1218
+ [0, () => MountTargetDescriptions, 0]
1219
+ ];
1220
+ var DescribeReplicationConfigurationsRequest$ = [3, n0, _DRCRe,
1221
+ 0,
1222
+ [_FSI, _NT, _MR],
1223
+ [[0, { [_hQ]: _FSI }], [0, { [_hQ]: _NT }], [1, { [_hQ]: _MR }]]
1224
+ ];
1225
+ var DescribeReplicationConfigurationsResponse$ = [3, n0, _DRCRes,
1226
+ 0,
1227
+ [_R, _NT],
1228
+ [() => ReplicationConfigurationDescriptions, 0]
1229
+ ];
1230
+ var DescribeTagsRequest$ = [3, n0, _DTRe,
1231
+ 0,
1232
+ [_FSI, _MI, _Ma],
1233
+ [[0, 1], [1, { [_hQ]: _MI }], [0, { [_hQ]: _Ma }]], 1
1234
+ ];
1235
+ var DescribeTagsResponse$ = [3, n0, _DTRes,
1236
+ 0,
1237
+ [_T, _Ma, _NM],
1238
+ [() => Tags, 0, 0], 1
1239
+ ];
1240
+ var Destination$ = [3, n0, _De,
1241
+ 0,
1242
+ [_S, _FSI, _Re, _LRT, _OI, _SM, _RA],
1243
+ [0, 0, 0, 4, 0, 0, 0], 3
1244
+ ];
1245
+ var DestinationToCreate$ = [3, n0, _DTC,
1246
+ 0,
1247
+ [_Re, _AZN, _KKI, _FSI, _RA],
1248
+ [0, 0, 0, 0, 0]
1249
+ ];
1250
+ var FileSystemDescription$ = [3, n0, _FSD,
1251
+ 0,
1252
+ [_OI, _CTr, _FSI, _CTre, _LCS, _NOMT, _SIB, _PM, _T, _FSA, _N, _E, _KKI, _TM, _PTIM, _AZN, _AZI, _FSP],
1253
+ [0, 0, 0, 4, 0, 1, () => FileSystemSize$, 0, () => Tags, 0, 0, 2, 0, 0, 1, 0, 0, () => FileSystemProtectionDescription$], 9
1254
+ ];
1255
+ var FileSystemPolicyDescription$ = [3, n0, _FSPD,
1256
+ 0,
1257
+ [_FSI, _Po],
1258
+ [0, 0]
1259
+ ];
1260
+ var FileSystemProtectionDescription$ = [3, n0, _FSPDi,
1261
+ 0,
1262
+ [_ROP],
1263
+ [0]
1264
+ ];
1265
+ var FileSystemSize$ = [3, n0, _FSS,
1266
+ 0,
1267
+ [_V, _Ti, _VIIA, _VIS, _VIA],
1268
+ [1, 4, 1, 1, 1], 1
1269
+ ];
1270
+ var LifecycleConfigurationDescription$ = [3, n0, _LCD,
1271
+ 0,
1272
+ [_LP],
1273
+ [() => LifecyclePolicies]
1274
+ ];
1275
+ var LifecyclePolicy$ = [3, n0, _LPi,
1276
+ 0,
1277
+ [_TTIA, _TTPSC, _TTA],
1278
+ [0, 0, 0]
1279
+ ];
1280
+ var ListTagsForResourceRequest$ = [3, n0, _LTFRR,
1281
+ 0,
1282
+ [_RI, _MR, _NT],
1283
+ [[0, 1], [1, { [_hQ]: _MR }], [0, { [_hQ]: _NT }]], 1
1284
+ ];
1285
+ var ListTagsForResourceResponse$ = [3, n0, _LTFRRi,
1286
+ 0,
1287
+ [_T, _NT],
1288
+ [() => Tags, 0]
1289
+ ];
1290
+ var ModifyMountTargetSecurityGroupsRequest$ = [3, n0, _MMTSGR,
1291
+ 0,
1292
+ [_MTI, _SG],
1293
+ [[0, 1], 64 | 0], 1
1294
+ ];
1295
+ var MountTargetDescription$ = [3, n0, _MTD,
1296
+ 0,
1297
+ [_MTI, _FSI, _SI, _LCS, _OI, _IA, _IAp, _NII, _AZI, _AZN, _VI],
1298
+ [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], 4
1299
+ ];
1300
+ var PosixUser$ = [3, n0, _PU,
1301
+ 0,
1302
+ [_U, _G, _SGe],
1303
+ [1, 1, 64 | 1], 2
1304
+ ];
1305
+ var PutAccountPreferencesRequest$ = [3, n0, _PAPR,
1306
+ 0,
1307
+ [_RIT],
1308
+ [0], 1
1309
+ ];
1310
+ var PutAccountPreferencesResponse$ = [3, n0, _PAPRu,
1311
+ 0,
1312
+ [_RIP],
1313
+ [() => ResourceIdPreference$]
1314
+ ];
1315
+ var PutBackupPolicyRequest$ = [3, n0, _PBPR,
1316
+ 0,
1317
+ [_FSI, _BP],
1318
+ [[0, 1], () => BackupPolicy$], 2
1319
+ ];
1320
+ var PutFileSystemPolicyRequest$ = [3, n0, _PFSPR,
1321
+ 0,
1322
+ [_FSI, _Po, _BPLSC],
1323
+ [[0, 1], 0, 2], 2
1324
+ ];
1325
+ var PutLifecycleConfigurationRequest$ = [3, n0, _PLCR,
1326
+ 0,
1327
+ [_FSI, _LP],
1328
+ [[0, 1], () => LifecyclePolicies], 2
1329
+ ];
1330
+ var ReplicationConfigurationDescription$ = [3, n0, _RCD,
1331
+ 0,
1332
+ [_SFSI, _SFSR, _SFSA, _OSFSA, _CTre, _D, _SFSOI],
1333
+ [0, 0, 0, 0, 4, () => Destinations, 0], 6
1334
+ ];
1335
+ var ResourceIdPreference$ = [3, n0, _RIP,
1336
+ 0,
1337
+ [_RIT, _Res],
1338
+ [0, 64 | 0]
1339
+ ];
1340
+ var RootDirectory$ = [3, n0, _RD,
1341
+ 0,
1342
+ [_Pa, _CI],
1343
+ [0, () => CreationInfo$]
1344
+ ];
1345
+ var Tag$ = [3, n0, _Ta,
1346
+ 0,
1347
+ [_K, _V],
1348
+ [0, 0], 2
1349
+ ];
1350
+ var TagResourceRequest$ = [3, n0, _TRR,
1351
+ 0,
1352
+ [_RI, _T],
1353
+ [[0, 1], () => Tags], 2
1354
+ ];
1355
+ var UntagResourceRequest$ = [3, n0, _URR,
1356
+ 0,
1357
+ [_RI, _TK],
1358
+ [[0, 1], [64 | 0, { [_hQ]: _tK }]], 2
1359
+ ];
1360
+ var UpdateFileSystemProtectionRequest$ = [3, n0, _UFSPR,
1361
+ 0,
1362
+ [_FSI, _ROP],
1363
+ [[0, 1], 0], 1
1364
+ ];
1365
+ var UpdateFileSystemRequest$ = [3, n0, _UFSR,
1366
+ 0,
1367
+ [_FSI, _TM, _PTIM],
1368
+ [[0, 1], 0, 1], 1
1369
+ ];
1370
+ var __Unit = "unit";
1371
+ var AccessPointDescriptions = [1, n0, _APDc,
1372
+ 0, () => AccessPointDescription$
1373
+ ];
1374
+ var Destinations = [1, n0, _D,
1375
+ 0, () => Destination$
1376
+ ];
1377
+ var DestinationsToCreate = [1, n0, _DTCe,
1378
+ 0, () => DestinationToCreate$
1379
+ ];
1380
+ var FileSystemDescriptions = [1, n0, _FSDi,
1381
+ 0, () => FileSystemDescription$
1382
+ ];
1383
+ var LifecyclePolicies = [1, n0, _LP,
1384
+ 0, () => LifecyclePolicy$
1385
+ ];
1386
+ var MountTargetDescriptions = [1, n0, _MTDo,
1387
+ 0, () => MountTargetDescription$
1388
+ ];
1389
+ var ReplicationConfigurationDescriptions = [1, n0, _RCDe,
1390
+ 0, () => ReplicationConfigurationDescription$
1391
+ ];
1392
+ var Tags = [1, n0, _T,
1393
+ 0, () => Tag$
1394
+ ];
1395
+ var CreateAccessPoint$ = [9, n0, _CAP,
1396
+ { [_h]: ["POST", "/2015-02-01/access-points", 200] }, () => CreateAccessPointRequest$, () => AccessPointDescription$
1397
+ ];
1398
+ var CreateFileSystem$ = [9, n0, _CFS,
1399
+ { [_h]: ["POST", "/2015-02-01/file-systems", 201] }, () => CreateFileSystemRequest$, () => FileSystemDescription$
1400
+ ];
1401
+ var CreateMountTarget$ = [9, n0, _CMT,
1402
+ { [_h]: ["POST", "/2015-02-01/mount-targets", 200] }, () => CreateMountTargetRequest$, () => MountTargetDescription$
1403
+ ];
1404
+ var CreateReplicationConfiguration$ = [9, n0, _CRC,
1405
+ { [_h]: ["POST", "/2015-02-01/file-systems/{SourceFileSystemId}/replication-configuration", 200] }, () => CreateReplicationConfigurationRequest$, () => ReplicationConfigurationDescription$
1406
+ ];
1407
+ var CreateTags$ = [9, n0, _CTrea,
1408
+ { [_h]: ["POST", "/2015-02-01/create-tags/{FileSystemId}", 204] }, () => CreateTagsRequest$, () => __Unit
1409
+ ];
1410
+ var DeleteAccessPoint$ = [9, n0, _DAP,
1411
+ { [_h]: ["DELETE", "/2015-02-01/access-points/{AccessPointId}", 204] }, () => DeleteAccessPointRequest$, () => __Unit
1412
+ ];
1413
+ var DeleteFileSystem$ = [9, n0, _DFS,
1414
+ { [_h]: ["DELETE", "/2015-02-01/file-systems/{FileSystemId}", 204] }, () => DeleteFileSystemRequest$, () => __Unit
1415
+ ];
1416
+ var DeleteFileSystemPolicy$ = [9, n0, _DFSP,
1417
+ { [_h]: ["DELETE", "/2015-02-01/file-systems/{FileSystemId}/policy", 200] }, () => DeleteFileSystemPolicyRequest$, () => __Unit
1418
+ ];
1419
+ var DeleteMountTarget$ = [9, n0, _DMT,
1420
+ { [_h]: ["DELETE", "/2015-02-01/mount-targets/{MountTargetId}", 204] }, () => DeleteMountTargetRequest$, () => __Unit
1421
+ ];
1422
+ var DeleteReplicationConfiguration$ = [9, n0, _DRC,
1423
+ { [_h]: ["DELETE", "/2015-02-01/file-systems/{SourceFileSystemId}/replication-configuration", 204] }, () => DeleteReplicationConfigurationRequest$, () => __Unit
1424
+ ];
1425
+ var DeleteTags$ = [9, n0, _DTe,
1426
+ { [_h]: ["POST", "/2015-02-01/delete-tags/{FileSystemId}", 204] }, () => DeleteTagsRequest$, () => __Unit
1427
+ ];
1428
+ var DescribeAccessPoints$ = [9, n0, _DAPe,
1429
+ { [_h]: ["GET", "/2015-02-01/access-points", 200] }, () => DescribeAccessPointsRequest$, () => DescribeAccessPointsResponse$
1430
+ ];
1431
+ var DescribeAccountPreferences$ = [9, n0, _DAPes,
1432
+ { [_h]: ["GET", "/2015-02-01/account-preferences", 200] }, () => DescribeAccountPreferencesRequest$, () => DescribeAccountPreferencesResponse$
1433
+ ];
1434
+ var DescribeBackupPolicy$ = [9, n0, _DBP,
1435
+ { [_h]: ["GET", "/2015-02-01/file-systems/{FileSystemId}/backup-policy", 200] }, () => DescribeBackupPolicyRequest$, () => BackupPolicyDescription$
1436
+ ];
1437
+ var DescribeFileSystemPolicy$ = [9, n0, _DFSPe,
1438
+ { [_h]: ["GET", "/2015-02-01/file-systems/{FileSystemId}/policy", 200] }, () => DescribeFileSystemPolicyRequest$, () => FileSystemPolicyDescription$
1439
+ ];
1440
+ var DescribeFileSystems$ = [9, n0, _DFSe,
1441
+ { [_h]: ["GET", "/2015-02-01/file-systems", 200] }, () => DescribeFileSystemsRequest$, () => DescribeFileSystemsResponse$
1442
+ ];
1443
+ var DescribeLifecycleConfiguration$ = [9, n0, _DLC,
1444
+ { [_h]: ["GET", "/2015-02-01/file-systems/{FileSystemId}/lifecycle-configuration", 200] }, () => DescribeLifecycleConfigurationRequest$, () => LifecycleConfigurationDescription$
1445
+ ];
1446
+ var DescribeMountTargets$ = [9, n0, _DMTe,
1447
+ { [_h]: ["GET", "/2015-02-01/mount-targets", 200] }, () => DescribeMountTargetsRequest$, () => DescribeMountTargetsResponse$
1448
+ ];
1449
+ var DescribeMountTargetSecurityGroups$ = [9, n0, _DMTSG,
1450
+ { [_h]: ["GET", "/2015-02-01/mount-targets/{MountTargetId}/security-groups", 200] }, () => DescribeMountTargetSecurityGroupsRequest$, () => DescribeMountTargetSecurityGroupsResponse$
1451
+ ];
1452
+ var DescribeReplicationConfigurations$ = [9, n0, _DRCe,
1453
+ { [_h]: ["GET", "/2015-02-01/file-systems/replication-configurations", 200] }, () => DescribeReplicationConfigurationsRequest$, () => DescribeReplicationConfigurationsResponse$
1454
+ ];
1455
+ var DescribeTags$ = [9, n0, _DTes,
1456
+ { [_h]: ["GET", "/2015-02-01/tags/{FileSystemId}", 200] }, () => DescribeTagsRequest$, () => DescribeTagsResponse$
1457
+ ];
1458
+ var ListTagsForResource$ = [9, n0, _LTFR,
1459
+ { [_h]: ["GET", "/2015-02-01/resource-tags/{ResourceId}", 200] }, () => ListTagsForResourceRequest$, () => ListTagsForResourceResponse$
1460
+ ];
1461
+ var ModifyMountTargetSecurityGroups$ = [9, n0, _MMTSG,
1462
+ { [_h]: ["PUT", "/2015-02-01/mount-targets/{MountTargetId}/security-groups", 204] }, () => ModifyMountTargetSecurityGroupsRequest$, () => __Unit
1463
+ ];
1464
+ var PutAccountPreferences$ = [9, n0, _PAP,
1465
+ { [_h]: ["PUT", "/2015-02-01/account-preferences", 200] }, () => PutAccountPreferencesRequest$, () => PutAccountPreferencesResponse$
1466
+ ];
1467
+ var PutBackupPolicy$ = [9, n0, _PBP,
1468
+ { [_h]: ["PUT", "/2015-02-01/file-systems/{FileSystemId}/backup-policy", 200] }, () => PutBackupPolicyRequest$, () => BackupPolicyDescription$
1469
+ ];
1470
+ var PutFileSystemPolicy$ = [9, n0, _PFSP,
1471
+ { [_h]: ["PUT", "/2015-02-01/file-systems/{FileSystemId}/policy", 200] }, () => PutFileSystemPolicyRequest$, () => FileSystemPolicyDescription$
1472
+ ];
1473
+ var PutLifecycleConfiguration$ = [9, n0, _PLC,
1474
+ { [_h]: ["PUT", "/2015-02-01/file-systems/{FileSystemId}/lifecycle-configuration", 200] }, () => PutLifecycleConfigurationRequest$, () => LifecycleConfigurationDescription$
1475
+ ];
1476
+ var TagResource$ = [9, n0, _TR,
1477
+ { [_h]: ["POST", "/2015-02-01/resource-tags/{ResourceId}", 200] }, () => TagResourceRequest$, () => __Unit
1478
+ ];
1479
+ var UntagResource$ = [9, n0, _UR,
1480
+ { [_h]: ["DELETE", "/2015-02-01/resource-tags/{ResourceId}", 200] }, () => UntagResourceRequest$, () => __Unit
1481
+ ];
1482
+ var UpdateFileSystem$ = [9, n0, _UFS,
1483
+ { [_h]: ["PUT", "/2015-02-01/file-systems/{FileSystemId}", 202] }, () => UpdateFileSystemRequest$, () => FileSystemDescription$
1484
+ ];
1485
+ var UpdateFileSystemProtection$ = [9, n0, _UFSP,
1486
+ { [_h]: ["PUT", "/2015-02-01/file-systems/{FileSystemId}/protection", 200] }, () => UpdateFileSystemProtectionRequest$, () => FileSystemProtectionDescription$
1487
+ ];
1488
+
1489
+ const getRuntimeConfig$1 = (config) => {
1490
+ return {
1491
+ apiVersion: "2015-02-01",
1492
+ base64Decoder: config?.base64Decoder ?? fromBase64,
1493
+ base64Encoder: config?.base64Encoder ?? toBase64,
1494
+ disableHostPrefix: config?.disableHostPrefix ?? false,
1495
+ endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
1496
+ extensions: config?.extensions ?? [],
1497
+ httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? defaultEFSHttpAuthSchemeProvider,
1498
+ httpAuthSchemes: config?.httpAuthSchemes ?? [
1499
+ {
1500
+ schemeId: "aws.auth#sigv4",
1501
+ identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"),
1502
+ signer: new AwsSdkSigV4Signer(),
1503
+ },
1504
+ ],
1505
+ logger: config?.logger ?? new NoOpLogger(),
1506
+ protocol: config?.protocol ?? AwsRestJsonProtocol,
1507
+ protocolSettings: config?.protocolSettings ?? {
1508
+ defaultNamespace: "com.amazonaws.efs",
1509
+ errorTypeRegistries,
1510
+ version: "2015-02-01",
1511
+ serviceTarget: "MagnolioAPIService_v20150201",
1512
+ },
1513
+ serviceId: config?.serviceId ?? "EFS",
1514
+ sha256: config?.sha256 ?? Sha256,
1515
+ urlParser: config?.urlParser ?? parseUrl,
1516
+ utf8Decoder: config?.utf8Decoder ?? fromUtf8,
1517
+ utf8Encoder: config?.utf8Encoder ?? toUtf8,
1518
+ };
1519
+ };
1520
+
1521
+ const getRuntimeConfig = (config) => {
1522
+ emitWarningIfUnsupportedVersion(process.version);
1523
+ const defaultsMode = resolveDefaultsModeConfig(config);
1524
+ const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
1525
+ const clientSharedValues = getRuntimeConfig$1(config);
1526
+ emitWarningIfUnsupportedVersion$1(process.version);
1527
+ const loaderConfig = {
1528
+ profile: config?.profile,
1529
+ logger: clientSharedValues.logger,
1530
+ };
1531
+ return {
1532
+ ...clientSharedValues,
1533
+ ...config,
1534
+ runtime: "node",
1535
+ defaultsMode,
1536
+ authSchemePreference: config?.authSchemePreference ?? loadConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
1537
+ bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
1538
+ credentialDefaultProvider: config?.credentialDefaultProvider ?? defaultProvider,
1539
+ defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
1540
+ maxAttempts: config?.maxAttempts ?? loadConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
1541
+ region: config?.region ?? loadConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
1542
+ requestHandler: NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
1543
+ retryMode: config?.retryMode ??
1544
+ loadConfig({
1545
+ ...NODE_RETRY_MODE_CONFIG_OPTIONS,
1546
+ default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
1547
+ }, config),
1548
+ streamCollector: config?.streamCollector ?? streamCollector,
1549
+ useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
1550
+ useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
1551
+ userAgentAppId: config?.userAgentAppId ?? loadConfig(NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),
1552
+ };
1553
+ };
1554
+
34
1555
  const getHttpAuthExtensionConfiguration = (runtimeConfig) => {
35
1556
  const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
36
1557
  let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
@@ -619,52 +2140,208 @@ const TransitionToPrimaryStorageClassRules = {
619
2140
  AFTER_1_ACCESS: "AFTER_1_ACCESS",
620
2141
  };
621
2142
 
2143
+ exports.AccessPointAlreadyExists = AccessPointAlreadyExists;
2144
+ exports.AccessPointAlreadyExists$ = AccessPointAlreadyExists$;
2145
+ exports.AccessPointDescription$ = AccessPointDescription$;
2146
+ exports.AccessPointLimitExceeded = AccessPointLimitExceeded;
2147
+ exports.AccessPointLimitExceeded$ = AccessPointLimitExceeded$;
2148
+ exports.AccessPointNotFound = AccessPointNotFound;
2149
+ exports.AccessPointNotFound$ = AccessPointNotFound$;
2150
+ exports.AvailabilityZonesMismatch = AvailabilityZonesMismatch;
2151
+ exports.AvailabilityZonesMismatch$ = AvailabilityZonesMismatch$;
2152
+ exports.BackupPolicy$ = BackupPolicy$;
2153
+ exports.BackupPolicyDescription$ = BackupPolicyDescription$;
2154
+ exports.BadRequest = BadRequest;
2155
+ exports.BadRequest$ = BadRequest$;
2156
+ exports.ConflictException = ConflictException;
2157
+ exports.ConflictException$ = ConflictException$;
2158
+ exports.CreateAccessPoint$ = CreateAccessPoint$;
622
2159
  exports.CreateAccessPointCommand = CreateAccessPointCommand;
2160
+ exports.CreateAccessPointRequest$ = CreateAccessPointRequest$;
2161
+ exports.CreateFileSystem$ = CreateFileSystem$;
623
2162
  exports.CreateFileSystemCommand = CreateFileSystemCommand;
2163
+ exports.CreateFileSystemRequest$ = CreateFileSystemRequest$;
2164
+ exports.CreateMountTarget$ = CreateMountTarget$;
624
2165
  exports.CreateMountTargetCommand = CreateMountTargetCommand;
2166
+ exports.CreateMountTargetRequest$ = CreateMountTargetRequest$;
2167
+ exports.CreateReplicationConfiguration$ = CreateReplicationConfiguration$;
625
2168
  exports.CreateReplicationConfigurationCommand = CreateReplicationConfigurationCommand;
2169
+ exports.CreateReplicationConfigurationRequest$ = CreateReplicationConfigurationRequest$;
2170
+ exports.CreateTags$ = CreateTags$;
626
2171
  exports.CreateTagsCommand = CreateTagsCommand;
2172
+ exports.CreateTagsRequest$ = CreateTagsRequest$;
2173
+ exports.CreationInfo$ = CreationInfo$;
2174
+ exports.DeleteAccessPoint$ = DeleteAccessPoint$;
627
2175
  exports.DeleteAccessPointCommand = DeleteAccessPointCommand;
2176
+ exports.DeleteAccessPointRequest$ = DeleteAccessPointRequest$;
2177
+ exports.DeleteFileSystem$ = DeleteFileSystem$;
628
2178
  exports.DeleteFileSystemCommand = DeleteFileSystemCommand;
2179
+ exports.DeleteFileSystemPolicy$ = DeleteFileSystemPolicy$;
629
2180
  exports.DeleteFileSystemPolicyCommand = DeleteFileSystemPolicyCommand;
2181
+ exports.DeleteFileSystemPolicyRequest$ = DeleteFileSystemPolicyRequest$;
2182
+ exports.DeleteFileSystemRequest$ = DeleteFileSystemRequest$;
2183
+ exports.DeleteMountTarget$ = DeleteMountTarget$;
630
2184
  exports.DeleteMountTargetCommand = DeleteMountTargetCommand;
2185
+ exports.DeleteMountTargetRequest$ = DeleteMountTargetRequest$;
2186
+ exports.DeleteReplicationConfiguration$ = DeleteReplicationConfiguration$;
631
2187
  exports.DeleteReplicationConfigurationCommand = DeleteReplicationConfigurationCommand;
2188
+ exports.DeleteReplicationConfigurationRequest$ = DeleteReplicationConfigurationRequest$;
2189
+ exports.DeleteTags$ = DeleteTags$;
632
2190
  exports.DeleteTagsCommand = DeleteTagsCommand;
2191
+ exports.DeleteTagsRequest$ = DeleteTagsRequest$;
633
2192
  exports.DeletionMode = DeletionMode;
2193
+ exports.DependencyTimeout = DependencyTimeout;
2194
+ exports.DependencyTimeout$ = DependencyTimeout$;
2195
+ exports.DescribeAccessPoints$ = DescribeAccessPoints$;
634
2196
  exports.DescribeAccessPointsCommand = DescribeAccessPointsCommand;
2197
+ exports.DescribeAccessPointsRequest$ = DescribeAccessPointsRequest$;
2198
+ exports.DescribeAccessPointsResponse$ = DescribeAccessPointsResponse$;
2199
+ exports.DescribeAccountPreferences$ = DescribeAccountPreferences$;
635
2200
  exports.DescribeAccountPreferencesCommand = DescribeAccountPreferencesCommand;
2201
+ exports.DescribeAccountPreferencesRequest$ = DescribeAccountPreferencesRequest$;
2202
+ exports.DescribeAccountPreferencesResponse$ = DescribeAccountPreferencesResponse$;
2203
+ exports.DescribeBackupPolicy$ = DescribeBackupPolicy$;
636
2204
  exports.DescribeBackupPolicyCommand = DescribeBackupPolicyCommand;
2205
+ exports.DescribeBackupPolicyRequest$ = DescribeBackupPolicyRequest$;
2206
+ exports.DescribeFileSystemPolicy$ = DescribeFileSystemPolicy$;
637
2207
  exports.DescribeFileSystemPolicyCommand = DescribeFileSystemPolicyCommand;
2208
+ exports.DescribeFileSystemPolicyRequest$ = DescribeFileSystemPolicyRequest$;
2209
+ exports.DescribeFileSystems$ = DescribeFileSystems$;
638
2210
  exports.DescribeFileSystemsCommand = DescribeFileSystemsCommand;
2211
+ exports.DescribeFileSystemsRequest$ = DescribeFileSystemsRequest$;
2212
+ exports.DescribeFileSystemsResponse$ = DescribeFileSystemsResponse$;
2213
+ exports.DescribeLifecycleConfiguration$ = DescribeLifecycleConfiguration$;
639
2214
  exports.DescribeLifecycleConfigurationCommand = DescribeLifecycleConfigurationCommand;
2215
+ exports.DescribeLifecycleConfigurationRequest$ = DescribeLifecycleConfigurationRequest$;
2216
+ exports.DescribeMountTargetSecurityGroups$ = DescribeMountTargetSecurityGroups$;
640
2217
  exports.DescribeMountTargetSecurityGroupsCommand = DescribeMountTargetSecurityGroupsCommand;
2218
+ exports.DescribeMountTargetSecurityGroupsRequest$ = DescribeMountTargetSecurityGroupsRequest$;
2219
+ exports.DescribeMountTargetSecurityGroupsResponse$ = DescribeMountTargetSecurityGroupsResponse$;
2220
+ exports.DescribeMountTargets$ = DescribeMountTargets$;
641
2221
  exports.DescribeMountTargetsCommand = DescribeMountTargetsCommand;
2222
+ exports.DescribeMountTargetsRequest$ = DescribeMountTargetsRequest$;
2223
+ exports.DescribeMountTargetsResponse$ = DescribeMountTargetsResponse$;
2224
+ exports.DescribeReplicationConfigurations$ = DescribeReplicationConfigurations$;
642
2225
  exports.DescribeReplicationConfigurationsCommand = DescribeReplicationConfigurationsCommand;
2226
+ exports.DescribeReplicationConfigurationsRequest$ = DescribeReplicationConfigurationsRequest$;
2227
+ exports.DescribeReplicationConfigurationsResponse$ = DescribeReplicationConfigurationsResponse$;
2228
+ exports.DescribeTags$ = DescribeTags$;
643
2229
  exports.DescribeTagsCommand = DescribeTagsCommand;
2230
+ exports.DescribeTagsRequest$ = DescribeTagsRequest$;
2231
+ exports.DescribeTagsResponse$ = DescribeTagsResponse$;
2232
+ exports.Destination$ = Destination$;
2233
+ exports.DestinationToCreate$ = DestinationToCreate$;
644
2234
  exports.EFS = EFS;
645
2235
  exports.EFSClient = EFSClient;
2236
+ exports.EFSServiceException = EFSServiceException;
2237
+ exports.EFSServiceException$ = EFSServiceException$;
2238
+ exports.FileSystemAlreadyExists = FileSystemAlreadyExists;
2239
+ exports.FileSystemAlreadyExists$ = FileSystemAlreadyExists$;
2240
+ exports.FileSystemDescription$ = FileSystemDescription$;
2241
+ exports.FileSystemInUse = FileSystemInUse;
2242
+ exports.FileSystemInUse$ = FileSystemInUse$;
2243
+ exports.FileSystemLimitExceeded = FileSystemLimitExceeded;
2244
+ exports.FileSystemLimitExceeded$ = FileSystemLimitExceeded$;
2245
+ exports.FileSystemNotFound = FileSystemNotFound;
2246
+ exports.FileSystemNotFound$ = FileSystemNotFound$;
2247
+ exports.FileSystemPolicyDescription$ = FileSystemPolicyDescription$;
2248
+ exports.FileSystemProtectionDescription$ = FileSystemProtectionDescription$;
2249
+ exports.FileSystemSize$ = FileSystemSize$;
2250
+ exports.IncorrectFileSystemLifeCycleState = IncorrectFileSystemLifeCycleState;
2251
+ exports.IncorrectFileSystemLifeCycleState$ = IncorrectFileSystemLifeCycleState$;
2252
+ exports.IncorrectMountTargetState = IncorrectMountTargetState;
2253
+ exports.IncorrectMountTargetState$ = IncorrectMountTargetState$;
2254
+ exports.InsufficientThroughputCapacity = InsufficientThroughputCapacity;
2255
+ exports.InsufficientThroughputCapacity$ = InsufficientThroughputCapacity$;
2256
+ exports.InternalServerError = InternalServerError;
2257
+ exports.InternalServerError$ = InternalServerError$;
2258
+ exports.InvalidPolicyException = InvalidPolicyException;
2259
+ exports.InvalidPolicyException$ = InvalidPolicyException$;
2260
+ exports.IpAddressInUse = IpAddressInUse;
2261
+ exports.IpAddressInUse$ = IpAddressInUse$;
646
2262
  exports.IpAddressType = IpAddressType;
647
2263
  exports.LifeCycleState = LifeCycleState;
2264
+ exports.LifecycleConfigurationDescription$ = LifecycleConfigurationDescription$;
2265
+ exports.LifecyclePolicy$ = LifecyclePolicy$;
2266
+ exports.ListTagsForResource$ = ListTagsForResource$;
648
2267
  exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
2268
+ exports.ListTagsForResourceRequest$ = ListTagsForResourceRequest$;
2269
+ exports.ListTagsForResourceResponse$ = ListTagsForResourceResponse$;
2270
+ exports.ModifyMountTargetSecurityGroups$ = ModifyMountTargetSecurityGroups$;
649
2271
  exports.ModifyMountTargetSecurityGroupsCommand = ModifyMountTargetSecurityGroupsCommand;
2272
+ exports.ModifyMountTargetSecurityGroupsRequest$ = ModifyMountTargetSecurityGroupsRequest$;
2273
+ exports.MountTargetConflict = MountTargetConflict;
2274
+ exports.MountTargetConflict$ = MountTargetConflict$;
2275
+ exports.MountTargetDescription$ = MountTargetDescription$;
2276
+ exports.MountTargetNotFound = MountTargetNotFound;
2277
+ exports.MountTargetNotFound$ = MountTargetNotFound$;
2278
+ exports.NetworkInterfaceLimitExceeded = NetworkInterfaceLimitExceeded;
2279
+ exports.NetworkInterfaceLimitExceeded$ = NetworkInterfaceLimitExceeded$;
2280
+ exports.NoFreeAddressesInSubnet = NoFreeAddressesInSubnet;
2281
+ exports.NoFreeAddressesInSubnet$ = NoFreeAddressesInSubnet$;
650
2282
  exports.PerformanceMode = PerformanceMode;
2283
+ exports.PolicyNotFound = PolicyNotFound;
2284
+ exports.PolicyNotFound$ = PolicyNotFound$;
2285
+ exports.PosixUser$ = PosixUser$;
2286
+ exports.PutAccountPreferences$ = PutAccountPreferences$;
651
2287
  exports.PutAccountPreferencesCommand = PutAccountPreferencesCommand;
2288
+ exports.PutAccountPreferencesRequest$ = PutAccountPreferencesRequest$;
2289
+ exports.PutAccountPreferencesResponse$ = PutAccountPreferencesResponse$;
2290
+ exports.PutBackupPolicy$ = PutBackupPolicy$;
652
2291
  exports.PutBackupPolicyCommand = PutBackupPolicyCommand;
2292
+ exports.PutBackupPolicyRequest$ = PutBackupPolicyRequest$;
2293
+ exports.PutFileSystemPolicy$ = PutFileSystemPolicy$;
653
2294
  exports.PutFileSystemPolicyCommand = PutFileSystemPolicyCommand;
2295
+ exports.PutFileSystemPolicyRequest$ = PutFileSystemPolicyRequest$;
2296
+ exports.PutLifecycleConfiguration$ = PutLifecycleConfiguration$;
654
2297
  exports.PutLifecycleConfigurationCommand = PutLifecycleConfigurationCommand;
2298
+ exports.PutLifecycleConfigurationRequest$ = PutLifecycleConfigurationRequest$;
2299
+ exports.ReplicationAlreadyExists = ReplicationAlreadyExists;
2300
+ exports.ReplicationAlreadyExists$ = ReplicationAlreadyExists$;
2301
+ exports.ReplicationConfigurationDescription$ = ReplicationConfigurationDescription$;
2302
+ exports.ReplicationNotFound = ReplicationNotFound;
2303
+ exports.ReplicationNotFound$ = ReplicationNotFound$;
655
2304
  exports.ReplicationOverwriteProtection = ReplicationOverwriteProtection;
656
2305
  exports.ReplicationStatus = ReplicationStatus;
657
2306
  exports.Resource = Resource;
2307
+ exports.ResourceIdPreference$ = ResourceIdPreference$;
658
2308
  exports.ResourceIdType = ResourceIdType;
2309
+ exports.RootDirectory$ = RootDirectory$;
2310
+ exports.SecurityGroupLimitExceeded = SecurityGroupLimitExceeded;
2311
+ exports.SecurityGroupLimitExceeded$ = SecurityGroupLimitExceeded$;
2312
+ exports.SecurityGroupNotFound = SecurityGroupNotFound;
2313
+ exports.SecurityGroupNotFound$ = SecurityGroupNotFound$;
659
2314
  exports.Status = Status;
2315
+ exports.SubnetNotFound = SubnetNotFound;
2316
+ exports.SubnetNotFound$ = SubnetNotFound$;
2317
+ exports.Tag$ = Tag$;
2318
+ exports.TagResource$ = TagResource$;
660
2319
  exports.TagResourceCommand = TagResourceCommand;
2320
+ exports.TagResourceRequest$ = TagResourceRequest$;
2321
+ exports.ThrottlingException = ThrottlingException;
2322
+ exports.ThrottlingException$ = ThrottlingException$;
2323
+ exports.ThroughputLimitExceeded = ThroughputLimitExceeded;
2324
+ exports.ThroughputLimitExceeded$ = ThroughputLimitExceeded$;
661
2325
  exports.ThroughputMode = ThroughputMode;
2326
+ exports.TooManyRequests = TooManyRequests;
2327
+ exports.TooManyRequests$ = TooManyRequests$;
662
2328
  exports.TransitionToArchiveRules = TransitionToArchiveRules;
663
2329
  exports.TransitionToIARules = TransitionToIARules;
664
2330
  exports.TransitionToPrimaryStorageClassRules = TransitionToPrimaryStorageClassRules;
2331
+ exports.UnsupportedAvailabilityZone = UnsupportedAvailabilityZone;
2332
+ exports.UnsupportedAvailabilityZone$ = UnsupportedAvailabilityZone$;
2333
+ exports.UntagResource$ = UntagResource$;
665
2334
  exports.UntagResourceCommand = UntagResourceCommand;
2335
+ exports.UntagResourceRequest$ = UntagResourceRequest$;
2336
+ exports.UpdateFileSystem$ = UpdateFileSystem$;
666
2337
  exports.UpdateFileSystemCommand = UpdateFileSystemCommand;
2338
+ exports.UpdateFileSystemProtection$ = UpdateFileSystemProtection$;
667
2339
  exports.UpdateFileSystemProtectionCommand = UpdateFileSystemProtectionCommand;
2340
+ exports.UpdateFileSystemProtectionRequest$ = UpdateFileSystemProtectionRequest$;
2341
+ exports.UpdateFileSystemRequest$ = UpdateFileSystemRequest$;
2342
+ exports.ValidationException = ValidationException;
2343
+ exports.ValidationException$ = ValidationException$;
2344
+ exports.errorTypeRegistries = errorTypeRegistries;
668
2345
  exports.paginateDescribeAccessPoints = paginateDescribeAccessPoints;
669
2346
  exports.paginateDescribeFileSystems = paginateDescribeFileSystems;
670
2347
  exports.paginateDescribeMountTargets = paginateDescribeMountTargets;