aws-sdk-efs 1.57.0 → 1.58.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3255ad3c8abbd013fc002a814b081f1098258dc1646e5799b47eaafa4efd3a5d
4
- data.tar.gz: 8b8762b2423041f5c2377782544f25337f5dcdca6d9855ec54bd51529a9f862f
3
+ metadata.gz: 54ba030e7096b93bdffa515ca9d73188c9cd4e18346a02e2436925efd77f5f1a
4
+ data.tar.gz: 63a0423f70573cfc13398fdf7d2d93924e273e0d61a2c551f31fdf17141ddca3
5
5
  SHA512:
6
- metadata.gz: a61d0244e916be94f346307bc2c3d0be4a502f11c1f7e1ba95f5b57f281cd7e4f7fa2c0ff02c23d676f86c108afba9a557cb37a658f589b67fd4a66c092516b9
7
- data.tar.gz: a1d3a828470f7285fd19d319831d3dbdb9d50824e053108f0efc1c7cabae86cdc4ac28abddd2d9c7a0d393a362ff3098ba64737a182a01b8df9fee28d6bd75db
6
+ metadata.gz: cdb14e7861d1ec96bdad5e42e10a82bfcce9d391d93b68a1ce2dd0ae383d6d73f812eb04d03ff5bead18142da69f04a94d5289cc95b030e957911ee0b9fd6e8c
7
+ data.tar.gz: c012c32a27a2cedac7c5b65a8f6b46184459a30e58bb6fca18ede68b8ef5272bb4dbb2e54761b3eba7a84146a40d8892c25a906ac419b7e4a34291138d57b683
data/CHANGELOG.md CHANGED
@@ -1,6 +1,13 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.58.0 (2023-01-18)
5
+ ------------------
6
+
7
+ * Feature - Documentation updates for EFS access points limit increase
8
+
9
+ * Issue - Replace runtime endpoint resolution approach with generated ruby code.
10
+
4
11
  1.57.0 (2022-12-16)
5
12
  ------------------
6
13
 
@@ -358,4 +365,4 @@ Unreleased Changes
358
365
  1.0.0.rc1 (2016-12-05)
359
366
  ------------------
360
367
 
361
- * Feature - Initial preview release of the `aws-sdk-efs` gem.
368
+ * Feature - Initial preview release of the `aws-sdk-efs` gem.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.57.0
1
+ 1.58.0
@@ -380,7 +380,7 @@ module Aws::EFS
380
380
  #
381
381
  # <note markdown="1"> If multiple requests to create access points on the same file system
382
382
  # are sent in quick succession, and the file system is near the limit of
383
- # 120 access points, you may experience a throttling response for these
383
+ # 1000 access points, you may experience a throttling response for these
384
384
  # requests. This is to ensure that the file system does not exceed the
385
385
  # stated access point limit.
386
386
  #
@@ -1656,11 +1656,11 @@ module Aws::EFS
1656
1656
  #
1657
1657
  # When retrieving all file system descriptions, you can optionally
1658
1658
  # specify the `MaxItems` parameter to limit the number of descriptions
1659
- # in a response. Currently, this number is automatically set to 10. If
1660
- # more file system descriptions remain, Amazon EFS returns a
1661
- # `NextMarker`, an opaque token, in the response. In this case, you
1662
- # should send a subsequent request with the `Marker` request parameter
1663
- # set to the value of `NextMarker`.
1659
+ # in a response. This number is automatically set to 100. If more file
1660
+ # system descriptions remain, Amazon EFS returns a `NextMarker`, an
1661
+ # opaque token, in the response. In this case, you should send a
1662
+ # subsequent request with the `Marker` request parameter set to the
1663
+ # value of `NextMarker`.
1664
1664
  #
1665
1665
  # To retrieve a list of your file system descriptions, this operation is
1666
1666
  # used in an iterative process, where `DescribeFileSystems` is called
@@ -2703,7 +2703,7 @@ module Aws::EFS
2703
2703
  params: params,
