@aws-sdk/client-efs 3.1178.0 → 3.1180.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 (31) hide show
  1. package/README.md +7 -0
  2. package/dist-cjs/index.js +55 -6
  3. package/dist-es/EFS.js +2 -0
  4. package/dist-es/commands/CreateMountSessionCommand.js +4 -0
  5. package/dist-es/commands/index.js +1 -0
  6. package/dist-es/models/enums.js +4 -0
  7. package/dist-es/schemas/schemas_0.js +40 -5
  8. package/dist-types/EFS.d.ts +7 -0
  9. package/dist-types/EFSClient.d.ts +3 -2
  10. package/dist-types/commands/CreateFileSystemCommand.d.ts +5 -0
  11. package/dist-types/commands/CreateMountSessionCommand.d.ts +109 -0
  12. package/dist-types/commands/CreateMountTargetCommand.d.ts +39 -92
  13. package/dist-types/commands/DeleteMountTargetCommand.d.ts +9 -2
  14. package/dist-types/commands/DeleteReplicationConfigurationCommand.d.ts +5 -0
  15. package/dist-types/commands/DescribeBackupPolicyCommand.d.ts +2 -1
  16. package/dist-types/commands/DescribeFileSystemPolicyCommand.d.ts +2 -1
  17. package/dist-types/commands/DescribeMountTargetsCommand.d.ts +2 -0
  18. package/dist-types/commands/ModifyMountTargetSecurityGroupsCommand.d.ts +8 -1
  19. package/dist-types/commands/index.d.ts +1 -0
  20. package/dist-types/models/enums.d.ts +12 -0
  21. package/dist-types/models/errors.d.ts +8 -7
  22. package/dist-types/models/models_0.d.ts +129 -31
  23. package/dist-types/schemas/schemas_0.d.ts +4 -0
  24. package/dist-types/ts3.4/EFS.d.ts +17 -0
  25. package/dist-types/ts3.4/EFSClient.d.ts +6 -0
  26. package/dist-types/ts3.4/commands/CreateMountSessionCommand.d.ts +39 -0
  27. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  28. package/dist-types/ts3.4/models/enums.d.ts +5 -0
  29. package/dist-types/ts3.4/models/models_0.d.ts +20 -0
  30. package/dist-types/ts3.4/schemas/schemas_0.d.ts +4 -0
  31. package/package.json +1 -1
@@ -25,85 +25,31 @@ declare const CreateMountTargetCommand_base: {
25
25
  };
