aws-sdk-efs 1.53.0 → 1.55.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6bbfd58b3e13a4622f8cce9d4c090d7991f3f7b04eba19134912d778b1a20255
4
- data.tar.gz: e53180a9d801c1beacb3b14ecaf29863ba58d17dae000ceb4a08d0923c6459aa
3
+ metadata.gz: 2d207d59e1fa21c8783fe5f1c0e92c559ee19e7afdb6d36eee2798db49842505
4
+ data.tar.gz: 3cdf9883176b3d6f805f2b28ce901b00ae2d4af00d9a2d4236026243b78853e3
5
5
  SHA512:
6
- metadata.gz: bc9b8b47e98f9752dfbaabf80ccfcfef3081dba3e31fb7690876d77297e8b40a5a06454b002b58d182bcd7ea5214d95fee675e639be8d7cd49307fc54c091b42
7
- data.tar.gz: ba2130657d4ee749caac8c9cbdd921eeceffe8442981cb668d04e5c5759e038940d8ce86c8d781422fe159df06780b4613f68b6f1527644d91036261be319710
6
+ metadata.gz: 522b1f2f9084af93497b3675cb313cb75cec1dcb257ec26dc791c0e352be7892cf4387f6d44208a9e83d562c26931dbff15a13d35563ea7d1e8af214436dc2b6
7
+ data.tar.gz: 4235820d7c1ae24f095871404f15687f5484bda1d285110931301574ba96c2764c3fb6bf582622e7da7c8b4751ea77aec4c376354d09f83c1b780ae559a38a9b
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.55.0 (2022-10-25)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.54.0 (2022-04-12)
10
+ ------------------
11
+
12
+ * Feature - Amazon EFS adds support for a ThrottlingException when using the CreateAccessPoint API if the account is nearing the AccessPoint limit(120).
13
+
4
14
  1.53.0 (2022-02-24)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.53.0
1
+ 1.55.0
@@ -30,7 +30,7 @@ require 'aws-sdk-core/plugins/http_checksum.rb'
30
30
  require 'aws-sdk-core/plugins/checksum_algorithm.rb'
31
31
  require 'aws-sdk-core/plugins/defaults_mode.rb'
32
32
  require 'aws-sdk-core/plugins/recursion_detection.rb'
33
- require 'aws-sdk-core/plugins/signature_v4.rb'
33
+ require 'aws-sdk-core/plugins/sign.rb'
34
34
  require 'aws-sdk-core/plugins/protocols/rest_json.rb'
35
35
 
36
36
  Aws::Plugins::GlobalConfiguration.add_identifier(:efs)
@@ -79,8 +79,9 @@ module Aws::EFS
79
79
  add_plugin(Aws::Plugins::ChecksumAlgorithm)
80
80
  add_plugin(Aws::Plugins::DefaultsMode)
81
81
  add_plugin(Aws::Plugins::RecursionDetection)
82
- add_plugin(Aws::Plugins::SignatureV4)
82
+ add_plugin(Aws::Plugins::Sign)
83
83
  add_plugin(Aws::Plugins::Protocols::RestJson)
84
+ add_plugin(Aws::EFS::Plugins::Endpoints)
84
85
 
85
86
  # @overload initialize(options)
86
87
  # @param [Hash] options
@@ -287,6 +288,19 @@ module Aws::EFS
287
288
  # ** Please note ** When response stubbing is enabled, no HTTP
288
289
  # requests are made, and retries are disabled.
289
290
  #
291
+ # @option options [Aws::TokenProvider] :token_provider
292
+ # A Bearer Token Provider. This can be an instance of any one of the
293
+ # following classes:
294
+ #
295
+ # * `Aws::StaticTokenProvider` - Used for configuring static, non-refreshing
296
+ # tokens.
297
+ #
298
+ # * `Aws::SSOTokenProvider` - Used for loading tokens from AWS SSO using an
299
+ # access token generated from `aws login`.
300
+ #
301
+ # When `:token_provider` is not configured directly, the `Aws::TokenProviderChain`
302
+ # will be used to search for tokens configured for your profile in shared configuration files.
303
+ #
290
304
  # @option options [Boolean] :use_dualstack_endpoint
