aws-sdk-accessanalyzer 1.33.0 → 1.35.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-accessanalyzer/client.rb +6 -1
- data/lib/aws-sdk-accessanalyzer/endpoint_provider.rb +10 -1
- data/lib/aws-sdk-accessanalyzer.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: 261eb169a5ee7f3fecaf10ae7eaaba6e6cbc4649e2c0d39b9172df788f401bc9
|
|
4
|
+
data.tar.gz: d906101a984aca648c3cdad7f49667b28bcd2f4eb793b15c8036de50fcd0025d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 358ee2d9a18d34e80d0b05a242a2de3d203ee94711ef72dffde8cbd5351c12d25f33a81ba118988f2de8c4e5b03ffdd0797710cc188affcb269a16bd7400e8da
|
|
7
|
+
data.tar.gz: c571ee9f326ee67e1daf675e43e4af03755233464a98d4ccb4cb6d5df15fd8e53165d8e52bfa149489b2aaa165154f8f56d115b741e574a71c324b54aa69ebf0
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.35.0 (2023-05-31)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
|
8
|
+
|
|
9
|
+
1.34.0 (2023-01-31)
|
|
10
|
+
------------------
|
|
11
|
+
|
|
12
|
+
* Feature - Enabled FIPS endpoints for GovCloud (US) regions in SDK.
|
|
13
|
+
|
|
4
14
|
1.33.0 (2023-01-18)
|
|
5
15
|
------------------
|
|
6
16
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.35.0
|
|
@@ -275,6 +275,11 @@ module Aws::AccessAnalyzer
|
|
|
275
275
|
# in the future.
|
|
276
276
|
#
|
|
277
277
|
#
|
|
278
|
+
# @option options [String] :sdk_ua_app_id
|
|
279
|
+
# A unique and opaque application ID that is appended to the
|
|
280
|
+
# User-Agent header as app/<sdk_ua_app_id>. It should have a
|
|
281
|
+
# maximum length of 50.
|
|
282
|
+
#
|
|
278
283
|
# @option options [String] :secret_access_key
|
|
279
284
|
#
|
|
280
285
|
# @option options [String] :session_token
|
|
@@ -1902,7 +1907,7 @@ module Aws::AccessAnalyzer
|
|
|
1902
1907
|
params: params,
|
|
1903
1908
|
config: config)
|
|
1904
1909
|
context[:gem_name] = 'aws-sdk-accessanalyzer'
|
|
1905
|
-
context[:gem_version] = '1.
|
|
1910
|
+
context[:gem_version] = '1.35.0'
|
|
1906
1911
|
Seahorse::Client::Request.new(handlers, context)
|
|
1907
1912
|
end
|
|
1908
1913
|
|
|
@@ -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.35.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-05-31 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.174.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.174.0
|
|
33
33
|
- !ruby/object:Gem::Dependency
|
|
34
34
|
name: aws-sigv4
|
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|