aws-sdk-efs 1.45.0 → 1.49.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-efs/client.rb +64 -16
- data/lib/aws-sdk-efs/types.rb +50 -9
- data/lib/aws-sdk-efs.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: de2e91119bbdce2dadaa2e1aa22e8d604d2d9b0eff64b1abdbbcff608e75f423
|
4
|
+
data.tar.gz: fd6578e9e5a59703ea6e6ec5a46305d65a13ea04d2433a65dcc1ce925af4e882
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5d457256c7103dbe2523dda8b9a97a746a5821129719b17e4387c8bad649ca95553285240cc1bcf20228c31786c48374fee83a459dab1e3adeb01cb02514ad16
|
7
|
+
data.tar.gz: e6d5284d9c2015236fadedf818da5ebda89818962e9f13ca81d786d6323286d9f86d59b6631a240eb8ba44cf9cbf4474bc322e79fa3fa9a4548c2d26e86e2db6
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,26 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.49.0 (2021-11-30)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.48.0 (2021-11-04)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
14
|
+
1.47.0 (2021-10-18)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
18
|
+
|
19
|
+
1.46.0 (2021-10-15)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* Feature - EFS adds documentation for a new exception for short identifiers to be thrown after its migration to long resource identifiers.
|
23
|
+
|
4
24
|
1.45.0 (2021-10-04)
|
5
25
|
------------------
|
6
26
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.49.0
|
data/lib/aws-sdk-efs/client.rb
CHANGED
@@ -119,7 +119,9 @@ module Aws::EFS
|
|
119
119
|
# * EC2/ECS IMDS instance profile - When used by default, the timeouts
|
120
120
|
# are very aggressive. Construct and pass an instance of
|
121
121
|
# `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
|
122
|
-
# enable retries and extended timeouts.
|
122
|
+
# enable retries and extended timeouts. Instance profile credential
|
123
|
+
# fetching can be disabled by setting ENV['AWS_EC2_METADATA_DISABLED']
|
124
|
+
# to true.
|
123
125
|
#
|
124
126
|
# @option options [required, String] :region
|
125
127
|
# The AWS region to connect to. The configured `:region` is
|
@@ -275,6 +277,15 @@ module Aws::EFS
|
|
275
277
|
# ** Please note ** When response stubbing is enabled, no HTTP
|
276
278
|
# requests are made, and retries are disabled.
|
277
279
|
#
|
280
|
+
# @option options [Boolean] :use_dualstack_endpoint
|
281
|
+
# When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
|
282
|
+
# will be used if available.
|
283
|
+
#
|
284
|
+
# @option options [Boolean] :use_fips_endpoint
|
285
|
+
# When set to `true`, fips compatible endpoints will be used if available.
|
286
|
+
# When a `fips` region is used, the region is normalized and this config
|
287
|
+
# is set to `true`.
|
288
|
+
#
|
278
289
|
# @option options [Boolean] :validate_params (true)
|
279
290
|
# When `true`, request parameters are validated before
|
280
291
|
# sending the request.
|
@@ -1979,18 +1990,36 @@ module Aws::EFS
|
|
1979
1990
|
end
|
1980
1991
|
|
1981
1992
|
# Use this operation to set the account preference in the current Amazon
|
1982
|
-
# Web Services Region to use
|
1983
|
-
#
|
1984
|
-
#
|
1985
|
-
# make. You can set the ID preference during the opt-in
|
1986
|
-
# transitions to long resource IDs. For more information,
|
1987
|
-
# Amazon EFS resource IDs]
|
1993
|
+
# Web Services Region to use long 17 character (63 bit) or short 8
|
1994
|
+
# character (32 bit) resource IDs for new EFS file system and mount
|
1995
|
+
# target resources. All existing resource IDs are not affected by any
|
1996
|
+
# changes you make. You can set the ID preference during the opt-in
|
1997
|
+
# period as EFS transitions to long resource IDs. For more information,
|
1998
|
+
# see [Managing Amazon EFS resource IDs][1].
|
1999
|
+
#
|
2000
|
+
# <note markdown="1"> Starting in October, 2021, you will receive an error if you try to set
|
2001
|
+
# the account preference to use the short 8 character format resource
|
2002
|
+
# ID. Contact Amazon Web Services support if you receive an error and
|
2003
|
+
# need to use short IDs for file system and mount target resources.
|
2004
|
+
#
|
2005
|
+
# </note>
|
2006
|
+
#
|
2007
|
+
#
|
2008
|
+
#
|
2009
|
+
# [1]: https://docs.aws.amazon.com/efs/latest/ug/manage-efs-resource-ids.html
|
1988
2010
|
#
|
1989
2011
|
# @option params [required, String] :resource_id_type
|
1990
2012
|
# Specifies the EFS resource ID preference to set for the user's Amazon
|
1991
2013
|
# Web Services account, in the current Amazon Web Services Region,
|
1992
2014
|
# either `LONG_ID` (17 characters), or `SHORT_ID` (8 characters).
|
1993
2015
|
#
|
2016
|
+
# <note markdown="1"> Starting in October, 2021, you will receive an error when setting the
|
2017
|
+
# account preference to `SHORT_ID`. Contact Amazon Web Services support
|
2018
|
+
# if you receive an error and need to use short IDs for file system and
|
2019
|
+
# mount target resources.
|
2020
|
+
#
|
2021
|
+
# </note>
|
2022
|
+
#
|
1994
2023
|
# @return [Types::PutAccountPreferencesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1995
2024
|
#
|
1996
2025
|
# * {Types::PutAccountPreferencesResponse#resource_id_preference #resource_id_preference} => Types::ResourceIdPreference
|
@@ -2060,7 +2089,9 @@ module Aws::EFS
|
|
2060
2089
|
# the default policy. For more information about the default file system
|
2061
2090
|
# policy, see [Default EFS File System Policy][1].
|
2062
2091
|
#
|
2063
|
-
# EFS file system policies have a 20,000 character limit.
|
2092
|
+
# <note markdown="1"> EFS file system policies have a 20,000 character limit.
|
2093
|
+
#
|
2094
|
+
# </note>
|
2064
2095
|
#
|
2065
2096
|
# This operation requires permissions for the
|
2066
2097
|
# `elasticfilesystem:PutFileSystemPolicy` action.
|
@@ -2129,15 +2160,14 @@ module Aws::EFS
|
|
2129
2160
|
# `TransitionToPrimaryStorageClass` to `AFTER_1_ACCESS`. For more
|
2130
2161
|
# information, see [EFS Lifecycle Management][1].
|
2131
2162
|
#
|
2132
|
-
# A `LifecycleConfiguration` applies to all files in a file system.
|
2133
|
-
#
|
2134
2163
|
# Each Amazon EFS file system supports one lifecycle configuration,
|
2135
2164
|
# which applies to all files in the file system. If a
|
2136
2165
|
# `LifecycleConfiguration` object already exists for the specified file
|
2137
2166
|
# system, a `PutLifecycleConfiguration` call modifies the existing
|
2138
2167
|
# configuration. A `PutLifecycleConfiguration` call with an empty
|
2139
2168
|
# `LifecyclePolicies` array in the request body deletes any existing
|
2140
|
-
# `LifecycleConfiguration` and
|
2169
|
+
# `LifecycleConfiguration` and turns off lifecycle management for the
|
2170
|
+
# file system.
|
2141
2171
|
#
|
2142
2172
|
# In the request, specify the following:
|
2143
2173
|
#
|
@@ -2145,8 +2175,11 @@ module Aws::EFS
|
|
2145
2175
|
# modifying lifecycle management.
|
2146
2176
|
#
|
2147
2177
|
# * A `LifecyclePolicies` array of `LifecyclePolicy` objects that define
|
2148
|
-
# when files are moved to the IA storage class.
|
2149
|
-
#
|
2178
|
+
# when files are moved to the IA storage class. Amazon EFS requires
|
2179
|
+
# that each `LifecyclePolicy` object have only have a single
|
2180
|
+
# transition, so the `LifecyclePolicies` array needs to be structured
|
2181
|
+
# with separate `LifecyclePolicy` objects. See the example requests in
|
2182
|
+
# the following section for more information.
|
2150
2183
|
#
|
2151
2184
|
# This operation requires permissions for the
|
2152
2185
|
# `elasticfilesystem:PutLifecycleConfiguration` operation.
|
@@ -2166,8 +2199,23 @@ module Aws::EFS
|
|
2166
2199
|
# @option params [required, Array<Types::LifecyclePolicy>] :lifecycle_policies
|
2167
2200
|
# An array of `LifecyclePolicy` objects that define the file system's
|
2168
2201
|
# `LifecycleConfiguration` object. A `LifecycleConfiguration` object
|
2169
|
-
#
|
2170
|
-
#
|
2202
|
+
# informs EFS lifecycle management and intelligent tiering of the
|
2203
|
+
# following:
|
2204
|
+
#
|
2205
|
+
# * When to move files in the file system from primary storage to the IA
|
2206
|
+
# storage class.
|
2207
|
+
#
|
2208
|
+
# * When to move files that are in IA storage to primary storage.
|
2209
|
+
#
|
2210
|
+
# <note markdown="1"> When using the `put-lifecycle-configuration` CLI command or the
|
2211
|
+
# `PutLifecycleConfiguration` API action, Amazon EFS requires that each
|
2212
|
+
# `LifecyclePolicy` object have only a single transition. This means
|
2213
|
+
# that in a request body, `LifecyclePolicies` needs to be structured as
|
2214
|
+
# an array of `LifecyclePolicy` objects, one object for each transition,
|
2215
|
+
# `TransitionToIA`, `TransitionToPrimaryStorageClass`. See the example
|
2216
|
+
# requests in the following section for more information.
|
2217
|
+
#
|
2218
|
+
# </note>
|
2171
2219
|
#
|
2172
2220
|
# @return [Types::LifecycleConfigurationDescription] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2173
2221
|
#
|
@@ -2387,7 +2435,7 @@ module Aws::EFS
|
|
2387
2435
|
params: params,
|
2388
2436
|
config: config)
|
2389
2437
|
context[:gem_name] = 'aws-sdk-efs'
|
2390
|
-
context[:gem_version] = '1.
|
2438
|
+
context[:gem_version] = '1.49.0'
|
2391
2439
|
Seahorse::Client::Request.new(handlers, context)
|
2392
2440
|
end
|
2393
2441
|
|
data/lib/aws-sdk-efs/types.rb
CHANGED
@@ -1548,8 +1548,25 @@ module Aws::EFS
|
|
1548
1548
|
include Aws::Structure
|
1549
1549
|
end
|
1550
1550
|
|
1551
|
-
# Describes a policy used by EFS lifecycle management
|
1552
|
-
#
|
1551
|
+
# Describes a policy used by EFS lifecycle management and EFS
|
1552
|
+
# intelligent tiering that specifies when to transition files into and
|
1553
|
+
# out of the file system's Infrequent Access (IA) storage class. For
|
1554
|
+
# more information, see [EFS Intelligent‐Tiering and EFS Lifecycle
|
1555
|
+
# Management][1].
|
1556
|
+
#
|
1557
|
+
# <note markdown="1"> When using the `put-lifecycle-configuration` CLI command or the
|
1558
|
+
# `PutLifecycleConfiguration` API action, Amazon EFS requires that each
|
1559
|
+
# `LifecyclePolicy` object have only a single transition. This means
|
1560
|
+
# that in a request body, `LifecyclePolicies` needs to be structured as
|
1561
|
+
# an array of `LifecyclePolicy` objects, one object for each transition,
|
1562
|
+
# `TransitionToIA`, `TransitionToPrimaryStorageClass`. For more
|
1563
|
+
# information, see the request examples in PutLifecycleConfiguration.
|
1564
|
+
#
|
1565
|
+
# </note>
|
1566
|
+
#
|
1567
|
+
#
|
1568
|
+
#
|
1569
|
+
# [1]: https://docs.aws.amazon.com/efs/latest/ug/lifecycle-management-efs.html
|
1553
1570
|
#
|
1554
1571
|
# @note When making an API call, you may pass LifecyclePolicy
|
1555
1572
|
# data as a hash:
|
@@ -1561,14 +1578,15 @@ module Aws::EFS
|
|
1561
1578
|
#
|
1562
1579
|
# @!attribute [rw] transition_to_ia
|
1563
1580
|
# Describes the period of time that a file is not accessed, after
|
1564
|
-
# which it transitions to
|
1565
|
-
#
|
1566
|
-
#
|
1581
|
+
# which it transitions to IA storage. Metadata operations such as
|
1582
|
+
# listing the contents of a directory don't count as file access
|
1583
|
+
# events.
|
1567
1584
|
# @return [String]
|
1568
1585
|
#
|
1569
1586
|
# @!attribute [rw] transition_to_primary_storage_class
|
1570
|
-
# Describes
|
1571
|
-
# storage
|
1587
|
+
# Describes when to transition a file from IA storage to primary
|
1588
|
+
# storage. Metadata operations such as listing the contents of a
|
1589
|
+
# directory don't count as file access events.
|
1572
1590
|
# @return [String]
|
1573
1591
|
#
|
1574
1592
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/LifecyclePolicy AWS API Documentation
|
@@ -1878,6 +1896,13 @@ module Aws::EFS
|
|
1878
1896
|
# Amazon Web Services account, in the current Amazon Web Services
|
1879
1897
|
# Region, either `LONG_ID` (17 characters), or `SHORT_ID` (8
|
1880
1898
|
# characters).
|
1899
|
+
#
|
1900
|
+
# <note markdown="1"> Starting in October, 2021, you will receive an error when setting
|
1901
|
+
# the account preference to `SHORT_ID`. Contact Amazon Web Services
|
1902
|
+
# support if you receive an error and need to use short IDs for file
|
1903
|
+
# system and mount target resources.
|
1904
|
+
#
|
1905
|
+
# </note>
|
1881
1906
|
# @return [String]
|
1882
1907
|
#
|
1883
1908
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/PutAccountPreferencesRequest AWS API Documentation
|
@@ -1997,8 +2022,24 @@ module Aws::EFS
|
|
1997
2022
|
# @!attribute [rw] lifecycle_policies
|
1998
2023
|
# An array of `LifecyclePolicy` objects that define the file system's
|
1999
2024
|
# `LifecycleConfiguration` object. A `LifecycleConfiguration` object
|
2000
|
-
#
|
2001
|
-
#
|
2025
|
+
# informs EFS lifecycle management and intelligent tiering of the
|
2026
|
+
# following:
|
2027
|
+
#
|
2028
|
+
# * When to move files in the file system from primary storage to the
|
2029
|
+
# IA storage class.
|
2030
|
+
#
|
2031
|
+
# * When to move files that are in IA storage to primary storage.
|
2032
|
+
#
|
2033
|
+
# <note markdown="1"> When using the `put-lifecycle-configuration` CLI command or the
|
2034
|
+
# `PutLifecycleConfiguration` API action, Amazon EFS requires that
|
2035
|
+
# each `LifecyclePolicy` object have only a single transition. This
|
2036
|
+
# means that in a request body, `LifecyclePolicies` needs to be
|
2037
|
+
# structured as an array of `LifecyclePolicy` objects, one object for
|
2038
|
+
# each transition, `TransitionToIA`,
|
2039
|
+
# `TransitionToPrimaryStorageClass`. See the example requests in the
|
2040
|
+
# following section for more information.
|
2041
|
+
#
|
2042
|
+
# </note>
|
2002
2043
|
# @return [Array<Types::LifecyclePolicy>]
|
2003
2044
|
#
|
2004
2045
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/PutLifecycleConfigurationRequest AWS API Documentation
|
data/lib/aws-sdk-efs.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
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.49.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-11-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.122.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.122.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|