291
305
  # When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
292
306
  # will be used if available.
@@ -300,6 +314,9 @@ module Aws::EFS
300
314
  # When `true`, request parameters are validated before
301
315
  # sending the request.
302
316
  #
317
+ # @option options [Aws::EFS::EndpointProvider] :endpoint_provider
318
+ # The endpoint provider used to resolve endpoints. Any object that responds to `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to `Aws::EFS::EndpointParameters`
319
+ #
303
320
  # @option options [URI::HTTP,String] :http_proxy A proxy to send
304
321
  # requests through. Formatted like 'http://proxy.com:123'.
305
322
  #
@@ -358,8 +375,8 @@ module Aws::EFS
358
375
  # user and group override any identity information provided by the NFS
359
376
  # client. The file system path is exposed as the access point's root
360
377
  # directory. Applications using the access point can only access data in
361
- # its own directory and below. To learn more, see [Mounting a file
362
- # system using EFS access points][1].
378
+ # the application's own directory and any subdirectories. To learn
379
+ # more, see [Mounting a file system using EFS access points][1].
363
380
  #
364
381
  # This operation requires permissions for the
365
382
  # `elasticfilesystem:CreateAccessPoint` action.
@@ -400,7 +417,7 @@ module Aws::EFS
400
417
  # access the root directory and below. If the `RootDirectory` >
401
418
  # `Path` specified does not exist, EFS creates it and applies the
402
419
  # `CreationInfo` settings when a client connects to an access point.
403
- # When specifying a `RootDirectory`, you need to provide the `Path`, and
420
+ # When specifying a `RootDirectory`, you must provide the `Path`, and
404
421
  # the `CreationInfo`.
405
422
  #
406
423
  # Amazon EFS creates a root directory only if you have provided the
@@ -575,7 +592,7 @@ module Aws::EFS
575
592
  #
576
593
  # @option params [String] :kms_key_id
577
594
  # The ID of the KMS key that you want to use to protect the encrypted
578
- # file system. This parameter is only required if you want to use a
595
+ # file system. This parameter is required only if you want to use a
579
596
  # non-default KMS key. If this parameter is not specified, the default
580
597
  # KMS key for Amazon EFS is used. You can specify a KMS key ID using the
581
598
  # following formats:
@@ -999,61 +1016,67 @@ module Aws::EFS
999
1016
 
1000
1017
  # Creates a replication configuration that replicates an existing EFS
1001
1018
  # file system to a new, read-only file system. For more information, see
1002
- # [Amazon EFS replication][1]. The replication configuration specifies
1003
- # the following:
1019
+ # [Amazon EFS replication][1] in the *Amazon EFS User Guide*. The
1020
+ # replication configuration specifies the following:
1004
1021
  #
1005
- # * **Source file system** - an existing EFS file system that you want
1022
+ # * **Source file system** - An existing EFS file system that you want
1006
1023
  # replicated. The source file system cannot be a destination file
1007
1024
  # system in an existing replication configuration.
1008
1025
  #
1009
- # * **Destination file system configuration** - the configuration of the
1026
+ # * **Destination file system configuration** - The configuration of the
1010
1027
  # destination file system to which the source file system will be
1011
1028
  # replicated. There can only be one destination file system in a
1012
- # replication configuration.
1029
+ # replication configuration. The destination file system configuration
1030
+ # consists of the following properties:
1013
1031
  #
1014
1032
  # * **Amazon Web Services Region** - The Amazon Web Services Region in