26
26
  /**
27
27
  * <p>Creates a mount target for a file system. You can then mount the file system on EC2
28
- * instances by using the mount target.</p>
29
- * <p>You can create one mount target in each Availability Zone in your VPC. All EC2 instances
30
- * in a VPC within a given Availability Zone share a single mount target for a given file system. If
31
- * you have multiple subnets in an Availability Zone, you create a mount target in one of the subnets.
32
- * EC2 instances do not need to be in the same subnet as the mount target in order to
33
- * access their file system.</p>
34
- * <p>You can create only one mount target for a One Zone file system. You must
35
- * create that mount target in the same Availability Zone in which the file system is located. Use the
36
- * <code>AvailabilityZoneName</code> and <code>AvailabiltyZoneId</code> properties in the <a>DescribeFileSystems</a> response object to get this information. Use the
37
- * <code>subnetId</code> associated with the file system's Availability Zone when creating the mount
38
- * target.</p>
39
- * <p>For more information, see <a href="https://docs.aws.amazon.com/efs/latest/ug/how-it-works.html">Amazon EFS: How it Works</a>. </p>
40
- * <p>To create a mount target for a file system, the file system's lifecycle state must be
41
- * <code>available</code>. For more information, see <a>DescribeFileSystems</a>.</p>
42
- * <p>In the request, provide the following:</p>
43
- * <ul>
44
- * <li>
45
- * <p>The file system ID for which you are creating the mount
46
- * target.</p>
47
- * </li>
48
- * <li>
49
- * <p>A subnet ID, which determines the following:</p>
50
- * <ul>
51
- * <li>
52
- * <p>The VPC in which Amazon EFS creates the mount target</p>
53
- * </li>
54
- * <li>
55
- * <p>The Availability Zone in which Amazon EFS creates the mount target</p>
56
- * </li>
57
- * <li>
58
- * <p>The IP address range from which Amazon EFS selects the IP address of the mount target
59
- * (if you don't specify an IP address in the request)</p>
60
- * </li>
61
- * </ul>
62
- * </li>
63
- * </ul>
64
- * <p>After creating the mount target, Amazon EFS returns a response that includes, a
65
- * <code>MountTargetId</code> and an <code>IpAddress</code>. You use this IP address when
66
- * mounting the file system in an EC2 instance. You can also use the mount target's
67
- * DNS name when mounting the file system. The EC2 instance on which you mount the file
68
- * system by using the mount target can resolve the mount target's DNS name to its IP
69
- * address. For more information, see <a href="https://docs.aws.amazon.com/efs/latest/ug/how-it-works.html#how-it-works-implementation">How it Works:
70
- * Implementation Overview</a>. </p>
28
+ * instances by using the mount target. For more information about mount targets, see <a href="https://docs.aws.amazon.com/efs/latest/ug/accessing-fs.html">Managing mount targets</a>. </p>
29
+ * <p>To create a mount target for an EFS file system, the file system's
30
+ * lifecycle state must be <code>available</code>. For more information, see <a>DescribeFileSystems</a>.</p>
31
+ * <p>After creating the mount target, Amazon EFS returns a response that includes a
32
+ * <code>MountTargetId</code> and an IP address (<code>IpAddress</code> or
33
+ * <code>Ipv6Address</code>). You use this IP address when mounting the file system in an
34
+ * EC2 instance. You can also use the mount target's DNS name when mounting the file
35
+ * system. The EC2 instance on which you mount the file system by using the mount target
36
+ * can resolve the mount target's DNS name to its IP address. For more information, see
37
+ * <a href="https://docs.aws.amazon.com/efs/latest/ug/how-it-works.html">How Amazon EFS
38
+ * works</a>. </p>
71
39
  * <p>Note that you can create mount targets for a file system in only one VPC, and there can be
72
- * only one mount target per Availability Zone. That is, if the file system already has one or more
73
- * mount targets created for it, the subnet specified in the request to add another mount target
74
- * must meet the following requirements:</p>
75
- * <ul>
76
- * <li>
77
- * <p>Must belong to the same VPC as the subnets of the existing mount targets</p>
78
- * </li>
79
- * <li>
80
- * <p>Must not be in the same Availability Zone as any of the subnets of the existing mount
81
- * targets</p>
82
- * </li>
83
- * </ul>
40
+ * only one mount target per Availability Zone. For more information, see <a href="https://docs.aws.amazon.com/efs/latest/ug/manage-fs-access-create-delete-mount-targets.html">Creating mount
41
+ * targets</a>.</p>
84
42
  * <p>If the request satisfies the requirements, Amazon EFS does the following:</p>
85
43
  * <ul>
86
44
  * <li>
87
45
  * <p>Creates a new mount target in the specified subnet.</p>
88
46
  * </li>
89
47
  * <li>
90
- * <p>Also creates a new network interface in the subnet as follows:</p>
48
+ * <p>Creates a new network interface in the subnet with the folowing:</p>
91
49
  * <ul>
92
50
  * <li>
93
- * <p>If the request provides an <code>IpAddress</code>, Amazon EFS assigns that
94
- * IP address to the network interface. Otherwise, Amazon EFS assigns a free
95
- * address in the subnet (in the same way that the Amazon EC2
96
- * <code>CreateNetworkInterface</code> call does when a request does not specify a
97
- * primary private IP address).</p>
98
- * </li>
99
- * <li>
100
- * <p>If the request provides <code>SecurityGroups</code>, this network interface is
101
- * associated with those security groups. Otherwise, it belongs to the default security
102
- * group for the subnet's VPC.</p>
103
- * </li>
104
- * <li>
105
- * <p>Assigns the description <code>Mount target <i>fsmt-id</i> for
106
- * file system <i>fs-id</i>
51
+ * <p>The description <code>Mount target <i>fsmt-id</i> for file system
52
+ * <i>fs-id</i>
107
53
  * </code> where <code>
108
54
  * <i>fsmt-id</i>
109
55
  * </code> is the mount target ID, and <code>
@@ -111,17 +57,16 @@ declare const CreateMountTargetCommand_base: {
111
57
  * </code> is the <code>FileSystemId</code>.</p>
112
58
  * </li>
113
59
  * <li>
114
- * <p>Sets the <code>requesterManaged</code> property of the network interface to
115
- * <code>true</code>, and the <code>requesterId</code> value to
60
+ * <p>The <code>requesterManaged</code> property of the network interface set to
61
+ * <code>true</code>, and the <code>requesterId</code> value set to
116
62
  * <code>EFS</code>.</p>
117
63
  * </li>
118
64
  * </ul>
119
- * <p>Each Amazon EFS mount target has one corresponding requester-managed
120
- * EC2 network interface. After the network interface is created, Amazon EFS
121
- * sets the <code>NetworkInterfaceId</code> field in the mount target's description to
122
- * the network interface ID, and the <code>IpAddress</code> field to its address. If network
123
- * interface creation fails, the entire <code>CreateMountTarget</code> operation
124
- * fails.</p>
65
+ * <p>Each mount target has one corresponding requester-managed EC2 network
66
+ * interface. After the network interface is created, Amazon EFS sets the
67
+ * <code>NetworkInterfaceId</code> field in the mount target's description to the
68
+ * network interface ID, and the IP address to its address. If network interface creation
69
+ * fails, the entire <code>CreateMountTarget</code> operation fails.</p>
125
70
  * </li>
126
71
  * </ul>
127
72
  * <note>
@@ -130,12 +75,6 @@ declare const CreateMountTargetCommand_base: {
130
75
  * the mount target creation status by calling the <a>DescribeMountTargets</a> operation, which among other things returns the mount
131
76
  * target state.</p>
132
77
  * </note>
133
- * <p>We recommend that you create a mount target in each of the Availability Zones. There are cost
134
- * considerations for using a file system in an Availability Zone through a mount target created in
135
- * another Availability Zone. For more information, see <a href="http://aws.amazon.com/efs/pricing/">Amazon EFS pricing</a>. In addition, by always using a mount target local to the
136
- * instance's Availability Zone, you eliminate a partial failure scenario. If the Availability Zone in
137
- * which your mount target is created goes down, then you can't access your file system
138
- * through that mount target. </p>
139
78
  * <p>This operation requires permissions for the following action on the file
140
79
  * system:</p>
141
80
  * <ul>
@@ -145,8 +84,10 @@ declare const CreateMountTargetCommand_base: {
145
84
  * </p>
146
85
  * </li>
147
86
  * </ul>
148
- * <p>This operation also requires permissions for the following Amazon EC2
149
- * actions:</p>
87
+ * <p>Unless you use the <a href="https://docs.aws.amazon.com/efs/latest/ug/using-service-linked-roles.html">Amazon EFS service-linked
88
+ * role</a>, which performs these actions on
89
+ * your behalf by default, this operation also requires permissions for the following Amazon
90
+ * EC2 actions:</p>
150
91
  * <ul>
151
92
  * <li>
152
93
  * <p>
@@ -196,6 +137,7 @@ declare const CreateMountTargetCommand_base: {
196
137
  * // AvailabilityZoneId: "STRING_VALUE",
197
138
  * // AvailabilityZoneName: "STRING_VALUE",
198
139
  * // VpcId: "STRING_VALUE",
140
+ * // StatusMessage: "STRING_VALUE",
199
141
  * // };
200
142
  *
201
143
  * ```
@@ -207,9 +149,9 @@ declare const CreateMountTargetCommand_base: {
207
149
  * @see {@link EFSClientResolvedConfig | config} for EFSClient's `config` shape.
208
150
  *
209
151
  * @throws {@link AvailabilityZonesMismatch} (client fault)
210
- * <p>Returned if the Availability Zone that was specified for a mount target is
211
- * different from the Availability Zone that was specified for One Zone storage.
212
- * For more information, see <a href="https://docs.aws.amazon.com/efs/latest/ug/availability-durability.html">Regional and One Zone storage redundancy</a>.</p>
152
+ * <p>Returned if the Availability Zone that was specified for the mount target is
153
+ * different from the file system's Availability Zone.
154
+ * For more information, see <a href="https://docs.aws.amazon.com/efs/latest/ug/accessing-fs">Regional and One Zone storage redundancy</a>.</p>
213
155
  *
214
156
  * @throws {@link BadRequest} (client fault)
215
157
  * <p>Returned if the request is malformed or contains an error such as an invalid
@@ -226,7 +168,7 @@ declare const CreateMountTargetCommand_base: {
226
168
  * <p>Returned if an error occurred on the server side.</p>
227
169
  *
228
170
  * @throws {@link IpAddressInUse} (client fault)
229
- * <p>Returned if the request specified an <code>IpAddress</code> that is already in use
171
+ * <p>Returned if the request specified an IP address (<code>IpAddress</code> or <code>Ipv6Address</code>) that is already in use
230
172
  * in the subnet.</p>
231
173
  *
232
174
  * @throws {@link MountTargetConflict} (client fault)
@@ -242,8 +184,8 @@ declare const CreateMountTargetCommand_base: {
242
184
  * interfaces</b> table). </p>
243
185
  *
244
186
  * @throws {@link NoFreeAddressesInSubnet} (client fault)
245
- * <p>Returned if <code>IpAddress</code> was not specified in the request and there are
246
- * no free IP addresses in the subnet.</p>
187
+ * <p>Returned no <code>IpAddress</code> or <code>Ipv6Address</code> was provided in the request and there are
188
+ * no free IP addresses in the specified subnet.</p>
247
189
  *
248
190
  * @throws {@link SecurityGroupLimitExceeded} (client fault)
249
191
  * <p>Returned if the number of <code>SecurityGroups</code> specified in the request is
@@ -261,6 +203,11 @@ declare const CreateMountTargetCommand_base: {
261
203
  * <p>Returned if there is no subnet with ID <code>SubnetId</code> provided in the
262
204
  * request.</p>
263
205
  *
206
+ * @throws {@link ThrottlingException} (client fault)
207
+ * <p>Returned when the <code>CreateAccessPoint</code> API action is called too quickly and
208
+ * the number of Access Points on the file system is nearing the
209
+ * <a href="https://docs.aws.amazon.com/efs/latest/ug/limits.html#limits-efs-resources-per-account-per-region">limit of 120</a>.</p>
210
+ *
264
211
  * @throws {@link UnsupportedAvailabilityZone} (client fault)
265
212
  * <p>Returned if the requested Amazon EFS functionality is not available in the specified Availability Zone.</p>
266
213
  *
@@ -46,8 +46,10 @@ declare const DeleteMountTargetCommand_base: {
46
46
  * <code>deleting</code>. You can check the mount target deletion by calling the <a>DescribeMountTargets</a> operation, which returns a list of mount target
47
47
  * descriptions for the given file system. </p>
48
48
  * </note>
49
- * <p>The operation also requires permissions for the following Amazon EC2 action on the
50
- * mount target's network interface:</p>
49
+ * <p>Unless you use the <a href="https://docs.aws.amazon.com/efs/latest/ug/using-service-linked-roles.html">Amazon EFS service-linked
50
+ * role</a>, which performs this action on
51
+ * your behalf by default, this operation also requires permissions for the following Amazon
52
+ * EC2 action on the mount target's network interface:</p>
51
53
  * <ul>
52
54
  * <li>
53
55
  * <p>
@@ -93,6 +95,11 @@ declare const DeleteMountTargetCommand_base: {
93
95
  * <p>Returned if there is no mount target with the specified ID found in the
94
96
  * caller's Amazon Web Services account.</p>
95
97
  *
98
+ * @throws {@link ThrottlingException} (client fault)
99
+ * <p>Returned when the <code>CreateAccessPoint</code> API action is called too quickly and
100
+ * the number of Access Points on the file system is nearing the
101
+ * <a href="https://docs.aws.amazon.com/efs/latest/ug/limits.html#limits-efs-resources-per-account-per-region">limit of 120</a>.</p>
102
+ *
96
103
  * @throws {@link EFSServiceException}
97
104
  * <p>Base exception class for all service exceptions from EFS service.</p>
98
105
  *
@@ -69,6 +69,11 @@ declare const DeleteReplicationConfigurationCommand_base: {
69
69
  * <p>Returned if the specified file system does not have a replication
70
70
  * configuration.</p>
71
71
  *
72
+ * @throws {@link ThrottlingException} (client fault)
73
+ * <p>Returned when the <code>CreateAccessPoint</code> API action is called too quickly and
74
+ * the number of Access Points on the file system is nearing the
75
+ * <a href="https://docs.aws.amazon.com/efs/latest/ug/limits.html#limits-efs-resources-per-account-per-region">limit of 120</a>.</p>
76
+ *
72
77
  * @throws {@link EFSServiceException}
73
78
  * <p>Base exception class for all service exceptions from EFS service.</p>
74
79
  *
@@ -64,7 +64,8 @@ declare const DescribeBackupPolicyCommand_base: {
64
64
  * <p>Returned if an error occurred on the server side.</p>
65
65
  *
66
66
  * @throws {@link PolicyNotFound} (client fault)
67
- * <p>Returned if <code>no backup</code> is specified for a One Zone EFS file system.</p>
67
+ * <p>Returned if the specified IAM policy or resource policy cannot be located or accessed. Depending on the action being performed, the error may also be returned if the default file system policy
68
+ * is in effect for the EFS file system or if no backup policy is specified.</p>
68
69
  *
69
70
  * @throws {@link ValidationException} (client fault)
70
71
  * <p>Returned if the Backup service is not available in the Amazon Web Services Region in which the request was made.</p>
@@ -65,7 +65,8 @@ declare const DescribeFileSystemPolicyCommand_base: {
65
65
  * <p>Returned if an error occurred on the server side.</p>
66
66
  *
67
67
  * @throws {@link PolicyNotFound} (client fault)
68
- * <p>Returned if <code>no backup</code> is specified for a One Zone EFS file system.</p>
68
+ * <p>Returned if the specified IAM policy or resource policy cannot be located or accessed. Depending on the action being performed, the error may also be returned if the default file system policy
69
+ * is in effect for the EFS file system or if no backup policy is specified.</p>
69
70
  *
70
71
  * @throws {@link EFSServiceException}
71
72
  * <p>Base exception class for all service exceptions from EFS service.</p>
@@ -31,6 +31,7 @@ declare const DescribeMountTargetsCommand_base: {
31
31
  * <code>elasticfilesystem:DescribeMountTargets</code> action, on either the file system ID
32
32
  * that you specify in <code>FileSystemId</code>, or on the file system of the mount target that
33
33
  * you specify in <code>MountTargetId</code>.</p>
34
+ * <p>The corresponding CLI command is <code>describe-mount-targets</code>.</p>
34
35
  * @example
35
36
  * Use a bare-bones client and the command you need to make an API call.
36
37
  * ```javascript
@@ -63,6 +64,7 @@ declare const DescribeMountTargetsCommand_base: {
63
64
  * // AvailabilityZoneId: "STRING_VALUE",
64
65
  * // AvailabilityZoneName: "STRING_VALUE",
65
66
  * // VpcId: "STRING_VALUE",
67
+ * // StatusMessage: "STRING_VALUE",
66
68
  * // },
67
69
  * // ],
68
70
  * // NextMarker: "STRING_VALUE",
@@ -41,7 +41,9 @@ declare const ModifyMountTargetSecurityGroupsCommand_base: {
41
41
  * <li>
42
42
  * <p>
43
43
  * <code>ec2:ModifyNetworkInterfaceAttribute</code> action on the mount target's network
44
- * interface. </p>
44
+ * interface. Unless you use the <a href="https://docs.aws.amazon.com/efs/latest/ug/using-service-linked-roles.html">Amazon EFS service-linked
45
+ * role</a>, which performs this action on your behalf by default, you must have this
46
+ * permission. </p>
45
47
  * </li>
46
48
  * </ul>
47
49
  * @example
@@ -97,6 +99,11 @@ declare const ModifyMountTargetSecurityGroupsCommand_base: {
97
99
  * <p>Returned if one of the specified security groups doesn't exist in the subnet's
98
100
  * virtual private cloud (VPC).</p>
99
101
  *
102
+ * @throws {@link ThrottlingException} (client fault)
103
+ * <p>Returned when the <code>CreateAccessPoint</code> API action is called too quickly and
104
+ * the number of Access Points on the file system is nearing the
105
+ * <a href="https://docs.aws.amazon.com/efs/latest/ug/limits.html#limits-efs-resources-per-account-per-region">limit of 120</a>.</p>
106
+ *
100
107
  * @throws {@link EFSServiceException}
101
108
  * <p>Base exception class for all service exceptions from EFS service.</p>
102
109
  *
@@ -1,5 +1,6 @@
1
1
  export * from "./CreateAccessPointCommand";
2
2
  export * from "./CreateFileSystemCommand";
3
+ export * from "./CreateMountSessionCommand";
3
4
  export * from "./CreateMountTargetCommand";
4
5
  export * from "./CreateReplicationConfigurationCommand";
5
6
  export * from "./CreateTagsCommand";
@@ -66,6 +66,18 @@ export declare const ReplicationOverwriteProtection: {
66
66
  * @public
67
67
  */
