aws-sdk-outposts 1.40.0 → 1.41.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: f0c1effd47953d9fdb7b1492e21bffe00e9c78856b546afa7acda1644c21509d
4
- data.tar.gz: a2439e0e3c778946819a83af97cec0214414f3f49e00fd23d48cbdb34fb84d94
3
+ metadata.gz: 1339e17908c799a9d772629b292d0ee496d0735df4360408e88e6efc878d9d6d
4
+ data.tar.gz: 542370461005ccc5492cbc3ff876601f34110117a5e3f05bfbb43a84f7f0111b
5
5
  SHA512:
6
- metadata.gz: e4fd7947a5b52a7d81ed6a4ec4c4604ee3c47540a4ad69b3147fd545be01d6e9ec5927b6f6accc7b95c9d4f913e4611079924fa05376facbe65c17f125a32c4d
7
- data.tar.gz: 9105b83156fc1c09ed79f035a858b3724dafd068bd1fbabbff0b0097058e168a84074d383c6d5019e6025d9a47bb3bc6aa7381e0296e1dd21b4f5dd3c6166b07
6
+ metadata.gz: 299c45f52658e65b4ea5848a631a3ee73faccc28a40e188bf6f72ec7e54d84ca55bb0d448f18fcdebd346021736ab16df8a21057bf54cad579565e3593d74d9f
7
+ data.tar.gz: c08bdc29b2ba238429b2d1da4e04d9b45d88dc217f80280d3b9f55ef920da22abd16725e3aedb00f6886117dd3b28a998fdec52d742697b6242afdaf45b055c4
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.41.0 (2023-01-31)
5
+ ------------------
6
+
7
+ * Feature - Enabled FIPS endpoints for GovCloud (US) regions in SDK.
8
+
4
9
  1.40.0 (2023-01-27)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.40.0
1
+ 1.41.0
@@ -1805,7 +1805,7 @@ module Aws::Outposts
1805
1805
  params: params,
1806
1806
  config: config)
1807
1807
  context[:gem_name] = 'aws-sdk-outposts'
1808
- context[:gem_version] = '1.40.0'
1808
+ context[:gem_version] = '1.41.0'
1809
1809
  Seahorse::Client::Request.new(handlers, context)
1810
1810
  end
1811
1811
 
@@ -32,6 +32,9 @@ module Aws::Outposts
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://outposts.#{region}.amazonaws.com", headers: {}, properties: {})
37
+ end
35
38
  return Aws::Endpoints::Endpoint.new(url: "https://outposts-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::Outposts
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://outposts.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://outposts.us-gov-west-1.amazonaws.com", headers: {}, properties: {})
53
+ end
45
54
  return Aws::Endpoints::Endpoint.new(url: "https://outposts.#{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-outposts/customizations'
52
52
  # @!group service
53
53
  module Aws::Outposts
54
54
 
55
- GEM_VERSION = '1.40.0'
55
+ GEM_VERSION = '1.41.0'
56
56
 
57
57
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-outposts
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.40.0
4
+ version: 1.41.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-27 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