aws-sdk 1.5.8 → 1.6.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (53) hide show
  1. data/lib/aws.rb +2 -0
  2. data/lib/aws/api_config/Route53-2012-02-29.yml +348 -0
  3. data/lib/aws/auto_scaling/client.rb +362 -588
  4. data/lib/aws/cloud_formation/client.rb +155 -224
  5. data/lib/aws/cloud_watch/client.rb +156 -229
  6. data/lib/aws/core.rb +67 -52
  7. data/lib/aws/core/client.rb +81 -82
  8. data/lib/aws/core/collection/with_limit_and_next_token.rb +2 -2
  9. data/lib/aws/core/configuration.rb +75 -72
  10. data/lib/aws/core/http/net_http_handler.rb +3 -3
  11. data/lib/aws/core/http/request.rb +107 -138
  12. data/lib/aws/core/inflection.rb +3 -3
  13. data/lib/aws/core/json_client.rb +106 -0
  14. data/lib/aws/core/option_grammar.rb +10 -1
  15. data/lib/aws/core/options/validator.rb +140 -0
  16. data/lib/aws/core/options/xml_serializer.rb +98 -0
  17. data/lib/aws/core/query_client.rb +131 -0
  18. data/lib/aws/core/rest_client.rb +90 -0
  19. data/lib/aws/core/rest_client/input_handler.rb +145 -0
  20. data/lib/aws/core/rest_client/output_handler.rb +43 -0
  21. data/lib/aws/core/signature/version_2.rb +7 -7
  22. data/lib/aws/core/signature/version_3.rb +5 -1
  23. data/lib/aws/core/signature/version_3_https.rb +51 -0
  24. data/lib/aws/core/signature/version_4.rb +5 -22
  25. data/lib/aws/core/signer.rb +1 -1
  26. data/lib/aws/core/uri_escape.rb +2 -0
  27. data/lib/aws/core/xml/frame.rb +8 -8
  28. data/lib/aws/core/xml/grammar.rb +8 -3
  29. data/lib/aws/dynamo_db/client.rb +600 -662
  30. data/lib/aws/ec2/client.rb +2688 -3492
  31. data/lib/aws/ec2/request.rb +0 -1
  32. data/lib/aws/elb/client.rb +280 -407
  33. data/lib/aws/emr/client.rb +7 -7
  34. data/lib/aws/iam/client.rb +822 -1268
  35. data/lib/aws/route_53.rb +71 -0
  36. data/lib/aws/route_53/client.rb +272 -0
  37. data/lib/aws/route_53/config.rb +18 -0
  38. data/lib/aws/route_53/errors.rb +22 -0
  39. data/lib/aws/route_53/request.rb +23 -0
  40. data/lib/aws/s3/object_version_collection.rb +6 -6
  41. data/lib/aws/s3/paginated_collection.rb +1 -1
  42. data/lib/aws/s3/request.rb +10 -5
  43. data/lib/aws/simple_db/client.rb +184 -234
  44. data/lib/aws/simple_email_service/client.rb +147 -238
  45. data/lib/aws/simple_workflow/client.rb +997 -1191
  46. data/lib/aws/sns/client.rb +176 -264
  47. data/lib/aws/sqs/client.rb +162 -253
  48. data/lib/aws/sqs/queue.rb +1 -1
  49. data/lib/aws/sqs/request.rb +4 -0
  50. data/lib/aws/sts/client.rb +57 -66
  51. metadata +95 -71
  52. data/lib/aws/core/client/query_json.rb +0 -112
  53. data/lib/aws/core/client/query_xml.rb +0 -122
@@ -19,7 +19,7 @@ module AWS
19
19
 
20
20
  API_VERSION = '2012-01-25'
21
21
 
22
- extend Core::Client::QueryJSON
22
+ extend Core::JSONClient
23
23
 
24
24
  # @private
25
25
  TARGET_PREFIX = "SimpleWorkflowService."
@@ -47,1374 +47,1180 @@ module AWS
47
47
 
48
48
  # Calls the CountClosedWorkflowExecutions API operation.
49
49
  # @method count_closed_workflow_executions(options = {})
50
- #
51
- # === Options:
52
- #
53
- # * +:domain+ - *required* - (String)
54
- # * +:start_time_filter+ - (Hash)
55
- # * +:oldest_date+ - *required* - (Integer<unix timestamp>)
56
- # * +:latest_date+ - (Integer<unix timestamp>)
57
- # * +:close_time_filter+ - (Hash)
58
- # * +:oldest_date+ - *required* - (Integer<unix timestamp>)
59
- # * +:latest_date+ - (Integer<unix timestamp>)
60
- # * +:execution_filter+ - (Hash)
61
- # * +:workflow_id+ - *required* - (String)
62
- # * +:type_filter+ - (Hash)
63
- # * +:name+ - *required* - (String)
64
- # * +:version+ - (String)
65
- # * +:tag_filter+ - (Hash)
66
- # * +:tag+ - *required* - (String)
67
- # * +:close_status_filter+ - (Hash)
68
- # * +:status+ - *required* - (String)
69
- #
70
- # === Response Structure:
71
- #
72
- # * +count+ - (Integer)
73
- # * +truncated+ - (Boolean)
74
- #
50
+ # @param [Hash] options
51
+ # * +:domain+ - *required* - (String)
52
+ # * +:start_time_filter+ - (Hash)
53
+ # * +:oldest_date+ - *required* - (Integer<unix timestamp>)
54
+ # * +:latest_date+ - (Integer<unix timestamp>)
55
+ # * +:close_time_filter+ - (Hash)
56
+ # * +:oldest_date+ - *required* - (Integer<unix timestamp>)
57
+ # * +:latest_date+ - (Integer<unix timestamp>)
58
+ # * +:execution_filter+ - (Hash)
59
+ # * +:workflow_id+ - *required* - (String)
60
+ # * +:type_filter+ - (Hash)
61
+ # * +:name+ - *required* - (String)
62
+ # * +:version+ - (String)
63
+ # * +:tag_filter+ - (Hash)
64
+ # * +:tag+ - *required* - (String)
65
+ # * +:close_status_filter+ - (Hash)
66
+ # * +:status+ - *required* - (String)
75
67
  # @return [Core::Response]
76
- #
68
+ # The #data method of the response object returns
69
+ # a hash with the following structure:
70
+ # * +count+ - (Integer)
71
+ # * +truncated+ - (Boolean)
77
72
  define_client_method :count_closed_workflow_executions, 'CountClosedWorkflowExecutions'
78
73
 
79
74
  # Calls the CountOpenWorkflowExecutions API operation.
80
75
  # @method count_open_workflow_executions(options = {})
81
- #
82
- # === Options:
83
- #
84
- # * +:domain+ - *required* - (String)
85
- # * +:start_time_filter+ - *required* - (Hash)
86
- # * +:oldest_date+ - *required* - (Integer<unix timestamp>)
87
- # * +:latest_date+ - (Integer<unix timestamp>)
88
- # * +:type_filter+ - (Hash)
89
- # * +:name+ - *required* - (String)
90
- # * +:version+ - (String)
91
- # * +:tag_filter+ - (Hash)
92
- # * +:tag+ - *required* - (String)
93
- # * +:execution_filter+ - (Hash)
94
- # * +:workflow_id+ - *required* - (String)
95
- #
96
- # === Response Structure:
97
- #
98
- # * +count+ - (Integer)
99
- # * +truncated+ - (Boolean)
100
- #
76
+ # @param [Hash] options
77
+ # * +:domain+ - *required* - (String)
78
+ # * +:start_time_filter+ - *required* - (Hash)
79
+ # * +:oldest_date+ - *required* - (Integer<unix timestamp>)
80
+ # * +:latest_date+ - (Integer<unix timestamp>)
81
+ # * +:type_filter+ - (Hash)
82
+ # * +:name+ - *required* - (String)
83
+ # * +:version+ - (String)
84
+ # * +:tag_filter+ - (Hash)
85
+ # * +:tag+ - *required* - (String)
86
+ # * +:execution_filter+ - (Hash)
87
+ # * +:workflow_id+ - *required* - (String)
101
88
  # @return [Core::Response]
102
- #
89
+ # The #data method of the response object returns
90
+ # a hash with the following structure:
91
+ # * +count+ - (Integer)
92
+ # * +truncated+ - (Boolean)
103
93
  define_client_method :count_open_workflow_executions, 'CountOpenWorkflowExecutions'
104
94
 
105
95
  # Calls the CountPendingActivityTasks API operation.
106
96
  # @method count_pending_activity_tasks(options = {})
107
- #
108
- # === Options:
109
- #
110
- # * +:domain+ - *required* - (String)
111
- # * +:task_list+ - *required* - (Hash)
112
- # * +:name+ - *required* - (String)
113
- #
114
- # === Response Structure:
115
- #
116
- # * +count+ - (Integer)
117
- # * +truncated+ - (Boolean)
118
- #
97
+ # @param [Hash] options
98
+ # * +:domain+ - *required* - (String)
99
+ # * +:task_list+ - *required* - (Hash)
100
+ # * +:name+ - *required* - (String)
119
101
  # @return [Core::Response]
120
- #
102
+ # The #data method of the response object returns
103
+ # a hash with the following structure:
104
+ # * +count+ - (Integer)
105
+ # * +truncated+ - (Boolean)
121
106
  define_client_method :count_pending_activity_tasks, 'CountPendingActivityTasks'
122
107
 
123
108
  # Calls the CountPendingDecisionTasks API operation.
124
109
  # @method count_pending_decision_tasks(options = {})
125
- #
126
- # === Options:
127
- #
128
- # * +:domain+ - *required* - (String)
129
- # * +:task_list+ - *required* - (Hash)
130
- # * +:name+ - *required* - (String)
131
- #
132
- # === Response Structure:
133
- #
134
- # * +count+ - (Integer)
135
- # * +truncated+ - (Boolean)
136
- #
110
+ # @param [Hash] options
111
+ # * +:domain+ - *required* - (String)
112
+ # * +:task_list+ - *required* - (Hash)
113
+ # * +:name+ - *required* - (String)
137
114
  # @return [Core::Response]
138
- #
115
+ # The #data method of the response object returns
116
+ # a hash with the following structure:
117
+ # * +count+ - (Integer)
118
+ # * +truncated+ - (Boolean)
139
119
  define_client_method :count_pending_decision_tasks, 'CountPendingDecisionTasks'
140
120
 
141
121
  # Calls the DeprecateActivityType API operation.
142
122
  # @method deprecate_activity_type(options = {})
143
- #
144
- # === Options:
145
- #
146
- # * +:domain+ - *required* - (String)
147
- # * +:activity_type+ - *required* - (Hash)
148
- # * +:name+ - *required* - (String)
149
- # * +:version+ - *required* - (String)
150
- #
151
- # === Response Structure:
152
- #
153
- # This method returns no response data.
154
- #
123
+ # @param [Hash] options
124
+ # * +:domain+ - *required* - (String)
125
+ # * +:activity_type+ - *required* - (Hash)
126
+ # * +:name+ - *required* - (String)
127
+ # * +:version+ - *required* - (String)
155
128
  # @return [Core::Response]
156
- #
157
129
  define_client_method :deprecate_activity_type, 'DeprecateActivityType'
158
130
 
159
131
  # Calls the DeprecateDomain API operation.
160
132
  # @method deprecate_domain(options = {})
161
- #
162
- # === Options:
163
- #
164
- # * +:name+ - *required* - (String)
165
- #
166
- # === Response Structure:
167
- #
168
- # This method returns no response data.
169
- #
133
+ # @param [Hash] options
134
+ # * +:name+ - *required* - (String)
170
135
  # @return [Core::Response]
171
- #
172
136
  define_client_method :deprecate_domain, 'DeprecateDomain'
173
137
 
174
138
  # Calls the DeprecateWorkflowType API operation.
175
139
  # @method deprecate_workflow_type(options = {})
176
- #
177
- # === Options:
178
- #
179
- # * +:domain+ - *required* - (String)
180
- # * +:workflow_type+ - *required* - (Hash)
181
- # * +:name+ - *required* - (String)
182
- # * +:version+ - *required* - (String)
183
- #
184
- # === Response Structure:
185
- #
186
- # This method returns no response data.
187
- #
140
+ # @param [Hash] options
141
+ # * +:domain+ - *required* - (String)
142
+ # * +:workflow_type+ - *required* - (Hash)
143
+ # * +:name+ - *required* - (String)
144
+ # * +:version+ - *required* - (String)
188
145
  # @return [Core::Response]
189
- #
190
146
  define_client_method :deprecate_workflow_type, 'DeprecateWorkflowType'
191
147
 
192
148
  # Calls the DescribeActivityType API operation.
193
149
  # @method describe_activity_type(options = {})
194
- #
195
- # === Options:
196
- #
197
- # * +:domain+ - *required* - (String)
198
- # * +:activity_type+ - *required* - (Hash)
199
- # * +:name+ - *required* - (String)
200
- # * +:version+ - *required* - (String)
201
- #
202
- # === Response Structure:
203
- #
204
- # * +typeInfo+ - (Hash)
205
- # * +activityType+ - (Hash)
206
- # * +name+ - (String)
207
- # * +version+ - (String)
208
- # * +status+ - (String)
209
- # * +description+ - (String)
210
- # * +creationDate+ - (Time)
211
- # * +deprecationDate+ - (Time)
212
- # * +configuration+ - (Hash)
213
- # * +defaultTaskStartToCloseTimeout+ - (String)
214
- # * +defaultTaskHeartbeatTimeout+ - (String)
215
- # * +defaultTaskList+ - (Hash)
216
- # * +name+ - (String)
217
- # * +defaultTaskScheduleToStartTimeout+ - (String)
218
- # * +defaultTaskScheduleToCloseTimeout+ - (String)
219
- #
150
+ # @param [Hash] options
151
+ # * +:domain+ - *required* - (String)
152
+ # * +:activity_type+ - *required* - (Hash)
153
+ # * +:name+ - *required* - (String)
154
+ # * +:version+ - *required* - (String)
220
155
  # @return [Core::Response]
221
- #
156
+ # The #data method of the response object returns
157
+ # a hash with the following structure:
158
+ # * +typeInfo+ - (Hash)
159
+ # * +activityType+ - (Hash)
160
+ # * +name+ - (String)
161
+ # * +version+ - (String)
162
+ # * +status+ - (String)
163
+ # * +description+ - (String)
164
+ # * +creationDate+ - (Time)
165
+ # * +deprecationDate+ - (Time)
166
+ # * +configuration+ - (Hash)
167
+ # * +defaultTaskStartToCloseTimeout+ - (String)
168
+ # * +defaultTaskHeartbeatTimeout+ - (String)
169
+ # * +defaultTaskList+ - (Hash)
170
+ # * +name+ - (String)
171
+ # * +defaultTaskScheduleToStartTimeout+ - (String)
172
+ # * +defaultTaskScheduleToCloseTimeout+ - (String)
222
173
  define_client_method :describe_activity_type, 'DescribeActivityType'
