aws-sdk-efs 1.39.0 → 1.40.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.rb +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
- metadata +5 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5e52510ac355b2da7ac454f4e27f3eb84f9e591a9a122455538cb716672aced5
|
4
|
+
data.tar.gz: 87291e6d71cfab333cc01a82548ea41fe6917b842a25ff8458ce86eb5c85bade
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 67cb5174705d5a3e1244039c03c028914bfd55d54c320905649279e13daa117e398c872db35c141f077d69efeec416e3b4ff074571bb213aba46e1ee5af9b00e
|
7
|
+
data.tar.gz: c24af007bebf6ae059c05e0ef7bf0842d4101292dc3f11dc14bc86638b92abbfe96d83f7fccd43e97f5a198208cd60415a781aaba9c9ddff833d5515dae0fc90
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.40.0 (2021-05-21)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* 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.
|
8
|
+
|
4
9
|
1.39.0 (2021-03-10)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.40.0
|
data/lib/aws-sdk-efs.rb
CHANGED
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.40.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
|
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.40.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-05-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -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:
|
@@ -83,8 +83,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
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
|