@aws-sdk/client-efs 3.48.0 → 3.52.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 (36) hide show
  1. package/CHANGELOG.md +35 -0
  2. package/README.md +1 -1
  3. package/dist-cjs/EFS.js +45 -0
  4. package/dist-cjs/commands/CreateReplicationConfigurationCommand.js +36 -0
  5. package/dist-cjs/commands/DeleteReplicationConfigurationCommand.js +36 -0
  6. package/dist-cjs/commands/DescribeReplicationConfigurationsCommand.js +36 -0
  7. package/dist-cjs/commands/index.js +3 -0
  8. package/dist-cjs/endpoints.js +9 -0
  9. package/dist-cjs/models/models_0.js +51 -2
  10. package/dist-cjs/protocols/Aws_restJson1.js +482 -2
  11. package/dist-es/EFS.js +45 -0
  12. package/dist-es/commands/CreateReplicationConfigurationCommand.js +39 -0
  13. package/dist-es/commands/DeleteReplicationConfigurationCommand.js +39 -0
  14. package/dist-es/commands/DescribeReplicationConfigurationsCommand.js +39 -0
  15. package/dist-es/commands/index.js +3 -0
  16. package/dist-es/endpoints.js +9 -0
  17. package/dist-es/models/models_0.js +35 -0
  18. package/dist-es/protocols/Aws_restJson1.js +606 -78
  19. package/dist-types/EFS.d.ts +106 -3
  20. package/dist-types/EFSClient.d.ts +6 -3
  21. package/dist-types/commands/CreateReplicationConfigurationCommand.d.ts +110 -0
  22. package/dist-types/commands/DeleteReplicationConfigurationCommand.d.ts +39 -0
  23. package/dist-types/commands/DescribeReplicationConfigurationsCommand.d.ts +36 -0
  24. package/dist-types/commands/PutAccountPreferencesCommand.d.ts +4 -2
  25. package/dist-types/commands/index.d.ts +3 -0
  26. package/dist-types/models/models_0.d.ts +538 -24
  27. package/dist-types/protocols/Aws_restJson1.d.ts +9 -0
  28. package/dist-types/ts3.4/EFS.d.ts +15 -0
  29. package/dist-types/ts3.4/EFSClient.d.ts +5 -2
  30. package/dist-types/ts3.4/commands/CreateReplicationConfigurationCommand.d.ts +17 -0
  31. package/dist-types/ts3.4/commands/DeleteReplicationConfigurationCommand.d.ts +17 -0
  32. package/dist-types/ts3.4/commands/DescribeReplicationConfigurationsCommand.d.ts +17 -0
  33. package/dist-types/ts3.4/commands/index.d.ts +3 -0
  34. package/dist-types/ts3.4/models/models_0.d.ts +164 -7
  35. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +9 -0
  36. package/package.json +40 -34
@@ -6,7 +6,18 @@ import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException
6
6
  export interface AccessPointAlreadyExists extends __SmithyException, $MetadataBearer {
7
7
  name: "AccessPointAlreadyExists";
8
8
  $fault: "client";
9
+ /**
10
+ * <p>The error code is a string that uniquely identifies an error condition.
11
+ * It is meant to be read and understood by programs that detect and handle errors by type. </p>
12
+ */
9
13
  ErrorCode: string | undefined;
14
+ /**
15
+ * <p>The error message contains a generic description of the error
16
+ * condition in English. It is intended for a human audience. Simple programs display the message directly
17
+ * to the end user if they encounter an error condition they don't know how or don't care to handle.
18
+ * Sophisticated programs with more exhaustive error handling and proper internationalization are
19
+ * more likely to ignore the error message.</p>
20
+ */
10
21
  Message?: string;
11
22
  AccessPointId: string | undefined;
12
23
  }
@@ -187,7 +198,18 @@ export declare namespace AccessPointDescription {
187
198
  export interface AccessPointLimitExceeded extends __SmithyException, $MetadataBearer {
188
199
  name: "AccessPointLimitExceeded";
189
200
  $fault: "client";
201
+ /**
202
+ * <p>The error code is a string that uniquely identifies an error condition.
203
+ * It is meant to be read and understood by programs that detect and handle errors by type. </p>
204
+ */
190
205
  ErrorCode: string | undefined;
206
+ /**
207
+ * <p>The error message contains a generic description of the error
208
+ * condition in English. It is intended for a human audience. Simple programs display the message directly
209
+ * to the end user if they encounter an error condition they don't know how or don't care to handle.
210
+ * Sophisticated programs with more exhaustive error handling and proper internationalization are
211
+ * more likely to ignore the error message.</p>
212
+ */
191
213
  Message?: string;
192
214
  }
193
215
  /**
@@ -197,7 +219,18 @@ export interface AccessPointLimitExceeded extends __SmithyException, $MetadataBe
197
219
  export interface AccessPointNotFound extends __SmithyException, $MetadataBearer {
198
220
  name: "AccessPointNotFound";
199
221
  $fault: "client";
222
+ /**
223
+ * <p>The error code is a string that uniquely identifies an error condition.
224
+ * It is meant to be read and understood by programs that detect and handle errors by type. </p>
225
+ */
200
226
  ErrorCode: string | undefined;
227
+ /**
228
+ * <p>The error message contains a generic description of the error
229
+ * condition in English. It is intended for a human audience. Simple programs display the message directly
230
+ * to the end user if they encounter an error condition they don't know how or don't care to handle.
231
+ * Sophisticated programs with more exhaustive error handling and proper internationalization are
232
+ * more likely to ignore the error message.</p>
233
+ */
201
234
  Message?: string;
202
235
  }