223
174
 
224
175
  # Calls the DescribeDomain API operation.
225
176
  # @method describe_domain(options = {})
226
- #
227
- # === Options:
228
- #
229
- # * +:name+ - *required* - (String)
230
- #
231
- # === Response Structure:
232
- #
233
- # * +domainInfo+ - (Hash)
234
- # * +name+ - (String)
235
- # * +status+ - (String)
236
- # * +description+ - (String)
237
- # * +configuration+ - (Hash)
238
- # * +workflowExecutionRetentionPeriodInDays+ - (String)
239
- #
177
+ # @param [Hash] options
178
+ # * +:name+ - *required* - (String)
240
179
  # @return [Core::Response]
241
- #
180
+ # The #data method of the response object returns
181
+ # a hash with the following structure:
182
+ # * +domainInfo+ - (Hash)
183
+ # * +name+ - (String)
184
+ # * +status+ - (String)
185
+ # * +description+ - (String)
186
+ # * +configuration+ - (Hash)
187
+ # * +workflowExecutionRetentionPeriodInDays+ - (String)
242
188
  define_client_method :describe_domain, 'DescribeDomain'
243
189
 
244
190
  # Calls the DescribeWorkflowExecution API operation.
245
191
  # @method describe_workflow_execution(options = {})
246
- #
247
- # === Options:
248
- #
249
- # * +:domain+ - *required* - (String)
250
- # * +:execution+ - *required* - (Hash)
251
- # * +:workflow_id+ - *required* - (String)
252
- # * +:run_id+ - *required* - (String)
253
- #
254
- # === Response Structure:
255
- #
256
- # * +executionInfo+ - (Hash)
257
- # * +execution+ - (Hash)
258
- # * +workflowId+ - (String)
259
- # * +runId+ - (String)
260
- # * +workflowType+ - (Hash)
261
- # * +name+ - (String)
262
- # * +version+ - (String)
263
- # * +startTimestamp+ - (Time)
264
- # * +closeTimestamp+ - (Time)
265
- # * +executionStatus+ - (String)
266
- # * +closeStatus+ - (String)
267
- # * +parent+ - (Hash)
268
- # * +workflowId+ - (String)
269
- # * +runId+ - (String)
270
- # * +tagList+ - (Array<String>)
271
- # * +cancelRequested+ - (Boolean)
272
- # * +executionConfiguration+ - (Hash)
273
- # * +taskStartToCloseTimeout+ - (String)
274
- # * +executionStartToCloseTimeout+ - (String)
275
- # * +taskList+ - (Hash)
276
- # * +name+ - (String)
277
- # * +childPolicy+ - (String)
278
- # * +openCounts+ - (Hash)
279
- # * +openActivityTasks+ - (Integer)
280
- # * +openDecisionTasks+ - (Integer)
281
- # * +openTimers+ - (Integer)
282
- # * +openChildWorkflowExecutions+ - (Integer)
283
- # * +latestActivityTaskTimestamp+ - (Time)
284
- # * +latestExecutionContext+ - (String)
285
- #
286
- # @return [Core::Response]
287
- #
288
- define_client_method :describe_workflow_execution, 'DescribeWorkflowExecution'
289
-
290
- # Calls the DescribeWorkflowType API operation.
291
- # @method describe_workflow_type(options = {})
292
- #
293
- # === Options:
294
- #
295
- # * +:domain+ - *required* - (String)
296
- # * +:workflow_type+ - *required* - (Hash)
297
- # * +:name+ - *required* - (String)
298
- # * +:version+ - *required* - (String)
299
- #
300
- # === Response Structure:
301
- #
302
- # * +typeInfo+ - (Hash)
303
- # * +workflowType+ - (Hash)
304
- # * +name+ - (String)
305
- # * +version+ - (String)
306
- # * +status+ - (String)
307
- # * +description+ - (String)
308
- # * +creationDate+ - (Time)
309
- # * +deprecationDate+ - (Time)
310
- # * +configuration+ - (Hash)
311
- # * +defaultTaskStartToCloseTimeout+ - (String)
312
- # * +defaultExecutionStartToCloseTimeout+ - (String)
313
- # * +defaultTaskList+ - (Hash)
314
- # * +name+ - (String)
315
- # * +defaultChildPolicy+ - (String)
316
- #
192
+ # @param [Hash] options
193
+ # * +:domain+ - *required* - (String)
194
+ # * +:execution+ - *required* - (Hash)
195
+ # * +:workflow_id+ - *required* - (String)
196
+ # * +:run_id+ - *required* - (String)
317
197
  # @return [Core::Response]
318
- #
319
- define_client_method :describe_workflow_type, 'DescribeWorkflowType'
320
-
321
- # Calls the GetWorkflowExecutionHistory API operation.
322
- # @method get_workflow_execution_history(options = {})
323
- #
324
- # === Options:
325
- #
326
- # * +:domain+ - *required* - (String)
327
- # * +:execution+ - *required* - (Hash)
328
- # * +:workflow_id+ - *required* - (String)
329
- # * +:run_id+ - *required* - (String)
330
- # * +:next_page_token+ - (String)
331
- # * +:maximum_page_size+ - (Integer)
332
- # * +:reverse_order+ - (Boolean)
333
- #
334
- # === Response Structure:
335
- #
336
- # * +events+ - (Array<Hash>)
337
- # * +eventTimestamp+ - (Time)
338
- # * +eventType+ - (String)
339
- # * +eventId+ - (Integer)
340
- # * +workflowExecutionStartedEventAttributes+ - (Hash)
341
- # * +input+ - (String)
342
- # * +executionStartToCloseTimeout+ - (String)
343
- # * +taskStartToCloseTimeout+ - (String)
344
- # * +childPolicy+ - (String)
345
- # * +taskList+ - (Hash)
346
- # * +name+ - (String)
347
- # * +workflowType+ - (Hash)
348
- # * +name+ - (String)
349
- # * +version+ - (String)
350
- # * +tagList+ - (Array<String>)
351
- # * +continuedExecutionRunId+ - (String)
352
- # * +parentWorkflowExecution+ - (Hash)
198
+ # The #data method of the response object returns
199
+ # a hash with the following structure:
200
+ # * +executionInfo+ - (Hash)
201
+ # * +execution+ - (Hash)
353
202
  # * +workflowId+ - (String)
354
203
  # * +runId+ - (String)
355
- # * +parentInitiatedEventId+ - (Integer)
356
- # * +workflowExecutionCompletedEventAttributes+ - (Hash)
357
- # * +result+ - (String)
358
- # * +decisionTaskCompletedEventId+ - (Integer)
359
- # * +completeWorkflowExecutionFailedEventAttributes+ - (Hash)
360
- # * +cause+ - (String)
361
- # * +decisionTaskCompletedEventId+ - (Integer)
362
- # * +workflowExecutionFailedEventAttributes+ - (Hash)
363
- # * +reason+ - (String)
364
- # * +details+ - (String)
365
- # * +decisionTaskCompletedEventId+ - (Integer)
366
- # * +failWorkflowExecutionFailedEventAttributes+ - (Hash)
367
- # * +cause+ - (String)
368
- # * +decisionTaskCompletedEventId+ - (Integer)
369
- # * +workflowExecutionTimedOutEventAttributes+ - (Hash)
370
- # * +timeoutType+ - (String)
371
- # * +childPolicy+ - (String)
372
- # * +workflowExecutionCanceledEventAttributes+ - (Hash)
373
- # * +details+ - (String)
374
- # * +decisionTaskCompletedEventId+ - (Integer)
375
- # * +cancelWorkflowExecutionFailedEventAttributes+ - (Hash)
376
- # * +cause+ - (String)
377
- # * +decisionTaskCompletedEventId+ - (Integer)
378
- # * +workflowExecutionContinuedAsNewEventAttributes+ - (Hash)
379
- # * +input+ - (String)
380
- # * +decisionTaskCompletedEventId+ - (Integer)
381
- # * +newExecutionRunId+ - (String)
382
- # * +executionStartToCloseTimeout+ - (String)
383
- # * +taskList+ - (Hash)
384
- # * +name+ - (String)
385
- # * +taskStartToCloseTimeout+ - (String)
386
- # * +childPolicy+ - (String)
387
- # * +tagList+ - (Array<String>)
388
204
  # * +workflowType+ - (Hash)
389
205
  # * +name+ - (String)
390
206
  # * +version+ - (String)
391
- # * +continueAsNewWorkflowExecutionFailedEventAttributes+ - (Hash)
392
- # * +cause+ - (String)
393
- # * +decisionTaskCompletedEventId+ - (Integer)
394
- # * +workflowExecutionTerminatedEventAttributes+ - (Hash)
395
- # * +reason+ - (String)
396
- # * +details+ - (String)
397
- # * +childPolicy+ - (String)
398
- # * +cause+ - (String)
399
- # * +workflowExecutionCancelRequestedEventAttributes+ - (Hash)
400
- # * +externalWorkflowExecution+ - (Hash)
401
- # * +workflowId+ - (String)
402
- # * +runId+ - (String)
403
- # * +externalInitiatedEventId+ - (Integer)
404
- # * +cause+ - (String)
405
- # * +decisionTaskScheduledEventAttributes+ - (Hash)
406
- # * +taskList+ - (Hash)
407
- # * +name+ - (String)
408
- # * +startToCloseTimeout+ - (String)
409
- # * +decisionTaskStartedEventAttributes+ - (Hash)
410
- # * +identity+ - (String)
411
- # * +scheduledEventId+ - (Integer)
412
- # * +decisionTaskCompletedEventAttributes+ - (Hash)
413
- # * +executionContext+ - (String)
414
- # * +scheduledEventId+ - (Integer)
415
- # * +startedEventId+ - (Integer)
416
- # * +decisionTaskTimedOutEventAttributes+ - (Hash)
417
- # * +timeoutType+ - (String)
418
- # * +scheduledEventId+ - (Integer)
419
- # * +startedEventId+ - (Integer)
420
- # * +activityTaskScheduledEventAttributes+ - (Hash)
421
- # * +activityType+ - (Hash)
422
- # * +name+ - (String)
423
- # * +version+ - (String)
424
- # * +activityId+ - (String)
425
- # * +input+ - (String)
426
- # * +control+ - (String)
427
- # * +scheduleToStartTimeout+ - (String)
428
- # * +scheduleToCloseTimeout+ - (String)
429
- # * +startToCloseTimeout+ - (String)
430
- # * +taskList+ - (Hash)
431
- # * +name+ - (String)
432
- # * +decisionTaskCompletedEventId+ - (Integer)
433
- # * +heartbeatTimeout+ - (String)
434
- # * +activityTaskStartedEventAttributes+ - (Hash)
435
- # * +identity+ - (String)
436
- # * +scheduledEventId+ - (Integer)
437
- # * +activityTaskCompletedEventAttributes+ - (Hash)
438
- # * +result+ - (String)
439
- # * +scheduledEventId+ - (Integer)
440
- # * +startedEventId+ - (Integer)
441
- # * +activityTaskFailedEventAttributes+ - (Hash)
442
- # * +reason+ - (String)
443
- # * +details+ - (String)
444
- # * +scheduledEventId+ - (Integer)
445
- # * +startedEventId+ - (Integer)
446
- # * +activityTaskTimedOutEventAttributes+ - (Hash)
447
- # * +timeoutType+ - (String)
448
- # * +scheduledEventId+ - (Integer)
449
- # * +startedEventId+ - (Integer)
450
- # * +details+ - (String)
451
- # * +activityTaskCanceledEventAttributes+ - (Hash)
452
- # * +details+ - (String)
453
- # * +scheduledEventId+ - (Integer)
454
- # * +startedEventId+ - (Integer)
455
- # * +latestCancelRequestedEventId+ - (Integer)
456
- # * +activityTaskCancelRequestedEventAttributes+ - (Hash)
457
- # * +decisionTaskCompletedEventId+ - (Integer)
458
- # * +activityId+ - (String)
459
- # * +workflowExecutionSignaledEventAttributes+ - (Hash)
460
- # * +signalName+ - (String)
461
- # * +input+ - (String)
462
- # * +externalWorkflowExecution+ - (Hash)
207
+ # * +startTimestamp+ - (Time)
208
+ # * +closeTimestamp+ - (Time)
209
+ # * +executionStatus+ - (String)
210
+ # * +closeStatus+ - (String)
211
+ # * +parent+ - (Hash)
463
212
  # * +workflowId+ - (String)
464
213
  # * +runId+ - (String)
465
- # * +externalInitiatedEventId+ - (Integer)
466
- # * +markerRecordedEventAttributes+ - (Hash)
467
- # * +markerName+ - (String)
468
- # * +details+ - (String)
469
- # * +decisionTaskCompletedEventId+ - (Integer)
470
- # * +timerStartedEventAttributes+ - (Hash)
471
- # * +timerId+ - (String)
472
- # * +control+ - (String)
473
- # * +startToFireTimeout+ - (String)
474
- # * +decisionTaskCompletedEventId+ - (Integer)
475
- # * +timerFiredEventAttributes+ - (Hash)
476
- # * +timerId+ - (String)
477
- # * +startedEventId+ - (Integer)
478
- # * +timerCanceledEventAttributes+ - (Hash)
479
- # * +timerId+ - (String)
480
- # * +startedEventId+ - (Integer)
481
- # * +decisionTaskCompletedEventId+ - (Integer)
482
- # * +startChildWorkflowExecutionInitiatedEventAttributes+ - (Hash)
483
- # * +workflowId+ - (String)
484
- # * +workflowType+ - (Hash)
485
- # * +name+ - (String)
486
- # * +version+ - (String)
487
- # * +control+ - (String)
488
- # * +input+ - (String)
214
+ # * +tagList+ - (Array<String>)
215
+ # * +cancelRequested+ - (Boolean)
216
+ # * +executionConfiguration+ - (Hash)
217
+ # * +taskStartToCloseTimeout+ - (String)
489
218
  # * +executionStartToCloseTimeout+ - (String)
490
219
  # * +taskList+ - (Hash)
491
220
  # * +name+ - (String)
492
- # * +decisionTaskCompletedEventId+ - (Integer)
493
221
  # * +childPolicy+ - (String)
