@aws-sdk/client-efs 3.928.0 → 3.929.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.
Files changed (52) hide show
  1. package/dist-cjs/index.js +1480 -1835
  2. package/dist-cjs/runtimeConfig.shared.js +2 -0
  3. package/dist-es/EFSClient.js +2 -0
  4. package/dist-es/commands/CreateAccessPointCommand.js +3 -9
  5. package/dist-es/commands/CreateFileSystemCommand.js +3 -9
  6. package/dist-es/commands/CreateMountTargetCommand.js +3 -9
  7. package/dist-es/commands/CreateReplicationConfigurationCommand.js +3 -9
  8. package/dist-es/commands/CreateTagsCommand.js +3 -9
  9. package/dist-es/commands/DeleteAccessPointCommand.js +3 -9
  10. package/dist-es/commands/DeleteFileSystemCommand.js +3 -9
  11. package/dist-es/commands/DeleteFileSystemPolicyCommand.js +3 -9
  12. package/dist-es/commands/DeleteMountTargetCommand.js +3 -9
  13. package/dist-es/commands/DeleteReplicationConfigurationCommand.js +3 -9
  14. package/dist-es/commands/DeleteTagsCommand.js +3 -9
  15. package/dist-es/commands/DescribeAccessPointsCommand.js +3 -9
  16. package/dist-es/commands/DescribeAccountPreferencesCommand.js +3 -9
  17. package/dist-es/commands/DescribeBackupPolicyCommand.js +3 -9
  18. package/dist-es/commands/DescribeFileSystemPolicyCommand.js +3 -9
  19. package/dist-es/commands/DescribeFileSystemsCommand.js +3 -9
  20. package/dist-es/commands/DescribeLifecycleConfigurationCommand.js +3 -9
  21. package/dist-es/commands/DescribeMountTargetSecurityGroupsCommand.js +3 -9
  22. package/dist-es/commands/DescribeMountTargetsCommand.js +3 -9
  23. package/dist-es/commands/DescribeReplicationConfigurationsCommand.js +3 -9
  24. package/dist-es/commands/DescribeTagsCommand.js +3 -9
  25. package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
  26. package/dist-es/commands/ModifyMountTargetSecurityGroupsCommand.js +3 -9
  27. package/dist-es/commands/PutAccountPreferencesCommand.js +3 -9
  28. package/dist-es/commands/PutBackupPolicyCommand.js +3 -9
  29. package/dist-es/commands/PutFileSystemPolicyCommand.js +3 -9
  30. package/dist-es/commands/PutLifecycleConfigurationCommand.js +3 -9
  31. package/dist-es/commands/TagResourceCommand.js +3 -9
  32. package/dist-es/commands/UntagResourceCommand.js +3 -9
  33. package/dist-es/commands/UpdateFileSystemCommand.js +3 -9
  34. package/dist-es/commands/UpdateFileSystemProtectionCommand.js +3 -9
  35. package/dist-es/runtimeConfig.shared.js +2 -0
  36. package/dist-es/schemas/schemas_0.js +1334 -0
  37. package/dist-types/EFSClient.d.ts +10 -1
  38. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  39. package/dist-types/runtimeConfig.d.ts +1 -0
  40. package/dist-types/runtimeConfig.native.d.ts +1 -0
  41. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  42. package/dist-types/schemas/schemas_0.d.ts +136 -0
  43. package/dist-types/ts3.4/EFSClient.d.ts +4 -0
  44. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  45. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  46. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  47. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  48. package/dist-types/ts3.4/schemas/schemas_0.d.ts +141 -0
  49. package/package.json +2 -3
  50. package/dist-es/protocols/Aws_restJson1.js +0 -1533
  51. package/dist-types/protocols/Aws_restJson1.d.ts +0 -281
  52. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -377
package/dist-cjs/index.js CHANGED
@@ -6,6 +6,7 @@ var middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detect
6
6
  var middlewareUserAgent = require('@aws-sdk/middleware-user-agent');
7
7
  var configResolver = require('@smithy/config-resolver');
8
8
  var core = require('@smithy/core');
9
+ var schema = require('@smithy/core/schema');
9
10
  var middlewareContentLength = require('@smithy/middleware-content-length');
10
11
  var middlewareEndpoint = require('@smithy/middleware-endpoint');
11
12
  var middlewareRetry = require('@smithy/middleware-retry');
@@ -14,9 +15,6 @@ var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
14
15
  var runtimeConfig = require('./runtimeConfig');
15
16
  var regionConfigResolver = require('@aws-sdk/region-config-resolver');
16
17
  var protocolHttp = require('@smithy/protocol-http');
17
- var middlewareSerde = require('@smithy/middleware-serde');
18
- var core$1 = require('@aws-sdk/core');
19
- var uuid = require('@smithy/uuid');
20
18
 
