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