68
68
  export type ReplicationOverwriteProtection = (typeof ReplicationOverwriteProtection)[keyof typeof ReplicationOverwriteProtection];
69
+ /**
70
+ * @public
71
+ * @enum
72
+ */
73
+ export declare const NetworkOrigin: {
74
+ readonly AWS_NETWORK: "AWS_NETWORK";
75
+ readonly EXTERNAL_NETWORK: "EXTERNAL_NETWORK";
76
+ };
77
+ /**
78
+ * @public
79
+ */
80
+ export type NetworkOrigin = (typeof NetworkOrigin)[keyof typeof NetworkOrigin];
69
81
  /**
70
82
  * @public
71
83
  * @enum
@@ -89,9 +89,9 @@ export declare class AccessPointNotFound extends __BaseException {
89
89
  constructor(opts: __ExceptionOptionType<AccessPointNotFound, __BaseException>);
90
90
  }
91
91
  /**
92
- * <p>Returned if the Availability Zone that was specified for a mount target is
93
- * different from the Availability Zone that was specified for One Zone storage.
94
- * For more information, see <a href="https://docs.aws.amazon.com/efs/latest/ug/availability-durability.html">Regional and One Zone storage redundancy</a>.</p>
92
+ * <p>Returned if the Availability Zone that was specified for the mount target is
93
+ * different from the file system's Availability Zone.
94
+ * For more information, see <a href="https://docs.aws.amazon.com/efs/latest/ug/accessing-fs">Regional and One Zone storage redundancy</a>.</p>
95
95
  * @public
96
96
  */
