aws-sdk-billing 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: cb023b906b4c6a04cf7c2847d10aa88ab45da72adde293e745a11641e583d1f5
4
- data.tar.gz: 275f217de44156cf895dfd59d97590ff38bc38b7c6823703919cbdfd459f63ab
3
+ metadata.gz: 294ac2c6c4345306f23157c87f6613db51b06e51fa297edcbfd6fcf28a901f54
4
+ data.tar.gz: e2f24efd4b35cf285e37a21f1a668d93cbe0c405b8d7be5643e965227b5095d2
5
5
  SHA512:
6
- metadata.gz: b662c8d88811c8cb5d3da213e76a8a7007dc28ba0694a7e89533046e1fb807ac6f23b705e4040882c19332b1a9a9b36f00559e0b2aa81799f1fb2c8fd2b8795e
7
- data.tar.gz: '08a8184f899633f00ed06578dd652a2b4b53657fa6a4232f8b41200d7b1e4aa292645cf86491fffaab4dd69ce5bb1bd9e2f9c8671c3cc10e249ac2bc74d338f4'
6
+ metadata.gz: f56af072ee3f71e266daf3693db84e872154197e0f18ef3ded1821c681ee5920b270f34005890e737cf171d81bb6e013c84f14f4aadfb4e788fdacf2f48ee553
7
+ data.tar.gz: 4cf6249fdcd234a5869766e1594b80d1a53b8accc1ad3365406c3b5485de8936aa9b43f26c968fdb374dad2b4f1e43e61c6befb935401ca6490bcd02d5684ccb
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
@@ -1128,7 +1128,7 @@ module Aws::Billing
1128
1128
  tracer: tracer
1129
1129
  )
1130
1130
  context[:gem_name] = 'aws-sdk-billing'
1131
- context[:gem_version] = '1.2.0'
1131
+ context[:gem_version] = '1.3.0'
1132
1132
  Seahorse::Client::Request.new(handlers, context)
1133
1133
  end
1134
1134
 
@@ -10,18 +10,15 @@
10
10
  module Aws::Billing
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://billing-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://billing.#{partition_result['implicitGlobalRegion']}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingRegion"=>"#{partition_result['implicitGlobalRegion']}"}]})
@@ -55,7 +55,7 @@ module Aws::Billing
55
55
  autoload :EndpointProvider, 'aws-sdk-billing/endpoint_provider'
56
56
  autoload :Endpoints, 'aws-sdk-billing/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-billing
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