@aws-sdk/client-efs 3.825.0 → 3.827.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -9,9 +9,12 @@ AWS SDK for JavaScript EFS Client for Node.js, Browser and React Native.
9
9
  <fullname>Amazon Elastic File System</fullname>
10
10
 
11
11
  <p>Amazon Elastic File System (Amazon EFS) provides simple, scalable file storage for
12
- use with Amazon EC2 Linux and Mac instances in the Amazon Web Services Cloud. With Amazon EFS, storage capacity is elastic, growing and shrinking automatically as you add and
13
- remove files, so that your applications have the storage they need, when they need it. For
14
- more information, see the <a href="https://docs.aws.amazon.com/efs/latest/ug/api-reference.html">Amazon Elastic File System API Reference</a> and the <a href="https://docs.aws.amazon.com/efs/latest/ug/whatisefs.html">Amazon Elastic File System User Guide</a>.</p>
12
+ use with Amazon EC2 Linux and Mac instances in the Amazon Web Services Cloud. With
13
+ Amazon EFS, storage capacity is elastic, growing and shrinking automatically as you
14
+ add and remove files, so that your applications have the storage they need, when they need it.
15
+ For more information, see the <a href="https://docs.aws.amazon.com/efs/latest/ug/api-reference.html">Amazon Elastic File System API Reference</a> and
16
+ the <a href="https://docs.aws.amazon.com/efs/latest/ug/whatisefs.html">Amazon Elastic File System
17
+ User Guide</a>.</p>
15
18
 
16
19
  ## Installing
