aws-sdk-swf 1.49.0 → 1.51.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.
data/sig/client.rbs ADDED
@@ -0,0 +1,716 @@
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 SWF
10
+ class Client < ::Seahorse::Client::Base
11
+ include ::Aws::ClientStubs
12
+
13
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SWF/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 _CountClosedWorkflowExecutionsResponseSuccess
77
+ include ::Seahorse::Client::_ResponseSuccess[Types::WorkflowExecutionCount]
78
+ def count: () -> ::Integer
79
+ def truncated: () -> bool
80
+ end
81
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SWF/Client.html#count_closed_workflow_executions-instance_method
82
+ def count_closed_workflow_executions: (
83
+ domain: ::String,
84
+ ?start_time_filter: {
85
+ oldest_date: ::Time,
86
+ latest_date: ::Time?
87
+ },
88
+ ?close_time_filter: {
89
+ oldest_date: ::Time,
90
+ latest_date: ::Time?
91
+ },
92
+ ?execution_filter: {
93
+ workflow_id: ::String
94
+ },
95
+ ?type_filter: {
96
+ name: ::String,
97
+ version: ::String?
98
+ },
99
+ ?tag_filter: {
100
+ tag: ::String
101
+ },
102
+ ?close_status_filter: {
103
+ status: ("COMPLETED" | "FAILED" | "CANCELED" | "TERMINATED" | "CONTINUED_AS_NEW" | "TIMED_OUT")
104
+ }
105
+ ) -> _CountClosedWorkflowExecutionsResponseSuccess
106
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CountClosedWorkflowExecutionsResponseSuccess
107
+
108
+ interface _CountOpenWorkflowExecutionsResponseSuccess
109
+ include ::Seahorse::Client::_ResponseSuccess[Types::WorkflowExecutionCount]
110
+ def count: () -> ::Integer
111
+ def truncated: () -> bool
112
+ end
113
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SWF/Client.html#count_open_workflow_executions-instance_method
114
+ def count_open_workflow_executions: (
115
+ domain: ::String,
116
+ start_time_filter: {
117
+ oldest_date: ::Time,
118
+ latest_date: ::Time?
119
+ },
120
+ ?type_filter: {
121
+ name: ::String,
122
+ version: ::String?
123
+ },
124
+ ?tag_filter: {
125
+ tag: ::String
126
+ },
127
+ ?execution_filter: {
128
+ workflow_id: ::String
129
+ }
130
+ ) -> _CountOpenWorkflowExecutionsResponseSuccess
131
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CountOpenWorkflowExecutionsResponseSuccess
132
+
133
+ interface _CountPendingActivityTasksResponseSuccess
134
+ include ::Seahorse::Client::_ResponseSuccess[Types::PendingTaskCount]
135
+ def count: () -> ::Integer
136
+ def truncated: () -> bool
137
+ end
138
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SWF/Client.html#count_pending_activity_tasks-instance_method
139
+ def count_pending_activity_tasks: (
140
+ domain: ::String,
141
+ task_list: {
142
+ name: ::String
143
+ }
144
+ ) -> _CountPendingActivityTasksResponseSuccess
145
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CountPendingActivityTasksResponseSuccess
146
+
147
+ interface _CountPendingDecisionTasksResponseSuccess
148
+ include ::Seahorse::Client::_ResponseSuccess[Types::PendingTaskCount]
149
+ def count: () -> ::Integer
150
+ def truncated: () -> bool
151
+ end
152
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SWF/Client.html#count_pending_decision_tasks-instance_method
153
+ def count_pending_decision_tasks: (
154
+ domain: ::String,
155
+ task_list: {
156
+ name: ::String
157
+ }
158
+ ) -> _CountPendingDecisionTasksResponseSuccess
159
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CountPendingDecisionTasksResponseSuccess
160
+
161
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SWF/Client.html#deprecate_activity_type-instance_method
162
+ def deprecate_activity_type: (
163
+ domain: ::String,
164
+ activity_type: {
165
+ name: ::String,
166
+ version: ::String
167
+ }
168
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
169
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
170
+
171
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SWF/Client.html#deprecate_domain-instance_method
172
+ def deprecate_domain: (
173
+ name: ::String
174
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
175
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
176
+
177
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SWF/Client.html#deprecate_workflow_type-instance_method
178
+ def deprecate_workflow_type: (
179
+ domain: ::String,
180
+ workflow_type: {
181
+ name: ::String,
182
+ version: ::String
183
+ }
184
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
185
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
186
+
187
+ interface _DescribeActivityTypeResponseSuccess
188
+ include ::Seahorse::Client::_ResponseSuccess[Types::ActivityTypeDetail]
189
+ def type_info: () -> Types::ActivityTypeInfo
190
+ def configuration: () -> Types::ActivityTypeConfiguration
191
+ end
192
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SWF/Client.html#describe_activity_type-instance_method
193
+ def describe_activity_type: (
194
+ domain: ::String,
195
+ activity_type: {
196
+ name: ::String,
197
+ version: ::String
198
+ }
199
+ ) -> _DescribeActivityTypeResponseSuccess
200
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeActivityTypeResponseSuccess
201
+
202
+ interface _DescribeDomainResponseSuccess
203
+ include ::Seahorse::Client::_ResponseSuccess[Types::DomainDetail]
204
+ def domain_info: () -> Types::DomainInfo
205
+ def configuration: () -> Types::DomainConfiguration
206
+ end
207
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SWF/Client.html#describe_domain-instance_method
208
+ def describe_domain: (
209
+ name: ::String
210
+ ) -> _DescribeDomainResponseSuccess
211
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeDomainResponseSuccess
212
+
213
+ interface _DescribeWorkflowExecutionResponseSuccess
214
+ include ::Seahorse::Client::_ResponseSuccess[Types::WorkflowExecutionDetail]
215
+ def execution_info: () -> Types::WorkflowExecutionInfo
216
+ def execution_configuration: () -> Types::WorkflowExecutionConfiguration
217
+ def open_counts: () -> Types::WorkflowExecutionOpenCounts
218
+ def latest_activity_task_timestamp: () -> ::Time
219
+ def latest_execution_context: () -> ::String
220
+ end
221
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SWF/Client.html#describe_workflow_execution-instance_method
222
+ def describe_workflow_execution: (
223
+ domain: ::String,
224
+ execution: {
225
+ workflow_id: ::String,
226
+ run_id: ::String
227
+ }
228
+ ) -> _DescribeWorkflowExecutionResponseSuccess
229
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeWorkflowExecutionResponseSuccess
230
+
231
+ interface _DescribeWorkflowTypeResponseSuccess
232
+ include ::Seahorse::Client::_ResponseSuccess[Types::WorkflowTypeDetail]
233
+ def type_info: () -> Types::WorkflowTypeInfo
234
+ def configuration: () -> Types::WorkflowTypeConfiguration
235
+ end
236
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SWF/Client.html#describe_workflow_type-instance_method
237
+ def describe_workflow_type: (
238
+ domain: ::String,
239
+ workflow_type: {
240
+ name: ::String,
241
+ version: ::String
242
+ }
243
+ ) -> _DescribeWorkflowTypeResponseSuccess
244
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeWorkflowTypeResponseSuccess
245
+
246
+ interface _GetWorkflowExecutionHistoryResponseSuccess
247
+ include ::Seahorse::Client::_ResponseSuccess[Types::History]
248
+ def events: () -> ::Array[Types::HistoryEvent]
249
+ def next_page_token: () -> ::String
250
+ end
251
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SWF/Client.html#get_workflow_execution_history-instance_method
252
+ def get_workflow_execution_history: (
253
+ domain: ::String,
254
+ execution: {
255
+ workflow_id: ::String,
256
+ run_id: ::String
257
+ },
258
+ ?next_page_token: ::String,
259
+ ?maximum_page_size: ::Integer,
260
+ ?reverse_order: bool
261
+ ) -> _GetWorkflowExecutionHistoryResponseSuccess
262
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetWorkflowExecutionHistoryResponseSuccess
263
+
264
+ interface _ListActivityTypesResponseSuccess
265
+ include ::Seahorse::Client::_ResponseSuccess[Types::ActivityTypeInfos]
266
+ def type_infos: () -> ::Array[Types::ActivityTypeInfo]
267
+ def next_page_token: () -> ::String
268
+ end
269
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SWF/Client.html#list_activity_types-instance_method
270
+ def list_activity_types: (
271
+ domain: ::String,
272
+ ?name: ::String,
273
+ registration_status: ("REGISTERED" | "DEPRECATED"),
274
+ ?next_page_token: ::String,
275
+ ?maximum_page_size: ::Integer,
276
+ ?reverse_order: bool
277
+ ) -> _ListActivityTypesResponseSuccess
278
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListActivityTypesResponseSuccess
279
+
280
+ interface _ListClosedWorkflowExecutionsResponseSuccess
281
+ include ::Seahorse::Client::_ResponseSuccess[Types::WorkflowExecutionInfos]
282
+ def execution_infos: () -> ::Array[Types::WorkflowExecutionInfo]
283
+ def next_page_token: () -> ::String
284
+ end
285
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SWF/Client.html#list_closed_workflow_executions-instance_method
286
+ def list_closed_workflow_executions: (
287
+ domain: ::String,
288
+ ?start_time_filter: {
289
+ oldest_date: ::Time,
290
+ latest_date: ::Time?
291
+ },
292
+ ?close_time_filter: {
293
+ oldest_date: ::Time,
294
+ latest_date: ::Time?
295
+ },
296
+ ?execution_filter: {
297
+ workflow_id: ::String
298
+ },
299
+ ?close_status_filter: {
300
+ status: ("COMPLETED" | "FAILED" | "CANCELED" | "TERMINATED" | "CONTINUED_AS_NEW" | "TIMED_OUT")
301
+ },
302
+ ?type_filter: {
303
+ name: ::String,
304
+ version: ::String?
305
+ },
306
+ ?tag_filter: {
307
+ tag: ::String
308
+ },
309
+ ?next_page_token: ::String,
310
+ ?maximum_page_size: ::Integer,
311
+ ?reverse_order: bool
312
+ ) -> _ListClosedWorkflowExecutionsResponseSuccess
313
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListClosedWorkflowExecutionsResponseSuccess
314
+
315
+ interface _ListDomainsResponseSuccess
316
+ include ::Seahorse::Client::_ResponseSuccess[Types::DomainInfos]
317
+ def domain_infos: () -> ::Array[Types::DomainInfo]
318
+ def next_page_token: () -> ::String
319
+ end
320
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SWF/Client.html#list_domains-instance_method
321
+ def list_domains: (
322
+ ?next_page_token: ::String,
323
+ registration_status: ("REGISTERED" | "DEPRECATED"),
324
+ ?maximum_page_size: ::Integer,
325
+ ?reverse_order: bool
326
+ ) -> _ListDomainsResponseSuccess
327
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListDomainsResponseSuccess
328
+
329
+ interface _ListOpenWorkflowExecutionsResponseSuccess
330
+ include ::Seahorse::Client::_ResponseSuccess[Types::WorkflowExecutionInfos]
331
+ def execution_infos: () -> ::Array[Types::WorkflowExecutionInfo]
332
+ def next_page_token: () -> ::String
333
+ end
334
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SWF/Client.html#list_open_workflow_executions-instance_method
335
+ def list_open_workflow_executions: (
336
+ domain: ::String,
337
+ start_time_filter: {
338
+ oldest_date: ::Time,
339
+ latest_date: ::Time?
340
+ },
341
+ ?type_filter: {
342
+ name: ::String,
343
+ version: ::String?
344
+ },
345
+ ?tag_filter: {
346
+ tag: ::String
347
+ },
348
+ ?next_page_token: ::String,
349
+ ?maximum_page_size: ::Integer,
350
+ ?reverse_order: bool,
351
+ ?execution_filter: {
352
+ workflow_id: ::String
353
+ }
354
+ ) -> _ListOpenWorkflowExecutionsResponseSuccess
355
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListOpenWorkflowExecutionsResponseSuccess
356
+
357
+ interface _ListTagsForResourceResponseSuccess
358
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceOutput]
359
+ def tags: () -> ::Array[Types::ResourceTag]
360
+ end
361
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SWF/Client.html#list_tags_for_resource-instance_method
362
+ def list_tags_for_resource: (
363
+ resource_arn: ::String
364
+ ) -> _ListTagsForResourceResponseSuccess
365
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForResourceResponseSuccess
366
+
367
+ interface _ListWorkflowTypesResponseSuccess
368
+ include ::Seahorse::Client::_ResponseSuccess[Types::WorkflowTypeInfos]
369
+ def type_infos: () -> ::Array[Types::WorkflowTypeInfo]
370
+ def next_page_token: () -> ::String
371
+ end
372
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SWF/Client.html#list_workflow_types-instance_method
373
+ def list_workflow_types: (
374
+ domain: ::String,
375
+ ?name: ::String,
376
+ registration_status: ("REGISTERED" | "DEPRECATED"),
377
+ ?next_page_token: ::String,
378
+ ?maximum_page_size: ::Integer,
379
+ ?reverse_order: bool
380
+ ) -> _ListWorkflowTypesResponseSuccess
381
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListWorkflowTypesResponseSuccess
382
+
383
+ interface _PollForActivityTaskResponseSuccess
384
+ include ::Seahorse::Client::_ResponseSuccess[Types::ActivityTask]
385
+ def task_token: () -> ::String
386
+ def activity_id: () -> ::String
387
+ def started_event_id: () -> ::Integer
388
+ def workflow_execution: () -> Types::WorkflowExecution
389
+ def activity_type: () -> Types::ActivityType
390
+ def input: () -> ::String
391
+ end
392
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SWF/Client.html#poll_for_activity_task-instance_method
393
+ def poll_for_activity_task: (
394
+ domain: ::String,
395
+ task_list: {
396
+ name: ::String
397
+ },
398
+ ?identity: ::String
399
+ ) -> _PollForActivityTaskResponseSuccess
400
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PollForActivityTaskResponseSuccess
401
+
402
+ interface _PollForDecisionTaskResponseSuccess
403
+ include ::Seahorse::Client::_ResponseSuccess[Types::DecisionTask]
404
+ def task_token: () -> ::String
405
+ def started_event_id: () -> ::Integer
406
+ def workflow_execution: () -> Types::WorkflowExecution
407
+ def workflow_type: () -> Types::WorkflowType
408
+ def events: () -> ::Array[Types::HistoryEvent]
409
+ def next_page_token: () -> ::String
410
+ def previous_started_event_id: () -> ::Integer
411
+ end
412
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SWF/Client.html#poll_for_decision_task-instance_method
413
+ def poll_for_decision_task: (
414
+ domain: ::String,
415
+ task_list: {
416
+ name: ::String
417
+ },
418
+ ?identity: ::String,
419
+ ?next_page_token: ::String,
420
+ ?maximum_page_size: ::Integer,
421
+ ?reverse_order: bool,
422
+ ?start_at_previous_started_event: bool
423
+ ) -> _PollForDecisionTaskResponseSuccess
424
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PollForDecisionTaskResponseSuccess
425
+
426
+ interface _RecordActivityTaskHeartbeatResponseSuccess
427
+ include ::Seahorse::Client::_ResponseSuccess[Types::ActivityTaskStatus]
428
+ def cancel_requested: () -> bool
429
+ end
430
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SWF/Client.html#record_activity_task_heartbeat-instance_method
431
+ def record_activity_task_heartbeat: (
432
+ task_token: ::String,
433
+ ?details: ::String
434
+ ) -> _RecordActivityTaskHeartbeatResponseSuccess
435
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _RecordActivityTaskHeartbeatResponseSuccess
436
+
437
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SWF/Client.html#register_activity_type-instance_method
438
+ def register_activity_type: (
439
+ domain: ::String,
440
+ name: ::String,
441
+ version: ::String,
442
+ ?description: ::String,
443
+ ?default_task_start_to_close_timeout: ::String,
444
+ ?default_task_heartbeat_timeout: ::String,
445
+ ?default_task_list: {
446
+ name: ::String
447
+ },
448
+ ?default_task_priority: ::String,
449
+ ?default_task_schedule_to_start_timeout: ::String,
450
+ ?default_task_schedule_to_close_timeout: ::String
451
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
452
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
453
+
454
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SWF/Client.html#register_domain-instance_method
455
+ def register_domain: (
456
+ name: ::String,
457
+ ?description: ::String,
458
+ workflow_execution_retention_period_in_days: ::String,
459
+ ?tags: Array[
460
+ {
461
+ key: ::String,
462
+ value: ::String?
463
+ },
464
+ ]
465
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
466
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
467
+
468
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SWF/Client.html#register_workflow_type-instance_method
469
+ def register_workflow_type: (
470
+ domain: ::String,
471
+ name: ::String,
472
+ version: ::String,
473
+ ?description: ::String,
474
+ ?default_task_start_to_close_timeout: ::String,
475
+ ?default_execution_start_to_close_timeout: ::String,
476
+ ?default_task_list: {
477
+ name: ::String
478
+ },
479
+ ?default_task_priority: ::String,
480
+ ?default_child_policy: ("TERMINATE" | "REQUEST_CANCEL" | "ABANDON"),
481
+ ?default_lambda_role: ::String
482
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
483
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
484
+
485
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SWF/Client.html#request_cancel_workflow_execution-instance_method
486
+ def request_cancel_workflow_execution: (
487
+ domain: ::String,
488
+ workflow_id: ::String,
489
+ ?run_id: ::String
490
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
491
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
492
+
493
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SWF/Client.html#respond_activity_task_canceled-instance_method
494
+ def respond_activity_task_canceled: (
495
+ task_token: ::String,
496
+ ?details: ::String
497
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
498
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
499
+
500
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SWF/Client.html#respond_activity_task_completed-instance_method
501
+ def respond_activity_task_completed: (
502
+ task_token: ::String,
503
+ ?result: ::String
504
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
505
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
506
+
507
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SWF/Client.html#respond_activity_task_failed-instance_method
508
+ def respond_activity_task_failed: (
509
+ task_token: ::String,
510
+ ?reason: ::String,
511
+ ?details: ::String
512
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
513
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
514
+
515
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SWF/Client.html#respond_decision_task_completed-instance_method
516
+ def respond_decision_task_completed: (
517
+ task_token: ::String,
518
+ ?decisions: Array[
519
+ {
520
+ decision_type: ("ScheduleActivityTask" | "RequestCancelActivityTask" | "CompleteWorkflowExecution" | "FailWorkflowExecution" | "CancelWorkflowExecution" | "ContinueAsNewWorkflowExecution" | "RecordMarker" | "StartTimer" | "CancelTimer" | "SignalExternalWorkflowExecution" | "RequestCancelExternalWorkflowExecution" | "StartChildWorkflowExecution" | "ScheduleLambdaFunction"),
521
+ schedule_activity_task_decision_attributes: {
522
+ activity_type: {
523
+ name: ::String,
524
+ version: ::String
525
+ },
526
+ activity_id: ::String,
527
+ control: ::String?,
528
+ input: ::String?,
529
+ schedule_to_close_timeout: ::String?,
530
+ task_list: {
531
+ name: ::String
532
+ }?,
533
+ task_priority: ::String?,
534
+ schedule_to_start_timeout: ::String?,
535
+ start_to_close_timeout: ::String?,
536
+ heartbeat_timeout: ::String?
537
+ }?,
538
+ request_cancel_activity_task_decision_attributes: {
539
+ activity_id: ::String
540
+ }?,
541
+ complete_workflow_execution_decision_attributes: {
542
+ result: ::String?
543
+ }?,
544
+ fail_workflow_execution_decision_attributes: {
545
+ reason: ::String?,
546
+ details: ::String?
547
+ }?,
548
+ cancel_workflow_execution_decision_attributes: {
549
+ details: ::String?
550
+ }?,
551
+ continue_as_new_workflow_execution_decision_attributes: {
552
+ input: ::String?,
553
+ execution_start_to_close_timeout: ::String?,
554
+ task_list: {
555
+ name: ::String
556
+ }?,
557
+ task_priority: ::String?,
558
+ task_start_to_close_timeout: ::String?,
559
+ child_policy: ("TERMINATE" | "REQUEST_CANCEL" | "ABANDON")?,
560
+ tag_list: Array[::String]?,
561
+ workflow_type_version: ::String?,
562
+ lambda_role: ::String?
563
+ }?,
564
+ record_marker_decision_attributes: {
565
+ marker_name: ::String,
566
+ details: ::String?
567
+ }?,
568
+ start_timer_decision_attributes: {
569
+ timer_id: ::String,
570
+ control: ::String?,
571
+ start_to_fire_timeout: ::String
572
+ }?,
573
+ cancel_timer_decision_attributes: {
574
+ timer_id: ::String
575
+ }?,
576
+ signal_external_workflow_execution_decision_attributes: {
577
+ workflow_id: ::String,
578
+ run_id: ::String?,
579
+ signal_name: ::String,
580
+ input: ::String?,
581
+ control: ::String?
582
+ }?,
583
+ request_cancel_external_workflow_execution_decision_attributes: {
584
+ workflow_id: ::String,
585
+ run_id: ::String?,
586
+ control: ::String?
587
+ }?,
588
+ start_child_workflow_execution_decision_attributes: {
589
+ workflow_type: {
590
+ name: ::String,
591
+ version: ::String
592
+ },
593
+ workflow_id: ::String,
594
+ control: ::String?,
595
+ input: ::String?,
596
+ execution_start_to_close_timeout: ::String?,
597
+ task_list: {
598
+ name: ::String
599
+ }?,
600
+ task_priority: ::String?,
601
+ task_start_to_close_timeout: ::String?,
602
+ child_policy: ("TERMINATE" | "REQUEST_CANCEL" | "ABANDON")?,
603
+ tag_list: Array[::String]?,
604
+ lambda_role: ::String?
605
+ }?,
606
+ schedule_lambda_function_decision_attributes: {
607
+ id: ::String,
608
+ name: ::String,
609
+ control: ::String?,
610
+ input: ::String?,
611
+ start_to_close_timeout: ::String?
612
+ }?
613
+ },
614
+ ],
615
+ ?execution_context: ::String,
616
+ ?task_list: {
617
+ name: ::String
618
+ },
619
+ ?task_list_schedule_to_start_timeout: ::String
620
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
621
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
622
+
623
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SWF/Client.html#signal_workflow_execution-instance_method
624
+ def signal_workflow_execution: (
625
+ domain: ::String,
626
+ workflow_id: ::String,
627
+ ?run_id: ::String,
628
+ signal_name: ::String,
629
+ ?input: ::String
630
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
631
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
632
+
633
+ interface _StartWorkflowExecutionResponseSuccess
634
+ include ::Seahorse::Client::_ResponseSuccess[Types::Run]
635
+ def run_id: () -> ::String
636
+ end
637
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SWF/Client.html#start_workflow_execution-instance_method
638
+ def start_workflow_execution: (
639
+ domain: ::String,
640
+ workflow_id: ::String,
641
+ workflow_type: {
642
+ name: ::String,
643
+ version: ::String
644
+ },
645
+ ?task_list: {
646
+ name: ::String
647
+ },
648
+ ?task_priority: ::String,
649
+ ?input: ::String,
650
+ ?execution_start_to_close_timeout: ::String,
651
+ ?tag_list: Array[::String],
652
+ ?task_start_to_close_timeout: ::String,
653
+ ?child_policy: ("TERMINATE" | "REQUEST_CANCEL" | "ABANDON"),
654
+ ?lambda_role: ::String
655
+ ) -> _StartWorkflowExecutionResponseSuccess
656
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartWorkflowExecutionResponseSuccess
657
+
658
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SWF/Client.html#tag_resource-instance_method
659
+ def tag_resource: (
660
+ resource_arn: ::String,
661
+ tags: Array[
662
+ {
663
+ key: ::String,
664
+ value: ::String?
665
+ },
666
+ ]
667
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
668
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
669
+
670
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SWF/Client.html#terminate_workflow_execution-instance_method
671
+ def terminate_workflow_execution: (
672
+ domain: ::String,
673
+ workflow_id: ::String,
674
+ ?run_id: ::String,
675
+ ?reason: ::String,
676
+ ?details: ::String,
677
+ ?child_policy: ("TERMINATE" | "REQUEST_CANCEL" | "ABANDON")
678
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
679
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
680
+
681
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SWF/Client.html#undeprecate_activity_type-instance_method
682
+ def undeprecate_activity_type: (
683
+ domain: ::String,
684
+ activity_type: {
685
+ name: ::String,
686
+ version: ::String
687
+ }
688
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
689
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
690
+
691
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SWF/Client.html#undeprecate_domain-instance_method
692
+ def undeprecate_domain: (
693
+ name: ::String
694
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
695
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
696
+
697
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SWF/Client.html#undeprecate_workflow_type-instance_method
698
+ def undeprecate_workflow_type: (
699
+ domain: ::String,
700
+ workflow_type: {
701
+ name: ::String,
702
+ version: ::String
703
+ }
704
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
705
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
706
+
707
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SWF/Client.html#untag_resource-instance_method
708
+ def untag_resource: (
709
+ resource_arn: ::String,
710
+ tag_keys: Array[::String]
711
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
712
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
713
+ end
714
+ end
715
+ end
716
+