1015
- # which the destination file system is created. EFS Replication is
1016
- # available in all Amazon Web Services Region that Amazon EFS is
1017
- # available in, except the following regions: Asia Pacific (Hong
1018
- # Kong) Europe (Milan), Middle East (Bahrain), Africa (Cape Town),
1019
- # and Asia Pacific (Jakarta).
1020
- #
1021
- # * **Availability zone** - If you want the destination file system to
1022
- # use One Zone availability and durability, you must specify the
1033
+ # which the destination file system is created. Amazon EFS
1034
+ # replication is available in all Amazon Web Services Regions that
1035
+ # Amazon EFS is available in, except Africa (Cape Town), Asia
1036
+ # Pacific (Hong Kong), Asia Pacific (Jakarta), Europe (Milan), and
1037
+ # Middle East (Bahrain).
1038
+ #
1039
+ # * **Availability Zone** - If you want the destination file system to
1040
+ # use EFS One Zone availability and durability, you must specify the
1023
1041
  # Availability Zone to create the file system in. For more
1024
1042
  # information about EFS storage classes, see [ Amazon EFS storage
1025
1043
  # classes][2] in the *Amazon EFS User Guide*.
1026
1044
  #
1027
1045
  # * **Encryption** - All destination file systems are created with
1028
- # encryption at rest enabled. You can specify the KMS key that is
1029
- # used to encrypt the destination file system. Your service-managed
1030
- # KMS key for Amazon EFS is used if you don't specify a KMS key.
1031
- # You cannot change this after the file system is created.
1046
+ # encryption at rest enabled. You can specify the Key Management
1047
+ # Service (KMS) key that is used to encrypt the destination file
1048
+ # system. If you don't specify a KMS key, your service-managed KMS
1049
+ # key for Amazon EFS is used.
1050
+ #
1051
+ # <note markdown="1"> After the file system is created, you cannot change the KMS key.
1052
+ #
1053
+ # </note>
1032
1054
  #
1033
1055
  # The following properties are set by default:
1034
1056
  #
1035
1057
  # * **Performance mode** - The destination file system's performance
1036
- # mode will match that of the source file system, unless the
1037
- # destination file system uses One Zone storage. In that case, the
1038
- # *General Purpose* performance mode is used. The Performance mode
1039
- # cannot be changed.
1058
+ # mode matches that of the source file system, unless the destination
1059
+ # file system uses EFS One Zone storage. In that case, the General
1060
+ # Purpose performance mode is used. The performance mode cannot be
1061
+ # changed.
1040
1062
  #
1041
- # * **Throughput mode** - The destination file system use the Bursting
1042
- # throughput mode by default. You can modify the throughput mode once
1043
- # the file system is created.
1063
+ # * **Throughput mode** - The destination file system uses the Bursting
1064
+ # Throughput mode by default. After the file system is created, you
1065
+ # can modify the throughput mode.
1044
1066
  #
1045
1067
  # The following properties are turned off by default:
1046
1068
  #
1047
- # * **Lifecycle management** - EFS lifecycle management and intelligent
1048
- # tiering are not enabled on the destination file system. You can
1049
- # enable EFS lifecycle management and intelligent tiering after the
1050
- # destination file system is created.
1069
+ # * **Lifecycle management** - EFS lifecycle management and EFS
1070
+ # Intelligent-Tiering are not enabled on the destination file system.
1071
+ # After the destination file system is created, you can enable EFS
1072
+ # lifecycle management and EFS Intelligent-Tiering.
1051
1073
  #
1052
1074
  # * **Automatic backups** - Automatic daily backups not enabled on the
1053
- # destination file system. You can change this setting after the file
1054
- # system is created.
1075
+ # destination file system. After the file system is created, you can
1076
+ # change this setting.
1055
1077
  #
1056
- # For more information, see [Amazon EFS replication][1].
1078
+ # For more information, see [Amazon EFS replication][1] in the *Amazon
1079
+ # EFS User Guide*.
1057
1080
  #
1058
1081
  #
1059
1082
  #