203
236
  /**
@@ -207,7 +240,18 @@ export interface AccessPointNotFound extends __SmithyException, $MetadataBearer
207
240
  export interface AvailabilityZonesMismatch extends __SmithyException, $MetadataBearer {
208
241
  name: "AvailabilityZonesMismatch";
209
242
  $fault: "client";
243
+ /**
244
+ * <p>The error code is a string that uniquely identifies an error condition.
245
+ * It is meant to be read and understood by programs that detect and handle errors by type. </p>
246
+ */
210
247
  ErrorCode?: string;
248
+ /**
249
+ * <p>The error message contains a generic description of the error
250
+ * condition in English. It is intended for a human audience. Simple programs display the message directly
251
+ * to the end user if they encounter an error condition they don't know how or don't care to handle.
252
+ * Sophisticated programs with more exhaustive error handling and proper internationalization are
253
+ * more likely to ignore the error message.</p>
254
+ */
211
255
  Message?: string;
212
256
  }
213
257
  export declare enum Status {
@@ -277,7 +321,18 @@ export declare namespace BackupPolicyDescription {
277
321
  export interface BadRequest extends __SmithyException, $MetadataBearer {
278
322
  name: "BadRequest";
279
323
  $fault: "client";
324
+ /**
325
+ * <p>The error code is a string that uniquely identifies an error condition.
326
+ * It is meant to be read and understood by programs that detect and handle errors by type. </p>
327
+ */
280
328
  ErrorCode: string | undefined;
329
+ /**
330
+ * <p>The error message contains a generic description of the error
331
+ * condition in English. It is intended for a human audience. Simple programs display the message directly
332
+ * to the end user if they encounter an error condition they don't know how or don't care to handle.
333
+ * Sophisticated programs with more exhaustive error handling and proper internationalization are
334
+ * more likely to ignore the error message.</p>
335
+ */
281
336
  Message?: string;
282
337
  }
283
338
  export interface CreateAccessPointRequest {
@@ -327,7 +382,18 @@ export declare namespace CreateAccessPointRequest {
327
382
  export interface FileSystemNotFound extends __SmithyException, $MetadataBearer {
328
383
  name: "FileSystemNotFound";
329
384
  $fault: "client";
385
+ /**
386
+ * <p>The error code is a string that uniquely identifies an error condition.
387
+ * It is meant to be read and understood by programs that detect and handle errors by type. </p>
388
+ */
330
389
  ErrorCode: string | undefined;
390
+ /**
391
+ * <p>The error message contains a generic description of the error
392
+ * condition in English. It is intended for a human audience. Simple programs display the message directly
393
+ * to the end user if they encounter an error condition they don't know how or don't care to handle.
394
+ * Sophisticated programs with more exhaustive error handling and proper internationalization are
395
+ * more likely to ignore the error message.</p>
396
+ */
331
397
  Message?: string;
332
398
  }
333
399
  /**
@@ -336,7 +402,18 @@ export interface FileSystemNotFound extends __SmithyException, $MetadataBearer {
336
402
  export interface IncorrectFileSystemLifeCycleState extends __SmithyException, $MetadataBearer {
337
403
  name: "IncorrectFileSystemLifeCycleState";
338
404
  $fault: "client";
405
+ /**
406
+ * <p>The error code is a string that uniquely identifies an error condition.
407
+ * It is meant to be read and understood by programs that detect and handle errors by type. </p>
408
+ */
339
409
  ErrorCode: string | undefined;
410
+ /**
411
+ * <p>The error message contains a generic description of the error
412
+ * condition in English. It is intended for a human audience. Simple programs display the message directly
413
+ * to the end user if they encounter an error condition they don't know how or don't care to handle.
414
+ * Sophisticated programs with more exhaustive error handling and proper internationalization are
415
+ * more likely to ignore the error message.</p>
416
+ */
340
417
  Message?: string;
341
418
  }
342
419
  /**
@@ -345,7 +422,18 @@ export interface IncorrectFileSystemLifeCycleState extends __SmithyException, $M
345
422
  export interface InternalServerError extends __SmithyException, $MetadataBearer {
346
423
  name: "InternalServerError";
347
424
  $fault: "server";
425
+ /**
426
+ * <p>The error code is a string that uniquely identifies an error condition.
427
+ * It is meant to be read and understood by programs that detect and handle errors by type. </p>
428
+ */
348
429
  ErrorCode: string | undefined;
430
+ /**
431
+ * <p>The error message contains a generic description of the error
432
+ * condition in English. It is intended for a human audience. Simple programs display the message directly
433
+ * to the end user if they encounter an error condition they don't know how or don't care to handle.
434
+ * Sophisticated programs with more exhaustive error handling and proper internationalization are
435
+ * more likely to ignore the error message.</p>
436
+ */
349
437
  Message?: string;
350
438
  }
351
439
  export declare enum PerformanceMode {
@@ -375,17 +463,17 @@ export interface CreateFileSystemRequest {
375
463
  PerformanceMode?: PerformanceMode | string;
376
464
  /**
377
465
  * <p>A Boolean value that, if true, creates an encrypted file system. When creating an
378
- * encrypted file system, you have the option of specifying <a>CreateFileSystemRequest$KmsKeyId</a> for an existing Key Management Service (KMS
379
- * customer master key (CMK). If you don't specify a CMK, then the default CMK for
466
+ * encrypted file system, you have the option of specifying an existing Key Management Service key (KMS key).
467
+ * If you don't specify a KMS key, then the default KMS key for
380
468
  * Amazon EFS, <code>/aws/elasticfilesystem</code>, is used to protect the encrypted file system.
381
469
  * </p>
382
470
  */
383
471
  Encrypted?: boolean;
384
472
  /**
385
- * <p>The ID of the KMS CMK that you want to use to protect the encrypted file system. This
473
+ * <p>The ID of the KMS key that you want to use to protect the encrypted file system. This
386
474
  * parameter is only required if you want to use a non-default KMS key. If this parameter is not
387
- * specified, the default CMK for Amazon EFS is used. This ID can be in one of the following
388
- * formats:</p>
475
+ * specified, the default KMS key for Amazon EFS is used. You can specify a KMS key
476
+ * ID using the following formats:</p>
389
477
  * <ul>
390
478
  * <li>
391
479
  * <p>Key ID - A unique identifier of the key, for example
@@ -404,9 +492,11 @@ export interface CreateFileSystemRequest {
404
492
  * <code>arn:aws:kms:us-west-2:444455556666:alias/projectKey1</code>.</p>
405
493
  * </li>
406
494
  * </ul>
407
- * <p>If <code>KmsKeyId</code> is specified, the <a>CreateFileSystemRequest$Encrypted</a> parameter must be set to true.</p>
495
+ * <p>If you use <code>KmsKeyId</code>, you must set the <a>CreateFileSystemRequest$Encrypted</a>
496
+ * parameter to true.</p>
408
497
  * <important>
409
- * <p>EFS accepts only symmetric KMS keys. You cannot use asymmetric KMS keys with EFS file systems.</p>
498
+ * <p>EFS accepts only symmetric KMS keys. You cannot use asymmetric
499
+ * KMS keys with Amazon EFS file systems.</p>
410
500
  * </important>
411
501
  */
412
502
  KmsKeyId?: string;
@@ -450,7 +540,7 @@ export interface CreateFileSystemRequest {
450
540
  * <p>Default is <code>false</code>. However, if you specify an <code>AvailabilityZoneName</code>,
451
541
  * the default is <code>true</code>.</p>
452
542
  * <note>
453
- * <p>Backup is not available in all Amazon Web Services Regionswhere Amazon EFS is available.</p>
543
+ * <p>Backup is not available in all Amazon Web Services Regions where Amazon EFS is available.</p>
454
544
  * </note>
455
545
  */
456
546
  Backup?: boolean;
@@ -476,7 +566,18 @@ export declare namespace CreateFileSystemRequest {
476
566
  export interface FileSystemAlreadyExists extends __SmithyException, $MetadataBearer {
477
567
  name: "FileSystemAlreadyExists";
478
568
  $fault: "client";
569
+ /**
570
+ * <p>The error code is a string that uniquely identifies an error condition.
571
+ * It is meant to be read and understood by programs that detect and handle errors by type. </p>
572
+ */
479
573
  ErrorCode: string | undefined;
574
+ /**
575
+ * <p>The error message contains a generic description of the error
576
+ * condition in English. It is intended for a human audience. Simple programs display the message directly
577
+ * to the end user if they encounter an error condition they don't know how or don't care to handle.
578
+ * Sophisticated programs with more exhaustive error handling and proper internationalization are
579
+ * more likely to ignore the error message.</p>
580
+ */
480
581
  Message?: string;
481
582
  FileSystemId: string | undefined;
482
583
  }
@@ -581,8 +682,7 @@ export interface FileSystemDescription {
581
682
  */
582
683
  Encrypted?: boolean;
583
684
  /**
584
- * <p>The ID of an Key Management Service customer master key (CMK) that was
585
- * used to protect the encrypted file system.</p>
685
+ * <p>The ID of an KMS key used to protect the encrypted file system.</p>
586
686
  */
587
687
  KmsKeyId?: string;
588
688
  /**
@@ -628,7 +728,18 @@ export declare namespace FileSystemDescription {
628
728
  export interface FileSystemLimitExceeded extends __SmithyException, $MetadataBearer {
629
729
  name: "FileSystemLimitExceeded";
630
730
  $fault: "client";
731
+ /**
732
+ * <p>The error code is a string that uniquely identifies an error condition.
733
+ * It is meant to be read and understood by programs that detect and handle errors by type. </p>
734
+ */
631
735
  ErrorCode: string | undefined;
736
+ /**
737
+ * <p>The error message contains a generic description of the error
738
+ * condition in English. It is intended for a human audience. Simple programs display the message directly
739
+ * to the end user if they encounter an error condition they don't know how or don't care to handle.
740
+ * Sophisticated programs with more exhaustive error handling and proper internationalization are
741
+ * more likely to ignore the error message.</p>
742
+ */
632
743
  Message?: string;
633
744
  }
634
745
  /**
@@ -641,7 +752,18 @@ export interface FileSystemLimitExceeded extends __SmithyException, $MetadataBea
641
752
  export interface InsufficientThroughputCapacity extends __SmithyException, $MetadataBearer {
642
753
  name: "InsufficientThroughputCapacity";
643
754
  $fault: "server";
755
+ /**
756
+ * <p>The error code is a string that uniquely identifies an error condition.
757
+ * It is meant to be read and understood by programs that detect and handle errors by type. </p>
758
+ */
644
759
  ErrorCode: string | undefined;
760
+ /**
761
+ * <p>The error message contains a generic description of the error
762
+ * condition in English. It is intended for a human audience. Simple programs display the message directly
763
+ * to the end user if they encounter an error condition they don't know how or don't care to handle.
764
+ * Sophisticated programs with more exhaustive error handling and proper internationalization are
765
+ * more likely to ignore the error message.</p>
766
+ */
645
767
  Message?: string;
646
768
  }
647
769
  /**
@@ -651,7 +773,18 @@ export interface InsufficientThroughputCapacity extends __SmithyException, $Meta
651
773
  export interface ThroughputLimitExceeded extends __SmithyException, $MetadataBearer {
652
774
  name: "ThroughputLimitExceeded";
653
775
  $fault: "client";
776
+ /**
777
+ * <p>The error code is a string that uniquely identifies an error condition.
778
+ * It is meant to be read and understood by programs that detect and handle errors by type. </p>
779
+ */
654
780
  ErrorCode: string | undefined;
781
+ /**
782
+ * <p>The error message contains a generic description of the error
783
+ * condition in English. It is intended for a human audience. Simple programs display the message directly
784
+ * to the end user if they encounter an error condition they don't know how or don't care to handle.
785
+ * Sophisticated programs with more exhaustive error handling and proper internationalization are
786
+ * more likely to ignore the error message.</p>
787
+ */
655
788
  Message?: string;
656
789
  }
657
790
  /**
@@ -660,7 +793,18 @@ export interface ThroughputLimitExceeded extends __SmithyException, $MetadataBea
660
793
  export interface UnsupportedAvailabilityZone extends __SmithyException, $MetadataBearer {
661
794
  name: "UnsupportedAvailabilityZone";
662
795
  $fault: "client";
796
+ /**
797
+ * <p>The error code is a string that uniquely identifies an error condition.
798
+ * It is meant to be read and understood by programs that detect and handle errors by type. </p>
799
+ */
663
800
  ErrorCode: string | undefined;
801
+ /**
802
+ * <p>The error message contains a generic description of the error
803
+ * condition in English. It is intended for a human audience. Simple programs display the message directly
804
+ * to the end user if they encounter an error condition they don't know how or don't care to handle.
805
+ * Sophisticated programs with more exhaustive error handling and proper internationalization are
806
+ * more likely to ignore the error message.</p>
807
+ */
664
808
  Message?: string;
665
809
  }
666
810
  /**
@@ -699,7 +843,18 @@ export declare namespace CreateMountTargetRequest {
699
843
  export interface IpAddressInUse extends __SmithyException, $MetadataBearer {
700
844
  name: "IpAddressInUse";
701
845
  $fault: "client";
846
+ /**
847
+ * <p>The error code is a string that uniquely identifies an error condition.
848
+ * It is meant to be read and understood by programs that detect and handle errors by type. </p>
849
+ */
702
850
  ErrorCode: string | undefined;
851
+ /**
852
+ * <p>The error message contains a generic description of the error
853
+ * condition in English. It is intended for a human audience. Simple programs display the message directly
854
+ * to the end user if they encounter an error condition they don't know how or don't care to handle.
855
+ * Sophisticated programs with more exhaustive error handling and proper internationalization are
856
+ * more likely to ignore the error message.</p>
857
+ */
703
858
  Message?: string;
704
859
  }
705
860
  /**
@@ -709,7 +864,18 @@ export interface IpAddressInUse extends __SmithyException, $MetadataBearer {
709
864
  export interface MountTargetConflict extends __SmithyException, $MetadataBearer {
710
865
  name: "MountTargetConflict";
711
866
  $fault: "client";
867
+ /**
868
+ * <p>The error code is a string that uniquely identifies an error condition.
869
+ * It is meant to be read and understood by programs that detect and handle errors by type. </p>
870
+ */
712
871
  ErrorCode: string | undefined;
872
+ /**
873
+ * <p>The error message contains a generic description of the error
874
+ * condition in English. It is intended for a human audience. Simple programs display the message directly
875
+ * to the end user if they encounter an error condition they don't know how or don't care to handle.
876
+ * Sophisticated programs with more exhaustive error handling and proper internationalization are
877
+ * more likely to ignore the error message.</p>
878
+ */
713
879
  Message?: string;
714
880
  }
715
881
  /**
@@ -777,7 +943,18 @@ export declare namespace MountTargetDescription {
777
943
  export interface NetworkInterfaceLimitExceeded extends __SmithyException, $MetadataBearer {
778
944
  name: "NetworkInterfaceLimitExceeded";
779
945
  $fault: "client";
946
+ /**
947
+ * <p>The error code is a string that uniquely identifies an error condition.
948
+ * It is meant to be read and understood by programs that detect and handle errors by type. </p>
949
+ */
780
950
  ErrorCode: string | undefined;
951
+ /**
952
+ * <p>The error message contains a generic description of the error
953
+ * condition in English. It is intended for a human audience. Simple programs display the message directly
954
+ * to the end user if they encounter an error condition they don't know how or don't care to handle.
955
+ * Sophisticated programs with more exhaustive error handling and proper internationalization are
956
+ * more likely to ignore the error message.</p>
957
+ */
781
958
  Message?: string;
782
959
  }
