aws-sdk-account 1.13.0 → 1.15.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-account/client.rb +1 -1
- data/lib/aws-sdk-account/endpoint_provider.rb +2 -44
- data/lib/aws-sdk-account.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a81eef9ddfd32fb5a111b27660b1578d08f6df14ddb2bd028fb3b9388625b28a
|
4
|
+
data.tar.gz: ac59f5a4c30e75756be55179489afaef9acc63a782f6df1a2e3dc30893610f09
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1e134683dc9acf9238be8a6040d6801453d2eb39c1b84558792e4ee159b526cbe2ec37fa0b53020eb6863f98a4d541a797f81972465730db5a3e1630b73309a5
|
7
|
+
data.tar.gz: 2e4fbef568d37569abfd924266ced3740674fd73d98567509d60a61ef4c4d0c22d1361184194a6e33d2584abf2198c9cd2ec9d1049e49dae514834421932e6c7
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.15.0 (2023-06-28)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.14.0 (2023-06-16)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Improve pagination support for ListRegions
|
13
|
+
|
4
14
|
1.13.0 (2023-06-15)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.15.0
|
@@ -1062,7 +1062,7 @@ module Aws::Account
|
|
1062
1062
|
params: params,
|
1063
1063
|
config: config)
|
1064
1064
|
context[:gem_name] = 'aws-sdk-account'
|
1065
|
-
context[:gem_version] = '1.
|
1065
|
+
context[:gem_version] = '1.15.0'
|
1066
1066
|
Seahorse::Client::Request.new(handlers, context)
|
1067
1067
|
end
|
1068
1068
|
|
@@ -25,46 +25,10 @@ module Aws::Account
|
|
25
25
|
end
|
26
26
|
if Aws::Endpoints::Matchers.set?(region)
|
27
27
|
if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
|
28
|
-
if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws")
|
29
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
30
|
-
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"))
|
31
|
-
return Aws::Endpoints::Endpoint.new(url: "https://account-fips.#{region}.api.aws", headers: {}, properties: {})
|
32
|
-
end
|
33
|
-
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
34
|
-
end
|
35
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
36
|
-
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
|
37
|
-
return Aws::Endpoints::Endpoint.new(url: "https://account-fips.#{region}.amazonaws.com", headers: {}, properties: {})
|
38
|
-
end
|
39
|
-
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
40
|
-
end
|
41
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
42
|
-
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
43
|
-
return Aws::Endpoints::Endpoint.new(url: "https://account.#{region}.api.aws", headers: {}, properties: {})
|
44
|
-
end
|
45
|
-
raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
|
46
|
-
end
|
28
|
+
if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws") && Aws::Endpoints::Matchers.boolean_equals?(use_fips, false) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, false)
|
47
29
|
return Aws::Endpoints::Endpoint.new(url: "https://account.us-east-1.amazonaws.com", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"account", "signingRegion"=>"us-east-1"}]})
|
48
30
|
end
|
49
|
-
if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws-cn")
|
50
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
51
|
-
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"))
|
52
|
-
return Aws::Endpoints::Endpoint.new(url: "https://account-fips.#{region}.api.amazonwebservices.com.cn", headers: {}, properties: {})
|
53
|
-
end
|
54
|
-
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
55
|
-
end
|
56
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
57
|
-
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
|
58
|
-
return Aws::Endpoints::Endpoint.new(url: "https://account-fips.#{region}.amazonaws.com.cn", headers: {}, properties: {})
|
59
|
-
end
|
60
|
-
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
61
|
-
end
|
62
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
63
|
-
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
64
|
-
return Aws::Endpoints::Endpoint.new(url: "https://account.#{region}.api.amazonwebservices.com.cn", headers: {}, properties: {})
|
65
|
-
end
|
66
|
-
raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
|
67
|
-
end
|
31
|
+
if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws-cn") && Aws::Endpoints::Matchers.boolean_equals?(use_fips, false) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, false)
|
68
32
|
return Aws::Endpoints::Endpoint.new(url: "https://account.cn-northwest-1.amazonaws.com.cn", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"account", "signingRegion"=>"cn-northwest-1"}]})
|
69
33
|
end
|
70
34
|
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
@@ -85,12 +49,6 @@ module Aws::Account
|
|
85
49
|
end
|
86
50
|
raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
|
87
51
|
end
|
88
|
-
if Aws::Endpoints::Matchers.string_equals?(region, "aws-global")
|
89
|
-
return Aws::Endpoints::Endpoint.new(url: "https://account.us-east-1.amazonaws.com", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"account", "signingRegion"=>"us-east-1"}]})
|
90
|
-
end
|
91
|
-
if Aws::Endpoints::Matchers.string_equals?(region, "aws-cn-global")
|
92
|
-
return Aws::Endpoints::Endpoint.new(url: "https://account.cn-northwest-1.amazonaws.com.cn", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"account", "signingRegion"=>"cn-northwest-1"}]})
|
93
|
-
end
|
94
52
|
return Aws::Endpoints::Endpoint.new(url: "https://account.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
95
53
|
end
|
96
54
|
end
|
data/lib/aws-sdk-account.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-account
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.15.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-06-
|
11
|
+
date: 2023-06-28 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.176.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.176.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|