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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fd1f3f9521514014252024f70752ecce355e1686eca51cda613f284972bde774
4
- data.tar.gz: f24fc573a9bebd1fc74e7e2b5051881b45eb73498c491b2578d5ceb54e596050
3
+ metadata.gz: abe0c468892042476d2cdee88785a50a12a06a02cd3f93472f26439b27243d16
4
+ data.tar.gz: 6342ed54839222cd90b03b0798628fdb263f289c7d3462fbe0a7295377c6176d
5
5
  SHA512:
6
- metadata.gz: b0a478d564a9b591d4325b31f0b59d0f3d9af88108fbfdbb2279cb2384a7094b8f344c7bbd41bcd8c0a4b8120b1d23781085780862209e34586d461caefa2e68
7
- data.tar.gz: 449c68e1a77c18650d7a580cfa437091d9f87701fd04853e3a07b024807c79dae5ead30068f6ee5398f182ae956a5fa16d43a9b0c6a74076e89b6b4114422962
6
+ metadata.gz: c4e81132e65c4c84d767db764ebc6a2912b8ffdf04cecdfcbc59cbd716aadfc0c57fc2b0475994957356178dafe008f9d27c96521287a8a051beca87cfb89d08
7
+ data.tar.gz: 452df1bec0c71581cb045905758446805e862d373d53214b85938bdb7972cb9a0edb74df9715f8eb6bff807b57b493b0143848bfa38a124313d7be5a28cc429d
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.34.0 (2023-01-31)
5
+ ------------------
6
+
7
+ * Feature - Enabled FIPS endpoints for GovCloud (US) regions in SDK.
8
+
4
9
  1.33.0 (2023-01-18)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.33.0
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.33.0'
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) && (url = Aws::Endpoints::Matchers.parse_url(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'
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-accessanalyzer/customizations'
52
52
  # @!group service
53
53
  module Aws::AccessAnalyzer
54
54
 
55
- GEM_VERSION = '1.33.0'
55
+ GEM_VERSION = '1.34.0'
56
56
 
57
57
  end
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.33.0
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-18 00:00:00.000000000 Z
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