783
960
  /**
@@ -787,7 +964,18 @@ export interface NetworkInterfaceLimitExceeded extends __SmithyException, $Metad
787
964
  export interface NoFreeAddressesInSubnet extends __SmithyException, $MetadataBearer {
788
965
  name: "NoFreeAddressesInSubnet";
789
966
  $fault: "client";
967
+ /**
968
+ * <p>The error code is a string that uniquely identifies an error condition.
969
+ * It is meant to be read and understood by programs that detect and handle errors by type. </p>
970
+ */
790
971
  ErrorCode: string | undefined;
972
+ /**
973
+ * <p>The error message contains a generic description of the error
974
+ * condition in English. It is intended for a human audience. Simple programs display the message directly
975
+ * to the end user if they encounter an error condition they don't know how or don't care to handle.
976
+ * Sophisticated programs with more exhaustive error handling and proper internationalization are
977
+ * more likely to ignore the error message.</p>
978
+ */
791
979
  Message?: string;
792
980
  }
793
981
  /**
@@ -797,7 +985,18 @@ export interface NoFreeAddressesInSubnet extends __SmithyException, $MetadataBea
797
985
  export interface SecurityGroupLimitExceeded extends __SmithyException, $MetadataBearer {
798
986
  name: "SecurityGroupLimitExceeded";
799
987
  $fault: "client";
988
+ /**
989
+ * <p>The error code is a string that uniquely identifies an error condition.
990
+ * It is meant to be read and understood by programs that detect and handle errors by type. </p>
991
+ */
800
992
  ErrorCode: string | undefined;