@@ -1113,8 +1136,8 @@ module Aws::EFS
1113
1136
  req.send_request(options)
1114
1137
  end
1115
1138
 
1116
- # <note markdown="1"> DEPRECATED - CreateTags is deprecated and not maintained. Please use
1117
- # the API action to create tags for EFS resources.
1139
+ # <note markdown="1"> DEPRECATED - `CreateTags` is deprecated and not maintained. To create
1140
+ # tags for EFS resources, use the API action.
1118
1141
  #
1119
1142
  # </note>
1120
1143
  #
@@ -1206,6 +1229,16 @@ module Aws::EFS
1206
1229
  # Upon return, the file system no longer exists and you can't access
1207
1230
  # any contents of the deleted file system.
1208
1231
  #
1232
+ # You need to manually delete mount targets attached to a file system
1233
+ # before you can delete an EFS file system. This step is performed for
1234
+ # you when you use the Amazon Web Services console to delete a file
1235
+ # system.
1236
+ #
1237
+ # <note markdown="1"> You cannot delete a file system that is part of an EFS Replication
1238
+ # configuration. You need to delete the replication configuration first.
1239
+ #
1240
+ # </note>
1241
+ #
1209
1242
  # You can't delete a file system that is in use. That is, if the file
1210
1243
  # system has any mount targets, you must first delete them. For more
1211
1244
  # information, see DescribeMountTargets and DeleteMountTarget.
@@ -1349,8 +1382,10 @@ module Aws::EFS
1349
1382
  # Deletes an existing replication configuration. To delete a replication
1350
1383
  # configuration, you must make the request from the Amazon Web Services
1351
1384
  # Region in which the destination file system is located. Deleting a
1352
- # replication configuration ends the replication process. You can write
1353
- # to the destination file system once it's status becomes `Writeable`.
1385
+ # replication configuration ends the replication process. After a
1386
+ # replication configuration is deleted, the destination file system is
1387
+ # no longer read-only. You can write to the destination file system
1388
+ # after its status becomes `Writeable`.
1354
1389
  #
1355
1390
  # @option params [required, String] :source_file_system_id
1356
1391
  # The ID of the source file system in the replication configuration.
@@ -1372,8 +1407,8 @@ module Aws::EFS
1372
1407
  req.send_request(options)
1373
1408
  end
1374
1409
 
1375
- # <note markdown="1"> DEPRECATED - DeleteTags is deprecated and not maintained. Please use
1376
- # the API action to remove tags from EFS resources.
1410
+ # <note markdown="1"> DEPRECATED - `DeleteTags` is deprecated and not maintained. To remove
1411
+ # tags from EFS resources, use the API action.
1377
1412
  #
1378
1413
  # </note>
1379
1414
  #
@@ -1747,7 +1782,7 @@ module Aws::EFS
1747
1782
  # `LifecycleConfiguration` object, the call returns an empty array in
1748
1783
  # the response.
1749
1784
  #
1750
- # When EFS Intelligent Tiering is enabled,
1785
+ # When EFS Intelligent-Tiering is enabled,
1751
1786
  # `TransitionToPrimaryStorageClass` has a value of `AFTER_1_ACCESS`.
1752
1787
  #
1753
1788
  # This operation requires permissions for the
@@ -1960,22 +1995,22 @@ module Aws::EFS
1960
1995
  req.send_request(options)
1961
1996
  end
1962
1997
 
1963
- # Retrieves the replication configurations for either a specific file
1964
- # system, or all configurations for the Amazon Web Services account in
1965
- # an Amazon Web Services Region if a file system is not specified.
1998
+ # Retrieves the replication configuration for a specific file system. If
1999
+ # a file system is not specified, all of the replication configurations
2000
+ # for the Amazon Web Services account in an Amazon Web Services Region
2001
+ # are retrieved.
1966
2002
  #
1967
2003
  # @option params [String] :file_system_id
