aws-sdk-dlm 1.54.0 → 1.55.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 31a670d1c8243a2b55d2d26c861aca7dc45385b2d479578851f2d47bf8e181ec
4
- data.tar.gz: 2670c113af07642f0ec8e67feaa24af89256a60bc1ec6437304ac1428fea0abb
3
+ metadata.gz: 2630b82c7a420b63be597ca85a4dab2c5a47721cb86f8fd20b371f0d53111dde
4
+ data.tar.gz: 3a122947c26b219bce164357516936799e31c783a299fd7c1eba2008cb4676f6
5
5
  SHA512:
6
- metadata.gz: cb771afa381969659b903da8295b4a93f2be6aeaf304f4fb231ca8ea44376d6be2405c3e550d8c71b1093a962b6e1d8e3d716fe88432bdb4d136b9f305889fa5
7
- data.tar.gz: 6c1ae6ddba6c976ae490ffac656a9f4cd4d691e4b017dcfc08a0ced71c08466235fc7c743ce21b80128f90a6005d28ecb37651cba5aac90dc5d786dfed6ce5a5
6
+ metadata.gz: 6013c610f1c612d3b9a051abf7003ee1c617cd5c397b5a9d4eba8b65f85928e2c36f5c37106aa81ec7596ada6b7726540fcd30a0000babf324ebb1a92504ebb3
7
+ data.tar.gz: 305676e9e3908cde7193c6c88298ad7606792456690251f5093c3b56576e1b6a5076fa117484f57f2a5b4b512caaec04a8848dddf4e6189e325589f6dd04a840
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.55.0 (2023-01-30)
5
+ ------------------
6
+
7
+ * Feature - Enabled FIPS endpoints for GovCloud (US) regions in SDK.
8
+
4
9
  1.54.0 (2023-01-18)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.54.0
1
+ 1.55.0
@@ -997,7 +997,7 @@ module Aws::DLM
997
997
  params: params,
998
998
  config: config)
999
999
  context[:gem_name] = 'aws-sdk-dlm'
1000
- context[:gem_version] = '1.54.0'
1000
+ context[:gem_version] = '1.55.0'
1001
1001
  Seahorse::Client::Request.new(handlers, context)
1002
1002
  end
1003
1003
 
@@ -50,6 +50,9 @@ module Aws::DLM
50
50
 
51
51
  def initialize(options = {})
52
52
  self[:region] = options[:region]
53
+ if self[:region].nil?
54
+ raise ArgumentError, "Missing required EndpointParameter: :region"
55
+ end
53
56
  self[:use_dual_stack] = options[:use_dual_stack]
54
57
  self[:use_dual_stack] = false if self[:use_dual_stack].nil?
55
58
  if self[:use_dual_stack].nil?
@@ -15,7 +15,7 @@ module Aws::DLM
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::DLM
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://dlm.#{region}.amazonaws.com", headers: {}, properties: {})
37
+ end
35
38
  return Aws::Endpoints::Endpoint.new(url: "https://dlm-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
36
39
  end
37
40
  raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
data/lib/aws-sdk-dlm.rb CHANGED
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-dlm/customizations'
52
52
  # @!group service
53
53
  module Aws::DLM
54
54
 
55
- GEM_VERSION = '1.54.0'
55
+ GEM_VERSION = '1.55.0'
56
56
 
57
57
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-dlm
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.54.0
4
+ version: 1.55.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-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core