aws-sdk-taxsettings 1.16.0 → 1.17.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: b544e80f70fa8f23bb47ffea894c906e758b8ebea5f1547014aa4322b0a057f3
4
- data.tar.gz: de1425e787bd0b96bbf05420fd8236c78f4a61e92cd1e72c74104052ae807f93
3
+ metadata.gz: a8c03f140bcc707dbebe6457a5180d67351960a80f65ebacb2d1c3ba6607e17a
4
+ data.tar.gz: 4aa71f02d18ff01ca5fd42ae938361631cc33aa63ea6fa38aeee9a6a1304283e
5
5
  SHA512:
6
- metadata.gz: b166cffc89dc246e853767de581fccc49113204b9eb955434eb0b4981103efd617d5ba1b4622f694f7672ac7d8e3891a35bdb00882c5bfb92c664078bc2bf1f3
7
- data.tar.gz: 6e776c93c1d6edeb4cc3c8b44eab1ba353c45df92e725e1427f63729df7f7da301f84851ed11141ced8be8c17575f3b636fe60834bb7c945479a5144801a596a
6
+ metadata.gz: 3ae5987371a8aed1ae38c81d847e819a12a0a20f49bb501d15a536008c25f77e96b06cc3ba10589ab4861c4622402e82aa83c49683d2b6c7a959206d9767c37e
7
+ data.tar.gz: 52b6ce008f07965a5eda4cd9edbe380fbaef93eb0439d9ebbb8d4ecaae7dc8c2a2435181549f3b7693883cf5a235896dd66453d93ce61355e58efc09023e5593
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.17.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.16.0 (2025-01-15)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.16.0
1
+ 1.17.0
@@ -1667,7 +1667,7 @@ module Aws::TaxSettings
1667
1667
  tracer: tracer
1668
1668
  )
1669
1669
  context[:gem_name] = 'aws-sdk-taxsettings'
1670
- context[:gem_version] = '1.16.0'
1670
+ context[:gem_version] = '1.17.0'
1671
1671
  Seahorse::Client::Request.new(handlers, context)
1672
1672
  end
1673
1673
 
@@ -10,34 +10,30 @@
10
10
  module Aws::TaxSettings
11
11
  class EndpointProvider
12
12
  def resolve_endpoint(parameters)
13
- use_dual_stack = parameters.use_dual_stack
14
- use_fips = parameters.use_fips
15
- endpoint = parameters.endpoint
16
- region = parameters.region
17
- if Aws::Endpoints::Matchers.set?(endpoint)
18
- 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)
19
15
  raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
20
16
  end
21
- if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
17
+ if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
22
18
  raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
23
19
  end
24
- return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
20
+ return Aws::Endpoints::Endpoint.new(url: parameters.endpoint, headers: {}, properties: {})
25
21
  end
26
- if Aws::Endpoints::Matchers.set?(region)
27
- if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
28
- if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
22
+ if Aws::Endpoints::Matchers.set?(parameters.region)
23
+ if (partition_result = Aws::Endpoints::Matchers.aws_partition(parameters.region))
24
+ if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
29
25
  if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
30
26
  return Aws::Endpoints::Endpoint.new(url: "https://tax-fips.#{partition_result['implicitGlobalRegion']}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingRegion"=>"#{partition_result['implicitGlobalRegion']}"}]})
31
27
  end
32
28
  raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
33
29
  end
34
- if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, false)
30
+ if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, false)
35
31
  if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"), true)
36
32
  return Aws::Endpoints::Endpoint.new(url: "https://tax-fips.#{partition_result['implicitGlobalRegion']}.#{partition_result['dnsSuffix']}", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingRegion"=>"#{partition_result['implicitGlobalRegion']}"}]})
37
33
  end
38
34
  raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
39
35
  end
40
- if Aws::Endpoints::Matchers.boolean_equals?(use_fips, false) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
36
+ if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, false) && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
41
37
  if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
42
38
  return Aws::Endpoints::Endpoint.new(url: "https://tax.#{partition_result['implicitGlobalRegion']}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingRegion"=>"#{partition_result['implicitGlobalRegion']}"}]})
43
39
  end
@@ -54,7 +54,7 @@ module Aws::TaxSettings
54
54
  autoload :EndpointProvider, 'aws-sdk-taxsettings/endpoint_provider'
55
55
  autoload :Endpoints, 'aws-sdk-taxsettings/endpoints'
56
56
 
57
- GEM_VERSION = '1.16.0'
57
+ GEM_VERSION = '1.17.0'
58
58
 
59
59
  end
60
60
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-taxsettings
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.16.0
4
+ version: 1.17.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