1968
- # You can retrieve replication configurations for a specific file system
1969
- # by providing a file system ID.
2004
+ # You can retrieve the replication configuration for a specific file
2005
+ # system by providing its file system ID.
1970
2006
  #
1971
2007
  # @option params [String] :next_token
1972
2008
  # `NextToken` is present if the response is paginated. You can use
1973
- # `NextMarker` in a subsequent request to fetch the next page of output.
2009
+ # `NextToken` in a subsequent request to fetch the next page of output.
1974
2010
  #
1975
2011
  # @option params [Integer] :max_results
1976
- # (Optional) You can optionally specify the `MaxItems` parameter to
1977
- # limit the number of objects returned in a response. The default value
1978
- # is 100.
2012
+ # (Optional) To limit the number of objects returned in a response, you
2013
+ # can specify the `MaxItems` parameter. The default value is 100.
1979
2014
  #
1980
2015
  # @return [Types::DescribeReplicationConfigurationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1981
2016
  #
@@ -2014,8 +2049,9 @@ module Aws::EFS
2014
2049
  req.send_request(options)
2015
2050
  end
2016
2051
 
2017
- # <note markdown="1"> DEPRECATED - The DeleteTags action is deprecated and not maintained.
2018
- # Please use the API action to remove tags from EFS resources.
2052
+ # <note markdown="1"> DEPRECATED - The `DescribeTags` action is deprecated and not
2053
+ # maintained. To view tags associated with EFS resources, use the
2054
+ # `ListTagsForResource` API action.
2019
2055
  #
2020
2056
  # </note>
2021
2057
  #
@@ -2209,7 +2245,7 @@ module Aws::EFS
2209
2245
  # <note markdown="1"> Starting in October, 2021, you will receive an error if you try to set
2210
2246
  # the account preference to use the short 8 character format resource
2211
2247
  # ID. Contact Amazon Web Services support if you receive an error and
2212
- # need to use short IDs for file system and mount target resources.
2248
+ # must use short IDs for file system and mount target resources.
2213
2249
  #
2214
2250
  # </note>
2215
2251
  #
@@ -2224,7 +2260,7 @@ module Aws::EFS
2224
2260
  #
2225
2261
  # <note markdown="1"> Starting in October, 2021, you will receive an error when setting the
2226
2262
  # account preference to `SHORT_ID`. Contact Amazon Web Services support
2227
- # if you receive an error and need to use short IDs for file system and
2263
+ # if you receive an error and must use short IDs for file system and
2228
2264
  # mount target resources.
2229
2265
  #
2230
2266
  # </note>
@@ -2324,15 +2360,15 @@ module Aws::EFS
2324
2360
  # [1]: https://docs.aws.amazon.com/efs/latest/ug/access-control-overview.html#access-control-manage-access-intro-resource-policies
2325
2361
  #
2326
2362
  # @option params [Boolean] :bypass_policy_lockout_safety_check
2327
- # (Optional) A flag to indicate whether to bypass the `FileSystemPolicy`
2328
- # lockout safety check. The policy lockout safety check determines
2329
- # whether the policy in the request will prevent the principal making
2330
- # the request will be locked out from making future
2331
- # `PutFileSystemPolicy` requests on the file system. Set
2363
+ # (Optional) A boolean that specifies whether or not to bypass the
2364
+ # `FileSystemPolicy` lockout safety check. The lockout safety check
2365
+ # determines whether the policy in the request will lock out, or
2366
+ # prevent, the IAM principal that is making the request from making
2367
+ # future `PutFileSystemPolicy` requests on this file system. Set
2332
2368
  # `BypassPolicyLockoutSafetyCheck` to `True` only when you intend to
2333
- # prevent the principal that is making the request from making a
2334
- # subsequent `PutFileSystemPolicy` request on the file system. The
2335
- # default value is False.
2369
+ # prevent the IAM principal that is making the request from making
2370
+ # subsequent `PutFileSystemPolicy` requests on this file system. The
2371
+ # default value is `False`.
2336
2372
  #
