aws-sdk-efs 1.45.0 → 1.46.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-efs/client.rb +52 -15
- data/lib/aws-sdk-efs/types.rb +50 -9
- data/lib/aws-sdk-efs.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8df0fca04850c2de03da3be698676a6a7efda52ca1bc83896c60687f954d7dc3
|
4
|
+
data.tar.gz: 0c75c0947ee46a8d9d11730aaf93dca6ecc7d314c4b25087d1b73c92de076ffa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 70dc2e6ab72150e405f00db84e764ba1e071769c78eb5815279dfa3b3588bcd57302fa2afe24f3015e1eaadfce061e337e765f27a6a494bac2047c03060cfa0a
|
7
|
+
data.tar.gz: 59966dd281e3b7dbf15ca7422e978e0afc0ee6fd2669caf7dc4b8c484193fdc8365a005fdee42070aeec491f7c50a38088af5515bcd7aecad76dcb0b9510a382
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.46.0 (2021-10-15)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - EFS adds documentation for a new exception for short identifiers to be thrown after its migration to long resource identifiers.
|
8
|
+
|
4
9
|
1.45.0 (2021-10-04)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.46.0
|
data/lib/aws-sdk-efs/client.rb
CHANGED
@@ -1979,18 +1979,36 @@ module Aws::EFS
|
|
1979
1979
|
end
|
1980
1980
|
|
1981
1981
|
# 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]
|
1982
|
+
# Web Services Region to use long 17 character (63 bit) or short 8
|
1983
|
+
# character (32 bit) resource IDs for new EFS file system and mount
|
1984
|
+
# target resources. All existing resource IDs are not affected by any
|
1985
|
+
# changes you make. You can set the ID preference during the opt-in
|
1986
|
+
# period as EFS transitions to long resource IDs. For more information,
|
1987
|
+
# see [Managing Amazon EFS resource IDs][1].
|
1988
|
+
#
|
1989
|
+
# <note markdown="1"> Starting in October, 2021, you will receive an error if you try to set
|
1990
|
+
# the account preference to use the short 8 character format resource
|
1991
|
+
# ID. Contact Amazon Web Services support if you receive an error and
|
1992
|
+
# need to use short IDs for file system and mount target resources.
|
1993
|
+
#
|
1994
|
+
# </note>
|
1995
|
+
#
|
1996
|
+
#
|
1997
|
+
#
|
1998
|
+
# [1]: https://docs.aws.amazon.com/efs/latest/ug/manage-efs-resource-ids.html
|
1988
1999
|
#
|
1989
2000
|
# @option params [required, String] :resource_id_type
|
1990
2001
|
# Specifies the EFS resource ID preference to set for the user's Amazon
|
1991
2002
|
# Web Services account, in the current Amazon Web Services Region,
|
1992
2003
|
# either `LONG_ID` (17 characters), or `SHORT_ID` (8 characters).
|
1993
2004
|
#
|
2005
|
+
# <note markdown="1"> Starting in October, 2021, you will receive an error when setting the
|
2006
|
+
# account preference to `SHORT_ID`. Contact Amazon Web Services support
|
2007
|
+
# if you receive an error and need to use short IDs for file system and
|
2008
|
+
# mount target resources.
|
2009
|
+
#
|
2010
|
+
# </note>
|
2011
|
+
#
|
1994
2012
|
# @return [Types::PutAccountPreferencesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1995
2013
|
#
|
1996
2014
|
# * {Types::PutAccountPreferencesResponse#resource_id_preference #resource_id_preference} => Types::ResourceIdPreference
|
@@ -2060,7 +2078,9 @@ module Aws::EFS
|
|
2060
2078
|
# the default policy. For more information about the default file system
|
2061
2079
|
# policy, see [Default EFS File System Policy][1].
|
2062
2080
|
#
|
2063
|
-
# EFS file system policies have a 20,000 character limit.
|
2081
|
+
# <note markdown="1"> EFS file system policies have a 20,000 character limit.
|
2082
|
+
#
|
2083
|
+
# </note>
|
2064
2084
|
#
|
2065
2085
|
# This operation requires permissions for the
|
2066
2086
|
# `elasticfilesystem:PutFileSystemPolicy` action.
|
@@ -2129,15 +2149,14 @@ module Aws::EFS
|
|
2129
2149
|
# `TransitionToPrimaryStorageClass` to `AFTER_1_ACCESS`. For more
|
2130
2150
|
# information, see [EFS Lifecycle Management][1].
|
2131
2151
|
#
|
2132
|
-
# A `LifecycleConfiguration` applies to all files in a file system.
|
2133
|
-
#
|
2134
2152
|
# Each Amazon EFS file system supports one lifecycle configuration,
|
2135
2153
|
# which applies to all files in the file system. If a
|
2136
2154
|
# `LifecycleConfiguration` object already exists for the specified file
|
2137
2155
|
# system, a `PutLifecycleConfiguration` call modifies the existing
|
2138
2156
|
# configuration. A `PutLifecycleConfiguration` call with an empty
|
2139
2157
|
# `LifecyclePolicies` array in the request body deletes any existing
|
2140
|
-
# `LifecycleConfiguration` and
|
2158
|
+
# `LifecycleConfiguration` and turns off lifecycle management for the
|
2159
|
+
# file system.
|
2141
2160
|
#
|
2142
2161
|
# In the request, specify the following:
|
2143
2162
|
#
|
@@ -2145,8 +2164,11 @@ module Aws::EFS
|
|
2145
2164
|
# modifying lifecycle management.
|
2146
2165
|
#
|
2147
2166
|
# * A `LifecyclePolicies` array of `LifecyclePolicy` objects that define
|
2148
|
-
# when files are moved to the IA storage class.
|
2149
|
-
#
|
2167
|
+
# when files are moved to the IA storage class. Amazon EFS requires
|
2168
|
+
# that each `LifecyclePolicy` object have only have a single
|
2169
|
+
# transition, so the `LifecyclePolicies` array needs to be structured
|
2170
|
+
# with separate `LifecyclePolicy` objects. See the example requests in
|
2171
|
+
# the following section for more information.
|
2150
2172
|
#
|
2151
2173
|
# This operation requires permissions for the
|
2152
2174
|
# `elasticfilesystem:PutLifecycleConfiguration` operation.
|
@@ -2166,8 +2188,23 @@ module Aws::EFS
|
|
2166
2188
|
# @option params [required, Array<Types::LifecyclePolicy>] :lifecycle_policies
|
2167
2189
|
# An array of `LifecyclePolicy` objects that define the file system's
|
2168
2190
|
# `LifecycleConfiguration` object. A `LifecycleConfiguration` object
|
2169
|
-
#
|
2170
|
-
#
|
2191
|
+
# informs EFS lifecycle management and intelligent tiering of the
|
2192
|
+
# following:
|
2193
|
+
#
|
2194
|
+
# * When to move files in the file system from primary storage to the IA
|
2195
|
+
# storage class.
|
2196
|
+
#
|
2197
|
+
# * When to move files that are in IA storage to primary storage.
|
2198
|
+
#
|
2199
|
+
# <note markdown="1"> When using the `put-lifecycle-configuration` CLI command or the
|
2200
|
+
# `PutLifecycleConfiguration` API action, Amazon EFS requires that each
|
2201
|
+
# `LifecyclePolicy` object have only a single transition. This means
|
2202
|
+
# that in a request body, `LifecyclePolicies` needs to be structured as
|
2203
|
+
# an array of `LifecyclePolicy` objects, one object for each transition,
|
2204
|
+
# `TransitionToIA`, `TransitionToPrimaryStorageClass`. See the example
|
2205
|
+
# requests in the following section for more information.
|
2206
|
+
#
|
2207
|
+
# </note>
|
2171
2208
|
#
|
2172
2209
|
# @return [Types::LifecycleConfigurationDescription] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2173
2210
|
#
|
@@ -2387,7 +2424,7 @@ module Aws::EFS
|
|
2387
2424
|
params: params,
|
2388
2425
|
config: config)
|
2389
2426
|
context[:gem_name] = 'aws-sdk-efs'
|
2390
|
-
context[:gem_version] = '1.
|
2427
|
+
context[:gem_version] = '1.46.0'
|
2391
2428
|
Seahorse::Client::Request.new(handlers, context)
|
2392
2429
|
end
|
2393
2430
|
|
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.46.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-10-
|
11
|
+
date: 2021-10-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|