993
+ /**
994
+ * <p>The error message contains a generic description of the error
995
+ * condition in English. It is intended for a human audience. Simple programs display the message directly
996
+ * to the end user if they encounter an error condition they don't know how or don't care to handle.
997
+ * Sophisticated programs with more exhaustive error handling and proper internationalization are
998
+ * more likely to ignore the error message.</p>
999
+ */
801
1000
  Message?: string;
802
1001
  }
803
1002
  /**
@@ -807,7 +1006,18 @@ export interface SecurityGroupLimitExceeded extends __SmithyException, $Metadata
807
1006
  export interface SecurityGroupNotFound extends __SmithyException, $MetadataBearer {
808
1007
  name: "SecurityGroupNotFound";
809
1008
  $fault: "client";
1009
+ /**
1010
+ * <p>The error code is a string that uniquely identifies an error condition.
1011
+ * It is meant to be read and understood by programs that detect and handle errors by type. </p>
1012
+ */
810
1013
  ErrorCode: string | undefined;
1014
+ /**
1015
+ * <p>The error message contains a generic description of the error
1016
+ * condition in English. It is intended for a human audience. Simple programs display the message directly
1017
+ * to the end user if they encounter an error condition they don't know how or don't care to handle.
1018
+ * Sophisticated programs with more exhaustive error handling and proper internationalization are
1019
+ * more likely to ignore the error message.</p>
1020
+ */
811
1021
  Message?: string;