2337
2373
  # @return [Types::FileSystemPolicyDescription] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2338
2374
  #
@@ -2361,13 +2397,25 @@ module Aws::EFS
2361
2397
  req.send_request(options)
2362
2398
  end
2363
2399
 
2364
- # Enables lifecycle management by creating a new
2365
- # `LifecycleConfiguration` object. A `LifecycleConfiguration` object
2366
- # defines when files in an Amazon EFS file system are automatically
2367
- # transitioned to the lower-cost EFS Infrequent Access (IA) storage
2368
- # class. To enable EFS Intelligent Tiering, set the value of
2369
- # `TransitionToPrimaryStorageClass` to `AFTER_1_ACCESS`. For more
2370
- # information, see [EFS Lifecycle Management][1].
2400
+ # Use this action to manage EFS lifecycle management and intelligent
2401
+ # tiering. A `LifecycleConfiguration` consists of one or more
2402
+ # `LifecyclePolicy` objects that define the following:
2403
+ #
2404
+ # * **EFS Lifecycle management** - When Amazon EFS automatically
2405
+ # transitions files in a file system into the lower-cost Infrequent
2406
+ # Access (IA) storage class.
2407
+ #
2408
+ # To enable EFS Lifecycle management, set the value of
2409
+ # `TransitionToIA` to one of the available options.
2410
+ #
2411
+ # * **EFS Intelligent tiering** - When Amazon EFS automatically
2412
+ # transitions files from IA back into the file system's primary
2413
+ # storage class (Standard or One Zone Standard.
2414
+ #
2415
+ # To enable EFS Intelligent Tiering, set the value of
2416
+ # `TransitionToPrimaryStorageClass` to `AFTER_1_ACCESS`.
2417
+ #
2418
+ # For more information, see [EFS Lifecycle Management][1].
2371
2419
  #
2372
2420
  # Each Amazon EFS file system supports one lifecycle configuration,
2373
2421
  # which applies to all files in the file system. If a
@@ -2375,20 +2423,24 @@ module Aws::EFS
2375
2423
  # system, a `PutLifecycleConfiguration` call modifies the existing
2376
2424
  # configuration. A `PutLifecycleConfiguration` call with an empty
2377
2425
  # `LifecyclePolicies` array in the request body deletes any existing
2378
- # `LifecycleConfiguration` and turns off lifecycle management for the
2379
- # file system.
2426
+ # `LifecycleConfiguration` and turns off lifecycle management and
2427
+ # intelligent tiering for the file system.
2380
2428
  #
2381
2429
  # In the request, specify the following:
2382
2430
  #
2383
2431
  # * The ID for the file system for which you are enabling, disabling, or
2384
- # modifying lifecycle management.
2432
+ # modifying lifecycle management and intelligent tiering.
2385
2433
  #
2386
2434
  # * A `LifecyclePolicies` array of `LifecyclePolicy` objects that define
2387
- # when files are moved to the IA storage class. Amazon EFS requires
2388
- # that each `LifecyclePolicy` object have only have a single
2389
- # transition, so the `LifecyclePolicies` array needs to be structured
2390
- # with separate `LifecyclePolicy` objects. See the example requests in
2391
- # the following section for more information.
2435
+ # when files are moved into IA storage, and when they are moved back
2436
+ # to Standard storage.
2437
+ #
2438
+ # <note markdown="1"> Amazon EFS requires that each `LifecyclePolicy` object have only
2439
+ # have a single transition, so the `LifecyclePolicies` array needs to
2440
+ # be structured with separate `LifecyclePolicy` objects. See the
2441
+ # example requests in the following section for more information.
2442
+ #
2443
+ # </note>
2392
2444
  #
2393
2445
  # This operation requires permissions for the
2394
2446
  # `elasticfilesystem:PutLifecycleConfiguration` operation.