494
- # * +taskStartToCloseTimeout+ - (String)
495
- # * +tagList+ - (Array<String>)
496
- # * +childWorkflowExecutionStartedEventAttributes+ - (Hash)
497
- # * +workflowExecution+ - (Hash)
498
- # * +workflowId+ - (String)
499
- # * +runId+ - (String)
222
+ # * +openCounts+ - (Hash)
223
+ # * +openActivityTasks+ - (Integer)
224
+ # * +openDecisionTasks+ - (Integer)
225
+ # * +openTimers+ - (Integer)
226
+ # * +openChildWorkflowExecutions+ - (Integer)
227
+ # * +latestActivityTaskTimestamp+ - (Time)
228
+ # * +latestExecutionContext+ - (String)
229
+ define_client_method :describe_workflow_execution, 'DescribeWorkflowExecution'
230
+
231
+ # Calls the DescribeWorkflowType API operation.
232
+ # @method describe_workflow_type(options = {})
233
+ # @param [Hash] options
234
+ # * +:domain+ - *required* - (String)
235
+ # * +:workflow_type+ - *required* - (Hash)
236
+ # * +:name+ - *required* - (String)
237
+ # * +:version+ - *required* - (String)
238
+ # @return [Core::Response]
239
+ # The #data method of the response object returns
240
+ # a hash with the following structure:
241
+ # * +typeInfo+ - (Hash)
500
242
  # * +workflowType+ - (Hash)
501
243
  # * +name+ - (String)
502
244
  # * +version+ - (String)
503
- # * +initiatedEventId+ - (Integer)
504
- # * +childWorkflowExecutionCompletedEventAttributes+ - (Hash)
505
- # * +workflowExecution+ - (Hash)
506
- # * +workflowId+ - (String)
507
- # * +runId+ - (String)
508
- # * +workflowType+ - (Hash)
245
+ # * +status+ - (String)
246
+ # * +description+ - (String)
247
+ # * +creationDate+ - (Time)
248
+ # * +deprecationDate+ - (Time)
249
+ # * +configuration+ - (Hash)
250
+ # * +defaultTaskStartToCloseTimeout+ - (String)
251
+ # * +defaultExecutionStartToCloseTimeout+ - (String)
252
+ # * +defaultTaskList+ - (Hash)
509
253
  # * +name+ - (String)
510
- # * +version+ - (String)
511
- # * +result+ - (String)
512
- # * +initiatedEventId+ - (Integer)
513
- # * +startedEventId+ - (Integer)
514
- # * +childWorkflowExecutionFailedEventAttributes+ - (Hash)
515
- # * +workflowExecution+ - (Hash)
254
+ # * +defaultChildPolicy+ - (String)
255
+ define_client_method :describe_workflow_type, 'DescribeWorkflowType'
256
+
257
+ # Calls the GetWorkflowExecutionHistory API operation.
258
+ # @method get_workflow_execution_history(options = {})
259
+ # @param [Hash] options
260
+ # * +:domain+ - *required* - (String)
261
+ # * +:execution+ - *required* - (Hash)
262
+ # * +:workflow_id+ - *required* - (String)
263
+ # * +:run_id+ - *required* - (String)
264
+ # * +:next_page_token+ - (String)
265
+ # * +:maximum_page_size+ - (Integer)
266
+ # * +:reverse_order+ - (Boolean)
267
+ # @return [Core::Response]
268
+ # The #data method of the response object returns
269
+ # a hash with the following structure:
270
+ # * +events+ - (Array<Hash>)
271
+ # * +eventTimestamp+ - (Time)
272
+ # * +eventType+ - (String)
273
+ # * +eventId+ - (Integer)
274
+ # * +workflowExecutionStartedEventAttributes+ - (Hash)
275
+ # * +input+ - (String)
276
+ # * +executionStartToCloseTimeout+ - (String)
277
+ # * +taskStartToCloseTimeout+ - (String)
278
+ # * +childPolicy+ - (String)
279
+ # * +taskList+ - (Hash)
280
+ # * +name+ - (String)
281
+ # * +workflowType+ - (Hash)
282
+ # * +name+ - (String)
283
+ # * +version+ - (String)
284
+ # * +tagList+ - (Array<String>)
285
+ # * +continuedExecutionRunId+ - (String)
286
+ # * +parentWorkflowExecution+ - (Hash)
287
+ # * +workflowId+ - (String)
288
+ # * +runId+ - (String)
289
+ # * +parentInitiatedEventId+ - (Integer)
290
+ # * +workflowExecutionCompletedEventAttributes+ - (Hash)
291
+ # * +result+ - (String)
292
+ # * +decisionTaskCompletedEventId+ - (Integer)
293
+ # * +completeWorkflowExecutionFailedEventAttributes+ - (Hash)
294
+ # * +cause+ - (String)
295
+ # * +decisionTaskCompletedEventId+ - (Integer)
296
+ # * +workflowExecutionFailedEventAttributes+ - (Hash)
297
+ # * +reason+ - (String)
298
+ # * +details+ - (String)
299
+ # * +decisionTaskCompletedEventId+ - (Integer)
300
+ # * +failWorkflowExecutionFailedEventAttributes+ - (Hash)
301
+ # * +cause+ - (String)
302
+ # * +decisionTaskCompletedEventId+ - (Integer)
303
+ # * +workflowExecutionTimedOutEventAttributes+ - (Hash)
304
+ # * +timeoutType+ - (String)
305
+ # * +childPolicy+ - (String)
306
+ # * +workflowExecutionCanceledEventAttributes+ - (Hash)
307
+ # * +details+ - (String)
308
+ # * +decisionTaskCompletedEventId+ - (Integer)
309
+ # * +cancelWorkflowExecutionFailedEventAttributes+ - (Hash)
310
+ # * +cause+ - (String)
311
+ # * +decisionTaskCompletedEventId+ - (Integer)
312
+ # * +workflowExecutionContinuedAsNewEventAttributes+ - (Hash)
313
+ # * +input+ - (String)
314
+ # * +decisionTaskCompletedEventId+ - (Integer)
315
+ # * +newExecutionRunId+ - (String)
316
+ # * +executionStartToCloseTimeout+ - (String)
317
+ # * +taskList+ - (Hash)
318
+ # * +name+ - (String)
319
+ # * +taskStartToCloseTimeout+ - (String)
320
+ # * +childPolicy+ - (String)
321
+ # * +tagList+ - (Array<String>)
322
+ # * +workflowType+ - (Hash)
323
+ # * +name+ - (String)
324
+ # * +version+ - (String)
325
+ # * +continueAsNewWorkflowExecutionFailedEventAttributes+ - (Hash)
326
+ # * +cause+ - (String)
327
+ # * +decisionTaskCompletedEventId+ - (Integer)
328
+ # * +workflowExecutionTerminatedEventAttributes+ - (Hash)
329
+ # * +reason+ - (String)
330
+ # * +details+ - (String)
331
+ # * +childPolicy+ - (String)
332
+ # * +cause+ - (String)
333
+ # * +workflowExecutionCancelRequestedEventAttributes+ - (Hash)
334
+ # * +externalWorkflowExecution+ - (Hash)
335
+ # * +workflowId+ - (String)
336
+ # * +runId+ - (String)
337
+ # * +externalInitiatedEventId+ - (Integer)
338
+ # * +cause+ - (String)
339
+ # * +decisionTaskScheduledEventAttributes+ - (Hash)
340
+ # * +taskList+ - (Hash)
341
+ # * +name+ - (String)
342
+ # * +startToCloseTimeout+ - (String)
343
+ # * +decisionTaskStartedEventAttributes+ - (Hash)
344
+ # * +identity+ - (String)
345
+ # * +scheduledEventId+ - (Integer)
346
+ # * +decisionTaskCompletedEventAttributes+ - (Hash)
347
+ # * +executionContext+ - (String)
348
+ # * +scheduledEventId+ - (Integer)
349
+ # * +startedEventId+ - (Integer)
350
+ # * +decisionTaskTimedOutEventAttributes+ - (Hash)
351
+ # * +timeoutType+ - (String)
352
+ # * +scheduledEventId+ - (Integer)
353
+ # * +startedEventId+ - (Integer)
354
+ # * +activityTaskScheduledEventAttributes+ - (Hash)
355
+ # * +activityType+ - (Hash)
356
+ # * +name+ - (String)
357
+ # * +version+ - (String)
358
+ # * +activityId+ - (String)
359
+ # * +input+ - (String)
360
+ # * +control+ - (String)
361
+ # * +scheduleToStartTimeout+ - (String)
362
+ # * +scheduleToCloseTimeout+ - (String)
363
+ # * +startToCloseTimeout+ - (String)
364
+ # * +taskList+ - (Hash)
365
+ # * +name+ - (String)
366
+ # * +decisionTaskCompletedEventId+ - (Integer)
367
+ # * +heartbeatTimeout+ - (String)
368
+ # * +activityTaskStartedEventAttributes+ - (Hash)
369
+ # * +identity+ - (String)
370
+ # * +scheduledEventId+ - (Integer)
371
+ # * +activityTaskCompletedEventAttributes+ - (Hash)
372
+ # * +result+ - (String)
373
+ # * +scheduledEventId+ - (Integer)
374
+ # * +startedEventId+ - (Integer)
375
+ # * +activityTaskFailedEventAttributes+ - (Hash)
376
+ # * +reason+ - (String)
377
+ # * +details+ - (String)
378
+ # * +scheduledEventId+ - (Integer)
379
+ # * +startedEventId+ - (Integer)
380
+ # * +activityTaskTimedOutEventAttributes+ - (Hash)
381
+ # * +timeoutType+ - (String)
382
+ # * +scheduledEventId+ - (Integer)
383
+ # * +startedEventId+ - (Integer)
384
+ # * +details+ - (String)
385
+ # * +activityTaskCanceledEventAttributes+ - (Hash)
386
+ # * +details+ - (String)
387
+ # * +scheduledEventId+ - (Integer)
388
+ # * +startedEventId+ - (Integer)
389
+ # * +latestCancelRequestedEventId+ - (Integer)
390
+ # * +activityTaskCancelRequestedEventAttributes+ - (Hash)
391
+ # * +decisionTaskCompletedEventId+ - (Integer)
392
+ # * +activityId+ - (String)
393
+ # * +workflowExecutionSignaledEventAttributes+ - (Hash)
394
+ # * +signalName+ - (String)
395
+ # * +input+ - (String)
396
+ # * +externalWorkflowExecution+ - (Hash)
397
+ # * +workflowId+ - (String)
398
+ # * +runId+ - (String)
399
+ # * +externalInitiatedEventId+ - (Integer)
400
+ # * +markerRecordedEventAttributes+ - (Hash)
401
+ # * +markerName+ - (String)
402
+ # * +details+ - (String)
403
+ # * +decisionTaskCompletedEventId+ - (Integer)
404
+ # * +timerStartedEventAttributes+ - (Hash)
405
+ # * +timerId+ - (String)
406
+ # * +control+ - (String)
407
+ # * +startToFireTimeout+ - (String)
408
+ # * +decisionTaskCompletedEventId+ - (Integer)
409
+ # * +timerFiredEventAttributes+ - (Hash)
410
+ # * +timerId+ - (String)
411
+ # * +startedEventId+ - (Integer)
412
+ # * +timerCanceledEventAttributes+ - (Hash)
413
+ # * +timerId+ - (String)
414
+ # * +startedEventId+ - (Integer)
415
+ # * +decisionTaskCompletedEventId+ - (Integer)
416
+ # * +startChildWorkflowExecutionInitiatedEventAttributes+ - (Hash)
516
417
  # * +workflowId+ - (String)
517
- # * +runId+ - (String)
518
- # * +workflowType+ - (Hash)
519
- # * +name+ - (String)
520
- # * +version+ - (String)
521
- # * +reason+ - (String)
522
- # * +details+ - (String)
523
- # * +initiatedEventId+ - (Integer)
524
- # * +startedEventId+ - (Integer)
525
- # * +childWorkflowExecutionTimedOutEventAttributes+ - (Hash)
526
- # * +workflowExecution+ - (Hash)
418
+ # * +workflowType+ - (Hash)
419
+ # * +name+ - (String)
420
+ # * +version+ - (String)
421
+ # * +control+ - (String)
422
+ # * +input+ - (String)
423
+ # * +executionStartToCloseTimeout+ - (String)
424
+ # * +taskList+ - (Hash)
425
+ # * +name+ - (String)
426
+ # * +decisionTaskCompletedEventId+ - (Integer)
427
+ # * +childPolicy+ - (String)
428
+ # * +taskStartToCloseTimeout+ - (String)
429
+ # * +tagList+ - (Array<String>)
430
+ # * +childWorkflowExecutionStartedEventAttributes+ - (Hash)
431
+ # * +workflowExecution+ - (Hash)
432
+ # * +workflowId+ - (String)
433
+ # * +runId+ - (String)
434
+ # * +workflowType+ - (Hash)
435
+ # * +name+ - (String)
436
+ # * +version+ - (String)
437
+ # * +initiatedEventId+ - (Integer)
438
+ # * +childWorkflowExecutionCompletedEventAttributes+ - (Hash)
439
+ # * +workflowExecution+ - (Hash)
440
+ # * +workflowId+ - (String)
441
+ # * +runId+ - (String)
442
+ # * +workflowType+ - (Hash)
443
+ # * +name+ - (String)
444
+ # * +version+ - (String)
445
+ # * +result+ - (String)
446
+ # * +initiatedEventId+ - (Integer)
447
+ # * +startedEventId+ - (Integer)
448
+ # * +childWorkflowExecutionFailedEventAttributes+ - (Hash)
449
+ # * +workflowExecution+ - (Hash)
450
+ # * +workflowId+ - (String)
451
+ # * +runId+ - (String)
452
+ # * +workflowType+ - (Hash)
453
+ # * +name+ - (String)
454
+ # * +version+ - (String)
455
+ # * +reason+ - (String)
456
+ # * +details+ - (String)
457
+ # * +initiatedEventId+ - (Integer)
458
+ # * +startedEventId+ - (Integer)
459
+ # * +childWorkflowExecutionTimedOutEventAttributes+ - (Hash)
460
+ # * +workflowExecution+ - (Hash)
461
+ # * +workflowId+ - (String)
462
+ # * +runId+ - (String)
463
+ # * +workflowType+ - (Hash)
464
+ # * +name+ - (String)
465
+ # * +version+ - (String)
466
+ # * +timeoutType+ - (String)
467
+ # * +initiatedEventId+ - (Integer)
468
+ # * +startedEventId+ - (Integer)
469
+ # * +childWorkflowExecutionCanceledEventAttributes+ - (Hash)
470
+ # * +workflowExecution+ - (Hash)
471
+ # * +workflowId+ - (String)
472
+ # * +runId+ - (String)
473
+ # * +workflowType+ - (Hash)
474
+ # * +name+ - (String)
475
+ # * +version+ - (String)
476
+ # * +details+ - (String)
477
+ # * +initiatedEventId+ - (Integer)
478
+ # * +startedEventId+ - (Integer)
479
+ # * +childWorkflowExecutionTerminatedEventAttributes+ - (Hash)
480
+ # * +workflowExecution+ - (Hash)
481
+ # * +workflowId+ - (String)
482
+ # * +runId+ - (String)
483
+ # * +workflowType+ - (Hash)
484
+ # * +name+ - (String)
485
+ # * +version+ - (String)
486
+ # * +initiatedEventId+ - (Integer)
487
+ # * +startedEventId+ - (Integer)
488
+ # * +signalExternalWorkflowExecutionInitiatedEventAttributes+ - (Hash)
527
489
  # * +workflowId+ - (String)
