aws-sdk-georoutes 1.26.0 → 1.27.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: 5996015ad3b1e2c39b8d23ce4bfc9ab69d65e6d7d56558accecaaafa0840c8a7
4
- data.tar.gz: 101e436cf54f1e11d42c4eecb67917176dbdacdd19c14710be9d4d299edb43e0
3
+ metadata.gz: 2acdf351ed7545ee0bd2b68f99508efc1f36d583f35af681a9379f0a81781c78
4
+ data.tar.gz: 0e3ad076b48c36a8aa697ce10779c010683795b592a123f7fc4c486596d6c032
5
5
  SHA512:
6
- metadata.gz: 6a6912d47d5c26ad1310099ca17b8e59f1d6f7264509e5ac5150b6921d4a99d7fedc846225447f3777964cb3f1c2dad6f6b88def3fd12ddd643c58864426d35e
7
- data.tar.gz: 88e6a636c40ef5ce720918a181e8cbb26d87e4289d1bb5ad89e062cd90d4e465bb00f491c3858bc90d36ae4c2ba0b27965737e3733274074266e1827fa668927
6
+ metadata.gz: a69a10b7998b7d29606c1848a8804a295710206a4a1f29997288bd26a4ee8ef2a42c7f4b5162163a147c129a4d4815ddea5eb97ac9b3ee80dab5afad54c768d3
7
+ data.tar.gz: 633fc14ac7d29f3e7e2a62028bf2f48807a1211e1bbca2d272d9681348dd8c63fbfa7d46e02a4d4f300ef5fdb56bf9e34c153923ea2821579c95951d1b012684
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.27.0 (2026-06-03)
5
+ ------------------
6
+
7
+ * Feature - Add "standardRegionalEndpoints" back to fix 'Could not connect to the endpoint URL'
8
+
4
9
  1.26.0 (2026-06-02)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.26.0
1
+ 1.27.0
@@ -3019,7 +3019,7 @@ module Aws::GeoRoutes
3019
3019
  tracer: tracer
3020
3020
  )
3021
3021
  context[:gem_name] = 'aws-sdk-georoutes'
3022
- context[:gem_version] = '1.26.0'
3022
+ context[:gem_version] = '1.27.0'
3023
3023
  Seahorse::Client::Request.new(handlers, context)
3024
3024
  end
3025
3025
 
@@ -10,11 +10,6 @@
10
10
  module Aws::GeoRoutes
11
11
  # Endpoint parameters used to influence endpoints per request.
12
12
  #
13
- # @!attribute region
14
- # The AWS region used to dispatch the request.
15
- #
16
- # @return [string]
17
- #
18
13
  # @!attribute use_dual_stack
19
14
  # When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.
20
15
  #
@@ -30,39 +25,44 @@ module Aws::GeoRoutes
30
25
  #
31
26
  # @return [string]
32
27
  #
28
+ # @!attribute region
29
+ # The AWS region used to dispatch the request.
30
+ #
31
+ # @return [string]
32
+ #
33
33
  EndpointParameters = Struct.new(
34
- :region,
35
34
  :use_dual_stack,
36
35
  :use_fips,
37
36
  :endpoint,
37
+ :region,
38
38
  ) do
39
39
  include Aws::Structure
40
40
 
41
41
  # @api private
42
42
  class << self
43
43
  PARAM_MAP = {
44
- 'Region' => :region,
45
44
  'UseDualStack' => :use_dual_stack,
46
45
  'UseFIPS' => :use_fips,
47
46
  'Endpoint' => :endpoint,
47
+ 'Region' => :region,
48
48
  }.freeze
49
49
  end
50
50
 
51
51
  def initialize(options = {})
52
- self[:region] = options[:region]
53
52
  self[:use_dual_stack] = options[:use_dual_stack]
54
53
  self[:use_dual_stack] = false if self[:use_dual_stack].nil?
55
54
  self[:use_fips] = options[:use_fips]
56
55
  self[:use_fips] = false if self[:use_fips].nil?
57
56
  self[:endpoint] = options[:endpoint]
57
+ self[:region] = options[:region]
58
58
  end
59
59
 
60
60
  def self.create(config, options={})
61
61
  new({
62
- region: config.region,
63
62
  use_dual_stack: config.use_dualstack_endpoint,
64
63
  use_fips: config.use_fips_endpoint,
65
64
  endpoint: (config.endpoint.to_s unless config.regional_endpoint),
65
+ region: config.region,
66
66
  }.merge(options))
67
67
  end
68
68
  end
@@ -21,19 +21,43 @@ module Aws::GeoRoutes
21
21
  end
22
22
  if Aws::Endpoints::Matchers.set?(parameters.region)
23
23
  if (partition_result = Aws::Endpoints::Matchers.aws_partition(parameters.region))
24
+ if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws") && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, false) && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, false)
25
+ return Aws::Endpoints::Endpoint.new(url: "https://routes.geo.#{parameters.region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
26
+ end
27
+ if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws") && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
28
+ return Aws::Endpoints::Endpoint.new(url: "https://routes.geo-fips.#{parameters.region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
29
+ end
30
+ if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws") && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, false)
31
+ return Aws::Endpoints::Endpoint.new(url: "https://routes.geo-fips.#{parameters.region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
32
+ end
33
+ if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws") && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, false) && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
34
+ return Aws::Endpoints::Endpoint.new(url: "https://routes.geo.#{parameters.region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
35
+ end
36
+ if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws-us-gov") && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, false) && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, false)
37
+ return Aws::Endpoints::Endpoint.new(url: "https://routes.geo.#{parameters.region}.us-gov.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
38
+ end
39
+ if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws-us-gov") && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
40
+ return Aws::Endpoints::Endpoint.new(url: "https://routes.geo-fips.#{parameters.region}.us-gov.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
41
+ end
42
+ if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws-us-gov") && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, false)
43
+ return Aws::Endpoints::Endpoint.new(url: "https://routes.geo-fips.#{parameters.region}.us-gov.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
44
+ end
45
+ if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws-us-gov") && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, false) && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
46
+ return Aws::Endpoints::Endpoint.new(url: "https://routes.geo.#{parameters.region}.us-gov.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
47
+ end
24
48
  if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
25
49
  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"))
26
50
  return Aws::Endpoints::Endpoint.new(url: "https://geo-routes-fips.#{parameters.region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
27
51
  end
28
52
  raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
29
53
  end
30
- if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true)
54
+ if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, false)
31
55
  if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"), true)
32
56
  return Aws::Endpoints::Endpoint.new(url: "https://geo-routes-fips.#{parameters.region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
33
57
  end
34
58
  raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
35
59
  end
36
- if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
60
+ if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, false) && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
37
61
  if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
38
62
  return Aws::Endpoints::Endpoint.new(url: "https://geo-routes.#{parameters.region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
39
63
  end
@@ -55,7 +55,7 @@ module Aws::GeoRoutes
55
55
  autoload :EndpointProvider, 'aws-sdk-georoutes/endpoint_provider'
56
56
  autoload :Endpoints, 'aws-sdk-georoutes/endpoints'
57
57
 
58
- GEM_VERSION = '1.26.0'
58
+ GEM_VERSION = '1.27.0'
59
59
 
60
60
  end
61
61
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-georoutes
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.26.0
4
+ version: 1.27.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services