@@ -2408,7 +2460,7 @@ module Aws::EFS
2408
2460
  # @option params [required, Array<Types::LifecyclePolicy>] :lifecycle_policies
2409
2461
  # An array of `LifecyclePolicy` objects that define the file system's
2410
2462
  # `LifecycleConfiguration` object. A `LifecycleConfiguration` object
2411
- # informs EFS lifecycle management and intelligent tiering of the
2463
+ # informs EFS lifecycle management and EFS Intelligent-Tiering of the
2412
2464
  # following:
2413
2465
  #
2414
2466
  # * When to move files in the file system from primary storage to the IA
@@ -2419,8 +2471,8 @@ module Aws::EFS
2419
2471
  # <note markdown="1"> When using the `put-lifecycle-configuration` CLI command or the
2420
2472
  # `PutLifecycleConfiguration` API action, Amazon EFS requires that each
2421
2473
  # `LifecyclePolicy` object have only a single transition. This means
2422
- # that in a request body, `LifecyclePolicies` needs to be structured as
2423
- # an array of `LifecyclePolicy` objects, one object for each transition,
2474
+ # that in a request body, `LifecyclePolicies` must be structured as an
2475
+ # array of `LifecyclePolicy` objects, one object for each transition,
2424
2476
  # `TransitionToIA`, `TransitionToPrimaryStorageClass`. See the example
2425
2477
  # requests in the following section for more information.
2426
2478
  #
@@ -2644,7 +2696,7 @@ module Aws::EFS
2644
2696
  params: params,
2645
2697
  config: config)
2646
2698
  context[:gem_name] = 'aws-sdk-efs'
2647
- context[:gem_version] = '1.53.0'
2699
+ context[:gem_version] = '1.55.0'
2648
2700
  Seahorse::Client::Request.new(handlers, context)
2649
2701
  end
2650
2702
 
@@ -148,6 +148,7 @@ module Aws::EFS
148
148
  TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
149
149
  TagValue = Shapes::StringShape.new(name: 'TagValue')
150
150
  Tags = Shapes::ListShape.new(name: 'Tags')
151
+ ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
151
152
  ThroughputLimitExceeded = Shapes::StructureShape.new(name: 'ThroughputLimitExceeded')
152
153
  ThroughputMode = Shapes::StringShape.new(name: 'ThroughputMode')
153
154
  Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
@@ -557,6 +558,10 @@ module Aws::EFS
557
558
 
558
559
  Tags.member = Shapes::ShapeRef.new(shape: Tag)
559
560
 
561
+ ThrottlingException.add_member(:error_code, Shapes::ShapeRef.new(shape: ErrorCode, location_name: "ErrorCode"))
562
+ ThrottlingException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
563
+ ThrottlingException.struct_class = Types::ThrottlingException
564
+
560
565
  ThroughputLimitExceeded.add_member(:error_code, Shapes::ShapeRef.new(shape: ErrorCode, required: true, location_name: "ErrorCode"))
561
566
  ThroughputLimitExceeded.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
562
567
  ThroughputLimitExceeded.struct_class = Types::ThroughputLimitExceeded
@@ -611,6 +616,7 @@ module Aws::EFS
611
616
  o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
612
617
  o.errors << Shapes::ShapeRef.new(shape: FileSystemNotFound)
613
618
  o.errors << Shapes::ShapeRef.new(shape: AccessPointLimitExceeded)
619
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
614
620
  end)
615
621
 