528
490
  # * +runId+ - (String)
529
- # * +workflowType+ - (Hash)
530
- # * +name+ - (String)
531
- # * +version+ - (String)
532
- # * +timeoutType+ - (String)
533
- # * +initiatedEventId+ - (Integer)
534
- # * +startedEventId+ - (Integer)
535
- # * +childWorkflowExecutionCanceledEventAttributes+ - (Hash)
536
- # * +workflowExecution+ - (Hash)
491
+ # * +signalName+ - (String)
492
+ # * +input+ - (String)
493
+ # * +decisionTaskCompletedEventId+ - (Integer)
494
+ # * +control+ - (String)
495
+ # * +externalWorkflowExecutionSignaledEventAttributes+ - (Hash)
496
+ # * +workflowExecution+ - (Hash)
497
+ # * +workflowId+ - (String)
498
+ # * +runId+ - (String)
499
+ # * +initiatedEventId+ - (Integer)
500
+ # * +signalExternalWorkflowExecutionFailedEventAttributes+ - (Hash)
537
501
  # * +workflowId+ - (String)
538
502
  # * +runId+ - (String)
539
- # * +workflowType+ - (Hash)
540
- # * +name+ - (String)
541
- # * +version+ - (String)
542
- # * +details+ - (String)
543
- # * +initiatedEventId+ - (Integer)
544
- # * +startedEventId+ - (Integer)
545
- # * +childWorkflowExecutionTerminatedEventAttributes+ - (Hash)
546
- # * +workflowExecution+ - (Hash)
503
+ # * +cause+ - (String)
504
+ # * +initiatedEventId+ - (Integer)
505
+ # * +decisionTaskCompletedEventId+ - (Integer)
506
+ # * +externalWorkflowExecutionCancelRequestedEventAttributes+ - (Hash)
507
+ # * +workflowExecution+ - (Hash)
508
+ # * +workflowId+ - (String)
509
+ # * +runId+ - (String)
510
+ # * +initiatedEventId+ - (Integer)
511
+ # * +requestCancelExternalWorkflowExecutionInitiatedEventAttributes+ - (Hash)
547
512
  # * +workflowId+ - (String)
548
513
  # * +runId+ - (String)
549
- # * +workflowType+ - (Hash)
550
- # * +name+ - (String)
551
- # * +version+ - (String)
552
- # * +initiatedEventId+ - (Integer)
553
- # * +startedEventId+ - (Integer)
554
- # * +signalExternalWorkflowExecutionInitiatedEventAttributes+ - (Hash)
555
- # * +workflowId+ - (String)
556
- # * +runId+ - (String)
557
- # * +signalName+ - (String)
558
- # * +input+ - (String)
559
- # * +decisionTaskCompletedEventId+ - (Integer)
560
- # * +control+ - (String)
561
- # * +externalWorkflowExecutionSignaledEventAttributes+ - (Hash)
562
- # * +workflowExecution+ - (Hash)
514
+ # * +decisionTaskCompletedEventId+ - (Integer)
515
+ # * +control+ - (String)
516
+ # * +requestCancelExternalWorkflowExecutionFailedEventAttributes+ - (Hash)
563
517
  # * +workflowId+ - (String)
564
518
  # * +runId+ - (String)
565
- # * +initiatedEventId+ - (Integer)
566
- # * +signalExternalWorkflowExecutionFailedEventAttributes+ - (Hash)
567
- # * +workflowId+ - (String)
568
- # * +runId+ - (String)
569
- # * +cause+ - (String)
570
- # * +initiatedEventId+ - (Integer)
571
- # * +decisionTaskCompletedEventId+ - (Integer)
572
- # * +externalWorkflowExecutionCancelRequestedEventAttributes+ - (Hash)
573
- # * +workflowExecution+ - (Hash)
519
+ # * +cause+ - (String)
520
+ # * +initiatedEventId+ - (Integer)
521
+ # * +decisionTaskCompletedEventId+ - (Integer)
522
+ # * +scheduleActivityTaskFailedEventAttributes+ - (Hash)
523
+ # * +activityType+ - (Hash)
524
+ # * +name+ - (String)
525
+ # * +version+ - (String)
526
+ # * +activityId+ - (String)
527
+ # * +cause+ - (String)
528
+ # * +decisionTaskCompletedEventId+ - (Integer)
529
+ # * +requestCancelActivityTaskFailedEventAttributes+ - (Hash)
530
+ # * +activityId+ - (String)
531
+ # * +cause+ - (String)
532
+ # * +decisionTaskCompletedEventId+ - (Integer)
533
+ # * +startTimerFailedEventAttributes+ - (Hash)
534
+ # * +timerId+ - (String)
535
+ # * +cause+ - (String)
536
+ # * +decisionTaskCompletedEventId+ - (Integer)
537
+ # * +cancelTimerFailedEventAttributes+ - (Hash)
538
+ # * +timerId+ - (String)
539
+ # * +cause+ - (String)
540
+ # * +decisionTaskCompletedEventId+ - (Integer)
541
+ # * +startChildWorkflowExecutionFailedEventAttributes+ - (Hash)
542
+ # * +workflowType+ - (Hash)
543
+ # * +name+ - (String)
544
+ # * +version+ - (String)
545
+ # * +cause+ - (String)
574
546
  # * +workflowId+ - (String)
575
- # * +runId+ - (String)
576
- # * +initiatedEventId+ - (Integer)
577
- # * +requestCancelExternalWorkflowExecutionInitiatedEventAttributes+ - (Hash)
578
- # * +workflowId+ - (String)
579
- # * +runId+ - (String)
580
- # * +decisionTaskCompletedEventId+ - (Integer)
581
- # * +control+ - (String)
582
- # * +requestCancelExternalWorkflowExecutionFailedEventAttributes+ - (Hash)
583
- # * +workflowId+ - (String)
584
- # * +runId+ - (String)
585
- # * +cause+ - (String)
586
- # * +initiatedEventId+ - (Integer)
587
- # * +decisionTaskCompletedEventId+ - (Integer)
588
- # * +scheduleActivityTaskFailedEventAttributes+ - (Hash)
589
- # * +activityType+ - (Hash)
590
- # * +name+ - (String)
591
- # * +version+ - (String)
592
- # * +activityId+ - (String)
593
- # * +cause+ - (String)
594
- # * +decisionTaskCompletedEventId+ - (Integer)
595
- # * +requestCancelActivityTaskFailedEventAttributes+ - (Hash)
596
- # * +activityId+ - (String)
597
- # * +cause+ - (String)
598
- # * +decisionTaskCompletedEventId+ - (Integer)
599
- # * +startTimerFailedEventAttributes+ - (Hash)
600
- # * +timerId+ - (String)
601
- # * +cause+ - (String)
602
- # * +decisionTaskCompletedEventId+ - (Integer)
603
- # * +cancelTimerFailedEventAttributes+ - (Hash)
604
- # * +timerId+ - (String)
605
- # * +cause+ - (String)
606
- # * +decisionTaskCompletedEventId+ - (Integer)
607
- # * +startChildWorkflowExecutionFailedEventAttributes+ - (Hash)
608
- # * +workflowType+ - (Hash)
609
- # * +name+ - (String)
610
- # * +version+ - (String)
611
- # * +cause+ - (String)
612
- # * +workflowId+ - (String)
613
- # * +initiatedEventId+ - (Integer)
614
- # * +decisionTaskCompletedEventId+ - (Integer)
615
- # * +nextPageToken+ - (String)
616
- #
617
- # @return [Core::Response]
618
- #
547
+ # * +initiatedEventId+ - (Integer)
548
+ # * +decisionTaskCompletedEventId+ - (Integer)
549
+ # * +nextPageToken+ - (String)
619
550
  define_client_method :get_workflow_execution_history, 'GetWorkflowExecutionHistory'
620
551
 
621
552
  # Calls the ListActivityTypes API operation.
622
553
  # @method list_activity_types(options = {})
623
- #
624
- # === Options:
625
- #
626
- # * +:domain+ - *required* - (String)
627
- # * +:name+ - (String)
628
- # * +:registration_status+ - *required* - (String)
629
- # * +:next_page_token+ - (String)
630
- # * +:maximum_page_size+ - (Integer)
631
- # * +:reverse_order+ - (Boolean)
632
- #
633
- # === Response Structure:
634
- #
635
- # * +typeInfos+ - (Array<Hash>)
636
- # * +activityType+ - (Hash)
637
- # * +name+ - (String)
638
- # * +version+ - (String)
639
- # * +status+ - (String)
640
- # * +description+ - (String)
641
- # * +creationDate+ - (Time)
642
- # * +deprecationDate+ - (Time)
643
- # * +nextPageToken+ - (String)
644
- #
554
+ # @param [Hash] options
555
+ # * +:domain+ - *required* - (String)
556
+ # * +:name+ - (String)
557
+ # * +:registration_status+ - *required* - (String)
558
+ # * +:next_page_token+ - (String)
559
+ # * +:maximum_page_size+ - (Integer)
560
+ # * +:reverse_order+ - (Boolean)
645
561
  # @return [Core::Response]
646
- #
562
+ # The #data method of the response object returns
563
+ # a hash with the following structure:
564
+ # * +typeInfos+ - (Array<Hash>)
565
+ # * +activityType+ - (Hash)
566
+ # * +name+ - (String)
567
+ # * +version+ - (String)
568
+ # * +status+ - (String)
569
+ # * +description+ - (String)
570
+ # * +creationDate+ - (Time)
571
+ # * +deprecationDate+ - (Time)
572
+ # * +nextPageToken+ - (String)
647
573
  define_client_method :list_activity_types, 'ListActivityTypes'
648
574
 
649
575
  # Calls the ListClosedWorkflowExecutions API operation.
650
576
  # @method list_closed_workflow_executions(options = {})
651
- #
652
- # === Options:
653
- #
654
- # * +:domain+ - *required* - (String)
655
- # * +:start_time_filter+ - (Hash)
656
- # * +:oldest_date+ - *required* - (Integer<unix timestamp>)
657
- # * +:latest_date+ - (Integer<unix timestamp>)
658
- # * +:close_time_filter+ - (Hash)
659
- # * +:oldest_date+ - *required* - (Integer<unix timestamp>)
660
- # * +:latest_date+ - (Integer<unix timestamp>)
661
- # * +:execution_filter+ - (Hash)
662
- # * +:workflow_id+ - *required* - (String)
663
- # * +:close_status_filter+ - (Hash)
664
- # * +:status+ - *required* - (String)
665
- # * +:type_filter+ - (Hash)
666
- # * +:name+ - *required* - (String)
667
- # * +:version+ - (String)
668
- # * +:tag_filter+ - (Hash)
669
- # * +:tag+ - *required* - (String)
670
- # * +:next_page_token+ - (String)
671
- # * +:maximum_page_size+ - (Integer)
672
- # * +:reverse_order+ - (Boolean)
673
- #
674
- # === Response Structure:
675
- #
676
- # * +executionInfos+ - (Array<Hash>)
677
- # * +execution+ - (Hash)
678
- # * +workflowId+ - (String)
679
- # * +runId+ - (String)
680
- # * +workflowType+ - (Hash)
681
- # * +name+ - (String)
682
- # * +version+ - (String)
683
- # * +startTimestamp+ - (Time)
684
- # * +closeTimestamp+ - (Time)
685
- # * +executionStatus+ - (String)
686
- # * +closeStatus+ - (String)
687
- # * +parent+ - (Hash)
688
- # * +workflowId+ - (String)
689
- # * +runId+ - (String)
690
- # * +tagList+ - (Array<String>)
691
- # * +cancelRequested+ - (Boolean)
692
- # * +nextPageToken+ - (String)
693
- #
577
+ # @param [Hash] options
578
+ # * +:domain+ - *required* - (String)
579
+ # * +:start_time_filter+ - (Hash)
580
+ # * +:oldest_date+ - *required* - (Integer<unix timestamp>)
581
+ # * +:latest_date+ - (Integer<unix timestamp>)
582
+ # * +:close_time_filter+ - (Hash)
583
+ # * +:oldest_date+ - *required* - (Integer<unix timestamp>)
584
+ # * +:latest_date+ - (Integer<unix timestamp>)
585
+ # * +:execution_filter+ - (Hash)
586
+ # * +:workflow_id+ - *required* - (String)
587
+ # * +:close_status_filter+ - (Hash)
588
+ # * +:status+ - *required* - (String)
589
+ # * +:type_filter+ - (Hash)
590
+ # * +:name+ - *required* - (String)
591
+ # * +:version+ - (String)
592
+ # * +:tag_filter+ - (Hash)
593
+ # * +:tag+ - *required* - (String)
594
+ # * +:next_page_token+ - (String)
595
+ # * +:maximum_page_size+ - (Integer)
596
+ # * +:reverse_order+ - (Boolean)
694
597
  # @return [Core::Response]
695
- #
598
+ # The #data method of the response object returns
599
+ # a hash with the following structure:
600
+ # * +executionInfos+ - (Array<Hash>)
601
+ # * +execution+ - (Hash)
602
+ # * +workflowId+ - (String)
603
+ # * +runId+ - (String)
604
+ # * +workflowType+ - (Hash)
605
+ # * +name+ - (String)
606
+ # * +version+ - (String)
607
+ # * +startTimestamp+ - (Time)
608
+ # * +closeTimestamp+ - (Time)
609
+ # * +executionStatus+ - (String)
610
+ # * +closeStatus+ - (String)
611
+ # * +parent+ - (Hash)
612
+ # * +workflowId+ - (String)
613
+ # * +runId+ - (String)
614
+ # * +tagList+ - (Array<String>)
615
+ # * +cancelRequested+ - (Boolean)
616
+ # * +nextPageToken+ - (String)
696
617
  define_client_method :list_closed_workflow_executions, 'ListClosedWorkflowExecutions'
697
618
 
698
619
  # Calls the ListDomains API operation.
699
620
  # @method list_domains(options = {})
700
- #
701
- # === Options:
702
- #
703
- # * +:next_page_token+ - (String)
704
- # * +:registration_status+ - *required* - (String)
705
- # * +:maximum_page_size+ - (Integer)
706
- # * +:reverse_order+ - (Boolean)
707
- #
708
- # === Response Structure:
709
- #
710
- # * +domainInfos+ - (Array<Hash>)
711
- # * +name+ - (String)
712
- # * +status+ - (String)
713
- # * +description+ - (String)
714
- # * +nextPageToken+ - (String)
715
- #
621
+ # @param [Hash] options
622
+ # * +:next_page_token+ - (String)
623
+ # * +:registration_status+ - *required* - (String)
624
+ # * +:maximum_page_size+ - (Integer)
625
+ # * +:reverse_order+ - (Boolean)
716
626
  # @return [Core::Response]