812
1022
  }
813
1023
  /**
@@ -817,7 +1027,188 @@ export interface SecurityGroupNotFound extends __SmithyException, $MetadataBeare
817
1027
  export interface SubnetNotFound extends __SmithyException, $MetadataBearer {
818
1028
  name: "SubnetNotFound";
819
1029
  $fault: "client";
1030
+ /**
1031
+ * <p>The error code is a string that uniquely identifies an error condition.
1032
+ * It is meant to be read and understood by programs that detect and handle errors by type. </p>
1033
+ */
1034
+ ErrorCode: string | undefined;
1035
+ /**
1036
+ * <p>The error message contains a generic description of the error
1037
+ * condition in English. It is intended for a human audience. Simple programs display the message directly
1038
+ * to the end user if they encounter an error condition they don't know how or don't care to handle.
1039
+ * Sophisticated programs with more exhaustive error handling and proper internationalization are
1040
+ * more likely to ignore the error message.</p>
1041
+ */
1042
+ Message?: string;
1043
+ }
1044
+ /**
1045
+ * <p>Describes the destination file system to create in the replication configuration.</p>
1046
+ */
1047
+ export interface DestinationToCreate {
1048
+ /**
1049
+ * <p>To create a file system that uses regional storage, specify the Amazon Web Services Region
1050
+ * in which to create the destination file system.</p>
1051
+ */
1052
+ Region?: string;
1053
+ /**
1054
+ * <p>To create a file system that uses One Zone storage, specify the name of the
1055
+ * Availability Zone in which to create the destination file system.</p>
1056
+ */
1057
+ AvailabilityZoneName?: string;
1058
+ /**
1059
+ * <p>Specifies the KMS key you want to use to encrypt the destination file system. If you do not
1060
+ * specify a KMS key, EFS uses your default KMS key for Amazon EFS,
1061
+ * <code>/aws/elasticfilesystem</code>. This ID can be in one of the following
1062
+ * formats:</p>
1063
+ * <ul>
1064
+ * <li>
1065
+ * <p>Key ID - A unique identifier of the key, for example
1066
+ * <code>1234abcd-12ab-34cd-56ef-1234567890ab</code>.</p>
1067
+ * </li>
1068
+ * <li>
1069
+ * <p>ARN - An Amazon Resource Name (ARN) for the key, for example
1070
+ * <code>arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab</code>.</p>
1071
+ * </li>
1072
+ * <li>
1073
+ * <p>Key alias - A previously created display name for a key, for example
1074
+ * <code>alias/projectKey1</code>.</p>
1075
+ * </li>
1076
+ * <li>
1077
+ * <p>Key alias ARN - An ARN for a key alias, for example
1078
+ * <code>arn:aws:kms:us-west-2:444455556666:alias/projectKey1</code>.</p>
1079
+ * </li>
1080
+ * </ul>
1081
+ */
1082
+ KmsKeyId?: string;
1083
+ }
1084
+ export declare namespace DestinationToCreate {
1085
+ /**
1086
+ * @internal
1087
+ */
1088
+ const filterSensitiveLog: (obj: DestinationToCreate) => any;
1089
+ }
1090
+ export interface CreateReplicationConfigurationRequest {
1091
+ /**
1092
+ * <p>Specifies the Amazon EFS file system that you want to replicate. This file system cannot already be
1093
+ * a source or destination file system in another replication configuration.</p>
1094
+ */
1095
+ SourceFileSystemId: string | undefined;
1096
+ /**
1097
+ * <p>An array of destination configuration objects. Only one destination configuration object is supported.</p>
1098
+ */
1099
+ Destinations: DestinationToCreate[] | undefined;
1100
+ }
1101
+ export declare namespace CreateReplicationConfigurationRequest {
1102
+ /**
1103
+ * @internal
1104
+ */
1105
+ const filterSensitiveLog: (obj: CreateReplicationConfigurationRequest) => any;
1106
+ }
1107
+ export declare enum ReplicationStatus {
1108
+ DELETING = "DELETING",
1109
+ ENABLED = "ENABLED",
1110
+ ENABLING = "ENABLING",
1111
+ ERROR = "ERROR"
1112
+ }
1113
+ /**
1114
+ * <p>Describes the destination file system in the replication configuration.</p>
1115
+ */
1116
+ export interface Destination {
1117
+ /**
1118
+ * <p>Describes the status of the destination Amazon EFS file system.</p>
1119
+ */
1120
+ Status: ReplicationStatus | string | undefined;
1121
+ /**
1122
+ * <p>The ID of the destination Amazon EFS file system.</p>
1123
+ */
1124
+ FileSystemId: string | undefined;
1125
+ /**
1126
+ * <p>The Amazon Web Services Region in which the destination file system is located.</p>
1127
+ */
1128
+ Region: string | undefined;
1129
+ /**
1130
+ * <p>The time when the most recent sync successfully completed on the destination file system.
1131
+ * Any changes to data on the source file system that occurred prior to this time were successfully
1132
+ * replicated to the destination file system. Any changes that occurred after this time might not be
1133
+ * fully replicated.</p>
1134
+ */
1135
+ LastReplicatedTimestamp?: Date;
1136
+ }
1137
+ export declare namespace Destination {
1138
+ /**
1139
+ * @internal
1140
+ */
1141
+ const filterSensitiveLog: (obj: Destination) => any;
1142
+ }
1143
+ export interface ReplicationConfigurationDescription {
1144
+ /**
1145
+ * <p>The ID of the source Amazon EFS file system that is being replicated.</p>
1146
+ */
1147
+ SourceFileSystemId: string | undefined;
1148
+ /**
1149
+ * <p>The Amazon Web Services Region in which the source Amazon EFS file system is located.</p>
1150
+ */
1151
+ SourceFileSystemRegion: string | undefined;
1152
+ /**
1153
+ * <p>The ARN of the current source file system in the replication configuration.</p>
1154
+ */
1155
+ SourceFileSystemArn: string | undefined;
1156
+ /**
1157
+ * <p>The Amazon Resource Name (ARN) of the original source Amazon EFS file system in the replication configuration.</p>
1158
+ */
1159
+ OriginalSourceFileSystemArn: string | undefined;
1160
+ /**
1161
+ * <p>Describes when the replication configuration was created.</p>
1162
+ */
1163
+ CreationTime: Date | undefined;
1164
+ /**
1165
+ * <p>Array of destination objects. Only one destination object is supported.</p>
1166
+ */
1167
+ Destinations: Destination[] | undefined;
1168
+ }
1169
+ export declare namespace ReplicationConfigurationDescription {
1170
+ /**
1171
+ * @internal
1172
+ */
1173
+ const filterSensitiveLog: (obj: ReplicationConfigurationDescription) => any;
1174
+ }
1175
+ /**
1176
+ * <p>Returned if the specified file system did not have a replication configuration.</p>
1177
+ */
1178
+ export interface ReplicationNotFound extends __SmithyException, $MetadataBearer {
1179
+ name: "ReplicationNotFound";
1180
+ $fault: "client";
1181
+ /**
1182
+ * <p>ReplicationNotFound</p>
1183
+ */
1184
+ ErrorCode?: string;
1185
+ /**
1186
+ * <p>The error message contains a generic description of the error
1187
+ * condition in English. It is intended for a human audience. Simple programs display the message directly
1188
+ * to the end user if they encounter an error condition they don't know how or don't care to handle.
1189
+ * Sophisticated programs with more exhaustive error handling and proper internationalization are
1190
+ * more likely to ignore the error message.</p>
1191
+ */
1192
+ Message?: string;
1193
+ }
1194
+ /**
1195
+ * <p>Returned if the Backup service is not available in the Amazon Web Services Region in which the request was made.</p>
1196
+ */
1197
+ export interface ValidationException extends __SmithyException, $MetadataBearer {
1198
+ name: "ValidationException";
1199
+ $fault: "client";
1200
+ /**
1201
+ * <p>The error code is a string that uniquely identifies an error condition.
1202
+ * It is meant to be read and understood by programs that detect and handle errors by type. </p>
1203
+ */
820
1204
  ErrorCode: string | undefined;
1205
+ /**
1206
+ * <p>The error message contains a generic description of the error
1207
+ * condition in English. It is intended for a human audience. Simple programs display the message directly
1208
+ * to the end user if they encounter an error condition they don't know how or don't care to handle.
1209
+ * Sophisticated programs with more exhaustive error handling and proper internationalization are
1210
+ * more likely to ignore the error message.</p>
1211
+ */
821
1212
  Message?: string;
822
1213
  }
