aws-sdk-states 1.63.0 → 1.65.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-states/client.rb +141 -46
- data/lib/aws-sdk-states/client_api.rb +36 -0
- data/lib/aws-sdk-states/endpoints.rb +14 -0
- data/lib/aws-sdk-states/plugins/endpoints.rb +3 -0
- data/lib/aws-sdk-states/types.rb +79 -0
- data/lib/aws-sdk-states.rb +1 -1
- data/sig/client.rbs +637 -0
- data/sig/errors.rbs +103 -0
- data/sig/resource.rbs +80 -0
- data/sig/types.rbs +1096 -0
- data/sig/waiters.rbs +13 -0
- metadata +13 -8
data/sig/client.rbs
ADDED
@@ -0,0 +1,637 @@
|
|
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
|
+
class Client < ::Seahorse::Client::Base
|
11
|
+
include ::Aws::ClientStubs
|
12
|
+
|
13
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/States/Client.html#initialize-instance_method
|
14
|
+
def self.new: (
|
15
|
+
?credentials: untyped,
|
16
|
+
?region: String,
|
17
|
+
?access_key_id: String,
|
18
|
+
?active_endpoint_cache: bool,
|
19
|
+
?adaptive_retry_wait_to_fill: bool,
|
20
|
+
?client_side_monitoring: bool,
|
21
|
+
?client_side_monitoring_client_id: String,
|
22
|
+
?client_side_monitoring_host: String,
|
23
|
+
?client_side_monitoring_port: Integer,
|
24
|
+
?client_side_monitoring_publisher: untyped,
|
25
|
+
?convert_params: bool,
|
26
|
+
?correct_clock_skew: bool,
|
27
|
+
?defaults_mode: String,
|
28
|
+
?disable_host_prefix_injection: bool,
|
29
|
+
?disable_request_compression: bool,
|
30
|
+
?endpoint: String,
|
31
|
+
?endpoint_cache_max_entries: Integer,
|
32
|
+
?endpoint_cache_max_threads: Integer,
|
33
|
+
?endpoint_cache_poll_interval: Integer,
|
34
|
+
?endpoint_discovery: bool,
|
35
|
+
?ignore_configured_endpoint_urls: bool,
|
36
|
+
?log_formatter: untyped,
|
37
|
+
?log_level: Symbol,
|
38
|
+
?logger: untyped,
|
39
|
+
?max_attempts: Integer,
|
40
|
+
?profile: String,
|
41
|
+
?request_min_compression_size_bytes: Integer,
|
42
|
+
?retry_backoff: Proc,
|
43
|
+
?retry_base_delay: Float,
|
44
|
+
?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
|
45
|
+
?retry_limit: Integer,
|
46
|
+
?retry_max_delay: Integer,
|
47
|
+
?retry_mode: ("legacy" | "standard" | "adaptive"),
|
48
|
+
?sdk_ua_app_id: String,
|
49
|
+
?secret_access_key: String,
|
50
|
+
?session_token: String,
|
51
|
+
?simple_json: bool,
|
52
|
+
?stub_responses: untyped,
|
53
|
+
?token_provider: untyped,
|
54
|
+
?use_dualstack_endpoint: bool,
|
55
|
+
?use_fips_endpoint: bool,
|
56
|
+
?validate_params: bool,
|
57
|
+
?endpoint_provider: untyped,
|
58
|
+
?http_proxy: String,
|
59
|
+
?http_open_timeout: (Float | Integer),
|
60
|
+
?http_read_timeout: (Float | Integer),
|
61
|
+
?http_idle_timeout: (Float | Integer),
|
62
|
+
?http_continue_timeout: (Float | Integer),
|
63
|
+
?ssl_timeout: (Float | Integer | nil),
|
64
|
+
?http_wire_trace: bool,
|
65
|
+
?ssl_verify_peer: bool,
|
66
|
+
?ssl_ca_bundle: String,
|
67
|
+
?ssl_ca_directory: String,
|
68
|
+
?ssl_ca_store: String,
|
69
|
+
?on_chunk_received: Proc,
|
70
|
+
?on_chunk_sent: Proc,
|
71
|
+
?raise_response_errors: bool
|
72
|
+
) -> instance
|
73
|
+
| (?Hash[Symbol, untyped]) -> instance
|
74
|
+
|
75
|
+
|
76
|
+
interface _CreateActivityResponseSuccess
|
77
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateActivityOutput]
|
78
|
+
def activity_arn: () -> ::String
|
79
|
+
def creation_date: () -> ::Time
|
80
|
+
end
|
81
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/States/Client.html#create_activity-instance_method
|
82
|
+
def create_activity: (
|
83
|
+
name: ::String,
|
84
|
+
?tags: Array[
|
85
|
+
{
|
86
|
+
key: ::String?,
|
87
|
+
value: ::String?
|
88
|
+
},
|
89
|
+
]
|
90
|
+
) -> _CreateActivityResponseSuccess
|
91
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateActivityResponseSuccess
|
92
|
+
|
93
|
+
interface _CreateStateMachineResponseSuccess
|
94
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateStateMachineOutput]
|
95
|
+
def state_machine_arn: () -> ::String
|
96
|
+
def creation_date: () -> ::Time
|
97
|
+
def state_machine_version_arn: () -> ::String
|
98
|
+
end
|
99
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/States/Client.html#create_state_machine-instance_method
|
100
|
+
def create_state_machine: (
|
101
|
+
name: ::String,
|
102
|
+
definition: ::String,
|
103
|
+
role_arn: ::String,
|
104
|
+
?type: ("STANDARD" | "EXPRESS"),
|
105
|
+
?logging_configuration: {
|
106
|
+
level: ("ALL" | "ERROR" | "FATAL" | "OFF")?,
|
107
|
+
include_execution_data: bool?,
|
108
|
+
destinations: Array[
|
109
|
+
{
|
110
|
+
cloud_watch_logs_log_group: {
|
111
|
+
log_group_arn: ::String?
|
112
|
+
}?
|
113
|
+
},
|
114
|
+
]?
|
115
|
+
},
|
116
|
+
?tags: Array[
|
117
|
+
{
|
118
|
+
key: ::String?,
|
119
|
+
value: ::String?
|
120
|
+
},
|
121
|
+
],
|
122
|
+
?tracing_configuration: {
|
123
|
+
enabled: bool?
|
124
|
+
},
|
125
|
+
?publish: bool,
|
126
|
+
?version_description: ::String
|
127
|
+
) -> _CreateStateMachineResponseSuccess
|
128
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateStateMachineResponseSuccess
|
129
|
+
|
130
|
+
interface _CreateStateMachineAliasResponseSuccess
|
131
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateStateMachineAliasOutput]
|
132
|
+
def state_machine_alias_arn: () -> ::String
|
133
|
+
def creation_date: () -> ::Time
|
134
|
+
end
|
135
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/States/Client.html#create_state_machine_alias-instance_method
|
136
|
+
def create_state_machine_alias: (
|
137
|
+
?description: ::String,
|
138
|
+
name: ::String,
|
139
|
+
routing_configuration: Array[
|
140
|
+
{
|
141
|
+
state_machine_version_arn: ::String,
|
142
|
+
weight: ::Integer
|
143
|
+
},
|
144
|
+
]
|
145
|
+
) -> _CreateStateMachineAliasResponseSuccess
|
146
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateStateMachineAliasResponseSuccess
|
147
|
+
|
148
|
+
interface _DeleteActivityResponseSuccess
|
149
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteActivityOutput]
|
150
|
+
end
|
151
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/States/Client.html#delete_activity-instance_method
|
152
|
+
def delete_activity: (
|
153
|
+
activity_arn: ::String
|
154
|
+
) -> _DeleteActivityResponseSuccess
|
155
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteActivityResponseSuccess
|
156
|
+
|
157
|
+
interface _DeleteStateMachineResponseSuccess
|
158
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteStateMachineOutput]
|
159
|
+
end
|
160
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/States/Client.html#delete_state_machine-instance_method
|
161
|
+
def delete_state_machine: (
|
162
|
+
state_machine_arn: ::String
|
163
|
+
) -> _DeleteStateMachineResponseSuccess
|
164
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteStateMachineResponseSuccess
|
165
|
+
|
166
|
+
interface _DeleteStateMachineAliasResponseSuccess
|
167
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteStateMachineAliasOutput]
|
168
|
+
end
|
169
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/States/Client.html#delete_state_machine_alias-instance_method
|
170
|
+
def delete_state_machine_alias: (
|
171
|
+
state_machine_alias_arn: ::String
|
172
|
+
) -> _DeleteStateMachineAliasResponseSuccess
|
173
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteStateMachineAliasResponseSuccess
|
174
|
+
|
175
|
+
interface _DeleteStateMachineVersionResponseSuccess
|
176
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteStateMachineVersionOutput]
|
177
|
+
end
|
178
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/States/Client.html#delete_state_machine_version-instance_method
|
179
|
+
def delete_state_machine_version: (
|
180
|
+
state_machine_version_arn: ::String
|
181
|
+
) -> _DeleteStateMachineVersionResponseSuccess
|
182
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteStateMachineVersionResponseSuccess
|
183
|
+
|
184
|
+
interface _DescribeActivityResponseSuccess
|
185
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeActivityOutput]
|
186
|
+
def activity_arn: () -> ::String
|
187
|
+
def name: () -> ::String
|
188
|
+
def creation_date: () -> ::Time
|
189
|
+
end
|
190
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/States/Client.html#describe_activity-instance_method
|
191
|
+
def describe_activity: (
|
192
|
+
activity_arn: ::String
|
193
|
+
) -> _DescribeActivityResponseSuccess
|
194
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeActivityResponseSuccess
|
195
|
+
|
196
|
+
interface _DescribeExecutionResponseSuccess
|
197
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeExecutionOutput]
|
198
|
+
def execution_arn: () -> ::String
|
199
|
+
def state_machine_arn: () -> ::String
|
200
|
+
def name: () -> ::String
|
201
|
+
def status: () -> ("RUNNING" | "SUCCEEDED" | "FAILED" | "TIMED_OUT" | "ABORTED" | "PENDING_REDRIVE")
|
202
|
+
def start_date: () -> ::Time
|
203
|
+
def stop_date: () -> ::Time
|
204
|
+
def input: () -> ::String
|
205
|
+
def input_details: () -> Types::CloudWatchEventsExecutionDataDetails
|
206
|
+
def output: () -> ::String
|
207
|
+
def output_details: () -> Types::CloudWatchEventsExecutionDataDetails
|
208
|
+
def trace_header: () -> ::String
|
209
|
+
def map_run_arn: () -> ::String
|
210
|
+
def cause: () -> ::String
|
211
|
+
def state_machine_version_arn: () -> ::String
|
212
|
+
def state_machine_alias_arn: () -> ::String
|
213
|
+
def redrive_count: () -> ::Integer
|
214
|
+
def redrive_date: () -> ::Time
|
215
|
+
def redrive_status: () -> ("REDRIVABLE" | "NOT_REDRIVABLE" | "REDRIVABLE_BY_MAP_RUN")
|
216
|
+
def redrive_status_reason: () -> ::String
|
217
|
+
end
|
218
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/States/Client.html#describe_execution-instance_method
|
219
|
+
def describe_execution: (
|
220
|
+
execution_arn: ::String
|
221
|
+
) -> _DescribeExecutionResponseSuccess
|
222
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeExecutionResponseSuccess
|
223
|
+
|
224
|
+
interface _DescribeMapRunResponseSuccess
|
225
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeMapRunOutput]
|
226
|
+
def map_run_arn: () -> ::String
|
227
|
+
def execution_arn: () -> ::String
|
228
|
+
def status: () -> ("RUNNING" | "SUCCEEDED" | "FAILED" | "ABORTED")
|
229
|
+
def start_date: () -> ::Time
|
230
|
+
def stop_date: () -> ::Time
|
231
|
+
def max_concurrency: () -> ::Integer
|
232
|
+
def tolerated_failure_percentage: () -> ::Float
|
233
|
+
def tolerated_failure_count: () -> ::Integer
|
234
|
+
def item_counts: () -> Types::MapRunItemCounts
|
235
|
+
def execution_counts: () -> Types::MapRunExecutionCounts
|
236
|
+
def redrive_count: () -> ::Integer
|
237
|
+
def redrive_date: () -> ::Time
|
238
|
+
end
|
239
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/States/Client.html#describe_map_run-instance_method
|
240
|
+
def describe_map_run: (
|
241
|
+
map_run_arn: ::String
|
242
|
+
) -> _DescribeMapRunResponseSuccess
|
243
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeMapRunResponseSuccess
|
244
|
+
|
245
|
+
interface _DescribeStateMachineResponseSuccess
|
246
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeStateMachineOutput]
|
247
|
+
def state_machine_arn: () -> ::String
|
248
|
+
def name: () -> ::String
|
249
|
+
def status: () -> ("ACTIVE" | "DELETING")
|
250
|
+
def definition: () -> ::String
|
251
|
+
def role_arn: () -> ::String
|
252
|
+
def type: () -> ("STANDARD" | "EXPRESS")
|
253
|
+
def creation_date: () -> ::Time
|
254
|
+
def logging_configuration: () -> Types::LoggingConfiguration
|
255
|
+
def tracing_configuration: () -> Types::TracingConfiguration
|
256
|
+
def label: () -> ::String
|
257
|
+
def revision_id: () -> ::String
|
258
|
+
def description: () -> ::String
|
259
|
+
end
|
260
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/States/Client.html#describe_state_machine-instance_method
|
261
|
+
def describe_state_machine: (
|
262
|
+
state_machine_arn: ::String
|
263
|
+
) -> _DescribeStateMachineResponseSuccess
|
264
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeStateMachineResponseSuccess
|
265
|
+
|
266
|
+
interface _DescribeStateMachineAliasResponseSuccess
|
267
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeStateMachineAliasOutput]
|
268
|
+
def state_machine_alias_arn: () -> ::String
|
269
|
+
def name: () -> ::String
|
270
|
+
def description: () -> ::String
|
271
|
+
def routing_configuration: () -> ::Array[Types::RoutingConfigurationListItem]
|
272
|
+
def creation_date: () -> ::Time
|
273
|
+
def update_date: () -> ::Time
|
274
|
+
end
|
275
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/States/Client.html#describe_state_machine_alias-instance_method
|
276
|
+
def describe_state_machine_alias: (
|
277
|
+
state_machine_alias_arn: ::String
|
278
|
+
) -> _DescribeStateMachineAliasResponseSuccess
|
279
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeStateMachineAliasResponseSuccess
|
280
|
+
|
281
|
+
interface _DescribeStateMachineForExecutionResponseSuccess
|
282
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeStateMachineForExecutionOutput]
|
283
|
+
def state_machine_arn: () -> ::String
|
284
|
+
def name: () -> ::String
|
285
|
+
def definition: () -> ::String
|
286
|
+
def role_arn: () -> ::String
|
287
|
+
def update_date: () -> ::Time
|
288
|
+
def logging_configuration: () -> Types::LoggingConfiguration
|
289
|
+
def tracing_configuration: () -> Types::TracingConfiguration
|
290
|
+
def map_run_arn: () -> ::String
|
291
|
+
def label: () -> ::String
|
292
|
+
def revision_id: () -> ::String
|
293
|
+
end
|
294
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/States/Client.html#describe_state_machine_for_execution-instance_method
|
295
|
+
def describe_state_machine_for_execution: (
|
296
|
+
execution_arn: ::String
|
297
|
+
) -> _DescribeStateMachineForExecutionResponseSuccess
|
298
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeStateMachineForExecutionResponseSuccess
|
299
|
+
|
300
|
+
interface _GetActivityTaskResponseSuccess
|
301
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetActivityTaskOutput]
|
302
|
+
def task_token: () -> ::String
|
303
|
+
def input: () -> ::String
|
304
|
+
end
|
305
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/States/Client.html#get_activity_task-instance_method
|
306
|
+
def get_activity_task: (
|
307
|
+
activity_arn: ::String,
|
308
|
+
?worker_name: ::String
|
309
|
+
) -> _GetActivityTaskResponseSuccess
|
310
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetActivityTaskResponseSuccess
|
311
|
+
|
312
|
+
interface _GetExecutionHistoryResponseSuccess
|
313
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetExecutionHistoryOutput]
|
314
|
+
def events: () -> ::Array[Types::HistoryEvent]
|
315
|
+
def next_token: () -> ::String
|
316
|
+
end
|
317
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/States/Client.html#get_execution_history-instance_method
|
318
|
+
def get_execution_history: (
|
319
|
+
execution_arn: ::String,
|
320
|
+
?max_results: ::Integer,
|
321
|
+
?reverse_order: bool,
|
322
|
+
?next_token: ::String,
|
323
|
+
?include_execution_data: bool
|
324
|
+
) -> _GetExecutionHistoryResponseSuccess
|
325
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetExecutionHistoryResponseSuccess
|
326
|
+
|
327
|
+
interface _ListActivitiesResponseSuccess
|
328
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListActivitiesOutput]
|
329
|
+
def activities: () -> ::Array[Types::ActivityListItem]
|
330
|
+
def next_token: () -> ::String
|
331
|
+
end
|
332
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/States/Client.html#list_activities-instance_method
|
333
|
+
def list_activities: (
|
334
|
+
?max_results: ::Integer,
|
335
|
+
?next_token: ::String
|
336
|
+
) -> _ListActivitiesResponseSuccess
|
337
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListActivitiesResponseSuccess
|
338
|
+
|
339
|
+
interface _ListExecutionsResponseSuccess
|
340
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListExecutionsOutput]
|
341
|
+
def executions: () -> ::Array[Types::ExecutionListItem]
|
342
|
+
def next_token: () -> ::String
|
343
|
+
end
|
344
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/States/Client.html#list_executions-instance_method
|
345
|
+
def list_executions: (
|
346
|
+
?state_machine_arn: ::String,
|
347
|
+
?status_filter: ("RUNNING" | "SUCCEEDED" | "FAILED" | "TIMED_OUT" | "ABORTED" | "PENDING_REDRIVE"),
|
348
|
+
?max_results: ::Integer,
|
349
|
+
?next_token: ::String,
|
350
|
+
?map_run_arn: ::String,
|
351
|
+
?redrive_filter: ("REDRIVEN" | "NOT_REDRIVEN")
|
352
|
+
) -> _ListExecutionsResponseSuccess
|
353
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListExecutionsResponseSuccess
|
354
|
+
|
355
|
+
interface _ListMapRunsResponseSuccess
|
356
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListMapRunsOutput]
|
357
|
+
def map_runs: () -> ::Array[Types::MapRunListItem]
|
358
|
+
def next_token: () -> ::String
|
359
|
+
end
|
360
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/States/Client.html#list_map_runs-instance_method
|
361
|
+
def list_map_runs: (
|
362
|
+
execution_arn: ::String,
|
363
|
+
?max_results: ::Integer,
|
364
|
+
?next_token: ::String
|
365
|
+
) -> _ListMapRunsResponseSuccess
|
366
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListMapRunsResponseSuccess
|
367
|
+
|
368
|
+
interface _ListStateMachineAliasesResponseSuccess
|
369
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListStateMachineAliasesOutput]
|
370
|
+
def state_machine_aliases: () -> ::Array[Types::StateMachineAliasListItem]
|
371
|
+
def next_token: () -> ::String
|
372
|
+
end
|
373
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/States/Client.html#list_state_machine_aliases-instance_method
|
374
|
+
def list_state_machine_aliases: (
|
375
|
+
state_machine_arn: ::String,
|
376
|
+
?next_token: ::String,
|
377
|
+
?max_results: ::Integer
|
378
|
+
) -> _ListStateMachineAliasesResponseSuccess
|
379
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListStateMachineAliasesResponseSuccess
|
380
|
+
|
381
|
+
interface _ListStateMachineVersionsResponseSuccess
|
382
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListStateMachineVersionsOutput]
|
383
|
+
def state_machine_versions: () -> ::Array[Types::StateMachineVersionListItem]
|
384
|
+
def next_token: () -> ::String
|
385
|
+
end
|
386
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/States/Client.html#list_state_machine_versions-instance_method
|
387
|
+
def list_state_machine_versions: (
|
388
|
+
state_machine_arn: ::String,
|
389
|
+
?next_token: ::String,
|
390
|
+
?max_results: ::Integer
|
391
|
+
) -> _ListStateMachineVersionsResponseSuccess
|
392
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListStateMachineVersionsResponseSuccess
|
393
|
+
|
394
|
+
interface _ListStateMachinesResponseSuccess
|
395
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListStateMachinesOutput]
|
396
|
+
def state_machines: () -> ::Array[Types::StateMachineListItem]
|
397
|
+
def next_token: () -> ::String
|
398
|
+
end
|
399
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/States/Client.html#list_state_machines-instance_method
|
400
|
+
def list_state_machines: (
|
401
|
+
?max_results: ::Integer,
|
402
|
+
?next_token: ::String
|
403
|
+
) -> _ListStateMachinesResponseSuccess
|
404
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListStateMachinesResponseSuccess
|
405
|
+
|
406
|
+
interface _ListTagsForResourceResponseSuccess
|
407
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceOutput]
|
408
|
+
def tags: () -> ::Array[Types::Tag]
|
409
|
+
end
|
410
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/States/Client.html#list_tags_for_resource-instance_method
|
411
|
+
def list_tags_for_resource: (
|
412
|
+
resource_arn: ::String
|
413
|
+
) -> _ListTagsForResourceResponseSuccess
|
414
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForResourceResponseSuccess
|
415
|
+
|
416
|
+
interface _PublishStateMachineVersionResponseSuccess
|
417
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::PublishStateMachineVersionOutput]
|
418
|
+
def creation_date: () -> ::Time
|
419
|
+
def state_machine_version_arn: () -> ::String
|
420
|
+
end
|
421
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/States/Client.html#publish_state_machine_version-instance_method
|
422
|
+
def publish_state_machine_version: (
|
423
|
+
state_machine_arn: ::String,
|
424
|
+
?revision_id: ::String,
|
425
|
+
?description: ::String
|
426
|
+
) -> _PublishStateMachineVersionResponseSuccess
|
427
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PublishStateMachineVersionResponseSuccess
|
428
|
+
|
429
|
+
interface _RedriveExecutionResponseSuccess
|
430
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::RedriveExecutionOutput]
|
431
|
+
def redrive_date: () -> ::Time
|
432
|
+
end
|
433
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/States/Client.html#redrive_execution-instance_method
|
434
|
+
def redrive_execution: (
|
435
|
+
execution_arn: ::String,
|
436
|
+
?client_token: ::String
|
437
|
+
) -> _RedriveExecutionResponseSuccess
|
438
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _RedriveExecutionResponseSuccess
|
439
|
+
|
440
|
+
interface _SendTaskFailureResponseSuccess
|
441
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::SendTaskFailureOutput]
|
442
|
+
end
|
443
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/States/Client.html#send_task_failure-instance_method
|
444
|
+
def send_task_failure: (
|
445
|
+
task_token: ::String,
|
446
|
+
?error: ::String,
|
447
|
+
?cause: ::String
|
448
|
+
) -> _SendTaskFailureResponseSuccess
|
449
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _SendTaskFailureResponseSuccess
|
450
|
+
|
451
|
+
interface _SendTaskHeartbeatResponseSuccess
|
452
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::SendTaskHeartbeatOutput]
|
453
|
+
end
|
454
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/States/Client.html#send_task_heartbeat-instance_method
|
455
|
+
def send_task_heartbeat: (
|
456
|
+
task_token: ::String
|
457
|
+
) -> _SendTaskHeartbeatResponseSuccess
|
458
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _SendTaskHeartbeatResponseSuccess
|
459
|
+
|
460
|
+
interface _SendTaskSuccessResponseSuccess
|
461
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::SendTaskSuccessOutput]
|
462
|
+
end
|
463
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/States/Client.html#send_task_success-instance_method
|
464
|
+
def send_task_success: (
|
465
|
+
task_token: ::String,
|
466
|
+
output: ::String
|
467
|
+
) -> _SendTaskSuccessResponseSuccess
|
468
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _SendTaskSuccessResponseSuccess
|
469
|
+
|
470
|
+
interface _StartExecutionResponseSuccess
|
471
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::StartExecutionOutput]
|
472
|
+
def execution_arn: () -> ::String
|
473
|
+
def start_date: () -> ::Time
|
474
|
+
end
|
475
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/States/Client.html#start_execution-instance_method
|
476
|
+
def start_execution: (
|
477
|
+
state_machine_arn: ::String,
|
478
|
+
?name: ::String,
|
479
|
+
?input: ::String,
|
480
|
+
?trace_header: ::String
|
481
|
+
) -> _StartExecutionResponseSuccess
|
482
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartExecutionResponseSuccess
|
483
|
+
|
484
|
+
interface _StartSyncExecutionResponseSuccess
|
485
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::StartSyncExecutionOutput]
|
486
|
+
def execution_arn: () -> ::String
|
487
|
+
def state_machine_arn: () -> ::String
|
488
|
+
def name: () -> ::String
|
489
|
+
def start_date: () -> ::Time
|
490
|
+
def stop_date: () -> ::Time
|
491
|
+
def status: () -> ("SUCCEEDED" | "FAILED" | "TIMED_OUT")
|
492
|
+
def cause: () -> ::String
|
493
|
+
def input: () -> ::String
|
494
|
+
def input_details: () -> Types::CloudWatchEventsExecutionDataDetails
|
495
|
+
def output: () -> ::String
|
496
|
+
def output_details: () -> Types::CloudWatchEventsExecutionDataDetails
|
497
|
+
def trace_header: () -> ::String
|
498
|
+
def billing_details: () -> Types::BillingDetails
|
499
|
+
end
|
500
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/States/Client.html#start_sync_execution-instance_method
|
501
|
+
def start_sync_execution: (
|
502
|
+
state_machine_arn: ::String,
|
503
|
+
?name: ::String,
|
504
|
+
?input: ::String,
|
505
|
+
?trace_header: ::String
|
506
|
+
) -> _StartSyncExecutionResponseSuccess
|
507
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartSyncExecutionResponseSuccess
|
508
|
+
|
509
|
+
interface _StopExecutionResponseSuccess
|
510
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::StopExecutionOutput]
|
511
|
+
def stop_date: () -> ::Time
|
512
|
+
end
|
513
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/States/Client.html#stop_execution-instance_method
|
514
|
+
def stop_execution: (
|
515
|
+
execution_arn: ::String,
|
516
|
+
?error: ::String,
|
517
|
+
?cause: ::String
|
518
|
+
) -> _StopExecutionResponseSuccess
|
519
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StopExecutionResponseSuccess
|
520
|
+
|
521
|
+
interface _TagResourceResponseSuccess
|
522
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::TagResourceOutput]
|
523
|
+
end
|
524
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/States/Client.html#tag_resource-instance_method
|
525
|
+
def tag_resource: (
|
526
|
+
resource_arn: ::String,
|
527
|
+
tags: Array[
|
528
|
+
{
|
529
|
+
key: ::String?,
|
530
|
+
value: ::String?
|
531
|
+
},
|
532
|
+
]
|
533
|
+
) -> _TagResourceResponseSuccess
|
534
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TagResourceResponseSuccess
|
535
|
+
|
536
|
+
interface _TestStateResponseSuccess
|
537
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::TestStateOutput]
|
538
|
+
def output: () -> ::String
|
539
|
+
def cause: () -> ::String
|
540
|
+
def inspection_data: () -> Types::InspectionData
|
541
|
+
def next_state: () -> ::String
|
542
|
+
def status: () -> ("SUCCEEDED" | "FAILED" | "RETRIABLE" | "CAUGHT_ERROR")
|
543
|
+
end
|
544
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/States/Client.html#test_state-instance_method
|
545
|
+
def test_state: (
|
546
|
+
definition: ::String,
|
547
|
+
role_arn: ::String,
|
548
|
+
?input: ::String,
|
549
|
+
?inspection_level: ("INFO" | "DEBUG" | "TRACE"),
|
550
|
+
?reveal_secrets: bool
|
551
|
+
) -> _TestStateResponseSuccess
|
552
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TestStateResponseSuccess
|
553
|
+
|
554
|
+
interface _UntagResourceResponseSuccess
|
555
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UntagResourceOutput]
|
556
|
+
end
|
557
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/States/Client.html#untag_resource-instance_method
|
558
|
+
def untag_resource: (
|
559
|
+
resource_arn: ::String,
|
560
|
+
tag_keys: Array[::String]
|
561
|
+
) -> _UntagResourceResponseSuccess
|
562
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UntagResourceResponseSuccess
|
563
|
+
|
564
|
+
interface _UpdateMapRunResponseSuccess
|
565
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateMapRunOutput]
|
566
|
+
end
|
567
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/States/Client.html#update_map_run-instance_method
|
568
|
+
def update_map_run: (
|
569
|
+
map_run_arn: ::String,
|
570
|
+
?max_concurrency: ::Integer,
|
571
|
+
?tolerated_failure_percentage: ::Float,
|
572
|
+
?tolerated_failure_count: ::Integer
|
573
|
+
) -> _UpdateMapRunResponseSuccess
|
574
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateMapRunResponseSuccess
|
575
|
+
|
576
|
+
interface _UpdateStateMachineResponseSuccess
|
577
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateStateMachineOutput]
|
578
|
+
def update_date: () -> ::Time
|
579
|
+
def revision_id: () -> ::String
|
580
|
+
def state_machine_version_arn: () -> ::String
|
581
|
+
end
|
582
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/States/Client.html#update_state_machine-instance_method
|
583
|
+
def update_state_machine: (
|
584
|
+
state_machine_arn: ::String,
|
585
|
+
?definition: ::String,
|
586
|
+
?role_arn: ::String,
|
587
|
+
?logging_configuration: {
|
588
|
+
level: ("ALL" | "ERROR" | "FATAL" | "OFF")?,
|
589
|
+
include_execution_data: bool?,
|
590
|
+
destinations: Array[
|
591
|
+
{
|
592
|
+
cloud_watch_logs_log_group: {
|
593
|
+
log_group_arn: ::String?
|
594
|
+
}?
|
595
|
+
},
|
596
|
+
]?
|
597
|
+
},
|
598
|
+
?tracing_configuration: {
|
599
|
+
enabled: bool?
|
600
|
+
},
|
601
|
+
?publish: bool,
|
602
|
+
?version_description: ::String
|
603
|
+
) -> _UpdateStateMachineResponseSuccess
|
604
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateStateMachineResponseSuccess
|
605
|
+
|
606
|
+
interface _UpdateStateMachineAliasResponseSuccess
|
607
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateStateMachineAliasOutput]
|
608
|
+
def update_date: () -> ::Time
|
609
|
+
end
|
610
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/States/Client.html#update_state_machine_alias-instance_method
|
611
|
+
def update_state_machine_alias: (
|
612
|
+
state_machine_alias_arn: ::String,
|
613
|
+
?description: ::String,
|
614
|
+
?routing_configuration: Array[
|
615
|
+
{
|
616
|
+
state_machine_version_arn: ::String,
|
617
|
+
weight: ::Integer
|
618
|
+
},
|
619
|
+
]
|
620
|
+
) -> _UpdateStateMachineAliasResponseSuccess
|
621
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateStateMachineAliasResponseSuccess
|
622
|
+
|
623
|
+
interface _ValidateStateMachineDefinitionResponseSuccess
|
624
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ValidateStateMachineDefinitionOutput]
|
625
|
+
def result: () -> ("OK" | "FAIL")
|
626
|
+
def diagnostics: () -> ::Array[Types::ValidateStateMachineDefinitionDiagnostic]
|
627
|
+
end
|
628
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/States/Client.html#validate_state_machine_definition-instance_method
|
629
|
+
def validate_state_machine_definition: (
|
630
|
+
definition: ::String,
|
631
|
+
?type: ("STANDARD" | "EXPRESS")
|
632
|
+
) -> _ValidateStateMachineDefinitionResponseSuccess
|
633
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ValidateStateMachineDefinitionResponseSuccess
|
634
|
+
end
|
635
|
+
end
|
636
|
+
end
|
637
|
+
|