717
- #
627
+ # The #data method of the response object returns
628
+ # a hash with the following structure:
629
+ # * +domainInfos+ - (Array<Hash>)
630
+ # * +name+ - (String)
631
+ # * +status+ - (String)
632
+ # * +description+ - (String)
633
+ # * +nextPageToken+ - (String)
718
634
  define_client_method :list_domains, 'ListDomains'
719
635
 
720
636
  # Calls the ListOpenWorkflowExecutions API operation.
721
637
  # @method list_open_workflow_executions(options = {})
722
- #
723
- # === Options:
724
- #
725
- # * +:domain+ - *required* - (String)
726
- # * +:start_time_filter+ - *required* - (Hash)
727
- # * +:oldest_date+ - *required* - (Integer<unix timestamp>)
728
- # * +:latest_date+ - (Integer<unix timestamp>)
729
- # * +:type_filter+ - (Hash)
730
- # * +:name+ - *required* - (String)
731
- # * +:version+ - (String)
732
- # * +:tag_filter+ - (Hash)
733
- # * +:tag+ - *required* - (String)
734
- # * +:next_page_token+ - (String)
735
- # * +:maximum_page_size+ - (Integer)
736
- # * +:reverse_order+ - (Boolean)
737
- # * +:execution_filter+ - (Hash)
738
- # * +:workflow_id+ - *required* - (String)
739
- #
740
- # === Response Structure:
741
- #
742
- # * +executionInfos+ - (Array<Hash>)
743
- # * +execution+ - (Hash)
744
- # * +workflowId+ - (String)
745
- # * +runId+ - (String)
746
- # * +workflowType+ - (Hash)
747
- # * +name+ - (String)
748
- # * +version+ - (String)
749
- # * +startTimestamp+ - (Time)
750
- # * +closeTimestamp+ - (Time)
751
- # * +executionStatus+ - (String)
752
- # * +closeStatus+ - (String)
753
- # * +parent+ - (Hash)
754
- # * +workflowId+ - (String)
755
- # * +runId+ - (String)
756
- # * +tagList+ - (Array<String>)
757
- # * +cancelRequested+ - (Boolean)
758
- # * +nextPageToken+ - (String)
759
- #
638
+ # @param [Hash] options
639
+ # * +:domain+ - *required* - (String)
640
+ # * +:start_time_filter+ - *required* - (Hash)
641
+ # * +:oldest_date+ - *required* - (Integer<unix timestamp>)
642
+ # * +:latest_date+ - (Integer<unix timestamp>)
643
+ # * +:type_filter+ - (Hash)
644
+ # * +:name+ - *required* - (String)
645
+ # * +:version+ - (String)
646
+ # * +:tag_filter+ - (Hash)
647
+ # * +:tag+ - *required* - (String)
648
+ # * +:next_page_token+ - (String)
649
+ # * +:maximum_page_size+ - (Integer)
650
+ # * +:reverse_order+ - (Boolean)
651
+ # * +:execution_filter+ - (Hash)
652
+ # * +:workflow_id+ - *required* - (String)
760
653
  # @return [Core::Response]
761
- #
654
+ # The #data method of the response object returns
655
+ # a hash with the following structure:
656
+ # * +executionInfos+ - (Array<Hash>)
657
+ # * +execution+ - (Hash)
658
+ # * +workflowId+ - (String)
659
+ # * +runId+ - (String)
660
+ # * +workflowType+ - (Hash)
661
+ # * +name+ - (String)
662
+ # * +version+ - (String)
663
+ # * +startTimestamp+ - (Time)
664
+ # * +closeTimestamp+ - (Time)
665
+ # * +executionStatus+ - (String)
666
+ # * +closeStatus+ - (String)
667
+ # * +parent+ - (Hash)
668
+ # * +workflowId+ - (String)
669
+ # * +runId+ - (String)
670
+ # * +tagList+ - (Array<String>)
671
+ # * +cancelRequested+ - (Boolean)
672
+ # * +nextPageToken+ - (String)
762
673
  define_client_method :list_open_workflow_executions, 'ListOpenWorkflowExecutions'
763
674
 
764
675
  # Calls the ListWorkflowTypes API operation.
765
676
  # @method list_workflow_types(options = {})
766
- #
767
- # === Options:
768
- #
769
- # * +:domain+ - *required* - (String)
770
- # * +:name+ - (String)
771
- # * +:registration_status+ - *required* - (String)
772
- # * +:next_page_token+ - (String)
773
- # * +:maximum_page_size+ - (Integer)
774
- # * +:reverse_order+ - (Boolean)
775
- #
776
- # === Response Structure:
777
- #
778
- # * +typeInfos+ - (Array<Hash>)
779
- # * +workflowType+ - (Hash)
780
- # * +name+ - (String)
781
- # * +version+ - (String)
782
- # * +status+ - (String)
783
- # * +description+ - (String)
784
- # * +creationDate+ - (Time)
785
- # * +deprecationDate+ - (Time)
786
- # * +nextPageToken+ - (String)
787
- #
677
+ # @param [Hash] options
678
+ # * +:domain+ - *required* - (String)
679
+ # * +:name+ - (String)
680
+ # * +:registration_status+ - *required* - (String)
681
+ # * +:next_page_token+ - (String)
682
+ # * +:maximum_page_size+ - (Integer)
683
+ # * +:reverse_order+ - (Boolean)
788
684
  # @return [Core::Response]
789
- #
685
+ # The #data method of the response object returns
686
+ # a hash with the following structure:
687
+ # * +typeInfos+ - (Array<Hash>)
688
+ # * +workflowType+ - (Hash)
689
+ # * +name+ - (String)
690
+ # * +version+ - (String)
691
+ # * +status+ - (String)
692
+ # * +description+ - (String)
693
+ # * +creationDate+ - (Time)
694
+ # * +deprecationDate+ - (Time)
695
+ # * +nextPageToken+ - (String)
790
696
  define_client_method :list_workflow_types, 'ListWorkflowTypes'
791
697
 
792
698
  # Calls the PollForActivityTask API operation.
793
699
  # @method poll_for_activity_task(options = {})
794
- #
795
- # === Options:
796
- #
797
- # * +:domain+ - *required* - (String)
798
- # * +:task_list+ - *required* - (Hash)
799
- # * +:name+ - *required* - (String)
800
- # * +:identity+ - (String)
801
- #
802
- # === Response Structure:
803
- #
804
- # * +taskToken+ - (String)
805
- # * +activityId+ - (String)
806
- # * +startedEventId+ - (Integer)
807
- # * +workflowExecution+ - (Hash)
808
- # * +workflowId+ - (String)
809
- # * +runId+ - (String)
810
- # * +activityType+ - (Hash)
811
- # * +name+ - (String)
812
- # * +version+ - (String)
813
- # * +input+ - (String)
814
- #
700
+ # @param [Hash] options
701
+ # * +:domain+ - *required* - (String)
702
+ # * +:task_list+ - *required* - (Hash)
703
+ # * +:name+ - *required* - (String)
704
+ # * +:identity+ - (String)
815
705
  # @return [Core::Response]
816
- #
706
+ # The #data method of the response object returns
707
+ # a hash with the following structure:
708
+ # * +taskToken+ - (String)
709
+ # * +activityId+ - (String)
710
+ # * +startedEventId+ - (Integer)
711
+ # * +workflowExecution+ - (Hash)
712
+ # * +workflowId+ - (String)
713
+ # * +runId+ - (String)
714
+ # * +activityType+ - (Hash)
715
+ # * +name+ - (String)
716
+ # * +version+ - (String)
717
+ # * +input+ - (String)
817
718
  define_client_method :poll_for_activity_task, 'PollForActivityTask'
818
719
 
819
720
  # Calls the PollForDecisionTask API operation.
820
721
  # @method poll_for_decision_task(options = {})
821
- #
822
- # === Options:
823
- #
824
- # * +:domain+ - *required* - (String)
825
- # * +:task_list+ - *required* - (Hash)
826
- # * +:name+ - *required* - (String)
827
- # * +:identity+ - (String)
828
- # * +:next_page_token+ - (String)
829
- # * +:maximum_page_size+ - (Integer)
830
- # * +:reverse_order+ - (Boolean)
831
- #
832
- # === Response Structure:
833
- #
834
- # * +taskToken+ - (String)
835
- # * +startedEventId+ - (Integer)
836
- # * +workflowExecution+ - (Hash)
837
- # * +workflowId+ - (String)
838
- # * +runId+ - (String)
839
- # * +workflowType+ - (Hash)
840
- # * +name+ - (String)
841
- # * +version+ - (String)
842
- # * +events+ - (Array<Hash>)
843
- # * +eventTimestamp+ - (Time)
844
- # * +eventType+ - (String)
845
- # * +eventId+ - (Integer)
846
- # * +workflowExecutionStartedEventAttributes+ - (Hash)
847
- # * +input+ - (String)
848
- # * +executionStartToCloseTimeout+ - (String)
849
- # * +taskStartToCloseTimeout+ - (String)
850
- # * +childPolicy+ - (String)
851
- # * +taskList+ - (Hash)
852
- # * +name+ - (String)
853
- # * +workflowType+ - (Hash)
854
- # * +name+ - (String)
855
- # * +version+ - (String)
856
- # * +tagList+ - (Array<String>)
857
- # * +continuedExecutionRunId+ - (String)
858
- # * +parentWorkflowExecution+ - (Hash)
859
- # * +workflowId+ - (String)
860
- # * +runId+ - (String)
861
- # * +parentInitiatedEventId+ - (Integer)
862
- # * +workflowExecutionCompletedEventAttributes+ - (Hash)
863
- # * +result+ - (String)
864
- # * +decisionTaskCompletedEventId+ - (Integer)
865
- # * +completeWorkflowExecutionFailedEventAttributes+ - (Hash)
866
- # * +cause+ - (String)
867
- # * +decisionTaskCompletedEventId+ - (Integer)
868
- # * +workflowExecutionFailedEventAttributes+ - (Hash)
869
- # * +reason+ - (String)
870
- # * +details+ - (String)
871
- # * +decisionTaskCompletedEventId+ - (Integer)
872
- # * +failWorkflowExecutionFailedEventAttributes+ - (Hash)
873
- # * +cause+ - (String)
874
- # * +decisionTaskCompletedEventId+ - (Integer)
875
- # * +workflowExecutionTimedOutEventAttributes+ - (Hash)
876
- # * +timeoutType+ - (String)
877
- # * +childPolicy+ - (String)
878
- # * +workflowExecutionCanceledEventAttributes+ - (Hash)
879
- # * +details+ - (String)
880
- # * +decisionTaskCompletedEventId+ - (Integer)
881
- # * +cancelWorkflowExecutionFailedEventAttributes+ - (Hash)
882
- # * +cause+ - (String)
883
- # * +decisionTaskCompletedEventId+ - (Integer)
884
- # * +workflowExecutionContinuedAsNewEventAttributes+ - (Hash)
885
- # * +input+ - (String)
886
- # * +decisionTaskCompletedEventId+ - (Integer)
887
- # * +newExecutionRunId+ - (String)
888
- # * +executionStartToCloseTimeout+ - (String)
889
- # * +taskList+ - (Hash)
890
- # * +name+ - (String)
891
- # * +taskStartToCloseTimeout+ - (String)
892
- # * +childPolicy+ - (String)
893
- # * +tagList+ - (Array<String>)
894
- # * +workflowType+ - (Hash)
895
- # * +name+ - (String)
896
- # * +version+ - (String)
897
- # * +continueAsNewWorkflowExecutionFailedEventAttributes+ - (Hash)
898
- # * +cause+ - (String)
899
- # * +decisionTaskCompletedEventId+ - (Integer)
900
- # * +workflowExecutionTerminatedEventAttributes+ - (Hash)
901
- # * +reason+ - (String)
902
- # * +details+ - (String)
903
- # * +childPolicy+ - (String)
904
- # * +cause+ - (String)
905
- # * +workflowExecutionCancelRequestedEventAttributes+ - (Hash)
906
- # * +externalWorkflowExecution+ - (Hash)
907
- # * +workflowId+ - (String)
908
- # * +runId+ - (String)
909
- # * +externalInitiatedEventId+ - (Integer)
910
- # * +cause+ - (String)
911
- # * +decisionTaskScheduledEventAttributes+ - (Hash)
912
- # * +taskList+ - (Hash)
913
- # * +name+ - (String)
914
- # * +startToCloseTimeout+ - (String)
915
- # * +decisionTaskStartedEventAttributes+ - (Hash)
916
- # * +identity+ - (String)
917
- # * +scheduledEventId+ - (Integer)
918
- # * +decisionTaskCompletedEventAttributes+ - (Hash)
919
- # * +executionContext+ - (String)
920
- # * +scheduledEventId+ - (Integer)
921
- # * +startedEventId+ - (Integer)
922
- # * +decisionTaskTimedOutEventAttributes+ - (Hash)
923
- # * +timeoutType+ - (String)
924
- # * +scheduledEventId+ - (Integer)
925
- # * +startedEventId+ - (Integer)
926
- # * +activityTaskScheduledEventAttributes+ - (Hash)
927
- # * +activityType+ - (Hash)
928
- # * +name+ - (String)
929
- # * +version+ - (String)
930
- # * +activityId+ - (String)
931
- # * +input+ - (String)
932
- # * +control+ - (String)
933
- # * +scheduleToStartTimeout+ - (String)
934
- # * +scheduleToCloseTimeout+ - (String)
935
- # * +startToCloseTimeout+ - (String)
936
- # * +taskList+ - (Hash)
937
- # * +name+ - (String)
938
- # * +decisionTaskCompletedEventId+ - (Integer)
939
- # * +heartbeatTimeout+ - (String)
940
- # * +activityTaskStartedEventAttributes+ - (Hash)
941
- # * +identity+ - (String)
942
- # * +scheduledEventId+ - (Integer)
943
- # * +activityTaskCompletedEventAttributes+ - (Hash)
944
- # * +result+ - (String)
945
- # * +scheduledEventId+ - (Integer)
946
- # * +startedEventId+ - (Integer)
947
- # * +activityTaskFailedEventAttributes+ - (Hash)
948
- # * +reason+ - (String)
949
- # * +details+ - (String)
950
- # * +scheduledEventId+ - (Integer)
951
- # * +startedEventId+ - (Integer)
952
- # * +activityTaskTimedOutEventAttributes+ - (Hash)
953
- # * +timeoutType+ - (String)
954
- # * +scheduledEventId+ - (Integer)
955
- # * +startedEventId+ - (Integer)
956
- # * +details+ - (String)
957
- # * +activityTaskCanceledEventAttributes+ - (Hash)
958
- # * +details+ - (String)
959
- # * +scheduledEventId+ - (Integer)
960
- # * +startedEventId+ - (Integer)
961
- # * +latestCancelRequestedEventId+ - (Integer)
962
- # * +activityTaskCancelRequestedEventAttributes+ - (Hash)
963
- # * +decisionTaskCompletedEventId+ - (Integer)
964
- # * +activityId+ - (String)
965
- # * +workflowExecutionSignaledEventAttributes+ - (Hash)
966
- # * +signalName+ - (String)
967
- # * +input+ - (String)
968
- # * +externalWorkflowExecution+ - (Hash)
969
- # * +workflowId+ - (String)
970
- # * +runId+ - (String)
971
- # * +externalInitiatedEventId+ - (Integer)
972
- # * +markerRecordedEventAttributes+ - (Hash)
973
- # * +markerName+ - (String)
974
- # * +details+ - (String)
975
- # * +decisionTaskCompletedEventId+ - (Integer)
976
- # * +timerStartedEventAttributes+ - (Hash)
977
- # * +timerId+ - (String)
978
- # * +control+ - (String)
979
- # * +startToFireTimeout+ - (String)
980
- # * +decisionTaskCompletedEventId+ - (Integer)
981
- # * +timerFiredEventAttributes+ - (Hash)
982
- # * +timerId+ - (String)
983
- # * +startedEventId+ - (Integer)
984
- # * +timerCanceledEventAttributes+ - (Hash)
985
- # * +timerId+ - (String)
986
- # * +startedEventId+ - (Integer)
987
- # * +decisionTaskCompletedEventId+ - (Integer)
988
- # * +startChildWorkflowExecutionInitiatedEventAttributes+ - (Hash)
722
+ # @param [Hash] options
723
+ # * +:domain+ - *required* - (String)
724
+ # * +:task_list+ - *required* - (Hash)
725
+ # * +:name+ - *required* - (String)
726
+ # * +:identity+ - (String)
727
+ # * +:next_page_token+ - (String)
728
+ # * +:maximum_page_size+ - (Integer)
729
+ # * +:reverse_order+ - (Boolean)
730
+ # @return [Core::Response]
731
+ # The #data method of the response object returns
732
+ # a hash with the following structure:
733
+ # * +taskToken+ - (String)
734
+ # * +startedEventId+ - (Integer)
735
+ # * +workflowExecution+ - (Hash)
989
736
  # * +workflowId+ - (String)
