aws-sdk-states 1.105.0 → 1.107.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 +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-states/client.rb +1 -1
- data/lib/aws-sdk-states/endpoint_parameters.rb +9 -9
- data/lib/aws-sdk-states/endpoint_provider.rb +8 -5
- data/lib/aws-sdk-states.rb +1 -1
- data/sig/client.rbs +7 -27
- data/sig/params.rbs +25 -0
- metadata +4 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 12e3562d5ade361412a391deccc053f39186e70730db15e86240b93837e46662
|
|
4
|
+
data.tar.gz: 0613a1e168b18dd6d2606064126b3aa2769d1457b617295fac3ed52f7b2665c6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4c03d21c887f3bce6e74f3490a5899863e4d72a1c273f117dd23ce474cf004739bda64b6ac6293064f540634da66e3ddf8ad21ef3ae18fb13bcebc4791ec8a12
|
|
7
|
+
data.tar.gz: ba6216c9d968e99fe417d3eda23f1857e7100aeaadde3fe151e47f9f6d89ff8a02d5920f16995025176ea3ceedd924ce42d1844d211c04e5182449246e53aaad
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.107.0 (2026-05-19)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
|
8
|
+
|
|
9
|
+
1.106.0 (2026-05-13)
|
|
10
|
+
------------------
|
|
11
|
+
|
|
12
|
+
* 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.
|
|
13
|
+
|
|
4
14
|
1.105.0 (2026-03-18)
|
|
5
15
|
------------------
|
|
6
16
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.107.0
|
|
@@ -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
|
data/lib/aws-sdk-states.rb
CHANGED
data/sig/client.rbs
CHANGED
|
@@ -91,7 +91,7 @@ module Aws
|
|
|
91
91
|
{
|
|
92
92
|
key: ::String?,
|
|
93
93
|
value: ::String?
|
|
94
|
-
}
|
|
94
|
+
}
|
|
95
95
|
],
|
|
96
96
|
?encryption_configuration: {
|
|
97
97
|
kms_key_id: ::String?,
|
|
@@ -113,22 +113,12 @@ module Aws
|
|
|
113
113
|
definition: ::String,
|
|
114
114
|
role_arn: ::String,
|
|
115
115
|
?type: ("STANDARD" | "EXPRESS"),
|
|
116
|
-
?logging_configuration:
|
|
117
|
-
level: ("ALL" | "ERROR" | "FATAL" | "OFF")?,
|
|
118
|
-
include_execution_data: bool?,
|
|
119
|
-
destinations: Array[
|
|
120
|
-
{
|
|
121
|
-
cloud_watch_logs_log_group: {
|
|
122
|
-
log_group_arn: ::String?
|
|
123
|
-
}?
|
|
124
|
-
},
|
|
125
|
-
]?
|
|
126
|
-
},
|
|
116
|
+
?logging_configuration: Params::logging_configuration,
|
|
127
117
|
?tags: Array[
|
|
128
118
|
{
|
|
129
119
|
key: ::String?,
|
|
130
120
|
value: ::String?
|
|
131
|
-
}
|
|
121
|
+
}
|
|
132
122
|
],
|
|
133
123
|
?tracing_configuration: {
|
|
134
124
|
enabled: bool?
|
|
@@ -156,7 +146,7 @@ module Aws
|
|
|
156
146
|
{
|
|
157
147
|
state_machine_version_arn: ::String,
|
|
158
148
|
weight: ::Integer
|
|
159
|
-
}
|
|
149
|
+
}
|
|
160
150
|
]
|
|
161
151
|
) -> _CreateStateMachineAliasResponseSuccess
|
|
162
152
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateStateMachineAliasResponseSuccess
|
|
@@ -553,7 +543,7 @@ module Aws
|
|
|
553
543
|
{
|
|
554
544
|
key: ::String?,
|
|
555
545
|
value: ::String?
|
|
556
|
-
}
|
|
546
|
+
}
|
|
557
547
|
]
|
|
558
548
|
) -> _TagResourceResponseSuccess
|
|
559
549
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TagResourceResponseSuccess
|
|
@@ -626,17 +616,7 @@ module Aws
|
|
|
626
616
|
state_machine_arn: ::String,
|
|
627
617
|
?definition: ::String,
|
|
628
618
|
?role_arn: ::String,
|
|
629
|
-
?logging_configuration:
|
|
630
|
-
level: ("ALL" | "ERROR" | "FATAL" | "OFF")?,
|
|
631
|
-
include_execution_data: bool?,
|
|
632
|
-
destinations: Array[
|
|
633
|
-
{
|
|
634
|
-
cloud_watch_logs_log_group: {
|
|
635
|
-
log_group_arn: ::String?
|
|
636
|
-
}?
|
|
637
|
-
},
|
|
638
|
-
]?
|
|
639
|
-
},
|
|
619
|
+
?logging_configuration: Params::logging_configuration,
|
|
640
620
|
?tracing_configuration: {
|
|
641
621
|
enabled: bool?
|
|
642
622
|
},
|
|
@@ -662,7 +642,7 @@ module Aws
|
|
|
662
642
|
{
|
|
663
643
|
state_machine_version_arn: ::String,
|
|
664
644
|
weight: ::Integer
|
|
665
|
-
}
|
|
645
|
+
}
|
|
666
646
|
]
|
|
667
647
|
) -> _UpdateStateMachineAliasResponseSuccess
|
|
668
648
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateStateMachineAliasResponseSuccess
|
data/sig/params.rbs
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
|
2
|
+
#
|
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
|
5
|
+
#
|
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
|
7
|
+
|
|
8
|
+
module Aws
|
|
9
|
+
module States
|
|
10
|
+
module Params
|
|
11
|
+
type logging_configuration = {
|
|
12
|
+
level: ("ALL" | "ERROR" | "FATAL" | "OFF")?,
|
|
13
|
+
include_execution_data: bool?,
|
|
14
|
+
destinations: Array[
|
|
15
|
+
{
|
|
16
|
+
cloud_watch_logs_log_group: {
|
|
17
|
+
log_group_arn: ::String?
|
|
18
|
+
}?
|
|
19
|
+
}
|
|
20
|
+
]?
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
end
|
|
24
|
+
end
|
|
25
|
+
end
|
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.
|
|
4
|
+
version: 1.107.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.
|
|
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.
|
|
31
|
+
version: 3.247.0
|
|
32
32
|
- !ruby/object:Gem::Dependency
|
|
33
33
|
name: aws-sigv4
|
|
34
34
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -67,6 +67,7 @@ files:
|
|
|
67
67
|
- lib/aws-sdk-states/types.rb
|
|
68
68
|
- sig/client.rbs
|
|
69
69
|
- sig/errors.rbs
|
|
70
|
+
- sig/params.rbs
|
|
70
71
|
- sig/resource.rbs
|
|
71
72
|
- sig/types.rbs
|
|
72
73
|
- sig/waiters.rbs
|