aws-sdk-accessanalyzer 1.33.0 → 1.34.0
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 +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-accessanalyzer/client.rb +1 -1
- data/lib/aws-sdk-accessanalyzer/endpoint_provider.rb +10 -1
- data/lib/aws-sdk-accessanalyzer.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: abe0c468892042476d2cdee88785a50a12a06a02cd3f93472f26439b27243d16
|
|
4
|
+
data.tar.gz: 6342ed54839222cd90b03b0798628fdb263f289c7d3462fbe0a7295377c6176d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c4e81132e65c4c84d767db764ebc6a2912b8ffdf04cecdfcbc59cbd716aadfc0c57fc2b0475994957356178dafe008f9d27c96521287a8a051beca87cfb89d08
|
|
7
|
+
data.tar.gz: 452df1bec0c71581cb045905758446805e862d373d53214b85938bdb7972cb9a0edb74df9715f8eb6bff807b57b493b0143848bfa38a124313d7be5a28cc429d
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.34.0
|
|
@@ -1902,7 +1902,7 @@ module Aws::AccessAnalyzer
|
|
|
1902
1902
|
params: params,
|
|
1903
1903
|
config: config)
|
|
1904
1904
|
context[:gem_name] = 'aws-sdk-accessanalyzer'
|
|
1905
|
-
context[:gem_version] = '1.
|
|
1905
|
+
context[:gem_version] = '1.34.0'
|
|
1906
1906
|
Seahorse::Client::Request.new(handlers, context)
|
|
1907
1907
|
end
|
|
1908
1908
|
|
|
@@ -15,7 +15,7 @@ module Aws::AccessAnalyzer
|
|
|
15
15
|
use_fips = parameters.use_fips
|
|
16
16
|
endpoint = parameters.endpoint
|
|
17
17
|
if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
|
|
18
|
-
if Aws::Endpoints::Matchers.set?(endpoint)
|
|
18
|
+
if Aws::Endpoints::Matchers.set?(endpoint)
|
|
19
19
|
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
|
20
20
|
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
|
21
21
|
end
|
|
@@ -32,6 +32,9 @@ module Aws::AccessAnalyzer
|
|
|
32
32
|
end
|
|
33
33
|
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
|
34
34
|
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
|
|
35
|
+
if Aws::Endpoints::Matchers.string_equals?("aws-us-gov", Aws::Endpoints::Matchers.attr(partition_result, "name"))
|
|
36
|
+
return Aws::Endpoints::Endpoint.new(url: "https://access-analyzer.#{region}.amazonaws.com", headers: {}, properties: {})
|
|
37
|
+
end
|
|
35
38
|
return Aws::Endpoints::Endpoint.new(url: "https://access-analyzer-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
|
36
39
|
end
|
|
37
40
|
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
|
@@ -42,6 +45,12 @@ module Aws::AccessAnalyzer
|
|
|
42
45
|
end
|
|
43
46
|
raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
|
|
44
47
|
end
|
|
48
|
+
if Aws::Endpoints::Matchers.string_equals?(region, "us-gov-east-1")
|
|
49
|
+
return Aws::Endpoints::Endpoint.new(url: "https://access-analyzer.us-gov-east-1.amazonaws.com", headers: {}, properties: {})
|
|
50
|
+
end
|
|
51
|
+
if Aws::Endpoints::Matchers.string_equals?(region, "us-gov-west-1")
|
|
52
|
+
return Aws::Endpoints::Endpoint.new(url: "https://access-analyzer.us-gov-west-1.amazonaws.com", headers: {}, properties: {})
|
|
53
|
+
end
|
|
45
54
|
return Aws::Endpoints::Endpoint.new(url: "https://access-analyzer.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
|
46
55
|
end
|
|
47
56
|
raise ArgumentError, 'No endpoint could be resolved'
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: aws-sdk-accessanalyzer
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.34.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-
|
|
11
|
+
date: 2023-01-31 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: aws-sdk-core
|