97
97
  export declare class AvailabilityZonesMismatch extends __BaseException {
@@ -439,7 +439,7 @@ export declare class UnsupportedAvailabilityZone extends __BaseException {
439
439
  constructor(opts: __ExceptionOptionType<UnsupportedAvailabilityZone, __BaseException>);
440
440
  }
441
441
  /**
442
- * <p>Returned if the request specified an <code>IpAddress</code> that is already in use
442
+ * <p>Returned if the request specified an IP address (<code>IpAddress</code> or <code>Ipv6Address</code>) that is already in use
443
443
  * in the subnet.</p>
444
444
  * @public
445
445
  */
@@ -530,8 +530,8 @@ export declare class NetworkInterfaceLimitExceeded extends __BaseException {
530
530
  constructor(opts: __ExceptionOptionType<NetworkInterfaceLimitExceeded, __BaseException>);
531
531
  }
532
532
  /**
533
- * <p>Returned if <code>IpAddress</code> was not specified in the request and there are
534
- * no free IP addresses in the subnet.</p>
533
+ * <p>Returned no <code>IpAddress</code> or <code>Ipv6Address</code> was provided in the request and there are
534
+ * no free IP addresses in the specified subnet.</p>
535
535
  * @public
536
536
  */
537
537
  export declare class NoFreeAddressesInSubnet extends __BaseException {
@@ -792,7 +792,8 @@ export declare class MountTargetNotFound extends __BaseException {
792
792
  constructor(opts: __ExceptionOptionType<MountTargetNotFound, __BaseException>);
793
793
  }
794
794
  /**
795
- * <p>Returned if <code>no backup</code> is specified for a One Zone EFS file system.</p>
795
+ * <p>Returned if the specified IAM policy or resource policy cannot be located or accessed. Depending on the action being performed, the error may also be returned if the default file system policy
796
+ * is in effect for the EFS file system or if no backup policy is specified.</p>
796
797
  * @public
797
798
  */
798
799
  export declare class PolicyNotFound extends __BaseException {
@@ -1,4 +1,4 @@
1
- import type { DeletionMode, IpAddressType, LifeCycleState, PerformanceMode, ReplicationOverwriteProtection, ReplicationStatus, Resource, ResourceIdType, Status, ThroughputMode, TransitionToArchiveRules, TransitionToIARules, TransitionToPrimaryStorageClassRules } from "./enums";
1
+ import type { DeletionMode, IpAddressType, LifeCycleState, NetworkOrigin, PerformanceMode, ReplicationOverwriteProtection, ReplicationStatus, Resource, ResourceIdType, Status, ThroughputMode, TransitionToArchiveRules, TransitionToIARules, TransitionToPrimaryStorageClassRules } from "./enums";
2
2
  /**
3
3
  * <p>The full POSIX identity, including the user ID, group ID, and any secondary group IDs, on the access point that is used for all file system operations performed by
4
4
  * NFS clients using the access point.</p>
@@ -280,10 +280,10 @@ export interface CreateFileSystemRequest {
280
280
  */
281
281
  PerformanceMode?: PerformanceMode | undefined;
282
282
  /**
283
- * <p>A Boolean value that, if true, creates an encrypted file system. When creating an
284
- * encrypted file system, you have the option of specifying an existing Key Management Service key (KMS key).
283
+ * <p>Specifies whether the file system is encrypted. As of September 4, 2026, Amazon EFS encrypts all new
284
+ * file systems. The file system is encrypted even if you set this value to <code>false</code>. When creating a file system, you can specify an existing Key Management Service key (KMS key).
285
285
  * If you don't specify a KMS key, then the default KMS key for
286
- * Amazon EFS, <code>/aws/elasticfilesystem</code>, is used to protect the encrypted file system.
286
+ * Amazon EFS, <code>/aws/elasticfilesystem</code>, protects the file system.
287
287
  * </p>
288
288
  * @public
289
289
  */
@@ -310,8 +310,6 @@ export interface CreateFileSystemRequest {
310
310
  * <code>arn:aws:kms:us-west-2:444455556666:alias/projectKey1</code>.</p>
311
311
  * </li>
312
312
  * </ul>
313
- * <p>If you use <code>KmsKeyId</code>, you must set the <a>CreateFileSystemRequest$Encrypted</a>
314
- * parameter to true.</p>
315
313
  * <important>
316
314
  * <p>EFS accepts only symmetric KMS keys. You cannot use asymmetric
317
315
  * KMS keys with Amazon EFS file systems.</p>
@@ -524,7 +522,8 @@ export interface FileSystemDescription {
524
522
  */
525
523
  PerformanceMode: PerformanceMode | undefined;
526
524
  /**
527
- * <p>A Boolean value that, if true, indicates that the file system is encrypted.</p>
525
+ * <p>Specifies whether the file system is encrypted. As of September 4, 2026, Amazon EFS encrypts all new
526
+ * file systems.</p>
528
527
  * @public
529
528
  */
530
529
  Encrypted?: boolean | undefined;
@@ -574,6 +573,97 @@ export interface FileSystemDescription {
574
573
  */
575
574
  FileSystemProtection?: FileSystemProtectionDescription | undefined;
576
575
  }
576
+ /**
577
+ * <p>The parameters for creating a mount session for an Amazon EFS file system.</p>
578
+ * @public
579
+ */
580
+ export interface CreateMountSessionRequest {
581
+ /**
582
+ * <p>The ID of the file system for which to create the mount session.</p>
583
+ * @public
584
+ */
585
+ FileSystemId: string | undefined;
586
+ /**
587
+ * <p>The ID of the Availability Zone (for example, <code>use1-az1</code>) in which you prefer the
588
+ * returned endpoints to be located. The Availability Zone must be in the same Amazon Web Services Region
589
+ * as the file system. This preference is best effort: if Amazon EFS can't provide an
590
+ * endpoint in the preferred Availability Zone, it returns endpoints in another Availability Zone instead of
591
+ * failing the request. If you don't specify a value, Amazon EFS returns endpoints
592
+ * without an Availability Zone preference.</p>
593
+ * @public
594
+ */
595
+ PreferredAvailabilityZoneId?: string | undefined;
596
+ /**
597
+ * <p>Indicates whether the client connects to the file system from within the Amazon Web Services Cloud
598
+ * (<code>AWS_NETWORK</code>). External network (<code>EXTERNAL_NETWORK</code>) connections are
599
+ * not supported.</p>
600
+ * @public
601
+ */
602
+ NetworkOrigin?: NetworkOrigin | undefined;
603
+ }
604
+ /**
605
+ * <p>Describes a single endpoint that a client can use to mount an Amazon EFS file
606
+ * system. An endpoint includes the network address, port, and mount token for the
607
+ * connection.</p>
608
+ * @public
609
+ */
610
+ export interface MountSessionEndpoint {
611
+ /**
612
+ * <p>The ID of the Availability Zone in which the endpoint is located.</p>
613
+ * @public
614
+ */
615
+ AvailabilityZoneId?: string | undefined;
616
+ /**
617
+ * <p>The IPv4 address to connect to for this endpoint.</p>
618
+ * @public
619
+ */
620
+ Ipv4Address?: string | undefined;
621
+ /**
622
+ * <p>The IPv6 address to connect to for this endpoint.</p>
623
+ * @public
624
+ */
625
+ Ipv6Address?: string | undefined;
626
+ /**
627
+ * <p>The port to connect to for this endpoint.</p>
628
+ * @public
629
+ */
630
+ Port?: number | undefined;
631
+ /**
632
+ * <p>An opaque token that the client presents when it connects to this endpoint to mount the
633
+ * file system. Treat the mount token as a credential and keep it secret.</p>
634
+ * @public
635
+ */
636
+ MountToken?: string | undefined;
637
+ /**
638
+ * <p>The time at which this endpoint was issued.</p>
639
+ * @public
640
+ */
641
+ IssuedAt?: Date | undefined;
642
+ }
643
+ /**
644
+ * <p>The endpoints that you can use to mount the file system, and the file system and
645
+ * Availability Zone that they apply to.</p>
646
+ * @public
647
+ */
648
+ export interface CreateMountSessionResponse {
649
+ /**
650
+ * <p>The ID of the file system that the mount session applies to.</p>
651
+ * @public
652
+ */
653
+ FileSystemId?: string | undefined;
654
+ /**
655
+ * <p>The ID of the preferred Availability Zone that was specified in the request, if any. The
656
+ * Availability Zone of an individual endpoint can differ from this value.</p>
657
+ * @public
658
+ */
659
+ PreferredAvailabilityZoneId?: string | undefined;
660
+ /**
661
+ * <p>The endpoints that you can use to mount the file system. Each endpoint includes an IP
662
+ * address, a port, and a mount token.</p>
663
+ * @public
664
+ */
665
+ Endpoints?: MountSessionEndpoint[] | undefined;
666
+ }
577
667
  /**
578
668
  * <p></p>
579
669
  * @public
@@ -586,38 +676,39 @@ export interface CreateMountTargetRequest {
586
676
  FileSystemId: string | undefined;
587
677
  /**
588
678
  * <p>The ID of the subnet to add the mount target in. For One Zone file systems, use the subnet
589
- * that is associated with the file system's Availability Zone.</p>
679
+ * that is associated with the file system's Availability Zone. The subnet type must be the same type
680
+ * as the <code>IpAddressType</code>.</p>
590
681
  * @public
591
682
  */
592
683
  SubnetId: string | undefined;
593
684
  /**
594
- * <p>If the IP address type for the mount target is IPv4, then specify the IPv4 address within
595
- * the address range of the specified subnet.</p>
685
+ * <p>If the <code>IpAddressType</code> for the mount target is IPv4 ( <code>IPV4_ONLY</code> or
686
+ * <code>DUAL_STACK</code>), then specify the IPv4 address to use. If you do not specify an
687
+ * <code>IpAddress</code>, then Amazon EFS selects an unused IP address from the subnet
688
+ * specified for <code>SubnetId</code>.</p>
596
689
  * @public
597
690
  */
598
691
  IpAddress?: string | undefined;
599
692
  /**
600
- * <p>If the IP address type for the mount target is IPv6, then specify the IPv6 address within
601
- * the address range of the specified subnet.</p>
693
+ * <p>If the <code>IPAddressType</code> for the mount target is IPv6 (<code>IPV6_ONLY</code> or
694
+ * <code>DUAL_STACK</code>), then specify the IPv6 address to use. If you do not specify an
695
+ * <code>Ipv6Address</code>, then Amazon EFS selects an unused IP address from the
696
+ * subnet specified for <code>SubnetId</code>.</p>
602
697
  * @public
603
698
  */
604
699
  Ipv6Address?: string | undefined;
605
700
  /**
606
- * <p>Specify the type of IP address of the mount target you are creating. Options are IPv4,
607
- * dual stack, or IPv6. If you don’t specify an IpAddressType, then IPv4 is used.</p>
608
- * <ul>
609
- * <li>
610
- * <p>IPV4_ONLY – Create mount target with IPv4 only subnet or dual-stack subnet.</p>
611
- * </li>
612
- * <li>
613
- * <p>DUAL_STACK – Create mount target with dual-stack subnet.</p>
614
- * </li>
615
- * <li>
616
- * <p>IPV6_ONLY – Create mount target with IPv6 only subnet.</p>
617
- * </li>
618
- * </ul>
701
+ * <p>The IP address type for the mount target. The possible values are <code>IPV4_ONLY</code>
702
+ * (only IPv4 addresses), <code>IPV6_ONLY</code> (only IPv6 addresses), and
703
+ * <code>DUAL_STACK</code> (dual-stack, both IPv4 and IPv6 addresses). If you don’t specify an
704
+ * <code>IpAddressType</code>, then <code>IPV4_ONLY</code> is used.</p>
619
705
  * <note>
620
- * <p>Creating IPv6 mount target only ENI in dual-stack subnet is not supported.</p>
706
+ * <p>The <code>IPAddressType</code> must match the IP type of the subnet. Additionally, the
707
+ * <code>IPAddressType</code> parameter overrides the value set as the default IP address for
708
+ * the subnet in the VPC. For example, if the <code>IPAddressType</code> is
709
+ * <code>IPV4_ONLY</code> and <code>AssignIpv6AddressOnCreation</code> is <code>true</code>,
710
+ * then IPv4 is used for the mount target. For more information, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/subnet-public-ip.html">Modify the IP
711
+ * addressing attributes of your subnet</a>.</p>
621
712
  * </note>
622
713
  * @public
623
714
  */
@@ -625,10 +716,10 @@ export interface CreateMountTargetRequest {
625
716
  /**
626
717
  * <p>VPC security group IDs, of the form <code>sg-xxxxxxxx</code>. These must be for the same
627
718
  * VPC as the subnet specified. The maximum number of security groups depends on account quota.
628
- * For more information, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/amazon-vpc-limits.html">Amazon VPC Quotas</a>
629
- * in the <i>Amazon VPC User Guide</i> (see the <b>Security Groups</b>
630
- * table).
631
- * </p>
719
+ * For more information, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/amazon-vpc-limits.html">Amazon VPC Quotas</a> in the
720
+ * <i>Amazon VPC User Guide</i> (see the <b>Security
721
+ * Groups</b> table). If you don't specify a security group, then Amazon EFS
722
+ * uses the default security group for the subnet's VPC.</p>
632
723
  * @public
633
724
  */
634
725
  SecurityGroups?: string[] | undefined;
@@ -664,7 +755,7 @@ export interface MountTargetDescription {
664
755
  */
665
756
  LifeCycleState: LifeCycleState | undefined;
666
757
  /**
667
- * <p>Address at which the file system can be mounted by using the mount target.</p>
758
+ * <p>The IPv4 address for the mount target.</p>
668
759
  * @public
669
760
  */
670
761
  IpAddress?: string | undefined;
@@ -699,6 +790,13 @@ export interface MountTargetDescription {
699
790
  * @public
700
791
  */
701
792
  VpcId?: string | undefined;
793
+ /**
794
+ * <p>Message that provides details about the current lifecycle state of the mount target, such
795
+ * as the reason a mount target is in the <code>error</code> state. This field is returned only
796
+ * when a message is available.</p>
797
+ * @public
798
+ */
799
+ StatusMessage?: string | undefined;
702
800
  }
703
801
  /**
704
802
  * <p>Describes the new or existing destination file system for the replication