aws-sdk-efs 1.25.0 → 1.30.1
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 +5 -5
- data/lib/aws-sdk-efs.rb +1 -1
- data/lib/aws-sdk-efs/client.rb +41 -26
- data/lib/aws-sdk-efs/client_api.rb +1 -1
- data/lib/aws-sdk-efs/resource.rb +1 -7
- data/lib/aws-sdk-efs/types.rb +4 -1
- metadata +5 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: 27254855d90dcc8d5e52ee1112dc7f2ca6b086857a783a4615dcfc424b3b834b
|
|
4
|
+
data.tar.gz: 8dca162973d35163821f8fd891adf470e1f44c1cc466859531ac99b1c00f22c7
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ae6f36d8505cf1fb85ffe29e06954aa1dbaa7e576dbef89c5053e58d16383ead9680c90714648a2d794e90f2907a46ed15a353260958002906100ea8b662f908
|
|
7
|
+
data.tar.gz: 30a33e6d2d8d667655e6f405572b13bf9ffc80b4e0eb722b831bc647fb66f8a612734ddc383e52191e30b1ecc06e8da75e5c9ae919fb5bd46cfb496248b8c724
|
data/lib/aws-sdk-efs.rb
CHANGED
data/lib/aws-sdk-efs/client.rb
CHANGED
|
@@ -24,6 +24,7 @@ require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
|
|
|
24
24
|
require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
|
|
25
25
|
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
|
26
26
|
require 'aws-sdk-core/plugins/transfer_encoding.rb'
|
|
27
|
+
require 'aws-sdk-core/plugins/http_checksum.rb'
|
|
27
28
|
require 'aws-sdk-core/plugins/signature_v4.rb'
|
|
28
29
|
require 'aws-sdk-core/plugins/protocols/rest_json.rb'
|
|
29
30
|
|
|
@@ -32,11 +33,11 @@ Aws::Plugins::GlobalConfiguration.add_identifier(:efs)
|
|
|
32
33
|
module Aws::EFS
|
|
33
34
|
# An API client for EFS. To construct a client, you need to configure a `:region` and `:credentials`.
|
|
34
35
|
#
|
|
35
|
-
#
|
|
36
|
-
#
|
|
37
|
-
#
|
|
38
|
-
#
|
|
39
|
-
#
|
|
36
|
+
# client = Aws::EFS::Client.new(
|
|
37
|
+
# region: region_name,
|
|
38
|
+
# credentials: credentials,
|
|
39
|
+
# # ...
|
|
40
|
+
# )
|
|
40
41
|
#
|
|
41
42
|
# For details on configuring region and credentials see
|
|
42
43
|
# the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
|
|
@@ -69,6 +70,7 @@ module Aws::EFS
|
|
|
69
70
|
add_plugin(Aws::Plugins::ClientMetricsPlugin)
|
|
70
71
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
|
71
72
|
add_plugin(Aws::Plugins::TransferEncoding)
|
|
73
|
+
add_plugin(Aws::Plugins::HttpChecksum)
|
|
72
74
|
add_plugin(Aws::Plugins::SignatureV4)
|
|
73
75
|
add_plugin(Aws::Plugins::Protocols::RestJson)
|
|
74
76
|
|
|
@@ -105,7 +107,7 @@ module Aws::EFS
|
|
|
105
107
|
# @option options [required, String] :region
|
|
106
108
|
# The AWS region to connect to. The configured `:region` is
|
|
107
109
|
# used to determine the service `:endpoint`. When not passed,
|
|
108
|
-
# a default `:region` is
|
|
110
|
+
# a default `:region` is searched for in the following locations:
|
|
109
111
|
#
|
|
110
112
|
# * `Aws.config[:region]`
|
|
111
113
|
# * `ENV['AWS_REGION']`
|
|
@@ -161,7 +163,7 @@ module Aws::EFS
|
|
|
161
163
|
# @option options [String] :endpoint
|
|
162
164
|
# The client endpoint is normally constructed from the `:region`
|
|
163
165
|
# option. You should only configure an `:endpoint` when connecting
|
|
164
|
-
# to test endpoints. This should be
|
|
166
|
+
# to test or custom endpoints. This should be a valid HTTP(S) URI.
|
|
165
167
|
#
|
|
166
168
|
# @option options [Integer] :endpoint_cache_max_entries (1000)
|
|
167
169
|
# Used for the maximum size limit of the LRU cache storing endpoints data
|
|
@@ -176,7 +178,7 @@ module Aws::EFS
|
|
|
176
178
|
# requests fetching endpoints information. Defaults to 60 sec.
|
|
177
179
|
#
|
|
178
180
|
# @option options [Boolean] :endpoint_discovery (false)
|
|
179
|
-
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
|
181
|
+
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
|
180
182
|
#
|
|
181
183
|
# @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
|
|
182
184
|
# The log formatter.
|
|
@@ -229,15 +231,19 @@ module Aws::EFS
|
|
|
229
231
|
#
|
|
230
232
|
# @option options [String] :retry_mode ("legacy")
|
|
231
233
|
# Specifies which retry algorithm to use. Values are:
|
|
232
|
-
#
|
|
233
|
-
#
|
|
234
|
-
#
|
|
235
|
-
#
|
|
236
|
-
#
|
|
237
|
-
#
|
|
238
|
-
#
|
|
239
|
-
#
|
|
240
|
-
#
|
|
234
|
+
#
|
|
235
|
+
# * `legacy` - The pre-existing retry behavior. This is default value if
|
|
236
|
+
# no retry mode is provided.
|
|
237
|
+
#
|
|
238
|
+
# * `standard` - A standardized set of retry rules across the AWS SDKs.
|
|
239
|
+
# This includes support for retry quotas, which limit the number of
|
|
240
|
+
# unsuccessful retries a client can make.
|
|
241
|
+
#
|
|
242
|
+
# * `adaptive` - An experimental retry mode that includes all the
|
|
243
|
+
# functionality of `standard` mode along with automatic client side
|
|
244
|
+
# throttling. This is a provisional mode that may change behavior
|
|
245
|
+
# in the future.
|
|
246
|
+
#
|
|
241
247
|
#
|
|
242
248
|
# @option options [String] :secret_access_key
|
|
243
249
|
#
|
|
@@ -265,8 +271,7 @@ module Aws::EFS
|
|
|
265
271
|
#
|
|
266
272
|
# @option options [Integer] :http_read_timeout (60) The default
|
|
267
273
|
# number of seconds to wait for response data. This value can
|
|
268
|
-
# safely be set
|
|
269
|
-
# per-request on the session yielded by {#session_for}.
|
|
274
|
+
# safely be set per-request on the session.
|
|
270
275
|
#
|
|
271
276
|
# @option options [Float] :http_idle_timeout (5) The number of
|
|
272
277
|
# seconds a connection is allowed to sit idle before it is
|
|
@@ -278,7 +283,7 @@ module Aws::EFS
|
|
|
278
283
|
# request body. This option has no effect unless the request has
|
|
279
284
|
# "Expect" header set to "100-continue". Defaults to `nil` which
|
|
280
285
|
# disables this behaviour. This value can safely be set per
|
|
281
|
-
# request on the session
|
|
286
|
+
# request on the session.
|
|
282
287
|
#
|
|
283
288
|
# @option options [Boolean] :http_wire_trace (false) When `true`,
|
|
284
289
|
# HTTP debug output will be sent to the `:logger`.
|
|
@@ -525,6 +530,9 @@ module Aws::EFS
|
|
|
525
530
|
# If `KmsKeyId` is specified, the CreateFileSystemRequest$Encrypted
|
|
526
531
|
# parameter must be set to true.
|
|
527
532
|
#
|
|
533
|
+
# EFS accepts only symmetric CMKs. You cannot use asymmetric CMKs with
|
|
534
|
+
# EFS file systems.
|
|
535
|
+
#
|
|
528
536
|
# @option params [String] :throughput_mode
|
|
529
537
|
# The throughput mode for the file system to be created. There are two
|
|
530
538
|
# throughput modes to choose from for your file system: `bursting` and
|
|
@@ -1159,6 +1167,8 @@ module Aws::EFS
|
|
|
1159
1167
|
# * {Types::DescribeAccessPointsResponse#access_points #access_points} => Array<Types::AccessPointDescription>
|
|
1160
1168
|
# * {Types::DescribeAccessPointsResponse#next_token #next_token} => String
|
|
1161
1169
|
#
|
|
1170
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
|
1171
|
+
#
|
|
1162
1172
|
# @example Request syntax with placeholder values
|
|
1163
1173
|
#
|
|
1164
1174
|
# resp = client.describe_access_points({
|
|
@@ -1287,6 +1297,8 @@ module Aws::EFS
|
|
|
1287
1297
|
# * {Types::DescribeFileSystemsResponse#file_systems #file_systems} => Array<Types::FileSystemDescription>
|
|
1288
1298
|
# * {Types::DescribeFileSystemsResponse#next_marker #next_marker} => String
|
|
1289
1299
|
#
|
|
1300
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
|
1301
|
+
#
|
|
1290
1302
|
#
|
|
1291
1303
|
# @example Example: To describe an EFS file system
|
|
1292
1304
|
#
|
|
@@ -1606,6 +1618,8 @@ module Aws::EFS
|
|
|
1606
1618
|
# * {Types::DescribeTagsResponse#tags #tags} => Array<Types::Tag>
|
|
1607
1619
|
# * {Types::DescribeTagsResponse#next_marker #next_marker} => String
|
|
1608
1620
|
#
|
|
1621
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
|
1622
|
+
#
|
|
1609
1623
|
#
|
|
1610
1624
|
# @example Example: To describe the tags for a file system
|
|
1611
1625
|
#
|
|
@@ -1674,6 +1688,8 @@ module Aws::EFS
|
|
|
1674
1688
|
# * {Types::ListTagsForResourceResponse#tags #tags} => Array<Types::Tag>
|
|
1675
1689
|
# * {Types::ListTagsForResourceResponse#next_token #next_token} => String
|
|
1676
1690
|
#
|
|
1691
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
|
1692
|
+
#
|
|
1677
1693
|
# @example Request syntax with placeholder values
|
|
1678
1694
|
#
|
|
1679
1695
|
# resp = client.list_tags_for_resource({
|
|
@@ -1758,15 +1774,14 @@ module Aws::EFS
|
|
|
1758
1774
|
# system policy, which can be the default policy or an explicit policy
|
|
1759
1775
|
# set or updated using this API operation. When an explicit policy is
|
|
1760
1776
|
# set, it overrides the default policy. For more information about the
|
|
1761
|
-
# default file system policy, see [
|
|
1762
|
-
# EFS][1].
|
|
1777
|
+
# default file system policy, see [Default EFS File System Policy][1].
|
|
1763
1778
|
#
|
|
1764
1779
|
# This operation requires permissions for the
|
|
1765
1780
|
# `elasticfilesystem:PutFileSystemPolicy` action.
|
|
1766
1781
|
#
|
|
1767
1782
|
#
|
|
1768
1783
|
#
|
|
1769
|
-
# [1]: https://docs.aws.amazon.com/efs/latest/ug/
|
|
1784
|
+
# [1]: https://docs.aws.amazon.com/efs/latest/ug/iam-access-control-nfs-efs.html#default-filesystempolicy
|
|
1770
1785
|
#
|
|
1771
1786
|
# @option params [required, String] :file_system_id
|
|
1772
1787
|
# The ID of the EFS file system that you want to create or update the
|
|
@@ -1957,7 +1972,7 @@ module Aws::EFS
|
|
|
1957
1972
|
# @option params [required, String] :resource_id
|
|
1958
1973
|
# Specifies the EFS resource that you want to remove tags from.
|
|
1959
1974
|
#
|
|
1960
|
-
# @option params [Array<String>] :tag_keys
|
|
1975
|
+
# @option params [required, Array<String>] :tag_keys
|
|
1961
1976
|
# The keys of the key:value tag pairs that you want to remove from the
|
|
1962
1977
|
# specified EFS resource.
|
|
1963
1978
|
#
|
|
@@ -1967,7 +1982,7 @@ module Aws::EFS
|
|
|
1967
1982
|
#
|
|
1968
1983
|
# resp = client.untag_resource({
|
|
1969
1984
|
# resource_id: "ResourceId", # required
|
|
1970
|
-
# tag_keys: ["TagKey"],
|
|
1985
|
+
# tag_keys: ["TagKey"], # required
|
|
1971
1986
|
# })
|
|
1972
1987
|
#
|
|
1973
1988
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/UntagResource AWS API Documentation
|
|
@@ -2068,7 +2083,7 @@ module Aws::EFS
|
|
|
2068
2083
|
params: params,
|
|
2069
2084
|
config: config)
|
|
2070
2085
|
context[:gem_name] = 'aws-sdk-efs'
|
|
2071
|
-
context[:gem_version] = '1.
|
|
2086
|
+
context[:gem_version] = '1.30.1'
|
|
2072
2087
|
Seahorse::Client::Request.new(handlers, context)
|
|
2073
2088
|
end
|
|
2074
2089
|
|
|
@@ -447,7 +447,7 @@ module Aws::EFS
|
|
|
447
447
|
UnsupportedAvailabilityZone.struct_class = Types::UnsupportedAvailabilityZone
|
|
448
448
|
|
|
449
449
|
UntagResourceRequest.add_member(:resource_id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location: "uri", location_name: "ResourceId"))
|
|
450
|
-
UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeys, location_name: "
|
|
450
|
+
UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeys, required: true, location: "querystring", location_name: "tagKeys"))
|
|
451
451
|
UntagResourceRequest.struct_class = Types::UntagResourceRequest
|
|
452
452
|
|
|
453
453
|
UpdateFileSystemRequest.add_member(:file_system_id, Shapes::ShapeRef.new(shape: FileSystemId, required: true, location: "uri", location_name: "FileSystemId"))
|
data/lib/aws-sdk-efs/resource.rb
CHANGED
|
@@ -6,13 +6,7 @@
|
|
|
6
6
|
# WARNING ABOUT GENERATED CODE
|
|
7
7
|
|
|
8
8
|
module Aws::EFS
|
|
9
|
-
|
|
10
|
-
# To create a resource object:
|
|
11
|
-
# resource = Aws::EFS::Resource.new(region: 'us-west-2')
|
|
12
|
-
# You can supply a client object with custom configuration that will be used for all resource operations.
|
|
13
|
-
# If you do not pass +:client+, a default client will be constructed.
|
|
14
|
-
# client = Aws::EFS::Client.new(region: 'us-west-2')
|
|
15
|
-
# resource = Aws::EFS::Resource.new(client: client)
|
|
9
|
+
|
|
16
10
|
class Resource
|
|
17
11
|
|
|
18
12
|
# @param options ({})
|
data/lib/aws-sdk-efs/types.rb
CHANGED
|
@@ -283,6 +283,9 @@ module Aws::EFS
|
|
|
283
283
|
#
|
|
284
284
|
# If `KmsKeyId` is specified, the CreateFileSystemRequest$Encrypted
|
|
285
285
|
# parameter must be set to true.
|
|
286
|
+
#
|
|
287
|
+
# EFS accepts only symmetric CMKs. You cannot use asymmetric CMKs with
|
|
288
|
+
# EFS file systems.
|
|
286
289
|
# @return [String]
|
|
287
290
|
#
|
|
288
291
|
# @!attribute [rw] throughput_mode
|
|
@@ -1838,7 +1841,7 @@ module Aws::EFS
|
|
|
1838
1841
|
#
|
|
1839
1842
|
# {
|
|
1840
1843
|
# resource_id: "ResourceId", # required
|
|
1841
|
-
# tag_keys: ["TagKey"],
|
|
1844
|
+
# tag_keys: ["TagKey"], # required
|
|
1842
1845
|
# }
|
|
1843
1846
|
#
|
|
1844
1847
|
# @!attribute [rw] resource_id
|
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.30.1
|
|
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: 2020-
|
|
11
|
+
date: 2020-06-11 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.99.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.99.0
|
|
33
33
|
- !ruby/object:Gem::Dependency
|
|
34
34
|
name: aws-sigv4
|
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -81,7 +81,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
81
81
|
version: '0'
|
|
82
82
|
requirements: []
|
|
83
83
|
rubyforge_project:
|
|
84
|
-
rubygems_version: 2.
|
|
84
|
+
rubygems_version: 2.7.6.2
|
|
85
85
|
signing_key:
|
|
86
86
|
specification_version: 4
|
|
87
87
|
summary: AWS SDK for Ruby - EFS
|