aws-sdk-efs 1.43.0 → 1.47.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 +126 -45
- data/lib/aws-sdk-efs/client_api.rb +3 -0
- data/lib/aws-sdk-efs/types.rb +158 -74
- 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: 6898867f3bec3e6dcaf26262a58b0a72e48917d1c2dc922ac0d09ee0ecad1640
|
4
|
+
data.tar.gz: 436070b567ac24245c7c5f184691ff996869e9d007496051cee9f9641d57eb93
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 49d3edc0d27dd3dc179f25273ff31e1c9321838262ecca5559df0bdccd947e1f67680928469ec4012c5c06ee564ac26ab20c7e22ecaa7009fc50bc5ce85cd0b7
|
7
|
+
data.tar.gz: 5622527906dda671e1bcae4257cb5e338bf6cf626106738b6ceffff880645031c0d4fc92c43b7705e1042e44246005d8347307d681d776d7b4d7c2da92807af3
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,26 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.47.0 (2021-10-18)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.46.0 (2021-10-15)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - EFS adds documentation for a new exception for short identifiers to be thrown after its migration to long resource identifiers.
|
13
|
+
|
14
|
+
1.45.0 (2021-10-04)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - EFS adds a new exception for short identifiers to be thrown after its migration to long resource identifiers.
|
18
|
+
|
19
|
+
1.44.0 (2021-09-02)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* Feature - Adds support for EFS Intelligent-Tiering, which uses EFS Lifecycle Management to monitor file access patterns and is designed to automatically transition files to and from your corresponding Infrequent Access (IA) storage classes.
|
23
|
+
|
4
24
|
1.43.0 (2021-09-01)
|
5
25
|
------------------
|
6
26
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.47.0
|
data/lib/aws-sdk-efs/client.rb
CHANGED
@@ -353,7 +353,13 @@ module Aws::EFS
|
|
353
353
|
#
|
354
354
|
# @option params [Array<Types::Tag>] :tags
|
355
355
|
# Creates tags associated with the access point. Each tag is a key-value
|
356
|
-
# pair.
|
356
|
+
# pair, each key must be unique. For more information, see [Tagging
|
357
|
+
# Amazon Web Services resources][1] in the *Amazon Web Services General
|
358
|
+
# Reference Guide*.
|
359
|
+
#
|
360
|
+
#
|
361
|
+
#
|
362
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html
|
357
363
|
#
|
358
364
|
# @option params [required, String] :file_system_id
|
359
365
|
# The ID of the EFS file system that the access point provides access
|
@@ -452,8 +458,8 @@ module Aws::EFS
|
|
452
458
|
# token in the request that Amazon EFS uses to ensure idempotent
|
453
459
|
# creation (calling the operation with same creation token has no
|
454
460
|
# effect). If a file system does not currently exist that is owned by
|
455
|
-
# the caller's
|
456
|
-
# operation does the following:
|
461
|
+
# the caller's Amazon Web Services account with the specified creation
|
462
|
+
# token, this operation does the following:
|
457
463
|
#
|
458
464
|
# * Creates a new, empty file system. The file system will have an
|
459
465
|
# Amazon EFS assigned ID, and an initial lifecycle state `creating`.
|
@@ -538,17 +544,17 @@ module Aws::EFS
|
|
538
544
|
# @option params [Boolean] :encrypted
|
539
545
|
# A Boolean value that, if true, creates an encrypted file system. When
|
540
546
|
# creating an encrypted file system, you have the option of specifying
|
541
|
-
# CreateFileSystemRequest$KmsKeyId for an existing
|
542
|
-
# Service (
|
543
|
-
#
|
544
|
-
#
|
547
|
+
# CreateFileSystemRequest$KmsKeyId for an existing Key Management
|
548
|
+
# Service (KMS customer master key (CMK). If you don't specify a CMK,
|
549
|
+
# then the default CMK for Amazon EFS, `/aws/elasticfilesystem`, is used
|
550
|
+
# to protect the encrypted file system.
|
545
551
|
#
|
546
552
|
# @option params [String] :kms_key_id
|
547
|
-
# The ID of the
|
548
|
-
#
|
549
|
-
#
|
550
|
-
#
|
551
|
-
#
|
553
|
+
# The ID of the KMS CMK that you want to use to protect the encrypted
|
554
|
+
# file system. This parameter is only required if you want to use a
|
555
|
+
# non-default KMS key. If this parameter is not specified, the default
|
556
|
+
# CMK for Amazon EFS is used. This ID can be in one of the following
|
557
|
+
# formats:
|
552
558
|
#
|
553
559
|
# * Key ID - A unique identifier of the key, for example
|
554
560
|
# `1234abcd-12ab-34cd-56ef-1234567890ab`.
|
@@ -589,9 +595,9 @@ module Aws::EFS
|
|
589
595
|
# The throughput, measured in MiB/s, that you want to provision for a
|
590
596
|
# file system that you're creating. Valid values are 1-1024. Required
|
591
597
|
# if `ThroughputMode` is set to `provisioned`. The upper limit for
|
592
|
-
# throughput is 1024 MiB/s. To increase this limit, contact
|
593
|
-
# For more information, see [Amazon EFS quotas that
|
594
|
-
# in the *Amazon EFS User Guide*.
|
598
|
+
# throughput is 1024 MiB/s. To increase this limit, contact Amazon Web
|
599
|
+
# Services Support. For more information, see [Amazon EFS quotas that
|
600
|
+
# you can increase][1] in the *Amazon EFS User Guide*.
|
595
601
|
#
|
596
602
|
#
|
597
603
|
#
|
@@ -599,13 +605,14 @@ module Aws::EFS
|
|
599
605
|
#
|
600
606
|
# @option params [String] :availability_zone_name
|
601
607
|
# Used to create a file system that uses One Zone storage classes. It
|
602
|
-
# specifies the
|
603
|
-
# system. Use the format `us-east-1a` to specify the
|
604
|
-
# For more information about One Zone storage
|
605
|
-
# storage classes][1] in the *Amazon EFS User
|
608
|
+
# specifies the Amazon Web Services Availability Zone in which to create
|
609
|
+
# the file system. Use the format `us-east-1a` to specify the
|
610
|
+
# Availability Zone. For more information about One Zone storage
|
611
|
+
# classes, see [Using EFS storage classes][1] in the *Amazon EFS User
|
612
|
+
# Guide*.
|
606
613
|
#
|
607
614
|
# <note markdown="1"> One Zone storage classes are not available in all Availability Zones
|
608
|
-
# in
|
615
|
+
# in Amazon Web Services Regions where Amazon EFS is available.
|
609
616
|
#
|
610
617
|
# </note>
|
611
618
|
#
|
@@ -624,8 +631,8 @@ module Aws::EFS
|
|
624
631
|
# Default is `false`. However, if you specify an `AvailabilityZoneName`,
|
625
632
|
# the default is `true`.
|
626
633
|
#
|
627
|
-
# <note markdown="1">
|
628
|
-
# available.
|
634
|
+
# <note markdown="1"> Backup is not available in all Amazon Web Services Regionswhere Amazon
|
635
|
+
# EFS is available.
|
629
636
|
#
|
630
637
|
# </note>
|
631
638
|
#
|
@@ -634,10 +641,16 @@ module Aws::EFS
|
|
634
641
|
# [1]: https://docs.aws.amazon.com/efs/latest/ug/awsbackup.html#automatic-backups
|
635
642
|
#
|
636
643
|
# @option params [Array<Types::Tag>] :tags
|
637
|
-
#
|
638
|
-
#
|
639
|
-
#
|
640
|
-
# key
|
644
|
+
# Use to create one or more tags associated with the file system. Each
|
645
|
+
# tag is a user-defined key-value pair. Name your file system on
|
646
|
+
# creation by including a `"Key":"Name","Value":"\{value\}"` key-value
|
647
|
+
# pair. Each key must be unique. For more information, see [Tagging
|
648
|
+
# Amazon Web Services resources][1] in the *Amazon Web Services General
|
649
|
+
# Reference Guide*.
|
650
|
+
#
|
651
|
+
#
|
652
|
+
#
|
653
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html
|
641
654
|
#
|
642
655
|
# @return [Types::FileSystemDescription] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
643
656
|
#
|
@@ -1201,8 +1214,8 @@ module Aws::EFS
|
|
1201
1214
|
# Deletes the specified tags from a file system. If the `DeleteTags`
|
1202
1215
|
# request includes a tag key that doesn't exist, Amazon EFS ignores it
|
1203
1216
|
# and doesn't cause an error. For more information about tags and
|
1204
|
-
# related restrictions, see [Tag
|
1205
|
-
#
|
1217
|
+
# related restrictions, see [Tag restrictions][1] in the *Billing and
|
1218
|
+
# Cost Management User Guide*.
|
1206
1219
|
#
|
1207
1220
|
# This operation requires permissions for the
|
1208
1221
|
# `elasticfilesystem:DeleteTags` action.
|
@@ -1322,11 +1335,20 @@ module Aws::EFS
|
|
1322
1335
|
req.send_request(options)
|
1323
1336
|
end
|
1324
1337
|
|
1338
|
+
# Returns the account preferences settings for the Amazon Web Services
|
1339
|
+
# account associated with the user making the request, in the current
|
1340
|
+
# Amazon Web Services Region. For more information, see [Managing Amazon
|
1341
|
+
# EFS resource IDs](efs/latest/ug/manage-efs-resource-ids.html).
|
1342
|
+
#
|
1325
1343
|
# @option params [String] :next_token
|
1326
|
-
#
|
1344
|
+
# (Optional) You can use `NextToken` in a subsequent request to fetch
|
1345
|
+
# the next page of Amazon Web Services account preferences if the
|
1346
|
+
# response payload was paginated.
|
1327
1347
|
#
|
1328
1348
|
# @option params [Integer] :max_results
|
1329
|
-
#
|
1349
|
+
# (Optional) When retrieving account preferences, you can optionally
|
1350
|
+
# specify the `MaxItems` parameter to limit the number of objects
|
1351
|
+
# returned in a response. The default value is 100.
|
1330
1352
|
#
|
1331
1353
|
# @return [Types::DescribeAccountPreferencesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1332
1354
|
#
|
@@ -1421,8 +1443,8 @@ module Aws::EFS
|
|
1421
1443
|
# Returns the description of a specific Amazon EFS file system if either
|
1422
1444
|
# the file system `CreationToken` or the `FileSystemId` is provided.
|
1423
1445
|
# Otherwise, it returns descriptions of all file systems owned by the
|
1424
|
-
# caller's
|
1425
|
-
# calling.
|
1446
|
+
# caller's Amazon Web Services account in the Amazon Web Services
|
1447
|
+
# Region of the endpoint that you're calling.
|
1426
1448
|
#
|
1427
1449
|
# When retrieving all file system descriptions, you can optionally
|
1428
1450
|
# specify the `MaxItems` parameter to limit the number of descriptions
|
@@ -1559,6 +1581,9 @@ module Aws::EFS
|
|
1559
1581
|
# `LifecycleConfiguration` object, the call returns an empty array in
|
1560
1582
|
# the response.
|
1561
1583
|
#
|
1584
|
+
# When EFS Intelligent Tiering is enabled,
|
1585
|
+
# `TransitionToPrimaryStorageClass` has a value of `AFTER_1_ACCESS`.
|
1586
|
+
#
|
1562
1587
|
# This operation requires permissions for the
|
1563
1588
|
# `elasticfilesystem:DescribeLifecycleConfiguration` operation.
|
1564
1589
|
#
|
@@ -1599,6 +1624,7 @@ module Aws::EFS
|
|
1599
1624
|
#
|
1600
1625
|
# resp.lifecycle_policies #=> Array
|
1601
1626
|
# resp.lifecycle_policies[0].transition_to_ia #=> String, one of "AFTER_7_DAYS", "AFTER_14_DAYS", "AFTER_30_DAYS", "AFTER_60_DAYS", "AFTER_90_DAYS"
|
1627
|
+
# resp.lifecycle_policies[0].transition_to_primary_storage_class #=> String, one of "AFTER_1_ACCESS"
|
1602
1628
|
#
|
1603
1629
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/DescribeLifecycleConfiguration AWS API Documentation
|
1604
1630
|
#
|
@@ -1952,9 +1978,36 @@ module Aws::EFS
|
|
1952
1978
|
req.send_request(options)
|
1953
1979
|
end
|
1954
1980
|
|
1981
|
+
# Use this operation to set the account preference in the current Amazon
|
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
|
1999
|
+
#
|
1955
2000
|
# @option params [required, String] :resource_id_type
|
1956
|
-
#
|
1957
|
-
#
|
2001
|
+
# Specifies the EFS resource ID preference to set for the user's Amazon
|
2002
|
+
# Web Services account, in the current Amazon Web Services Region,
|
2003
|
+
# either `LONG_ID` (17 characters), or `SHORT_ID` (8 characters).
|
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>
|
1958
2011
|
#
|
1959
2012
|
# @return [Types::PutAccountPreferencesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1960
2013
|
#
|
@@ -2025,7 +2078,9 @@ module Aws::EFS
|
|
2025
2078
|
# the default policy. For more information about the default file system
|
2026
2079
|
# policy, see [Default EFS File System Policy][1].
|
2027
2080
|
#
|
2028
|
-
# 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>
|
2029
2084
|
#
|
2030
2085
|
# This operation requires permissions for the
|
2031
2086
|
# `elasticfilesystem:PutFileSystemPolicy` action.
|
@@ -2090,8 +2145,9 @@ module Aws::EFS
|
|
2090
2145
|
# `LifecycleConfiguration` object. A `LifecycleConfiguration` object
|
2091
2146
|
# defines when files in an Amazon EFS file system are automatically
|
2092
2147
|
# transitioned to the lower-cost EFS Infrequent Access (IA) storage
|
2093
|
-
# class.
|
2094
|
-
#
|
2148
|
+
# class. To enable EFS Intelligent Tiering, set the value of
|
2149
|
+
# `TransitionToPrimaryStorageClass` to `AFTER_1_ACCESS`. For more
|
2150
|
+
# information, see [EFS Lifecycle Management][1].
|
2095
2151
|
#
|
2096
2152
|
# Each Amazon EFS file system supports one lifecycle configuration,
|
2097
2153
|
# which applies to all files in the file system. If a
|
@@ -2099,7 +2155,8 @@ module Aws::EFS
|
|
2099
2155
|
# system, a `PutLifecycleConfiguration` call modifies the existing
|
2100
2156
|
# configuration. A `PutLifecycleConfiguration` call with an empty
|
2101
2157
|
# `LifecyclePolicies` array in the request body deletes any existing
|
2102
|
-
# `LifecycleConfiguration` and
|
2158
|
+
# `LifecycleConfiguration` and turns off lifecycle management for the
|
2159
|
+
# file system.
|
2103
2160
|
#
|
2104
2161
|
# In the request, specify the following:
|
2105
2162
|
#
|
@@ -2107,15 +2164,22 @@ module Aws::EFS
|
|
2107
2164
|
# modifying lifecycle management.
|
2108
2165
|
#
|
2109
2166
|
# * A `LifecyclePolicies` array of `LifecyclePolicy` objects that define
|
2110
|
-
# when files are moved to the IA storage class.
|
2111
|
-
#
|
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.
|
2112
2172
|
#
|
2113
2173
|
# This operation requires permissions for the
|
2114
2174
|
# `elasticfilesystem:PutLifecycleConfiguration` operation.
|
2115
2175
|
#
|
2116
2176
|
# To apply a `LifecycleConfiguration` object to an encrypted file
|
2117
|
-
# system, you need the same
|
2118
|
-
#
|
2177
|
+
# system, you need the same Key Management Service permissions as when
|
2178
|
+
# you created the encrypted file system.
|
2179
|
+
#
|
2180
|
+
#
|
2181
|
+
#
|
2182
|
+
# [1]: https://docs.aws.amazon.com/efs/latest/ug/lifecycle-management-efs.html
|
2119
2183
|
#
|
2120
2184
|
# @option params [required, String] :file_system_id
|
2121
2185
|
# The ID of the file system for which you are creating the
|
@@ -2124,8 +2188,23 @@ module Aws::EFS
|
|
2124
2188
|
# @option params [required, Array<Types::LifecyclePolicy>] :lifecycle_policies
|
2125
2189
|
# An array of `LifecyclePolicy` objects that define the file system's
|
2126
2190
|
# `LifecycleConfiguration` object. A `LifecycleConfiguration` object
|
2127
|
-
#
|
2128
|
-
#
|
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>
|
2129
2208
|
#
|
2130
2209
|
# @return [Types::LifecycleConfigurationDescription] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2131
2210
|
#
|
@@ -2163,6 +2242,7 @@ module Aws::EFS
|
|
2163
2242
|
# lifecycle_policies: [ # required
|
2164
2243
|
# {
|
2165
2244
|
# transition_to_ia: "AFTER_7_DAYS", # accepts AFTER_7_DAYS, AFTER_14_DAYS, AFTER_30_DAYS, AFTER_60_DAYS, AFTER_90_DAYS
|
2245
|
+
# transition_to_primary_storage_class: "AFTER_1_ACCESS", # accepts AFTER_1_ACCESS
|
2166
2246
|
# },
|
2167
2247
|
# ],
|
2168
2248
|
# })
|
@@ -2171,6 +2251,7 @@ module Aws::EFS
|
|
2171
2251
|
#
|
2172
2252
|
# resp.lifecycle_policies #=> Array
|
2173
2253
|
# resp.lifecycle_policies[0].transition_to_ia #=> String, one of "AFTER_7_DAYS", "AFTER_14_DAYS", "AFTER_30_DAYS", "AFTER_60_DAYS", "AFTER_90_DAYS"
|
2254
|
+
# resp.lifecycle_policies[0].transition_to_primary_storage_class #=> String, one of "AFTER_1_ACCESS"
|
2174
2255
|
#
|
2175
2256
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/PutLifecycleConfiguration AWS API Documentation
|
2176
2257
|
#
|
@@ -2343,7 +2424,7 @@ module Aws::EFS
|
|
2343
2424
|
params: params,
|
2344
2425
|
config: config)
|
2345
2426
|
context[:gem_name] = 'aws-sdk-efs'
|
2346
|
-
context[:gem_version] = '1.
|
2427
|
+
context[:gem_version] = '1.47.0'
|
2347
2428
|
Seahorse::Client::Request.new(handlers, context)
|
2348
2429
|
end
|
2349
2430
|
|
@@ -141,6 +141,7 @@ module Aws::EFS
|
|
141
141
|
Token = Shapes::StringShape.new(name: 'Token')
|
142
142
|
TooManyRequests = Shapes::StructureShape.new(name: 'TooManyRequests')
|
143
143
|
TransitionToIARules = Shapes::StringShape.new(name: 'TransitionToIARules')
|
144
|
+
TransitionToPrimaryStorageClassRules = Shapes::StringShape.new(name: 'TransitionToPrimaryStorageClassRules')
|
144
145
|
Uid = Shapes::IntegerShape.new(name: 'Uid')
|
145
146
|
UnsupportedAvailabilityZone = Shapes::StructureShape.new(name: 'UnsupportedAvailabilityZone')
|
146
147
|
UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
|
@@ -386,6 +387,7 @@ module Aws::EFS
|
|
386
387
|
LifecyclePolicies.member = Shapes::ShapeRef.new(shape: LifecyclePolicy)
|
387
388
|
|
388
389
|
LifecyclePolicy.add_member(:transition_to_ia, Shapes::ShapeRef.new(shape: TransitionToIARules, location_name: "TransitionToIA"))
|
390
|
+
LifecyclePolicy.add_member(:transition_to_primary_storage_class, Shapes::ShapeRef.new(shape: TransitionToPrimaryStorageClassRules, location_name: "TransitionToPrimaryStorageClass"))
|
389
391
|
LifecyclePolicy.struct_class = Types::LifecyclePolicy
|
390
392
|
|
391
393
|
ListTagsForResourceRequest.add_member(:resource_id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location: "uri", location_name: "ResourceId"))
|
@@ -819,6 +821,7 @@ module Aws::EFS
|
|
819
821
|
o.http_request_uri = "/2015-02-01/account-preferences"
|
820
822
|
o.input = Shapes::ShapeRef.new(shape: PutAccountPreferencesRequest)
|
821
823
|
o.output = Shapes::ShapeRef.new(shape: PutAccountPreferencesResponse)
|
824
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequest)
|
822
825
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
823
826
|
end)
|
824
827
|
|
data/lib/aws-sdk-efs/types.rb
CHANGED
@@ -73,7 +73,8 @@ module Aws::EFS
|
|
73
73
|
# @return [Types::RootDirectory]
|
74
74
|
#
|
75
75
|
# @!attribute [rw] owner_id
|
76
|
-
# Identified the
|
76
|
+
# Identified the Amazon Web Services account that owns the access
|
77
|
+
# point resource.
|
77
78
|
# @return [String]
|
78
79
|
#
|
79
80
|
# @!attribute [rw] life_cycle_state
|
@@ -97,8 +98,8 @@ module Aws::EFS
|
|
97
98
|
include Aws::Structure
|
98
99
|
end
|
99
100
|
|
100
|
-
# Returned if the
|
101
|
-
# access points allowed per file system.
|
101
|
+
# Returned if the Amazon Web Services account has already created the
|
102
|
+
# maximum number of access points allowed per file system.
|
102
103
|
#
|
103
104
|
# @!attribute [rw] error_code
|
104
105
|
# @return [String]
|
@@ -116,7 +117,7 @@ module Aws::EFS
|
|
116
117
|
end
|
117
118
|
|
118
119
|
# Returned if the specified `AccessPointId` value doesn't exist in the
|
119
|
-
# requester's
|
120
|
+
# requester's Amazon Web Services account.
|
120
121
|
#
|
121
122
|
# @!attribute [rw] error_code
|
122
123
|
# @return [String]
|
@@ -265,7 +266,13 @@ module Aws::EFS
|
|
265
266
|
#
|
266
267
|
# @!attribute [rw] tags
|
267
268
|
# Creates tags associated with the access point. Each tag is a
|
268
|
-
# key-value pair.
|
269
|
+
# key-value pair, each key must be unique. For more information, see
|
270
|
+
# [Tagging Amazon Web Services resources][1] in the *Amazon Web
|
271
|
+
# Services General Reference Guide*.
|
272
|
+
#
|
273
|
+
#
|
274
|
+
#
|
275
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html
|
269
276
|
# @return [Array<Types::Tag>]
|
270
277
|
#
|
271
278
|
# @!attribute [rw] file_system_id
|
@@ -353,19 +360,19 @@ module Aws::EFS
|
|
353
360
|
# @!attribute [rw] encrypted
|
354
361
|
# A Boolean value that, if true, creates an encrypted file system.
|
355
362
|
# When creating an encrypted file system, you have the option of
|
356
|
-
# specifying CreateFileSystemRequest$KmsKeyId for an existing
|
357
|
-
# Management Service (
|
358
|
-
#
|
363
|
+
# specifying CreateFileSystemRequest$KmsKeyId for an existing Key
|
364
|
+
# Management Service (KMS customer master key (CMK). If you don't
|
365
|
+
# specify a CMK, then the default CMK for Amazon EFS,
|
359
366
|
# `/aws/elasticfilesystem`, is used to protect the encrypted file
|
360
367
|
# system.
|
361
368
|
# @return [Boolean]
|
362
369
|
#
|
363
370
|
# @!attribute [rw] kms_key_id
|
364
|
-
# The ID of the
|
365
|
-
#
|
366
|
-
#
|
367
|
-
#
|
368
|
-
#
|
371
|
+
# The ID of the KMS CMK that you want to use to protect the encrypted
|
372
|
+
# file system. This parameter is only required if you want to use a
|
373
|
+
# non-default KMS key. If this parameter is not specified, the default
|
374
|
+
# CMK for Amazon EFS is used. This ID can be in one of the following
|
375
|
+
# formats:
|
369
376
|
#
|
370
377
|
# * Key ID - A unique identifier of the key, for example
|
371
378
|
# `1234abcd-12ab-34cd-56ef-1234567890ab`.
|
@@ -408,9 +415,9 @@ module Aws::EFS
|
|
408
415
|
# The throughput, measured in MiB/s, that you want to provision for a
|
409
416
|
# file system that you're creating. Valid values are 1-1024. Required
|
410
417
|
# if `ThroughputMode` is set to `provisioned`. The upper limit for
|
411
|
-
# throughput is 1024 MiB/s. To increase this limit, contact
|
412
|
-
# Support. For more information, see [Amazon EFS quotas that
|
413
|
-
# increase][1] in the *Amazon EFS User Guide*.
|
418
|
+
# throughput is 1024 MiB/s. To increase this limit, contact Amazon Web
|
419
|
+
# Services Support. For more information, see [Amazon EFS quotas that
|
420
|
+
# you can increase][1] in the *Amazon EFS User Guide*.
|
414
421
|
#
|
415
422
|
#
|
416
423
|
#
|
@@ -419,13 +426,14 @@ module Aws::EFS
|
|
419
426
|
#
|
420
427
|
# @!attribute [rw] availability_zone_name
|
421
428
|
# Used to create a file system that uses One Zone storage classes. It
|
422
|
-
# specifies the
|
423
|
-
# system. Use the format `us-east-1a` to specify the
|
424
|
-
# Zone. For more information about One Zone storage
|
425
|
-
# [Using EFS storage classes][1] in the *Amazon EFS User
|
429
|
+
# specifies the Amazon Web Services Availability Zone in which to
|
430
|
+
# create the file system. Use the format `us-east-1a` to specify the
|
431
|
+
# Availability Zone. For more information about One Zone storage
|
432
|
+
# classes, see [Using EFS storage classes][1] in the *Amazon EFS User
|
433
|
+
# Guide*.
|
426
434
|
#
|
427
435
|
# <note markdown="1"> One Zone storage classes are not available in all Availability Zones
|
428
|
-
# in
|
436
|
+
# in Amazon Web Services Regions where Amazon EFS is available.
|
429
437
|
#
|
430
438
|
# </note>
|
431
439
|
#
|
@@ -445,8 +453,8 @@ module Aws::EFS
|
|
445
453
|
# Default is `false`. However, if you specify an
|
446
454
|
# `AvailabilityZoneName`, the default is `true`.
|
447
455
|
#
|
448
|
-
# <note markdown="1">
|
449
|
-
# available.
|
456
|
+
# <note markdown="1"> Backup is not available in all Amazon Web Services Regionswhere
|
457
|
+
# Amazon EFS is available.
|
450
458
|
#
|
451
459
|
# </note>
|
452
460
|
#
|
@@ -456,10 +464,16 @@ module Aws::EFS
|
|
456
464
|
# @return [Boolean]
|
457
465
|
#
|
458
466
|
# @!attribute [rw] tags
|
459
|
-
#
|
460
|
-
#
|
461
|
-
#
|
462
|
-
#
|
467
|
+
# Use to create one or more tags associated with the file system. Each
|
468
|
+
# tag is a user-defined key-value pair. Name your file system on
|
469
|
+
# creation by including a `"Key":"Name","Value":"\{value\}"` key-value
|
470
|
+
# pair. Each key must be unique. For more information, see [Tagging
|
471
|
+
# Amazon Web Services resources][1] in the *Amazon Web Services
|
472
|
+
# General Reference Guide*.
|
473
|
+
#
|
474
|
+
#
|
475
|
+
#
|
476
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html
|
463
477
|
# @return [Array<Types::Tag>]
|
464
478
|
#
|
465
479
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/CreateFileSystemRequest AWS API Documentation
|
@@ -793,11 +807,15 @@ module Aws::EFS
|
|
793
807
|
# }
|
794
808
|
#
|
795
809
|
# @!attribute [rw] next_token
|
796
|
-
#
|
810
|
+
# (Optional) You can use `NextToken` in a subsequent request to fetch
|
811
|
+
# the next page of Amazon Web Services account preferences if the
|
812
|
+
# response payload was paginated.
|
797
813
|
# @return [String]
|
798
814
|
#
|
799
815
|
# @!attribute [rw] max_results
|
800
|
-
#
|
816
|
+
# (Optional) When retrieving account preferences, you can optionally
|
817
|
+
# specify the `MaxItems` parameter to limit the number of objects
|
818
|
+
# returned in a response. The default value is 100.
|
801
819
|
# @return [Integer]
|
802
820
|
#
|
803
821
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/DescribeAccountPreferencesRequest AWS API Documentation
|
@@ -810,10 +828,15 @@ module Aws::EFS
|
|
810
828
|
end
|
811
829
|
|
812
830
|
# @!attribute [rw] resource_id_preference
|
831
|
+
# Describes the resource ID preference setting for the Amazon Web
|
832
|
+
# Services account associated with the user making the request, in the
|
833
|
+
# current Amazon Web Services Region.
|
813
834
|
# @return [Types::ResourceIdPreference]
|
814
835
|
#
|
815
836
|
# @!attribute [rw] next_token
|
816
|
-
#
|
837
|
+
# Present if there are more records than returned in the response. You
|
838
|
+
# can use the `NextToken` in the subsequent request to fetch the
|
839
|
+
# additional descriptions.
|
817
840
|
# @return [String]
|
818
841
|
#
|
819
842
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/DescribeAccountPreferencesResponse AWS API Documentation
|
@@ -1156,9 +1179,9 @@ module Aws::EFS
|
|
1156
1179
|
# A description of the file system.
|
1157
1180
|
#
|
1158
1181
|
# @!attribute [rw] owner_id
|
1159
|
-
# The
|
1160
|
-
# created by an IAM user, the parent account to which
|
1161
|
-
# is the owner.
|
1182
|
+
# The Amazon Web Services account that created the file system. If the
|
1183
|
+
# file system was created by an IAM user, the parent account to which
|
1184
|
+
# the user belongs is the owner.
|
1162
1185
|
# @return [String]
|
1163
1186
|
#
|
1164
1187
|
# @!attribute [rw] creation_token
|
@@ -1220,8 +1243,8 @@ module Aws::EFS
|
|
1220
1243
|
# @return [Boolean]
|
1221
1244
|
#
|
1222
1245
|
# @!attribute [rw] kms_key_id
|
1223
|
-
# The ID of an
|
1224
|
-
#
|
1246
|
+
# The ID of an Key Management Service customer master key (CMK) that
|
1247
|
+
# was used to protect the encrypted file system.
|
1225
1248
|
# @return [String]
|
1226
1249
|
#
|
1227
1250
|
# @!attribute [rw] throughput_mode
|
@@ -1240,10 +1263,10 @@ module Aws::EFS
|
|
1240
1263
|
# @return [Float]
|
1241
1264
|
#
|
1242
1265
|
# @!attribute [rw] availability_zone_name
|
1243
|
-
# Describes the
|
1244
|
-
# located, and is valid only for file systems using One
|
1245
|
-
# classes. For more information, see [Using EFS storage
|
1246
|
-
# the *Amazon EFS User Guide*.
|
1266
|
+
# Describes the Amazon Web Services Availability Zone in which the
|
1267
|
+
# file system is located, and is valid only for file systems using One
|
1268
|
+
# Zone storage classes. For more information, see [Using EFS storage
|
1269
|
+
# classes][1] in the *Amazon EFS User Guide*.
|
1247
1270
|
#
|
1248
1271
|
#
|
1249
1272
|
#
|
@@ -1253,8 +1276,9 @@ module Aws::EFS
|
|
1253
1276
|
# @!attribute [rw] availability_zone_id
|
1254
1277
|
# The unique and consistent identifier of the Availability Zone in
|
1255
1278
|
# which the file system's One Zone storage classes exist. For
|
1256
|
-
# example, `use1-az1` is an Availability Zone ID for the us-east-1
|
1257
|
-
# Region, and it has the same location in every
|
1279
|
+
# example, `use1-az1` is an Availability Zone ID for the us-east-1
|
1280
|
+
# Amazon Web Services Region, and it has the same location in every
|
1281
|
+
# Amazon Web Services account.
|
1258
1282
|
# @return [String]
|
1259
1283
|
#
|
1260
1284
|
# @!attribute [rw] tags
|
@@ -1303,8 +1327,8 @@ module Aws::EFS
|
|
1303
1327
|
include Aws::Structure
|
1304
1328
|
end
|
1305
1329
|
|
1306
|
-
# Returned if the
|
1307
|
-
# file systems allowed per account.
|
1330
|
+
# Returned if the Amazon Web Services account has already created the
|
1331
|
+
# maximum number of file systems allowed per account.
|
1308
1332
|
#
|
1309
1333
|
# @!attribute [rw] error_code
|
1310
1334
|
# @return [String]
|
@@ -1322,7 +1346,7 @@ module Aws::EFS
|
|
1322
1346
|
end
|
1323
1347
|
|
1324
1348
|
# Returned if the specified `FileSystemId` value doesn't exist in the
|
1325
|
-
# requester's
|
1349
|
+
# requester's Amazon Web Services account.
|
1326
1350
|
#
|
1327
1351
|
# @!attribute [rw] error_code
|
1328
1352
|
# @return [String]
|
@@ -1512,8 +1536,8 @@ module Aws::EFS
|
|
1512
1536
|
end
|
1513
1537
|
|
1514
1538
|
# @!attribute [rw] lifecycle_policies
|
1515
|
-
# An array of lifecycle management policies.
|
1516
|
-
#
|
1539
|
+
# An array of lifecycle management policies. EFS supports a maximum of
|
1540
|
+
# one policy per file system.
|
1517
1541
|
# @return [Array<Types::LifecyclePolicy>]
|
1518
1542
|
#
|
1519
1543
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/LifecycleConfigurationDescription AWS API Documentation
|
@@ -1524,27 +1548,52 @@ module Aws::EFS
|
|
1524
1548
|
include Aws::Structure
|
1525
1549
|
end
|
1526
1550
|
|
1527
|
-
# Describes a policy used by EFS lifecycle management
|
1528
|
-
#
|
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
|
1529
1570
|
#
|
1530
1571
|
# @note When making an API call, you may pass LifecyclePolicy
|
1531
1572
|
# data as a hash:
|
1532
1573
|
#
|
1533
1574
|
# {
|
1534
1575
|
# transition_to_ia: "AFTER_7_DAYS", # accepts AFTER_7_DAYS, AFTER_14_DAYS, AFTER_30_DAYS, AFTER_60_DAYS, AFTER_90_DAYS
|
1576
|
+
# transition_to_primary_storage_class: "AFTER_1_ACCESS", # accepts AFTER_1_ACCESS
|
1535
1577
|
# }
|
1536
1578
|
#
|
1537
1579
|
# @!attribute [rw] transition_to_ia
|
1538
|
-
#
|
1539
|
-
#
|
1540
|
-
#
|
1541
|
-
#
|
1580
|
+
# Describes the period of time that a file is not accessed, after
|
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.
|
1584
|
+
# @return [String]
|
1585
|
+
#
|
1586
|
+
# @!attribute [rw] transition_to_primary_storage_class
|
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.
|
1542
1590
|
# @return [String]
|
1543
1591
|
#
|
1544
1592
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/LifecyclePolicy AWS API Documentation
|
1545
1593
|
#
|
1546
1594
|
class LifecyclePolicy < Struct.new(
|
1547
|
-
:transition_to_ia
|
1595
|
+
:transition_to_ia,
|
1596
|
+
:transition_to_primary_storage_class)
|
1548
1597
|
SENSITIVE = []
|
1549
1598
|
include Aws::Structure
|
1550
1599
|
end
|
@@ -1650,7 +1699,7 @@ module Aws::EFS
|
|
1650
1699
|
# Provides a description of a mount target.
|
1651
1700
|
#
|
1652
1701
|
# @!attribute [rw] owner_id
|
1653
|
-
#
|
1702
|
+
# Amazon Web Services account ID that owns the resource.
|
1654
1703
|
# @return [String]
|
1655
1704
|
#
|
1656
1705
|
# @!attribute [rw] mount_target_id
|
@@ -1682,16 +1731,17 @@ module Aws::EFS
|
|
1682
1731
|
# @!attribute [rw] availability_zone_id
|
1683
1732
|
# The unique and consistent identifier of the Availability Zone that
|
1684
1733
|
# the mount target resides in. For example, `use1-az1` is an AZ ID for
|
1685
|
-
# the us-east-1 Region and it has the same location in every
|
1686
|
-
# account.
|
1734
|
+
# the us-east-1 Region and it has the same location in every Amazon
|
1735
|
+
# Web Services account.
|
1687
1736
|
# @return [String]
|
1688
1737
|
#
|
1689
1738
|
# @!attribute [rw] availability_zone_name
|
1690
1739
|
# The name of the Availability Zone in which the mount target is
|
1691
1740
|
# located. Availability Zones are independently mapped to names for
|
1692
|
-
# each
|
1693
|
-
# for your
|
1694
|
-
# for another
|
1741
|
+
# each Amazon Web Services account. For example, the Availability Zone
|
1742
|
+
# `us-east-1a` for your Amazon Web Services account might not be the
|
1743
|
+
# same location as `us-east-1a` for another Amazon Web Services
|
1744
|
+
# account.
|
1695
1745
|
# @return [String]
|
1696
1746
|
#
|
1697
1747
|
# @!attribute [rw] vpc_id
|
@@ -1717,7 +1767,7 @@ module Aws::EFS
|
|
1717
1767
|
end
|
1718
1768
|
|
1719
1769
|
# Returned if there is no mount target with the specified ID found in
|
1720
|
-
# the caller's account.
|
1770
|
+
# the caller's Amazon Web Services account.
|
1721
1771
|
#
|
1722
1772
|
# @!attribute [rw] error_code
|
1723
1773
|
# @return [String]
|
@@ -1735,11 +1785,11 @@ module Aws::EFS
|
|
1735
1785
|
end
|
1736
1786
|
|
1737
1787
|
# The calling account has reached the limit for elastic network
|
1738
|
-
# interfaces for the specific
|
1739
|
-
# delete some elastic network interfaces or get the
|
1740
|
-
# raised. For more information, see [Amazon VPC Limits][1]
|
1741
|
-
# <i>Amazon VPC User Guide </i> (see the Network interfaces per
|
1742
|
-
# entry in the table).
|
1788
|
+
# interfaces for the specific Amazon Web Services Region. The client
|
1789
|
+
# should try to delete some elastic network interfaces or get the
|
1790
|
+
# account limit raised. For more information, see [Amazon VPC Limits][1]
|
1791
|
+
# in the <i>Amazon VPC User Guide </i> (see the Network interfaces per
|
1792
|
+
# VPC entry in the table).
|
1743
1793
|
#
|
1744
1794
|
#
|
1745
1795
|
#
|
@@ -1842,8 +1892,17 @@ module Aws::EFS
|
|
1842
1892
|
# }
|
1843
1893
|
#
|
1844
1894
|
# @!attribute [rw] resource_id_type
|
1845
|
-
#
|
1846
|
-
#
|
1895
|
+
# Specifies the EFS resource ID preference to set for the user's
|
1896
|
+
# Amazon Web Services account, in the current Amazon Web Services
|
1897
|
+
# Region, either `LONG_ID` (17 characters), or `SHORT_ID` (8
|
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>
|
1847
1906
|
# @return [String]
|
1848
1907
|
#
|
1849
1908
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/PutAccountPreferencesRequest AWS API Documentation
|
@@ -1855,6 +1914,9 @@ module Aws::EFS
|
|
1855
1914
|
end
|
1856
1915
|
|
1857
1916
|
# @!attribute [rw] resource_id_preference
|
1917
|
+
# Describes the resource type and its ID preference for the user's
|
1918
|
+
# Amazon Web Services account, in the current Amazon Web Services
|
1919
|
+
# Region.
|
1858
1920
|
# @return [Types::ResourceIdPreference]
|
1859
1921
|
#
|
1860
1922
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/PutAccountPreferencesResponse AWS API Documentation
|
@@ -1947,6 +2009,7 @@ module Aws::EFS
|
|
1947
2009
|
# lifecycle_policies: [ # required
|
1948
2010
|
# {
|
1949
2011
|
# transition_to_ia: "AFTER_7_DAYS", # accepts AFTER_7_DAYS, AFTER_14_DAYS, AFTER_30_DAYS, AFTER_60_DAYS, AFTER_90_DAYS
|
2012
|
+
# transition_to_primary_storage_class: "AFTER_1_ACCESS", # accepts AFTER_1_ACCESS
|
1950
2013
|
# },
|
1951
2014
|
# ],
|
1952
2015
|
# }
|
@@ -1959,8 +2022,24 @@ module Aws::EFS
|
|
1959
2022
|
# @!attribute [rw] lifecycle_policies
|
1960
2023
|
# An array of `LifecyclePolicy` objects that define the file system's
|
1961
2024
|
# `LifecycleConfiguration` object. A `LifecycleConfiguration` object
|
1962
|
-
#
|
1963
|
-
#
|
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>
|
1964
2043
|
# @return [Array<Types::LifecyclePolicy>]
|
1965
2044
|
#
|
1966
2045
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/PutLifecycleConfigurationRequest AWS API Documentation
|
@@ -1972,13 +2051,18 @@ module Aws::EFS
|
|
1972
2051
|
include Aws::Structure
|
1973
2052
|
end
|
1974
2053
|
|
2054
|
+
# Describes the resource type and its ID preference for the user's
|
2055
|
+
# Amazon Web Services account, in the current Amazon Web Services
|
2056
|
+
# Region.
|
2057
|
+
#
|
1975
2058
|
# @!attribute [rw] resource_id_type
|
1976
|
-
#
|
1977
|
-
#
|
2059
|
+
# Identifies the EFS resource ID preference, either `LONG_ID` (17
|
2060
|
+
# characters) or `SHORT_ID` (8 characters).
|
1978
2061
|
# @return [String]
|
1979
2062
|
#
|
1980
2063
|
# @!attribute [rw] resources
|
1981
|
-
# EFS resources to which
|
2064
|
+
# Identifies the Amazon EFS resources to which the ID preference
|
2065
|
+
# setting applies, `FILE_SYSTEM` and `MOUNT_TARGET`.
|
1982
2066
|
# @return [Array<String>]
|
1983
2067
|
#
|
1984
2068
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/ResourceIdPreference AWS API Documentation
|
@@ -2274,8 +2358,8 @@ module Aws::EFS
|
|
2274
2358
|
include Aws::Structure
|
2275
2359
|
end
|
2276
2360
|
|
2277
|
-
# Returned if the
|
2278
|
-
# which the request was made.
|
2361
|
+
# Returned if the Backup service is not available in the Amazon Web
|
2362
|
+
# Services Region in which the request was made.
|
2279
2363
|
#
|
2280
2364
|
# @!attribute [rw] error_code
|
2281
2365
|
# @return [String]
|
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.47.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-10-18 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.121.2
|
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.121.2
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|