21
19
  const resolveClientEndpointParameters = (options) => {
22
20
  return Object.assign(options, {
@@ -92,6 +90,7 @@ class EFSClient extends smithyClient.Client {
92
90
  const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
93
91
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
94
92
  this.config = _config_8;
93
+ this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));
95
94
  this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
96
95
  this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
97
96
  this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
@@ -111,14 +110,14 @@ class EFSClient extends smithyClient.Client {
111
110
  }
112
111
  }
113
112
 
114
- class EFSServiceException extends smithyClient.ServiceException {
113
+ let EFSServiceException$1 = class EFSServiceException extends smithyClient.ServiceException {
115
114
  constructor(options) {
116
115
  super(options);
117
116
  Object.setPrototypeOf(this, EFSServiceException.prototype);
118
117
  }
119
- }
118
+ };
120
119
 
121
- class AccessPointAlreadyExists extends EFSServiceException {
120
+ let AccessPointAlreadyExists$1 = class AccessPointAlreadyExists extends EFSServiceException$1 {
122
121
  name = "AccessPointAlreadyExists";
123
122
  $fault = "client";
124
123
  ErrorCode;
@@ -135,7 +134,7 @@ class AccessPointAlreadyExists extends EFSServiceException {
135
134
  this.Message = opts.Message;
136
135
  this.AccessPointId = opts.AccessPointId;
137
136
  }
138
- }
137
+ };
139
138
  const LifeCycleState = {
140
139
  AVAILABLE: "available",
141
140
  CREATING: "creating",
@@ -144,7 +143,7 @@ const LifeCycleState = {
144
143
  ERROR: "error",
145
144
  UPDATING: "updating",
146
145
  };
147
- class AccessPointLimitExceeded extends EFSServiceException {
146
+ let AccessPointLimitExceeded$1 = class AccessPointLimitExceeded extends EFSServiceException$1 {
148
147
  name = "AccessPointLimitExceeded";
149
148
  $fault = "client";
150
149
  ErrorCode;
@@ -159,8 +158,8 @@ class AccessPointLimitExceeded extends EFSServiceException {
159
158
  this.ErrorCode = opts.ErrorCode;
160
159
  this.Message = opts.Message;
161
160
  }
162
- }
163
- class AccessPointNotFound extends EFSServiceException {
161
+ };
162
+ let AccessPointNotFound$1 = class AccessPointNotFound extends EFSServiceException$1 {
164
163
  name = "AccessPointNotFound";
165
164
  $fault = "client";
166
165
  ErrorCode;
@@ -175,8 +174,8 @@ class AccessPointNotFound extends EFSServiceException {
175
174
  this.ErrorCode = opts.ErrorCode;
176
175
  this.Message = opts.Message;
177
176
  }
178
- }
179
- class AvailabilityZonesMismatch extends EFSServiceException {
177
+ };
178
+ let AvailabilityZonesMismatch$1 = class AvailabilityZonesMismatch extends EFSServiceException$1 {
180
179
  name = "AvailabilityZonesMismatch";
181
180
  $fault = "client";
182
181
  ErrorCode;
@@ -191,14 +190,14 @@ class AvailabilityZonesMismatch extends EFSServiceException {
191
190
  this.ErrorCode = opts.ErrorCode;
192
191
  this.Message = opts.Message;
193
192
  }
194
- }
193
+ };
195
194
  const Status = {
196
195
  DISABLED: "DISABLED",
197
196
  DISABLING: "DISABLING",
198
197
  ENABLED: "ENABLED",
199
198
  ENABLING: "ENABLING",
200
199
  };
201
- class BadRequest extends EFSServiceException {
200
+ let BadRequest$1 = class BadRequest extends EFSServiceException$1 {
202
201
  name = "BadRequest";
203
202
  $fault = "client";
204
203
  ErrorCode;
@@ -213,8 +212,8 @@ class BadRequest extends EFSServiceException {
213
212
  this.ErrorCode = opts.ErrorCode;
214
213
  this.Message = opts.Message;
215
214
  }
216
- }
217
- class ConflictException extends EFSServiceException {
215
+ };
216
+ let ConflictException$1 = class ConflictException extends EFSServiceException$1 {
218
217
  name = "ConflictException";
219
218
  $fault = "client";
220
219
  ErrorCode;
@@ -229,8 +228,8 @@ class ConflictException extends EFSServiceException {
229
228
  this.ErrorCode = opts.ErrorCode;
230
229
  this.Message = opts.Message;
231
230
  }
232
- }
233
- class FileSystemNotFound extends EFSServiceException {
231
+ };
232
+ let FileSystemNotFound$1 = class FileSystemNotFound extends EFSServiceException$1 {
234
233
  name = "FileSystemNotFound";
235
234
  $fault = "client";
236
235
  ErrorCode;
@@ -245,8 +244,8 @@ class FileSystemNotFound extends EFSServiceException {
245
244
  this.ErrorCode = opts.ErrorCode;
246
245
  this.Message = opts.Message;
247
246
  }
248
- }
249
- class IncorrectFileSystemLifeCycleState extends EFSServiceException {
247
+ };
248
+ let IncorrectFileSystemLifeCycleState$1 = class IncorrectFileSystemLifeCycleState extends EFSServiceException$1 {
250
249
  name = "IncorrectFileSystemLifeCycleState";
251
250
  $fault = "client";
252
251
  ErrorCode;
@@ -261,8 +260,8 @@ class IncorrectFileSystemLifeCycleState extends EFSServiceException {
261
260
  this.ErrorCode = opts.ErrorCode;
262
261
  this.Message = opts.Message;
263
262
  }
264
- }
265
- class InternalServerError extends EFSServiceException {
263
+ };
264
+ let InternalServerError$1 = class InternalServerError extends EFSServiceException$1 {
266
265
  name = "InternalServerError";
267
266
  $fault = "server";
268
267
  ErrorCode;
@@ -277,8 +276,8 @@ class InternalServerError extends EFSServiceException {
277
276
  this.ErrorCode = opts.ErrorCode;
278
277
  this.Message = opts.Message;
279
278
  }
280
- }
281
- class ThrottlingException extends EFSServiceException {
279
+ };
280
+ let ThrottlingException$1 = class ThrottlingException extends EFSServiceException$1 {
282
281
  name = "ThrottlingException";
283
282
  $fault = "client";
284
283
  ErrorCode;
@@ -293,7 +292,7 @@ class ThrottlingException extends EFSServiceException {
293
292
  this.ErrorCode = opts.ErrorCode;
294
293
  this.Message = opts.Message;
295
294
  }
296
- }
295
+ };
297
296
  const PerformanceMode = {
298
297
  GENERAL_PURPOSE: "generalPurpose",
299
298
  MAX_IO: "maxIO",
@@ -303,7 +302,7 @@ const ThroughputMode = {
303
302
  ELASTIC: "elastic",
304
303
  PROVISIONED: "provisioned",
305
304
  };
306
- class FileSystemAlreadyExists extends EFSServiceException {
305
+ let FileSystemAlreadyExists$1 = class FileSystemAlreadyExists extends EFSServiceException$1 {
307
306
  name = "FileSystemAlreadyExists";
308
307
  $fault = "client";
309
308
  ErrorCode;
@@ -320,13 +319,13 @@ class FileSystemAlreadyExists extends EFSServiceException {
320
319
  this.Message = opts.Message;
321
320
  this.FileSystemId = opts.FileSystemId;
322
321
  }
323
- }
322
+ };
324
323
  const ReplicationOverwriteProtection = {
325
324
  DISABLED: "DISABLED",
326
325
  ENABLED: "ENABLED",
327
326
  REPLICATING: "REPLICATING",
328
327
  };
329
- class FileSystemLimitExceeded extends EFSServiceException {
328
+ let FileSystemLimitExceeded$1 = class FileSystemLimitExceeded extends EFSServiceException$1 {
330
329
  name = "FileSystemLimitExceeded";
331
330
  $fault = "client";
332
331
  ErrorCode;
@@ -341,8 +340,8 @@ class FileSystemLimitExceeded extends EFSServiceException {
341
340
  this.ErrorCode = opts.ErrorCode;
342
341
  this.Message = opts.Message;
343
342
  }
344
- }
345
- class InsufficientThroughputCapacity extends EFSServiceException {
343
+ };
344
+ let InsufficientThroughputCapacity$1 = class InsufficientThroughputCapacity extends EFSServiceException$1 {
346
345
  name = "InsufficientThroughputCapacity";
347
346
  $fault = "server";
348
347
  ErrorCode;
@@ -357,8 +356,8 @@ class InsufficientThroughputCapacity extends EFSServiceException {
357
356
  this.ErrorCode = opts.ErrorCode;
358
357
  this.Message = opts.Message;
359
358
  }
360
- }
361
- class ThroughputLimitExceeded extends EFSServiceException {
359
+ };
360
+ let ThroughputLimitExceeded$1 = class ThroughputLimitExceeded extends EFSServiceException$1 {
362
361
  name = "ThroughputLimitExceeded";
363
362
  $fault = "client";
364
363
  ErrorCode;
@@ -373,8 +372,8 @@ class ThroughputLimitExceeded extends EFSServiceException {
373
372
  this.ErrorCode = opts.ErrorCode;
374
373
  this.Message = opts.Message;
375
374
  }
376
- }
377
- class UnsupportedAvailabilityZone extends EFSServiceException {
375
+ };
376
+ let UnsupportedAvailabilityZone$1 = class UnsupportedAvailabilityZone extends EFSServiceException$1 {
378
377
  name = "UnsupportedAvailabilityZone";
379
378
  $fault = "client";
380
379
  ErrorCode;
@@ -389,13 +388,13 @@ class UnsupportedAvailabilityZone extends EFSServiceException {
389
388
  this.ErrorCode = opts.ErrorCode;
390
389
  this.Message = opts.Message;
391
390
  }
392
- }
391
+ };
393
392
  const IpAddressType = {
394
393
  DUAL_STACK: "DUAL_STACK",
395
394
  IPV4_ONLY: "IPV4_ONLY",
396
395
  IPV6_ONLY: "IPV6_ONLY",
397
396
  };
398
- class IpAddressInUse extends EFSServiceException {
397
+ let IpAddressInUse$1 = class IpAddressInUse extends EFSServiceException$1 {
399
398
  name = "IpAddressInUse";
400
399
  $fault = "client";
401
400
  ErrorCode;
@@ -410,8 +409,8 @@ class IpAddressInUse extends EFSServiceException {
410
409
  this.ErrorCode = opts.ErrorCode;
411
410
  this.Message = opts.Message;
412
411
  }
413
- }
414
- class MountTargetConflict extends EFSServiceException {
412
+ };
413
+ let MountTargetConflict$1 = class MountTargetConflict extends EFSServiceException$1 {
415
414
  name = "MountTargetConflict";
416
415
  $fault = "client";
417
416
  ErrorCode;
@@ -426,8 +425,8 @@ class MountTargetConflict extends EFSServiceException {
426
425
  this.ErrorCode = opts.ErrorCode;
427
426
  this.Message = opts.Message;
428
427
  }
429
- }
430
- class NetworkInterfaceLimitExceeded extends EFSServiceException {
428
+ };
429
+ let NetworkInterfaceLimitExceeded$1 = class NetworkInterfaceLimitExceeded extends EFSServiceException$1 {
431
430
  name = "NetworkInterfaceLimitExceeded";
432
431
  $fault = "client";
433
432
  ErrorCode;
@@ -442,8 +441,8 @@ class NetworkInterfaceLimitExceeded extends EFSServiceException {
442
441
  this.ErrorCode = opts.ErrorCode;
443
442
  this.Message = opts.Message;
444
443
  }
445
- }
446
- class NoFreeAddressesInSubnet extends EFSServiceException {
444
+ };
445
+ let NoFreeAddressesInSubnet$1 = class NoFreeAddressesInSubnet extends EFSServiceException$1 {
447
446
  name = "NoFreeAddressesInSubnet";
448
447
  $fault = "client";
449
448
  ErrorCode;
@@ -458,8 +457,8 @@ class NoFreeAddressesInSubnet extends EFSServiceException {
458
457
  this.ErrorCode = opts.ErrorCode;
459
458
  this.Message = opts.Message;
460
459
  }
461
- }
462
- class SecurityGroupLimitExceeded extends EFSServiceException {
460
+ };
461
+ let SecurityGroupLimitExceeded$1 = class SecurityGroupLimitExceeded extends EFSServiceException$1 {
463
462
  name = "SecurityGroupLimitExceeded";
464
463
  $fault = "client";
465
464
  ErrorCode;
@@ -474,8 +473,8 @@ class SecurityGroupLimitExceeded extends EFSServiceException {
474
473
  this.ErrorCode = opts.ErrorCode;
475
474
  this.Message = opts.Message;
476
475
  }
477
- }
478
- class SecurityGroupNotFound extends EFSServiceException {
476
+ };
477
+ let SecurityGroupNotFound$1 = class SecurityGroupNotFound extends EFSServiceException$1 {
479
478
  name = "SecurityGroupNotFound";
480
479
  $fault = "client";
481
480
  ErrorCode;
@@ -490,8 +489,8 @@ class SecurityGroupNotFound extends EFSServiceException {
490
489
  this.ErrorCode = opts.ErrorCode;
491
490
  this.Message = opts.Message;
492
491
  }
493
- }
494
- class SubnetNotFound extends EFSServiceException {
492
+ };
493
+ let SubnetNotFound$1 = class SubnetNotFound extends EFSServiceException$1 {
495
494
  name = "SubnetNotFound";
496
495
  $fault = "client";
497
496
  ErrorCode;
@@ -506,7 +505,7 @@ class SubnetNotFound extends EFSServiceException {
506
505
  this.ErrorCode = opts.ErrorCode;
507
506
  this.Message = opts.Message;
508
507
  }
509
- }
508
+ };
510
509
  const ReplicationStatus = {
511
510
  DELETING: "DELETING",
512
511
  ENABLED: "ENABLED",
@@ -515,7 +514,7 @@ const ReplicationStatus = {
515
514
  PAUSED: "PAUSED",
516
515
  PAUSING: "PAUSING",
517
516
  };
518
- class ReplicationNotFound extends EFSServiceException {
517
+ let ReplicationNotFound$1 = class ReplicationNotFound extends EFSServiceException$1 {
519
518
  name = "ReplicationNotFound";
520
519
  $fault = "client";
521
520
  ErrorCode;
@@ -530,8 +529,8 @@ class ReplicationNotFound extends EFSServiceException {
530
529
  this.ErrorCode = opts.ErrorCode;
531
530
  this.Message = opts.Message;
532
531
  }
533
- }
534
- class ValidationException extends EFSServiceException {
532
+ };
533
+ let ValidationException$1 = class ValidationException extends EFSServiceException$1 {
535
534
  name = "ValidationException";
536
535
  $fault = "client";
537
536
  ErrorCode;
@@ -546,8 +545,8 @@ class ValidationException extends EFSServiceException {
546
545
  this.ErrorCode = opts.ErrorCode;
547
546
  this.Message = opts.Message;
548
547
  }
549
- }
550
- class FileSystemInUse extends EFSServiceException {
548
+ };
549
+ let FileSystemInUse$1 = class FileSystemInUse extends EFSServiceException$1 {
551
550
  name = "FileSystemInUse";
552
551
  $fault = "client";
553
552
  ErrorCode;
@@ -562,8 +561,8 @@ class FileSystemInUse extends EFSServiceException {
562
561
  this.ErrorCode = opts.ErrorCode;
563
562
  this.Message = opts.Message;
564
563
  }
565
- }
566
- class DependencyTimeout extends EFSServiceException {
564
+ };
565
+ let DependencyTimeout$1 = class DependencyTimeout extends EFSServiceException$1 {
567
566
  name = "DependencyTimeout";
568
567
  $fault = "server";
569
568
  ErrorCode;
@@ -578,8 +577,8 @@ class DependencyTimeout extends EFSServiceException {
578
577
  this.ErrorCode = opts.ErrorCode;
579
578
  this.Message = opts.Message;
580
579
  }
581
- }
582
- class MountTargetNotFound extends EFSServiceException {
580
+ };
581
+ let MountTargetNotFound$1 = class MountTargetNotFound extends EFSServiceException$1 {
583
582
  name = "MountTargetNotFound";
584
583
  $fault = "client";
585
584
  ErrorCode;
@@ -594,7 +593,7 @@ class MountTargetNotFound extends EFSServiceException {
594
593
  this.ErrorCode = opts.ErrorCode;
595
594
  this.Message = opts.Message;
596
595
  }
597
- }
596
+ };
598
597
  const DeletionMode = {
599
598
  ALL_CONFIGURATIONS: "ALL_CONFIGURATIONS",
600
599
  LOCAL_CONFIGURATION_ONLY: "LOCAL_CONFIGURATION_ONLY",
@@ -607,7 +606,7 @@ const Resource = {
607
606
  FileSystem: "FILE_SYSTEM",
608
607
  MountTarget: "MOUNT_TARGET",
609
608
  };
610
- class PolicyNotFound extends EFSServiceException {
609
+ let PolicyNotFound$1 = class PolicyNotFound extends EFSServiceException$1 {
611
610
  name = "PolicyNotFound";
612
611
  $fault = "client";
613
612
  ErrorCode;
@@ -622,7 +621,7 @@ class PolicyNotFound extends EFSServiceException {
622
621
  this.ErrorCode = opts.ErrorCode;
623
622
  this.Message = opts.Message;
624
623
  }
625
- }
624
+ };
626
625
  const TransitionToArchiveRules = {
627
626
  AFTER_14_DAYS: "AFTER_14_DAYS",
628
627
  AFTER_180_DAYS: "AFTER_180_DAYS",
@@ -648,7 +647,7 @@ const TransitionToIARules = {
648
647
  const TransitionToPrimaryStorageClassRules = {
649
648
  AFTER_1_ACCESS: "AFTER_1_ACCESS",
650
649
  };
651
- class IncorrectMountTargetState extends EFSServiceException {
650
+ let IncorrectMountTargetState$1 = class IncorrectMountTargetState extends EFSServiceException$1 {
652
651
  name = "IncorrectMountTargetState";
653
652
  $fault = "client";
654
653
  ErrorCode;
@@ -663,8 +662,8 @@ class IncorrectMountTargetState extends EFSServiceException {
663
662
  this.ErrorCode = opts.ErrorCode;
664
663
  this.Message = opts.Message;
665
664
  }
666
- }
667
- class InvalidPolicyException extends EFSServiceException {
665
+ };
666
+ let InvalidPolicyException$1 = class InvalidPolicyException extends EFSServiceException$1 {
668
667
  name = "InvalidPolicyException";
669
668
  $fault = "client";
670
669
  ErrorCode;
@@ -679,8 +678,8 @@ class InvalidPolicyException extends EFSServiceException {
679
678
  this.ErrorCode = opts.ErrorCode;
680
679
  this.Message = opts.Message;
681
680
  }
682
- }
683
- class TooManyRequests extends EFSServiceException {
681
+ };
682
+ let TooManyRequests$1 = class TooManyRequests extends EFSServiceException$1 {
684
683
  name = "TooManyRequests";
685
684
  $fault = "client";
686
685
  ErrorCode;
@@ -695,8 +694,8 @@ class TooManyRequests extends EFSServiceException {
695
694
  this.ErrorCode = opts.ErrorCode;
696
695
  this.Message = opts.Message;
697
696
  }
698
- }
699
- class ReplicationAlreadyExists extends EFSServiceException {
697
+ };
698
+ let ReplicationAlreadyExists$1 = class ReplicationAlreadyExists extends EFSServiceException$1 {
700
699
  name = "ReplicationAlreadyExists";
701
700
  $fault = "client";
702
701
  ErrorCode;
@@ -711,1549 +710,1345 @@ class ReplicationAlreadyExists extends EFSServiceException {
711
710
  this.ErrorCode = opts.ErrorCode;
712
711
  this.Message = opts.Message;
713
712
  }
714
- }
715
-
716
- const se_CreateAccessPointCommand = async (input, context) => {
717
- const b = core.requestBuilder(input, context);
718
- const headers = {
719
- "content-type": "application/json",
720
- };
721
- b.bp("/2015-02-01/access-points");
722
- let body;
723
- body = JSON.stringify(smithyClient.take(input, {
724
- ClientToken: [true, (_) => _ ?? uuid.v4()],
725
- FileSystemId: [],
726
- PosixUser: (_) => smithyClient._json(_),
727
- RootDirectory: (_) => smithyClient._json(_),
728
- Tags: (_) => smithyClient._json(_),
729
- }));
730
- b.m("POST").h(headers).b(body);
731
- return b.build();
732
- };
733
- const se_CreateFileSystemCommand = async (input, context) => {
734
- const b = core.requestBuilder(input, context);
735
- const headers = {
736
- "content-type": "application/json",
737
- };
738
- b.bp("/2015-02-01/file-systems");
739
- let body;
740
- body = JSON.stringify(smithyClient.take(input, {
741
- AvailabilityZoneName: [],
742
- Backup: [],
743
- CreationToken: [true, (_) => _ ?? uuid.v4()],
744
- Encrypted: [],
745
- KmsKeyId: [],
746
- PerformanceMode: [],
747
- ProvisionedThroughputInMibps: (_) => smithyClient.serializeFloat(_),
748
- Tags: (_) => smithyClient._json(_),
749
- ThroughputMode: [],
750
- }));
751
- b.m("POST").h(headers).b(body);
752
- return b.build();
753
- };
754
- const se_CreateMountTargetCommand = async (input, context) => {
755
- const b = core.requestBuilder(input, context);
756
- const headers = {
757
- "content-type": "application/json",
758
- };
759
- b.bp("/2015-02-01/mount-targets");
760
- let body;
761
- body = JSON.stringify(smithyClient.take(input, {
762
- FileSystemId: [],
763
- IpAddress: [],
764
- IpAddressType: [],
765
- Ipv6Address: [],
766
- SecurityGroups: (_) => smithyClient._json(_),
767
- SubnetId: [],
768
- }));
769
- b.m("POST").h(headers).b(body);
770
- return b.build();
771
- };
772
- const se_CreateReplicationConfigurationCommand = async (input, context) => {
773
- const b = core.requestBuilder(input, context);
774
- const headers = {
775
- "content-type": "application/json",
776
- };
777
- b.bp("/2015-02-01/file-systems/{SourceFileSystemId}/replication-configuration");
778
- b.p("SourceFileSystemId", () => input.SourceFileSystemId, "{SourceFileSystemId}", false);
779
- let body;
780
- body = JSON.stringify(smithyClient.take(input, {
781
- Destinations: (_) => smithyClient._json(_),
782
- }));
783
- b.m("POST").h(headers).b(body);
784
- return b.build();
785
- };
786
- const se_CreateTagsCommand = async (input, context) => {
787
- const b = core.requestBuilder(input, context);
788
- const headers = {
789
- "content-type": "application/json",
790
- };
791
- b.bp("/2015-02-01/create-tags/{FileSystemId}");
792
- b.p("FileSystemId", () => input.FileSystemId, "{FileSystemId}", false);
793
- let body;
794
- body = JSON.stringify(smithyClient.take(input, {
795
- Tags: (_) => smithyClient._json(_),
796
- }));
797
- b.m("POST").h(headers).b(body);
798
- return b.build();
799
- };
800
- const se_DeleteAccessPointCommand = async (input, context) => {
801
- const b = core.requestBuilder(input, context);
802
- const headers = {};
803
- b.bp("/2015-02-01/access-points/{AccessPointId}");
804
- b.p("AccessPointId", () => input.AccessPointId, "{AccessPointId}", false);
805
- let body;
806
- b.m("DELETE").h(headers).b(body);
807
- return b.build();
808
- };
809
- const se_DeleteFileSystemCommand = async (input, context) => {
810
- const b = core.requestBuilder(input, context);
811
- const headers = {};
812
- b.bp("/2015-02-01/file-systems/{FileSystemId}");
813
- b.p("FileSystemId", () => input.FileSystemId, "{FileSystemId}", false);
814
- let body;
815
- b.m("DELETE").h(headers).b(body);
816
- return b.build();
817
- };
818
- const se_DeleteFileSystemPolicyCommand = async (input, context) => {
819
- const b = core.requestBuilder(input, context);
820
- const headers = {};
821
- b.bp("/2015-02-01/file-systems/{FileSystemId}/policy");
822
- b.p("FileSystemId", () => input.FileSystemId, "{FileSystemId}", false);
823
- let body;
824
- b.m("DELETE").h(headers).b(body);
825
- return b.build();
826
- };
827
- const se_DeleteMountTargetCommand = async (input, context) => {
828
- const b = core.requestBuilder(input, context);
829
- const headers = {};
830
- b.bp("/2015-02-01/mount-targets/{MountTargetId}");
831
- b.p("MountTargetId", () => input.MountTargetId, "{MountTargetId}", false);
832
- let body;
833
- b.m("DELETE").h(headers).b(body);
834
- return b.build();
835
- };
836
- const se_DeleteReplicationConfigurationCommand = async (input, context) => {
837
- const b = core.requestBuilder(input, context);
838
- const headers = {};
839
- b.bp("/2015-02-01/file-systems/{SourceFileSystemId}/replication-configuration");
840
- b.p("SourceFileSystemId", () => input.SourceFileSystemId, "{SourceFileSystemId}", false);
841
- const query = smithyClient.map({
842
- [_dM]: [, input[_DM]],
843
- });
844
- let body;
845
- b.m("DELETE").h(headers).q(query).b(body);
846
- return b.build();
847
- };
848
- const se_DeleteTagsCommand = async (input, context) => {
849
- const b = core.requestBuilder(input, context);
850
- const headers = {
851
- "content-type": "application/json",
852
- };
853
- b.bp("/2015-02-01/delete-tags/{FileSystemId}");
854
- b.p("FileSystemId", () => input.FileSystemId, "{FileSystemId}", false);
855
- let body;
856
- body = JSON.stringify(smithyClient.take(input, {
857
- TagKeys: (_) => smithyClient._json(_),
858
- }));
859
- b.m("POST").h(headers).b(body);
860
- return b.build();
861
- };
862
- const se_DescribeAccessPointsCommand = async (input, context) => {
863
- const b = core.requestBuilder(input, context);
864
- const headers = {};
865
- b.bp("/2015-02-01/access-points");
866
- const query = smithyClient.map({
867
- [_MR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
868
- [_NT]: [, input[_NT]],
869
- [_API]: [, input[_API]],
870
- [_FSI]: [, input[_FSI]],
871
- });
872
- let body;
873
- b.m("GET").h(headers).q(query).b(body);
874
- return b.build();
875
- };
876
- const se_DescribeAccountPreferencesCommand = async (input, context) => {
877
- const b = core.requestBuilder(input, context);
878
- const headers = {
879
- "content-type": "application/json",
880
- };
881
- b.bp("/2015-02-01/account-preferences");
882
- let body;
883
- body = JSON.stringify(smithyClient.take(input, {
884
- MaxResults: [],
885
- NextToken: [],
886
- }));
887
- b.m("GET").h(headers).b(body);
888
- return b.build();
889
- };
890
- const se_DescribeBackupPolicyCommand = async (input, context) => {
891
- const b = core.requestBuilder(input, context);
892
- const headers = {};
893
- b.bp("/2015-02-01/file-systems/{FileSystemId}/backup-policy");
894
- b.p("FileSystemId", () => input.FileSystemId, "{FileSystemId}", false);
895
- let body;
896
- b.m("GET").h(headers).b(body);
897
- return b.build();
898
- };
899
- const se_DescribeFileSystemPolicyCommand = async (input, context) => {
900
- const b = core.requestBuilder(input, context);
901
- const headers = {};
902
- b.bp("/2015-02-01/file-systems/{FileSystemId}/policy");
903
- b.p("FileSystemId", () => input.FileSystemId, "{FileSystemId}", false);
904
- let body;
905
- b.m("GET").h(headers).b(body);
906
- return b.build();
907
- };
908
- const se_DescribeFileSystemsCommand = async (input, context) => {
909
- const b = core.requestBuilder(input, context);
910
- const headers = {};
911
- b.bp("/2015-02-01/file-systems");
912
- const query = smithyClient.map({
913
- [_MI]: [() => input.MaxItems !== void 0, () => input[_MI].toString()],
914
- [_M]: [, input[_M]],
915
- [_CT]: [, input[_CT]],
916
- [_FSI]: [, input[_FSI]],
917
- });
918
- let body;
919
- b.m("GET").h(headers).q(query).b(body);
920
- return b.build();
921
- };
922
- const se_DescribeLifecycleConfigurationCommand = async (input, context) => {
923
- const b = core.requestBuilder(input, context);
924
- const headers = {};
925
- b.bp("/2015-02-01/file-systems/{FileSystemId}/lifecycle-configuration");
926
- b.p("FileSystemId", () => input.FileSystemId, "{FileSystemId}", false);
927
- let body;
928
- b.m("GET").h(headers).b(body);
929
- return b.build();
930
- };
931
- const se_DescribeMountTargetsCommand = async (input, context) => {
932
- const b = core.requestBuilder(input, context);
933
- const headers = {};
934
- b.bp("/2015-02-01/mount-targets");
935
- const query = smithyClient.map({
936
- [_MI]: [() => input.MaxItems !== void 0, () => input[_MI].toString()],
937
- [_M]: [, input[_M]],
938
- [_FSI]: [, input[_FSI]],
939
- [_MTI]: [, input[_MTI]],
940
- [_API]: [, input[_API]],
941
- });
942
- let body;
943
- b.m("GET").h(headers).q(query).b(body);
944
- return b.build();
945
- };
946
- const se_DescribeMountTargetSecurityGroupsCommand = async (input, context) => {
947
- const b = core.requestBuilder(input, context);
948
- const headers = {};
949
- b.bp("/2015-02-01/mount-targets/{MountTargetId}/security-groups");
950
- b.p("MountTargetId", () => input.MountTargetId, "{MountTargetId}", false);
951
- let body;
952
- b.m("GET").h(headers).b(body);
953
- return b.build();
954
- };
955
- const se_DescribeReplicationConfigurationsCommand = async (input, context) => {
956
- const b = core.requestBuilder(input, context);
957
- const headers = {};
958
- b.bp("/2015-02-01/file-systems/replication-configurations");
959
- const query = smithyClient.map({
960
- [_FSI]: [, input[_FSI]],
961
- [_NT]: [, input[_NT]],
962
- [_MR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
963
- });
964
- let body;
965
- b.m("GET").h(headers).q(query).b(body);
966
- return b.build();
967
- };
968
- const se_DescribeTagsCommand = async (input, context) => {
969
- const b = core.requestBuilder(input, context);
970
- const headers = {};
971
- b.bp("/2015-02-01/tags/{FileSystemId}");
972
- b.p("FileSystemId", () => input.FileSystemId, "{FileSystemId}", false);
973
- const query = smithyClient.map({
974
- [_MI]: [() => input.MaxItems !== void 0, () => input[_MI].toString()],
975
- [_M]: [, input[_M]],
976
- });
977
- let body;
978
- b.m("GET").h(headers).q(query).b(body);
979
- return b.build();
980
- };
981
- const se_ListTagsForResourceCommand = async (input, context) => {
982
- const b = core.requestBuilder(input, context);
983
- const headers = {};
984
- b.bp("/2015-02-01/resource-tags/{ResourceId}");
985
- b.p("ResourceId", () => input.ResourceId, "{ResourceId}", false);
986
- const query = smithyClient.map({
987
- [_MR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
988
- [_NT]: [, input[_NT]],
989
- });
990
- let body;
991
- b.m("GET").h(headers).q(query).b(body);
992
- return b.build();
993
- };
994
- const se_ModifyMountTargetSecurityGroupsCommand = async (input, context) => {
995
- const b = core.requestBuilder(input, context);
996
- const headers = {
997
- "content-type": "application/json",
998
- };
999
- b.bp("/2015-02-01/mount-targets/{MountTargetId}/security-groups");
1000
- b.p("MountTargetId", () => input.MountTargetId, "{MountTargetId}", false);
1001
- let body;
1002
- body = JSON.stringify(smithyClient.take(input, {
1003
- SecurityGroups: (_) => smithyClient._json(_),
1004
- }));
1005
- b.m("PUT").h(headers).b(body);
1006
- return b.build();
1007
- };
1008
- const se_PutAccountPreferencesCommand = async (input, context) => {
1009
- const b = core.requestBuilder(input, context);
1010
- const headers = {
1011
- "content-type": "application/json",
1012
- };
1013
- b.bp("/2015-02-01/account-preferences");
1014
- let body;
1015
- body = JSON.stringify(smithyClient.take(input, {
1016
- ResourceIdType: [],
1017
- }));
1018
- b.m("PUT").h(headers).b(body);
1019
- return b.build();
1020
- };
1021
- const se_PutBackupPolicyCommand = async (input, context) => {
1022
- const b = core.requestBuilder(input, context);
1023
- const headers = {
1024
- "content-type": "application/json",
1025
- };
1026
- b.bp("/2015-02-01/file-systems/{FileSystemId}/backup-policy");
1027
- b.p("FileSystemId", () => input.FileSystemId, "{FileSystemId}", false);
1028
- let body;
1029
- body = JSON.stringify(smithyClient.take(input, {
1030
- BackupPolicy: (_) => smithyClient._json(_),
1031
- }));
1032
- b.m("PUT").h(headers).b(body);
1033
- return b.build();
1034
- };
1035
- const se_PutFileSystemPolicyCommand = async (input, context) => {
1036
- const b = core.requestBuilder(input, context);
1037
- const headers = {
1038
- "content-type": "application/json",
1039
- };
1040
- b.bp("/2015-02-01/file-systems/{FileSystemId}/policy");
1041
- b.p("FileSystemId", () => input.FileSystemId, "{FileSystemId}", false);
1042
- let body;
1043
- body = JSON.stringify(smithyClient.take(input, {
1044
- BypassPolicyLockoutSafetyCheck: [],
1045
- Policy: [],
1046
- }));
1047
- b.m("PUT").h(headers).b(body);
1048
- return b.build();
1049
- };
1050
- const se_PutLifecycleConfigurationCommand = async (input, context) => {
1051
- const b = core.requestBuilder(input, context);
1052
- const headers = {
1053
- "content-type": "application/json",
1054
- };
1055
- b.bp("/2015-02-01/file-systems/{FileSystemId}/lifecycle-configuration");
1056
- b.p("FileSystemId", () => input.FileSystemId, "{FileSystemId}", false);
1057
- let body;
1058
- body = JSON.stringify(smithyClient.take(input, {
1059
- LifecyclePolicies: (_) => smithyClient._json(_),
1060
- }));
1061
- b.m("PUT").h(headers).b(body);
1062
- return b.build();
1063
- };
1064
- const se_TagResourceCommand = async (input, context) => {
1065
- const b = core.requestBuilder(input, context);
1066
- const headers = {
1067
- "content-type": "application/json",
1068
- };
1069
- b.bp("/2015-02-01/resource-tags/{ResourceId}");
1070
- b.p("ResourceId", () => input.ResourceId, "{ResourceId}", false);
1071
- let body;
1072
- body = JSON.stringify(smithyClient.take(input, {
1073
- Tags: (_) => smithyClient._json(_),
1074
- }));
1075
- b.m("POST").h(headers).b(body);
1076
- return b.build();
1077
- };
1078
- const se_UntagResourceCommand = async (input, context) => {
1079
- const b = core.requestBuilder(input, context);
1080
- const headers = {};
1081
- b.bp("/2015-02-01/resource-tags/{ResourceId}");
1082
- b.p("ResourceId", () => input.ResourceId, "{ResourceId}", false);
1083
- const query = smithyClient.map({
1084
- [_tK]: [smithyClient.expectNonNull(input.TagKeys, `TagKeys`) != null, () => input[_TK] || []],
1085
- });
1086
- let body;
1087
- b.m("DELETE").h(headers).q(query).b(body);
1088
- return b.build();
1089
- };
1090
- const se_UpdateFileSystemCommand = async (input, context) => {
1091
- const b = core.requestBuilder(input, context);
1092
- const headers = {
1093
- "content-type": "application/json",
1094
- };
1095
- b.bp("/2015-02-01/file-systems/{FileSystemId}");
1096
- b.p("FileSystemId", () => input.FileSystemId, "{FileSystemId}", false);
1097
- let body;
1098
- body = JSON.stringify(smithyClient.take(input, {
1099
- ProvisionedThroughputInMibps: (_) => smithyClient.serializeFloat(_),
1100
- ThroughputMode: [],
1101
- }));
1102
- b.m("PUT").h(headers).b(body);
1103
- return b.build();
1104
- };
1105
- const se_UpdateFileSystemProtectionCommand = async (input, context) => {
1106
- const b = core.requestBuilder(input, context);
1107
- const headers = {
1108
- "content-type": "application/json",
1109
- };
1110
- b.bp("/2015-02-01/file-systems/{FileSystemId}/protection");
1111
- b.p("FileSystemId", () => input.FileSystemId, "{FileSystemId}", false);
1112
- let body;
1113
- body = JSON.stringify(smithyClient.take(input, {
1114
- ReplicationOverwriteProtection: [],
1115
- }));
1116
- b.m("PUT").h(headers).b(body);
1117
- return b.build();
1118
- };
1119
- const de_CreateAccessPointCommand = async (output, context) => {
1120
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1121
- return de_CommandError(output, context);
1122
- }
1123
- const contents = smithyClient.map({
1124
- $metadata: deserializeMetadata(output),
1125
- });
1126
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1127
- const doc = smithyClient.take(data, {
1128
- AccessPointArn: smithyClient.expectString,
1129
- AccessPointId: smithyClient.expectString,
1130
- ClientToken: smithyClient.expectString,
1131
- FileSystemId: smithyClient.expectString,
1132
- LifeCycleState: smithyClient.expectString,
1133
- Name: smithyClient.expectString,
1134
- OwnerId: smithyClient.expectString,
1135
- PosixUser: smithyClient._json,
1136
- RootDirectory: smithyClient._json,
1137
- Tags: smithyClient._json,
1138
- });
1139
- Object.assign(contents, doc);
1140
- return contents;
1141
- };
1142
- const de_CreateFileSystemCommand = async (output, context) => {
1143
- if (output.statusCode !== 201 && output.statusCode >= 300) {
1144
- return de_CommandError(output, context);
1145
- }
1146
- const contents = smithyClient.map({
1147
- $metadata: deserializeMetadata(output),
1148
- });
1149
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1150
- const doc = smithyClient.take(data, {
1151
- AvailabilityZoneId: smithyClient.expectString,
1152
- AvailabilityZoneName: smithyClient.expectString,
1153
- CreationTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1154
- CreationToken: smithyClient.expectString,
1155
- Encrypted: smithyClient.expectBoolean,
1156
- FileSystemArn: smithyClient.expectString,
1157
- FileSystemId: smithyClient.expectString,
1158
- FileSystemProtection: smithyClient._json,
1159
- KmsKeyId: smithyClient.expectString,
1160
- LifeCycleState: smithyClient.expectString,
1161
- Name: smithyClient.expectString,
1162
- NumberOfMountTargets: smithyClient.expectInt32,
1163
- OwnerId: smithyClient.expectString,
1164
- PerformanceMode: smithyClient.expectString,
1165
- ProvisionedThroughputInMibps: smithyClient.limitedParseDouble,
1166
- SizeInBytes: (_) => de_FileSystemSize(_),
1167
- Tags: smithyClient._json,
1168
- ThroughputMode: smithyClient.expectString,
1169
- });
1170
- Object.assign(contents, doc);
1171
- return contents;
1172
- };
1173
- const de_CreateMountTargetCommand = async (output, context) => {
1174
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1175
- return de_CommandError(output, context);
1176
- }
1177
- const contents = smithyClient.map({
1178
- $metadata: deserializeMetadata(output),
1179
- });
1180
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1181
- const doc = smithyClient.take(data, {
1182
- AvailabilityZoneId: smithyClient.expectString,
1183
- AvailabilityZoneName: smithyClient.expectString,
1184
- FileSystemId: smithyClient.expectString,
1185
- IpAddress: smithyClient.expectString,
1186
- Ipv6Address: smithyClient.expectString,
1187
- LifeCycleState: smithyClient.expectString,
1188
- MountTargetId: smithyClient.expectString,
1189
- NetworkInterfaceId: smithyClient.expectString,
1190
- OwnerId: smithyClient.expectString,
1191
- SubnetId: smithyClient.expectString,
1192
- VpcId: smithyClient.expectString,
1193
- });
1194
- Object.assign(contents, doc);
1195
- return contents;
1196
- };
1197
- const de_CreateReplicationConfigurationCommand = async (output, context) => {
1198
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1199
- return de_CommandError(output, context);
1200
- }
1201
- const contents = smithyClient.map({
1202
- $metadata: deserializeMetadata(output),
1203
- });
1204
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1205
- const doc = smithyClient.take(data, {
1206
- CreationTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1207
- Destinations: (_) => de_Destinations(_),
1208
- OriginalSourceFileSystemArn: smithyClient.expectString,
1209
- SourceFileSystemArn: smithyClient.expectString,
1210
- SourceFileSystemId: smithyClient.expectString,
1211
- SourceFileSystemOwnerId: smithyClient.expectString,
1212
- SourceFileSystemRegion: smithyClient.expectString,
1213
- });
1214
- Object.assign(contents, doc);
1215
- return contents;
1216
- };
1217
- const de_CreateTagsCommand = async (output, context) => {
1218
- if (output.statusCode !== 204 && output.statusCode >= 300) {
1219
- return de_CommandError(output, context);
1220
- }
1221
- const contents = smithyClient.map({
1222
- $metadata: deserializeMetadata(output),
1223
- });
1224
- await smithyClient.collectBody(output.body, context);
1225
- return contents;
1226
- };
1227
- const de_DeleteAccessPointCommand = async (output, context) => {
1228
- if (output.statusCode !== 204 && output.statusCode >= 300) {
1229
- return de_CommandError(output, context);
1230
- }
1231
- const contents = smithyClient.map({
1232
- $metadata: deserializeMetadata(output),
1233
- });
1234
- await smithyClient.collectBody(output.body, context);
1235
- return contents;
1236
- };
1237
- const de_DeleteFileSystemCommand = async (output, context) => {
1238
- if (output.statusCode !== 204 && output.statusCode >= 300) {
1239
- return de_CommandError(output, context);
1240
- }
1241
- const contents = smithyClient.map({
1242
- $metadata: deserializeMetadata(output),
1243
- });
1244
- await smithyClient.collectBody(output.body, context);
1245
- return contents;
1246
- };
1247
- const de_DeleteFileSystemPolicyCommand = async (output, context) => {
1248
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1249
- return de_CommandError(output, context);
1250
- }
1251
- const contents = smithyClient.map({
1252
- $metadata: deserializeMetadata(output),
1253
- });
1254
- await smithyClient.collectBody(output.body, context);
1255
- return contents;
1256
- };
1257
- const de_DeleteMountTargetCommand = async (output, context) => {
1258
- if (output.statusCode !== 204 && output.statusCode >= 300) {
1259
- return de_CommandError(output, context);
1260
- }
1261
- const contents = smithyClient.map({
1262
- $metadata: deserializeMetadata(output),
1263
- });
1264
- await smithyClient.collectBody(output.body, context);
1265
- return contents;
1266
- };
1267
- const de_DeleteReplicationConfigurationCommand = async (output, context) => {
1268
- if (output.statusCode !== 204 && output.statusCode >= 300) {
1269
- return de_CommandError(output, context);
1270
- }
1271
- const contents = smithyClient.map({
1272
- $metadata: deserializeMetadata(output),
1273
- });
1274
- await smithyClient.collectBody(output.body, context);
1275
- return contents;
1276
- };
1277
- const de_DeleteTagsCommand = async (output, context) => {
1278
- if (output.statusCode !== 204 && output.statusCode >= 300) {
1279
- return de_CommandError(output, context);
1280
- }
1281
- const contents = smithyClient.map({
1282
- $metadata: deserializeMetadata(output),
1283
- });
1284
- await smithyClient.collectBody(output.body, context);
1285
- return contents;
1286
- };
1287
- const de_DescribeAccessPointsCommand = async (output, context) => {
1288
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1289
- return de_CommandError(output, context);
1290
- }
1291
- const contents = smithyClient.map({
1292
- $metadata: deserializeMetadata(output),
1293
- });
1294
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1295
- const doc = smithyClient.take(data, {
1296
- AccessPoints: smithyClient._json,
1297
- NextToken: smithyClient.expectString,
1298
- });
1299
- Object.assign(contents, doc);
1300
- return contents;
1301
- };
1302
- const de_DescribeAccountPreferencesCommand = async (output, context) => {
1303
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1304
- return de_CommandError(output, context);
1305
- }
1306
- const contents = smithyClient.map({
1307
- $metadata: deserializeMetadata(output),
1308
- });
1309
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1310
- const doc = smithyClient.take(data, {
1311
- NextToken: smithyClient.expectString,
1312
- ResourceIdPreference: smithyClient._json,
1313
- });
1314
- Object.assign(contents, doc);
1315
- return contents;
1316
- };
1317
- const de_DescribeBackupPolicyCommand = async (output, context) => {
1318
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1319
- return de_CommandError(output, context);
1320
- }
1321
- const contents = smithyClient.map({
1322
- $metadata: deserializeMetadata(output),
1323
- });
1324
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1325
- const doc = smithyClient.take(data, {
1326
- BackupPolicy: smithyClient._json,
1327
- });
1328
- Object.assign(contents, doc);
1329
- return contents;
1330
- };
1331
- const de_DescribeFileSystemPolicyCommand = async (output, context) => {
1332
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1333
- return de_CommandError(output, context);
1334
- }
1335
- const contents = smithyClient.map({
1336
- $metadata: deserializeMetadata(output),
1337
- });
1338
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1339
- const doc = smithyClient.take(data, {
1340
- FileSystemId: smithyClient.expectString,
1341
- Policy: smithyClient.expectString,
1342
- });
1343
- Object.assign(contents, doc);
1344
- return contents;
1345
- };
1346
- const de_DescribeFileSystemsCommand = async (output, context) => {
1347
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1348
- return de_CommandError(output, context);
1349
- }
1350
- const contents = smithyClient.map({
1351
- $metadata: deserializeMetadata(output),
1352
- });
1353
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1354
- const doc = smithyClient.take(data, {
1355
- FileSystems: (_) => de_FileSystemDescriptions(_),
1356
- Marker: smithyClient.expectString,
1357
- NextMarker: smithyClient.expectString,
1358
- });
1359
- Object.assign(contents, doc);
1360
- return contents;
1361
- };
1362
- const de_DescribeLifecycleConfigurationCommand = async (output, context) => {
1363
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1364
- return de_CommandError(output, context);
1365
- }
1366
- const contents = smithyClient.map({
1367
- $metadata: deserializeMetadata(output),
1368
- });
1369
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1370
- const doc = smithyClient.take(data, {
1371
- LifecyclePolicies: smithyClient._json,
1372
- });
1373
- Object.assign(contents, doc);
1374
- return contents;
1375
- };
1376
- const de_DescribeMountTargetsCommand = async (output, context) => {
1377
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1378
- return de_CommandError(output, context);
1379
- }
1380
- const contents = smithyClient.map({
1381
- $metadata: deserializeMetadata(output),
1382
- });
1383
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1384
- const doc = smithyClient.take(data, {
1385
- Marker: smithyClient.expectString,
1386
- MountTargets: smithyClient._json,
1387
- NextMarker: smithyClient.expectString,
1388
- });
1389
- Object.assign(contents, doc);
1390
- return contents;
1391
- };
1392
- const de_DescribeMountTargetSecurityGroupsCommand = async (output, context) => {
1393
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1394
- return de_CommandError(output, context);
1395
- }
1396
- const contents = smithyClient.map({
1397
- $metadata: deserializeMetadata(output),
1398
- });
1399
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1400
- const doc = smithyClient.take(data, {
1401
- SecurityGroups: smithyClient._json,
1402
- });
1403
- Object.assign(contents, doc);
1404
- return contents;
1405
- };
1406
- const de_DescribeReplicationConfigurationsCommand = async (output, context) => {
1407
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1408
- return de_CommandError(output, context);
1409
- }
1410
- const contents = smithyClient.map({
1411
- $metadata: deserializeMetadata(output),
1412
- });
1413
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1414
- const doc = smithyClient.take(data, {
1415
- NextToken: smithyClient.expectString,
1416
- Replications: (_) => de_ReplicationConfigurationDescriptions(_),
1417
- });
1418
- Object.assign(contents, doc);
1419
- return contents;
1420
- };
1421
- const de_DescribeTagsCommand = async (output, context) => {
1422
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1423
- return de_CommandError(output, context);
1424
- }
1425
- const contents = smithyClient.map({
1426
- $metadata: deserializeMetadata(output),
1427
- });
1428
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1429
- const doc = smithyClient.take(data, {
1430
- Marker: smithyClient.expectString,
1431
- NextMarker: smithyClient.expectString,
1432
- Tags: smithyClient._json,
1433
- });
1434
- Object.assign(contents, doc);
1435
- return contents;
1436
- };
1437
- const de_ListTagsForResourceCommand = async (output, context) => {
1438
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1439
- return de_CommandError(output, context);
1440
- }
1441
- const contents = smithyClient.map({
1442
- $metadata: deserializeMetadata(output),
1443
- });
1444
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1445
- const doc = smithyClient.take(data, {
1446
- NextToken: smithyClient.expectString,
1447
- Tags: smithyClient._json,
1448
- });
1449
- Object.assign(contents, doc);
1450
- return contents;
1451
- };
1452
- const de_ModifyMountTargetSecurityGroupsCommand = async (output, context) => {
1453
- if (output.statusCode !== 204 && output.statusCode >= 300) {
1454
- return de_CommandError(output, context);
1455
- }
1456
- const contents = smithyClient.map({
1457
- $metadata: deserializeMetadata(output),
1458
- });
1459
- await smithyClient.collectBody(output.body, context);
1460
- return contents;
1461
- };
1462
- const de_PutAccountPreferencesCommand = async (output, context) => {
1463
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1464
- return de_CommandError(output, context);
1465
- }
1466
- const contents = smithyClient.map({
1467
- $metadata: deserializeMetadata(output),
1468
- });
1469
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1470
- const doc = smithyClient.take(data, {
1471
- ResourceIdPreference: smithyClient._json,
1472
- });
1473
- Object.assign(contents, doc);
1474
- return contents;
1475
- };
1476
- const de_PutBackupPolicyCommand = async (output, context) => {
1477
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1478
- return de_CommandError(output, context);
1479
- }
1480
- const contents = smithyClient.map({
1481
- $metadata: deserializeMetadata(output),
1482
- });
1483
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1484
- const doc = smithyClient.take(data, {
1485
- BackupPolicy: smithyClient._json,
1486
- });
1487
- Object.assign(contents, doc);
1488
- return contents;
1489
- };
1490
- const de_PutFileSystemPolicyCommand = async (output, context) => {
1491
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1492
- return de_CommandError(output, context);
1493
- }
1494
- const contents = smithyClient.map({
1495
- $metadata: deserializeMetadata(output),
1496
- });
1497
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1498
- const doc = smithyClient.take(data, {
1499
- FileSystemId: smithyClient.expectString,
1500
- Policy: smithyClient.expectString,
1501
- });
1502
- Object.assign(contents, doc);
1503
- return contents;
1504
- };
1505
- const de_PutLifecycleConfigurationCommand = async (output, context) => {
1506
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1507
- return de_CommandError(output, context);
1508
- }
1509
- const contents = smithyClient.map({
1510
- $metadata: deserializeMetadata(output),
1511
- });
1512
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1513
- const doc = smithyClient.take(data, {
1514
- LifecyclePolicies: smithyClient._json,
1515
- });
1516
- Object.assign(contents, doc);
1517
- return contents;
1518
- };
1519
- const de_TagResourceCommand = async (output, context) => {
1520
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1521
- return de_CommandError(output, context);
1522
- }
1523
- const contents = smithyClient.map({
1524
- $metadata: deserializeMetadata(output),
1525
- });
1526
- await smithyClient.collectBody(output.body, context);
1527
- return contents;
1528
- };
1529
- const de_UntagResourceCommand = async (output, context) => {
1530
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1531
- return de_CommandError(output, context);
1532
- }
1533
- const contents = smithyClient.map({
1534
- $metadata: deserializeMetadata(output),
1535
- });
1536
- await smithyClient.collectBody(output.body, context);
1537
- return contents;
1538
- };
1539
- const de_UpdateFileSystemCommand = async (output, context) => {
1540
- if (output.statusCode !== 202 && output.statusCode >= 300) {
1541
- return de_CommandError(output, context);
1542
- }
1543
- const contents = smithyClient.map({
1544
- $metadata: deserializeMetadata(output),
1545
- });
1546
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1547
- const doc = smithyClient.take(data, {
1548
- AvailabilityZoneId: smithyClient.expectString,
1549
- AvailabilityZoneName: smithyClient.expectString,
1550
- CreationTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1551
- CreationToken: smithyClient.expectString,
1552
- Encrypted: smithyClient.expectBoolean,
1553
- FileSystemArn: smithyClient.expectString,
1554
- FileSystemId: smithyClient.expectString,
1555
- FileSystemProtection: smithyClient._json,
1556
- KmsKeyId: smithyClient.expectString,
1557
- LifeCycleState: smithyClient.expectString,
1558
- Name: smithyClient.expectString,
1559
- NumberOfMountTargets: smithyClient.expectInt32,
1560
- OwnerId: smithyClient.expectString,
1561
- PerformanceMode: smithyClient.expectString,
1562
- ProvisionedThroughputInMibps: smithyClient.limitedParseDouble,
1563
- SizeInBytes: (_) => de_FileSystemSize(_),
1564
- Tags: smithyClient._json,
1565
- ThroughputMode: smithyClient.expectString,
1566
- });
1567
- Object.assign(contents, doc);
1568
- return contents;
1569
- };
1570
- const de_UpdateFileSystemProtectionCommand = async (output, context) => {
1571
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1572
- return de_CommandError(output, context);
1573
- }
1574
- const contents = smithyClient.map({
1575
- $metadata: deserializeMetadata(output),
1576
- });
1577
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1578
- const doc = smithyClient.take(data, {
1579
- ReplicationOverwriteProtection: smithyClient.expectString,
1580
- });
1581
- Object.assign(contents, doc);
1582
- return contents;
1583
- };
1584
- const de_CommandError = async (output, context) => {
1585
- const parsedOutput = {
1586
- ...output,
1587
- body: await core$1.parseJsonErrorBody(output.body, context),
1588
- };
1589
- const errorCode = core$1.loadRestJsonErrorCode(output, parsedOutput.body);
1590
- switch (errorCode) {
1591
- case "AccessPointAlreadyExists":
1592
- case "com.amazonaws.efs#AccessPointAlreadyExists":
1593
- throw await de_AccessPointAlreadyExistsRes(parsedOutput);
1594
- case "AccessPointLimitExceeded":
1595
- case "com.amazonaws.efs#AccessPointLimitExceeded":
1596
- throw await de_AccessPointLimitExceededRes(parsedOutput);
1597
- case "BadRequest":
1598
- case "com.amazonaws.efs#BadRequest":
1599
- throw await de_BadRequestRes(parsedOutput);
1600
- case "FileSystemNotFound":
1601
- case "com.amazonaws.efs#FileSystemNotFound":
1602
- throw await de_FileSystemNotFoundRes(parsedOutput);
1603
- case "IncorrectFileSystemLifeCycleState":
1604
- case "com.amazonaws.efs#IncorrectFileSystemLifeCycleState":
1605
- throw await de_IncorrectFileSystemLifeCycleStateRes(parsedOutput);
1606
- case "InternalServerError":
1607
- case "com.amazonaws.efs#InternalServerError":
1608
- throw await de_InternalServerErrorRes(parsedOutput);
1609
- case "ThrottlingException":
1610
- case "com.amazonaws.efs#ThrottlingException":
1611
- throw await de_ThrottlingExceptionRes(parsedOutput);
1612
- case "FileSystemAlreadyExists":
1613
- case "com.amazonaws.efs#FileSystemAlreadyExists":
1614
- throw await de_FileSystemAlreadyExistsRes(parsedOutput);
1615
- case "FileSystemLimitExceeded":
1616
- case "com.amazonaws.efs#FileSystemLimitExceeded":
1617
- throw await de_FileSystemLimitExceededRes(parsedOutput);
1618
- case "InsufficientThroughputCapacity":
1619
- case "com.amazonaws.efs#InsufficientThroughputCapacity":
1620
- throw await de_InsufficientThroughputCapacityRes(parsedOutput);
1621
- case "ThroughputLimitExceeded":
1622
- case "com.amazonaws.efs#ThroughputLimitExceeded":
1623
- throw await de_ThroughputLimitExceededRes(parsedOutput);
1624
- case "UnsupportedAvailabilityZone":
1625
- case "com.amazonaws.efs#UnsupportedAvailabilityZone":
1626
- throw await de_UnsupportedAvailabilityZoneRes(parsedOutput);
1627
- case "AvailabilityZonesMismatch":
1628
- case "com.amazonaws.efs#AvailabilityZonesMismatch":
1629
- throw await de_AvailabilityZonesMismatchRes(parsedOutput);
1630
- case "IpAddressInUse":
1631
- case "com.amazonaws.efs#IpAddressInUse":
1632
- throw await de_IpAddressInUseRes(parsedOutput);
1633
- case "MountTargetConflict":
1634
- case "com.amazonaws.efs#MountTargetConflict":
1635
- throw await de_MountTargetConflictRes(parsedOutput);
1636
- case "NetworkInterfaceLimitExceeded":
1637
- case "com.amazonaws.efs#NetworkInterfaceLimitExceeded":
1638
- throw await de_NetworkInterfaceLimitExceededRes(parsedOutput);
1639
- case "NoFreeAddressesInSubnet":
1640
- case "com.amazonaws.efs#NoFreeAddressesInSubnet":
1641
- throw await de_NoFreeAddressesInSubnetRes(parsedOutput);
1642
- case "SecurityGroupLimitExceeded":
1643
- case "com.amazonaws.efs#SecurityGroupLimitExceeded":
1644
- throw await de_SecurityGroupLimitExceededRes(parsedOutput);
1645
- case "SecurityGroupNotFound":
1646
- case "com.amazonaws.efs#SecurityGroupNotFound":
1647
- throw await de_SecurityGroupNotFoundRes(parsedOutput);
1648
- case "SubnetNotFound":
1649
- case "com.amazonaws.efs#SubnetNotFound":
1650
- throw await de_SubnetNotFoundRes(parsedOutput);
1651
- case "ConflictException":
1652
- case "com.amazonaws.efs#ConflictException":
1653
- throw await de_ConflictExceptionRes(parsedOutput);
1654
- case "ReplicationNotFound":
1655
- case "com.amazonaws.efs#ReplicationNotFound":
1656
- throw await de_ReplicationNotFoundRes(parsedOutput);
1657
- case "ValidationException":
1658
- case "com.amazonaws.efs#ValidationException":
1659
- throw await de_ValidationExceptionRes(parsedOutput);
1660
- case "AccessPointNotFound":
1661
- case "com.amazonaws.efs#AccessPointNotFound":
1662
- throw await de_AccessPointNotFoundRes(parsedOutput);
1663
- case "FileSystemInUse":
1664
- case "com.amazonaws.efs#FileSystemInUse":
1665
- throw await de_FileSystemInUseRes(parsedOutput);
1666
- case "DependencyTimeout":
1667
- case "com.amazonaws.efs#DependencyTimeout":
1668
- throw await de_DependencyTimeoutRes(parsedOutput);
1669
- case "MountTargetNotFound":
1670
- case "com.amazonaws.efs#MountTargetNotFound":
1671
- throw await de_MountTargetNotFoundRes(parsedOutput);
1672
- case "PolicyNotFound":
1673
- case "com.amazonaws.efs#PolicyNotFound":
1674
- throw await de_PolicyNotFoundRes(parsedOutput);
1675
- case "IncorrectMountTargetState":
1676
- case "com.amazonaws.efs#IncorrectMountTargetState":
1677
- throw await de_IncorrectMountTargetStateRes(parsedOutput);
1678
- case "InvalidPolicyException":
1679
- case "com.amazonaws.efs#InvalidPolicyException":
1680
- throw await de_InvalidPolicyExceptionRes(parsedOutput);
1681
- case "TooManyRequests":
1682
- case "com.amazonaws.efs#TooManyRequests":
1683
- throw await de_TooManyRequestsRes(parsedOutput);
1684
- case "ReplicationAlreadyExists":
1685
- case "com.amazonaws.efs#ReplicationAlreadyExists":
1686
- throw await de_ReplicationAlreadyExistsRes(parsedOutput);
1687
- default:
1688
- const parsedBody = parsedOutput.body;
1689
- return throwDefaultError({
1690
- output,
1691
- parsedBody,
1692
- errorCode,
1693
- });
1694
- }
1695
- };
1696
- const throwDefaultError = smithyClient.withBaseException(EFSServiceException);
1697
- const de_AccessPointAlreadyExistsRes = async (parsedOutput, context) => {
1698
- const contents = smithyClient.map({});
1699
- const data = parsedOutput.body;
1700
- const doc = smithyClient.take(data, {
1701
- AccessPointId: smithyClient.expectString,
1702
- ErrorCode: smithyClient.expectString,
1703
- Message: smithyClient.expectString,
1704
- });
1705
- Object.assign(contents, doc);
1706
- const exception = new AccessPointAlreadyExists({
1707
- $metadata: deserializeMetadata(parsedOutput),
1708
- ...contents,
1709
- });
1710
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1711
- };
1712
- const de_AccessPointLimitExceededRes = async (parsedOutput, context) => {
1713
- const contents = smithyClient.map({});
1714
- const data = parsedOutput.body;
1715
- const doc = smithyClient.take(data, {
1716
- ErrorCode: smithyClient.expectString,
1717
- Message: smithyClient.expectString,
1718
- });
1719
- Object.assign(contents, doc);
1720
- const exception = new AccessPointLimitExceeded({
1721
- $metadata: deserializeMetadata(parsedOutput),
1722
- ...contents,
1723
- });
1724
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1725
- };
1726
- const de_AccessPointNotFoundRes = async (parsedOutput, context) => {
1727
- const contents = smithyClient.map({});
1728
- const data = parsedOutput.body;
1729
- const doc = smithyClient.take(data, {
1730
- ErrorCode: smithyClient.expectString,
1731
- Message: smithyClient.expectString,
1732
- });
1733
- Object.assign(contents, doc);
1734
- const exception = new AccessPointNotFound({
1735
- $metadata: deserializeMetadata(parsedOutput),
1736
- ...contents,
1737
- });
1738
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1739
- };
1740
- const de_AvailabilityZonesMismatchRes = async (parsedOutput, context) => {
1741
- const contents = smithyClient.map({});
1742
- const data = parsedOutput.body;
1743
- const doc = smithyClient.take(data, {
1744
- ErrorCode: smithyClient.expectString,
1745
- Message: smithyClient.expectString,
1746
- });
1747
- Object.assign(contents, doc);
1748
- const exception = new AvailabilityZonesMismatch({
1749
- $metadata: deserializeMetadata(parsedOutput),
1750
- ...contents,
1751
- });
1752
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1753
- };
1754
- const de_BadRequestRes = async (parsedOutput, context) => {
1755
- const contents = smithyClient.map({});
1756
- const data = parsedOutput.body;
1757
- const doc = smithyClient.take(data, {
1758
- ErrorCode: smithyClient.expectString,
1759
- Message: smithyClient.expectString,
1760
- });
1761
- Object.assign(contents, doc);
1762
- const exception = new BadRequest({
1763
- $metadata: deserializeMetadata(parsedOutput),
1764
- ...contents,
1765
- });
1766
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1767
- };
1768
- const de_ConflictExceptionRes = async (parsedOutput, context) => {
1769
- const contents = smithyClient.map({});
1770
- const data = parsedOutput.body;
1771
- const doc = smithyClient.take(data, {
1772
- ErrorCode: smithyClient.expectString,
1773
- Message: smithyClient.expectString,
1774
- });
1775
- Object.assign(contents, doc);
1776
- const exception = new ConflictException({
1777
- $metadata: deserializeMetadata(parsedOutput),
1778
- ...contents,
1779
- });
1780
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1781
- };
1782
- const de_DependencyTimeoutRes = async (parsedOutput, context) => {
1783
- const contents = smithyClient.map({});
1784
- const data = parsedOutput.body;
1785
- const doc = smithyClient.take(data, {
1786
- ErrorCode: smithyClient.expectString,
1787
- Message: smithyClient.expectString,
1788
- });
1789
- Object.assign(contents, doc);
1790
- const exception = new DependencyTimeout({
1791
- $metadata: deserializeMetadata(parsedOutput),
1792
- ...contents,
1793
- });
1794
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1795
- };
1796
- const de_FileSystemAlreadyExistsRes = async (parsedOutput, context) => {
1797
- const contents = smithyClient.map({});
1798
- const data = parsedOutput.body;
1799
- const doc = smithyClient.take(data, {
1800
- ErrorCode: smithyClient.expectString,
1801
- FileSystemId: smithyClient.expectString,
1802
- Message: smithyClient.expectString,
1803
- });
1804
- Object.assign(contents, doc);
1805
- const exception = new FileSystemAlreadyExists({
1806
- $metadata: deserializeMetadata(parsedOutput),
1807
- ...contents,
1808
- });
1809
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1810
- };
1811
- const de_FileSystemInUseRes = async (parsedOutput, context) => {
1812
- const contents = smithyClient.map({});
1813
- const data = parsedOutput.body;
1814
- const doc = smithyClient.take(data, {
1815
- ErrorCode: smithyClient.expectString,
1816
- Message: smithyClient.expectString,
1817
- });
1818
- Object.assign(contents, doc);
1819
- const exception = new FileSystemInUse({
1820
- $metadata: deserializeMetadata(parsedOutput),
1821
- ...contents,
1822
- });
1823
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1824
- };
1825
- const de_FileSystemLimitExceededRes = async (parsedOutput, context) => {
1826
- const contents = smithyClient.map({});
1827
- const data = parsedOutput.body;
1828
- const doc = smithyClient.take(data, {
1829
- ErrorCode: smithyClient.expectString,
1830
- Message: smithyClient.expectString,
1831
- });
1832
- Object.assign(contents, doc);
1833
- const exception = new FileSystemLimitExceeded({
1834
- $metadata: deserializeMetadata(parsedOutput),
1835
- ...contents,
1836
- });
1837
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1838
- };
1839
- const de_FileSystemNotFoundRes = async (parsedOutput, context) => {
1840
- const contents = smithyClient.map({});
1841
- const data = parsedOutput.body;
1842
- const doc = smithyClient.take(data, {
1843
- ErrorCode: smithyClient.expectString,
1844
- Message: smithyClient.expectString,
1845
- });
1846
- Object.assign(contents, doc);
1847
- const exception = new FileSystemNotFound({
1848
- $metadata: deserializeMetadata(parsedOutput),
1849
- ...contents,
1850
- });
1851
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1852
- };
1853
- const de_IncorrectFileSystemLifeCycleStateRes = async (parsedOutput, context) => {
1854
- const contents = smithyClient.map({});
1855
- const data = parsedOutput.body;
1856
- const doc = smithyClient.take(data, {
1857
- ErrorCode: smithyClient.expectString,
1858
- Message: smithyClient.expectString,
1859
- });
1860
- Object.assign(contents, doc);
1861
- const exception = new IncorrectFileSystemLifeCycleState({
1862
- $metadata: deserializeMetadata(parsedOutput),
1863
- ...contents,
1864
- });
1865
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1866
- };
1867
- const de_IncorrectMountTargetStateRes = async (parsedOutput, context) => {
1868
- const contents = smithyClient.map({});
1869
- const data = parsedOutput.body;
1870
- const doc = smithyClient.take(data, {
1871
- ErrorCode: smithyClient.expectString,
1872
- Message: smithyClient.expectString,
1873
- });
1874
- Object.assign(contents, doc);
1875
- const exception = new IncorrectMountTargetState({
1876
- $metadata: deserializeMetadata(parsedOutput),
1877
- ...contents,
1878
- });
1879
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1880
- };
1881
- const de_InsufficientThroughputCapacityRes = async (parsedOutput, context) => {
1882
- const contents = smithyClient.map({});
1883
- const data = parsedOutput.body;
1884
- const doc = smithyClient.take(data, {
1885
- ErrorCode: smithyClient.expectString,
1886
- Message: smithyClient.expectString,
1887
- });
1888
- Object.assign(contents, doc);
1889
- const exception = new InsufficientThroughputCapacity({
1890
- $metadata: deserializeMetadata(parsedOutput),
1891
- ...contents,
1892
- });
1893
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1894
- };
1895
- const de_InternalServerErrorRes = async (parsedOutput, context) => {
1896
- const contents = smithyClient.map({});
1897
- const data = parsedOutput.body;
1898
- const doc = smithyClient.take(data, {
1899
- ErrorCode: smithyClient.expectString,
1900
- Message: smithyClient.expectString,
1901
- });
1902
- Object.assign(contents, doc);
1903
- const exception = new InternalServerError({
1904
- $metadata: deserializeMetadata(parsedOutput),
1905
- ...contents,
1906
- });
1907
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1908
- };
1909
- const de_InvalidPolicyExceptionRes = async (parsedOutput, context) => {
1910
- const contents = smithyClient.map({});
1911
- const data = parsedOutput.body;
1912
- const doc = smithyClient.take(data, {
1913
- ErrorCode: smithyClient.expectString,
1914
- Message: smithyClient.expectString,
1915
- });
1916
- Object.assign(contents, doc);
1917
- const exception = new InvalidPolicyException({
1918
- $metadata: deserializeMetadata(parsedOutput),
1919
- ...contents,
1920
- });
1921
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1922
- };
1923
- const de_IpAddressInUseRes = async (parsedOutput, context) => {
1924
- const contents = smithyClient.map({});
1925
- const data = parsedOutput.body;
1926
- const doc = smithyClient.take(data, {
1927
- ErrorCode: smithyClient.expectString,
1928
- Message: smithyClient.expectString,
1929
- });
1930
- Object.assign(contents, doc);
1931
- const exception = new IpAddressInUse({
1932
- $metadata: deserializeMetadata(parsedOutput),
1933
- ...contents,
1934
- });
1935
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1936
- };
1937
- const de_MountTargetConflictRes = async (parsedOutput, context) => {
1938
- const contents = smithyClient.map({});
1939
- const data = parsedOutput.body;
1940
- const doc = smithyClient.take(data, {
1941
- ErrorCode: smithyClient.expectString,
1942
- Message: smithyClient.expectString,
1943
- });
1944
- Object.assign(contents, doc);
1945
- const exception = new MountTargetConflict({
1946
- $metadata: deserializeMetadata(parsedOutput),
1947
- ...contents,
1948
- });
1949
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1950
- };
1951
- const de_MountTargetNotFoundRes = async (parsedOutput, context) => {
1952
- const contents = smithyClient.map({});
1953
- const data = parsedOutput.body;
1954
- const doc = smithyClient.take(data, {
1955
- ErrorCode: smithyClient.expectString,
1956
- Message: smithyClient.expectString,
1957
- });
1958
- Object.assign(contents, doc);
1959
- const exception = new MountTargetNotFound({
1960
- $metadata: deserializeMetadata(parsedOutput),
1961
- ...contents,
1962
- });
1963
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1964
- };
1965
- const de_NetworkInterfaceLimitExceededRes = async (parsedOutput, context) => {
1966
- const contents = smithyClient.map({});
1967
- const data = parsedOutput.body;
1968
- const doc = smithyClient.take(data, {
1969
- ErrorCode: smithyClient.expectString,
1970
- Message: smithyClient.expectString,
1971
- });
1972
- Object.assign(contents, doc);
1973
- const exception = new NetworkInterfaceLimitExceeded({
1974
- $metadata: deserializeMetadata(parsedOutput),
1975
- ...contents,
1976
- });
1977
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1978
- };
1979
- const de_NoFreeAddressesInSubnetRes = async (parsedOutput, context) => {
1980
- const contents = smithyClient.map({});
1981
- const data = parsedOutput.body;
1982
- const doc = smithyClient.take(data, {
1983
- ErrorCode: smithyClient.expectString,
1984
- Message: smithyClient.expectString,
1985
- });
1986
- Object.assign(contents, doc);
1987
- const exception = new NoFreeAddressesInSubnet({
1988
- $metadata: deserializeMetadata(parsedOutput),
1989
- ...contents,
1990
- });
1991
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1992
- };
1993
- const de_PolicyNotFoundRes = async (parsedOutput, context) => {
1994
- const contents = smithyClient.map({});
1995
- const data = parsedOutput.body;
1996
- const doc = smithyClient.take(data, {
1997
- ErrorCode: smithyClient.expectString,
1998
- Message: smithyClient.expectString,
1999
- });
2000
- Object.assign(contents, doc);
2001
- const exception = new PolicyNotFound({
2002
- $metadata: deserializeMetadata(parsedOutput),
2003
- ...contents,
2004
- });
2005
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
2006
- };
2007
- const de_ReplicationAlreadyExistsRes = async (parsedOutput, context) => {
2008
- const contents = smithyClient.map({});
2009
- const data = parsedOutput.body;
2010
- const doc = smithyClient.take(data, {
2011
- ErrorCode: smithyClient.expectString,
2012
- Message: smithyClient.expectString,
2013
- });
2014
- Object.assign(contents, doc);
2015
- const exception = new ReplicationAlreadyExists({
2016
- $metadata: deserializeMetadata(parsedOutput),
2017
- ...contents,
2018
- });
2019
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
2020
713
  };