17
20
 
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ruleSet = void 0;
4
- const s = "required", t = "fn", u = "argv", v = "ref";
5
- const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = { [s]: false, "type": "String" }, i = { [s]: true, "default": false, "type": "Boolean" }, j = { [v]: "Endpoint" }, k = { [t]: c, [u]: [{ [v]: "UseFIPS" }, true] }, l = { [t]: c, [u]: [{ [v]: "UseDualStack" }, true] }, m = {}, n = { [t]: "getAttr", [u]: [{ [v]: g }, "supportsFIPS"] }, o = { [t]: c, [u]: [true, { [t]: "getAttr", [u]: [{ [v]: g }, "supportsDualStack"] }] }, p = [k], q = [l], r = [{ [v]: "Region" }];
6
- const _data = { version: "1.0", parameters: { Region: h, UseDualStack: i, UseFIPS: i, Endpoint: h }, rules: [{ conditions: [{ [t]: b, [u]: [j] }], rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d }, { conditions: q, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: d }, { endpoint: { url: j, properties: m, headers: m }, type: e }], type: f }, { conditions: [{ [t]: b, [u]: r }], rules: [{ conditions: [{ [t]: "aws.partition", [u]: r, assign: g }], rules: [{ conditions: [k, l], rules: [{ conditions: [{ [t]: c, [u]: [a, n] }, o], rules: [{ endpoint: { url: "https://elasticfilesystem-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: e }], type: f }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: d }], type: f }, { conditions: p, rules: [{ conditions: [{ [t]: c, [u]: [n, a] }], rules: [{ endpoint: { url: "https://elasticfilesystem-fips.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: e }], type: f }, { error: "FIPS is enabled but this partition does not support FIPS", type: d }], type: f }, { conditions: q, rules: [{ conditions: [o], rules: [{ endpoint: { url: "https://elasticfilesystem.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: e }], type: f }, { error: "DualStack is enabled but this partition does not support DualStack", type: d }], type: f }, { endpoint: { url: "https://elasticfilesystem.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }, { error: "Invalid Configuration: Missing Region", type: d }] };
4
+ const y = "required", z = "fn", A = "argv", B = "ref", C = "properties", D = "headers";
5
+ const a = true, b = false, c = "isSet", d = "booleanEquals", e = "error", f = "endpoint", g = "tree", h = "PartitionResult", i = { [y]: true, "default": false, "type": "Boolean" }, j = { [y]: false, "type": "String" }, k = { [B]: "Endpoint" }, l = { [z]: d, [A]: [{ [B]: "UseFIPS" }, true] }, m = { [z]: d, [A]: [{ [B]: "UseDualStack" }, true] }, n = { [B]: "UseDualStack" }, o = {}, p = { [z]: "stringEquals", [A]: [{ [z]: "getAttr", [A]: [{ [B]: h }, "name"] }, "aws"] }, q = { [z]: d, [A]: [{ [B]: "UseFIPS" }, false] }, r = { "url": "https://efs.{Region}.{PartitionResult#dualStackDnsSuffix}", [C]: {}, [D]: {} }, s = { "url": "https://efs-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", [C]: {}, [D]: {} }, t = { [z]: "stringEquals", [A]: [{ [z]: "getAttr", [A]: [{ [B]: h }, "name"] }, "aws-cn"] }, u = { [z]: "stringEquals", [A]: [{ [z]: "getAttr", [A]: [{ [B]: h }, "name"] }, "aws-us-gov"] }, v = { [z]: "getAttr", [A]: [{ [B]: h }, "supportsFIPS"] }, w = { [z]: d, [A]: [true, { [z]: "getAttr", [A]: [{ [B]: h }, "supportsDualStack"] }] }, x = [{ [B]: "Region" }];
6
+ const _data = { version: "1.0", parameters: { UseDualStack: i, UseFIPS: i, Endpoint: j, Region: j }, rules: [{ conditions: [{ [z]: c, [A]: [k] }], rules: [{ conditions: [l], error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: e }, { rules: [{ conditions: [m], error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: e }, { endpoint: { url: k, [C]: o, [D]: o }, type: f }], type: g }], type: g }, { rules: [{ conditions: [{ [z]: c, [A]: x }], rules: [{ conditions: [{ [z]: "aws.partition", [A]: x, assign: h }], rules: [{ conditions: [p, q, m], endpoint: r, type: f }, { conditions: [p, l, m], endpoint: s, type: f }, { conditions: [t, q, m], endpoint: r, type: f }, { conditions: [t, l, m], endpoint: s, type: f }, { conditions: [u, q, m], endpoint: r, type: f }, { conditions: [u, l, m], endpoint: s, type: f }, { conditions: [l, m], rules: [{ conditions: [{ [z]: d, [A]: [a, v] }, w], rules: [{ endpoint: { url: "https://elasticfilesystem-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", [C]: o, [D]: o }, type: f }], type: g }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: e }], type: g }, { conditions: [l, { [z]: d, [A]: [n, b] }], rules: [{ conditions: [{ [z]: d, [A]: [v, a] }], rules: [{ endpoint: { url: "https://elasticfilesystem-fips.{Region}.{PartitionResult#dnsSuffix}", [C]: o, [D]: o }, type: f }], type: g }, { error: "FIPS is enabled but this partition does not support FIPS", type: e }], type: g }, { conditions: [q, m], rules: [{ conditions: [w], rules: [{ endpoint: { url: "https://elasticfilesystem.{Region}.{PartitionResult#dualStackDnsSuffix}", [C]: o, [D]: o }, type: f }], type: g }, { error: "DualStack is enabled but this partition does not support DualStack", type: e }], type: g }, { endpoint: { url: "https://elasticfilesystem.{Region}.{PartitionResult#dnsSuffix}", [C]: o, [D]: o }, type: f }], type: g }], type: g }, { error: "Invalid Configuration: Missing Region", type: e }], type: g }] };
7
7
  exports.ruleSet = _data;
package/dist-cjs/index.js CHANGED
@@ -63,6 +63,7 @@ __export(index_exports, {
63
63
  InternalServerError: () => InternalServerError,
64
64
  InvalidPolicyException: () => InvalidPolicyException,
65
65
  IpAddressInUse: () => IpAddressInUse,
66
+ IpAddressType: () => IpAddressType,
66
67
  LifeCycleState: () => LifeCycleState,
67
68
  ListTagsForResourceCommand: () => ListTagsForResourceCommand,
68
69
  ModifyMountTargetSecurityGroupsCommand: () => ModifyMountTargetSecurityGroupsCommand,
@@ -837,6 +838,11 @@ var UnsupportedAvailabilityZone = class _UnsupportedAvailabilityZone extends EFS
837
838
  this.Message = opts.Message;
838
839
  }
839
840
  };
841
+ var IpAddressType = {
842
+ DUAL_STACK: "DUAL_STACK",
843
+ IPV4_ONLY: "IPV4_ONLY",
844
+ IPV6_ONLY: "IPV6_ONLY"
845
+ };
840
846
  var IpAddressInUse = class _IpAddressInUse extends EFSServiceException {
841
847
  static {
842
848
  __name(this, "IpAddressInUse");
@@ -1531,6 +1537,8 @@ var se_CreateMountTargetCommand = /* @__PURE__ */ __name(async (input, context)
1531
1537
  (0, import_smithy_client.take)(input, {
1532
1538
  FileSystemId: [],
1533
1539
  IpAddress: [],
1540
+ IpAddressType: [],
1541
+ Ipv6Address: [],
1534
1542
  SecurityGroups: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "SecurityGroups"),
1535
1543
  SubnetId: []
1536
1544
  })
@@ -1976,6 +1984,7 @@ var de_CreateMountTargetCommand = /* @__PURE__ */ __name(async (output, context)
1976
1984
  AvailabilityZoneName: import_smithy_client.expectString,
1977
1985
  FileSystemId: import_smithy_client.expectString,
1978
1986
  IpAddress: import_smithy_client.expectString,
1987
+ Ipv6Address: import_smithy_client.expectString,
1979
1988
  LifeCycleState: import_smithy_client.expectString,
1980
1989
  MountTargetId: import_smithy_client.expectString,
1981
1990
  NetworkInterfaceId: import_smithy_client.expectString,
@@ -3617,6 +3626,7 @@ var paginateListTagsForResource = (0, import_core.createPaginator)(EFSClient, Li
3617
3626
  InsufficientThroughputCapacity,
3618
3627
  ThroughputLimitExceeded,
3619
3628
  UnsupportedAvailabilityZone,
3629
+ IpAddressType,
3620
3630
  IpAddressInUse,
3621
3631
  MountTargetConflict,
3622
3632
  NetworkInterfaceLimitExceeded,
@@ -1,4 +1,4 @@
1
- const s = "required", t = "fn", u = "argv", v = "ref";
2
- const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = { [s]: false, "type": "String" }, i = { [s]: true, "default": false, "type": "Boolean" }, j = { [v]: "Endpoint" }, k = { [t]: c, [u]: [{ [v]: "UseFIPS" }, true] }, l = { [t]: c, [u]: [{ [v]: "UseDualStack" }, true] }, m = {}, n = { [t]: "getAttr", [u]: [{ [v]: g }, "supportsFIPS"] }, o = { [t]: c, [u]: [true, { [t]: "getAttr", [u]: [{ [v]: g }, "supportsDualStack"] }] }, p = [k], q = [l], r = [{ [v]: "Region" }];
3
- const _data = { version: "1.0", parameters: { Region: h, UseDualStack: i, UseFIPS: i, Endpoint: h }, rules: [{ conditions: [{ [t]: b, [u]: [j] }], rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d }, { conditions: q, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: d }, { endpoint: { url: j, properties: m, headers: m }, type: e }], type: f }, { conditions: [{ [t]: b, [u]: r }], rules: [{ conditions: [{ [t]: "aws.partition", [u]: r, assign: g }], rules: [{ conditions: [k, l], rules: [{ conditions: [{ [t]: c, [u]: [a, n] }, o], rules: [{ endpoint: { url: "https://elasticfilesystem-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: e }], type: f }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: d }], type: f }, { conditions: p, rules: [{ conditions: [{ [t]: c, [u]: [n, a] }], rules: [{ endpoint: { url: "https://elasticfilesystem-fips.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: e }], type: f }, { error: "FIPS is enabled but this partition does not support FIPS", type: d }], type: f }, { conditions: q, rules: [{ conditions: [o], rules: [{ endpoint: { url: "https://elasticfilesystem.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: e }], type: f }, { error: "DualStack is enabled but this partition does not support DualStack", type: d }], type: f }, { endpoint: { url: "https://elasticfilesystem.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }, { error: "Invalid Configuration: Missing Region", type: d }] };
1
+ const y = "required", z = "fn", A = "argv", B = "ref", C = "properties", D = "headers";
2
+ const a = true, b = false, c = "isSet", d = "booleanEquals", e = "error", f = "endpoint", g = "tree", h = "PartitionResult", i = { [y]: true, "default": false, "type": "Boolean" }, j = { [y]: false, "type": "String" }, k = { [B]: "Endpoint" }, l = { [z]: d, [A]: [{ [B]: "UseFIPS" }, true] }, m = { [z]: d, [A]: [{ [B]: "UseDualStack" }, true] }, n = { [B]: "UseDualStack" }, o = {}, p = { [z]: "stringEquals", [A]: [{ [z]: "getAttr", [A]: [{ [B]: h }, "name"] }, "aws"] }, q = { [z]: d, [A]: [{ [B]: "UseFIPS" }, false] }, r = { "url": "https://efs.{Region}.{PartitionResult#dualStackDnsSuffix}", [C]: {}, [D]: {} }, s = { "url": "https://efs-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", [C]: {}, [D]: {} }, t = { [z]: "stringEquals", [A]: [{ [z]: "getAttr", [A]: [{ [B]: h }, "name"] }, "aws-cn"] }, u = { [z]: "stringEquals", [A]: [{ [z]: "getAttr", [A]: [{ [B]: h }, "name"] }, "aws-us-gov"] }, v = { [z]: "getAttr", [A]: [{ [B]: h }, "supportsFIPS"] }, w = { [z]: d, [A]: [true, { [z]: "getAttr", [A]: [{ [B]: h }, "supportsDualStack"] }] }, x = [{ [B]: "Region" }];
3
+ const _data = { version: "1.0", parameters: { UseDualStack: i, UseFIPS: i, Endpoint: j, Region: j }, rules: [{ conditions: [{ [z]: c, [A]: [k] }], rules: [{ conditions: [l], error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: e }, { rules: [{ conditions: [m], error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: e }, { endpoint: { url: k, [C]: o, [D]: o }, type: f }], type: g }], type: g }, { rules: [{ conditions: [{ [z]: c, [A]: x }], rules: [{ conditions: [{ [z]: "aws.partition", [A]: x, assign: h }], rules: [{ conditions: [p, q, m], endpoint: r, type: f }, { conditions: [p, l, m], endpoint: s, type: f }, { conditions: [t, q, m], endpoint: r, type: f }, { conditions: [t, l, m], endpoint: s, type: f }, { conditions: [u, q, m], endpoint: r, type: f }, { conditions: [u, l, m], endpoint: s, type: f }, { conditions: [l, m], rules: [{ conditions: [{ [z]: d, [A]: [a, v] }, w], rules: [{ endpoint: { url: "https://elasticfilesystem-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", [C]: o, [D]: o }, type: f }], type: g }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: e }], type: g }, { conditions: [l, { [z]: d, [A]: [n, b] }], rules: [{ conditions: [{ [z]: d, [A]: [v, a] }], rules: [{ endpoint: { url: "https://elasticfilesystem-fips.{Region}.{PartitionResult#dnsSuffix}", [C]: o, [D]: o }, type: f }], type: g }, { error: "FIPS is enabled but this partition does not support FIPS", type: e }], type: g }, { conditions: [q, m], rules: [{ conditions: [w], rules: [{ endpoint: { url: "https://elasticfilesystem.{Region}.{PartitionResult#dualStackDnsSuffix}", [C]: o, [D]: o }, type: f }], type: g }, { error: "DualStack is enabled but this partition does not support DualStack", type: e }], type: g }, { endpoint: { url: "https://elasticfilesystem.{Region}.{PartitionResult#dnsSuffix}", [C]: o, [D]: o }, type: f }], type: g }], type: g }, { error: "Invalid Configuration: Missing Region", type: e }], type: g }] };
4
4
  export const ruleSet = _data;
@@ -271,6 +271,11 @@ export class UnsupportedAvailabilityZone extends __BaseException {
271
271
  this.Message = opts.Message;
272
272
  }
273
273
  }
274
+ export const IpAddressType = {
275
+ DUAL_STACK: "DUAL_STACK",
276
+ IPV4_ONLY: "IPV4_ONLY",
277
+ IPV6_ONLY: "IPV6_ONLY",
278
+ };
274
279
  export class IpAddressInUse extends __BaseException {
275
280
  name = "IpAddressInUse";
276
281
  $fault = "client";
@@ -52,6 +52,8 @@ export const se_CreateMountTargetCommand = async (input, context) => {
52
52
  body = JSON.stringify(take(input, {
53
53
  FileSystemId: [],
54
54
  IpAddress: [],
55
+ IpAddressType: [],
56
+ Ipv6Address: [],
55
57
  SecurityGroups: (_) => _json(_),
56
58
  SubnetId: [],
57
59
  }));
@@ -472,6 +474,7 @@ export const de_CreateMountTargetCommand = async (output, context) => {
472
474
  AvailabilityZoneName: __expectString,
473
475
  FileSystemId: __expectString,
474
476
  IpAddress: __expectString,
477
+ Ipv6Address: __expectString,
475
478
  LifeCycleState: __expectString,
476
479
  MountTargetId: __expectString,
477
480
  NetworkInterfaceId: __expectString,
@@ -227,9 +227,12 @@ export interface EFS {
227
227
  /**
228
228
  * <fullname>Amazon Elastic File System</fullname>
229
229
  * <p>Amazon Elastic File System (Amazon EFS) provides simple, scalable file storage for
230
- * use with Amazon EC2 Linux and Mac instances in the Amazon Web Services Cloud. With Amazon EFS, storage capacity is elastic, growing and shrinking automatically as you add and
231
- * remove files, so that your applications have the storage they need, when they need it. For
232
- * more information, see the <a href="https://docs.aws.amazon.com/efs/latest/ug/api-reference.html">Amazon Elastic File System API Reference</a> and the <a href="https://docs.aws.amazon.com/efs/latest/ug/whatisefs.html">Amazon Elastic File System User Guide</a>.</p>
230
+ * use with Amazon EC2 Linux and Mac instances in the Amazon Web Services Cloud. With
231
+ * Amazon EFS, storage capacity is elastic, growing and shrinking automatically as you
232
+ * add and remove files, so that your applications have the storage they need, when they need it.
233
+ * For more information, see the <a href="https://docs.aws.amazon.com/efs/latest/ug/api-reference.html">Amazon Elastic File System API Reference</a> and
234
+ * the <a href="https://docs.aws.amazon.com/efs/latest/ug/whatisefs.html">Amazon Elastic File System
235
+ * User Guide</a>.</p>
233
236
  * @public
234
237
  */
235
238
  export declare class EFS extends EFSClient implements EFS {
@@ -202,9 +202,12 @@ export interface EFSClientResolvedConfig extends EFSClientResolvedConfigType {
202
202
  /**
203
203
  * <fullname>Amazon Elastic File System</fullname>
204
204
  * <p>Amazon Elastic File System (Amazon EFS) provides simple, scalable file storage for
205
- * use with Amazon EC2 Linux and Mac instances in the Amazon Web Services Cloud. With Amazon EFS, storage capacity is elastic, growing and shrinking automatically as you add and
206
- * remove files, so that your applications have the storage they need, when they need it. For
207
- * more information, see the <a href="https://docs.aws.amazon.com/efs/latest/ug/api-reference.html">Amazon Elastic File System API Reference</a> and the <a href="https://docs.aws.amazon.com/efs/latest/ug/whatisefs.html">Amazon Elastic File System User Guide</a>.</p>
205
+ * use with Amazon EC2 Linux and Mac instances in the Amazon Web Services Cloud. With
206
+ * Amazon EFS, storage capacity is elastic, growing and shrinking automatically as you
207
+ * add and remove files, so that your applications have the storage they need, when they need it.
208
+ * For more information, see the <a href="https://docs.aws.amazon.com/efs/latest/ug/api-reference.html">Amazon Elastic File System API Reference</a> and
209
+ * the <a href="https://docs.aws.amazon.com/efs/latest/ug/whatisefs.html">Amazon Elastic File System
210
+ * User Guide</a>.</p>
208
211
  * @public
209
212
  */
210
213
  export declare class EFSClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, EFSClientResolvedConfig> {
@@ -32,13 +32,14 @@ declare const CreateAccessPointCommand_base: {
32
32
  * system path, to any file system request made through the access point. The operating system
33
33
  * user and group override any identity information provided by the NFS client. The file system
34
34
  * path is exposed as the access point's root directory. Applications using the access point can
35
- * only access data in the application's own directory and any subdirectories. To learn more, see
35
+ * only access data in the application's own directory and any subdirectories. A file system can
36
+ * have a maximum of 10,000 access points unless you request an increase. To learn more, see
36
37
  * <a href="https://docs.aws.amazon.com/efs/latest/ug/efs-access-points.html">Mounting a file
37
38
  * system using EFS access points</a>.</p>
38
39
  * <note>
39
40
  * <p>If multiple requests to create access points on the same file system are sent in quick
40
- * succession, and the file system is near the limit of 1,000 access points, you may experience
41
- * a throttling response for these requests. This is to ensure that the file system does not
41
+ * succession, and the file system is near the limit of access points, you may experience a
42
+ * throttling response for these requests. This is to ensure that the file system does not
42
43
  * exceed the stated access point limit.</p>
43
44
  * </note>
44
45
  * <p>This operation requires permissions for the <code>elasticfilesystem:CreateAccessPoint</code> action.</p>
@@ -75,8 +75,9 @@ declare const CreateFileSystemCommand_base: {
75
75
  * parameter.</p>
76
76
  * <p>After the file system is fully created, Amazon EFS sets its lifecycle state to
77
77
  * <code>available</code>, at which point you can create one or more mount targets for the file
78
- * system in your VPC. For more information, see <a>CreateMountTarget</a>. You mount your Amazon EFS file system on an EC2 instances in
79
- * your VPC by using the mount target. 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>
78
+ * system in your VPC. For more information, see <a>CreateMountTarget</a>. You mount
79
+ * your Amazon EFS file system on an EC2 instances in your VPC by using the mount
80
+ * target. 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>
80
81
  * <p>This operation requires permissions for the
81
82
  * <code>elasticfilesystem:CreateFileSystem</code> action. </p>
82
83
  * <p>File systems can be tagged on creation. If tags are specified in the creation action, IAM
@@ -29,17 +29,16 @@ declare const CreateMountTargetCommand_base: {
29
29
  /**
30
30
  * <p>Creates a mount target for a file system. You can then mount the file system on EC2
31
31
  * instances by using the mount target.</p>
32
- * <p>You can create one mount target in each Availability Zone in your VPC. All EC2
33
- * instances in a VPC within a given Availability Zone share a single mount target for a given
34
- * file system. If you have multiple subnets in an Availability Zone, you create a mount target
35
- * in one of the subnets. EC2 instances do not need to be in the same subnet as the mount target
36
- * in order to access their file system.</p>
37
- * <p>You can create only one mount target for a One Zone file system.
38
- * You must create that mount target in the same Availability Zone in which the file system is
39
- * located. Use the <code>AvailabilityZoneName</code> and <code>AvailabiltyZoneId</code>
40
- * properties in the <a>DescribeFileSystems</a> response object to get this
41
- * information. Use the <code>subnetId</code> associated with the file system's Availability Zone
42
- * when creating the mount target.</p>
32
+ * <p>You can create one mount target in each Availability Zone in your VPC. All EC2 instances
33
+ * in a VPC within a given Availability Zone share a single mount target for a given file system. If
34
+ * you have multiple subnets in an Availability Zone, you create a mount target in one of the subnets.
35
+ * EC2 instances do not need to be in the same subnet as the mount target in order to
36
+ * access their file system.</p>
37
+ * <p>You can create only one mount target for a One Zone file system. You must
38
+ * create that mount target in the same Availability Zone in which the file system is located. Use the
39
+ * <code>AvailabilityZoneName</code> and <code>AvailabiltyZoneId</code> properties in the <a>DescribeFileSystems</a> response object to get this information. Use the
40
+ * <code>subnetId</code> associated with the file system's Availability Zone when creating the mount
41
+ * target.</p>
43
42
  * <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>
44
43
  * <p>To create a mount target for a file system, the file system's lifecycle state must be
45
44
  * <code>available</code>. For more information, see <a>DescribeFileSystems</a>.</p>
@@ -67,22 +66,22 @@ declare const CreateMountTargetCommand_base: {
67
66
  * </ul>
68
67
  * <p>After creating the mount target, Amazon EFS returns a response that includes, a
69
68
  * <code>MountTargetId</code> and an <code>IpAddress</code>. You use this IP address when
70
- * mounting the file system in an EC2 instance. You can also use the mount target's DNS name
71
- * when mounting the file system. The EC2 instance on which you mount the file system by using
72
- * the mount target can resolve the mount target's DNS name to its IP address. For more
73
- * information, see <a href="https://docs.aws.amazon.com/efs/latest/ug/how-it-works.html#how-it-works-implementation">How it Works:
69
+ * mounting the file system in an EC2 instance. You can also use the mount target's
70
+ * DNS name when mounting the file system. The EC2 instance on which you mount the file
71
+ * system by using the mount target can resolve the mount target's DNS name to its IP
72
+ * 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:
74
73
  * Implementation Overview</a>. </p>
75
- * <p>Note that you can create mount targets for a file system in only one VPC, and there can
76
- * be only one mount target per Availability Zone. That is, if the file system already has one or
77
- * more mount targets created for it, the subnet specified in the request to add another mount
78
- * target must meet the following requirements:</p>
74
+ * <p>Note that you can create mount targets for a file system in only one VPC, and there can be
75
+ * only one mount target per Availability Zone. That is, if the file system already has one or more
76
+ * mount targets created for it, the subnet specified in the request to add another mount target
77
+ * must meet the following requirements:</p>
79
78
  * <ul>
80
79
  * <li>
81
80
  * <p>Must belong to the same VPC as the subnets of the existing mount targets</p>
82
81
  * </li>
83
82
  * <li>
84
- * <p>Must not be in the same Availability Zone as any of the subnets of the existing
85
- * mount targets</p>
83
+ * <p>Must not be in the same Availability Zone as any of the subnets of the existing mount
84
+ * targets</p>
86
85
  * </li>
87
86
  * </ul>
88
87
  * <p>If the request satisfies the requirements, Amazon EFS does the following:</p>
@@ -94,10 +93,11 @@ declare const CreateMountTargetCommand_base: {
94
93
  * <p>Also creates a new network interface in the subnet as follows:</p>
95
94
  * <ul>
96
95
  * <li>
97
- * <p>If the request provides an <code>IpAddress</code>, Amazon EFS assigns that IP
98
- * address to the network interface. Otherwise, Amazon EFS assigns a free address in the
99
- * subnet (in the same way that the Amazon EC2 <code>CreateNetworkInterface</code> call
100
- * does when a request does not specify a primary private IP address).</p>
96
+ * <p>If the request provides an <code>IpAddress</code>, Amazon EFS assigns that
97
+ * IP address to the network interface. Otherwise, Amazon EFS assigns a free
98
+ * address in the subnet (in the same way that the Amazon EC2
99
+ * <code>CreateNetworkInterface</code> call does when a request does not specify a
100
+ * primary private IP address).</p>
101
101
  * </li>
102
102
  * <li>
103
103
  * <p>If the request provides <code>SecurityGroups</code>, this network interface is
@@ -119,10 +119,10 @@ declare const CreateMountTargetCommand_base: {
119
119
  * <code>EFS</code>.</p>
120
120
  * </li>
121
121
  * </ul>
122
- * <p>Each Amazon EFS mount target has one corresponding requester-managed EC2 network
123
- * interface. After the network interface is created, Amazon EFS sets the
124
- * <code>NetworkInterfaceId</code> field in the mount target's description to the
125
- * network interface ID, and the <code>IpAddress</code> field to its address. If network
122
+ * <p>Each Amazon EFS mount target has one corresponding requester-managed
123
+ * EC2 network interface. After the network interface is created, Amazon EFS
124
+ * sets the <code>NetworkInterfaceId</code> field in the mount target's description to
125
+ * the network interface ID, and the <code>IpAddress</code> field to its address. If network
126
126
  * interface creation fails, the entire <code>CreateMountTarget</code> operation
127
127
  * fails.</p>
128
128
  * </li>
@@ -133,12 +133,12 @@ declare const CreateMountTargetCommand_base: {
133
133
  * the mount target creation status by calling the <a>DescribeMountTargets</a> operation, which among other things returns the mount
134
134
  * target state.</p>
135
135
  * </note>
136
- * <p>We recommend that you create a mount target in each of the Availability Zones. There
137
- * are cost considerations for using a file system in an Availability Zone through a mount target
138
- * created in another Availability Zone. For more information, see <a href="http://aws.amazon.com/efs/">Amazon EFS</a>. In addition, by always using a mount target local to the
139
- * instance's Availability Zone, you eliminate a partial failure scenario. If the
140
- * Availability Zone in which your mount target is created goes down, then you can't access
141
- * your file system through that mount target. </p>
136
+ * <p>We recommend that you create a mount target in each of the Availability Zones. There are cost
137
+ * considerations for using a file system in an Availability Zone through a mount target created in
138
+ * 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
139
+ * instance's Availability Zone, you eliminate a partial failure scenario. If the Availability Zone in
140
+ * which your mount target is created goes down, then you can't access your file system
141
+ * through that mount target. </p>
142
142
  * <p>This operation requires permissions for the following action on the file
143
143
  * system:</p>
144
144
  * <ul>
@@ -177,6 +177,8 @@ declare const CreateMountTargetCommand_base: {
177
177
  * FileSystemId: "STRING_VALUE", // required
178
178
  * SubnetId: "STRING_VALUE", // required
179
179
  * IpAddress: "STRING_VALUE",
180
+ * Ipv6Address: "STRING_VALUE",
181
+ * IpAddressType: "IPV4_ONLY" || "IPV6_ONLY" || "DUAL_STACK",
180
182
  * SecurityGroups: [ // SecurityGroups
181
183
  * "STRING_VALUE",
182
184
  * ],
@@ -190,6 +192,7 @@ declare const CreateMountTargetCommand_base: {
190
192
  * // SubnetId: "STRING_VALUE", // required
191
193
  * // LifeCycleState: "creating" || "available" || "updating" || "deleting" || "deleted" || "error", // required
192
194
  * // IpAddress: "STRING_VALUE",
195
+ * // Ipv6Address: "STRING_VALUE",
193
196
  * // NetworkInterfaceId: "STRING_VALUE",
194
197
  * // AvailabilityZoneId: "STRING_VALUE",
195
198
  * // AvailabilityZoneName: "STRING_VALUE",
@@ -234,7 +237,7 @@ declare const CreateMountTargetCommand_base: {
234
237
  * @throws {@link NetworkInterfaceLimitExceeded} (client fault)
235
238
  * <p>The calling account has reached the limit for elastic network interfaces for the
236
239
  * specific Amazon Web Services Region. Either delete some network interfaces or request
237
- * that the account quota be raised. For more information, see <a href="https://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/VPC_Appendix_Limits.html">Amazon VPC Quotas</a>
240
+ * that the account quota be raised. For more information, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/amazon-vpc-limits.html">Amazon VPC Quotas</a>
238
241
  * in the <i>Amazon VPC User Guide</i> (see the <b>Network
239
242
  * interfaces per Region</b> entry in the <b>Network
240
243
  * interfaces</b> table). </p>
@@ -244,8 +247,12 @@ declare const CreateMountTargetCommand_base: {
244
247
  * no free IP addresses in the subnet.</p>
245
248
  *
246
249
  * @throws {@link SecurityGroupLimitExceeded} (client fault)
247
- * <p>Returned if the size of <code>SecurityGroups</code> specified in the request is
248
- * greater than five.</p>
250
+ * <p>Returned if the number of <code>SecurityGroups</code> specified in the request is
251
+ * greater than the limit, which is based on account quota. Either delete some security groups
252
+ * or request that the account quota be raised. For more information, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/amazon-vpc-limits.html">Amazon VPC Quotas</a>
253
+ * in the <i>Amazon VPC User Guide</i> (see the <b>Security Groups</b>
254
+ * table).
255
+ * </p>
249
256
  *
250
257
  * @throws {@link SecurityGroupNotFound} (client fault)
251
258
  * <p>Returned if one of the specified security groups doesn't exist in the subnet's
@@ -33,8 +33,8 @@ declare const DeleteMountTargetCommand_base: {
33
33
  * avoid applications getting cut off abruptly, you might consider unmounting any mounts of the
34
34
  * mount target, if feasible. The operation also deletes the associated network interface.
35
35
  * Uncommitted writes might be lost, but breaking a mount target using this operation does not
36
- * corrupt the file system itself. The file system you created remains. You can mount an EC2
37
- * instance in your VPC by using another mount target.</p>
36
+ * corrupt the file system itself. The file system you created remains. You can mount an
37
+ * EC2 instance in your VPC by using another mount target.</p>
38
38
  * <p>This operation requires permissions for the following action on the file
39
39
  * system:</p>
40
40
  * <ul>
@@ -65,7 +65,7 @@ declare const DescribeBackupPolicyCommand_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 the default file system policy is in effect for the EFS file system specified.</p>
68
+ * <p>Returned if <code>no backup</code> is specified for a One Zone EFS file system.</p>
69
69
  *
70
70
  * @throws {@link ValidationException} (client fault)
71
71
  * <p>Returned if the Backup service is not available in the Amazon Web Services Region in which the request was made.</p>
@@ -66,7 +66,7 @@ declare const DescribeFileSystemPolicyCommand_base: {
66
66
  * <p>Returned if an error occurred on the server side.</p>
67
67
  *
68
68
  * @throws {@link PolicyNotFound} (client fault)
69
- * <p>Returned if the default file system policy is in effect for the EFS file system specified.</p>
69
+ * <p>Returned if <code>no backup</code> is specified for a One Zone EFS file system.</p>
70
70
  *
71
71
  * @throws {@link EFSServiceException}
72
72
  * <p>Base exception class for all service exceptions from EFS service.</p>
@@ -27,9 +27,9 @@ declare const DescribeLifecycleConfigurationCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Returns the current <code>LifecycleConfiguration</code> object for the specified Amazon
31
- * EFS file system. Lifecycle management uses the <code>LifecycleConfiguration</code> object to
32
- * identify when to move files between storage classes. For a file system without a
30
+ * <p>Returns the current <code>LifecycleConfiguration</code> object for the specified
31
+ * EFS file system. Lifecycle management uses the <code>LifecycleConfiguration</code>
32
+ * object to identify when to move files between storage classes. For a file system without a
33
33
  * <code>LifecycleConfiguration</code> object, the call returns an empty array in the
34
34
  * response.</p>
35
35
  * <p>This operation requires permissions for the
@@ -59,6 +59,7 @@ declare const DescribeMountTargetsCommand_base: {
59
59
  * // SubnetId: "STRING_VALUE", // required
60
60
  * // LifeCycleState: "creating" || "available" || "updating" || "deleting" || "deleted" || "error", // required
61
61
  * // IpAddress: "STRING_VALUE",
62
+ * // Ipv6Address: "STRING_VALUE",
62
63
  * // NetworkInterfaceId: "STRING_VALUE",
63
64
  * // AvailabilityZoneId: "STRING_VALUE",
64
65
  * // AvailabilityZoneName: "STRING_VALUE",
@@ -87,8 +87,12 @@ declare const ModifyMountTargetSecurityGroupsCommand_base: {
87
87
  * caller's Amazon Web Services account.</p>
88
88
  *
89
89
  * @throws {@link SecurityGroupLimitExceeded} (client fault)
90
- * <p>Returned if the size of <code>SecurityGroups</code> specified in the request is
91
- * greater than five.</p>
90
+ * <p>Returned if the number of <code>SecurityGroups</code> specified in the request is
91
+ * greater than the limit, which is based on account quota. Either delete some security groups
92
+ * or request that the account quota be raised. For more information, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/amazon-vpc-limits.html">Amazon VPC Quotas</a>
93
+ * in the <i>Amazon VPC User Guide</i> (see the <b>Security Groups</b>
94
+ * table).
95
+ * </p>
92
96
  *
93
97
  * @throws {@link SecurityGroupNotFound} (client fault)
94
98
  * <p>Returned if one of the specified security groups doesn't exist in the subnet's
@@ -3,10 +3,10 @@ import { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provi
3
3
  * @public
4
4
  */
5
5
  export interface ClientInputEndpointParameters {
6
- region?: string | Provider<string>;
7
6
  useDualstackEndpoint?: boolean | Provider<boolean>;
8
7
  useFipsEndpoint?: boolean | Provider<boolean>;
9
8
  endpoint?: string | Provider<string> | Endpoint | Provider<Endpoint> | EndpointV2 | Provider<EndpointV2>;
9
+ region?: string | Provider<string>;
10
10
  }
11
11
  export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
12
12
  defaultSigningName: string;
@@ -31,8 +31,8 @@ export declare const commonParams: {
31
31
  };
32
32
  };
33
33
  export interface EndpointParameters extends __EndpointParameters {
34
- Region?: string;
35
34
  UseDualStack?: boolean;
36
35
  UseFIPS?: boolean;
37
36
  Endpoint?: string;
37
+ Region?: string;
38
38
  }
@@ -1,9 +1,12 @@
1
1
  /**
2
2
  * <fullname>Amazon Elastic File System</fullname>
3
3
  * <p>Amazon Elastic File System (Amazon EFS) provides simple, scalable file storage for
4
- * use with Amazon EC2 Linux and Mac instances in the Amazon Web Services Cloud. With Amazon EFS, storage capacity is elastic, growing and shrinking automatically as you add and
5
- * remove files, so that your applications have the storage they need, when they need it. For
6
- * more information, see the <a href="https://docs.aws.amazon.com/efs/latest/ug/api-reference.html">Amazon Elastic File System API Reference</a> and the <a href="https://docs.aws.amazon.com/efs/latest/ug/whatisefs.html">Amazon Elastic File System User Guide</a>.</p>
4
+ * use with Amazon EC2 Linux and Mac instances in the Amazon Web Services Cloud. With
5
+ * Amazon EFS, storage capacity is elastic, growing and shrinking automatically as you
6
+ * add and remove files, so that your applications have the storage they need, when they need it.
7
+ * For more information, see the <a href="https://docs.aws.amazon.com/efs/latest/ug/api-reference.html">Amazon Elastic File System API Reference</a> and
8
+ * the <a href="https://docs.aws.amazon.com/efs/latest/ug/whatisefs.html">Amazon Elastic File System
9
+ * User Guide</a>.</p>
7
10
  *
8
11
  * @packageDocumentation
9
12
  */
@@ -173,7 +173,8 @@ export interface AccessPointDescription {
173
173
  */
174
174
  AccessPointId?: string | undefined;
175
175
  /**
176
- * <p>The unique Amazon Resource Name (ARN) associated with the access point.</p>
176
+ * <p>The unique Amazon Resource Name (ARN) associated with the access
177
+ * point.</p>
177
178
  * @public
178
179
  */
179
180
  AccessPointArn?: string | undefined;
@@ -671,7 +672,7 @@ export interface CreateFileSystemRequest {
671
672
  * <p>The throughput, measured in mebibytes per second (MiBps), that you want to provision for a
672
673
  * file system that you're creating. Required if <code>ThroughputMode</code> is set to
673
674
  * <code>provisioned</code>. Valid values are 1-3414 MiBps, with the upper limit depending on
674
- * Region. To increase this limit, contact Amazon Web Services Support. For more information, see <a href="https://docs.aws.amazon.com/efs/latest/ug/limits.html#soft-limits">Amazon EFS quotas
675
+ * Region. To increase this limit, contact Amazon Web ServicesSupport. For more information, see <a href="https://docs.aws.amazon.com/efs/latest/ug/limits.html#soft-limits">Amazon EFS quotas
675
676
  * that you can increase</a> in the <i>Amazon EFS User
676
677
  * Guide</i>.</p>
677
678
  * @public
@@ -777,8 +778,8 @@ export interface FileSystemProtectionDescription {
777
778
  * <li>
778
779
  * <p>
779
780
  * <code>REPLICATING</code> – The file system is being used as the destination
780
- * file system in a replication configuration. The file system is read-only and is only
781
- * modified only by EFS replication.</p>
781
+ * file system in a replication configuration. The file system is read-only and is modified
782
+ * only by EFS replication.</p>
782
783
  * </li>
783
784
  * </ul>
784
785
  * <p>If the replication configuration is deleted, the file system's replication overwrite
@@ -849,7 +850,8 @@ export interface FileSystemDescription {
849
850
  */
850
851
  FileSystemId: string | undefined;
851
852
  /**
852
- * <p>The Amazon Resource Name (ARN) for the EFS file system, in the format
853
+ * <p>The Amazon Resource Name (ARN) for the EFS file system, in the
854
+ * format
853
855
  * <code>arn:aws:elasticfilesystem:<i>region</i>:<i>account-id</i>:file-system/<i>file-system-id</i>
854
856
  * </code>.
855
857
  * Example with sample data:
@@ -1064,6 +1066,19 @@ export declare class UnsupportedAvailabilityZone extends __BaseException {
1064
1066
  */
1065
1067
  constructor(opts: __ExceptionOptionType<UnsupportedAvailabilityZone, __BaseException>);
1066
1068
  }
1069
+ /**
1070
+ * @public
1071
+ * @enum
1072
+ */
1073
+ export declare const IpAddressType: {
1074
+ readonly DUAL_STACK: "DUAL_STACK";
1075
+ readonly IPV4_ONLY: "IPV4_ONLY";
1076
+ readonly IPV6_ONLY: "IPV6_ONLY";
1077
+ };
1078
+ /**
1079
+ * @public
1080
+ */
1081
+ export type IpAddressType = (typeof IpAddressType)[keyof typeof IpAddressType];
1067
1082
  /**
1068
1083
  * <p></p>
1069
1084
  * @public
@@ -1075,19 +1090,50 @@ export interface CreateMountTargetRequest {
1075
1090
  */
1076
1091
  FileSystemId: string | undefined;
1077
1092
  /**
1078
- * <p>The ID of the subnet to add the mount target in. For One Zone file systems, use the
1079
- * subnet that is associated with the file system's Availability Zone.</p>
1093
+ * <p>The ID of the subnet to add the mount target in. For One Zone file systems, use the subnet
1094
+ * that is associated with the file system's Availability Zone.</p>
1080
1095
  * @public
1081
1096
  */
1082
1097
  SubnetId: string | undefined;
1083
1098
  /**
1084
- * <p>Valid IPv4 address within the address range of the specified subnet.</p>
1099
+ * <p>If the IP address type for the mount target is IPv4, then specify the IPv4 address within
1100
+ * the address range of the specified subnet.</p>
1085
1101
  * @public
1086
1102
  */
1087
1103
  IpAddress?: string | undefined;
1088
1104
  /**
1089
- * <p>Up to five VPC security group IDs, of the form <code>sg-xxxxxxxx</code>. These must be
1090
- * for the same VPC as subnet specified.</p>
1105
+ * <p>If the IP address type for the mount target is IPv6, then specify the IPv6 address within
1106
+ * the address range of the specified subnet.</p>
1107
+ * @public
1108
+ */
1109
+ Ipv6Address?: string | undefined;
1110
+ /**
1111
+ * <p>Specify the type of IP address of the mount target you are creating. Options are IPv4,
1112
+ * dual stack, or IPv6. If you don’t specify an IpAddressType, then IPv4 is used.</p>
1113
+ * <ul>
1114
+ * <li>
1115
+ * <p>IPV4_ONLY – Create mount target with IPv4 only subnet or dual-stack subnet.</p>
1116
+ * </li>
1117
+ * <li>
1118
+ * <p>DUAL_STACK – Create mount target with dual-stack subnet.</p>
1119
+ * </li>
1120
+ * <li>
1121
+ * <p>IPV6_ONLY – Create mount target with IPv6 only subnet.</p>
1122
+ * </li>
1123
+ * </ul>
1124
+ * <note>
1125
+ * <p>Creating IPv6 mount target only ENI in dual-stack subnet is not supported.</p>
1126
+ * </note>
1127
+ * @public
1128
+ */
1129
+ IpAddressType?: IpAddressType | undefined;
1130
+ /**
1131
+ * <p>VPC security group IDs, of the form <code>sg-xxxxxxxx</code>. These must be for the same
1132
+ * VPC as the subnet specified. The maximum number of security groups depends on account quota.
1133
+ * For more information, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/amazon-vpc-limits.html">Amazon VPC Quotas</a>
1134
+ * in the <i>Amazon VPC User Guide</i> (see the <b>Security Groups</b>
1135
+ * table).
1136
+ * </p>
1091
1137
  * @public
1092
1138
  */
1093
1139
  SecurityGroups?: string[] | undefined;
@@ -1183,6 +1229,11 @@ export interface MountTargetDescription {
1183
1229
  * @public
1184
1230
  */
1185
1231
  IpAddress?: string | undefined;
1232
+ /**
1233
+ * <p>The IPv6 address for the mount target.</p>
1234
+ * @public
1235
+ */
1236
+ Ipv6Address?: string | undefined;
1186
1237
  /**
1187
1238
  * <p>The ID of the network interface that Amazon EFS created when it created the mount
1188
1239
  * target.</p>
@@ -1191,14 +1242,16 @@ export interface MountTargetDescription {
1191
1242
  NetworkInterfaceId?: string | undefined;
1192
1243
  /**
1193
1244
  * <p>The unique and consistent identifier of the Availability Zone that the mount target resides in.
1194
- * For example, <code>use1-az1</code> is an AZ ID for the us-east-1 Region and it has the same location in every Amazon Web Services account.</p>
1245
+ * For example, <code>use1-az1</code> is an AZ ID for the us-east-1 Region and it
1246
+ * has the same location in every Amazon Web Services account.</p>
1195
1247
  * @public
1196
1248
  */
1197
1249
  AvailabilityZoneId?: string | undefined;
1198
1250
  /**
1199
1251
  * <p>The name of the Availability Zone in which the mount target is located. Availability Zones are
1200
- * independently mapped to names for each Amazon Web Services account. For example, the Availability Zone
1201
- * <code>us-east-1a</code> for your Amazon Web Services account might not be the same location as <code>us-east-1a</code> for another Amazon Web Services account.</p>
1252
+ * independently mapped to names for each Amazon Web Services account. For example, the
1253
+ * Availability Zone <code>us-east-1a</code> for your Amazon Web Services account might not be the
1254
+ * same location as <code>us-east-1a</code> for another Amazon Web Services account.</p>
1202
1255
  * @public
1203
1256
  */
1204
1257
  AvailabilityZoneName?: string | undefined;
@@ -1211,7 +1264,7 @@ export interface MountTargetDescription {
1211
1264
  /**
1212
1265
  * <p>The calling account has reached the limit for elastic network interfaces for the
1213
1266
  * specific Amazon Web Services Region. Either delete some network interfaces or request
1214
- * that the account quota be raised. For more information, see <a href="https://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/VPC_Appendix_Limits.html">Amazon VPC Quotas</a>
1267
+ * that the account quota be raised. For more information, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/amazon-vpc-limits.html">Amazon VPC Quotas</a>
1215
1268
  * in the <i>Amazon VPC User Guide</i> (see the <b>Network
1216
1269
  * interfaces per Region</b> entry in the <b>Network
1217
1270
  * interfaces</b> table). </p>
@@ -1269,8 +1322,12 @@ export declare class NoFreeAddressesInSubnet extends __BaseException {
1269
1322
  constructor(opts: __ExceptionOptionType<NoFreeAddressesInSubnet, __BaseException>);
1270
1323
  }
1271
1324
  /**
1272
- * <p>Returned if the size of <code>SecurityGroups</code> specified in the request is
1273
- * greater than five.</p>
1325
+ * <p>Returned if the number of <code>SecurityGroups</code> specified in the request is
1326
+ * greater than the limit, which is based on account quota. Either delete some security groups
1327
+ * or request that the account quota be raised. For more information, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/amazon-vpc-limits.html">Amazon VPC Quotas</a>
1328
+ * in the <i>Amazon VPC User Guide</i> (see the <b>Security Groups</b>
1329
+ * table).
1330
+ * </p>
1274
1331
  * @public
1275
1332
  */
1276
1333
  export declare class SecurityGroupLimitExceeded extends __BaseException {
@@ -1430,12 +1487,18 @@ export interface DestinationToCreate {
1430
1487
  * For cross-account replication, this must be an ARN. The file system's
1431
1488
  * replication overwrite replication must be disabled. If no ID or ARN is
1432
1489
  * specified, then a new file system is created. </p>
1490
+ * <note>
1491
+ * <p>When you initially configure replication to an existing file system, Amazon EFS
1492
+ * writes data to or removes existing data from the destination file system to match data in
1493
+ * the source file system. If you don't want to change data in the destination file system,
1494
+ * then you should replicate to a new file system instead. For more information, see <a href="https://docs.aws.amazon.com/efs/latest/ug/create-replication.html">https://docs.aws.amazon.com/efs/latest/ug/create-replication.html</a>.</p>
1495
+ * </note>
1433
1496
  * @public
1434
1497
  */
1435
1498
  FileSystemId?: string | undefined;
1436
1499
  /**
1437
- * <p>Amazon Resource Name (ARN) of the IAM role in the source account that allows Amazon EFS
1438
- * to perform replication on its behalf. This is optional for same-account
1500
+ * <p>Amazon Resource Name (ARN) of the IAM role in the source account that allows
1501
+ * Amazon EFS to perform replication on its behalf. This is optional for same-account
1439
1502
  * replication and required for cross-account replication.</p>
1440
1503
  * @public
1441
1504
  */
@@ -1519,8 +1582,8 @@ export interface Destination {
1519
1582
  */
1520
1583
  StatusMessage?: string | undefined;
1521
1584
  /**
1522
- * <p>Amazon Resource Name (ARN) of the IAM role in the source account that allows Amazon EFS
1523
- * to perform replication on its behalf. This is optional for same-account
1585
+ * <p>Amazon Resource Name (ARN) of the IAM role in the source account that allows
1586
+ * Amazon EFS to perform replication on its behalf. This is optional for same-account
1524
1587
  * replication and required for cross-account replication.</p>
1525
1588
  * @public
1526
1589
  */
@@ -1543,14 +1606,14 @@ export interface ReplicationConfigurationDescription {
1543
1606
  */
1544
1607
  SourceFileSystemRegion: string | undefined;
1545
1608
  /**
1546
- * <p>The Amazon Resource Name (ARN) of the current source file system in the replication
1547
- * configuration.</p>
1609
+ * <p>The Amazon Resource Name (ARN) of the current source file system in the
1610
+ * replication configuration.</p>
1548
1611
  * @public
1549
1612
  */
1550
1613
  SourceFileSystemArn: string | undefined;
1551
1614
  /**
1552
- * <p>The Amazon Resource Name (ARN) of the original source EFS file system in the
1553
- * replication configuration.</p>
1615
+ * <p>The Amazon Resource Name (ARN) of the original source EFS file
1616
+ * system in the replication configuration.</p>
1554
1617
  * @public
1555
1618
  */
1556
1619
  OriginalSourceFileSystemArn: string | undefined;
@@ -1959,7 +2022,7 @@ export interface DescribeBackupPolicyRequest {
1959
2022
  FileSystemId: string | undefined;
1960
2023
  }
1961
2024
  /**
1962
- * <p>Returned if the default file system policy is in effect for the EFS file system specified.</p>
2025
+ * <p>Returned if <code>no backup</code> is specified for a One Zone EFS file system.</p>
1963
2026
  * @public
1964
2027
  */
1965
2028
  export declare class PolicyNotFound extends __BaseException {
@@ -2457,7 +2520,7 @@ export interface ModifyMountTargetSecurityGroupsRequest {
2457
2520
  */
2458
2521
  MountTargetId: string | undefined;
2459
2522
  /**
2460
- * <p>An array of up to five VPC security group IDs.</p>
2523
+ * <p>An array of VPC security group IDs. </p>
2461
2524
  * @public
2462
2525
  */
2463
2526
  SecurityGroups?: string[] | undefined;
@@ -2669,7 +2732,7 @@ export interface UpdateFileSystemRequest {
2669
2732
  * <p>(Optional) The throughput, measured in mebibytes per second (MiBps), that you want to
2670
2733
  * provision for a file system that you're creating. Required if <code>ThroughputMode</code>
2671
2734
  * is set to <code>provisioned</code>. Valid values are 1-3414 MiBps, with the upper limit
2672
- * depending on Region. To increase this limit, contact Amazon Web Services Support. For more information,
2735
+ * depending on Region. To increase this limit, contact Amazon Web ServicesSupport. For more information,
2673
2736
  * see <a href="https://docs.aws.amazon.com/efs/latest/ug/limits.html#soft-limits">Amazon EFS
2674
2737
  * quotas that you can increase</a> in the <i>Amazon EFS User
2675
2738
  * Guide</i>.</p>
@@ -5,7 +5,6 @@ import {
5
5
  Provider,
6
6
  } from "@smithy/types";
7
7
  export interface ClientInputEndpointParameters {
8
- region?: string | Provider<string>;
9
8
  useDualstackEndpoint?: boolean | Provider<boolean>;
10
9
  useFipsEndpoint?: boolean | Provider<boolean>;
11
10
  endpoint?:
@@ -15,6 +14,7 @@ export interface ClientInputEndpointParameters {
15
14
  | Provider<Endpoint>
16
15
  | EndpointV2
17
16
  | Provider<EndpointV2>;
17
+ region?: string | Provider<string>;
18
18
  }
19
19
  export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
20
20
  defaultSigningName: string;
@@ -41,8 +41,8 @@ export declare const commonParams: {
41
41
  };
42
42
  };
43
43
  export interface EndpointParameters extends __EndpointParameters {
44
- Region?: string;
45
44
  UseDualStack?: boolean;
46
45
  UseFIPS?: boolean;
47
46
  Endpoint?: string;
47
+ Region?: string;
48
48
  }
@@ -255,10 +255,18 @@ export declare class UnsupportedAvailabilityZone extends __BaseException {
255
255
  opts: __ExceptionOptionType<UnsupportedAvailabilityZone, __BaseException>
256
256
  );
257
257
  }
258
+ export declare const IpAddressType: {
259
+ readonly DUAL_STACK: "DUAL_STACK";
260
+ readonly IPV4_ONLY: "IPV4_ONLY";
261
+ readonly IPV6_ONLY: "IPV6_ONLY";
262
+ };
263
+ export type IpAddressType = (typeof IpAddressType)[keyof typeof IpAddressType];
258
264
  export interface CreateMountTargetRequest {
259
265
  FileSystemId: string | undefined;
260
266
  SubnetId: string | undefined;
261
267
  IpAddress?: string | undefined;
268
+ Ipv6Address?: string | undefined;
269
+ IpAddressType?: IpAddressType | undefined;
262
270
  SecurityGroups?: string[] | undefined;
263
271
  }
264
272
  export declare class IpAddressInUse extends __BaseException {
@@ -284,6 +292,7 @@ export interface MountTargetDescription {
284
292
  SubnetId: string | undefined;
285
293
  LifeCycleState: LifeCycleState | undefined;
286
294
  IpAddress?: string | undefined;
295
+ Ipv6Address?: string | undefined;
287
296
  NetworkInterfaceId?: string | undefined;
288
297
  AvailabilityZoneId?: string | undefined;
289
298
  AvailabilityZoneName?: string | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-efs",
3
3
  "description": "AWS SDK for JavaScript Efs Client for Node.js, Browser and React Native",
4
- "version": "3.825.0",
4
+ "version": "3.827.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-efs",
@@ -20,38 +20,38 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.825.0",
24
- "@aws-sdk/credential-provider-node": "3.825.0",
23
+ "@aws-sdk/core": "3.826.0",
24
+ "@aws-sdk/credential-provider-node": "3.826.0",
25
25
  "@aws-sdk/middleware-host-header": "3.821.0",
26
26
  "@aws-sdk/middleware-logger": "3.821.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.821.0",
28
- "@aws-sdk/middleware-user-agent": "3.825.0",
28
+ "@aws-sdk/middleware-user-agent": "3.826.0",
29
29
  "@aws-sdk/region-config-resolver": "3.821.0",
30
30
  "@aws-sdk/types": "3.821.0",
31
31
  "@aws-sdk/util-endpoints": "3.821.0",
32
32
  "@aws-sdk/util-user-agent-browser": "3.821.0",
33
- "@aws-sdk/util-user-agent-node": "3.825.0",
33
+ "@aws-sdk/util-user-agent-node": "3.826.0",
34
34
  "@smithy/config-resolver": "^4.1.4",
35
- "@smithy/core": "^3.5.2",
35
+ "@smithy/core": "^3.5.3",
36
36
  "@smithy/fetch-http-handler": "^5.0.4",
37
37
  "@smithy/hash-node": "^4.0.4",
38
38
  "@smithy/invalid-dependency": "^4.0.4",
39
39
  "@smithy/middleware-content-length": "^4.0.4",
40
- "@smithy/middleware-endpoint": "^4.1.10",
41
- "@smithy/middleware-retry": "^4.1.11",
40
+ "@smithy/middleware-endpoint": "^4.1.11",
41
+ "@smithy/middleware-retry": "^4.1.12",
42
42
  "@smithy/middleware-serde": "^4.0.8",
43
43
  "@smithy/middleware-stack": "^4.0.4",
44
44
  "@smithy/node-config-provider": "^4.1.3",
45
45
  "@smithy/node-http-handler": "^4.0.6",
46
46
  "@smithy/protocol-http": "^5.1.2",
47
- "@smithy/smithy-client": "^4.4.2",
47
+ "@smithy/smithy-client": "^4.4.3",
48
48
  "@smithy/types": "^4.3.1",
49
49
  "@smithy/url-parser": "^4.0.4",
50
50
  "@smithy/util-base64": "^4.0.0",
51
51
  "@smithy/util-body-length-browser": "^4.0.0",
52
52
  "@smithy/util-body-length-node": "^4.0.0",
53
- "@smithy/util-defaults-mode-browser": "^4.0.18",
54
- "@smithy/util-defaults-mode-node": "^4.0.18",
53
+ "@smithy/util-defaults-mode-browser": "^4.0.19",
54
+ "@smithy/util-defaults-mode-node": "^4.0.19",
55
55
  "@smithy/util-endpoints": "^3.0.6",
56
56
  "@smithy/util-middleware": "^4.0.4",
57
57
  "@smithy/util-retry": "^4.0.5",