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 +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-efs/client.rb +4 -4
- data/lib/aws-sdk-efs/endpoint_parameters.rb +0 -3
- data/lib/aws-sdk-efs/endpoint_provider.rb +27 -24
- data/lib/aws-sdk-efs/types.rb +2 -4
- data/lib/aws-sdk-efs.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8926852c5a3af2dde684c984d1405bc01d726136840aa2da0df5d6f5571bcdfb
|
4
|
+
data.tar.gz: 441d65ec3a05f0422b9a20875f066e36d99769338c5bcaf743f203b189e5d2da
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9f155105ddf411a65361ef32c0fc847b87fc35c65c58db205977254326b9e1f0cb9cd8c586d8d2c788be96342d2df2119ea48655f18d5f2a185f6fe1c6e20262
|
7
|
+
data.tar.gz: 24b9f9f107cd391e1c071bf98742e12dd5b56f80d04fcecd80aa4b1a160f9ebd392342fefcf22bedf00259bff24b8a7c0aa1bb50a82764ff5abbd8849711f2c9
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.59.0
|
data/lib/aws-sdk-efs/client.rb
CHANGED
@@ -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
|
1071
|
-
#
|
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.
|
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
|
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
|
-
|
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
|
-
|
41
|
-
|
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
|
-
|
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
|
data/lib/aws-sdk-efs/types.rb
CHANGED
@@ -83,7 +83,7 @@ module Aws::EFS
|
|
83
83
|
# @return [Types::RootDirectory]
|
84
84
|
#
|
85
85
|
# @!attribute [rw] owner_id
|
86
|
-
#
|
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.
|
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
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.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-
|
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
|