616
622
  api.add_operation(:create_file_system, Seahorse::Model::Operation.new.tap do |o|
@@ -0,0 +1,66 @@
1
+ # frozen_string_literal: true
2
+
3
+ # WARNING ABOUT GENERATED CODE
4
+ #
5
+ # This file is generated. See the contributing guide for more information:
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+ module Aws::EFS
11
+ # Endpoint parameters used to influence endpoints per request.
12
+ #
13
+ # @!attribute region
14
+ # The AWS region used to dispatch the request.
15
+ #
16
+ # @return [String]
17
+ #
18
+ # @!attribute use_dual_stack
19
+ # When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.
20
+ #
21
+ # @return [Boolean]
22
+ #
23
+ # @!attribute use_fips
24
+ # When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.
25
+ #
26
+ # @return [Boolean]
27
+ #
28
+ # @!attribute endpoint
29
+ # Override the endpoint used to send this request
30
+ #
31
+ # @return [String]
32
+ #
33
+ EndpointParameters = Struct.new(
34
+ :region,
35
+ :use_dual_stack,
36
+ :use_fips,
37
+ :endpoint,
38
+ ) do
39
+ include Aws::Structure
40
+
41
+ # @api private
42
+ class << self
43
+ PARAM_MAP = {
44
+ 'Region' => :region,
45
+ 'UseDualStack' => :use_dual_stack,
46
+ 'UseFIPS' => :use_fips,
47
+ 'Endpoint' => :endpoint,
48
+ }.freeze
49
+ end
50
+
51
+ def initialize(options = {})
52
+ self[:region] = options[:region]
53
+ self[:use_dual_stack] = options[:use_dual_stack]
54
+ self[:use_dual_stack] = false if self[:use_dual_stack].nil?
55
+ if self[:use_dual_stack].nil?
56
+ raise ArgumentError, "Missing required EndpointParameter: :use_dual_stack"
57
+ end
58
+ self[:use_fips] = options[:use_fips]
59
+ self[:use_fips] = false if self[:use_fips].nil?
60
+ if self[:use_fips].nil?
61
+ raise ArgumentError, "Missing required EndpointParameter: :use_fips"
62
+ end
63
+ self[:endpoint] = options[:endpoint]
64
+ end
65
+ end
66
+ end
@@ -0,0 +1,112 @@
1
+ # frozen_string_literal: true
2
+
3
+ # WARNING ABOUT GENERATED CODE
4
+ #
5
+ # This file is generated. See the contributing guide for more information:
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+ module Aws::EFS
11
+ class EndpointProvider
12
+ def initialize(rule_set = nil)
13
+ @@rule_set ||= begin
14
+ endpoint_rules = Aws::Json.load(Base64.decode64(RULES))
15
+ Aws::Endpoints::RuleSet.new(
16
+ version: endpoint_rules['version'],
17
+ service_id: endpoint_rules['serviceId'],
18
+ parameters: endpoint_rules['parameters'],
19
+ rules: endpoint_rules['rules']
20
+ )
21
+ end
22
+ @provider = Aws::Endpoints::RulesProvider.new(rule_set || @@rule_set)
23
+ end
24
+
25
+ def resolve_endpoint(parameters)
26
+ @provider.resolve_endpoint(parameters)
27
+ end
28
+
29
+ # @api private
30
+ RULES = <<-JSON
31
+ eyJ2ZXJzaW9uIjoiMS4wIiwicGFyYW1ldGVycyI6eyJSZWdpb24iOnsiYnVp
32
+ bHRJbiI6IkFXUzo6UmVnaW9uIiwicmVxdWlyZWQiOmZhbHNlLCJkb2N1bWVu
33
+ dGF0aW9uIjoiVGhlIEFXUyByZWdpb24gdXNlZCB0byBkaXNwYXRjaCB0aGUg
34
+ cmVxdWVzdC4iLCJ0eXBlIjoiU3RyaW5nIn0sIlVzZUR1YWxTdGFjayI6eyJi
35
+ dWlsdEluIjoiQVdTOjpVc2VEdWFsU3RhY2siLCJyZXF1aXJlZCI6dHJ1ZSwi
36
+ ZGVmYXVsdCI6ZmFsc2UsImRvY3VtZW50YXRpb24iOiJXaGVuIHRydWUsIHVz
37
+ ZSB0aGUgZHVhbC1zdGFjayBlbmRwb2lud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