aws-sdk-savingsplans 1.66.0 → 1.68.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: aa6dacbf6757e49041c42e96df9f73048b721debb2cc0d0c54624e20c35c7226
4
- data.tar.gz: 0aae71e33c27aa6b1d30ad98b71d50e1f5e5ccd26a267091571bc37c3749b5b4
3
+ metadata.gz: 85c217231200e8622506e9359cf9b5e32158de99bfb5bb050595f0afa230ecd4
4
+ data.tar.gz: 6f6bafba2e103308189295f64cec671317a414fc844654bd1a09c23097ac1731
5
5
  SHA512:
6
- metadata.gz: 3fd555e95e6052bf993ae0219d66ca16365baf5d417218c7e215d7da351715d9dc4484438dd30710c7e5b8d515ee78f71bc627698153ddcc223289a7a352a864
7
- data.tar.gz: 77167c2db723b8b29d782ab9f44f2e50752cb9c94cc77c760b9db4ab5a83027226b51e3b5ebfa8c0f8ee0ffee208ff9aecc225332f9f38079285bce2b0abb66e
6
+ metadata.gz: c2c99e9fb4968233b11b990d348852be1a9eb8a8fb24c863701bea722b4d0774b0b63dbc58b0f0e9ac0f9da4c38de70e395b7d8aea64ed9c147b754536cfbcc3
7
+ data.tar.gz: 6c3e532c03a8361d60392b849e2a0ccc62f83b703d1cb2f3f4229801bc1e7098fd5006ee611456b128ee68196573e5d36f38f4e214fa35a660f5cef6e3886cf8
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.68.0 (2025-10-31)
5
+ ------------------
6
+
7
+ * Feature - Add dual-stack endpoint support for Savings Plans
8
+
9
+ 1.67.0 (2025-10-23)
10
+ ------------------
11
+
12
+ * Feature - Update endpoint ruleset parameters casing
13
+
4
14
  1.66.0 (2025-10-21)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.66.0
1
+ 1.68.0
@@ -1023,7 +1023,7 @@ module Aws::SavingsPlans
1023
1023
  tracer: tracer
1024
1024
  )
1025
1025
  context[:gem_name] = 'aws-sdk-savingsplans'
1026
- context[:gem_version] = '1.66.0'
1026
+ context[:gem_version] = '1.68.0'
1027
1027
  Seahorse::Client::Request.new(handlers, context)
1028
1028
  end
1029
1029
 
@@ -13,22 +13,22 @@ module Aws::SavingsPlans
13
13
  # @!attribute region
14
14
  # The AWS region used to dispatch the request.
15
15
  #
16
- # @return [String]
16
+ # @return [string]
17
17
  #
18
18
  # @!attribute use_dual_stack
19
19
  # When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.
20
20
  #
21
- # @return [Boolean]
21
+ # @return [boolean]
22
22
  #
23
23
  # @!attribute use_fips
24
24
  # When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.
25
25
  #
26
- # @return [Boolean]
26
+ # @return [boolean]
27
27
  #
28
28
  # @!attribute endpoint
29
29
  # Override the endpoint used to send this request
30
30
  #
31
- # @return [String]
31
+ # @return [string]
32
32
  #
33
33
  EndpointParameters = Struct.new(
34
34
  :region,
@@ -10,6 +10,20 @@
10
10
  module Aws::SavingsPlans
11
11
  class EndpointProvider
12
12
  def resolve_endpoint(parameters)
13
+ if Aws::Endpoints::Matchers.not(Aws::Endpoints::Matchers.set?(parameters.endpoint)) && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, false) && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
14
+ if Aws::Endpoints::Matchers.set?(parameters.region) && (partition_result = Aws::Endpoints::Matchers.aws_partition(parameters.region))
15
+ if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws")
16
+ return Aws::Endpoints::Endpoint.new(url: "https://savingsplans.global.api.aws", headers: {}, properties: {"authSchemes" => [{"name" => "sigv4", "signingName" => "savingsplans", "signingRegion" => "us-east-1"}]})
17
+ end
18
+ if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"), true)
19
+ return Aws::Endpoints::Endpoint.new(url: "https://savingsplans.#{parameters.region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
20
+ end
21
+ raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
22
+ end
23
+ if Aws::Endpoints::Matchers.not(Aws::Endpoints::Matchers.set?(parameters.region))
24
+ return Aws::Endpoints::Endpoint.new(url: "https://savingsplans.global.api.aws", headers: {}, properties: {"authSchemes" => [{"name" => "sigv4", "signingName" => "savingsplans", "signingRegion" => "us-east-1"}]})
25
+ end
26
+ end
13
27
  if Aws::Endpoints::Matchers.set?(parameters.endpoint)
14
28
  if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true)
15
29
  raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
@@ -54,7 +54,7 @@ module Aws::SavingsPlans
54
54
  autoload :EndpointProvider, 'aws-sdk-savingsplans/endpoint_provider'
55
55
  autoload :Endpoints, 'aws-sdk-savingsplans/endpoints'
56
56
 
57
- GEM_VERSION = '1.66.0'
57
+ GEM_VERSION = '1.68.0'
58
58
 
59
59
  end
60
60
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-savingsplans
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.66.0
4
+ version: 1.68.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services