aws-sdk-bcmpricingcalculator 1.4.0 → 1.5.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: a849eb3b2fa6c915f425f2a3fc4eef5e7d12c7e8c0ea3aba4c569efa13ea40c1
4
- data.tar.gz: 60b05c56a29e47562585fa7e1f7e08d14f2ea9c4b7ac37c3160cf8755f92d227
3
+ metadata.gz: c8bb36c916befe4e5272e2b8833966608d0b08f9cfd9624cfaa1f075c489a728
4
+ data.tar.gz: 628e9e6ae0d695ea1a12a02ef3bb93d3b20458f15006a2b9b2de6576adbd8704
5
5
  SHA512:
6
- metadata.gz: a63e8b326c7ac7828a6acb80b314585e493c19ab4d51bf4570a6b52090d3eb09decc1c7e29d13dfb90ca3666c7e6c9b7c4a5d98c362dd0e5d6d8a08939fc6b53
7
- data.tar.gz: a355ad3d0dc46f2b28f14ddf5143ae585b9f00147be8eed6de32df91ab7dc8dc13fbb04a3984c348d0c738df9aa28243305ce1be71a0ec6a65c46be0dfea91be
6
+ metadata.gz: 7c5fa5354255bb4406344563d921639e2528931209a53b92dad09ee841d67a42e96e3ae3d12263b4b27bf68eb26adcd2b1cedb1491cab66d0f4f468904b255af
7
+ data.tar.gz: 9aaa2f983fbf3ef057c4c7df681c59a7919f596b8ea746a61eb964f61ba0178a6554a61041febcb89137e32f141068ccba2e81ce74209fdac89b09cba7bcc95b
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.5.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.4.0 (2025-01-29)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.4.0
1
+ 1.5.0
@@ -2716,7 +2716,7 @@ module Aws::BCMPricingCalculator
2716
2716
  tracer: tracer
2717
2717
  )
2718
2718
  context[:gem_name] = 'aws-sdk-bcmpricingcalculator'
2719
- context[:gem_version] = '1.4.0'
2719
+ context[:gem_version] = '1.5.0'
2720
2720
  Seahorse::Client::Request.new(handlers, context)
2721
2721
  end
2722
2722
 
@@ -10,18 +10,15 @@
10
10
  module Aws::BCMPricingCalculator
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)
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)
25
22
  return Aws::Endpoints::Endpoint.new(url: "https://bcm-pricing-calculator-fips.#{partition_result['implicitGlobalRegion']}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingRegion"=>"#{partition_result['implicitGlobalRegion']}"}]})
26
23
  end
27
24
  return Aws::Endpoints::Endpoint.new(url: "https://bcm-pricing-calculator.#{partition_result['implicitGlobalRegion']}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingRegion"=>"#{partition_result['implicitGlobalRegion']}"}]})
@@ -55,7 +55,7 @@ module Aws::BCMPricingCalculator
55
55
  autoload :EndpointProvider, 'aws-sdk-bcmpricingcalculator/endpoint_provider'
56
56
  autoload :Endpoints, 'aws-sdk-bcmpricingcalculator/endpoints'
57
57
 
58
- GEM_VERSION = '1.4.0'
58
+ GEM_VERSION = '1.5.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-bcmpricingcalculator
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.0
4
+ version: 1.5.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-29 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