823
1214
  /**
@@ -874,7 +1265,18 @@ export declare namespace DeleteFileSystemRequest {
874
1265
  export interface FileSystemInUse extends __SmithyException, $MetadataBearer {
875
1266
  name: "FileSystemInUse";
876
1267
  $fault: "client";
1268
+ /**
1269
+ * <p>The error code is a string that uniquely identifies an error condition.
1270
+ * It is meant to be read and understood by programs that detect and handle errors by type. </p>
1271
+ */
877
1272
  ErrorCode: string | undefined;
1273
+ /**
1274
+ * <p>The error message contains a generic description of the error
1275
+ * condition in English. It is intended for a human audience. Simple programs display the message directly
1276
+ * to the end user if they encounter an error condition they don't know how or don't care to handle.
1277
+ * Sophisticated programs with more exhaustive error handling and proper internationalization are
1278
+ * more likely to ignore the error message.</p>
1279
+ */
878
1280
  Message?: string;
879
1281
  }
880
1282
  export interface DeleteFileSystemPolicyRequest {
@@ -911,7 +1313,18 @@ export declare namespace DeleteMountTargetRequest {
911
1313
  export interface DependencyTimeout extends __SmithyException, $MetadataBearer {
912
1314
  name: "DependencyTimeout";
913
1315
  $fault: "server";
1316
+ /**
1317
+ * <p>The error code is a string that uniquely identifies an error condition.
1318
+ * It is meant to be read and understood by programs that detect and handle errors by type. </p>
1319
+ */
914
1320
  ErrorCode: string | undefined;
1321
+ /**
1322
+ * <p>The error message contains a generic description of the error
1323
+ * condition in English. It is intended for a human audience. Simple programs display the message directly
1324
+ * to the end user if they encounter an error condition they don't know how or don't care to handle.
1325
+ * Sophisticated programs with more exhaustive error handling and proper internationalization are
1326
+ * more likely to ignore the error message.</p>
1327
+ */
915
1328
  Message?: string;
916
1329
  }
917
1330
  /**
@@ -921,9 +1334,32 @@ export interface DependencyTimeout extends __SmithyException, $MetadataBearer {
921
1334
  export interface MountTargetNotFound extends __SmithyException, $MetadataBearer {
922
1335
  name: "MountTargetNotFound";
923
1336
  $fault: "client";
1337
+ /**
1338
+ * <p>The error code is a string that uniquely identifies an error condition.
1339
+ * It is meant to be read and understood by programs that detect and handle errors by type. </p>
1340
+ */
924
1341
  ErrorCode: string | undefined;
1342
+ /**
1343
+ * <p>The error message contains a generic description of the error
1344
+ * condition in English. It is intended for a human audience. Simple programs display the message directly
1345
+ * to the end user if they encounter an error condition they don't know how or don't care to handle.
1346
+ * Sophisticated programs with more exhaustive error handling and proper internationalization are
1347
+ * more likely to ignore the error message.</p>
1348
+ */
925
1349
  Message?: string;
926
1350
  }
1351
+ export interface DeleteReplicationConfigurationRequest {
1352
+ /**
1353
+ * <p>The ID of the source file system in the replication configuration.</p>
1354
+ */
1355
+ SourceFileSystemId: string | undefined;
1356
+ }
1357
+ export declare namespace DeleteReplicationConfigurationRequest {
1358
+ /**
1359
+ * @internal
1360
+ */
1361
+ const filterSensitiveLog: (obj: DeleteReplicationConfigurationRequest) => any;
1362
+ }
927
1363
  /**
928
1364
  * <p></p>
929
1365
  */
@@ -952,7 +1388,8 @@ export interface DescribeAccessPointsRequest {
952
1388
  MaxResults?: number;
953
1389
  /**
954
1390
  * <p>
955
- * <code>NextToken</code> is present if the response is paginated. You can use <code>NextMarker</code> in the subsequent request to fetch the next page of access point descriptions.</p>
1391
+ * <code>NextToken</code> is present if the response is paginated. You can use
1392
+ * <code>NextMarker</code> in the subsequent request to fetch the next page of access point descriptions.</p>
956
1393
  */
957
1394
  NextToken?: string;
958
1395
  /**
@@ -1068,16 +1505,18 @@ export declare namespace DescribeBackupPolicyRequest {
1068
1505
  export interface PolicyNotFound extends __SmithyException, $MetadataBearer {
1069
1506
  name: "PolicyNotFound";
1070
1507
  $fault: "client";
1508
+ /**
1509
+ * <p>The error code is a string that uniquely identifies an error condition.
1510
+ * It is meant to be read and understood by programs that detect and handle errors by type. </p>
1511
+ */
1071
1512
  ErrorCode?: string;
1072
- Message?: string;
1073
- }
1074
- /**
1075
- * <p>Returned if the Backup service is not available in the Amazon Web Services Region in which the request was made.</p>
1076
- */
1077
- export interface ValidationException extends __SmithyException, $MetadataBearer {
1078
- name: "ValidationException";
1079
- $fault: "client";
1080
- ErrorCode: string | undefined;
1513
+ /**
1514
+ * <p>The error message contains a generic description of the error
1515
+ * condition in English. It is intended for a human audience. Simple programs display the message directly
1516
+ * to the end user if they encounter an error condition they don't know how or don't care to handle.
1517
+ * Sophisticated programs with more exhaustive error handling and proper internationalization are
1518
+ * more likely to ignore the error message.</p>
1519
+ */
1081
1520
  Message?: string;
1082
1521
  }
1083
1522
  export interface DescribeFileSystemPolicyRequest {
@@ -1330,9 +1769,60 @@ export declare namespace DescribeMountTargetSecurityGroupsResponse {
1330
1769
  export interface IncorrectMountTargetState extends __SmithyException, $MetadataBearer {
1331
1770
  name: "IncorrectMountTargetState";
1332
1771
  $fault: "client";
1772
+ /**
1773
+ * <p>The error code is a string that uniquely identifies an error condition.
1774
+ * It is meant to be read and understood by programs that detect and handle errors by type. </p>
1775
+ */
1333
1776
  ErrorCode: string | undefined;
1777
+ /**
1778
+ * <p>The error message contains a generic description of the error
1779
+ * condition in English. It is intended for a human audience. Simple programs display the message directly
1780
+ * to the end user if they encounter an error condition they don't know how or don't care to handle.
1781
+ * Sophisticated programs with more exhaustive error handling and proper internationalization are
1782
+ * more likely to ignore the error message.</p>
1783
+ */
1334
1784
  Message?: string;
1335
1785
  }
1786
+ export interface DescribeReplicationConfigurationsRequest {
1787
+ /**
1788
+ * <p>You can retrieve replication configurations for a specific file system by providing a file system ID.</p>
1789
+ */
1790
+ FileSystemId?: string;
1791
+ /**
1792
+ * <p>
1793
+ * <code>NextToken</code> is present if the response is paginated. You can use
1794
+ * <code>NextMarker</code> in a subsequent request to fetch the next page of output.</p>
1795
+ */
1796
+ NextToken?: string;
1797
+ /**
1798
+ * <p>(Optional) You can optionally specify the <code>MaxItems</code> parameter
1799
+ * to limit the number of objects returned in a response. The default value is 100. </p>
1800
+ */
1801
+ MaxResults?: number;
1802
+ }
1803
+ export declare namespace DescribeReplicationConfigurationsRequest {
1804
+ /**
1805
+ * @internal
1806
+ */
1807
+ const filterSensitiveLog: (obj: DescribeReplicationConfigurationsRequest) => any;
1808
+ }
1809
+ export interface DescribeReplicationConfigurationsResponse {
1810
+ /**
1811
+ * <p>The collection of replication configurations returned.</p>
1812
+ */
1813
+ Replications?: ReplicationConfigurationDescription[];
1814
+ /**
1815
+ * <p>You can use the <code>NextToken</code> from the previous response in a subsequent
1816
+ * request to fetch the additional descriptions.</p>
1817
+ */
1818
+ NextToken?: string;
1819
+ }
1820
+ export declare namespace DescribeReplicationConfigurationsResponse {
1821
+ /**
1822
+ * @internal
1823
+ */
1824
+ const filterSensitiveLog: (obj: DescribeReplicationConfigurationsResponse) => any;
1825
+ }
1336
1826
  /**
1337
1827
  * <p></p>
1338
1828
  */
@@ -1394,7 +1884,18 @@ export declare namespace DescribeTagsResponse {
1394
1884
  export interface InvalidPolicyException extends __SmithyException, $MetadataBearer {
1395
1885
  name: "InvalidPolicyException";
1396
1886
  $fault: "client";
1887
+ /**
1888
+ * <p>The error code is a string that uniquely identifies an error condition.
1889
+ * It is meant to be read and understood by programs that detect and handle errors by type. </p>
1890
+ */
1397
1891
  ErrorCode?: string;
1892
+ /**
1893
+ * <p>The error message contains a generic description of the error
1894
+ * condition in English. It is intended for a human audience. Simple programs display the message directly
1895
+ * to the end user if they encounter an error condition they don't know how or don't care to handle.
1896
+ * Sophisticated programs with more exhaustive error handling and proper internationalization are
1897
+ * more likely to ignore the error message.</p>
1898
+ */
1398
1899
  Message?: string;
1399
1900
  }
1400
1901
  export interface ListTagsForResourceRequest {
@@ -1455,11 +1956,13 @@ export declare namespace ModifyMountTargetSecurityGroupsRequest {
1455
1956
  }
1456
1957
  export interface PutAccountPreferencesRequest {
1457
1958
  /**
1458
- * <p>Specifies the EFS resource ID preference to set for the user's Amazon Web Services account, in the current Amazon Web Services Region,
1459
- * either <code>LONG_ID</code> (17 characters), or <code>SHORT_ID</code> (8 characters).</p>
1959
+ * <p>Specifies the EFS resource ID preference to set for the user's Amazon Web Services account,
1960
+ * in the current Amazon Web Services Region, either <code>LONG_ID</code> (17 characters), or
1961
+ * <code>SHORT_ID</code> (8 characters).</p>
1460
1962
  * <note>
1461
- * <p>Starting in October, 2021, you will receive an error when setting the account preference to <code>SHORT_ID</code>.
1462
- * Contact Amazon Web Services support if you receive an error and need to use short IDs for file system and mount target resources.</p>
1963
+ * <p>Starting in October, 2021, you will receive an error when setting the account
1964
+ * preference to <code>SHORT_ID</code>. Contact Amazon Web Services support if you receive an
1965
+ * error and need to use short IDs for file system and mount target resources.</p>
1463
1966
  * </note>
1464
1967
  */
1465
1968
  ResourceIdType: ResourceIdType | string | undefined;
@@ -1602,7 +2105,18 @@ export declare namespace UntagResourceRequest {
1602
2105
  export interface TooManyRequests extends __SmithyException, $MetadataBearer {
1603
2106
  name: "TooManyRequests";
1604
2107
  $fault: "client";
2108
+ /**
2109
+ * <p>The error code is a string that uniquely identifies an error condition.
2110
+ * It is meant to be read and understood by programs that detect and handle errors by type. </p>
2111
+ */
1605
2112
  ErrorCode: string | undefined;
2113
+ /**
2114
+ * <p>The error message contains a generic description of the error
2115
+ * condition in English. It is intended for a human audience. Simple programs display the message directly
2116
+ * to the end user if they encounter an error condition they don't know how or don't care to handle.
2117
+ * Sophisticated programs with more exhaustive error handling and proper internationalization are
2118
+ * more likely to ignore the error message.</p>
2119
+ */
1606
2120
  Message?: string;
1607
2121
  }
1608
2122
  export interface UpdateFileSystemRequest {