2021
- const de_ReplicationNotFoundRes = async (parsedOutput, context) => {
2022
- const contents = smithyClient.map({});
2023
- const data = parsedOutput.body;
2024
- const doc = smithyClient.take(data, {
2025
- ErrorCode: smithyClient.expectString,
2026
- Message: smithyClient.expectString,
2027
- });
2028
- Object.assign(contents, doc);
2029
- const exception = new ReplicationNotFound({
2030
- $metadata: deserializeMetadata(parsedOutput),
2031
- ...contents,
2032
- });
2033
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
2034
- };
2035
- const de_SecurityGroupLimitExceededRes = async (parsedOutput, context) => {
2036
- const contents = smithyClient.map({});
2037
- const data = parsedOutput.body;
2038
- const doc = smithyClient.take(data, {
2039
- ErrorCode: smithyClient.expectString,
2040
- Message: smithyClient.expectString,
2041
- });
2042
- Object.assign(contents, doc);
2043
- const exception = new SecurityGroupLimitExceeded({
2044
- $metadata: deserializeMetadata(parsedOutput),
2045
- ...contents,
2046
- });
2047
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
2048
- };
2049
- const de_SecurityGroupNotFoundRes = async (parsedOutput, context) => {
2050
- const contents = smithyClient.map({});
2051
- const data = parsedOutput.body;
2052
- const doc = smithyClient.take(data, {
2053
- ErrorCode: smithyClient.expectString,
2054
- Message: smithyClient.expectString,
2055
- });
2056
- Object.assign(contents, doc);
2057
- const exception = new SecurityGroupNotFound({
2058
- $metadata: deserializeMetadata(parsedOutput),
2059
- ...contents,
2060
- });
2061
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
2062
- };
2063
- const de_SubnetNotFoundRes = async (parsedOutput, context) => {
2064
- const contents = smithyClient.map({});
2065
- const data = parsedOutput.body;
2066
- const doc = smithyClient.take(data, {
2067
- ErrorCode: smithyClient.expectString,
2068
- Message: smithyClient.expectString,
2069
- });
2070
- Object.assign(contents, doc);
2071
- const exception = new SubnetNotFound({
2072
- $metadata: deserializeMetadata(parsedOutput),
2073
- ...contents,
2074
- });
2075
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
2076
- };
2077
- const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
2078
- const contents = smithyClient.map({});
2079
- const data = parsedOutput.body;
2080
- const doc = smithyClient.take(data, {
2081
- ErrorCode: smithyClient.expectString,
2082
- Message: smithyClient.expectString,
2083
- });
2084
- Object.assign(contents, doc);
2085
- const exception = new ThrottlingException({
2086
- $metadata: deserializeMetadata(parsedOutput),
2087
- ...contents,
2088
- });
2089
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
2090
- };
2091
- const de_ThroughputLimitExceededRes = async (parsedOutput, context) => {
2092
- const contents = smithyClient.map({});
2093
- const data = parsedOutput.body;
2094
- const doc = smithyClient.take(data, {
2095
- ErrorCode: smithyClient.expectString,
2096
- Message: smithyClient.expectString,
2097
- });
2098
- Object.assign(contents, doc);
2099
- const exception = new ThroughputLimitExceeded({
2100
- $metadata: deserializeMetadata(parsedOutput),
2101
- ...contents,
2102
- });
2103
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
2104
- };
2105
- const de_TooManyRequestsRes = async (parsedOutput, context) => {
2106
- const contents = smithyClient.map({});
2107
- const data = parsedOutput.body;
2108
- const doc = smithyClient.take(data, {
2109
- ErrorCode: smithyClient.expectString,
2110
- Message: smithyClient.expectString,
2111
- });
2112
- Object.assign(contents, doc);
2113
- const exception = new TooManyRequests({
2114
- $metadata: deserializeMetadata(parsedOutput),
2115
- ...contents,
2116
- });
2117
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
2118
- };
2119
- const de_UnsupportedAvailabilityZoneRes = async (parsedOutput, context) => {
2120
- const contents = smithyClient.map({});
2121
- const data = parsedOutput.body;
2122
- const doc = smithyClient.take(data, {
2123
- ErrorCode: smithyClient.expectString,
2124
- Message: smithyClient.expectString,
2125
- });
2126
- Object.assign(contents, doc);
2127
- const exception = new UnsupportedAvailabilityZone({
2128
- $metadata: deserializeMetadata(parsedOutput),
2129
- ...contents,
2130
- });
2131
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
2132
- };
2133
- const de_ValidationExceptionRes = async (parsedOutput, context) => {
2134
- const contents = smithyClient.map({});
2135
- const data = parsedOutput.body;
2136
- const doc = smithyClient.take(data, {
2137
- ErrorCode: smithyClient.expectString,
2138
- Message: smithyClient.expectString,
2139
- });
2140
- Object.assign(contents, doc);
2141
- const exception = new ValidationException({
2142
- $metadata: deserializeMetadata(parsedOutput),
2143
- ...contents,
2144
- });
2145
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
2146
- };
2147
- const de_Destination = (output, context) => {
2148
- return smithyClient.take(output, {
2149
- FileSystemId: smithyClient.expectString,
2150
- LastReplicatedTimestamp: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
2151
- OwnerId: smithyClient.expectString,
2152
- Region: smithyClient.expectString,
2153
- RoleArn: smithyClient.expectString,
2154
- Status: smithyClient.expectString,
2155
- StatusMessage: smithyClient.expectString,
2156
- });
2157
- };
2158
- const de_Destinations = (output, context) => {
2159
- const retVal = (output || [])
2160
- .filter((e) => e != null)
2161
- .map((entry) => {
2162
- return de_Destination(entry);
2163
- });
2164
- return retVal;
2165
- };
2166
- const de_FileSystemDescription = (output, context) => {
2167
- return smithyClient.take(output, {
2168
- AvailabilityZoneId: smithyClient.expectString,
2169
- AvailabilityZoneName: smithyClient.expectString,
2170
- CreationTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
2171
- CreationToken: smithyClient.expectString,
2172
- Encrypted: smithyClient.expectBoolean,
2173
- FileSystemArn: smithyClient.expectString,
2174
- FileSystemId: smithyClient.expectString,
2175
- FileSystemProtection: smithyClient._json,
2176
- KmsKeyId: smithyClient.expectString,
2177
- LifeCycleState: smithyClient.expectString,
2178
- Name: smithyClient.expectString,
2179
- NumberOfMountTargets: smithyClient.expectInt32,
2180
- OwnerId: smithyClient.expectString,
2181
- PerformanceMode: smithyClient.expectString,
2182
- ProvisionedThroughputInMibps: smithyClient.limitedParseDouble,
2183
- SizeInBytes: (_) => de_FileSystemSize(_),
2184
- Tags: smithyClient._json,
2185
- ThroughputMode: smithyClient.expectString,
2186
- });
2187
- };
2188
- const de_FileSystemDescriptions = (output, context) => {
2189
- const retVal = (output || [])
2190
- .filter((e) => e != null)
2191
- .map((entry) => {
2192
- return de_FileSystemDescription(entry);
2193
- });
2194
- return retVal;
2195
- };
2196
- const de_FileSystemSize = (output, context) => {
2197
- return smithyClient.take(output, {
2198
- Timestamp: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
2199
- Value: smithyClient.expectLong,
2200
- ValueInArchive: smithyClient.expectLong,
2201
- ValueInIA: smithyClient.expectLong,
2202
- ValueInStandard: smithyClient.expectLong,
2203
- });
2204
- };
2205
- const de_ReplicationConfigurationDescription = (output, context) => {
2206
- return smithyClient.take(output, {
2207
- CreationTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
2208
- Destinations: (_) => de_Destinations(_),
2209
- OriginalSourceFileSystemArn: smithyClient.expectString,
2210
- SourceFileSystemArn: smithyClient.expectString,
2211
- SourceFileSystemId: smithyClient.expectString,
2212
- SourceFileSystemOwnerId: smithyClient.expectString,
2213
- SourceFileSystemRegion: smithyClient.expectString,
2214
- });
2215
- };
2216
- const de_ReplicationConfigurationDescriptions = (output, context) => {
2217
- const retVal = (output || [])
2218
- .filter((e) => e != null)
2219
- .map((entry) => {
2220
- return de_ReplicationConfigurationDescription(entry);
2221
- });
2222
- return retVal;
2223
- };
2224
- const deserializeMetadata = (output) => ({
2225
- httpStatusCode: output.statusCode,
2226
- requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
2227
- extendedRequestId: output.headers["x-amz-id-2"],
2228
- cfId: output.headers["x-amz-cf-id"],
2229
- });
714
+
715
+ const _AP = "AccessPoints";
716
+ const _APA = "AccessPointArn";
717
+ const _APAE = "AccessPointAlreadyExists";
718
+ const _APD = "AccessPointDescription";
719
+ const _APDc = "AccessPointDescriptions";
2230
720
  const _API = "AccessPointId";
