aws-sdk-efs 1.95.0 → 1.97.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-efs/client.rb +74 -27
- 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 +4 -0
- data/sig/resource.rbs +1 -0
- data/sig/types.rbs +3 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 171e76502d93058cc5492e21680d223221ee54262b891cdba5143b01a5667ebf
|
4
|
+
data.tar.gz: 61903b75126186fe0e021ba5c4160fcc123eaa5be2c934c9fba63556020a1851
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 01fa1e0a122d0d2107396dc2a38a5be422ead95c90417da0349945f24d78853515a7b22f036c1a8de1df96381f82ef27be3837d79b18a8e4b2c31f7de2b636f6
|
7
|
+
data.tar.gz: c6f366519609984e6239d4befd1462d467d680ea610a9a822b00724abfa0ac85091bdeed7b3c96bffd1d4f4c3e15555d457191f3fe94e79622835d23e57f5744
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.97.0 (2025-07-21)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.96.0 (2025-06-09)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Added support for Internet Protocol Version 6 (IPv6) on EFS Service APIs and mount targets.
|
13
|
+
|
4
14
|
1.95.0 (2025-06-02)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.97.0
|
data/lib/aws-sdk-efs/client.rb
CHANGED
@@ -95,7 +95,7 @@ module Aws::EFS
|
|
95
95
|
# class name or an instance of a plugin class.
|
96
96
|
#
|
97
97
|
# @option options [required, Aws::CredentialProvider] :credentials
|
98
|
-
# Your AWS credentials. This can be an instance of any one of the
|
98
|
+
# Your AWS credentials used for authentication. This can be an instance of any one of the
|
99
99
|
# following classes:
|
100
100
|
#
|
101
101
|
# * `Aws::Credentials` - Used for configuring static, non-refreshing
|
@@ -128,18 +128,23 @@ module Aws::EFS
|
|
128
128
|
# locations will be searched for credentials:
|
129
129
|
#
|
130
130
|
# * `Aws.config[:credentials]`
|
131
|
+
#
|
131
132
|
# * The `:access_key_id`, `:secret_access_key`, `:session_token`, and
|
132
133
|
# `:account_id` options.
|
133
|
-
#
|
134
|
-
#
|
134
|
+
#
|
135
|
+
# * `ENV['AWS_ACCESS_KEY_ID']`, `ENV['AWS_SECRET_ACCESS_KEY']`,
|
136
|
+
# `ENV['AWS_SESSION_TOKEN']`, and `ENV['AWS_ACCOUNT_ID']`.
|
137
|
+
#
|
135
138
|
# * `~/.aws/credentials`
|
139
|
+
#
|
136
140
|
# * `~/.aws/config`
|
141
|
+
#
|
137
142
|
# * EC2/ECS IMDS instance profile - When used by default, the timeouts
|
138
143
|
# are very aggressive. Construct and pass an instance of
|
139
144
|
# `Aws::InstanceProfileCredentials` or `Aws::ECSCredentials` to
|
140
145
|
# enable retries and extended timeouts. Instance profile credential
|
141
|
-
# fetching can be disabled by setting ENV['AWS_EC2_METADATA_DISABLED']
|
142
|
-
# to true
|
146
|
+
# fetching can be disabled by setting `ENV['AWS_EC2_METADATA_DISABLED']`
|
147
|
+
# to `true`.
|
143
148
|
#
|
144
149
|
# @option options [required, String] :region
|
145
150
|
# The AWS region to connect to. The configured `:region` is
|
@@ -167,6 +172,11 @@ module Aws::EFS
|
|
167
172
|
# When false, the request will raise a `RetryCapacityNotAvailableError` and will
|
168
173
|
# not retry instead of sleeping.
|
169
174
|
#
|
175
|
+
# @option options [Array<String>] :auth_scheme_preference
|
176
|
+
# A list of preferred authentication schemes to use when making a request. Supported values are:
|
177
|
+
# `sigv4`, `sigv4a`, `httpBearerAuth`, and `noAuth`. When set using `ENV['AWS_AUTH_SCHEME_PREFERENCE']` or in
|
178
|
+
# shared config as `auth_scheme_preference`, the value should be a comma-separated list.
|
179
|
+
#
|
170
180
|
# @option options [Boolean] :client_side_monitoring (false)
|
171
181
|
# When `true`, client-side metrics will be collected for all API requests from
|
172
182
|
# this client.
|
@@ -253,8 +263,8 @@ module Aws::EFS
|
|
253
263
|
# 4 times. Used in `standard` and `adaptive` retry modes.
|
254
264
|
#
|
255
265
|
# @option options [String] :profile ("default")
|
256
|
-
# Used when loading credentials from the shared credentials file
|
257
|
-
#
|
266
|
+
# Used when loading credentials from the shared credentials file at `HOME/.aws/credentials`.
|
267
|
+
# When not specified, 'default' is used.
|
258
268
|
#
|
259
269
|
# @option options [String] :request_checksum_calculation ("when_supported")
|
260
270
|
# Determines when a checksum will be calculated for request payloads. Values are:
|
@@ -367,7 +377,7 @@ module Aws::EFS
|
|
367
377
|
# `Aws::Telemetry::OTelProvider` for telemetry provider.
|
368
378
|
#
|
369
379
|
# @option options [Aws::TokenProvider] :token_provider
|
370
|
-
#
|
380
|
+
# Your Bearer token used for authentication. This can be an instance of any one of the
|
371
381
|
# following classes:
|
372
382
|
#
|
373
383
|
# * `Aws::StaticTokenProvider` - Used for configuring static, non-refreshing
|
@@ -476,14 +486,16 @@ module Aws::EFS
|
|
476
486
|
# user and group override any identity information provided by the NFS
|
477
487
|
# client. The file system path is exposed as the access point's root
|
478
488
|
# directory. Applications using the access point can only access data in
|
479
|
-
# the application's own directory and any subdirectories.
|
480
|
-
#
|
489
|
+
# the application's own directory and any subdirectories. A file system
|
490
|
+
# can have a maximum of 10,000 access points unless you request an
|
491
|
+
# increase. To learn more, see [Mounting a file system using EFS access
|
492
|
+
# points][1].
|
481
493
|
#
|
482
494
|
# <note markdown="1"> If multiple requests to create access points on the same file system
|
483
495
|
# are sent in quick succession, and the file system is near the limit of
|
484
|
-
#
|
485
|
-
#
|
486
|
-
#
|
496
|
+
# access points, you may experience a throttling response for these
|
497
|
+
# requests. This is to ensure that the file system does not exceed the
|
498
|
+
# stated access point limit.
|
487
499
|
#
|
488
500
|
# </note>
|
489
501
|
#
|
@@ -766,7 +778,7 @@ module Aws::EFS
|
|
766
778
|
# want to provision for a file system that you're creating. Required if
|
767
779
|
# `ThroughputMode` is set to `provisioned`. Valid values are 1-3414
|
768
780
|
# MiBps, with the upper limit depending on Region. To increase this
|
769
|
-
# limit, contact Amazon Web
|
781
|
+
# limit, contact Amazon Web ServicesSupport. For more information, see
|
770
782
|
# [Amazon EFS quotas that you can increase][1] in the *Amazon EFS User
|
771
783
|
# Guide*.
|
772
784
|
#
|
@@ -1035,11 +1047,12 @@ module Aws::EFS
|
|
1035
1047
|
# We recommend that you create a mount target in each of the
|
1036
1048
|
# Availability Zones. There are cost considerations for using a file
|
1037
1049
|
# 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
|
1050
|
+
# another Availability Zone. For more information, see [Amazon EFS
|
1051
|
+
# pricing][3]. In addition, by always using a mount target local to the
|
1052
|
+
# instance's Availability Zone, you eliminate a partial failure
|
1053
|
+
# scenario. If the Availability Zone in which your mount target is
|
1054
|
+
# created goes down, then you can't access your file system through
|
1055
|
+
# that mount target.
|
1043
1056
|
#
|
1044
1057
|
# This operation requires permissions for the following action on the
|
1045
1058
|
# file system:
|
@@ -1061,7 +1074,7 @@ module Aws::EFS
|
|
1061
1074
|
#
|
1062
1075
|
# [1]: https://docs.aws.amazon.com/efs/latest/ug/how-it-works.html
|
1063
1076
|
# [2]: https://docs.aws.amazon.com/efs/latest/ug/how-it-works.html#how-it-works-implementation
|
1064
|
-
# [3]: http://aws.amazon.com/efs/
|
1077
|
+
# [3]: http://aws.amazon.com/efs/pricing/
|
1065
1078
|
#
|
1066
1079
|
# @option params [required, String] :file_system_id
|
1067
1080
|
# The ID of the file system for which to create the mount target.
|
@@ -1072,11 +1085,40 @@ module Aws::EFS
|
|
1072
1085
|
# Availability Zone.
|
1073
1086
|
#
|
1074
1087
|
# @option params [String] :ip_address
|
1075
|
-
#
|
1088
|
+
# If the IP address type for the mount target is IPv4, then specify the
|
1089
|
+
# IPv4 address within the address range of the specified subnet.
|
1090
|
+
#
|
1091
|
+
# @option params [String] :ipv_6_address
|
1092
|
+
# If the IP address type for the mount target is IPv6, then specify the
|
1093
|
+
# IPv6 address within the address range of the specified subnet.
|
1094
|
+
#
|
1095
|
+
# @option params [String] :ip_address_type
|
1096
|
+
# Specify the type of IP address of the mount target you are creating.
|
1097
|
+
# Options are IPv4, dual stack, or IPv6. If you don’t specify an
|
1098
|
+
# IpAddressType, then IPv4 is used.
|
1099
|
+
#
|
1100
|
+
# * IPV4\_ONLY – Create mount target with IPv4 only subnet or dual-stack
|
1101
|
+
# subnet.
|
1102
|
+
#
|
1103
|
+
# * DUAL\_STACK – Create mount target with dual-stack subnet.
|
1104
|
+
#
|
1105
|
+
# * IPV6\_ONLY – Create mount target with IPv6 only subnet.
|
1106
|
+
#
|
1107
|
+
# <note markdown="1"> Creating IPv6 mount target only ENI in dual-stack subnet is not
|
1108
|
+
# supported.
|
1109
|
+
#
|
1110
|
+
# </note>
|
1076
1111
|
#
|
1077
1112
|
# @option params [Array<String>] :security_groups
|
1078
|
-
#
|
1079
|
-
#
|
1113
|
+
# VPC security group IDs, of the form `sg-xxxxxxxx`. These must be for
|
1114
|
+
# the same VPC as the subnet specified. The maximum number of security
|
1115
|
+
# groups depends on account quota. For more information, see [Amazon VPC
|
1116
|
+
# Quotas][1] in the *Amazon VPC User Guide* (see the **Security Groups**
|
1117
|
+
# table).
|
1118
|
+
#
|
1119
|
+
#
|
1120
|
+
#
|
1121
|
+
# [1]: https://docs.aws.amazon.com/vpc/latest/userguide/amazon-vpc-limits.html
|
1080
1122
|
#
|
1081
1123
|
# @return [Types::MountTargetDescription] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1082
1124
|
#
|
@@ -1086,6 +1128,7 @@ module Aws::EFS
|
|
1086
1128
|
# * {Types::MountTargetDescription#subnet_id #subnet_id} => String
|
1087
1129
|
# * {Types::MountTargetDescription#life_cycle_state #life_cycle_state} => String
|
1088
1130
|
# * {Types::MountTargetDescription#ip_address #ip_address} => String
|
1131
|
+
# * {Types::MountTargetDescription#ipv_6_address #ipv_6_address} => String
|
1089
1132
|
# * {Types::MountTargetDescription#network_interface_id #network_interface_id} => String
|
1090
1133
|
# * {Types::MountTargetDescription#availability_zone_id #availability_zone_id} => String
|
1091
1134
|
# * {Types::MountTargetDescription#availability_zone_name #availability_zone_name} => String
|
@@ -1118,6 +1161,8 @@ module Aws::EFS
|
|
1118
1161
|
# file_system_id: "FileSystemId", # required
|
1119
1162
|
# subnet_id: "SubnetId", # required
|
1120
1163
|
# ip_address: "IpAddress",
|
1164
|
+
# ipv_6_address: "Ipv6Address",
|
1165
|
+
# ip_address_type: "IPV4_ONLY", # accepts IPV4_ONLY, IPV6_ONLY, DUAL_STACK
|
1121
1166
|
# security_groups: ["SecurityGroup"],
|
1122
1167
|
# })
|
1123
1168
|
#
|
@@ -1129,6 +1174,7 @@ module Aws::EFS
|
|
1129
1174
|
# resp.subnet_id #=> String
|
1130
1175
|
# resp.life_cycle_state #=> String, one of "creating", "available", "updating", "deleting", "deleted", "error"
|
1131
1176
|
# resp.ip_address #=> String
|
1177
|
+
# resp.ipv_6_address #=> String
|
1132
1178
|
# resp.network_interface_id #=> String
|
1133
1179
|
# resp.availability_zone_id #=> String
|
1134
1180
|
# resp.availability_zone_name #=> String
|
@@ -1905,7 +1951,7 @@ module Aws::EFS
|
|
1905
1951
|
end
|
1906
1952
|
|
1907
1953
|
# Returns the current `LifecycleConfiguration` object for the specified
|
1908
|
-
#
|
1954
|
+
# EFS file system. Lifecycle management uses the
|
1909
1955
|
# `LifecycleConfiguration` object to identify when to move files between
|
1910
1956
|
# storage classes. For a file system without a `LifecycleConfiguration`
|
1911
1957
|
# object, the call returns an empty array in the response.
|
@@ -2108,6 +2154,7 @@ module Aws::EFS
|
|
2108
2154
|
# resp.mount_targets[0].subnet_id #=> String
|
2109
2155
|
# resp.mount_targets[0].life_cycle_state #=> String, one of "creating", "available", "updating", "deleting", "deleted", "error"
|
2110
2156
|
# resp.mount_targets[0].ip_address #=> String
|
2157
|
+
# resp.mount_targets[0].ipv_6_address #=> String
|
2111
2158
|
# resp.mount_targets[0].network_interface_id #=> String
|
2112
2159
|
# resp.mount_targets[0].availability_zone_id #=> String
|
2113
2160
|
# resp.mount_targets[0].availability_zone_name #=> String
|
@@ -2338,7 +2385,7 @@ module Aws::EFS
|
|
2338
2385
|
# The ID of the mount target whose security groups you want to modify.
|
2339
2386
|
#
|
2340
2387
|
# @option params [Array<String>] :security_groups
|
2341
|
-
# An array of
|
2388
|
+
# An array of VPC security group IDs.
|
2342
2389
|
#
|
2343
2390
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
2344
2391
|
#
|
@@ -2781,7 +2828,7 @@ module Aws::EFS
|
|
2781
2828
|
# that you want to provision for a file system that you're creating.
|
2782
2829
|
# Required if `ThroughputMode` is set to `provisioned`. Valid values are
|
2783
2830
|
# 1-3414 MiBps, with the upper limit depending on Region. To increase
|
2784
|
-
# this limit, contact Amazon Web
|
2831
|
+
# this limit, contact Amazon Web ServicesSupport. For more information,
|
2785
2832
|
# see [Amazon EFS quotas that you can increase][1] in the *Amazon EFS
|
2786
2833
|
# User Guide*.
|
2787
2834
|
#
|
@@ -2923,7 +2970,7 @@ module Aws::EFS
|
|
2923
2970
|
tracer: tracer
|
2924
2971
|
)
|
2925
2972
|
context[:gem_name] = 'aws-sdk-efs'
|
2926
|
-
context[:gem_version] = '1.
|
2973
|
+
context[:gem_version] = '1.97.0'
|
2927
2974
|
Seahorse::Client::Request.new(handlers, context)
|
2928
2975
|
end
|
2929
2976
|
|
@@ -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
@@ -18,6 +18,7 @@ module Aws
|
|
18
18
|
?account_id: String,
|
19
19
|
?active_endpoint_cache: bool,
|
20
20
|
?adaptive_retry_wait_to_fill: bool,
|
21
|
+
?auth_scheme_preference: Array[String],
|
21
22
|
?client_side_monitoring: bool,
|
22
23
|
?client_side_monitoring_client_id: String,
|
23
24
|
?client_side_monitoring_host: String,
|
@@ -164,6 +165,7 @@ module Aws
|
|
164
165
|
def subnet_id: () -> ::String
|
165
166
|
def life_cycle_state: () -> ("creating" | "available" | "updating" | "deleting" | "deleted" | "error")
|
166
167
|
def ip_address: () -> ::String
|
168
|
+
def ipv_6_address: () -> ::String
|
167
169
|
def network_interface_id: () -> ::String
|
168
170
|
def availability_zone_id: () -> ::String
|
169
171
|
def availability_zone_name: () -> ::String
|
@@ -174,6 +176,8 @@ module Aws
|
|
174
176
|
file_system_id: ::String,
|
175
177
|
subnet_id: ::String,
|
176
178
|
?ip_address: ::String,
|
179
|
+
?ipv_6_address: ::String,
|
180
|
+
?ip_address_type: ("IPV4_ONLY" | "IPV6_ONLY" | "DUAL_STACK"),
|
177
181
|
?security_groups: Array[::String]
|
178
182
|
) -> _CreateMountTargetResponseSuccess
|
179
183
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateMountTargetResponseSuccess
|
data/sig/resource.rbs
CHANGED
@@ -18,6 +18,7 @@ module Aws
|
|
18
18
|
?account_id: String,
|
19
19
|
?active_endpoint_cache: bool,
|
20
20
|
?adaptive_retry_wait_to_fill: bool,
|
21
|
+
?auth_scheme_preference: Array[String],
|
21
22
|
?client_side_monitoring: bool,
|
22
23
|
?client_side_monitoring_client_id: String,
|
23
24
|
?client_side_monitoring_host: String,
|
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
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-efs
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.97.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
@@ -18,7 +18,7 @@ dependencies:
|
|
18
18
|
version: '3'
|
19
19
|
- - ">="
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: 3.
|
21
|
+
version: 3.227.0
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -28,7 +28,7 @@ dependencies:
|
|
28
28
|
version: '3'
|
29
29
|
- - ">="
|
30
30
|
- !ruby/object:Gem::Version
|
31
|
-
version: 3.
|
31
|
+
version: 3.227.0
|
32
32
|
- !ruby/object:Gem::Dependency
|
33
33
|
name: aws-sigv4
|
34
34
|
requirement: !ruby/object:Gem::Requirement
|