aws-sdk-efs 1.95.0 → 1.96.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-efs/client.rb +56 -19
- data/lib/aws-sdk-efs/client_api.rb +5 -0
- data/lib/aws-sdk-efs/endpoint_parameters.rb +9 -9
- data/lib/aws-sdk-efs/endpoint_provider.rb +20 -2
- data/lib/aws-sdk-efs/types.rb +72 -14
- data/lib/aws-sdk-efs.rb +1 -1
- data/sig/client.rbs +3 -0
- data/sig/types.rbs +3 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e0804bb51db43e861ad561ddb75354bdb99f1a107afdc14ac10e7fc4b1570b31
|
4
|
+
data.tar.gz: b07bf5ed5b349265cd512500b77f08219fb4f6d7e89ef5815a989259b7b784cf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: da944449341dd786480b7bfc554713747d52f440042088de291c41125905ab730a6c0df6ea1041492eca6a86d1c6e1302faa97df6d08383f381d477655299941
|
7
|
+
data.tar.gz: 3db0f2baa2a9c807809922eef8d0970d8912796b6553a01f5e44bd21a9b729143ebe223e4928aef7f4a1badfcd2c96ada26275ac30f24330e8e88c5b9339efa7
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.96.0
|
data/lib/aws-sdk-efs/client.rb
CHANGED
@@ -476,14 +476,16 @@ module Aws::EFS
|
|
476
476
|
# user and group override any identity information provided by the NFS
|
477
477
|
# client. The file system path is exposed as the access point's root
|
478
478
|
# directory. Applications using the access point can only access data in
|
479
|
-
# the application's own directory and any subdirectories.
|
480
|
-
#
|
479
|
+
# the application's own directory and any subdirectories. A file system
|
480
|
+
# can have a maximum of 10,000 access points unless you request an
|
481
|
+
# increase. To learn more, see [Mounting a file system using EFS access
|
482
|
+
# points][1].
|
481
483
|
#
|
482
484
|
# <note markdown="1"> If multiple requests to create access points on the same file system
|
483
485
|
# are sent in quick succession, and the file system is near the limit of
|
484
|
-
#
|
485
|
-
#
|
486
|
-
#
|
486
|
+
# access points, you may experience a throttling response for these
|
487
|
+
# requests. This is to ensure that the file system does not exceed the
|
488
|
+
# stated access point limit.
|
487
489
|
#
|
488
490
|
# </note>
|
489
491
|
#
|
@@ -766,7 +768,7 @@ module Aws::EFS
|
|
766
768
|
# want to provision for a file system that you're creating. Required if
|
767
769
|
# `ThroughputMode` is set to `provisioned`. Valid values are 1-3414
|
768
770
|
# MiBps, with the upper limit depending on Region. To increase this
|
769
|
-
# limit, contact Amazon Web
|
771
|
+
# limit, contact Amazon Web ServicesSupport. For more information, see
|
770
772
|
# [Amazon EFS quotas that you can increase][1] in the *Amazon EFS User
|
771
773
|
# Guide*.
|
772
774
|
#
|
@@ -1035,11 +1037,12 @@ module Aws::EFS
|
|
1035
1037
|
# We recommend that you create a mount target in each of the
|
1036
1038
|
# Availability Zones. There are cost considerations for using a file
|
1037
1039
|
# system in an Availability Zone through a mount target created in
|
1038
|
-
# another Availability Zone. For more information, see [Amazon EFS
|
1039
|
-
# In addition, by always using a mount target local to the
|
1040
|
-
# Availability Zone, you eliminate a partial failure
|
1041
|
-
# Availability Zone in which your mount target is
|
1042
|
-
# then you can't access your file system through
|
1040
|
+
# another Availability Zone. For more information, see [Amazon EFS
|
1041
|
+
# pricing][3]. In addition, by always using a mount target local to the
|
1042
|
+
# instance's Availability Zone, you eliminate a partial failure
|
1043
|
+
# scenario. If the Availability Zone in which your mount target is
|
1044
|
+
# created goes down, then you can't access your file system through
|
1045
|
+
# that mount target.
|
1043
1046
|
#
|
1044
1047
|
# This operation requires permissions for the following action on the
|
1045
1048
|
# file system:
|
@@ -1061,7 +1064,7 @@ module Aws::EFS
|
|
1061
1064
|
#
|
1062
1065
|
# [1]: https://docs.aws.amazon.com/efs/latest/ug/how-it-works.html
|
1063
1066
|
# [2]: https://docs.aws.amazon.com/efs/latest/ug/how-it-works.html#how-it-works-implementation
|
1064
|
-
# [3]: http://aws.amazon.com/efs/
|
1067
|
+
# [3]: http://aws.amazon.com/efs/pricing/
|
1065
1068
|
#
|
1066
1069
|
# @option params [required, String] :file_system_id
|
1067
1070
|
# The ID of the file system for which to create the mount target.
|
@@ -1072,11 +1075,40 @@ module Aws::EFS
|
|
1072
1075
|
# Availability Zone.
|
1073
1076
|
#
|
1074
1077
|
# @option params [String] :ip_address
|
1075
|
-
#
|
1078
|
+
# If the IP address type for the mount target is IPv4, then specify the
|
1079
|
+
# IPv4 address within the address range of the specified subnet.
|
1080
|
+
#
|
1081
|
+
# @option params [String] :ipv_6_address
|
1082
|
+
# If the IP address type for the mount target is IPv6, then specify the
|
1083
|
+
# IPv6 address within the address range of the specified subnet.
|
1084
|
+
#
|
1085
|
+
# @option params [String] :ip_address_type
|
1086
|
+
# Specify the type of IP address of the mount target you are creating.
|
1087
|
+
# Options are IPv4, dual stack, or IPv6. If you don’t specify an
|
1088
|
+
# IpAddressType, then IPv4 is used.
|
1089
|
+
#
|
1090
|
+
# * IPV4\_ONLY – Create mount target with IPv4 only subnet or dual-stack
|
1091
|
+
# subnet.
|
1092
|
+
#
|
1093
|
+
# * DUAL\_STACK – Create mount target with dual-stack subnet.
|
1094
|
+
#
|
1095
|
+
# * IPV6\_ONLY – Create mount target with IPv6 only subnet.
|
1096
|
+
#
|
1097
|
+
# <note markdown="1"> Creating IPv6 mount target only ENI in dual-stack subnet is not
|
1098
|
+
# supported.
|
1099
|
+
#
|
1100
|
+
# </note>
|
1076
1101
|
#
|
1077
1102
|
# @option params [Array<String>] :security_groups
|
1078
|
-
#
|
1079
|
-
#
|
1103
|
+
# VPC security group IDs, of the form `sg-xxxxxxxx`. These must be for
|
1104
|
+
# the same VPC as the subnet specified. The maximum number of security
|
1105
|
+
# groups depends on account quota. For more information, see [Amazon VPC
|
1106
|
+
# Quotas][1] in the *Amazon VPC User Guide* (see the **Security Groups**
|
1107
|
+
# table).
|
1108
|
+
#
|
1109
|
+
#
|
1110
|
+
#
|
1111
|
+
# [1]: https://docs.aws.amazon.com/vpc/latest/userguide/amazon-vpc-limits.html
|
1080
1112
|
#
|
1081
1113
|
# @return [Types::MountTargetDescription] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1082
1114
|
#
|
@@ -1086,6 +1118,7 @@ module Aws::EFS
|
|
1086
1118
|
# * {Types::MountTargetDescription#subnet_id #subnet_id} => String
|
1087
1119
|
# * {Types::MountTargetDescription#life_cycle_state #life_cycle_state} => String
|
1088
1120
|
# * {Types::MountTargetDescription#ip_address #ip_address} => String
|
1121
|
+
# * {Types::MountTargetDescription#ipv_6_address #ipv_6_address} => String
|
1089
1122
|
# * {Types::MountTargetDescription#network_interface_id #network_interface_id} => String
|
1090
1123
|
# * {Types::MountTargetDescription#availability_zone_id #availability_zone_id} => String
|
1091
1124
|
# * {Types::MountTargetDescription#availability_zone_name #availability_zone_name} => String
|
@@ -1118,6 +1151,8 @@ module Aws::EFS
|
|
1118
1151
|
# file_system_id: "FileSystemId", # required
|
1119
1152
|
# subnet_id: "SubnetId", # required
|
1120
1153
|
# ip_address: "IpAddress",
|
1154
|
+
# ipv_6_address: "Ipv6Address",
|
1155
|
+
# ip_address_type: "IPV4_ONLY", # accepts IPV4_ONLY, IPV6_ONLY, DUAL_STACK
|
1121
1156
|
# security_groups: ["SecurityGroup"],
|
1122
1157
|
# })
|
1123
1158
|
#
|
@@ -1129,6 +1164,7 @@ module Aws::EFS
|
|
1129
1164
|
# resp.subnet_id #=> String
|
1130
1165
|
# resp.life_cycle_state #=> String, one of "creating", "available", "updating", "deleting", "deleted", "error"
|
1131
1166
|
# resp.ip_address #=> String
|
1167
|
+
# resp.ipv_6_address #=> String
|
1132
1168
|
# resp.network_interface_id #=> String
|
1133
1169
|
# resp.availability_zone_id #=> String
|
1134
1170
|
# resp.availability_zone_name #=> String
|
@@ -1905,7 +1941,7 @@ module Aws::EFS
|
|
1905
1941
|
end
|
1906
1942
|
|
1907
1943
|
# Returns the current `LifecycleConfiguration` object for the specified
|
1908
|
-
#
|
1944
|
+
# EFS file system. Lifecycle management uses the
|
1909
1945
|
# `LifecycleConfiguration` object to identify when to move files between
|
1910
1946
|
# storage classes. For a file system without a `LifecycleConfiguration`
|
1911
1947
|
# object, the call returns an empty array in the response.
|
@@ -2108,6 +2144,7 @@ module Aws::EFS
|
|
2108
2144
|
# resp.mount_targets[0].subnet_id #=> String
|
2109
2145
|
# resp.mount_targets[0].life_cycle_state #=> String, one of "creating", "available", "updating", "deleting", "deleted", "error"
|
2110
2146
|
# resp.mount_targets[0].ip_address #=> String
|
2147
|
+
# resp.mount_targets[0].ipv_6_address #=> String
|
2111
2148
|
# resp.mount_targets[0].network_interface_id #=> String
|
2112
2149
|
# resp.mount_targets[0].availability_zone_id #=> String
|
2113
2150
|
# resp.mount_targets[0].availability_zone_name #=> String
|
@@ -2338,7 +2375,7 @@ module Aws::EFS
|
|
2338
2375
|
# The ID of the mount target whose security groups you want to modify.
|
2339
2376
|
#
|
2340
2377
|
# @option params [Array<String>] :security_groups
|
2341
|
-
# An array of
|
2378
|
+
# An array of VPC security group IDs.
|
2342
2379
|
#
|
2343
2380
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
2344
2381
|
#
|
@@ -2781,7 +2818,7 @@ module Aws::EFS
|
|
2781
2818
|
# that you want to provision for a file system that you're creating.
|
2782
2819
|
# Required if `ThroughputMode` is set to `provisioned`. Valid values are
|
2783
2820
|
# 1-3414 MiBps, with the upper limit depending on Region. To increase
|
2784
|
-
# this limit, contact Amazon Web
|
2821
|
+
# this limit, contact Amazon Web ServicesSupport. For more information,
|
2785
2822
|
# see [Amazon EFS quotas that you can increase][1] in the *Amazon EFS
|
2786
2823
|
# User Guide*.
|
2787
2824
|
#
|
@@ -2923,7 +2960,7 @@ module Aws::EFS
|
|
2923
2960
|
tracer: tracer
|
2924
2961
|
)
|
2925
2962
|
context[:gem_name] = 'aws-sdk-efs'
|
2926
|
-
context[:gem_version] = '1.
|
2963
|
+
context[:gem_version] = '1.96.0'
|
2927
2964
|
Seahorse::Client::Request.new(handlers, context)
|
2928
2965
|
end
|
2929
2966
|
|
@@ -92,6 +92,8 @@ module Aws::EFS
|
|
92
92
|
InvalidPolicyException = Shapes::StructureShape.new(name: 'InvalidPolicyException')
|
93
93
|
IpAddress = Shapes::StringShape.new(name: 'IpAddress')
|
94
94
|
IpAddressInUse = Shapes::StructureShape.new(name: 'IpAddressInUse')
|
95
|
+
IpAddressType = Shapes::StringShape.new(name: 'IpAddressType')
|
96
|
+
Ipv6Address = Shapes::StringShape.new(name: 'Ipv6Address')
|
95
97
|
KmsKeyId = Shapes::StringShape.new(name: 'KmsKeyId')
|
96
98
|
LifeCycleState = Shapes::StringShape.new(name: 'LifeCycleState')
|
97
99
|
LifecycleConfigurationDescription = Shapes::StructureShape.new(name: 'LifecycleConfigurationDescription')
|
@@ -239,6 +241,8 @@ module Aws::EFS
|
|
239
241
|
CreateMountTargetRequest.add_member(:file_system_id, Shapes::ShapeRef.new(shape: FileSystemId, required: true, location_name: "FileSystemId"))
|
240
242
|
CreateMountTargetRequest.add_member(:subnet_id, Shapes::ShapeRef.new(shape: SubnetId, required: true, location_name: "SubnetId"))
|
241
243
|
CreateMountTargetRequest.add_member(:ip_address, Shapes::ShapeRef.new(shape: IpAddress, location_name: "IpAddress"))
|
244
|
+
CreateMountTargetRequest.add_member(:ipv_6_address, Shapes::ShapeRef.new(shape: Ipv6Address, location_name: "Ipv6Address"))
|
245
|
+
CreateMountTargetRequest.add_member(:ip_address_type, Shapes::ShapeRef.new(shape: IpAddressType, location_name: "IpAddressType"))
|
242
246
|
CreateMountTargetRequest.add_member(:security_groups, Shapes::ShapeRef.new(shape: SecurityGroups, location_name: "SecurityGroups"))
|
243
247
|
CreateMountTargetRequest.struct_class = Types::CreateMountTargetRequest
|
244
248
|
|
@@ -484,6 +488,7 @@ module Aws::EFS
|
|
484
488
|
MountTargetDescription.add_member(:subnet_id, Shapes::ShapeRef.new(shape: SubnetId, required: true, location_name: "SubnetId"))
|
485
489
|
MountTargetDescription.add_member(:life_cycle_state, Shapes::ShapeRef.new(shape: LifeCycleState, required: true, location_name: "LifeCycleState"))
|
486
490
|
MountTargetDescription.add_member(:ip_address, Shapes::ShapeRef.new(shape: IpAddress, location_name: "IpAddress"))
|
491
|
+
MountTargetDescription.add_member(:ipv_6_address, Shapes::ShapeRef.new(shape: Ipv6Address, location_name: "Ipv6Address"))
|
487
492
|
MountTargetDescription.add_member(:network_interface_id, Shapes::ShapeRef.new(shape: NetworkInterfaceId, location_name: "NetworkInterfaceId"))
|
488
493
|
MountTargetDescription.add_member(:availability_zone_id, Shapes::ShapeRef.new(shape: AvailabilityZoneId, location_name: "AvailabilityZoneId"))
|
489
494
|
MountTargetDescription.add_member(:availability_zone_name, Shapes::ShapeRef.new(shape: AvailabilityZoneName, location_name: "AvailabilityZoneName"))
|
@@ -10,11 +10,6 @@
|
|
10
10
|
module Aws::EFS
|
11
11
|
# Endpoint parameters used to influence endpoints per request.
|
12
12
|
#
|
13
|
-
# @!attribute region
|
14
|
-
# The AWS region used to dispatch the request.
|
15
|
-
#
|
16
|
-
# @return [String]
|
17
|
-
#
|
18
13
|
# @!attribute use_dual_stack
|
19
14
|
# When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.
|
20
15
|
#
|
@@ -30,39 +25,44 @@ module Aws::EFS
|
|
30
25
|
#
|
31
26
|
# @return [String]
|
32
27
|
#
|
28
|
+
# @!attribute region
|
29
|
+
# The AWS region used to dispatch the request.
|
30
|
+
#
|
31
|
+
# @return [String]
|
32
|
+
#
|
33
33
|
EndpointParameters = Struct.new(
|
34
|
-
:region,
|
35
34
|
:use_dual_stack,
|
36
35
|
:use_fips,
|
37
36
|
:endpoint,
|
37
|
+
:region,
|
38
38
|
) do
|
39
39
|
include Aws::Structure
|
40
40
|
|
41
41
|
# @api private
|
42
42
|
class << self
|
43
43
|
PARAM_MAP = {
|
44
|
-
'Region' => :region,
|
45
44
|
'UseDualStack' => :use_dual_stack,
|
46
45
|
'UseFIPS' => :use_fips,
|
47
46
|
'Endpoint' => :endpoint,
|
47
|
+
'Region' => :region,
|
48
48
|
}.freeze
|
49
49
|
end
|
50
50
|
|
51
51
|
def initialize(options = {})
|
52
|
-
self[:region] = options[:region]
|
53
52
|
self[:use_dual_stack] = options[:use_dual_stack]
|
54
53
|
self[:use_dual_stack] = false if self[:use_dual_stack].nil?
|
55
54
|
self[:use_fips] = options[:use_fips]
|
56
55
|
self[:use_fips] = false if self[:use_fips].nil?
|
57
56
|
self[:endpoint] = options[:endpoint]
|
57
|
+
self[:region] = options[:region]
|
58
58
|
end
|
59
59
|
|
60
60
|
def self.create(config, options={})
|
61
61
|
new({
|
62
|
-
region: config.region,
|
63
62
|
use_dual_stack: config.use_dualstack_endpoint,
|
64
63
|
use_fips: config.use_fips_endpoint,
|
65
64
|
endpoint: (config.endpoint.to_s unless config.regional_endpoint),
|
65
|
+
region: config.region,
|
66
66
|
}.merge(options))
|
67
67
|
end
|
68
68
|
end
|
@@ -21,19 +21,37 @@ module Aws::EFS
|
|
21
21
|
end
|
22
22
|
if Aws::Endpoints::Matchers.set?(parameters.region)
|
23
23
|
if (partition_result = Aws::Endpoints::Matchers.aws_partition(parameters.region))
|
24
|
+
if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws") && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, false) && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
|
25
|
+
return Aws::Endpoints::Endpoint.new(url: "https://efs.#{parameters.region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
26
|
+
end
|
27
|
+
if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws") && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
|
28
|
+
return Aws::Endpoints::Endpoint.new(url: "https://efs-fips.#{parameters.region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
29
|
+
end
|
30
|
+
if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws-cn") && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, false) && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
|
31
|
+
return Aws::Endpoints::Endpoint.new(url: "https://efs.#{parameters.region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
32
|
+
end
|
33
|
+
if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws-cn") && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
|
34
|
+
return Aws::Endpoints::Endpoint.new(url: "https://efs-fips.#{parameters.region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
35
|
+
end
|
36
|
+
if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws-us-gov") && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, false) && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
|
37
|
+
return Aws::Endpoints::Endpoint.new(url: "https://efs.#{parameters.region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
38
|
+
end
|
39
|
+
if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws-us-gov") && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
|
40
|
+
return Aws::Endpoints::Endpoint.new(url: "https://efs-fips.#{parameters.region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
41
|
+
end
|
24
42
|
if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
|
25
43
|
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
26
44
|
return Aws::Endpoints::Endpoint.new(url: "https://elasticfilesystem-fips.#{parameters.region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
27
45
|
end
|
28
46
|
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
29
47
|
end
|
30
|
-
if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true)
|
48
|
+
if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, false)
|
31
49
|
if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"), true)
|
32
50
|
return Aws::Endpoints::Endpoint.new(url: "https://elasticfilesystem-fips.#{parameters.region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
33
51
|
end
|
34
52
|
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
35
53
|
end
|
36
|
-
if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
|
54
|
+
if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, false) && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
|
37
55
|
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
38
56
|
return Aws::Endpoints::Endpoint.new(url: "https://elasticfilesystem.#{parameters.region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
39
57
|
end
|
data/lib/aws-sdk-efs/types.rb
CHANGED
@@ -444,9 +444,9 @@ module Aws::EFS
|
|
444
444
|
# want to provision for a file system that you're creating. Required
|
445
445
|
# if `ThroughputMode` is set to `provisioned`. Valid values are 1-3414
|
446
446
|
# MiBps, with the upper limit depending on Region. To increase this
|
447
|
-
# limit, contact Amazon Web
|
448
|
-
#
|
449
|
-
#
|
447
|
+
# limit, contact Amazon Web ServicesSupport. For more information, see
|
448
|
+
# [Amazon EFS quotas that you can increase][1] in the *Amazon EFS User
|
449
|
+
# Guide*.
|
450
450
|
#
|
451
451
|
#
|
452
452
|
#
|
@@ -530,12 +530,43 @@ module Aws::EFS
|
|
530
530
|
# @return [String]
|
531
531
|
#
|
532
532
|
# @!attribute [rw] ip_address
|
533
|
-
#
|
533
|
+
# If the IP address type for the mount target is IPv4, then specify
|
534
|
+
# the IPv4 address within the address range of the specified subnet.
|
535
|
+
# @return [String]
|
536
|
+
#
|
537
|
+
# @!attribute [rw] ipv_6_address
|
538
|
+
# If the IP address type for the mount target is IPv6, then specify
|
539
|
+
# the IPv6 address within the address range of the specified subnet.
|
540
|
+
# @return [String]
|
541
|
+
#
|
542
|
+
# @!attribute [rw] ip_address_type
|
543
|
+
# Specify the type of IP address of the mount target you are creating.
|
544
|
+
# Options are IPv4, dual stack, or IPv6. If you don’t specify an
|
545
|
+
# IpAddressType, then IPv4 is used.
|
546
|
+
#
|
547
|
+
# * IPV4\_ONLY – Create mount target with IPv4 only subnet or
|
548
|
+
# dual-stack subnet.
|
549
|
+
#
|
550
|
+
# * DUAL\_STACK – Create mount target with dual-stack subnet.
|
551
|
+
#
|
552
|
+
# * IPV6\_ONLY – Create mount target with IPv6 only subnet.
|
553
|
+
#
|
554
|
+
# <note markdown="1"> Creating IPv6 mount target only ENI in dual-stack subnet is not
|
555
|
+
# supported.
|
556
|
+
#
|
557
|
+
# </note>
|
534
558
|
# @return [String]
|
535
559
|
#
|
536
560
|
# @!attribute [rw] security_groups
|
537
|
-
#
|
538
|
-
#
|
561
|
+
# VPC security group IDs, of the form `sg-xxxxxxxx`. These must be for
|
562
|
+
# the same VPC as the subnet specified. The maximum number of security
|
563
|
+
# groups depends on account quota. For more information, see [Amazon
|
564
|
+
# VPC Quotas][1] in the *Amazon VPC User Guide* (see the **Security
|
565
|
+
# Groups** table).
|
566
|
+
#
|
567
|
+
#
|
568
|
+
#
|
569
|
+
# [1]: https://docs.aws.amazon.com/vpc/latest/userguide/amazon-vpc-limits.html
|
539
570
|
# @return [Array<String>]
|
540
571
|
#
|
541
572
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/CreateMountTargetRequest AWS API Documentation
|
@@ -544,6 +575,8 @@ module Aws::EFS
|
|
544
575
|
:file_system_id,
|
545
576
|
:subnet_id,
|
546
577
|
:ip_address,
|
578
|
+
:ipv_6_address,
|
579
|
+
:ip_address_type,
|
547
580
|
:security_groups)
|
548
581
|
SENSITIVE = []
|
549
582
|
include Aws::Structure
|
@@ -1299,6 +1332,20 @@ module Aws::EFS
|
|
1299
1332
|
# cross-account replication, this must be an ARN. The file system's
|
1300
1333
|
# replication overwrite replication must be disabled. If no ID or ARN
|
1301
1334
|
# is specified, then a new file system is created.
|
1335
|
+
#
|
1336
|
+
# <note markdown="1"> When you initially configure replication to an existing file system,
|
1337
|
+
# Amazon EFS writes data to or removes existing data from the
|
1338
|
+
# destination file system to match data in the source file system. If
|
1339
|
+
# you don't want to change data in the destination file system, then
|
1340
|
+
# you should replicate to a new file system instead. For more
|
1341
|
+
# information, see
|
1342
|
+
# [https://docs.aws.amazon.com/efs/latest/ug/create-replication.html][1].
|
1343
|
+
#
|
1344
|
+
# </note>
|
1345
|
+
#
|
1346
|
+
#
|
1347
|
+
#
|
1348
|
+
# [1]: https://docs.aws.amazon.com/efs/latest/ug/create-replication.html
|
1302
1349
|
# @return [String]
|
1303
1350
|
#
|
1304
1351
|
# @!attribute [rw] role_arn
|
@@ -1605,7 +1652,7 @@ module Aws::EFS
|
|
1605
1652
|
#
|
1606
1653
|
# * `REPLICATING` – The file system is being used as the destination
|
1607
1654
|
# file system in a replication configuration. The file system is
|
1608
|
-
# read-only and is
|
1655
|
+
# read-only and is modified only by EFS replication.
|
1609
1656
|
#
|
1610
1657
|
# If the replication configuration is deleted, the file system's
|
1611
1658
|
# replication overwrite protection is re-enabled, the file system
|
@@ -1953,7 +2000,7 @@ module Aws::EFS
|
|
1953
2000
|
# @return [String]
|
1954
2001
|
#
|
1955
2002
|
# @!attribute [rw] security_groups
|
1956
|
-
# An array of
|
2003
|
+
# An array of VPC security group IDs.
|
1957
2004
|
# @return [Array<String>]
|
1958
2005
|
#
|
1959
2006
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/ModifyMountTargetSecurityGroupsRequest AWS API Documentation
|
@@ -2020,6 +2067,10 @@ module Aws::EFS
|
|
2020
2067
|
# target.
|
2021
2068
|
# @return [String]
|
2022
2069
|
#
|
2070
|
+
# @!attribute [rw] ipv_6_address
|
2071
|
+
# The IPv6 address for the mount target.
|
2072
|
+
# @return [String]
|
2073
|
+
#
|
2023
2074
|
# @!attribute [rw] network_interface_id
|
2024
2075
|
# The ID of the network interface that Amazon EFS created when it
|
2025
2076
|
# created the mount target.
|
@@ -2055,6 +2106,7 @@ module Aws::EFS
|
|
2055
2106
|
:subnet_id,
|
2056
2107
|
:life_cycle_state,
|
2057
2108
|
:ip_address,
|
2109
|
+
:ipv_6_address,
|
2058
2110
|
:network_interface_id,
|
2059
2111
|
:availability_zone_id,
|
2060
2112
|
:availability_zone_name,
|
@@ -2100,7 +2152,7 @@ module Aws::EFS
|
|
2100
2152
|
#
|
2101
2153
|
#
|
2102
2154
|
#
|
2103
|
-
# [1]: https://docs.aws.amazon.com/
|
2155
|
+
# [1]: https://docs.aws.amazon.com/vpc/latest/userguide/amazon-vpc-limits.html
|
2104
2156
|
#
|
2105
2157
|
# @!attribute [rw] error_code
|
2106
2158
|
# The error code is a string that uniquely identifies an error
|
@@ -2155,8 +2207,7 @@ module Aws::EFS
|
|
2155
2207
|
include Aws::Structure
|
2156
2208
|
end
|
2157
2209
|
|
2158
|
-
# Returned if
|
2159
|
-
# file system specified.
|
2210
|
+
# Returned if `no backup` is specified for a One Zone EFS file system.
|
2160
2211
|
#
|
2161
2212
|
# @!attribute [rw] error_code
|
2162
2213
|
# The error code is a string that uniquely identifies an error
|
@@ -2520,8 +2571,15 @@ module Aws::EFS
|
|
2520
2571
|
include Aws::Structure
|
2521
2572
|
end
|
2522
2573
|
|
2523
|
-
# Returned if the
|
2524
|
-
# greater than
|
2574
|
+
# Returned if the number of `SecurityGroups` specified in the request is
|
2575
|
+
# greater than the limit, which is based on account quota. Either delete
|
2576
|
+
# some security groups or request that the account quota be raised. For
|
2577
|
+
# more information, see [Amazon VPC Quotas][1] in the *Amazon VPC User
|
2578
|
+
# Guide* (see the **Security Groups** table).
|
2579
|
+
#
|
2580
|
+
#
|
2581
|
+
#
|
2582
|
+
# [1]: https://docs.aws.amazon.com/vpc/latest/userguide/amazon-vpc-limits.html
|
2525
2583
|
#
|
2526
2584
|
# @!attribute [rw] error_code
|
2527
2585
|
# The error code is a string that uniquely identifies an error
|
@@ -2831,7 +2889,7 @@ module Aws::EFS
|
|
2831
2889
|
# that you want to provision for a file system that you're creating.
|
2832
2890
|
# Required if `ThroughputMode` is set to `provisioned`. Valid values
|
2833
2891
|
# are 1-3414 MiBps, with the upper limit depending on Region. To
|
2834
|
-
# increase this limit, contact Amazon Web
|
2892
|
+
# increase this limit, contact Amazon Web ServicesSupport. For more
|
2835
2893
|
# information, see [Amazon EFS quotas that you can increase][1] in the
|
2836
2894
|
# *Amazon EFS User Guide*.
|
2837
2895
|
#
|
data/lib/aws-sdk-efs.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -164,6 +164,7 @@ module Aws
|
|
164
164
|
def subnet_id: () -> ::String
|
165
165
|
def life_cycle_state: () -> ("creating" | "available" | "updating" | "deleting" | "deleted" | "error")
|
166
166
|
def ip_address: () -> ::String
|
167
|
+
def ipv_6_address: () -> ::String
|
167
168
|
def network_interface_id: () -> ::String
|
168
169
|
def availability_zone_id: () -> ::String
|
169
170
|
def availability_zone_name: () -> ::String
|
@@ -174,6 +175,8 @@ module Aws
|
|
174
175
|
file_system_id: ::String,
|
175
176
|
subnet_id: ::String,
|
176
177
|
?ip_address: ::String,
|
178
|
+
?ipv_6_address: ::String,
|
179
|
+
?ip_address_type: ("IPV4_ONLY" | "IPV6_ONLY" | "DUAL_STACK"),
|
177
180
|
?security_groups: Array[::String]
|
178
181
|
) -> _CreateMountTargetResponseSuccess
|
179
182
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateMountTargetResponseSuccess
|
data/sig/types.rbs
CHANGED
@@ -95,6 +95,8 @@ module Aws::EFS
|
|
95
95
|
attr_accessor file_system_id: ::String
|
96
96
|
attr_accessor subnet_id: ::String
|
97
97
|
attr_accessor ip_address: ::String
|
98
|
+
attr_accessor ipv_6_address: ::String
|
99
|
+
attr_accessor ip_address_type: ("IPV4_ONLY" | "IPV6_ONLY" | "DUAL_STACK")
|
98
100
|
attr_accessor security_groups: ::Array[::String]
|
99
101
|
SENSITIVE: []
|
100
102
|
end
|
@@ -432,6 +434,7 @@ module Aws::EFS
|
|
432
434
|
attr_accessor subnet_id: ::String
|
433
435
|
attr_accessor life_cycle_state: ("creating" | "available" | "updating" | "deleting" | "deleted" | "error")
|
434
436
|
attr_accessor ip_address: ::String
|
437
|
+
attr_accessor ipv_6_address: ::String
|
435
438
|
attr_accessor network_interface_id: ::String
|
436
439
|
attr_accessor availability_zone_id: ::String
|
437
440
|
attr_accessor availability_zone_name: ::String
|