990
- # * +workflowType+ - (Hash)
991
- # * +name+ - (String)
992
- # * +version+ - (String)
993
- # * +control+ - (String)
994
- # * +input+ - (String)
995
- # * +executionStartToCloseTimeout+ - (String)
996
- # * +taskList+ - (Hash)
997
- # * +name+ - (String)
998
- # * +decisionTaskCompletedEventId+ - (Integer)
999
- # * +childPolicy+ - (String)
1000
- # * +taskStartToCloseTimeout+ - (String)
1001
- # * +tagList+ - (Array<String>)
1002
- # * +childWorkflowExecutionStartedEventAttributes+ - (Hash)
1003
- # * +workflowExecution+ - (Hash)
737
+ # * +runId+ - (String)
738
+ # * +workflowType+ - (Hash)
739
+ # * +name+ - (String)
740
+ # * +version+ - (String)
741
+ # * +events+ - (Array<Hash>)
742
+ # * +eventTimestamp+ - (Time)
743
+ # * +eventType+ - (String)
744
+ # * +eventId+ - (Integer)
745
+ # * +workflowExecutionStartedEventAttributes+ - (Hash)
746
+ # * +input+ - (String)
747
+ # * +executionStartToCloseTimeout+ - (String)
748
+ # * +taskStartToCloseTimeout+ - (String)
749
+ # * +childPolicy+ - (String)
750
+ # * +taskList+ - (Hash)
751
+ # * +name+ - (String)
752
+ # * +workflowType+ - (Hash)
753
+ # * +name+ - (String)
754
+ # * +version+ - (String)
755
+ # * +tagList+ - (Array<String>)
756
+ # * +continuedExecutionRunId+ - (String)
757
+ # * +parentWorkflowExecution+ - (Hash)
758
+ # * +workflowId+ - (String)
759
+ # * +runId+ - (String)
760
+ # * +parentInitiatedEventId+ - (Integer)
761
+ # * +workflowExecutionCompletedEventAttributes+ - (Hash)
762
+ # * +result+ - (String)
763
+ # * +decisionTaskCompletedEventId+ - (Integer)
764
+ # * +completeWorkflowExecutionFailedEventAttributes+ - (Hash)
765
+ # * +cause+ - (String)
766
+ # * +decisionTaskCompletedEventId+ - (Integer)
767
+ # * +workflowExecutionFailedEventAttributes+ - (Hash)
768
+ # * +reason+ - (String)
769
+ # * +details+ - (String)
770
+ # * +decisionTaskCompletedEventId+ - (Integer)
771
+ # * +failWorkflowExecutionFailedEventAttributes+ - (Hash)
772
+ # * +cause+ - (String)
773
+ # * +decisionTaskCompletedEventId+ - (Integer)
774
+ # * +workflowExecutionTimedOutEventAttributes+ - (Hash)
775
+ # * +timeoutType+ - (String)
776
+ # * +childPolicy+ - (String)
777
+ # * +workflowExecutionCanceledEventAttributes+ - (Hash)
778
+ # * +details+ - (String)
779
+ # * +decisionTaskCompletedEventId+ - (Integer)
780
+ # * +cancelWorkflowExecutionFailedEventAttributes+ - (Hash)
781
+ # * +cause+ - (String)
782
+ # * +decisionTaskCompletedEventId+ - (Integer)
783
+ # * +workflowExecutionContinuedAsNewEventAttributes+ - (Hash)
784
+ # * +input+ - (String)
785
+ # * +decisionTaskCompletedEventId+ - (Integer)
786
+ # * +newExecutionRunId+ - (String)
787
+ # * +executionStartToCloseTimeout+ - (String)
788
+ # * +taskList+ - (Hash)
789
+ # * +name+ - (String)
790
+ # * +taskStartToCloseTimeout+ - (String)
791
+ # * +childPolicy+ - (String)
792
+ # * +tagList+ - (Array<String>)
793
+ # * +workflowType+ - (Hash)
794
+ # * +name+ - (String)
795
+ # * +version+ - (String)
796
+ # * +continueAsNewWorkflowExecutionFailedEventAttributes+ - (Hash)
797
+ # * +cause+ - (String)
798
+ # * +decisionTaskCompletedEventId+ - (Integer)
799
+ # * +workflowExecutionTerminatedEventAttributes+ - (Hash)
800
+ # * +reason+ - (String)
801
+ # * +details+ - (String)
802
+ # * +childPolicy+ - (String)
803
+ # * +cause+ - (String)
804
+ # * +workflowExecutionCancelRequestedEventAttributes+ - (Hash)
805
+ # * +externalWorkflowExecution+ - (Hash)
806
+ # * +workflowId+ - (String)
807
+ # * +runId+ - (String)
808
+ # * +externalInitiatedEventId+ - (Integer)
809
+ # * +cause+ - (String)
810
+ # * +decisionTaskScheduledEventAttributes+ - (Hash)
811
+ # * +taskList+ - (Hash)
812
+ # * +name+ - (String)
813
+ # * +startToCloseTimeout+ - (String)
814
+ # * +decisionTaskStartedEventAttributes+ - (Hash)
815
+ # * +identity+ - (String)
816
+ # * +scheduledEventId+ - (Integer)
817
+ # * +decisionTaskCompletedEventAttributes+ - (Hash)
818
+ # * +executionContext+ - (String)
819
+ # * +scheduledEventId+ - (Integer)
820
+ # * +startedEventId+ - (Integer)
821
+ # * +decisionTaskTimedOutEventAttributes+ - (Hash)
822
+ # * +timeoutType+ - (String)
823
+ # * +scheduledEventId+ - (Integer)
824
+ # * +startedEventId+ - (Integer)
825
+ # * +activityTaskScheduledEventAttributes+ - (Hash)
826
+ # * +activityType+ - (Hash)
827
+ # * +name+ - (String)
828
+ # * +version+ - (String)
829
+ # * +activityId+ - (String)
830
+ # * +input+ - (String)
831
+ # * +control+ - (String)
832
+ # * +scheduleToStartTimeout+ - (String)
833
+ # * +scheduleToCloseTimeout+ - (String)
834
+ # * +startToCloseTimeout+ - (String)
835
+ # * +taskList+ - (Hash)
836
+ # * +name+ - (String)
837
+ # * +decisionTaskCompletedEventId+ - (Integer)
838
+ # * +heartbeatTimeout+ - (String)
839
+ # * +activityTaskStartedEventAttributes+ - (Hash)
840
+ # * +identity+ - (String)
841
+ # * +scheduledEventId+ - (Integer)
842
+ # * +activityTaskCompletedEventAttributes+ - (Hash)
843
+ # * +result+ - (String)
844
+ # * +scheduledEventId+ - (Integer)
845
+ # * +startedEventId+ - (Integer)
846
+ # * +activityTaskFailedEventAttributes+ - (Hash)
847
+ # * +reason+ - (String)
848
+ # * +details+ - (String)
849
+ # * +scheduledEventId+ - (Integer)
850
+ # * +startedEventId+ - (Integer)
851
+ # * +activityTaskTimedOutEventAttributes+ - (Hash)
852
+ # * +timeoutType+ - (String)
853
+ # * +scheduledEventId+ - (Integer)
854
+ # * +startedEventId+ - (Integer)
855
+ # * +details+ - (String)
856
+ # * +activityTaskCanceledEventAttributes+ - (Hash)
857
+ # * +details+ - (String)
858
+ # * +scheduledEventId+ - (Integer)
859
+ # * +startedEventId+ - (Integer)
860
+ # * +latestCancelRequestedEventId+ - (Integer)
861
+ # * +activityTaskCancelRequestedEventAttributes+ - (Hash)
862
+ # * +decisionTaskCompletedEventId+ - (Integer)
863
+ # * +activityId+ - (String)
864
+ # * +workflowExecutionSignaledEventAttributes+ - (Hash)
865
+ # * +signalName+ - (String)
866
+ # * +input+ - (String)
867
+ # * +externalWorkflowExecution+ - (Hash)
868
+ # * +workflowId+ - (String)
869
+ # * +runId+ - (String)
870
+ # * +externalInitiatedEventId+ - (Integer)
871
+ # * +markerRecordedEventAttributes+ - (Hash)
872
+ # * +markerName+ - (String)
873
+ # * +details+ - (String)
874
+ # * +decisionTaskCompletedEventId+ - (Integer)
875
+ # * +timerStartedEventAttributes+ - (Hash)
876
+ # * +timerId+ - (String)
877
+ # * +control+ - (String)
878
+ # * +startToFireTimeout+ - (String)
879
+ # * +decisionTaskCompletedEventId+ - (Integer)
880
+ # * +timerFiredEventAttributes+ - (Hash)
881
+ # * +timerId+ - (String)
882
+ # * +startedEventId+ - (Integer)
883
+ # * +timerCanceledEventAttributes+ - (Hash)
884
+ # * +timerId+ - (String)
885
+ # * +startedEventId+ - (Integer)
886
+ # * +decisionTaskCompletedEventId+ - (Integer)
887
+ # * +startChildWorkflowExecutionInitiatedEventAttributes+ - (Hash)
1004
888
  # * +workflowId+ - (String)
1005
- # * +runId+ - (String)
1006
- # * +workflowType+ - (Hash)
1007
- # * +name+ - (String)
1008
- # * +version+ - (String)
1009
- # * +initiatedEventId+ - (Integer)
1010
- # * +childWorkflowExecutionCompletedEventAttributes+ - (Hash)
1011
- # * +workflowExecution+ - (Hash)
889
+ # * +workflowType+ - (Hash)
890
+ # * +name+ - (String)
891
+ # * +version+ - (String)
892
+ # * +control+ - (String)
893
+ # * +input+ - (String)
894
+ # * +executionStartToCloseTimeout+ - (String)
895
+ # * +taskList+ - (Hash)
896
+ # * +name+ - (String)
897
+ # * +decisionTaskCompletedEventId+ - (Integer)
898
+ # * +childPolicy+ - (String)
899
+ # * +taskStartToCloseTimeout+ - (String)
900
+ # * +tagList+ - (Array<String>)
901
+ # * +childWorkflowExecutionStartedEventAttributes+ - (Hash)
902
+ # * +workflowExecution+ - (Hash)
903
+ # * +workflowId+ - (String)
904
+ # * +runId+ - (String)
905
+ # * +workflowType+ - (Hash)
906
+ # * +name+ - (String)
907
+ # * +version+ - (String)
908
+ # * +initiatedEventId+ - (Integer)
909
+ # * +childWorkflowExecutionCompletedEventAttributes+ - (Hash)
910
+ # * +workflowExecution+ - (Hash)
911
+ # * +workflowId+ - (String)
912
+ # * +runId+ - (String)
913
+ # * +workflowType+ - (Hash)
914
+ # * +name+ - (String)
915
+ # * +version+ - (String)
916
+ # * +result+ - (String)
917
+ # * +initiatedEventId+ - (Integer)
918
+ # * +startedEventId+ - (Integer)
919
+ # * +childWorkflowExecutionFailedEventAttributes+ - (Hash)
920
+ # * +workflowExecution+ - (Hash)
921
+ # * +workflowId+ - (String)
922
+ # * +runId+ - (String)
923
+ # * +workflowType+ - (Hash)
924
+ # * +name+ - (String)
925
+ # * +version+ - (String)
926
+ # * +reason+ - (String)
927
+ # * +details+ - (String)
928
+ # * +initiatedEventId+ - (Integer)
929
+ # * +startedEventId+ - (Integer)
930
+ # * +childWorkflowExecutionTimedOutEventAttributes+ - (Hash)
931
+ # * +workflowExecution+ - (Hash)
932
+ # * +workflowId+ - (String)
933
+ # * +runId+ - (String)
934
+ # * +workflowType+ - (Hash)
935
+ # * +name+ - (String)
936
+ # * +version+ - (String)
937
+ # * +timeoutType+ - (String)
938
+ # * +initiatedEventId+ - (Integer)
939
+ # * +startedEventId+ - (Integer)
940
+ # * +childWorkflowExecutionCanceledEventAttributes+ - (Hash)
941
+ # * +workflowExecution+ - (Hash)
942
+ # * +workflowId+ - (String)
943
+ # * +runId+ - (String)
944
+ # * +workflowType+ - (Hash)
945
+ # * +name+ - (String)
946
+ # * +version+ - (String)
947
+ # * +details+ - (String)
948
+ # * +initiatedEventId+ - (Integer)
949
+ # * +startedEventId+ - (Integer)
950
+ # * +childWorkflowExecutionTerminatedEventAttributes+ - (Hash)
951
+ # * +workflowExecution+ - (Hash)
952
+ # * +workflowId+ - (String)
953
+ # * +runId+ - (String)
954
+ # * +workflowType+ - (Hash)
955
+ # * +name+ - (String)
956
+ # * +version+ - (String)
957
+ # * +initiatedEventId+ - (Integer)
958
+ # * +startedEventId+ - (Integer)
959
+ # * +signalExternalWorkflowExecutionInitiatedEventAttributes+ - (Hash)
1012
960
  # * +workflowId+ - (String)
