aws-sdk-states 1.105.0 → 1.106.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: 58c41a54010e9ac47c6bf70e02dc71726e8067a779e0b364493dfa3af7b59dd6
4
- data.tar.gz: b8a832b55b0c2eb00a3524ba9a50dece1727e8d57870eb37b5c43a0c3a89612d
3
+ metadata.gz: bae0b7903f3a89fdd82a38e99f8e1a00baea6c931c5fd1b2d80b372b2ee2e0fd
4
+ data.tar.gz: bc2726a2f909ac4c4bc7de19e471284ab456cf9f16a5dab36998758612d3bd76
5
5
  SHA512:
6
- metadata.gz: ad02e33f2c16a988852ab027b63c7e18cb39f506849c046032d11599e29c179755c969c207f04ae79e341138fcfe196c98eaa530ea8cca7a16962b5b668ec983
7
- data.tar.gz: e996328085d579865041460e8e2c0dba45c7461858512e1d353e81b306c4fbc88b1577ad8020ed69ba959080f90122b5cbdd0ccfa404a7a8db520b688134c61b
6
+ metadata.gz: 5d5d55b754335ef7f348a9616ba6e93e90c9df84a2f288faff35c210cf14fb04b56d0e55d2bd5e643a0fe361ffb9bf92063975764ca290e75f3c086f20a5355e
7
+ data.tar.gz: 478a20a4682f70b523439bf39572bcc9b3de7c1dd817683c655e9d061e28d94b989f0b671b90a2fde363c56446a78d45e720aa0df685cb82eb27311fd802b4f5
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.106.0 (2026-05-13)
5
+ ------------------
6
+
7
+ * Feature - Updated default SDK endpoints for AWS Step Functions in AWS GovCloud (US) regions. The default Dual-Stack endpoints now resolve to "states-fips" prefixed hostnames. There are no changes to service behavior. No customer action is required.
8
+
4
9
  1.105.0 (2026-03-18)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.105.0
1
+ 1.106.0
@@ -3578,7 +3578,7 @@ module Aws::States
3578
3578
  tracer: tracer
3579
3579
  )
3580
3580
  context[:gem_name] = 'aws-sdk-states'
3581
- context[:gem_version] = '1.105.0'
3581
+ context[:gem_version] = '1.106.0'
3582
3582
  Seahorse::Client::Request.new(handlers, context)
3583
3583
  end
3584
3584
 
@@ -10,11 +10,6 @@
10
10
  module Aws::States
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::States
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,22 +21,25 @@ module Aws::States
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?(parameters.region, "us-gov-west-1") && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, false)
25
+ return Aws::Endpoints::Endpoint.new(url: "https://states.#{parameters.region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
26
+ end
27
+ 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)
28
+ return Aws::Endpoints::Endpoint.new(url: "https://states-fips.#{parameters.region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
29
+ end
24
30
  if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
25
31
  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
32
  return Aws::Endpoints::Endpoint.new(url: "https://states-fips.#{parameters.region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
27
33
  end
28
34
  raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
29
35
  end
30
- if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true)
36
+ if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, false)
31
37
  if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"), true)
32
- if Aws::Endpoints::Matchers.string_equals?(parameters.region, "us-gov-west-1")
33
- return Aws::Endpoints::Endpoint.new(url: "https://states.us-gov-west-1.amazonaws.com", headers: {}, properties: {})
34
- end
35
38
  return Aws::Endpoints::Endpoint.new(url: "https://states-fips.#{parameters.region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
36
39
  end
37
40
  raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
38
41
  end
39
- if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
42
+ if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, false) && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
40
43
  if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
41
44
  return Aws::Endpoints::Endpoint.new(url: "https://states.#{parameters.region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
42
45
  end
@@ -54,7 +54,7 @@ module Aws::States
54
54
  autoload :EndpointProvider, 'aws-sdk-states/endpoint_provider'
55
55
  autoload :Endpoints, 'aws-sdk-states/endpoints'
56
56
 
57
- GEM_VERSION = '1.105.0'
57
+ GEM_VERSION = '1.106.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-states
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.105.0
4
+ version: 1.106.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
@@ -18,7 +18,7 @@ dependencies:
18
18
  version: '3'
19
19
  - - ">="
20
20
  - !ruby/object:Gem::Version
21
- version: 3.244.0
21
+ version: 3.247.0
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
@@ -28,7 +28,7 @@ dependencies:
28
28
  version: '3'
29
29
  - - ">="
30
30
  - !ruby/object:Gem::Version
31
- version: 3.244.0
31
+ version: 3.247.0
32
32
  - !ruby/object:Gem::Dependency
33
33
  name: aws-sigv4
34
34
  requirement: !ruby/object:Gem::Requirement