2231
- const _CT = "CreationToken";
721
+ const _APLE = "AccessPointLimitExceeded";
722
+ const _APNF = "AccessPointNotFound";
723
+ const _AZI = "AvailabilityZoneId";
724
+ const _AZM = "AvailabilityZonesMismatch";
725
+ const _AZN = "AvailabilityZoneName";
726
+ const _B = "Backup";
727
+ const _BP = "BackupPolicy";
728
+ const _BPD = "BackupPolicyDescription";
729
+ const _BPLSC = "BypassPolicyLockoutSafetyCheck";
730
+ const _BR = "BadRequest";
731
+ const _CAP = "CreateAccessPoint";
732
+ const _CAPR = "CreateAccessPointRequest";
733
+ const _CE = "ConflictException";
734
+ const _CFS = "CreateFileSystem";
735
+ const _CFSR = "CreateFileSystemRequest";
736
+ const _CI = "CreationInfo";
737
+ const _CMT = "CreateMountTarget";
738
+ const _CMTR = "CreateMountTargetRequest";
739
+ const _CRC = "CreateReplicationConfiguration";
740
+ const _CRCR = "CreateReplicationConfigurationRequest";
741
+ const _CT = "ClientToken";
742
+ const _CTR = "CreateTagsRequest";
743
+ const _CTr = "CreationToken";
744
+ const _CTre = "CreationTime";
745
+ const _CTrea = "CreateTags";
746
+ const _D = "Destinations";
747
+ const _DAP = "DeleteAccessPoint";
748
+ const _DAPR = "DeleteAccessPointRequest";
749
+ const _DAPRe = "DescribeAccessPointsRequest";
750
+ const _DAPRes = "DescribeAccessPointsResponse";
751
+ const _DAPResc = "DescribeAccountPreferencesRequest";
752
+ const _DAPRescr = "DescribeAccountPreferencesResponse";
753
+ const _DAPe = "DescribeAccessPoints";
754
+ const _DAPes = "DescribeAccountPreferences";
755
+ const _DBP = "DescribeBackupPolicy";
756
+ const _DBPR = "DescribeBackupPolicyRequest";
757
+ const _DFS = "DeleteFileSystem";
758
+ const _DFSP = "DeleteFileSystemPolicy";
759
+ const _DFSPR = "DeleteFileSystemPolicyRequest";
760
+ const _DFSPRe = "DescribeFileSystemPolicyRequest";
761
+ const _DFSPe = "DescribeFileSystemPolicy";
762
+ const _DFSR = "DeleteFileSystemRequest";
763
+ const _DFSRe = "DescribeFileSystemsRequest";
764
+ const _DFSRes = "DescribeFileSystemsResponse";
765
+ const _DFSe = "DescribeFileSystems";
766
+ const _DLC = "DescribeLifecycleConfiguration";
767
+ const _DLCR = "DescribeLifecycleConfigurationRequest";
2232
768
  const _DM = "DeletionMode";
