aws-sdk-efs 1.58.0 → 1.59.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: 54ba030e7096b93bdffa515ca9d73188c9cd4e18346a02e2436925efd77f5f1a
4
- data.tar.gz: 63a0423f70573cfc13398fdf7d2d93924e273e0d61a2c551f31fdf17141ddca3
3
+ metadata.gz: 8926852c5a3af2dde684c984d1405bc01d726136840aa2da0df5d6f5571bcdfb
4
+ data.tar.gz: 441d65ec3a05f0422b9a20875f066e36d99769338c5bcaf743f203b189e5d2da
5
5
  SHA512:
6
- metadata.gz: cdb14e7861d1ec96bdad5e42e10a82bfcce9d391d93b68a1ce2dd0ae383d6d73f812eb04d03ff5bead18142da69f04a94d5289cc95b030e957911ee0b9fd6e8c
7
- data.tar.gz: c012c32a27a2cedac7c5b65a8f6b46184459a30e58bb6fca18ede68b8ef5272bb4dbb2e54761b3eba7a84146a40d8892c25a906ac419b7e4a34291138d57b683
6
+ metadata.gz: 9f155105ddf411a65361ef32c0fc847b87fc35c65c58db205977254326b9e1f0cb9cd8c586d8d2c788be96342d2df2119ea48655f18d5f2a185f6fe1c6e20262
7
+ data.tar.gz: 24b9f9f107cd391e1c071bf98742e12dd5b56f80d04fcecd80aa4b1a160f9ebd392342fefcf22bedf00259bff24b8a7c0aa1bb50a82764ff5abbd8849711f2c9
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.59.0 (2023-02-15)
5
+ ------------------
6
+
7
+ * Feature - Documentation update for EFS to support IAM best practices.
8
+
4
9
  1.58.0 (2023-01-18)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.58.0
1
+ 1.59.0
@@ -1067,9 +1067,9 @@ module Aws::EFS
1067
1067
  # Purpose performance mode is used. The performance mode cannot be
1068
1068
  # changed.
1069
1069
  #
1070
- # * **Throughput mode** - The destination file system uses the Bursting
1071
- # Throughput mode by default. After the file system is created, you
1072
- # can modify the throughput mode.
1070
+ # * **Throughput mode** - The destination file system's throughput mode
1071
+ # matches that of the source file system. After the file system is
1072
+ # created, you can modify the throughput mode.
1073
1073
  #
1074
1074
  # The following properties are turned off by default:
1075
1075
  #
@@ -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.58.0'
2706
+ context[:gem_version] = '1.59.0'
2707
2707
  Seahorse::Client::Request.new(handlers, context)
2708
2708
  end
2709
2709
 
@@ -50,9 +50,6 @@ module Aws::EFS
50
50
 
51
51
  def initialize(options = {})
52
52
  self[:region] = options[:region]
53
- if self[:region].nil?
54
- raise ArgumentError, "Missing required EndpointParameter: :region"
55
- end
56
53
  self[:use_dual_stack] = options[:use_dual_stack]
57
54
  self[:use_dual_stack] = false if self[:use_dual_stack].nil?
58
55
  if self[:use_dual_stack].nil?
@@ -14,36 +14,39 @@ module Aws::EFS
14
14
  use_dual_stack = parameters.use_dual_stack
15
15
  use_fips = parameters.use_fips
16
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
17
+ if Aws::Endpoints::Matchers.set?(endpoint)
33
18
  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"
19
+ raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
38
20
  end
39
21
  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: {})
22
+ raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
23
+ end
24
+ return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
25
+ end
26
+ if Aws::Endpoints::Matchers.set?(region)
27
+ if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
28
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
29
+ 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"))
30
+ return Aws::Endpoints::Endpoint.new(url: "https://elasticfilesystem-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
31
+ end
32
+ raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
33
+ end
34
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
35
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
36
+ return Aws::Endpoints::Endpoint.new(url: "https://elasticfilesystem-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
37
+ end
38
+ raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
39
+ end
40
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
41
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
42
+ return Aws::Endpoints::Endpoint.new(url: "https://elasticfilesystem.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
43
+ end
44
+ raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
42
45
  end
43
- raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
46
+ return Aws::Endpoints::Endpoint.new(url: "https://elasticfilesystem.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
44
47
  end
45
- return Aws::Endpoints::Endpoint.new(url: "https://elasticfilesystem.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
46
48
  end
49
+ raise ArgumentError, "Invalid Configuration: Missing Region"
47
50
  raise ArgumentError, 'No endpoint could be resolved'
48
51
 
49
52
  end
@@ -83,7 +83,7 @@ module Aws::EFS
83
83
  # @return [Types::RootDirectory]
84
84
  #
85
85
  # @!attribute [rw] owner_id
86
- # Identified the Amazon Web Services account that owns the access
86
+ # Identifies the Amazon Web Services account that owns the access
87
87
  # point resource.
88
88
  # @return [String]
89
89
  #
@@ -1215,9 +1215,7 @@ module Aws::EFS
1215
1215
  # A description of the file system.
1216
1216
  #
1217
1217
  # @!attribute [rw] owner_id
1218
- # The Amazon Web Services account that created the file system. If the
1219
- # file system was created by an IAM user, the parent account to which
1220
- # the user belongs is the owner.
1218
+ # The Amazon Web Services account that created the file system.
1221
1219
  # @return [String]
1222
1220
  #
1223
1221
  # @!attribute [rw] creation_token
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.58.0'
55
+ GEM_VERSION = '1.59.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.58.0
4
+ version: 1.59.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: 2023-01-18 00:00:00.000000000 Z
11
+ date: 2023-02-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core