1013
961
  # * +runId+ - (String)
1014
- # * +workflowType+ - (Hash)
1015
- # * +name+ - (String)
1016
- # * +version+ - (String)
1017
- # * +result+ - (String)
1018
- # * +initiatedEventId+ - (Integer)
1019
- # * +startedEventId+ - (Integer)
1020
- # * +childWorkflowExecutionFailedEventAttributes+ - (Hash)
1021
- # * +workflowExecution+ - (Hash)
962
+ # * +signalName+ - (String)
963
+ # * +input+ - (String)
964
+ # * +decisionTaskCompletedEventId+ - (Integer)
965
+ # * +control+ - (String)
966
+ # * +externalWorkflowExecutionSignaledEventAttributes+ - (Hash)
967
+ # * +workflowExecution+ - (Hash)
968
+ # * +workflowId+ - (String)
969
+ # * +runId+ - (String)
970
+ # * +initiatedEventId+ - (Integer)
971
+ # * +signalExternalWorkflowExecutionFailedEventAttributes+ - (Hash)
1022
972
  # * +workflowId+ - (String)
1023
973
  # * +runId+ - (String)
1024
- # * +workflowType+ - (Hash)
1025
- # * +name+ - (String)
1026
- # * +version+ - (String)
1027
- # * +reason+ - (String)
1028
- # * +details+ - (String)
1029
- # * +initiatedEventId+ - (Integer)
1030
- # * +startedEventId+ - (Integer)
1031
- # * +childWorkflowExecutionTimedOutEventAttributes+ - (Hash)
1032
- # * +workflowExecution+ - (Hash)
974
+ # * +cause+ - (String)
975
+ # * +initiatedEventId+ - (Integer)
976
+ # * +decisionTaskCompletedEventId+ - (Integer)
977
+ # * +externalWorkflowExecutionCancelRequestedEventAttributes+ - (Hash)
978
+ # * +workflowExecution+ - (Hash)
979
+ # * +workflowId+ - (String)
980
+ # * +runId+ - (String)
981
+ # * +initiatedEventId+ - (Integer)
982
+ # * +requestCancelExternalWorkflowExecutionInitiatedEventAttributes+ - (Hash)
1033
983
  # * +workflowId+ - (String)
1034
984
  # * +runId+ - (String)
1035
- # * +workflowType+ - (Hash)
1036
- # * +name+ - (String)
1037
- # * +version+ - (String)
1038
- # * +timeoutType+ - (String)
1039
- # * +initiatedEventId+ - (Integer)
1040
- # * +startedEventId+ - (Integer)
1041
- # * +childWorkflowExecutionCanceledEventAttributes+ - (Hash)
1042
- # * +workflowExecution+ - (Hash)
985
+ # * +decisionTaskCompletedEventId+ - (Integer)
986
+ # * +control+ - (String)
987
+ # * +requestCancelExternalWorkflowExecutionFailedEventAttributes+ - (Hash)
1043
988
  # * +workflowId+ - (String)
1044
989
  # * +runId+ - (String)
1045
- # * +workflowType+ - (Hash)
1046
- # * +name+ - (String)
1047
- # * +version+ - (String)
1048
- # * +details+ - (String)
1049
- # * +initiatedEventId+ - (Integer)
1050
- # * +startedEventId+ - (Integer)
1051
- # * +childWorkflowExecutionTerminatedEventAttributes+ - (Hash)
1052
- # * +workflowExecution+ - (Hash)
990
+ # * +cause+ - (String)
991
+ # * +initiatedEventId+ - (Integer)
992
+ # * +decisionTaskCompletedEventId+ - (Integer)
993
+ # * +scheduleActivityTaskFailedEventAttributes+ - (Hash)
994
+ # * +activityType+ - (Hash)
995
+ # * +name+ - (String)
996
+ # * +version+ - (String)
997
+ # * +activityId+ - (String)
998
+ # * +cause+ - (String)
999
+ # * +decisionTaskCompletedEventId+ - (Integer)
1000
+ # * +requestCancelActivityTaskFailedEventAttributes+ - (Hash)
1001
+ # * +activityId+ - (String)
1002
+ # * +cause+ - (String)
1003
+ # * +decisionTaskCompletedEventId+ - (Integer)
1004
+ # * +startTimerFailedEventAttributes+ - (Hash)
1005
+ # * +timerId+ - (String)
1006
+ # * +cause+ - (String)
1007
+ # * +decisionTaskCompletedEventId+ - (Integer)
1008
+ # * +cancelTimerFailedEventAttributes+ - (Hash)
1009
+ # * +timerId+ - (String)
1010
+ # * +cause+ - (String)
1011
+ # * +decisionTaskCompletedEventId+ - (Integer)
1012
+ # * +startChildWorkflowExecutionFailedEventAttributes+ - (Hash)
1013
+ # * +workflowType+ - (Hash)
1014
+ # * +name+ - (String)
1015
+ # * +version+ - (String)
1016
+ # * +cause+ - (String)
1053
1017
  # * +workflowId+ - (String)
1054
- # * +runId+ - (String)
1055
- # * +workflowType+ - (Hash)
1056
- # * +name+ - (String)
1057
- # * +version+ - (String)
1058
- # * +initiatedEventId+ - (Integer)
1059
- # * +startedEventId+ - (Integer)
1060
- # * +signalExternalWorkflowExecutionInitiatedEventAttributes+ - (Hash)
1061
- # * +workflowId+ - (String)
1062
- # * +runId+ - (String)
1063
- # * +signalName+ - (String)
1064
- # * +input+ - (String)
1065
- # * +decisionTaskCompletedEventId+ - (Integer)
1066
- # * +control+ - (String)
1067
- # * +externalWorkflowExecutionSignaledEventAttributes+ - (Hash)
1068
- # * +workflowExecution+ - (Hash)
1069
- # * +workflowId+ - (String)
1070
- # * +runId+ - (String)
1071
- # * +initiatedEventId+ - (Integer)
1072
- # * +signalExternalWorkflowExecutionFailedEventAttributes+ - (Hash)
1073
- # * +workflowId+ - (String)
1074
- # * +runId+ - (String)
1075
- # * +cause+ - (String)
1076
- # * +initiatedEventId+ - (Integer)
1077
- # * +decisionTaskCompletedEventId+ - (Integer)
1078
- # * +externalWorkflowExecutionCancelRequestedEventAttributes+ - (Hash)
1079
- # * +workflowExecution+ - (Hash)
1080
- # * +workflowId+ - (String)
1081
- # * +runId+ - (String)
1082
- # * +initiatedEventId+ - (Integer)
1083
- # * +requestCancelExternalWorkflowExecutionInitiatedEventAttributes+ - (Hash)
1084
- # * +workflowId+ - (String)
1085
- # * +runId+ - (String)
1086
- # * +decisionTaskCompletedEventId+ - (Integer)
1087
- # * +control+ - (String)
1088
- # * +requestCancelExternalWorkflowExecutionFailedEventAttributes+ - (Hash)
1089
- # * +workflowId+ - (String)
1090
- # * +runId+ - (String)
1091
- # * +cause+ - (String)
1092
- # * +initiatedEventId+ - (Integer)
1093
- # * +decisionTaskCompletedEventId+ - (Integer)
1094
- # * +scheduleActivityTaskFailedEventAttributes+ - (Hash)
1095
- # * +activityType+ - (Hash)
1096
- # * +name+ - (String)
1097
- # * +version+ - (String)
1098
- # * +activityId+ - (String)
1099
- # * +cause+ - (String)
1100
- # * +decisionTaskCompletedEventId+ - (Integer)
1101
- # * +requestCancelActivityTaskFailedEventAttributes+ - (Hash)
1102
- # * +activityId+ - (String)
1103
- # * +cause+ - (String)
1104
- # * +decisionTaskCompletedEventId+ - (Integer)
1105
- # * +startTimerFailedEventAttributes+ - (Hash)
1106
- # * +timerId+ - (String)
1107
- # * +cause+ - (String)
1108
- # * +decisionTaskCompletedEventId+ - (Integer)
1109
- # * +cancelTimerFailedEventAttributes+ - (Hash)
1110
- # * +timerId+ - (String)
1111
- # * +cause+ - (String)
1112
- # * +decisionTaskCompletedEventId+ - (Integer)
1113
- # * +startChildWorkflowExecutionFailedEventAttributes+ - (Hash)
1114
- # * +workflowType+ - (Hash)
1115
- # * +name+ - (String)
1116
- # * +version+ - (String)
1117
- # * +cause+ - (String)
1118
- # * +workflowId+ - (String)
1119
- # * +initiatedEventId+ - (Integer)
1120
- # * +decisionTaskCompletedEventId+ - (Integer)
1121
- # * +nextPageToken+ - (String)
1122
- # * +previousStartedEventId+ - (Integer)
1123
- #
1124
- # @return [Core::Response]
1125
- #
1018
+ # * +initiatedEventId+ - (Integer)
1019
+ # * +decisionTaskCompletedEventId+ - (Integer)
1020
+ # * +nextPageToken+ - (String)
1021
+ # * +previousStartedEventId+ - (Integer)
1126
1022
  define_client_method :poll_for_decision_task, 'PollForDecisionTask'
1127
1023
 
1128
1024
  # Calls the RecordActivityTaskHeartbeat API operation.
1129
1025
  # @method record_activity_task_heartbeat(options = {})
1130
- #
1131
- # === Options:
1132
- #
1133
- # * +:task_token+ - *required* - (String)
1134
- # * +:details+ - (String)
1135
- #
1136
- # === Response Structure:
1137
- #
1138
- # * +cancelRequested+ - (Boolean)
1139
- #
1026
+ # @param [Hash] options
1027
+ # * +:task_token+ - *required* - (String)
1028
+ # * +:details+ - (String)
1140
1029
  # @return [Core::Response]
1141
- #
1030
+ # The #data method of the response object returns
1031
+ # a hash with the following structure:
1032
+ # * +cancelRequested+ - (Boolean)
1142
1033
  define_client_method :record_activity_task_heartbeat, 'RecordActivityTaskHeartbeat'
1143
1034
 
1144
1035
  # Calls the RegisterActivityType API operation.
1145
1036
  # @method register_activity_type(options = {})
1146
- #
1147
- # === Options:
1148
- #
1149
- # * +:domain+ - *required* - (String)
1150
- # * +:name+ - *required* - (String)
1151
- # * +:version+ - *required* - (String)
1152
- # * +:description+ - (String)
1153
- # * +:default_task_start_to_close_timeout+ - (String)
1154
- # * +:default_task_heartbeat_timeout+ - (String)
1155
- # * +:default_task_list+ - (Hash)
1037
+ # @param [Hash] options
1038
+ # * +:domain+ - *required* - (String)
1156
1039
  # * +:name+ - *required* - (String)
1157
- # * +:default_task_schedule_to_start_timeout+ - (String)
1158
- # * +:default_task_schedule_to_close_timeout+ - (String)
1159
- #
1160
- # === Response Structure:
1161
- #
1162
- # This method returns no response data.
1163
- #
1040
+ # * +:version+ - *required* - (String)
1041
+ # * +:description+ - (String)
1042
+ # * +:default_task_start_to_close_timeout+ - (String)
1043
+ # * +:default_task_heartbeat_timeout+ - (String)
1044
+ # * +:default_task_list+ - (Hash)
1045
+ # * +:name+ - *required* - (String)
1046
+ # * +:default_task_schedule_to_start_timeout+ - (String)
1047
+ # * +:default_task_schedule_to_close_timeout+ - (String)
1164
1048
  # @return [Core::Response]
1165
- #
1166
1049
  define_client_method :register_activity_type, 'RegisterActivityType'
1167
1050
 
1168
1051
  # Calls the RegisterDomain API operation.
1169
1052
  # @method register_domain(options = {})
1170
- #
1171
- # === Options:
1172
- #
1173
- # * +:name+ - *required* - (String)
1174
- # * +:description+ - (String)
1175
- # * +:workflow_execution_retention_period_in_days+ - *required* - (String)
1176
- #
1177
- # === Response Structure:
1178
- #
1179
- # This method returns no response data.
1180
- #
1053
+ # @param [Hash] options
1054
+ # * +:name+ - *required* - (String)
1055
+ # * +:description+ - (String)
1056
+ # * +:workflow_execution_retention_period_in_days+ - *required* - (String)
1181
1057
  # @return [Core::Response]
1182
- #
1183
1058
  define_client_method :register_domain, 'RegisterDomain'
1184
1059
 
1185
1060
  # Calls the RegisterWorkflowType API operation.
1186
1061
  # @method register_workflow_type(options = {})
1187
- #
1188
- # === Options:
1189
- #
1190
- # * +:domain+ - *required* - (String)
1191
- # * +:name+ - *required* - (String)
1192
- # * +:version+ - *required* - (String)
1193
- # * +:description+ - (String)
1194
- # * +:default_task_start_to_close_timeout+ - (String)
1195
- # * +:default_execution_start_to_close_timeout+ - (String)
1196
- # * +:default_task_list+ - (Hash)
1062
+ # @param [Hash] options
1063
+ # * +:domain+ - *required* - (String)
1197
1064
  # * +:name+ - *required* - (String)
1198
- # * +:default_child_policy+ - (String)
1199
- #
1200
- # === Response Structure:
1201
- #
1202
- # This method returns no response data.
1203
- #
1065
+ # * +:version+ - *required* - (String)
1066
+ # * +:description+ - (String)
1067
+ # * +:default_task_start_to_close_timeout+ - (String)
1068
+ # * +:default_execution_start_to_close_timeout+ - (String)
1069
+ # * +:default_task_list+ - (Hash)
1070
+ # * +:name+ - *required* - (String)
1071
+ # * +:default_child_policy+ - (String)
1204
1072
  # @return [Core::Response]
1205
- #
1206
1073
  define_client_method :register_workflow_type, 'RegisterWorkflowType'
1207
1074
 
1208
1075
  # Calls the RequestCancelWorkflowExecution API operation.
1209
1076
  # @method request_cancel_workflow_execution(options = {})
1210
- #
1211
- # === Options:
1212
- #
1213
- # * +:domain+ - *required* - (String)
1214
- # * +:workflow_id+ - *required* - (String)
1215
- # * +:run_id+ - (String)
1216
- #
1217
- # === Response Structure:
1218
- #
1219
- # This method returns no response data.
1220
- #
1077
+ # @param [Hash] options
1078
+ # * +:domain+ - *required* - (String)
1079
+ # * +:workflow_id+ - *required* - (String)
1080
+ # * +:run_id+ - (String)
1221
1081
  # @return [Core::Response]