769
+ const _DMT = "DeleteMountTarget";
770
+ const _DMTR = "DeleteMountTargetRequest";
771
+ const _DMTRe = "DescribeMountTargetsRequest";
772
+ const _DMTRes = "DescribeMountTargetsResponse";
773
+ const _DMTSG = "DescribeMountTargetSecurityGroups";
774
+ const _DMTSGR = "DescribeMountTargetSecurityGroupsRequest";
775
+ const _DMTSGRe = "DescribeMountTargetSecurityGroupsResponse";
776
+ const _DMTe = "DescribeMountTargets";
777
+ const _DRC = "DeleteReplicationConfiguration";
778
+ const _DRCR = "DeleteReplicationConfigurationRequest";
779
+ const _DRCRe = "DescribeReplicationConfigurationsRequest";
780
+ const _DRCRes = "DescribeReplicationConfigurationsResponse";
781
+ const _DRCe = "DescribeReplicationConfigurations";
782
+ const _DT = "DependencyTimeout";
783
+ const _DTC = "DestinationToCreate";
784
+ const _DTCe = "DestinationsToCreate";
785
+ const _DTR = "DeleteTagsRequest";
786
+ const _DTRe = "DescribeTagsRequest";
787
+ const _DTRes = "DescribeTagsResponse";
788
+ const _DTe = "DeleteTags";
789
+ const _DTes = "DescribeTags";
790
+ const _De = "Destination";
791
+ const _E = "Encrypted";
792
+ const _EC = "ErrorCode";
793
+ const _FS = "FileSystems";
794
+ const _FSA = "FileSystemArn";
795
+ const _FSAE = "FileSystemAlreadyExists";
796
+ const _FSD = "FileSystemDescription";
797
+ const _FSDi = "FileSystemDescriptions";
2233
798
  const _FSI = "FileSystemId";
2234
- const _M = "Marker";
799
+ const _FSIU = "FileSystemInUse";
800
+ const _FSLE = "FileSystemLimitExceeded";
801
+ const _FSNF = "FileSystemNotFound";
802
+ const _FSP = "FileSystemProtection";
803
+ const _FSPD = "FileSystemPolicyDescription";
804
+ const _FSPDi = "FileSystemProtectionDescription";
805
+ const _FSS = "FileSystemSize";
806
+ const _G = "Gid";
807
+ const _IA = "IpAddress";
808
+ const _IAIU = "IpAddressInUse";
809
+ const _IAT = "IpAddressType";
810
+ const _IAp = "Ipv6Address";
811
+ const _IFSLCS = "IncorrectFileSystemLifeCycleState";
812
+ const _IMTS = "IncorrectMountTargetState";
813
+ const _IPE = "InvalidPolicyException";
814
+ const _ISE = "InternalServerError";
815
+ const _ITC = "InsufficientThroughputCapacity";
816
+ const _K = "Key";
817
+ const _KKI = "KmsKeyId";
818
+ const _LCD = "LifecycleConfigurationDescription";
819
+ const _LCS = "LifeCycleState";
820
+ const _LP = "LifecyclePolicies";
821
+ const _LPi = "LifecyclePolicy";
822
+ const _LRT = "LastReplicatedTimestamp";
823
+ const _LTFR = "ListTagsForResource";
824
+ const _LTFRR = "ListTagsForResourceRequest";
825
+ const _LTFRRi = "ListTagsForResourceResponse";
826
+ const _M = "Message";
2235
827
  const _MI = "MaxItems";
828
+ const _MMTSG = "ModifyMountTargetSecurityGroups";
829
+ const _MMTSGR = "ModifyMountTargetSecurityGroupsRequest";
2236
830
  const _MR = "MaxResults";
831
+ const _MT = "MountTargets";
832
+ const _MTC = "MountTargetConflict";
833
+ const _MTD = "MountTargetDescription";
834
+ const _MTDo = "MountTargetDescriptions";
2237
835
  const _MTI = "MountTargetId";
836
+ const _MTNF = "MountTargetNotFound";
837
+ const _Ma = "Marker";
838
+ const _N = "Name";
839
+ const _NFAIS = "NoFreeAddressesInSubnet";
840
+ const _NII = "NetworkInterfaceId";
841
+ const _NILE = "NetworkInterfaceLimitExceeded";
842
+ const _NM = "NextMarker";
843
+ const _NOMT = "NumberOfMountTargets";
2238
844
  const _NT = "NextToken";
845
+ const _OG = "OwnerGid";
846
+ const _OI = "OwnerId";
847
+ const _OSFSA = "OriginalSourceFileSystemArn";
848
+ const _OU = "OwnerUid";
849
+ const _P = "Permissions";
850
+ const _PAP = "PutAccountPreferences";
851
+ const _PAPR = "PutAccountPreferencesRequest";
852
+ const _PAPRu = "PutAccountPreferencesResponse";
853
+ const _PBP = "PutBackupPolicy";
854
+ const _PBPR = "PutBackupPolicyRequest";
855
+ const _PFSP = "PutFileSystemPolicy";
856
+ const _PFSPR = "PutFileSystemPolicyRequest";
857
+ const _PLC = "PutLifecycleConfiguration";
858
+ const _PLCR = "PutLifecycleConfigurationRequest";
859
+ const _PM = "PerformanceMode";
860
+ const _PNF = "PolicyNotFound";
861
+ const _PTIM = "ProvisionedThroughputInMibps";
862
+ const _PU = "PosixUser";
863
+ const _Pa = "Path";
864
+ const _Po = "Policy";
865
+ const _R = "Replications";
866
+ const _RA = "RoleArn";
867
+ const _RAE = "ReplicationAlreadyExists";
868
+ const _RCD = "ReplicationConfigurationDescription";
869
+ const _RCDe = "ReplicationConfigurationDescriptions";
870
+ const _RD = "RootDirectory";
871
+ const _RI = "ResourceId";
872
+ const _RIP = "ResourceIdPreference";
873
+ const _RIT = "ResourceIdType";
874
+ const _RNF = "ReplicationNotFound";
875
+ const _ROP = "ReplicationOverwriteProtection";
876
+ const _Re = "Region";
877
+ const _Res = "Resources";
878
+ const _S = "Status";
879
+ const _SFSA = "SourceFileSystemArn";
880
+ const _SFSI = "SourceFileSystemId";
881
+ const _SFSOI = "SourceFileSystemOwnerId";
882
+ const _SFSR = "SourceFileSystemRegion";
883
+ const _SG = "SecurityGroups";
884
+ const _SGLE = "SecurityGroupLimitExceeded";
885
+ const _SGNF = "SecurityGroupNotFound";
886
+ const _SGe = "SecondaryGids";
887
+ const _SI = "SubnetId";
888
+ const _SIB = "SizeInBytes";
889
+ const _SM = "StatusMessage";
890
+ const _SNF = "SubnetNotFound";
891
+ const _T = "Tags";
892
+ const _TE = "ThrottlingException";
2239
893
  const _TK = "TagKeys";
894
+ const _TLE = "ThroughputLimitExceeded";
895
+ const _TM = "ThroughputMode";
896
+ const _TMR = "TooManyRequests";
897
+ const _TR = "TagResource";
898
+ const _TRR = "TagResourceRequest";
899
+ const _TTA = "TransitionToArchive";
900
+ const _TTIA = "TransitionToIA";
901
+ const _TTPSC = "TransitionToPrimaryStorageClass";
902
+ const _Ta = "Tag";
903
+ const _Ti = "Timestamp";
904
+ const _U = "Uid";
905
+ const _UAZ = "UnsupportedAvailabilityZone";
906
+ const _UFS = "UpdateFileSystem";
907
+ const _UFSP = "UpdateFileSystemProtection";
908
+ const _UFSPR = "UpdateFileSystemProtectionRequest";
909
+ const _UFSR = "UpdateFileSystemRequest";
910
+ const _UR = "UntagResource";
911
+ const _URR = "UntagResourceRequest";
912
+ const _V = "Value";
913
+ const _VE = "ValidationException";
914
+ const _VI = "VpcId";
915
+ const _VIA = "ValueInArchive";
916
+ const _VIIA = "ValueInIA";
917
+ const _VIS = "ValueInStandard";
918
+ const _c = "client";
2240
919
  const _dM = "deletionMode";
920
+ const _e = "error";
921
+ const _h = "http";
922
+ const _hE = "httpError";
923
+ const _hQ = "httpQuery";
924
+ const _s = "server";
925
+ const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.efs";
2241
926
  const _tK = "tagKeys";
