aws-sdk-efs 1.39.0 → 1.43.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 +91 -10
- data/lib/aws-sdk-efs/client_api.rb +46 -0
- data/lib/aws-sdk-efs/customizations.rb +1 -1
- data/lib/aws-sdk-efs/types.rb +104 -12
- data/lib/aws-sdk-efs.rb +1 -1
- metadata +8 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0b76690bd6462178167edd26b2fd40f0579ba48b6f7f3410dacb9e2e6978f093
|
4
|
+
data.tar.gz: fad14b9b4225abbc7ab36a9653616c08d0bd72441ff3d603c479fff6ed6bf8bd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 462494e331290a654000b6029aac663b37c29ca152b2e86d2483a8ee78bf916f8a0592624cbf06fe6f24922bc4e381cfdc3dec61306f720478a4d71e38af1bd1
|
7
|
+
data.tar.gz: f10a6d16adee12dc990a26f0db8b68aa4e353beab5f1ba6712bf005ed3e88540a4fef47974c040ac1dc68b6e0a89a23ff8a65d92103cdc26ba447f761cffea6c
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,26 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.43.0 (2021-09-01)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.42.0 (2021-07-30)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
14
|
+
1.41.0 (2021-07-28)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
18
|
+
|
19
|
+
1.40.0 (2021-05-21)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* Feature - EFS now supports account preferences. Utilizing the new capability, users can customize some aspects of their experience using EFS APIs and the EFS Console. The first preference clients are able to set is whether to start using longer File System and Mount Target IDs before EFS migrates to such IDs.
|
23
|
+
|
4
24
|
1.39.0 (2021-03-10)
|
5
25
|
------------------
|
6
26
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.43.0
|
data/lib/aws-sdk-efs/client.rb
CHANGED
@@ -544,11 +544,11 @@ module Aws::EFS
|
|
544
544
|
# used to protect the encrypted file system.
|
545
545
|
#
|
546
546
|
# @option params [String] :kms_key_id
|
547
|
-
# The ID of the AWS KMS CMK
|
548
|
-
# system. This parameter is only required if you want to
|
549
|
-
# non-default
|
550
|
-
# for Amazon EFS is used. This ID can be in one of the
|
551
|
-
# formats:
|
547
|
+
# The ID of the AWS KMS CMK that you want to use to protect the
|
548
|
+
# encrypted file system. This parameter is only required if you want to
|
549
|
+
# use a non-default KMS key. If this parameter is not specified, the
|
550
|
+
# default CMK for Amazon EFS is used. This ID can be in one of the
|
551
|
+
# following formats:
|
552
552
|
#
|
553
553
|
# * Key ID - A unique identifier of the key, for example
|
554
554
|
# `1234abcd-12ab-34cd-56ef-1234567890ab`.
|
@@ -565,8 +565,8 @@ module Aws::EFS
|
|
565
565
|
# If `KmsKeyId` is specified, the CreateFileSystemRequest$Encrypted
|
566
566
|
# parameter must be set to true.
|
567
567
|
#
|
568
|
-
# EFS accepts only symmetric
|
569
|
-
# EFS file systems.
|
568
|
+
# EFS accepts only symmetric KMS keys. You cannot use asymmetric KMS
|
569
|
+
# keys with EFS file systems.
|
570
570
|
#
|
571
571
|
# @option params [String] :throughput_mode
|
572
572
|
# Specifies the throughput mode for the file system, either `bursting`
|
@@ -960,6 +960,11 @@ module Aws::EFS
|
|
960
960
|
req.send_request(options)
|
961
961
|
end
|
962
962
|
|
963
|
+
# <note markdown="1"> DEPRECATED - CreateTags is deprecated and not maintained. Please use
|
964
|
+
# the API action to create tags for EFS resources.
|
965
|
+
#
|
966
|
+
# </note>
|
967
|
+
#
|
963
968
|
# Creates or overwrites tags associated with a file system. Each tag is
|
964
969
|
# a key-value pair. If a tag key specified in the request already exists
|
965
970
|
# on the file system, this operation overwrites its value with the value
|
@@ -1188,6 +1193,11 @@ module Aws::EFS
|
|
1188
1193
|
req.send_request(options)
|
1189
1194
|
end
|
1190
1195
|
|
1196
|
+
# <note markdown="1"> DEPRECATED - DeleteTags is deprecated and not maintained. Please use
|
1197
|
+
# the API action to remove tags from EFS resources.
|
1198
|
+
#
|
1199
|
+
# </note>
|
1200
|
+
#
|
1191
1201
|
# Deletes the specified tags from a file system. If the `DeleteTags`
|
1192
1202
|
# request includes a tag key that doesn't exist, Amazon EFS ignores it
|
1193
1203
|
# and doesn't cause an error. For more information about tags and
|
@@ -1312,6 +1322,40 @@ module Aws::EFS
|
|
1312
1322
|
req.send_request(options)
|
1313
1323
|
end
|
1314
1324
|
|
1325
|
+
# @option params [String] :next_token
|
1326
|
+
# Token used for pagination.
|
1327
|
+
#
|
1328
|
+
# @option params [Integer] :max_results
|
1329
|
+
# Max results used for pagination.
|
1330
|
+
#
|
1331
|
+
# @return [Types::DescribeAccountPreferencesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1332
|
+
#
|
1333
|
+
# * {Types::DescribeAccountPreferencesResponse#resource_id_preference #resource_id_preference} => Types::ResourceIdPreference
|
1334
|
+
# * {Types::DescribeAccountPreferencesResponse#next_token #next_token} => String
|
1335
|
+
#
|
1336
|
+
# @example Request syntax with placeholder values
|
1337
|
+
#
|
1338
|
+
# resp = client.describe_account_preferences({
|
1339
|
+
# next_token: "Token",
|
1340
|
+
# max_results: 1,
|
1341
|
+
# })
|
1342
|
+
#
|
1343
|
+
# @example Response structure
|
1344
|
+
#
|
1345
|
+
# resp.resource_id_preference.resource_id_type #=> String, one of "LONG_ID", "SHORT_ID"
|
1346
|
+
# resp.resource_id_preference.resources #=> Array
|
1347
|
+
# resp.resource_id_preference.resources[0] #=> String, one of "FILE_SYSTEM", "MOUNT_TARGET"
|
1348
|
+
# resp.next_token #=> String
|
1349
|
+
#
|
1350
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/DescribeAccountPreferences AWS API Documentation
|
1351
|
+
#
|
1352
|
+
# @overload describe_account_preferences(params = {})
|
1353
|
+
# @param [Hash] params ({})
|
1354
|
+
def describe_account_preferences(params = {}, options = {})
|
1355
|
+
req = build_request(:describe_account_preferences, params)
|
1356
|
+
req.send_request(options)
|
1357
|
+
end
|
1358
|
+
|
1315
1359
|
# Returns the backup policy for the specified EFS file system.
|
1316
1360
|
#
|
1317
1361
|
# @option params [required, String] :file_system_id
|
@@ -1724,6 +1768,11 @@ module Aws::EFS
|
|
1724
1768
|
req.send_request(options)
|
1725
1769
|
end
|
1726
1770
|
|
1771
|
+
# <note markdown="1"> DEPRECATED - The DeleteTags action is deprecated and not maintained.
|
1772
|
+
# Please use the API action to remove tags from EFS resources.
|
1773
|
+
#
|
1774
|
+
# </note>
|
1775
|
+
#
|
1727
1776
|
# Returns the tags associated with a file system. The order of tags
|
1728
1777
|
# returned in the response of one `DescribeTags` call and the order of
|
1729
1778
|
# tags returned across the responses of a multiple-call iteration (when
|
@@ -1814,8 +1863,9 @@ module Aws::EFS
|
|
1814
1863
|
# the response. The default value is 100.
|
1815
1864
|
#
|
1816
1865
|
# @option params [String] :next_token
|
1817
|
-
# You can use `NextToken` in a subsequent request to fetch
|
1818
|
-
# of access point descriptions if the response payload was
|
1866
|
+
# (Optional) You can use `NextToken` in a subsequent request to fetch
|
1867
|
+
# the next page of access point descriptions if the response payload was
|
1868
|
+
# paginated.
|
1819
1869
|
#
|
1820
1870
|
# @return [Types::ListTagsForResourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1821
1871
|
#
|
@@ -1902,6 +1952,35 @@ module Aws::EFS
|
|
1902
1952
|
req.send_request(options)
|
1903
1953
|
end
|
1904
1954
|
|
1955
|
+
# @option params [required, String] :resource_id_type
|
1956
|
+
# A preference indicating a choice to use 63bit/32bit IDs for all
|
1957
|
+
# applicable resources.
|
1958
|
+
#
|
1959
|
+
# @return [Types::PutAccountPreferencesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1960
|
+
#
|
1961
|
+
# * {Types::PutAccountPreferencesResponse#resource_id_preference #resource_id_preference} => Types::ResourceIdPreference
|
1962
|
+
#
|
1963
|
+
# @example Request syntax with placeholder values
|
1964
|
+
#
|
1965
|
+
# resp = client.put_account_preferences({
|
1966
|
+
# resource_id_type: "LONG_ID", # required, accepts LONG_ID, SHORT_ID
|
1967
|
+
# })
|
1968
|
+
#
|
1969
|
+
# @example Response structure
|
1970
|
+
#
|
1971
|
+
# resp.resource_id_preference.resource_id_type #=> String, one of "LONG_ID", "SHORT_ID"
|
1972
|
+
# resp.resource_id_preference.resources #=> Array
|
1973
|
+
# resp.resource_id_preference.resources[0] #=> String, one of "FILE_SYSTEM", "MOUNT_TARGET"
|
1974
|
+
#
|
1975
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/PutAccountPreferences AWS API Documentation
|
1976
|
+
#
|
1977
|
+
# @overload put_account_preferences(params = {})
|
1978
|
+
# @param [Hash] params ({})
|
1979
|
+
def put_account_preferences(params = {}, options = {})
|
1980
|
+
req = build_request(:put_account_preferences, params)
|
1981
|
+
req.send_request(options)
|
1982
|
+
end
|
1983
|
+
|
1905
1984
|
# Updates the file system's backup policy. Use this action to start or
|
1906
1985
|
# stop automatic backups of the file system.
|
1907
1986
|
#
|
@@ -2112,6 +2191,8 @@ module Aws::EFS
|
|
2112
2191
|
# The ID specifying the EFS resource that you want to create a tag for.
|
2113
2192
|
#
|
2114
2193
|
# @option params [required, Array<Types::Tag>] :tags
|
2194
|
+
# An array of `Tag` objects to add. Each `Tag` object is a key-value
|
2195
|
+
# pair.
|
2115
2196
|
#
|
2116
2197
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
2117
2198
|
#
|
@@ -2262,7 +2343,7 @@ module Aws::EFS
|
|
2262
2343
|
params: params,
|
2263
2344
|
config: config)
|
2264
2345
|
context[:gem_name] = 'aws-sdk-efs'
|
2265
|
-
context[:gem_version] = '1.
|
2346
|
+
context[:gem_version] = '1.43.0'
|
2266
2347
|
Seahorse::Client::Request.new(handlers, context)
|
2267
2348
|
end
|
2268
2349
|
|
@@ -44,6 +44,8 @@ module Aws::EFS
|
|
44
44
|
DependencyTimeout = Shapes::StructureShape.new(name: 'DependencyTimeout')
|
45
45
|
DescribeAccessPointsRequest = Shapes::StructureShape.new(name: 'DescribeAccessPointsRequest')
|
46
46
|
DescribeAccessPointsResponse = Shapes::StructureShape.new(name: 'DescribeAccessPointsResponse')
|
47
|
+
DescribeAccountPreferencesRequest = Shapes::StructureShape.new(name: 'DescribeAccountPreferencesRequest')
|
48
|
+
DescribeAccountPreferencesResponse = Shapes::StructureShape.new(name: 'DescribeAccountPreferencesResponse')
|
47
49
|
DescribeBackupPolicyRequest = Shapes::StructureShape.new(name: 'DescribeBackupPolicyRequest')
|
48
50
|
DescribeFileSystemPolicyRequest = Shapes::StructureShape.new(name: 'DescribeFileSystemPolicyRequest')
|
49
51
|
DescribeFileSystemsRequest = Shapes::StructureShape.new(name: 'DescribeFileSystemsRequest')
|
@@ -108,10 +110,16 @@ module Aws::EFS
|
|
108
110
|
PolicyNotFound = Shapes::StructureShape.new(name: 'PolicyNotFound')
|
109
111
|
PosixUser = Shapes::StructureShape.new(name: 'PosixUser')
|
110
112
|
ProvisionedThroughputInMibps = Shapes::FloatShape.new(name: 'ProvisionedThroughputInMibps')
|
113
|
+
PutAccountPreferencesRequest = Shapes::StructureShape.new(name: 'PutAccountPreferencesRequest')
|
114
|
+
PutAccountPreferencesResponse = Shapes::StructureShape.new(name: 'PutAccountPreferencesResponse')
|
111
115
|
PutBackupPolicyRequest = Shapes::StructureShape.new(name: 'PutBackupPolicyRequest')
|
112
116
|
PutFileSystemPolicyRequest = Shapes::StructureShape.new(name: 'PutFileSystemPolicyRequest')
|
113
117
|
PutLifecycleConfigurationRequest = Shapes::StructureShape.new(name: 'PutLifecycleConfigurationRequest')
|
118
|
+
Resource = Shapes::StringShape.new(name: 'Resource')
|
114
119
|
ResourceId = Shapes::StringShape.new(name: 'ResourceId')
|
120
|
+
ResourceIdPreference = Shapes::StructureShape.new(name: 'ResourceIdPreference')
|
121
|
+
ResourceIdType = Shapes::StringShape.new(name: 'ResourceIdType')
|
122
|
+
Resources = Shapes::ListShape.new(name: 'Resources')
|
115
123
|
RootDirectory = Shapes::StructureShape.new(name: 'RootDirectory')
|
116
124
|
SecondaryGids = Shapes::ListShape.new(name: 'SecondaryGids')
|
117
125
|
SecurityGroup = Shapes::StringShape.new(name: 'SecurityGroup')
|
@@ -244,6 +252,14 @@ module Aws::EFS
|
|
244
252
|
DescribeAccessPointsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
|
245
253
|
DescribeAccessPointsResponse.struct_class = Types::DescribeAccessPointsResponse
|
246
254
|
|
255
|
+
DescribeAccountPreferencesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
|
256
|
+
DescribeAccountPreferencesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
|
257
|
+
DescribeAccountPreferencesRequest.struct_class = Types::DescribeAccountPreferencesRequest
|
258
|
+
|
259
|
+
DescribeAccountPreferencesResponse.add_member(:resource_id_preference, Shapes::ShapeRef.new(shape: ResourceIdPreference, location_name: "ResourceIdPreference"))
|
260
|
+
DescribeAccountPreferencesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
|
261
|
+
DescribeAccountPreferencesResponse.struct_class = Types::DescribeAccountPreferencesResponse
|
262
|
+
|
247
263
|
DescribeBackupPolicyRequest.add_member(:file_system_id, Shapes::ShapeRef.new(shape: FileSystemId, required: true, location: "uri", location_name: "FileSystemId"))
|
248
264
|
DescribeBackupPolicyRequest.struct_class = Types::DescribeBackupPolicyRequest
|
249
265
|
|
@@ -424,6 +440,12 @@ module Aws::EFS
|
|
424
440
|
PosixUser.add_member(:secondary_gids, Shapes::ShapeRef.new(shape: SecondaryGids, location_name: "SecondaryGids"))
|
425
441
|
PosixUser.struct_class = Types::PosixUser
|
426
442
|
|
443
|
+
PutAccountPreferencesRequest.add_member(:resource_id_type, Shapes::ShapeRef.new(shape: ResourceIdType, required: true, location_name: "ResourceIdType"))
|
444
|
+
PutAccountPreferencesRequest.struct_class = Types::PutAccountPreferencesRequest
|
445
|
+
|
446
|
+
PutAccountPreferencesResponse.add_member(:resource_id_preference, Shapes::ShapeRef.new(shape: ResourceIdPreference, location_name: "ResourceIdPreference"))
|
447
|
+
PutAccountPreferencesResponse.struct_class = Types::PutAccountPreferencesResponse
|
448
|
+
|
427
449
|
PutBackupPolicyRequest.add_member(:file_system_id, Shapes::ShapeRef.new(shape: FileSystemId, required: true, location: "uri", location_name: "FileSystemId"))
|
428
450
|
PutBackupPolicyRequest.add_member(:backup_policy, Shapes::ShapeRef.new(shape: BackupPolicy, required: true, location_name: "BackupPolicy"))
|
429
451
|
PutBackupPolicyRequest.struct_class = Types::PutBackupPolicyRequest
|
@@ -437,6 +459,12 @@ module Aws::EFS
|
|
437
459
|
PutLifecycleConfigurationRequest.add_member(:lifecycle_policies, Shapes::ShapeRef.new(shape: LifecyclePolicies, required: true, location_name: "LifecyclePolicies"))
|
438
460
|
PutLifecycleConfigurationRequest.struct_class = Types::PutLifecycleConfigurationRequest
|
439
461
|
|
462
|
+
ResourceIdPreference.add_member(:resource_id_type, Shapes::ShapeRef.new(shape: ResourceIdType, location_name: "ResourceIdType"))
|
463
|
+
ResourceIdPreference.add_member(:resources, Shapes::ShapeRef.new(shape: Resources, location_name: "Resources"))
|
464
|
+
ResourceIdPreference.struct_class = Types::ResourceIdPreference
|
465
|
+
|
466
|
+
Resources.member = Shapes::ShapeRef.new(shape: Resource)
|
467
|
+
|
440
468
|
RootDirectory.add_member(:path, Shapes::ShapeRef.new(shape: Path, location_name: "Path"))
|
441
469
|
RootDirectory.add_member(:creation_info, Shapes::ShapeRef.new(shape: CreationInfo, location_name: "CreationInfo"))
|
442
470
|
RootDirectory.struct_class = Types::RootDirectory
|
@@ -649,6 +677,15 @@ module Aws::EFS
|
|
649
677
|
)
|
650
678
|
end)
|
651
679
|
|
680
|
+
api.add_operation(:describe_account_preferences, Seahorse::Model::Operation.new.tap do |o|
|
681
|
+
o.name = "DescribeAccountPreferences"
|
682
|
+
o.http_method = "GET"
|
683
|
+
o.http_request_uri = "/2015-02-01/account-preferences"
|
684
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeAccountPreferencesRequest)
|
685
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeAccountPreferencesResponse)
|
686
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
687
|
+
end)
|
688
|
+
|
652
689
|
api.add_operation(:describe_backup_policy, Seahorse::Model::Operation.new.tap do |o|
|
653
690
|
o.name = "DescribeBackupPolicy"
|
654
691
|
o.http_method = "GET"
|
@@ -776,6 +813,15 @@ module Aws::EFS
|
|
776
813
|
o.errors << Shapes::ShapeRef.new(shape: SecurityGroupNotFound)
|
777
814
|
end)
|
778
815
|
|
816
|
+
api.add_operation(:put_account_preferences, Seahorse::Model::Operation.new.tap do |o|
|
817
|
+
o.name = "PutAccountPreferences"
|
818
|
+
o.http_method = "PUT"
|
819
|
+
o.http_request_uri = "/2015-02-01/account-preferences"
|
820
|
+
o.input = Shapes::ShapeRef.new(shape: PutAccountPreferencesRequest)
|
821
|
+
o.output = Shapes::ShapeRef.new(shape: PutAccountPreferencesResponse)
|
822
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
823
|
+
end)
|
824
|
+
|
779
825
|
api.add_operation(:put_backup_policy, Seahorse::Model::Operation.new.tap do |o|
|
780
826
|
o.name = "PutBackupPolicy"
|
781
827
|
o.http_method = "PUT"
|
@@ -2,7 +2,7 @@
|
|
2
2
|
# WARNING ABOUT GENERATED CODE
|
3
3
|
#
|
4
4
|
# This file is generated. See the contributing for info on making contributions:
|
5
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
5
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
6
6
|
#
|
7
7
|
# WARNING ABOUT GENERATED CODE
|
8
8
|
|
data/lib/aws-sdk-efs/types.rb
CHANGED
@@ -177,7 +177,7 @@ module Aws::EFS
|
|
177
177
|
# Describes the status of the file system's backup policy.
|
178
178
|
#
|
179
179
|
# * <b> <code>ENABLED</code> </b> - EFS is automatically backing up
|
180
|
-
# the file system
|
180
|
+
# the file system.
|
181
181
|
#
|
182
182
|
# * <b> <code>ENABLING</code> </b> - EFS is turning on automatic
|
183
183
|
# backups for the file system.
|
@@ -361,11 +361,11 @@ module Aws::EFS
|
|
361
361
|
# @return [Boolean]
|
362
362
|
#
|
363
363
|
# @!attribute [rw] kms_key_id
|
364
|
-
# The ID of the AWS KMS CMK
|
365
|
-
# system. This parameter is only required if you want
|
366
|
-
# non-default
|
367
|
-
# for Amazon EFS is used. This ID can be in one of the
|
368
|
-
# formats:
|
364
|
+
# The ID of the AWS KMS CMK that you want to use to protect the
|
365
|
+
# encrypted file system. This parameter is only required if you want
|
366
|
+
# to use a non-default KMS key. If this parameter is not specified,
|
367
|
+
# the default CMK for Amazon EFS is used. This ID can be in one of the
|
368
|
+
# following formats:
|
369
369
|
#
|
370
370
|
# * Key ID - A unique identifier of the key, for example
|
371
371
|
# `1234abcd-12ab-34cd-56ef-1234567890ab`.
|
@@ -382,8 +382,8 @@ module Aws::EFS
|
|
382
382
|
# If `KmsKeyId` is specified, the CreateFileSystemRequest$Encrypted
|
383
383
|
# parameter must be set to true.
|
384
384
|
#
|
385
|
-
# EFS accepts only symmetric
|
386
|
-
# EFS file systems.
|
385
|
+
# EFS accepts only symmetric KMS keys. You cannot use asymmetric KMS
|
386
|
+
# keys with EFS file systems.
|
387
387
|
# @return [String]
|
388
388
|
#
|
389
389
|
# @!attribute [rw] throughput_mode
|
@@ -784,6 +784,47 @@ module Aws::EFS
|
|
784
784
|
include Aws::Structure
|
785
785
|
end
|
786
786
|
|
787
|
+
# @note When making an API call, you may pass DescribeAccountPreferencesRequest
|
788
|
+
# data as a hash:
|
789
|
+
#
|
790
|
+
# {
|
791
|
+
# next_token: "Token",
|
792
|
+
# max_results: 1,
|
793
|
+
# }
|
794
|
+
#
|
795
|
+
# @!attribute [rw] next_token
|
796
|
+
# Token used for pagination.
|
797
|
+
# @return [String]
|
798
|
+
#
|
799
|
+
# @!attribute [rw] max_results
|
800
|
+
# Max results used for pagination.
|
801
|
+
# @return [Integer]
|
802
|
+
#
|
803
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/DescribeAccountPreferencesRequest AWS API Documentation
|
804
|
+
#
|
805
|
+
class DescribeAccountPreferencesRequest < Struct.new(
|
806
|
+
:next_token,
|
807
|
+
:max_results)
|
808
|
+
SENSITIVE = []
|
809
|
+
include Aws::Structure
|
810
|
+
end
|
811
|
+
|
812
|
+
# @!attribute [rw] resource_id_preference
|
813
|
+
# @return [Types::ResourceIdPreference]
|
814
|
+
#
|
815
|
+
# @!attribute [rw] next_token
|
816
|
+
# Token used for pagination.
|
817
|
+
# @return [String]
|
818
|
+
#
|
819
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/DescribeAccountPreferencesResponse AWS API Documentation
|
820
|
+
#
|
821
|
+
class DescribeAccountPreferencesResponse < Struct.new(
|
822
|
+
:resource_id_preference,
|
823
|
+
:next_token)
|
824
|
+
SENSITIVE = []
|
825
|
+
include Aws::Structure
|
826
|
+
end
|
827
|
+
|
787
828
|
# @note When making an API call, you may pass DescribeBackupPolicyRequest
|
788
829
|
# data as a hash:
|
789
830
|
#
|
@@ -1529,9 +1570,9 @@ module Aws::EFS
|
|
1529
1570
|
# @return [Integer]
|
1530
1571
|
#
|
1531
1572
|
# @!attribute [rw] next_token
|
1532
|
-
# You can use `NextToken` in a subsequent request to fetch
|
1533
|
-
# page of access point descriptions if the response payload
|
1534
|
-
# paginated.
|
1573
|
+
# (Optional) You can use `NextToken` in a subsequent request to fetch
|
1574
|
+
# the next page of access point descriptions if the response payload
|
1575
|
+
# was paginated.
|
1535
1576
|
# @return [String]
|
1536
1577
|
#
|
1537
1578
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/ListTagsForResourceRequest AWS API Documentation
|
@@ -1793,6 +1834,37 @@ module Aws::EFS
|
|
1793
1834
|
include Aws::Structure
|
1794
1835
|
end
|
1795
1836
|
|
1837
|
+
# @note When making an API call, you may pass PutAccountPreferencesRequest
|
1838
|
+
# data as a hash:
|
1839
|
+
#
|
1840
|
+
# {
|
1841
|
+
# resource_id_type: "LONG_ID", # required, accepts LONG_ID, SHORT_ID
|
1842
|
+
# }
|
1843
|
+
#
|
1844
|
+
# @!attribute [rw] resource_id_type
|
1845
|
+
# A preference indicating a choice to use 63bit/32bit IDs for all
|
1846
|
+
# applicable resources.
|
1847
|
+
# @return [String]
|
1848
|
+
#
|
1849
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/PutAccountPreferencesRequest AWS API Documentation
|
1850
|
+
#
|
1851
|
+
class PutAccountPreferencesRequest < Struct.new(
|
1852
|
+
:resource_id_type)
|
1853
|
+
SENSITIVE = []
|
1854
|
+
include Aws::Structure
|
1855
|
+
end
|
1856
|
+
|
1857
|
+
# @!attribute [rw] resource_id_preference
|
1858
|
+
# @return [Types::ResourceIdPreference]
|
1859
|
+
#
|
1860
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/PutAccountPreferencesResponse AWS API Documentation
|
1861
|
+
#
|
1862
|
+
class PutAccountPreferencesResponse < Struct.new(
|
1863
|
+
:resource_id_preference)
|
1864
|
+
SENSITIVE = []
|
1865
|
+
include Aws::Structure
|
1866
|
+
end
|
1867
|
+
|
1796
1868
|
# @note When making an API call, you may pass PutBackupPolicyRequest
|
1797
1869
|
# data as a hash:
|
1798
1870
|
#
|
@@ -1900,6 +1972,24 @@ module Aws::EFS
|
|
1900
1972
|
include Aws::Structure
|
1901
1973
|
end
|
1902
1974
|
|
1975
|
+
# @!attribute [rw] resource_id_type
|
1976
|
+
# A preference indicating a choice to use 63bit/32bit IDs for all
|
1977
|
+
# applicable resources.
|
1978
|
+
# @return [String]
|
1979
|
+
#
|
1980
|
+
# @!attribute [rw] resources
|
1981
|
+
# EFS resources to which a preference applies to.
|
1982
|
+
# @return [Array<String>]
|
1983
|
+
#
|
1984
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/ResourceIdPreference AWS API Documentation
|
1985
|
+
#
|
1986
|
+
class ResourceIdPreference < Struct.new(
|
1987
|
+
:resource_id_type,
|
1988
|
+
:resources)
|
1989
|
+
SENSITIVE = []
|
1990
|
+
include Aws::Structure
|
1991
|
+
end
|
1992
|
+
|
1903
1993
|
# Specifies the directory on the Amazon EFS file system that the access
|
1904
1994
|
# point provides access to. The access point exposes the specified file
|
1905
1995
|
# system path as the root directory of your file system to applications
|
@@ -2005,7 +2095,7 @@ module Aws::EFS
|
|
2005
2095
|
|
2006
2096
|
# A tag is a key-value pair. Allowed characters are letters, white
|
2007
2097
|
# space, and numbers that can be represented in UTF-8, and the following
|
2008
|
-
# characters:` + - = . _ :
|
2098
|
+
# characters:` + - = . _ : /`.
|
2009
2099
|
#
|
2010
2100
|
# @note When making an API call, you may pass Tag
|
2011
2101
|
# data as a hash:
|
@@ -2051,6 +2141,8 @@ module Aws::EFS
|
|
2051
2141
|
# @return [String]
|
2052
2142
|
#
|
2053
2143
|
# @!attribute [rw] tags
|
2144
|
+
# An array of `Tag` objects to add. Each `Tag` object is a key-value
|
2145
|
+
# pair.
|
2054
2146
|
# @return [Array<Types::Tag>]
|
2055
2147
|
#
|
2056
2148
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/TagResourceRequest 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.43.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-09-01 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.120.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.120.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -66,8 +66,8 @@ homepage: https://github.com/aws/aws-sdk-ruby
|
|
66
66
|
licenses:
|
67
67
|
- Apache-2.0
|
68
68
|
metadata:
|
69
|
-
source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/
|
70
|
-
changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/
|
69
|
+
source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-efs
|
70
|
+
changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-efs/CHANGELOG.md
|
71
71
|
post_install_message:
|
72
72
|
rdoc_options: []
|
73
73
|
require_paths:
|
@@ -76,15 +76,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
76
76
|
requirements:
|
77
77
|
- - ">="
|
78
78
|
- !ruby/object:Gem::Version
|
79
|
-
version: '
|
79
|
+
version: '2.3'
|
80
80
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
81
81
|
requirements:
|
82
82
|
- - ">="
|
83
83
|
- !ruby/object:Gem::Version
|
84
84
|
version: '0'
|
85
85
|
requirements: []
|
86
|
-
|
87
|
-
rubygems_version: 2.7.6.2
|
86
|
+
rubygems_version: 3.1.6
|
88
87
|
signing_key:
|
89
88
|
specification_version: 4
|
90
89
|
summary: AWS SDK for Ruby - EFS
|