aws-sdk-dsql 1.2.0 → 1.3.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: 5d946425bf366571d9250f16b784e00e3a2f4a72c2df7f74595d10bef5a339c0
4
- data.tar.gz: 9aff7e23a8c8e4579d9ba775e1da8d5c0690845ef23948a61294332fbf561883
3
+ metadata.gz: 39241b71512226f795c5826d8a91bd4bfa63aad961f72bfce0f4f70fea2cdecf
4
+ data.tar.gz: '0803d12e53fc1a6164b3fc07980583580b8bbb08f69d6375a02302ba751773a5'
5
5
  SHA512:
6
- metadata.gz: 92f051dfba4dcb32b93a9cffd206e327a0a84b2d04ade48c60cc5d118e098a00072d34b5cceebda2bc95fb5014d0d99d192c29e31540473c5963875fedee07a4
7
- data.tar.gz: ec14db9abf915d08ce3a05dd084b7b74b89a69e26ab214256c2f60dbd716553708edee0170895fa2ec59aa096e8a4f958fd9496ffaf2c00ed2ec3d1c51d937fa
6
+ metadata.gz: e537435b122f12f0ff45474748c76ed1e38821c9a7c4f689c8fc9924b1bb1e3f1f9bd1746ba61940872afc95b7c83c609efa3205bea3cf6e382f989429e9c380
7
+ data.tar.gz: ec79a60bd1b87558d0338dcb79ea746bf158cd1b049a5be86de7191d00efdb93d61846891c10631adb93c83dff0b48d21b95aee85396493b107ea3d3f2bb789c
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.3.0 (2025-02-06)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
4
9
  1.2.0 (2025-01-15)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.2.0
1
+ 1.3.0
@@ -1026,7 +1026,7 @@ module Aws::DSQL
1026
1026
  tracer: tracer
1027
1027
  )
1028
1028
  context[:gem_name] = 'aws-sdk-dsql'
1029
- context[:gem_version] = '1.2.0'
1029
+ context[:gem_version] = '1.3.0'
1030
1030
  Seahorse::Client::Request.new(handlers, context)
1031
1031
  end
1032
1032
 
@@ -10,21 +10,18 @@
10
10
  module Aws::DSQL
11
11
  class EndpointProvider
12
12
  def resolve_endpoint(parameters)
13
- use_fips = parameters.use_fips
14
- endpoint = parameters.endpoint
15
- region = parameters.region
16
- if Aws::Endpoints::Matchers.set?(endpoint)
17
- if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
13
+ if Aws::Endpoints::Matchers.set?(parameters.endpoint)
14
+ if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true)
18
15
  raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
19
16
  end
20
- return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
17
+ return Aws::Endpoints::Endpoint.new(url: parameters.endpoint, headers: {}, properties: {})
21
18
  end
22
- if Aws::Endpoints::Matchers.set?(region)
23
- if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
24
- if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
25
- return Aws::Endpoints::Endpoint.new(url: "https://dsql-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
19
+ if Aws::Endpoints::Matchers.set?(parameters.region)
20
+ if (partition_result = Aws::Endpoints::Matchers.aws_partition(parameters.region))
21
+ if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true)
22
+ return Aws::Endpoints::Endpoint.new(url: "https://dsql-fips.#{parameters.region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
26
23
  end
27
- return Aws::Endpoints::Endpoint.new(url: "https://dsql.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
24
+ return Aws::Endpoints::Endpoint.new(url: "https://dsql.#{parameters.region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
28
25
  end
29
26
  end
30
27
  raise ArgumentError, "Invalid Configuration: Missing Region"
data/lib/aws-sdk-dsql.rb CHANGED
@@ -55,7 +55,7 @@ module Aws::DSQL
55
55
  autoload :EndpointProvider, 'aws-sdk-dsql/endpoint_provider'
56
56
  autoload :Endpoints, 'aws-sdk-dsql/endpoints'
57
57
 
58
- GEM_VERSION = '1.2.0'
58
+ GEM_VERSION = '1.3.0'
59
59
 
60
60
  end
61
61
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-dsql
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.3.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: 2025-01-15 00:00:00.000000000 Z
11
+ date: 2025-02-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core