aws-sdk-efs 1.44.0 → 1.48.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 +61 -15
- data/lib/aws-sdk-efs/client_api.rb +1 -0
- 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: 54e07ef368af45883bfa16c5ae07bdc65507b568d26d5b8c1716f343e5b9a31e
|
4
|
+
data.tar.gz: 1174a1bcb41000dfbbb0fca0a6032c3ff9a771dc69eb19964638a40cd5660613
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7060fc4f9cc8bf945245534a2e9c5641487670f8f4b3e415c5e97c6f5ac28a48b113c1dc2b61f4840c3cfab8007ae69b27960169cdce00a5f395394dbfc83431
|
7
|
+
data.tar.gz: 961671b654214728c491b20375df68736d9c5ec8adc02674f52da23d02c7638503ed6c1d157526b188687da570c3f4de4c041751fe2ce6a8311efa271544c514
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,26 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.48.0 (2021-11-04)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.47.0 (2021-10-18)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
14
|
+
1.46.0 (2021-10-15)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - EFS adds documentation for a new exception for short identifiers to be thrown after its migration to long resource identifiers.
|
18
|
+
|
19
|
+
1.45.0 (2021-10-04)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* Feature - EFS adds a new exception for short identifiers to be thrown after its migration to long resource identifiers.
|
23
|
+
|
4
24
|
1.44.0 (2021-09-02)
|
5
25
|
------------------
|
6
26
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.48.0
|
data/lib/aws-sdk-efs/client.rb
CHANGED
@@ -275,6 +275,15 @@ module Aws::EFS
|
|
275
275
|
# ** Please note ** When response stubbing is enabled, no HTTP
|
276
276
|
# requests are made, and retries are disabled.
|
277
277
|
#
|
278
|
+
# @option options [Boolean] :use_dualstack_endpoint
|
279
|
+
# When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
|
280
|
+
# will be used if available.
|
281
|
+
#
|
282
|
+
# @option options [Boolean] :use_fips_endpoint
|
283
|
+
# When set to `true`, fips compatible endpoints will be used if available.
|
284
|
+
# When a `fips` region is used, the region is normalized and this config
|
285
|
+
# is set to `true`.
|
286
|
+
#
|
278
287
|
# @option options [Boolean] :validate_params (true)
|
279
288
|
# When `true`, request parameters are validated before
|
280
289
|
# sending the request.
|
@@ -1979,18 +1988,36 @@ module Aws::EFS
|
|
1979
1988
|
end
|
1980
1989
|
|
1981
1990
|
# 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]
|
1991
|
+
# Web Services Region to use long 17 character (63 bit) or short 8
|
1992
|
+
# character (32 bit) resource IDs for new EFS file system and mount
|
1993
|
+
# target resources. All existing resource IDs are not affected by any
|
1994
|
+
# changes you make. You can set the ID preference during the opt-in
|
1995
|
+
# period as EFS transitions to long resource IDs. For more information,
|
1996
|
+
# see [Managing Amazon EFS resource IDs][1].
|
1997
|
+
#
|
1998
|
+
# <note markdown="1"> Starting in October, 2021, you will receive an error if you try to set
|
1999
|
+
# the account preference to use the short 8 character format resource
|
2000
|
+
# ID. Contact Amazon Web Services support if you receive an error and
|
2001
|
+
# need to use short IDs for file system and mount target resources.
|
2002
|
+
#
|
2003
|
+
# </note>
|
2004
|
+
#
|
2005
|
+
#
|
2006
|
+
#
|
2007
|
+
# [1]: https://docs.aws.amazon.com/efs/latest/ug/manage-efs-resource-ids.html
|
1988
2008
|
#
|
1989
2009
|
# @option params [required, String] :resource_id_type
|
1990
2010
|
# Specifies the EFS resource ID preference to set for the user's Amazon
|
1991
2011
|
# Web Services account, in the current Amazon Web Services Region,
|
1992
2012
|
# either `LONG_ID` (17 characters), or `SHORT_ID` (8 characters).
|
1993
2013
|
#
|
2014
|
+
# <note markdown="1"> Starting in October, 2021, you will receive an error when setting the
|
2015
|
+
# account preference to `SHORT_ID`. Contact Amazon Web Services support
|
2016
|
+
# if you receive an error and need to use short IDs for file system and
|
2017
|
+
# mount target resources.
|
2018
|
+
#
|
2019
|
+
# </note>
|
2020
|
+
#
|
1994
2021
|
# @return [Types::PutAccountPreferencesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1995
2022
|
#
|
1996
2023
|
# * {Types::PutAccountPreferencesResponse#resource_id_preference #resource_id_preference} => Types::ResourceIdPreference
|
@@ -2060,7 +2087,9 @@ module Aws::EFS
|
|
2060
2087
|
# the default policy. For more information about the default file system
|
2061
2088
|
# policy, see [Default EFS File System Policy][1].
|
2062
2089
|
#
|
2063
|
-
# EFS file system policies have a 20,000 character limit.
|
2090
|
+
# <note markdown="1"> EFS file system policies have a 20,000 character limit.
|
2091
|
+
#
|
2092
|
+
# </note>
|
2064
2093
|
#
|
2065
2094
|
# This operation requires permissions for the
|
2066
2095
|
# `elasticfilesystem:PutFileSystemPolicy` action.
|
@@ -2129,15 +2158,14 @@ module Aws::EFS
|
|
2129
2158
|
# `TransitionToPrimaryStorageClass` to `AFTER_1_ACCESS`. For more
|
2130
2159
|
# information, see [EFS Lifecycle Management][1].
|
2131
2160
|
#
|
2132
|
-
# A `LifecycleConfiguration` applies to all files in a file system.
|
2133
|
-
#
|
2134
2161
|
# Each Amazon EFS file system supports one lifecycle configuration,
|
2135
2162
|
# which applies to all files in the file system. If a
|
2136
2163
|
# `LifecycleConfiguration` object already exists for the specified file
|
2137
2164
|
# system, a `PutLifecycleConfiguration` call modifies the existing
|
2138
2165
|
# configuration. A `PutLifecycleConfiguration` call with an empty
|
2139
2166
|
# `LifecyclePolicies` array in the request body deletes any existing
|
2140
|
-
# `LifecycleConfiguration` and
|
2167
|
+
# `LifecycleConfiguration` and turns off lifecycle management for the
|
2168
|
+
# file system.
|
2141
2169
|
#
|
2142
2170
|
# In the request, specify the following:
|
2143
2171
|
#
|
@@ -2145,8 +2173,11 @@ module Aws::EFS
|
|
2145
2173
|
# modifying lifecycle management.
|
2146
2174
|
#
|
2147
2175
|
# * A `LifecyclePolicies` array of `LifecyclePolicy` objects that define
|
2148
|
-
# when files are moved to the IA storage class.
|
2149
|
-
#
|
2176
|
+
# when files are moved to the IA storage class. Amazon EFS requires
|
2177
|
+
# that each `LifecyclePolicy` object have only have a single
|
2178
|
+
# transition, so the `LifecyclePolicies` array needs to be structured
|
2179
|
+
# with separate `LifecyclePolicy` objects. See the example requests in
|
2180
|
+
# the following section for more information.
|
2150
2181
|
#
|
2151
2182
|
# This operation requires permissions for the
|
2152
2183
|
# `elasticfilesystem:PutLifecycleConfiguration` operation.
|
@@ -2166,8 +2197,23 @@ module Aws::EFS
|
|
2166
2197
|
# @option params [required, Array<Types::LifecyclePolicy>] :lifecycle_policies
|
2167
2198
|
# An array of `LifecyclePolicy` objects that define the file system's
|
2168
2199
|
# `LifecycleConfiguration` object. A `LifecycleConfiguration` object
|
2169
|
-
#
|
2170
|
-
#
|
2200
|
+
# informs EFS lifecycle management and intelligent tiering of the
|
2201
|
+
# following:
|
2202
|
+
#
|
2203
|
+
# * When to move files in the file system from primary storage to the IA
|
2204
|
+
# storage class.
|
2205
|
+
#
|
2206
|
+
# * When to move files that are in IA storage to primary storage.
|
2207
|
+
#
|
2208
|
+
# <note markdown="1"> When using the `put-lifecycle-configuration` CLI command or the
|
2209
|
+
# `PutLifecycleConfiguration` API action, Amazon EFS requires that each
|
2210
|
+
# `LifecyclePolicy` object have only a single transition. This means
|
2211
|
+
# that in a request body, `LifecyclePolicies` needs to be structured as
|
2212
|
+
# an array of `LifecyclePolicy` objects, one object for each transition,
|
2213
|
+
# `TransitionToIA`, `TransitionToPrimaryStorageClass`. See the example
|
2214
|
+
# requests in the following section for more information.
|
2215
|
+
#
|
2216
|
+
# </note>
|
2171
2217
|
#
|
2172
2218
|
# @return [Types::LifecycleConfigurationDescription] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2173
2219
|
#
|
@@ -2387,7 +2433,7 @@ module Aws::EFS
|
|
2387
2433
|
params: params,
|
2388
2434
|
config: config)
|
2389
2435
|
context[:gem_name] = 'aws-sdk-efs'
|
2390
|
-
context[:gem_version] = '1.
|
2436
|
+
context[:gem_version] = '1.48.0'
|
2391
2437
|
Seahorse::Client::Request.new(handlers, context)
|
2392
2438
|
end
|
2393
2439
|
|
@@ -821,6 +821,7 @@ module Aws::EFS
|
|
821
821
|
o.http_request_uri = "/2015-02-01/account-preferences"
|
822
822
|
o.input = Shapes::ShapeRef.new(shape: PutAccountPreferencesRequest)
|
823
823
|
o.output = Shapes::ShapeRef.new(shape: PutAccountPreferencesResponse)
|
824
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequest)
|
824
825
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
825
826
|
end)
|
826
827
|
|
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.48.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-04 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
|