2704
2704
  config: config)
2705
2705
  context[:gem_name] = 'aws-sdk-efs'
2706
- context[:gem_version] = '1.57.0'
2706
+ context[:gem_version] = '1.58.0'
2707
2707
  Seahorse::Client::Request.new(handlers, context)
2708
2708
  end
2709
2709
 
@@ -9,103 +9,43 @@
9
9
 
10
10
  module Aws::EFS
11
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
- )
12
+ def resolve_endpoint(parameters)
13
+ region = parameters.region
14
+ use_dual_stack = parameters.use_dual_stack
15
+ use_fips = parameters.use_fips
16
+ endpoint = parameters.endpoint
17
+ if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
18
+ if Aws::Endpoints::Matchers.set?(endpoint)
19
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
20
+ raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
21
+ end
22
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
23
+ raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
24
+ end
25
+ return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
26
+ end
27
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
28
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
29
+ return Aws::Endpoints::Endpoint.new(url: "https://elasticfilesystem-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
30
+ end
31
+ raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
32
+ end
33
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
34
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
35
+ return Aws::Endpoints::Endpoint.new(url: "https://elasticfilesystem-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
36
+ end
37
+ raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
38
+ end
39
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
40
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
41
+ return Aws::Endpoints::Endpoint.new(url: "https://elasticfilesystem.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
42
+ end
43
+ raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
44
+ end
45
+ return Aws::Endpoints::Endpoint.new(url: "https://elasticfilesystem.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
21
46
  end
22
- @provider = Aws::Endpoints::RulesProvider.new(rule_set || @@rule_set)
23
- end
47
+ raise ArgumentError, 'No endpoint could be resolved'
24
48
 
25
- def resolve_endpoint(parameters)
26
- @provider.resolve_endpoint(parameters)
27
49
  end
28
-
29
- # @api private
30
- RULES = <<-JSON
31
- eyJ2ZXJzaW9uIjoiMS4wIiwicGFyYW1ldGVycyI6eyJSZWdpb24iOnsiYnVp
32
- bHRJbiI6IkFXUzo6UmVnaW9uIiwicmVxdWlyZWQiOnRydWUsImRvY3VtZW50
33
- YXRpb24iOiJUaGUgQVdTIHJlZ2lvbiB1c2VkIHRvIGRpc3BhdGNoIHRoZSBy
34
- ZXF1ZXN0LiIsInR5cGUiOiJTdHJpbmcifSwiVXNlRHVhbFN0YWNrIjp7ImJ1
35
- aWx0SW4iOiJBV1M6OlVzZUR1YWxTdGFjayIsInJlcXVpcmVkIjp0cnVlLCJk
36
- ZWZhdWx0IjpmYWxzZSwiZG9jdW1lbnRhdGlvbiI6IldoZW4gdHJ1ZSwgdXNl
37
- IHRoZSBkdWFsLXN0YWNrIGVuZHBvaW50LiBJZiB0aGUgY29uZmlndXJlZCBl
38
- bmRwb2ludCBkb2VzIG5vdCBzdXBwb3J0IGR1YWwtc3RhY2ssIGRpc3BhdGNo
39
- aW5nIHRoZSByZXF1ZXN0IE1BWSByZXR1cm4gYW4gZXJyb3IuIiwidHlwZSI6
40
- IkJvb2xlYW4ifSwiVXNlRklQUyI6eyJidWlsdEluIjoiQVdTOjpVc2VGSVBT
41
- IiwicmVxdWlyZWQiOnRydWUs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end
111
51
  end
data/lib/aws-sdk-efs.rb CHANGED
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-efs/customizations'
52
52
  # @!group service
53
53
  module Aws::EFS
54
54
 
55
- GEM_VERSION = '1.57.0'
55
+ GEM_VERSION = '1.58.0'
56
56
 
57
57
  end
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.57.0
4
+ version: 1.58.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: 2022-12-16 00:00:00.000000000 Z
11
+ date: 2023-01-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core