927
+ const n0 = "com.amazonaws.efs";
928
+ var AccessPointAlreadyExists = [
929
+ -3,
930
+ n0,
931
+ _APAE,
932
+ {
933
+ [_e]: _c,
934
+ [_hE]: 409,
935
+ },
936
+ [_EC, _M, _API],
937
+ [0, 0, 0],
938
+ ];
939
+ schema.TypeRegistry.for(n0).registerError(AccessPointAlreadyExists, AccessPointAlreadyExists$1);
940
+ var AccessPointDescription = [
941
+ 3,
942
+ n0,
943
+ _APD,
944
+ 0,
945
+ [_CT, _N, _T, _API, _APA, _FSI, _PU, _RD, _OI, _LCS],
946
+ [0, 0, () => Tags, 0, 0, 0, () => PosixUser, () => RootDirectory, 0, 0],
947
+ ];
948
+ var AccessPointLimitExceeded = [
949
+ -3,
950
+ n0,
951
+ _APLE,
952
+ {
953
+ [_e]: _c,
954
+ [_hE]: 403,
955
+ },
956
+ [_EC, _M],
957
+ [0, 0],
958
+ ];
959
+ schema.TypeRegistry.for(n0).registerError(AccessPointLimitExceeded, AccessPointLimitExceeded$1);
960
+ var AccessPointNotFound = [
961
+ -3,
962
+ n0,
963
+ _APNF,
964
+ {
965
+ [_e]: _c,
966
+ [_hE]: 404,
967
+ },
968
+ [_EC, _M],
969
+ [0, 0],
970
+ ];
971
+ schema.TypeRegistry.for(n0).registerError(AccessPointNotFound, AccessPointNotFound$1);
972
+ var AvailabilityZonesMismatch = [
973
+ -3,
974
+ n0,
975
+ _AZM,
976
+ {
977
+ [_e]: _c,
978
+ [_hE]: 400,
979
+ },
980
+ [_EC, _M],
981
+ [0, 0],
982
+ ];
983
+ schema.TypeRegistry.for(n0).registerError(AvailabilityZonesMismatch, AvailabilityZonesMismatch$1);
984
+ var BackupPolicy = [3, n0, _BP, 0, [_S], [0]];
985
+ var BackupPolicyDescription = [3, n0, _BPD, 0, [_BP], [() => BackupPolicy]];
986
+ var BadRequest = [
987
+ -3,
988
+ n0,
989
+ _BR,
990
+ {
991
+ [_e]: _c,
992
+ [_hE]: 400,
993
+ },
994
+ [_EC, _M],
995
+ [0, 0],
996
+ ];
997
+ schema.TypeRegistry.for(n0).registerError(BadRequest, BadRequest$1);
998
+ var ConflictException = [
999
+ -3,
1000
+ n0,
1001
+ _CE,
1002
+ {
1003
+ [_e]: _c,
1004
+ [_hE]: 409,
1005
+ },
1006
+ [_EC, _M],
1007
+ [0, 0],
1008
+ ];
1009
+ schema.TypeRegistry.for(n0).registerError(ConflictException, ConflictException$1);
1010
+ var CreateAccessPointRequest = [
1011
+ 3,
1012
+ n0,
1013
+ _CAPR,
1014
+ 0,
1015
+ [_CT, _T, _FSI, _PU, _RD],
1016
+ [[0, 4], () => Tags, 0, () => PosixUser, () => RootDirectory],
1017
+ ];
1018
+ var CreateFileSystemRequest = [
1019
+ 3,
1020
+ n0,
1021
+ _CFSR,
1022
+ 0,
1023
+ [_CTr, _PM, _E, _KKI, _TM, _PTIM, _AZN, _B, _T],
1024
+ [[0, 4], 0, 2, 0, 0, 1, 0, 2, () => Tags],
1025
+ ];
1026
+ var CreateMountTargetRequest = [
1027
+ 3,
1028
+ n0,
1029
+ _CMTR,
1030
+ 0,
1031
+ [_FSI, _SI, _IA, _IAp, _IAT, _SG],
1032
+ [0, 0, 0, 0, 0, 64 | 0],
1033
+ ];
1034
+ var CreateReplicationConfigurationRequest = [
1035
+ 3,
1036
+ n0,
1037
+ _CRCR,
1038
+ 0,
1039
+ [_SFSI, _D],
1040
+ [[0, 1], () => DestinationsToCreate],
1041
+ ];
1042
+ var CreateTagsRequest = [3, n0, _CTR, 0, [_FSI, _T], [[0, 1], () => Tags]];
1043
+ var CreationInfo = [3, n0, _CI, 0, [_OU, _OG, _P], [1, 1, 0]];
1044
+ var DeleteAccessPointRequest = [3, n0, _DAPR, 0, [_API], [[0, 1]]];
1045
+ var DeleteFileSystemPolicyRequest = [3, n0, _DFSPR, 0, [_FSI], [[0, 1]]];
1046
+ var DeleteFileSystemRequest = [3, n0, _DFSR, 0, [_FSI], [[0, 1]]];
1047
+ var DeleteMountTargetRequest = [3, n0, _DMTR, 0, [_MTI], [[0, 1]]];
1048
+ var DeleteReplicationConfigurationRequest = [
1049
+ 3,
1050
+ n0,
1051
+ _DRCR,
1052
+ 0,
1053
+ [_SFSI, _DM],
1054
+ [
1055
+ [0, 1],
1056
+ [
1057
+ 0,
1058
+ {
1059
+ [_hQ]: _dM,
1060
+ },
1061
+ ],
1062
+ ],
1063
+ ];
1064
+ var DeleteTagsRequest = [3, n0, _DTR, 0, [_FSI, _TK], [[0, 1], 64 | 0]];
1065
+ var DependencyTimeout = [
1066
+ -3,
1067
+ n0,
1068
+ _DT,
1069
+ {
1070
+ [_e]: _s,
1071
+ [_hE]: 504,
1072
+ },
1073
+ [_EC, _M],
1074
+ [0, 0],
1075
+ ];
1076
+ schema.TypeRegistry.for(n0).registerError(DependencyTimeout, DependencyTimeout$1);
1077
+ var DescribeAccessPointsRequest = [
1078
+ 3,
1079
+ n0,
1080
+ _DAPRe,
1081
+ 0,
1082
+ [_MR, _NT, _API, _FSI],
1083
+ [
1084
+ [
1085
+ 1,
1086
+ {
1087
+ [_hQ]: _MR,
1088
+ },
1089
+ ],
1090
+ [
1091
+ 0,
1092
+ {
1093
+ [_hQ]: _NT,
1094
+ },
1095
+ ],
1096
+ [
1097
+ 0,
1098
+ {
1099
+ [_hQ]: _API,
1100
+ },
1101
+ ],
1102
+ [
1103
+ 0,
1104
+ {
1105
+ [_hQ]: _FSI,
1106
+ },
1107
+ ],
1108
+ ],
1109
+ ];
1110
+ var DescribeAccessPointsResponse = [
1111
+ 3,
1112
+ n0,
1113
+ _DAPRes,
1114
+ 0,
1115
+ [_AP, _NT],
1116
+ [() => AccessPointDescriptions, 0],
1117
+ ];
1118
+ var DescribeAccountPreferencesRequest = [3, n0, _DAPResc, 0, [_NT, _MR], [0, 1]];
1119
+ var DescribeAccountPreferencesResponse = [
1120
+ 3,
1121
+ n0,
1122
+ _DAPRescr,
1123
+ 0,
1124
+ [_RIP, _NT],
1125
+ [() => ResourceIdPreference, 0],
1126
+ ];
1127
+ var DescribeBackupPolicyRequest = [3, n0, _DBPR, 0, [_FSI], [[0, 1]]];
1128
+ var DescribeFileSystemPolicyRequest = [3, n0, _DFSPRe, 0, [_FSI], [[0, 1]]];
1129
+ var DescribeFileSystemsRequest = [
1130
+ 3,
1131
+ n0,
1132
+ _DFSRe,
1133
+ 0,
1134
+ [_MI, _Ma, _CTr, _FSI],
1135
+ [
1136
+ [
1137
+ 1,
1138
+ {
1139
+ [_hQ]: _MI,
1140
+ },
1141
+ ],
1142
+ [
1143
+ 0,
1144
+ {
1145
+ [_hQ]: _Ma,
1146
+ },
1147
+ ],
1148
+ [
1149
+ 0,
1150
+ {
1151
+ [_hQ]: _CTr,
1152
+ },
1153
+ ],
1154
+ [
1155
+ 0,
1156
+ {
1157
+ [_hQ]: _FSI,
1158
+ },
1159
+ ],
1160
+ ],
1161
+ ];
1162
+ var DescribeFileSystemsResponse = [
1163
+ 3,
1164
+ n0,
1165
+ _DFSRes,
1166
+ 0,
1167
+ [_Ma, _FS, _NM],
1168
+ [0, () => FileSystemDescriptions, 0],
1169
+ ];
1170
+ var DescribeLifecycleConfigurationRequest = [3, n0, _DLCR, 0, [_FSI], [[0, 1]]];
1171
+ var DescribeMountTargetSecurityGroupsRequest = [3, n0, _DMTSGR, 0, [_MTI], [[0, 1]]];
1172
+ var DescribeMountTargetSecurityGroupsResponse = [3, n0, _DMTSGRe, 0, [_SG], [64 | 0]];
1173
+ var DescribeMountTargetsRequest = [
1174
+ 3,
1175
+ n0,
1176
+ _DMTRe,
1177
+ 0,
1178
+ [_MI, _Ma, _FSI, _MTI, _API],
1179
+ [
1180
+ [
1181
+ 1,
1182
+ {
1183
+ [_hQ]: _MI,
1184
+ },
1185
+ ],
1186
+ [
1187
+ 0,
1188
+ {
1189
+ [_hQ]: _Ma,
1190
+ },
1191
+ ],
1192
+ [
1193
+ 0,
1194
+ {
1195
+ [_hQ]: _FSI,
1196
+ },
1197
+ ],
1198
+ [
1199
+ 0,
1200
+ {
1201
+ [_hQ]: _MTI,
1202
+ },
1203
+ ],
1204
+ [
1205
+ 0,
1206
+ {
1207
+ [_hQ]: _API,
1208
+ },
1209
+ ],
1210
+ ],
1211
+ ];
1212
+ var DescribeMountTargetsResponse = [
1213
+ 3,
1214
+ n0,
1215
+ _DMTRes,
1216
+ 0,
1217
+ [_Ma, _MT, _NM],
1218
+ [0, () => MountTargetDescriptions, 0],
1219
+ ];
1220
+ var DescribeReplicationConfigurationsRequest = [
1221
+ 3,
1222
+ n0,
1223
+ _DRCRe,
1224
+ 0,
1225
+ [_FSI, _NT, _MR],
1226
+ [
1227
+ [
1228
+ 0,
1229
+ {
1230
+ [_hQ]: _FSI,
1231
+ },
1232
+ ],
1233
+ [
1234
+ 0,
1235
+ {
1236
+ [_hQ]: _NT,
1237
+ },
1238
+ ],
1239
+ [
1240
+ 1,
1241
+ {
1242
+ [_hQ]: _MR,
1243
+ },
1244
+ ],
1245
+ ],
1246
+ ];
1247
+ var DescribeReplicationConfigurationsResponse = [
1248
+ 3,
1249
+ n0,
1250
+ _DRCRes,
1251
+ 0,
1252
+ [_R, _NT],
1253
+ [() => ReplicationConfigurationDescriptions, 0],
1254
+ ];
1255
+ var DescribeTagsRequest = [
1256
+ 3,
1257
+ n0,
1258
+ _DTRe,
1259
+ 0,
1260
+ [_MI, _Ma, _FSI],
1261
+ [
1262
+ [
1263
+ 1,
1264
+ {
1265
+ [_hQ]: _MI,
1266
+ },
1267
+ ],
1268
+ [
1269
+ 0,
1270
+ {
1271
+ [_hQ]: _Ma,
1272
+ },
1273
+ ],
1274
+ [0, 1],
1275
+ ],
1276
+ ];
1277
+ var DescribeTagsResponse = [3, n0, _DTRes, 0, [_Ma, _T, _NM], [0, () => Tags, 0]];
1278
+ var Destination = [
1279
+ 3,
1280
+ n0,
1281
+ _De,
1282
+ 0,
1283
+ [_S, _FSI, _Re, _LRT, _OI, _SM, _RA],
1284
+ [0, 0, 0, 4, 0, 0, 0],
1285
+ ];
1286
+ var DestinationToCreate = [3, n0, _DTC, 0, [_Re, _AZN, _KKI, _FSI, _RA], [0, 0, 0, 0, 0]];
1287
+ var FileSystemAlreadyExists = [
1288
+ -3,
1289
+ n0,
1290
+ _FSAE,
1291
+ {
1292
+ [_e]: _c,
1293
+ [_hE]: 409,
1294
+ },
1295
+ [_EC, _M, _FSI],
1296
+ [0, 0, 0],
1297
+ ];
1298
+ schema.TypeRegistry.for(n0).registerError(FileSystemAlreadyExists, FileSystemAlreadyExists$1);
1299
+ var FileSystemDescription = [
1300
+ 3,
1301
+ n0,
1302
+ _FSD,
1303
+ 0,
1304
+ [_OI, _CTr, _FSI, _FSA, _CTre, _LCS, _N, _NOMT, _SIB, _PM, _E, _KKI, _TM, _PTIM, _AZN, _AZI, _T, _FSP],
1305
+ [
1306
+ 0,
1307
+ 0,
1308
+ 0,
1309
+ 0,
1310
+ 4,
1311
+ 0,
1312
+ 0,
1313
+ 1,
1314
+ () => FileSystemSize,
1315
+ 0,
1316
+ 2,
1317
+ 0,
1318
+ 0,
1319
+ 1,
1320
+ 0,
1321
+ 0,
1322
+ () => Tags,
1323
+ () => FileSystemProtectionDescription,
1324
+ ],
1325
+ ];
1326
+ var FileSystemInUse = [
1327
+ -3,
1328
+ n0,
1329
+ _FSIU,
1330
+ {
1331
+ [_e]: _c,
1332
+ [_hE]: 409,
1333
+ },
1334
+ [_EC, _M],
1335
+ [0, 0],
1336
+ ];
1337
+ schema.TypeRegistry.for(n0).registerError(FileSystemInUse, FileSystemInUse$1);
1338
+ var FileSystemLimitExceeded = [
1339
+ -3,
1340
+ n0,
1341
+ _FSLE,
1342
+ {
1343
+ [_e]: _c,
1344
+ [_hE]: 403,
1345
+ },
1346
+ [_EC, _M],
1347
+ [0, 0],
1348
+ ];
1349
+ schema.TypeRegistry.for(n0).registerError(FileSystemLimitExceeded, FileSystemLimitExceeded$1);
1350
+ var FileSystemNotFound = [
1351
+ -3,
1352
+ n0,
1353
+ _FSNF,
1354
+ {
1355
+ [_e]: _c,
1356
+ [_hE]: 404,
1357
+ },
1358
+ [_EC, _M],
1359
+ [0, 0],
1360
+ ];
1361
+ schema.TypeRegistry.for(n0).registerError(FileSystemNotFound, FileSystemNotFound$1);
1362
+ var FileSystemPolicyDescription = [3, n0, _FSPD, 0, [_FSI, _Po], [0, 0]];
1363
+ var FileSystemProtectionDescription = [3, n0, _FSPDi, 0, [_ROP], [0]];
1364
+ var FileSystemSize = [3, n0, _FSS, 0, [_V, _Ti, _VIIA, _VIS, _VIA], [1, 4, 1, 1, 1]];
1365
+ var IncorrectFileSystemLifeCycleState = [
1366
+ -3,
1367
+ n0,
1368
+ _IFSLCS,
1369
+ {
1370
+ [_e]: _c,
1371
+ [_hE]: 409,
1372
+ },
1373
+ [_EC, _M],
1374
+ [0, 0],
1375
+ ];
1376
+ schema.TypeRegistry.for(n0).registerError(IncorrectFileSystemLifeCycleState, IncorrectFileSystemLifeCycleState$1);
1377
+ var IncorrectMountTargetState = [
1378
+ -3,
1379
+ n0,
1380
+ _IMTS,
1381
+ {
1382
+ [_e]: _c,
1383
+ [_hE]: 409,
1384
+ },
1385
+ [_EC, _M],
1386
+ [0, 0],
1387
+ ];
1388
+ schema.TypeRegistry.for(n0).registerError(IncorrectMountTargetState, IncorrectMountTargetState$1);
1389
+ var InsufficientThroughputCapacity = [
1390
+ -3,
1391
+ n0,
1392
+ _ITC,
1393
+ {
1394
+ [_e]: _s,
1395
+ [_hE]: 503,
1396
+ },
1397
+ [_EC, _M],
1398
+ [0, 0],
1399
+ ];
1400
+ schema.TypeRegistry.for(n0).registerError(InsufficientThroughputCapacity, InsufficientThroughputCapacity$1);
1401
+ var InternalServerError = [
1402
+ -3,
1403
+ n0,
1404
+ _ISE,
1405
+ {
1406
+ [_e]: _s,
1407
+ [_hE]: 500,
1408
+ },
1409
+ [_EC, _M],
1410
+ [0, 0],
1411
+ ];
1412
+ schema.TypeRegistry.for(n0).registerError(InternalServerError, InternalServerError$1);
1413
+ var InvalidPolicyException = [
1414
+ -3,
1415
+ n0,
1416
+ _IPE,
1417
+ {
1418
+ [_e]: _c,
1419
+ [_hE]: 400,
1420
+ },
1421
+ [_EC, _M],
1422
+ [0, 0],
1423
+ ];
1424
+ schema.TypeRegistry.for(n0).registerError(InvalidPolicyException, InvalidPolicyException$1);
1425
+ var IpAddressInUse = [
1426
+ -3,
1427
+ n0,
1428
+ _IAIU,
1429
+ {
1430
+ [_e]: _c,
1431
+ [_hE]: 409,
1432
+ },
1433
+ [_EC, _M],
1434
+ [0, 0],
1435
+ ];
1436
+ schema.TypeRegistry.for(n0).registerError(IpAddressInUse, IpAddressInUse$1);
1437
+ var LifecycleConfigurationDescription = [
1438
+ 3,
1439
+ n0,
1440
+ _LCD,
1441
+ 0,
1442
+ [_LP],
1443
+ [() => LifecyclePolicies],
1444
+ ];
1445
+ var LifecyclePolicy = [3, n0, _LPi, 0, [_TTIA, _TTPSC, _TTA], [0, 0, 0]];
1446
+ var ListTagsForResourceRequest = [
1447
+ 3,
1448
+ n0,
1449
+ _LTFRR,
1450
+ 0,
1451
+ [_RI, _MR, _NT],
1452
+ [
1453
+ [0, 1],
1454
+ [
1455
+ 1,
1456
+ {
1457
+ [_hQ]: _MR,
1458
+ },
1459
+ ],
1460
+ [
1461
+ 0,
1462
+ {
1463
+ [_hQ]: _NT,
1464
+ },
1465
+ ],
1466
+ ],
1467
+ ];
1468
+ var ListTagsForResourceResponse = [3, n0, _LTFRRi, 0, [_T, _NT], [() => Tags, 0]];
1469
+ var ModifyMountTargetSecurityGroupsRequest = [
1470
+ 3,
1471
+ n0,
1472
+ _MMTSGR,
1473
+ 0,
1474
+ [_MTI, _SG],
1475
+ [[0, 1], 64 | 0],
1476
+ ];
1477
+ var MountTargetConflict = [
1478
+ -3,
1479
+ n0,
1480
+ _MTC,
1481
+ {
1482
+ [_e]: _c,
1483
+ [_hE]: 409,
1484
+ },
1485
+ [_EC, _M],
1486
+ [0, 0],
1487
+ ];
1488
+ schema.TypeRegistry.for(n0).registerError(MountTargetConflict, MountTargetConflict$1);
1489
+ var MountTargetDescription = [
1490
+ 3,
1491
+ n0,
1492
+ _MTD,
1493
+ 0,
1494
+ [_OI, _MTI, _FSI, _SI, _LCS, _IA, _IAp, _NII, _AZI, _AZN, _VI],
1495
+ [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
1496
+ ];
1497
+ var MountTargetNotFound = [
1498
+ -3,
1499
+ n0,
1500
+ _MTNF,
1501
+ {
1502
+ [_e]: _c,
1503
+ [_hE]: 404,
1504
+ },
1505
+ [_EC, _M],
1506
+ [0, 0],
1507
+ ];
1508
+ schema.TypeRegistry.for(n0).registerError(MountTargetNotFound, MountTargetNotFound$1);
1509
+ var NetworkInterfaceLimitExceeded = [
1510
+ -3,
1511
+ n0,
1512
+ _NILE,
1513
+ {
1514
+ [_e]: _c,
1515
+ [_hE]: 409,
1516
+ },
1517
+ [_EC, _M],
1518
+ [0, 0],
1519
+ ];
1520
+ schema.TypeRegistry.for(n0).registerError(NetworkInterfaceLimitExceeded, NetworkInterfaceLimitExceeded$1);
1521
+ var NoFreeAddressesInSubnet = [
1522
+ -3,
1523
+ n0,
1524
+ _NFAIS,
1525
+ {
1526
+ [_e]: _c,
1527
+ [_hE]: 409,
1528
+ },
1529
+ [_EC, _M],
1530
+ [0, 0],
1531
+ ];
1532
+ schema.TypeRegistry.for(n0).registerError(NoFreeAddressesInSubnet, NoFreeAddressesInSubnet$1);
1533
+ var PolicyNotFound = [
1534
+ -3,
1535
+ n0,
1536
+ _PNF,
1537
+ {
1538
+ [_e]: _c,
1539
+ [_hE]: 404,
1540
+ },
1541
+ [_EC, _M],
1542
+ [0, 0],
1543
+ ];
1544
+ schema.TypeRegistry.for(n0).registerError(PolicyNotFound, PolicyNotFound$1);
1545
+ var PosixUser = [3, n0, _PU, 0, [_U, _G, _SGe], [1, 1, 64 | 1]];
1546
+ var PutAccountPreferencesRequest = [3, n0, _PAPR, 0, [_RIT], [0]];
1547
+ var PutAccountPreferencesResponse = [
1548
+ 3,
1549
+ n0,
1550
+ _PAPRu,
1551
+ 0,
1552
+ [_RIP],
1553
+ [() => ResourceIdPreference],
1554
+ ];
1555
+ var PutBackupPolicyRequest = [3, n0, _PBPR, 0, [_FSI, _BP], [[0, 1], () => BackupPolicy]];
1556
+ var PutFileSystemPolicyRequest = [3, n0, _PFSPR, 0, [_FSI, _Po, _BPLSC], [[0, 1], 0, 2]];
1557
+ var PutLifecycleConfigurationRequest = [
1558
+ 3,
1559
+ n0,
1560
+ _PLCR,
1561
+ 0,
1562
+ [_FSI, _LP],
1563
+ [[0, 1], () => LifecyclePolicies],
1564
+ ];
1565
+ var ReplicationAlreadyExists = [
1566
+ -3,
1567
+ n0,
1568
+ _RAE,
1569
+ {
1570
+ [_e]: _c,
1571
+ [_hE]: 409,
1572
+ },
1573
+ [_EC, _M],
1574
+ [0, 0],
1575
+ ];
1576
+ schema.TypeRegistry.for(n0).registerError(ReplicationAlreadyExists, ReplicationAlreadyExists$1);
1577
+ var ReplicationConfigurationDescription = [
1578
+ 3,
1579
+ n0,
1580
+ _RCD,
1581
+ 0,
1582
+ [_SFSI, _SFSR, _SFSA, _OSFSA, _CTre, _D, _SFSOI],
1583
+ [0, 0, 0, 0, 4, () => Destinations, 0],
1584
+ ];
1585
+ var ReplicationNotFound = [
1586
+ -3,
1587
+ n0,
1588
+ _RNF,
1589
+ {
1590
+ [_e]: _c,
1591
+ [_hE]: 404,
1592
+ },
1593
+ [_EC, _M],
1594
+ [0, 0],
1595
+ ];
1596
+ schema.TypeRegistry.for(n0).registerError(ReplicationNotFound, ReplicationNotFound$1);
1597
+ var ResourceIdPreference = [3, n0, _RIP, 0, [_RIT, _Res], [0, 64 | 0]];
1598
+ var RootDirectory = [3, n0, _RD, 0, [_Pa, _CI], [0, () => CreationInfo]];
1599
+ var SecurityGroupLimitExceeded = [
1600
+ -3,
1601
+ n0,
1602
+ _SGLE,
1603
+ {
1604
+ [_e]: _c,
1605
+ [_hE]: 400,
1606
+ },
1607
+ [_EC, _M],
1608
+ [0, 0],
1609
+ ];
1610
+ schema.TypeRegistry.for(n0).registerError(SecurityGroupLimitExceeded, SecurityGroupLimitExceeded$1);
1611
+ var SecurityGroupNotFound = [
1612
+ -3,
1613
+ n0,
1614
+ _SGNF,
1615
+ {
1616
+ [_e]: _c,
1617
+ [_hE]: 400,
1618
+ },
1619
+ [_EC, _M],
1620
+ [0, 0],
1621
+ ];
1622
+ schema.TypeRegistry.for(n0).registerError(SecurityGroupNotFound, SecurityGroupNotFound$1);
1623
+ var SubnetNotFound = [
1624
+ -3,
1625
+ n0,
1626
+ _SNF,
1627
+ {
1628
+ [_e]: _c,
1629
+ [_hE]: 400,
1630
+ },
1631
+ [_EC, _M],
1632
+ [0, 0],
1633
+ ];
1634
+ schema.TypeRegistry.for(n0).registerError(SubnetNotFound, SubnetNotFound$1);
1635
+ var Tag = [3, n0, _Ta, 0, [_K, _V], [0, 0]];
1636
+ var TagResourceRequest = [3, n0, _TRR, 0, [_RI, _T], [[0, 1], () => Tags]];
1637
+ var ThrottlingException = [
1638
+ -3,
1639
+ n0,
1640
+ _TE,
1641
+ {
1642
+ [_e]: _c,
1643
+ [_hE]: 429,
1644
+ },
1645
+ [_EC, _M],
1646
+ [0, 0],
1647
+ ];
1648
+ schema.TypeRegistry.for(n0).registerError(ThrottlingException, ThrottlingException$1);
1649
+ var ThroughputLimitExceeded = [
1650
+ -3,
1651
+ n0,
1652
+ _TLE,
1653
+ {
1654
+ [_e]: _c,
1655
+ [_hE]: 400,
1656
+ },
1657
+ [_EC, _M],
1658
+ [0, 0],
1659
+ ];
1660
+ schema.TypeRegistry.for(n0).registerError(ThroughputLimitExceeded, ThroughputLimitExceeded$1);
1661
+ var TooManyRequests = [
1662
+ -3,
1663
+ n0,
1664
+ _TMR,
1665
+ {
1666
+ [_e]: _c,
1667
+ [_hE]: 429,
1668
+ },
1669
+ [_EC, _M],
1670
+ [0, 0],
1671
+ ];
1672
+ schema.TypeRegistry.for(n0).registerError(TooManyRequests, TooManyRequests$1);
1673
+ var UnsupportedAvailabilityZone = [
1674
+ -3,
1675
+ n0,
1676
+ _UAZ,
1677
+ {
1678
+ [_e]: _c,
1679
+ [_hE]: 400,
1680
+ },
1681
+ [_EC, _M],
1682
+ [0, 0],
1683
+ ];
1684
+ schema.TypeRegistry.for(n0).registerError(UnsupportedAvailabilityZone, UnsupportedAvailabilityZone$1);
1685
+ var UntagResourceRequest = [
1686
+ 3,
1687
+ n0,
1688
+ _URR,
1689
+ 0,
1690
+ [_RI, _TK],
1691
+ [
1692
+ [0, 1],
1693
+ [
1694
+ 64 | 0,
1695
+ {
1696
+ [_hQ]: _tK,
1697
+ },
1698
+ ],
1699
+ ],
1700
+ ];
1701
+ var UpdateFileSystemProtectionRequest = [3, n0, _UFSPR, 0, [_FSI, _ROP], [[0, 1], 0]];
1702
+ var UpdateFileSystemRequest = [3, n0, _UFSR, 0, [_FSI, _TM, _PTIM], [[0, 1], 0, 1]];
1703
+ var ValidationException = [
1704
+ -3,
1705
+ n0,
1706
+ _VE,
1707
+ {
1708
+ [_e]: _c,
1709
+ [_hE]: 400,
1710
+ },
1711
+ [_EC, _M],
1712
+ [0, 0],
1713
+ ];
1714
+ schema.TypeRegistry.for(n0).registerError(ValidationException, ValidationException$1);
1715
+ var __Unit = "unit";
1716
+ var EFSServiceException = [-3, _sm, "EFSServiceException", 0, [], []];
1717
+ schema.TypeRegistry.for(_sm).registerError(EFSServiceException, EFSServiceException$1);
1718
+ var AccessPointDescriptions = [1, n0, _APDc, 0, () => AccessPointDescription];
1719
+ var Destinations = [1, n0, _D, 0, () => Destination];
1720
+ var DestinationsToCreate = [1, n0, _DTCe, 0, () => DestinationToCreate];
1721
+ var FileSystemDescriptions = [1, n0, _FSDi, 0, () => FileSystemDescription];
1722
+ var LifecyclePolicies = [1, n0, _LP, 0, () => LifecyclePolicy];
1723
+ var MountTargetDescriptions = [1, n0, _MTDo, 0, () => MountTargetDescription];
1724
+ var ReplicationConfigurationDescriptions = [
1725
+ 1,
1726
+ n0,
1727
+ _RCDe,
1728
+ 0,
1729
+ () => ReplicationConfigurationDescription,
1730
+ ];
1731
+ var Tags = [1, n0, _T, 0, () => Tag];
1732
+ var CreateAccessPoint = [
1733
+ 9,
1734
+ n0,
1735
+ _CAP,
1736
+ {
1737
+ [_h]: ["POST", "/2015-02-01/access-points", 200],
1738
+ },
1739
+ () => CreateAccessPointRequest,
1740
+ () => AccessPointDescription,
1741
+ ];
1742
+ var CreateFileSystem = [
1743
+ 9,
1744
+ n0,
1745
+ _CFS,
1746
+ {
1747
+ [_h]: ["POST", "/2015-02-01/file-systems", 201],
1748
+ },
1749
+ () => CreateFileSystemRequest,
1750
+ () => FileSystemDescription,
1751
+ ];
1752
+ var CreateMountTarget = [
1753
+ 9,
1754
+ n0,
1755
+ _CMT,
1756
+ {
1757
+ [_h]: ["POST", "/2015-02-01/mount-targets", 200],
1758
+ },
1759
+ () => CreateMountTargetRequest,
1760
+ () => MountTargetDescription,
1761
+ ];
1762
+ var CreateReplicationConfiguration = [
1763
+ 9,
1764
+ n0,
1765
+ _CRC,
1766
+ {
1767
+ [_h]: ["POST", "/2015-02-01/file-systems/{SourceFileSystemId}/replication-configuration", 200],
1768
+ },
1769
+ () => CreateReplicationConfigurationRequest,
1770
+ () => ReplicationConfigurationDescription,
1771
+ ];
1772
+ var CreateTags = [
1773
+ 9,
1774
+ n0,
1775
+ _CTrea,
1776
+ {
1777
+ [_h]: ["POST", "/2015-02-01/create-tags/{FileSystemId}", 204],
1778
+ },
1779
+ () => CreateTagsRequest,
1780
+ () => __Unit,
1781
+ ];
1782
+ var DeleteAccessPoint = [
1783
+ 9,
1784
+ n0,
1785
+ _DAP,
1786
+ {
1787
+ [_h]: ["DELETE", "/2015-02-01/access-points/{AccessPointId}", 204],
1788
+ },
1789
+ () => DeleteAccessPointRequest,
1790
+ () => __Unit,
1791
+ ];
1792
+ var DeleteFileSystem = [
1793
+ 9,
1794
+ n0,
1795
+ _DFS,
1796
+ {
1797
+ [_h]: ["DELETE", "/2015-02-01/file-systems/{FileSystemId}", 204],
1798
+ },
1799
+ () => DeleteFileSystemRequest,
1800
+ () => __Unit,
1801
+ ];
1802
+ var DeleteFileSystemPolicy = [
1803
+ 9,
1804
+ n0,
1805
+ _DFSP,
1806
+ {
1807
+ [_h]: ["DELETE", "/2015-02-01/file-systems/{FileSystemId}/policy", 200],
1808
+ },
1809
+ () => DeleteFileSystemPolicyRequest,
1810
+ () => __Unit,
1811
+ ];
1812
+ var DeleteMountTarget = [
1813
+ 9,
1814
+ n0,
1815
+ _DMT,
1816
+ {
1817
+ [_h]: ["DELETE", "/2015-02-01/mount-targets/{MountTargetId}", 204],
1818
+ },
1819
+ () => DeleteMountTargetRequest,
1820
+ () => __Unit,
1821
+ ];
1822
+ var DeleteReplicationConfiguration = [
1823
+ 9,
1824
+ n0,
1825
+ _DRC,
1826
+ {
1827
+ [_h]: ["DELETE", "/2015-02-01/file-systems/{SourceFileSystemId}/replication-configuration", 204],
1828
+ },
1829
+ () => DeleteReplicationConfigurationRequest,
1830
+ () => __Unit,
1831
+ ];
1832
+ var DeleteTags = [
1833
+ 9,
1834
+ n0,
1835
+ _DTe,
1836
+ {
1837
+ [_h]: ["POST", "/2015-02-01/delete-tags/{FileSystemId}", 204],
1838
+ },
1839
+ () => DeleteTagsRequest,
1840
+ () => __Unit,
1841
+ ];
1842
+ var DescribeAccessPoints = [
1843
+ 9,
1844
+ n0,
1845
+ _DAPe,
1846
+ {
1847
+ [_h]: ["GET", "/2015-02-01/access-points", 200],
1848
+ },
1849
+ () => DescribeAccessPointsRequest,
1850
+ () => DescribeAccessPointsResponse,
1851
+ ];
1852
+ var DescribeAccountPreferences = [
1853
+ 9,
1854
+ n0,
1855
+ _DAPes,
1856
+ {
1857
+ [_h]: ["GET", "/2015-02-01/account-preferences", 200],
1858
+ },
1859
+ () => DescribeAccountPreferencesRequest,
1860
+ () => DescribeAccountPreferencesResponse,
1861
+ ];
1862
+ var DescribeBackupPolicy = [
1863
+ 9,
1864
+ n0,
1865
+ _DBP,
1866
+ {
1867
+ [_h]: ["GET", "/2015-02-01/file-systems/{FileSystemId}/backup-policy", 200],
1868
+ },
1869
+ () => DescribeBackupPolicyRequest,
1870
+ () => BackupPolicyDescription,
1871
+ ];
1872
+ var DescribeFileSystemPolicy = [
1873
+ 9,
1874
+ n0,
1875
+ _DFSPe,
1876
+ {
1877
+ [_h]: ["GET", "/2015-02-01/file-systems/{FileSystemId}/policy", 200],
1878
+ },
1879
+ () => DescribeFileSystemPolicyRequest,
1880
+ () => FileSystemPolicyDescription,
1881
+ ];
1882
+ var DescribeFileSystems = [
1883
+ 9,
1884
+ n0,
1885
+ _DFSe,
1886
+ {
1887
+ [_h]: ["GET", "/2015-02-01/file-systems", 200],
1888
+ },
1889
+ () => DescribeFileSystemsRequest,
1890
+ () => DescribeFileSystemsResponse,
1891
+ ];
1892
+ var DescribeLifecycleConfiguration = [
1893
+ 9,
1894
+ n0,
1895
+ _DLC,
1896
+ {
1897
+ [_h]: ["GET", "/2015-02-01/file-systems/{FileSystemId}/lifecycle-configuration", 200],
1898
+ },
1899
+ () => DescribeLifecycleConfigurationRequest,
1900
+ () => LifecycleConfigurationDescription,
1901
+ ];
1902
+ var DescribeMountTargets = [
1903
+ 9,
1904
+ n0,
1905
+ _DMTe,
1906
+ {
1907
+ [_h]: ["GET", "/2015-02-01/mount-targets", 200],
1908
+ },
1909
+ () => DescribeMountTargetsRequest,
1910
+ () => DescribeMountTargetsResponse,
1911
+ ];
1912
+ var DescribeMountTargetSecurityGroups = [
1913
+ 9,
1914
+ n0,
1915
+ _DMTSG,
1916
+ {
1917
+ [_h]: ["GET", "/2015-02-01/mount-targets/{MountTargetId}/security-groups", 200],
1918
+ },
1919
+ () => DescribeMountTargetSecurityGroupsRequest,
1920
+ () => DescribeMountTargetSecurityGroupsResponse,
1921
+ ];
1922
+ var DescribeReplicationConfigurations = [
1923
+ 9,
1924
+ n0,
1925
+ _DRCe,
1926
+ {
1927
+ [_h]: ["GET", "/2015-02-01/file-systems/replication-configurations", 200],
1928
+ },
1929
+ () => DescribeReplicationConfigurationsRequest,
1930
+ () => DescribeReplicationConfigurationsResponse,
1931
+ ];
1932
+ var DescribeTags = [
1933
+ 9,
1934
+ n0,
1935
+ _DTes,
1936
+ {
1937
+ [_h]: ["GET", "/2015-02-01/tags/{FileSystemId}", 200],
1938
+ },
1939
+ () => DescribeTagsRequest,
1940
+ () => DescribeTagsResponse,
1941
+ ];
1942
+ var ListTagsForResource = [
1943
+ 9,
1944
+ n0,
1945
+ _LTFR,
1946
+ {
1947
+ [_h]: ["GET", "/2015-02-01/resource-tags/{ResourceId}", 200],
1948
+ },
1949
+ () => ListTagsForResourceRequest,
1950
+ () => ListTagsForResourceResponse,
1951
+ ];
1952
+ var ModifyMountTargetSecurityGroups = [
1953
+ 9,
1954
+ n0,
1955
+ _MMTSG,
1956
+ {
1957
+ [_h]: ["PUT", "/2015-02-01/mount-targets/{MountTargetId}/security-groups", 204],
1958
+ },
1959
+ () => ModifyMountTargetSecurityGroupsRequest,
1960
+ () => __Unit,
1961
+ ];
1962
+ var PutAccountPreferences = [
1963
+ 9,
1964
+ n0,
1965
+ _PAP,
1966
+ {
1967
+ [_h]: ["PUT", "/2015-02-01/account-preferences", 200],
1968
+ },
1969
+ () => PutAccountPreferencesRequest,
1970
+ () => PutAccountPreferencesResponse,
1971
+ ];
1972
+ var PutBackupPolicy = [
1973
+ 9,
1974
+ n0,
1975
+ _PBP,
1976
+ {
1977
+ [_h]: ["PUT", "/2015-02-01/file-systems/{FileSystemId}/backup-policy", 200],
1978
+ },
1979
+ () => PutBackupPolicyRequest,
1980
+ () => BackupPolicyDescription,
1981
+ ];
1982
+ var PutFileSystemPolicy = [
1983
+ 9,
1984
+ n0,
1985
+ _PFSP,
1986
+ {
1987
+ [_h]: ["PUT", "/2015-02-01/file-systems/{FileSystemId}/policy", 200],
1988
+ },
1989
+ () => PutFileSystemPolicyRequest,
1990
+ () => FileSystemPolicyDescription,
1991
+ ];
1992
+ var PutLifecycleConfiguration = [
1993
+ 9,
1994
+ n0,
1995
+ _PLC,
1996
+ {
1997
+ [_h]: ["PUT", "/2015-02-01/file-systems/{FileSystemId}/lifecycle-configuration", 200],
1998
+ },
1999
+ () => PutLifecycleConfigurationRequest,
2000
+ () => LifecycleConfigurationDescription,
2001
+ ];
2002
+ var TagResource = [
2003
+ 9,
2004
+ n0,
2005
+ _TR,
2006
+ {
2007
+ [_h]: ["POST", "/2015-02-01/resource-tags/{ResourceId}", 200],
2008
+ },
2009
+ () => TagResourceRequest,
2010
+ () => __Unit,
2011
+ ];
2012
+ var UntagResource = [
2013
+ 9,
2014
+ n0,
2015
+ _UR,
2016
+ {
2017
+ [_h]: ["DELETE", "/2015-02-01/resource-tags/{ResourceId}", 200],
2018
+ },
2019
+ () => UntagResourceRequest,
2020
+ () => __Unit,
2021
+ ];
2022
+ var UpdateFileSystem = [
2023
+ 9,
2024
+ n0,
2025
+ _UFS,
2026
+ {
2027
+ [_h]: ["PUT", "/2015-02-01/file-systems/{FileSystemId}", 202],
2028
+ },
2029
+ () => UpdateFileSystemRequest,
2030
+ () => FileSystemDescription,
2031
+ ];
2032
+ var UpdateFileSystemProtection = [
2033
+ 9,
2034
+ n0,
2035
+ _UFSP,
2036
+ {
2037
+ [_h]: ["PUT", "/2015-02-01/file-systems/{FileSystemId}/protection", 200],
2038
+ },
2039
+ () => UpdateFileSystemProtectionRequest,
2040
+ () => FileSystemProtectionDescription,
2041
+ ];
2242
2042
 
2243
2043
  class CreateAccessPointCommand extends smithyClient.Command
2244
2044
  .classBuilder()
2245
2045
  .ep(commonParams)
2246
2046
  .m(function (Command, cs, config, o) {
2247
- return [
2248
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2249
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2250
- ];
2047
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2251
2048
  })
2252
2049
  .s("MagnolioAPIService_v20150201", "CreateAccessPoint", {})
2253
2050
  .n("EFSClient", "CreateAccessPointCommand")
2254
- .f(void 0, void 0)
2255
- .ser(se_CreateAccessPointCommand)
2256
- .de(de_CreateAccessPointCommand)
2051
+ .sc(CreateAccessPoint)
2257
2052
  .build() {
2258
2053
  }
2259
2054
 
@@ -2261,16 +2056,11 @@ class CreateFileSystemCommand extends smithyClient.Command
2261
2056
  .classBuilder()
2262
2057
  .ep(commonParams)
2263
2058
  .m(function (Command, cs, config, o) {
2264
- return [
2265
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2266
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2267
- ];
2059
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2268
2060
  })
2269
2061
  .s("MagnolioAPIService_v20150201", "CreateFileSystem", {})
2270
2062
  .n("EFSClient", "CreateFileSystemCommand")
2271
- .f(void 0, void 0)
2272
- .ser(se_CreateFileSystemCommand)
2273
- .de(de_CreateFileSystemCommand)
2063
+ .sc(CreateFileSystem)
2274
2064
  .build() {
2275
2065
  }
2276
2066
 
@@ -2278,16 +2068,11 @@ class CreateMountTargetCommand extends smithyClient.Command
2278
2068
  .classBuilder()
2279
2069
  .ep(commonParams)
2280
2070
  .m(function (Command, cs, config, o) {
2281
- return [
2282
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2283
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2284
- ];
2071
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2285
2072
  })
2286
2073
  .s("MagnolioAPIService_v20150201", "CreateMountTarget", {})
2287
2074
  .n("EFSClient", "CreateMountTargetCommand")
2288
- .f(void 0, void 0)
2289
- .ser(se_CreateMountTargetCommand)
2290
- .de(de_CreateMountTargetCommand)
2075
+ .sc(CreateMountTarget)
2291
2076
  .build() {
2292
2077
  }
2293
2078
 
@@ -2295,16 +2080,11 @@ class CreateReplicationConfigurationCommand extends smithyClient.Command
2295
2080
  .classBuilder()
2296
2081
  .ep(commonParams)
2297
2082
  .m(function (Command, cs, config, o) {
2298
- return [
2299
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2300
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2301
- ];
2083
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2302
2084
  })
2303
2085
  .s("MagnolioAPIService_v20150201", "CreateReplicationConfiguration", {})
2304
2086
  .n("EFSClient", "CreateReplicationConfigurationCommand")
2305
- .f(void 0, void 0)
2306
- .ser(se_CreateReplicationConfigurationCommand)
2307
- .de(de_CreateReplicationConfigurationCommand)
2087
+ .sc(CreateReplicationConfiguration)
2308
2088
  .build() {
2309
2089
  }
2310
2090
 
@@ -2312,16 +2092,11 @@ class CreateTagsCommand extends smithyClient.Command
2312
2092
  .classBuilder()
2313
2093
  .ep(commonParams)
2314
2094
  .m(function (Command, cs, config, o) {
2315
- return [
2316
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2317
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2318
- ];
2095
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2319
2096
  })
2320
2097
  .s("MagnolioAPIService_v20150201", "CreateTags", {})
2321
2098
  .n("EFSClient", "CreateTagsCommand")
2322
- .f(void 0, void 0)
2323
- .ser(se_CreateTagsCommand)
2324
- .de(de_CreateTagsCommand)
2099
+ .sc(CreateTags)
2325
2100
  .build() {
2326
2101
  }
2327
2102
 
@@ -2329,16 +2104,11 @@ class DeleteAccessPointCommand extends smithyClient.Command
2329
2104
  .classBuilder()
2330
2105
  .ep(commonParams)
2331
2106
  .m(function (Command, cs, config, o) {
2332
- return [
2333
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2334
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2335
- ];
2107
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2336
2108
  })
2337
2109
  .s("MagnolioAPIService_v20150201", "DeleteAccessPoint", {})
2338
2110
  .n("EFSClient", "DeleteAccessPointCommand")
2339
- .f(void 0, void 0)
2340
- .ser(se_DeleteAccessPointCommand)
2341
- .de(de_DeleteAccessPointCommand)
2111
+ .sc(DeleteAccessPoint)
2342
2112
  .build() {
2343
2113
  }
2344
2114
 
@@ -2346,16 +2116,11 @@ class DeleteFileSystemCommand extends smithyClient.Command
2346
2116
  .classBuilder()
2347
2117
  .ep(commonParams)
2348
2118
  .m(function (Command, cs, config, o) {
2349
- return [
2350
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2351
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2352
- ];
2119
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2353
2120
  })
2354
2121
  .s("MagnolioAPIService_v20150201", "DeleteFileSystem", {})
2355
2122
  .n("EFSClient", "DeleteFileSystemCommand")
2356
- .f(void 0, void 0)
2357
- .ser(se_DeleteFileSystemCommand)
2358
- .de(de_DeleteFileSystemCommand)
2123
+ .sc(DeleteFileSystem)
2359
2124
  .build() {
2360
2125
  }
2361
2126
 
@@ -2363,16 +2128,11 @@ class DeleteFileSystemPolicyCommand extends smithyClient.Command
2363
2128
  .classBuilder()
2364
2129
  .ep(commonParams)
2365
2130
  .m(function (Command, cs, config, o) {
2366
- return [
2367
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2368
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2369
- ];
2131
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2370
2132
  })
2371
2133
  .s("MagnolioAPIService_v20150201", "DeleteFileSystemPolicy", {})
2372
2134
  .n("EFSClient", "DeleteFileSystemPolicyCommand")
2373
- .f(void 0, void 0)
2374
- .ser(se_DeleteFileSystemPolicyCommand)
2375
- .de(de_DeleteFileSystemPolicyCommand)
2135
+ .sc(DeleteFileSystemPolicy)
2376
2136
  .build() {
2377
2137
  }
2378
2138
 
@@ -2380,16 +2140,11 @@ class DeleteMountTargetCommand extends smithyClient.Command
2380
2140
  .classBuilder()
2381
2141
  .ep(commonParams)
2382
2142
  .m(function (Command, cs, config, o) {
2383
- return [
2384
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2385
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2386
- ];
2143
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2387
2144
  })
2388
2145
  .s("MagnolioAPIService_v20150201", "DeleteMountTarget", {})
2389
2146
  .n("EFSClient", "DeleteMountTargetCommand")
2390
- .f(void 0, void 0)
2391
- .ser(se_DeleteMountTargetCommand)
2392
- .de(de_DeleteMountTargetCommand)
2147
+ .sc(DeleteMountTarget)
2393
2148
  .build() {
2394
2149
  }
2395
2150
 
@@ -2397,16 +2152,11 @@ class DeleteReplicationConfigurationCommand extends smithyClient.Command
2397
2152
  .classBuilder()
2398
2153
  .ep(commonParams)
2399
2154
  .m(function (Command, cs, config, o) {
2400
- return [
2401
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2402
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2403
- ];
2155
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2404
2156
  })
2405
2157
  .s("MagnolioAPIService_v20150201", "DeleteReplicationConfiguration", {})
2406
2158
  .n("EFSClient", "DeleteReplicationConfigurationCommand")
2407
- .f(void 0, void 0)
2408
- .ser(se_DeleteReplicationConfigurationCommand)
2409
- .de(de_DeleteReplicationConfigurationCommand)
2159
+ .sc(DeleteReplicationConfiguration)
2410
2160
  .build() {
2411
2161
  }
2412
2162
 
@@ -2414,16 +2164,11 @@ class DeleteTagsCommand extends smithyClient.Command
2414
2164
  .classBuilder()
2415
2165
  .ep(commonParams)
2416
2166
  .m(function (Command, cs, config, o) {
2417
- return [
2418
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2419
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2420
- ];
2167
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2421
2168
  })
2422
2169
  .s("MagnolioAPIService_v20150201", "DeleteTags", {})
2423
2170
  .n("EFSClient", "DeleteTagsCommand")
2424
- .f(void 0, void 0)
2425
- .ser(se_DeleteTagsCommand)
2426
- .de(de_DeleteTagsCommand)
2171
+ .sc(DeleteTags)
2427
2172
  .build() {
2428
2173
  }
2429
2174
 
@@ -2431,16 +2176,11 @@ class DescribeAccessPointsCommand extends smithyClient.Command
2431
2176
  .classBuilder()
2432
2177
  .ep(commonParams)
2433
2178
  .m(function (Command, cs, config, o) {
2434
- return [
2435
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2436
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2437
- ];
2179
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2438
2180
  })
2439
2181
  .s("MagnolioAPIService_v20150201", "DescribeAccessPoints", {})
2440
2182
  .n("EFSClient", "DescribeAccessPointsCommand")
2441
- .f(void 0, void 0)
2442
- .ser(se_DescribeAccessPointsCommand)
2443
- .de(de_DescribeAccessPointsCommand)
2183
+ .sc(DescribeAccessPoints)
2444
2184
  .build() {
2445
2185
  }
2446
2186
 
@@ -2448,16 +2188,11 @@ class DescribeAccountPreferencesCommand extends smithyClient.Command
2448
2188
  .classBuilder()
2449
2189
  .ep(commonParams)
2450
2190
  .m(function (Command, cs, config, o) {
2451
- return [
2452
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2453
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2454
- ];
2191
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2455
2192
  })
2456
2193
  .s("MagnolioAPIService_v20150201", "DescribeAccountPreferences", {})
2457
2194
  .n("EFSClient", "DescribeAccountPreferencesCommand")
2458
- .f(void 0, void 0)
2459
- .ser(se_DescribeAccountPreferencesCommand)
2460
- .de(de_DescribeAccountPreferencesCommand)
2195
+ .sc(DescribeAccountPreferences)
2461
2196
  .build() {
2462
2197
  }
2463
2198
 
@@ -2465,16 +2200,11 @@ class DescribeBackupPolicyCommand extends smithyClient.Command
2465
2200
  .classBuilder()
2466
2201
  .ep(commonParams)
2467
2202
  .m(function (Command, cs, config, o) {
2468
- return [
2469
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2470
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2471
- ];
2203
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2472
2204
  })
2473
2205
  .s("MagnolioAPIService_v20150201", "DescribeBackupPolicy", {})
2474
2206
  .n("EFSClient", "DescribeBackupPolicyCommand")
2475
- .f(void 0, void 0)
2476
- .ser(se_DescribeBackupPolicyCommand)
2477
- .de(de_DescribeBackupPolicyCommand)
2207
+ .sc(DescribeBackupPolicy)
2478
2208
  .build() {
2479
2209
  }
2480
2210
 
@@ -2482,16 +2212,11 @@ class DescribeFileSystemPolicyCommand extends smithyClient.Command
2482
2212
  .classBuilder()
2483
2213
  .ep(commonParams)
2484
2214
  .m(function (Command, cs, config, o) {
2485
- return [
2486
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2487
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2488
- ];
2215
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2489
2216
  })
2490
2217
  .s("MagnolioAPIService_v20150201", "DescribeFileSystemPolicy", {})
2491
2218
  .n("EFSClient", "DescribeFileSystemPolicyCommand")
2492
- .f(void 0, void 0)
2493
- .ser(se_DescribeFileSystemPolicyCommand)
2494
- .de(de_DescribeFileSystemPolicyCommand)
2219
+ .sc(DescribeFileSystemPolicy)
2495
2220
  .build() {
2496
2221
  }
2497
2222
 
@@ -2499,16 +2224,11 @@ class DescribeFileSystemsCommand extends smithyClient.Command
2499
2224
  .classBuilder()
2500
2225
  .ep(commonParams)
2501
2226
  .m(function (Command, cs, config, o) {
2502
- return [
2503
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2504
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2505
- ];
2227
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2506
2228
  })
2507
2229
  .s("MagnolioAPIService_v20150201", "DescribeFileSystems", {})
2508
2230
  .n("EFSClient", "DescribeFileSystemsCommand")
2509
- .f(void 0, void 0)
2510
- .ser(se_DescribeFileSystemsCommand)
2511
- .de(de_DescribeFileSystemsCommand)
2231
+ .sc(DescribeFileSystems)
2512
2232
  .build() {
2513
2233
  }
2514
2234
 
@@ -2516,16 +2236,11 @@ class DescribeLifecycleConfigurationCommand extends smithyClient.Command
2516
2236
  .classBuilder()
2517
2237
  .ep(commonParams)
2518
2238
  .m(function (Command, cs, config, o) {
2519
- return [
2520
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2521
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2522
- ];
2239
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2523
2240
  })
2524
2241
  .s("MagnolioAPIService_v20150201", "DescribeLifecycleConfiguration", {})
2525
2242
  .n("EFSClient", "DescribeLifecycleConfigurationCommand")
2526
- .f(void 0, void 0)
2527
- .ser(se_DescribeLifecycleConfigurationCommand)
2528
- .de(de_DescribeLifecycleConfigurationCommand)
2243
+ .sc(DescribeLifecycleConfiguration)
2529
2244
  .build() {
2530
2245
  }
2531
2246
 
@@ -2533,16 +2248,11 @@ class DescribeMountTargetsCommand extends smithyClient.Command
2533
2248
  .classBuilder()
2534
2249
  .ep(commonParams)
2535
2250
  .m(function (Command, cs, config, o) {
2536
- return [
2537
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2538
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2539
- ];
2251
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2540
2252
  })
2541
2253
  .s("MagnolioAPIService_v20150201", "DescribeMountTargets", {})
2542
2254
  .n("EFSClient", "DescribeMountTargetsCommand")
2543
- .f(void 0, void 0)
2544
- .ser(se_DescribeMountTargetsCommand)
2545
- .de(de_DescribeMountTargetsCommand)
2255
+ .sc(DescribeMountTargets)
2546
2256
  .build() {
2547
2257
  }
2548
2258
 
@@ -2550,16 +2260,11 @@ class DescribeMountTargetSecurityGroupsCommand extends smithyClient.Command
2550
2260
  .classBuilder()
2551
2261
  .ep(commonParams)
2552
2262
  .m(function (Command, cs, config, o) {
2553
- return [
2554
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2555
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2556
- ];
2263
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2557
2264
  })
2558
2265
  .s("MagnolioAPIService_v20150201", "DescribeMountTargetSecurityGroups", {})
2559
2266
  .n("EFSClient", "DescribeMountTargetSecurityGroupsCommand")
2560
- .f(void 0, void 0)
2561
- .ser(se_DescribeMountTargetSecurityGroupsCommand)
2562
- .de(de_DescribeMountTargetSecurityGroupsCommand)
2267
+ .sc(DescribeMountTargetSecurityGroups)
2563
2268
  .build() {
2564
2269
  }
2565
2270
 
@@ -2567,16 +2272,11 @@ class DescribeReplicationConfigurationsCommand extends smithyClient.Command
2567
2272
  .classBuilder()
2568
2273
  .ep(commonParams)
2569
2274
  .m(function (Command, cs, config, o) {
2570
- return [
2571
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2572
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2573
- ];
2275
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2574
2276
  })
2575
2277
  .s("MagnolioAPIService_v20150201", "DescribeReplicationConfigurations", {})
2576
2278
  .n("EFSClient", "DescribeReplicationConfigurationsCommand")
2577
- .f(void 0, void 0)
2578
- .ser(se_DescribeReplicationConfigurationsCommand)
2579
- .de(de_DescribeReplicationConfigurationsCommand)
2279
+ .sc(DescribeReplicationConfigurations)
2580
2280
  .build() {
2581
2281
  }
2582
2282
 
@@ -2584,16 +2284,11 @@ class DescribeTagsCommand extends smithyClient.Command
2584
2284
  .classBuilder()
2585
2285
  .ep(commonParams)
2586
2286
  .m(function (Command, cs, config, o) {
2587
- return [
2588
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2589
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2590
- ];
2287
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2591
2288
  })
2592
2289
  .s("MagnolioAPIService_v20150201", "DescribeTags", {})
2593
2290
  .n("EFSClient", "DescribeTagsCommand")
2594
- .f(void 0, void 0)
2595
- .ser(se_DescribeTagsCommand)
2596
- .de(de_DescribeTagsCommand)
2291
+ .sc(DescribeTags)
2597
2292
  .build() {
2598
2293
  }
2599
2294
 
@@ -2601,16 +2296,11 @@ class ListTagsForResourceCommand extends smithyClient.Command
2601
2296
  .classBuilder()
2602
2297
  .ep(commonParams)
2603
2298
  .m(function (Command, cs, config, o) {
2604
- return [
2605
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2606
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2607
- ];
2299
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2608
2300
  })
2609
2301
  .s("MagnolioAPIService_v20150201", "ListTagsForResource", {})
2610
2302
  .n("EFSClient", "ListTagsForResourceCommand")
2611
- .f(void 0, void 0)
2612
- .ser(se_ListTagsForResourceCommand)
2613
- .de(de_ListTagsForResourceCommand)
2303
+ .sc(ListTagsForResource)
2614
2304
  .build() {
2615
2305
  }
2616
2306
 
@@ -2618,16 +2308,11 @@ class ModifyMountTargetSecurityGroupsCommand extends smithyClient.Command
2618
2308
  .classBuilder()
2619
2309
  .ep(commonParams)
2620
2310
  .m(function (Command, cs, config, o) {
2621
- return [
2622
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2623
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2624
- ];
2311
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2625
2312
  })
2626
2313
  .s("MagnolioAPIService_v20150201", "ModifyMountTargetSecurityGroups", {})
2627
2314
  .n("EFSClient", "ModifyMountTargetSecurityGroupsCommand")
2628
- .f(void 0, void 0)
2629
- .ser(se_ModifyMountTargetSecurityGroupsCommand)
2630
- .de(de_ModifyMountTargetSecurityGroupsCommand)
2315
+ .sc(ModifyMountTargetSecurityGroups)
2631
2316
  .build() {
2632
2317
  }
2633
2318
 
@@ -2635,16 +2320,11 @@ class PutAccountPreferencesCommand extends smithyClient.Command
2635
2320
  .classBuilder()
2636
2321
  .ep(commonParams)
2637
2322
  .m(function (Command, cs, config, o) {
2638
- return [
2639
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2640
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2641
- ];
2323
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2642
2324
  })
2643
2325
  .s("MagnolioAPIService_v20150201", "PutAccountPreferences", {})
2644
2326
  .n("EFSClient", "PutAccountPreferencesCommand")
2645
- .f(void 0, void 0)
2646
- .ser(se_PutAccountPreferencesCommand)
2647
- .de(de_PutAccountPreferencesCommand)
2327
+ .sc(PutAccountPreferences)
2648
2328
  .build() {
2649
2329
  }
2650
2330
 
@@ -2652,16 +2332,11 @@ class PutBackupPolicyCommand extends smithyClient.Command
2652
2332
  .classBuilder()
2653
2333
  .ep(commonParams)
2654
2334
  .m(function (Command, cs, config, o) {
2655
- return [
2656
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2657
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2658
- ];
2335
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2659
2336
  })
2660
2337
  .s("MagnolioAPIService_v20150201", "PutBackupPolicy", {})
2661
2338
  .n("EFSClient", "PutBackupPolicyCommand")
2662
- .f(void 0, void 0)
2663
- .ser(se_PutBackupPolicyCommand)
2664
- .de(de_PutBackupPolicyCommand)
2339
+ .sc(PutBackupPolicy)
2665
2340
  .build() {
2666
2341
  }
2667
2342
 
@@ -2669,16 +2344,11 @@ class PutFileSystemPolicyCommand extends smithyClient.Command
2669
2344
  .classBuilder()
2670
2345
  .ep(commonParams)
2671
2346
  .m(function (Command, cs, config, o) {
2672
- return [
2673
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2674
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2675
- ];
2347
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2676
2348
  })
2677
2349
  .s("MagnolioAPIService_v20150201", "PutFileSystemPolicy", {})
2678
2350
  .n("EFSClient", "PutFileSystemPolicyCommand")
2679
- .f(void 0, void 0)
2680
- .ser(se_PutFileSystemPolicyCommand)
2681
- .de(de_PutFileSystemPolicyCommand)
2351
+ .sc(PutFileSystemPolicy)
2682
2352
  .build() {
2683
2353
  }
2684
2354
 
@@ -2686,16 +2356,11 @@ class PutLifecycleConfigurationCommand extends smithyClient.Command
2686
2356
  .classBuilder()
2687
2357
  .ep(commonParams)
2688
2358
  .m(function (Command, cs, config, o) {
2689
- return [
2690
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2691
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2692
- ];
2359
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2693
2360
  })
2694
2361
  .s("MagnolioAPIService_v20150201", "PutLifecycleConfiguration", {})
2695
2362
  .n("EFSClient", "PutLifecycleConfigurationCommand")
2696
- .f(void 0, void 0)
2697
- .ser(se_PutLifecycleConfigurationCommand)
2698
- .de(de_PutLifecycleConfigurationCommand)
2363
+ .sc(PutLifecycleConfiguration)
2699
2364
  .build() {
2700
2365
  }
2701
2366
 
@@ -2703,16 +2368,11 @@ class TagResourceCommand extends smithyClient.Command
2703
2368
  .classBuilder()
2704
2369
  .ep(commonParams)
2705
2370
  .m(function (Command, cs, config, o) {
2706
- return [
2707
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2708
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2709
- ];
2371
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2710
2372
  })
2711
2373
  .s("MagnolioAPIService_v20150201", "TagResource", {})
2712
2374
  .n("EFSClient", "TagResourceCommand")
2713
- .f(void 0, void 0)
2714
- .ser(se_TagResourceCommand)
2715
- .de(de_TagResourceCommand)
2375
+ .sc(TagResource)
2716
2376
  .build() {
2717
2377
  }
2718
2378
 
@@ -2720,16 +2380,11 @@ class UntagResourceCommand extends smithyClient.Command
2720
2380
  .classBuilder()
2721
2381
  .ep(commonParams)
2722
2382
  .m(function (Command, cs, config, o) {
2723
- return [
2724
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2725
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2726
- ];
2383
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2727
2384
  })
2728
2385
  .s("MagnolioAPIService_v20150201", "UntagResource", {})
2729
2386
  .n("EFSClient", "UntagResourceCommand")
2730
- .f(void 0, void 0)
2731
- .ser(se_UntagResourceCommand)
2732
- .de(de_UntagResourceCommand)
2387
+ .sc(UntagResource)
2733
2388
  .build() {
2734
2389
  }
2735
2390
 
@@ -2737,16 +2392,11 @@ class UpdateFileSystemCommand extends smithyClient.Command
2737
2392
  .classBuilder()
2738
2393
  .ep(commonParams)
2739
2394
  .m(function (Command, cs, config, o) {
2740
- return [
2741
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2742
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2743
- ];
2395
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2744
2396
  })
2745
2397
  .s("MagnolioAPIService_v20150201", "UpdateFileSystem", {})
2746
2398
  .n("EFSClient", "UpdateFileSystemCommand")
2747
- .f(void 0, void 0)
2748
- .ser(se_UpdateFileSystemCommand)
2749
- .de(de_UpdateFileSystemCommand)
2399
+ .sc(UpdateFileSystem)
2750
2400
  .build() {
2751
2401
  }
2752
2402
 
@@ -2754,16 +2404,11 @@ class UpdateFileSystemProtectionCommand extends smithyClient.Command
2754
2404
  .classBuilder()
2755
2405
  .ep(commonParams)
2756
2406
  .m(function (Command, cs, config, o) {
2757
- return [
2758
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2759
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2760
- ];
2407
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2761
2408
  })
2762
2409
  .s("MagnolioAPIService_v20150201", "UpdateFileSystemProtection", {})
2763
2410
  .n("EFSClient", "UpdateFileSystemProtectionCommand")
2764
- .f(void 0, void 0)
2765
- .ser(se_UpdateFileSystemProtectionCommand)
2766
- .de(de_UpdateFileSystemProtectionCommand)
2411
+ .sc(UpdateFileSystemProtection)
2767
2412
  .build() {
2768
2413
  }
2769
2414
 
@@ -2824,12 +2469,12 @@ Object.defineProperty(exports, "__Client", {
2824
2469
  enumerable: true,
2825
2470
  get: function () { return smithyClient.Client; }
2826
2471
  });
2827
- exports.AccessPointAlreadyExists = AccessPointAlreadyExists;
2828
- exports.AccessPointLimitExceeded = AccessPointLimitExceeded;
2829
- exports.AccessPointNotFound = AccessPointNotFound;
2830
- exports.AvailabilityZonesMismatch = AvailabilityZonesMismatch;
2831
- exports.BadRequest = BadRequest;
2832
- exports.ConflictException = ConflictException;
2472
+ exports.AccessPointAlreadyExists = AccessPointAlreadyExists$1;
2473
+ exports.AccessPointLimitExceeded = AccessPointLimitExceeded$1;
2474
+ exports.AccessPointNotFound = AccessPointNotFound$1;
2475
+ exports.AvailabilityZonesMismatch = AvailabilityZonesMismatch$1;
2476
+ exports.BadRequest = BadRequest$1;
2477
+ exports.ConflictException = ConflictException$1;
2833
2478
  exports.CreateAccessPointCommand = CreateAccessPointCommand;
2834
2479
  exports.CreateFileSystemCommand = CreateFileSystemCommand;
2835
2480
  exports.CreateMountTargetCommand = CreateMountTargetCommand;
@@ -2842,7 +2487,7 @@ exports.DeleteMountTargetCommand = DeleteMountTargetCommand;
2842
2487
  exports.DeleteReplicationConfigurationCommand = DeleteReplicationConfigurationCommand;
2843
2488
  exports.DeleteTagsCommand = DeleteTagsCommand;
2844
2489
  exports.DeletionMode = DeletionMode;
2845
- exports.DependencyTimeout = DependencyTimeout;
2490
+ exports.DependencyTimeout = DependencyTimeout$1;
2846
2491
  exports.DescribeAccessPointsCommand = DescribeAccessPointsCommand;
2847
2492
  exports.DescribeAccountPreferencesCommand = DescribeAccountPreferencesCommand;
2848
2493
  exports.DescribeBackupPolicyCommand = DescribeBackupPolicyCommand;
@@ -2855,54 +2500,54 @@ exports.DescribeReplicationConfigurationsCommand = DescribeReplicationConfigurat
2855
2500
  exports.DescribeTagsCommand = DescribeTagsCommand;
2856
2501
  exports.EFS = EFS;
2857
2502
  exports.EFSClient = EFSClient;
2858
- exports.EFSServiceException = EFSServiceException;
2859
- exports.FileSystemAlreadyExists = FileSystemAlreadyExists;
2860
- exports.FileSystemInUse = FileSystemInUse;
2861
- exports.FileSystemLimitExceeded = FileSystemLimitExceeded;
2862
- exports.FileSystemNotFound = FileSystemNotFound;
2863
- exports.IncorrectFileSystemLifeCycleState = IncorrectFileSystemLifeCycleState;
2864
- exports.IncorrectMountTargetState = IncorrectMountTargetState;
2865
- exports.InsufficientThroughputCapacity = InsufficientThroughputCapacity;
2866
- exports.InternalServerError = InternalServerError;
2867
- exports.InvalidPolicyException = InvalidPolicyException;
2868
- exports.IpAddressInUse = IpAddressInUse;
2503
+ exports.EFSServiceException = EFSServiceException$1;
2504
+ exports.FileSystemAlreadyExists = FileSystemAlreadyExists$1;
2505
+ exports.FileSystemInUse = FileSystemInUse$1;
2506
+ exports.FileSystemLimitExceeded = FileSystemLimitExceeded$1;
2507
+ exports.FileSystemNotFound = FileSystemNotFound$1;
2508
+ exports.IncorrectFileSystemLifeCycleState = IncorrectFileSystemLifeCycleState$1;
2509
+ exports.IncorrectMountTargetState = IncorrectMountTargetState$1;
2510
+ exports.InsufficientThroughputCapacity = InsufficientThroughputCapacity$1;
2511
+ exports.InternalServerError = InternalServerError$1;
2512
+ exports.InvalidPolicyException = InvalidPolicyException$1;
2513
+ exports.IpAddressInUse = IpAddressInUse$1;
2869
2514
  exports.IpAddressType = IpAddressType;
2870
2515
  exports.LifeCycleState = LifeCycleState;
2871
2516
  exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
2872
2517
  exports.ModifyMountTargetSecurityGroupsCommand = ModifyMountTargetSecurityGroupsCommand;
2873
- exports.MountTargetConflict = MountTargetConflict;
2874
- exports.MountTargetNotFound = MountTargetNotFound;
2875
- exports.NetworkInterfaceLimitExceeded = NetworkInterfaceLimitExceeded;
2876
- exports.NoFreeAddressesInSubnet = NoFreeAddressesInSubnet;
2518
+ exports.MountTargetConflict = MountTargetConflict$1;
2519
+ exports.MountTargetNotFound = MountTargetNotFound$1;
2520
+ exports.NetworkInterfaceLimitExceeded = NetworkInterfaceLimitExceeded$1;
2521
+ exports.NoFreeAddressesInSubnet = NoFreeAddressesInSubnet$1;
2877
2522
  exports.PerformanceMode = PerformanceMode;
2878
- exports.PolicyNotFound = PolicyNotFound;
2523
+ exports.PolicyNotFound = PolicyNotFound$1;
2879
2524
  exports.PutAccountPreferencesCommand = PutAccountPreferencesCommand;
2880
2525
  exports.PutBackupPolicyCommand = PutBackupPolicyCommand;
2881
2526
  exports.PutFileSystemPolicyCommand = PutFileSystemPolicyCommand;
2882
2527
  exports.PutLifecycleConfigurationCommand = PutLifecycleConfigurationCommand;
2883
- exports.ReplicationAlreadyExists = ReplicationAlreadyExists;
2884
- exports.ReplicationNotFound = ReplicationNotFound;
2528
+ exports.ReplicationAlreadyExists = ReplicationAlreadyExists$1;
2529
+ exports.ReplicationNotFound = ReplicationNotFound$1;
2885
2530
  exports.ReplicationOverwriteProtection = ReplicationOverwriteProtection;
2886
2531
  exports.ReplicationStatus = ReplicationStatus;
2887
2532
  exports.Resource = Resource;
2888
2533
  exports.ResourceIdType = ResourceIdType;
2889
- exports.SecurityGroupLimitExceeded = SecurityGroupLimitExceeded;
2890
- exports.SecurityGroupNotFound = SecurityGroupNotFound;
2534
+ exports.SecurityGroupLimitExceeded = SecurityGroupLimitExceeded$1;
2535
+ exports.SecurityGroupNotFound = SecurityGroupNotFound$1;
2891
2536
  exports.Status = Status;
2892
- exports.SubnetNotFound = SubnetNotFound;
2537
+ exports.SubnetNotFound = SubnetNotFound$1;
2893
2538
  exports.TagResourceCommand = TagResourceCommand;
2894
- exports.ThrottlingException = ThrottlingException;
2895
- exports.ThroughputLimitExceeded = ThroughputLimitExceeded;
2539
+ exports.ThrottlingException = ThrottlingException$1;
2540
+ exports.ThroughputLimitExceeded = ThroughputLimitExceeded$1;
2896
2541
  exports.ThroughputMode = ThroughputMode;
2897
- exports.TooManyRequests = TooManyRequests;
2542
+ exports.TooManyRequests = TooManyRequests$1;
2898
2543
  exports.TransitionToArchiveRules = TransitionToArchiveRules;
2899
2544
  exports.TransitionToIARules = TransitionToIARules;
2900
2545
  exports.TransitionToPrimaryStorageClassRules = TransitionToPrimaryStorageClassRules;
2901
- exports.UnsupportedAvailabilityZone = UnsupportedAvailabilityZone;
2546
+ exports.UnsupportedAvailabilityZone = UnsupportedAvailabilityZone$1;
2902
2547
  exports.UntagResourceCommand = UntagResourceCommand;
2903
2548
  exports.UpdateFileSystemCommand = UpdateFileSystemCommand;
2904
2549
  exports.UpdateFileSystemProtectionCommand = UpdateFileSystemProtectionCommand;
2905
- exports.ValidationException = ValidationException;
2550
+ exports.ValidationException = ValidationException$1;
2906
2551
  exports.paginateDescribeAccessPoints = paginateDescribeAccessPoints;
2907
2552
  exports.paginateDescribeFileSystems = paginateDescribeFileSystems;
2908
2553
  exports.paginateDescribeMountTargets = paginateDescribeMountTargets;