1222
- #
1223
1082
  define_client_method :request_cancel_workflow_execution, 'RequestCancelWorkflowExecution'
1224
1083
 
1225
1084
  # Calls the RespondActivityTaskCanceled API operation.
1226
1085
  # @method respond_activity_task_canceled(options = {})
1227
- #
1228
- # === Options:
1229
- #
1230
- # * +:task_token+ - *required* - (String)
1231
- # * +:details+ - (String)
1232
- #
1233
- # === Response Structure:
1234
- #
1235
- # This method returns no response data.
1236
- #
1086
+ # @param [Hash] options
1087
+ # * +:task_token+ - *required* - (String)
1088
+ # * +:details+ - (String)
1237
1089
  # @return [Core::Response]
1238
- #
1239
1090
  define_client_method :respond_activity_task_canceled, 'RespondActivityTaskCanceled'
1240
1091
 
1241
1092
  # Calls the RespondActivityTaskCompleted API operation.
1242
1093
  # @method respond_activity_task_completed(options = {})
1243
- #
1244
- # === Options:
1245
- #
1246
- # * +:task_token+ - *required* - (String)
1247
- # * +:result+ - (String)
1248
- #
1249
- # === Response Structure:
1250
- #
1251
- # This method returns no response data.
1252
- #
1094
+ # @param [Hash] options
1095
+ # * +:task_token+ - *required* - (String)
1096
+ # * +:result+ - (String)
1253
1097
  # @return [Core::Response]
1254
- #
1255
1098
  define_client_method :respond_activity_task_completed, 'RespondActivityTaskCompleted'
1256
1099
 
1257
1100
  # Calls the RespondActivityTaskFailed API operation.
1258
1101
  # @method respond_activity_task_failed(options = {})
1259
- #
1260
- # === Options:
1261
- #
1262
- # * +:task_token+ - *required* - (String)
1263
- # * +:reason+ - (String)
1264
- # * +:details+ - (String)
1265
- #
1266
- # === Response Structure:
1267
- #
1268
- # This method returns no response data.
1269
- #
1102
+ # @param [Hash] options
1103
+ # * +:task_token+ - *required* - (String)
1104
+ # * +:reason+ - (String)
1105
+ # * +:details+ - (String)
1270
1106
  # @return [Core::Response]
1271
- #
1272
1107
  define_client_method :respond_activity_task_failed, 'RespondActivityTaskFailed'
1273
1108
 
1274
1109
  # Calls the RespondDecisionTaskCompleted API operation.
1275
1110
  # @method respond_decision_task_completed(options = {})
1276
- #
1277
- # === Options:
1278
- #
1279
- # * +:task_token+ - *required* - (String)
1280
- # * +:decisions+ - (Array<Hash>)
1281
- # * +:decision_type+ - *required* - (String)
1282
- # * +:schedule_activity_task_decision_attributes+ - (Hash)
1283
- # * +:activity_type+ - *required* - (Hash)
1284
- # * +:name+ - *required* - (String)
1285
- # * +:version+ - *required* - (String)
1286
- # * +:activity_id+ - *required* - (String)
1287
- # * +:control+ - (String)
1288
- # * +:input+ - (String)
1289
- # * +:schedule_to_close_timeout+ - (String)
1290
- # * +:task_list+ - (Hash)
1291
- # * +:name+ - *required* - (String)
1292
- # * +:schedule_to_start_timeout+ - (String)
1293
- # * +:start_to_close_timeout+ - (String)
1294
- # * +:heartbeat_timeout+ - (String)
1295
- # * +:request_cancel_activity_task_decision_attributes+ - (Hash)
1296
- # * +:activity_id+ - *required* - (String)
1297
- # * +:complete_workflow_execution_decision_attributes+ - (Hash)
1298
- # * +:result+ - (String)
1299
- # * +:fail_workflow_execution_decision_attributes+ - (Hash)
1300
- # * +:reason+ - (String)
1301
- # * +:details+ - (String)
1302
- # * +:cancel_workflow_execution_decision_attributes+ - (Hash)
1303
- # * +:details+ - (String)
1304
- # * +:continue_as_new_workflow_execution_decision_attributes+ - (Hash)
1305
- # * +:input+ - (String)
1306
- # * +:execution_start_to_close_timeout+ - (String)
1307
- # * +:task_list+ - (Hash)
1308
- # * +:name+ - *required* - (String)
1309
- # * +:task_start_to_close_timeout+ - (String)
1310
- # * +:child_policy+ - (String)
1311
- # * +:tag_list+ - (Array<String>)
1312
- # * +:workflow_type_version+ - (String)
1313
- # * +:record_marker_decision_attributes+ - (Hash)
1314
- # * +:marker_name+ - *required* - (String)
1315
- # * +:details+ - (String)
1316
- # * +:start_timer_decision_attributes+ - (Hash)
1317
- # * +:timer_id+ - *required* - (String)
1318
- # * +:control+ - (String)
1319
- # * +:start_to_fire_timeout+ - *required* - (String)
1320
- # * +:cancel_timer_decision_attributes+ - (Hash)
1321
- # * +:timer_id+ - *required* - (String)
1322
- # * +:signal_external_workflow_execution_decision_attributes+ - (Hash)
1323
- # * +:workflow_id+ - *required* - (String)
1324
- # * +:run_id+ - (String)
1325
- # * +:signal_name+ - *required* - (String)
1326
- # * +:input+ - (String)
1327
- # * +:control+ - (String)
1328
- # * +:request_cancel_external_workflow_execution_decision_attributes+ - (Hash)
1329
- # * +:workflow_id+ - *required* - (String)
1330
- # * +:run_id+ - (String)
1331
- # * +:control+ - (String)
1332
- # * +:start_child_workflow_execution_decision_attributes+ - (Hash)
1333
- # * +:workflow_type+ - *required* - (Hash)
1334
- # * +:name+ - *required* - (String)
1335
- # * +:version+ - *required* - (String)
1336
- # * +:workflow_id+ - *required* - (String)
1337
- # * +:control+ - (String)
1338
- # * +:input+ - (String)
1339
- # * +:execution_start_to_close_timeout+ - (String)
1340
- # * +:task_list+ - (Hash)
1341
- # * +:name+ - *required* - (String)
1342
- # * +:task_start_to_close_timeout+ - (String)
1343
- # * +:child_policy+ - (String)
1344
- # * +:tag_list+ - (Array<String>)
1345
- # * +:execution_context+ - (String)
1346
- #
1347
- # === Response Structure:
1348
- #
1349
- # This method returns no response data.
1350
- #
1111
+ # @param [Hash] options
1112
+ # * +:task_token+ - *required* - (String)
1113
+ # * +:decisions+ - (Array<Hash>)
1114
+ # * +:decision_type+ - *required* - (String)
1115
+ # * +:schedule_activity_task_decision_attributes+ - (Hash)
1116
+ # * +:activity_type+ - *required* - (Hash)
1117
+ # * +:name+ - *required* - (String)
1118
+ # * +:version+ - *required* - (String)
1119
+ # * +:activity_id+ - *required* - (String)
1120
+ # * +:control+ - (String)
1121
+ # * +:input+ - (String)
1122
+ # * +:schedule_to_close_timeout+ - (String)
1123
+ # * +:task_list+ - (Hash)
1124
+ # * +:name+ - *required* - (String)
1125
+ # * +:schedule_to_start_timeout+ - (String)
1126
+ # * +:start_to_close_timeout+ - (String)
1127
+ # * +:heartbeat_timeout+ - (String)
1128
+ # * +:request_cancel_activity_task_decision_attributes+ - (Hash)
1129
+ # * +:activity_id+ - *required* - (String)
1130
+ # * +:complete_workflow_execution_decision_attributes+ - (Hash)
1131
+ # * +:result+ - (String)
1132
+ # * +:fail_workflow_execution_decision_attributes+ - (Hash)
1133
+ # * +:reason+ - (String)
1134
+ # * +:details+ - (String)
1135
+ # * +:cancel_workflow_execution_decision_attributes+ - (Hash)
1136
+ # * +:details+ - (String)
1137
+ # * +:continue_as_new_workflow_execution_decision_attributes+ - (Hash)
1138
+ # * +:input+ - (String)
1139
+ # * +:execution_start_to_close_timeout+ - (String)
1140
+ # * +:task_list+ - (Hash)
1141
+ # * +:name+ - *required* - (String)
1142
+ # * +:task_start_to_close_timeout+ - (String)
1143
+ # * +:child_policy+ - (String)
1144
+ # * +:tag_list+ - (Array<String>)
1145
+ # * +:workflow_type_version+ - (String)
1146
+ # * +:record_marker_decision_attributes+ - (Hash)
1147
+ # * +:marker_name+ - *required* - (String)
1148
+ # * +:details+ - (String)
1149
+ # * +:start_timer_decision_attributes+ - (Hash)
1150
+ # * +:timer_id+ - *required* - (String)
1151
+ # * +:control+ - (String)
1152
+ # * +:start_to_fire_timeout+ - *required* - (String)
1153
+ # * +:cancel_timer_decision_attributes+ - (Hash)
1154
+ # * +:timer_id+ - *required* - (String)
1155
+ # * +:signal_external_workflow_execution_decision_attributes+ - (Hash)
1156
+ # * +:workflow_id+ - *required* - (String)
1157
+ # * +:run_id+ - (String)
1158
+ # * +:signal_name+ - *required* - (String)
1159
+ # * +:input+ - (String)
1160
+ # * +:control+ - (String)
1161
+ # * +:request_cancel_external_workflow_execution_decision_attributes+ - (Hash)
1162
+ # * +:workflow_id+ - *required* - (String)
1163
+ # * +:run_id+ - (String)
1164
+ # * +:control+ - (String)
1165
+ # * +:start_child_workflow_execution_decision_attributes+ - (Hash)
1166
+ # * +:workflow_type+ - *required* - (Hash)
1167
+ # * +:name+ - *required* - (String)
1168
+ # * +:version+ - *required* - (String)
1169
+ # * +:workflow_id+ - *required* - (String)
1170
+ # * +:control+ - (String)
1171
+ # * +:input+ - (String)
1172
+ # * +:execution_start_to_close_timeout+ - (String)
1173
+ # * +:task_list+ - (Hash)
1174
+ # * +:name+ - *required* - (String)
1175
+ # * +:task_start_to_close_timeout+ - (String)
1176
+ # * +:child_policy+ - (String)
1177
+ # * +:tag_list+ - (Array<String>)
1178
+ # * +:execution_context+ - (String)
1351
1179
  # @return [Core::Response]
1352
- #
1353
1180
  define_client_method :respond_decision_task_completed, 'RespondDecisionTaskCompleted'
1354
1181
 
1355
1182
  # Calls the SignalWorkflowExecution API operation.
1356
1183
  # @method signal_workflow_execution(options = {})
1357
- #
1358
- # === Options:
1359
- #
1360
- # * +:domain+ - *required* - (String)
1361
- # * +:workflow_id+ - *required* - (String)
1362
- # * +:run_id+ - (String)
1363
- # * +:signal_name+ - *required* - (String)
1364
- # * +:input+ - (String)
1365
- #
1366
- # === Response Structure:
1367
- #
1368
- # This method returns no response data.
1369
- #
1184
+ # @param [Hash] options
1185
+ # * +:domain+ - *required* - (String)
1186
+ # * +:workflow_id+ - *required* - (String)
1187
+ # * +:run_id+ - (String)
1188
+ # * +:signal_name+ - *required* - (String)
1189
+ # * +:input+ - (String)
1370
1190
  # @return [Core::Response]
1371
- #
1372
1191
  define_client_method :signal_workflow_execution, 'SignalWorkflowExecution'
1373
1192
 
1374
1193
  # Calls the StartWorkflowExecution API operation.
1375
1194
  # @method start_workflow_execution(options = {})
1376
- #
1377
- # === Options:
1378
- #
1379
- # * +:domain+ - *required* - (String)
1380
- # * +:workflow_id+ - *required* - (String)
1381
- # * +:workflow_type+ - *required* - (Hash)
1382
- # * +:name+ - *required* - (String)
1383
- # * +:version+ - *required* - (String)
1384
- # * +:task_list+ - (Hash)
1385
- # * +:name+ - *required* - (String)
1386
- # * +:input+ - (String)
1387
- # * +:execution_start_to_close_timeout+ - (String)
1388
- # * +:tag_list+ - (Array<String>)
1389
- # * +:task_start_to_close_timeout+ - (String)
1390
- # * +:child_policy+ - (String)
1391
- #
1392
- # === Response Structure:
1393
- #
1394
- # * +runId+ - (String)
1395
- #
1195
+ # @param [Hash] options
1196
+ # * +:domain+ - *required* - (String)
1197
+ # * +:workflow_id+ - *required* - (String)
1198
+ # * +:workflow_type+ - *required* - (Hash)
1199
+ # * +:name+ - *required* - (String)
1200
+ # * +:version+ - *required* - (String)
1201
+ # * +:task_list+ - (Hash)
1202
+ # * +:name+ - *required* - (String)
1203
+ # * +:input+ - (String)
1204
+ # * +:execution_start_to_close_timeout+ - (String)
1205
+ # * +:tag_list+ - (Array<String>)
1206
+ # * +:task_start_to_close_timeout+ - (String)
1207
+ # * +:child_policy+ - (String)
1396
1208
  # @return [Core::Response]
1397
- #
1209
+ # The #data method of the response object returns
1210
+ # a hash with the following structure:
1211
+ # * +runId+ - (String)
1398
1212
  define_client_method :start_workflow_execution, 'StartWorkflowExecution'
1399
1213
 
1400
1214
  # Calls the TerminateWorkflowExecution API operation.
1401
1215
  # @method terminate_workflow_execution(options = {})
1402
- #
1403
- # === Options:
1404
- #
1405
- # * +:domain+ - *required* - (String)
1406
- # * +:workflow_id+ - *required* - (String)
1407
- # * +:run_id+ - (String)
1408
- # * +:reason+ - (String)
1409
- # * +:details+ - (String)
1410
- # * +:child_policy+ - (String)
1411
- #
1412
- # === Response Structure:
1413
- #
1414
- # This method returns no response data.
1415
- #
1216
+ # @param [Hash] options
1217
+ # * +:domain+ - *required* - (String)
1218
+ # * +:workflow_id+ - *required* - (String)
1219
+ # * +:run_id+ - (String)
1220
+ # * +:reason+ - (String)
1221
+ # * +:details+ - (String)
1222
+ # * +:child_policy+ - (String)
1416
1223
  # @return [Core::Response]
1417
- #
1418
1224
  define_client_method :terminate_workflow_execution, 'TerminateWorkflowExecution'
1419
1225
 
1420
1226
  ## end client methods ##