aws-sdk 1.8.5 → 1.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (386) hide show
  1. checksums.yaml +7 -0
  2. data/.yardopts +1 -0
  3. data/README.rdoc +8 -0
  4. data/lib/aws-sdk.rb +39 -35
  5. data/lib/aws/api_config/CloudFront-2012-07-01.yml +2398 -0
  6. data/lib/aws/api_config/DirectConnect-2012-10-25.yml +475 -0
  7. data/lib/aws/api_config/DynamoDB-2011-12-05.yml +8 -0
  8. data/lib/aws/api_config/DynamoDB-2012-08-10.yml +1516 -0
  9. data/lib/aws/api_config/OpsWorks-2013-02-18.yml +2 -2
  10. data/lib/aws/auto_scaling.rb +44 -44
  11. data/lib/aws/auto_scaling/activity.rb +1 -1
  12. data/lib/aws/auto_scaling/activity_collection.rb +14 -15
  13. data/lib/aws/auto_scaling/client.rb +277 -277
  14. data/lib/aws/auto_scaling/config.rb +1 -1
  15. data/lib/aws/auto_scaling/group.rb +35 -36
  16. data/lib/aws/auto_scaling/group_collection.rb +10 -10
  17. data/lib/aws/auto_scaling/group_options.rb +19 -19
  18. data/lib/aws/auto_scaling/instance.rb +27 -27
  19. data/lib/aws/auto_scaling/instance_collection.rb +10 -10
  20. data/lib/aws/auto_scaling/launch_configuration.rb +3 -3
  21. data/lib/aws/auto_scaling/launch_configuration_collection.rb +1 -1
  22. data/lib/aws/auto_scaling/notification_configuration.rb +2 -2
  23. data/lib/aws/auto_scaling/notification_configuration_collection.rb +37 -38
  24. data/lib/aws/auto_scaling/scaling_policy.rb +3 -3
  25. data/lib/aws/auto_scaling/scaling_policy_collection.rb +6 -6
  26. data/lib/aws/auto_scaling/scaling_policy_options.rb +8 -7
  27. data/lib/aws/auto_scaling/scheduled_action.rb +3 -3
  28. data/lib/aws/auto_scaling/scheduled_action_collection.rb +28 -28
  29. data/lib/aws/auto_scaling/tag_collection.rb +30 -28
  30. data/lib/aws/cloud_formation.rb +95 -94
  31. data/lib/aws/cloud_formation/client.rb +136 -133
  32. data/lib/aws/cloud_formation/config.rb +1 -1
  33. data/lib/aws/cloud_formation/stack.rb +37 -37
  34. data/lib/aws/cloud_formation/stack_collection.rb +28 -27
  35. data/lib/aws/cloud_formation/stack_event.rb +9 -11
  36. data/lib/aws/cloud_formation/stack_output.rb +1 -1
  37. data/lib/aws/cloud_formation/stack_resource.rb +6 -6
  38. data/lib/aws/cloud_formation/stack_resource_collection.rb +11 -12
  39. data/lib/aws/cloud_formation/stack_resource_summary_collection.rb +11 -11
  40. data/lib/aws/cloud_formation/stack_summary_collection.rb +39 -39
  41. data/lib/aws/cloud_front.rb +21 -21
  42. data/lib/aws/cloud_front/client.rb +853 -652
  43. data/lib/aws/cloud_front/request.rb +3 -0
  44. data/lib/aws/cloud_search.rb +22 -22
  45. data/lib/aws/cloud_search/client.rb +322 -315
  46. data/lib/aws/cloud_search/config.rb +1 -1
  47. data/lib/aws/cloud_watch.rb +39 -39
  48. data/lib/aws/cloud_watch/alarm.rb +55 -37
  49. data/lib/aws/cloud_watch/alarm_collection.rb +18 -18
  50. data/lib/aws/cloud_watch/alarm_history_item_collection.rb +2 -2
  51. data/lib/aws/cloud_watch/client.rb +360 -146
  52. data/lib/aws/cloud_watch/config.rb +1 -1
  53. data/lib/aws/cloud_watch/metric.rb +15 -15
  54. data/lib/aws/cloud_watch/metric_alarm_collection.rb +17 -17
  55. data/lib/aws/cloud_watch/metric_collection.rb +16 -16
  56. data/lib/aws/cloud_watch/metric_statistics.rb +11 -11
  57. data/lib/aws/core.rb +243 -225
  58. data/lib/aws/core/async_handle.rb +13 -13
  59. data/lib/aws/core/cacheable.rb +14 -15
  60. data/lib/aws/core/client.rb +40 -15
  61. data/lib/aws/core/collection.rb +42 -46
  62. data/lib/aws/core/collection/with_limit_and_next_token.rb +1 -1
  63. data/lib/aws/core/collection/with_next_token.rb +1 -1
  64. data/lib/aws/core/configuration.rb +97 -133
  65. data/lib/aws/core/credential_providers.rb +16 -16
  66. data/lib/aws/core/data.rb +23 -23
  67. data/lib/aws/core/http/connection_pool.rb +348 -0
  68. data/lib/aws/core/http/net_http_handler.rb +17 -26
  69. data/lib/aws/core/http/patch.rb +102 -0
  70. data/lib/aws/core/http/request.rb +13 -19
  71. data/lib/aws/core/http/response.rb +2 -2
  72. data/lib/aws/core/lazy_error_classes.rb +17 -17
  73. data/lib/aws/core/log_formatter.rb +70 -104
  74. data/lib/aws/core/options/json_serializer.rb +1 -1
  75. data/lib/aws/core/options/validator.rb +4 -4
  76. data/lib/aws/core/page_result.rb +8 -8
  77. data/lib/aws/core/policy.rb +49 -49
  78. data/lib/aws/core/region.rb +72 -0
  79. data/lib/aws/core/region_collection.rb +106 -0
  80. data/lib/aws/core/resource.rb +5 -5
  81. data/lib/aws/core/response.rb +20 -17
  82. data/lib/aws/core/rest_request_builder.rb +4 -4
  83. data/lib/aws/core/service_interface.rb +24 -2
  84. data/lib/aws/core/signature/version_3.rb +2 -2
  85. data/lib/aws/core/uri_escape.rb +1 -1
  86. data/lib/aws/core/xml/frame_stack.rb +1 -1
  87. data/lib/aws/core/xml/grammar.rb +3 -4
  88. data/lib/aws/core/xml/sax_handlers/libxml.rb +2 -2
  89. data/lib/aws/core/xml/sax_handlers/nokogiri.rb +3 -3
  90. data/lib/aws/core/xml/sax_handlers/rexml.rb +5 -5
  91. data/lib/aws/core/xml/stub.rb +9 -9
  92. data/lib/aws/data_pipeline.rb +21 -21
  93. data/lib/aws/data_pipeline/client.rb +189 -133
  94. data/lib/aws/data_pipeline/config.rb +1 -1
  95. data/lib/aws/direct_connect.rb +74 -0
  96. data/lib/aws/direct_connect/client.rb +253 -0
  97. data/lib/aws/direct_connect/config.rb +18 -0
  98. data/lib/aws/direct_connect/errors.rb +22 -0
  99. data/lib/aws/direct_connect/request.rb +27 -0
  100. data/lib/aws/dynamo_db.rb +71 -69
  101. data/lib/aws/dynamo_db/attribute_collection.rb +53 -58
  102. data/lib/aws/dynamo_db/batch_get.rb +23 -23
  103. data/lib/aws/dynamo_db/batch_write.rb +43 -43
  104. data/lib/aws/dynamo_db/binary.rb +9 -9
  105. data/lib/aws/dynamo_db/client.rb +494 -509
  106. data/lib/aws/dynamo_db/client_base.rb +91 -0
  107. data/lib/aws/dynamo_db/client_v2.rb +825 -0
  108. data/lib/aws/dynamo_db/config.rb +1 -1
  109. data/lib/aws/dynamo_db/item.rb +10 -10
  110. data/lib/aws/dynamo_db/item_collection.rb +75 -75
  111. data/lib/aws/dynamo_db/table.rb +85 -85
  112. data/lib/aws/dynamo_db/table_collection.rb +13 -13
  113. data/lib/aws/ec2.rb +132 -142
  114. data/lib/aws/ec2/attachment.rb +31 -36
  115. data/lib/aws/ec2/attachment_collection.rb +1 -1
  116. data/lib/aws/ec2/availability_zone.rb +4 -4
  117. data/lib/aws/ec2/client.rb +2272 -2125
  118. data/lib/aws/ec2/config.rb +1 -1
  119. data/lib/aws/ec2/customer_gateway.rb +6 -6
  120. data/lib/aws/ec2/customer_gateway_collection.rb +6 -6
  121. data/lib/aws/ec2/dhcp_options.rb +3 -3
  122. data/lib/aws/ec2/dhcp_options_collection.rb +10 -10
  123. data/lib/aws/ec2/elastic_ip.rb +15 -15
  124. data/lib/aws/ec2/elastic_ip_collection.rb +11 -15
  125. data/lib/aws/ec2/export_task.rb +4 -4
  126. data/lib/aws/ec2/export_task_collection.rb +11 -11
  127. data/lib/aws/ec2/filtered_collection.rb +6 -8
  128. data/lib/aws/ec2/image.rb +46 -40
  129. data/lib/aws/ec2/image_collection.rb +44 -52
  130. data/lib/aws/ec2/instance.rb +64 -62
  131. data/lib/aws/ec2/instance_collection.rb +47 -50
  132. data/lib/aws/ec2/internet_gateway.rb +6 -6
  133. data/lib/aws/ec2/internet_gateway/attachment.rb +13 -13
  134. data/lib/aws/ec2/internet_gateway_collection.rb +3 -3
  135. data/lib/aws/ec2/key_pair.rb +3 -3
  136. data/lib/aws/ec2/key_pair_collection.rb +12 -12
  137. data/lib/aws/ec2/network_acl.rb +39 -39
  138. data/lib/aws/ec2/network_acl/association.rb +2 -2
  139. data/lib/aws/ec2/network_acl/entry.rb +22 -22
  140. data/lib/aws/ec2/network_acl_collection.rb +2 -2
  141. data/lib/aws/ec2/network_interface.rb +13 -4
  142. data/lib/aws/ec2/network_interface/attachment.rb +3 -3
  143. data/lib/aws/ec2/network_interface_collection.rb +5 -5
  144. data/lib/aws/ec2/permission_collection.rb +1 -1
  145. data/lib/aws/ec2/region.rb +6 -6
  146. data/lib/aws/ec2/region_collection.rb +1 -1
  147. data/lib/aws/ec2/reserved_instances_collection.rb +2 -2
  148. data/lib/aws/ec2/reserved_instances_offering_collection.rb +2 -2
  149. data/lib/aws/ec2/resource_tag_collection.rb +5 -5
  150. data/lib/aws/ec2/route_table.rb +14 -14
  151. data/lib/aws/ec2/route_table/association.rb +22 -22
  152. data/lib/aws/ec2/route_table/route.rb +8 -8
  153. data/lib/aws/ec2/route_table_collection.rb +3 -3
  154. data/lib/aws/ec2/security_group.rb +39 -41
  155. data/lib/aws/ec2/security_group_collection.rb +19 -21
  156. data/lib/aws/ec2/snapshot.rb +3 -3
  157. data/lib/aws/ec2/snapshot_collection.rb +11 -12
  158. data/lib/aws/ec2/subnet.rb +2 -2
  159. data/lib/aws/ec2/subnet_collection.rb +17 -17
  160. data/lib/aws/ec2/tag_collection.rb +1 -1
  161. data/lib/aws/ec2/tagged_collection.rb +7 -7
  162. data/lib/aws/ec2/tagged_item.rb +10 -10
  163. data/lib/aws/ec2/volume.rb +16 -16
  164. data/lib/aws/ec2/volume_collection.rb +9 -12
  165. data/lib/aws/ec2/vpc.rb +6 -6
  166. data/lib/aws/ec2/vpc_collection.rb +10 -10
  167. data/lib/aws/ec2/vpn_connection.rb +4 -4
  168. data/lib/aws/ec2/vpn_connection/telemetry.rb +1 -1
  169. data/lib/aws/ec2/vpn_connection_collection.rb +6 -6
  170. data/lib/aws/ec2/vpn_gateway.rb +2 -2
  171. data/lib/aws/ec2/vpn_gateway_collection.rb +5 -5
  172. data/lib/aws/elastic_beanstalk.rb +12 -12
  173. data/lib/aws/elastic_beanstalk/client.rb +376 -368
  174. data/lib/aws/elastic_beanstalk/config.rb +1 -1
  175. data/lib/aws/elastic_transcoder.rb +5 -5
  176. data/lib/aws/elastic_transcoder/client.rb +283 -283
  177. data/lib/aws/elastic_transcoder/config.rb +1 -1
  178. data/lib/aws/elasticache.rb +12 -12
  179. data/lib/aws/elasticache/client.rb +484 -479
  180. data/lib/aws/elasticache/config.rb +1 -1
  181. data/lib/aws/elb.rb +23 -23
  182. data/lib/aws/elb/availability_zone_collection.rb +34 -34
  183. data/lib/aws/elb/backend_server_policy_collection.rb +24 -24
  184. data/lib/aws/elb/client.rb +153 -153
  185. data/lib/aws/elb/config.rb +1 -1
  186. data/lib/aws/elb/errors.rb +1 -1
  187. data/lib/aws/elb/instance_collection.rb +20 -25
  188. data/lib/aws/elb/listener.rb +3 -3
  189. data/lib/aws/elb/listener_collection.rb +8 -8
  190. data/lib/aws/elb/load_balancer.rb +15 -16
  191. data/lib/aws/elb/load_balancer_collection.rb +36 -24
  192. data/lib/aws/elb/load_balancer_policy.rb +1 -1
  193. data/lib/aws/elb/load_balancer_policy_collection.rb +5 -5
  194. data/lib/aws/emr.rb +28 -26
  195. data/lib/aws/emr/client.rb +165 -149
  196. data/lib/aws/emr/config.rb +1 -1
  197. data/lib/aws/emr/instance_group.rb +1 -1
  198. data/lib/aws/emr/instance_group_collection.rb +1 -1
  199. data/lib/aws/emr/job_flow.rb +27 -26
  200. data/lib/aws/emr/job_flow_collection.rb +34 -34
  201. data/lib/aws/errors.rb +7 -7
  202. data/lib/aws/glacier.rb +21 -21
  203. data/lib/aws/glacier/archive_collection.rb +2 -2
  204. data/lib/aws/glacier/client.rb +139 -140
  205. data/lib/aws/glacier/config.rb +1 -1
  206. data/lib/aws/glacier/vault.rb +2 -2
  207. data/lib/aws/glacier/vault_collection.rb +1 -1
  208. data/lib/aws/iam.rb +133 -144
  209. data/lib/aws/iam/access_key.rb +17 -17
  210. data/lib/aws/iam/access_key_collection.rb +22 -22
  211. data/lib/aws/iam/account_alias_collection.rb +2 -2
  212. data/lib/aws/iam/client.rb +429 -420
  213. data/lib/aws/iam/collection.rb +1 -1
  214. data/lib/aws/iam/config.rb +2 -2
  215. data/lib/aws/iam/group.rb +8 -8
  216. data/lib/aws/iam/group_collection.rb +16 -16
  217. data/lib/aws/iam/group_policy_collection.rb +6 -6
  218. data/lib/aws/iam/group_user_collection.rb +3 -3
  219. data/lib/aws/iam/mfa_device.rb +1 -1
  220. data/lib/aws/iam/mfa_device_collection.rb +9 -9
  221. data/lib/aws/iam/policy_collection.rb +4 -4
  222. data/lib/aws/iam/resource.rb +2 -2
  223. data/lib/aws/iam/server_certificate.rb +1 -1
  224. data/lib/aws/iam/server_certificate_collection.rb +15 -15
  225. data/lib/aws/iam/signing_certificate.rb +29 -29
  226. data/lib/aws/iam/signing_certificate_collection.rb +23 -23
  227. data/lib/aws/iam/user.rb +33 -38
  228. data/lib/aws/iam/user_collection.rb +27 -27
  229. data/lib/aws/iam/user_group_collection.rb +3 -3
  230. data/lib/aws/iam/user_policy_collection.rb +6 -6
  231. data/lib/aws/iam/virtual_mfa_device.rb +12 -12
  232. data/lib/aws/iam/virtual_mfa_device_collection.rb +4 -4
  233. data/lib/aws/import_export.rb +22 -21
  234. data/lib/aws/import_export/client.rb +47 -43
  235. data/lib/aws/ops_works.rb +5 -5
  236. data/lib/aws/ops_works/client.rb +484 -438
  237. data/lib/aws/ops_works/config.rb +1 -1
  238. data/lib/aws/rails.rb +34 -34
  239. data/lib/aws/rds.rb +18 -18
  240. data/lib/aws/rds/client.rb +1286 -1277
  241. data/lib/aws/rds/config.rb +1 -1
  242. data/lib/aws/rds/db_instance.rb +15 -4
  243. data/lib/aws/rds/db_snapshot.rb +1 -1
  244. data/lib/aws/record.rb +50 -24
  245. data/lib/aws/record/abstract_base.rb +52 -60
  246. data/lib/aws/record/attributes.rb +79 -79
  247. data/lib/aws/record/conversion.rb +1 -1
  248. data/lib/aws/record/dirty_tracking.rb +69 -67
  249. data/lib/aws/record/errors.rb +21 -21
  250. data/lib/aws/record/exceptions.rb +2 -2
  251. data/lib/aws/record/hash_model.rb +20 -21
  252. data/lib/aws/record/hash_model/attributes.rb +13 -15
  253. data/lib/aws/record/hash_model/finder_methods.rb +46 -46
  254. data/lib/aws/record/hash_model/scope.rb +31 -31
  255. data/lib/aws/record/model.rb +136 -136
  256. data/lib/aws/record/model/attributes.rb +57 -59
  257. data/lib/aws/record/model/finder_methods.rb +67 -67
  258. data/lib/aws/record/model/scope.rb +48 -49
  259. data/lib/aws/record/naming.rb +1 -1
  260. data/lib/aws/record/scope.rb +23 -19
  261. data/lib/aws/record/validations.rb +253 -271
  262. data/lib/aws/record/validator.rb +3 -3
  263. data/lib/aws/record/validators/acceptance.rb +1 -3
  264. data/lib/aws/record/validators/block.rb +1 -3
  265. data/lib/aws/record/validators/confirmation.rb +1 -3
  266. data/lib/aws/record/validators/count.rb +2 -4
  267. data/lib/aws/record/validators/exclusion.rb +2 -4
  268. data/lib/aws/record/validators/format.rb +2 -4
  269. data/lib/aws/record/validators/inclusion.rb +1 -3
  270. data/lib/aws/record/validators/length.rb +5 -7
  271. data/lib/aws/record/validators/method.rb +1 -3
  272. data/lib/aws/record/validators/numericality.rb +6 -8
  273. data/lib/aws/record/validators/presence.rb +1 -3
  274. data/lib/aws/redshift.rb +14 -14
  275. data/lib/aws/redshift/client.rb +596 -592
  276. data/lib/aws/redshift/config.rb +1 -1
  277. data/lib/aws/route_53.rb +30 -30
  278. data/lib/aws/route_53/change_batch.rb +7 -7
  279. data/lib/aws/route_53/client.rb +188 -152
  280. data/lib/aws/route_53/hosted_zone.rb +4 -4
  281. data/lib/aws/route_53/hosted_zone_collection.rb +7 -7
  282. data/lib/aws/route_53/resource_record_set.rb +10 -10
  283. data/lib/aws/route_53/resource_record_set_collection.rb +6 -6
  284. data/lib/aws/s3.rb +79 -79
  285. data/lib/aws/s3/access_control_list.rb +44 -36
  286. data/lib/aws/s3/acl_options.rb +51 -51
  287. data/lib/aws/s3/bucket.rb +146 -146
  288. data/lib/aws/s3/bucket_collection.rb +21 -21
  289. data/lib/aws/s3/bucket_lifecycle_configuration.rb +81 -82
  290. data/lib/aws/s3/bucket_tag_collection.rb +4 -2
  291. data/lib/aws/s3/cipher_io.rb +5 -4
  292. data/lib/aws/s3/client.rb +89 -84
  293. data/lib/aws/s3/client/xml.rb +1 -1
  294. data/lib/aws/s3/config.rb +7 -1
  295. data/lib/aws/s3/cors_rule.rb +2 -0
  296. data/lib/aws/s3/cors_rule_collection.rb +42 -40
  297. data/lib/aws/s3/data_options.rb +16 -11
  298. data/lib/aws/s3/encryption_utils.rb +2 -2
  299. data/lib/aws/s3/errors.rb +7 -7
  300. data/lib/aws/s3/multipart_upload.rb +30 -33
  301. data/lib/aws/s3/multipart_upload_collection.rb +8 -6
  302. data/lib/aws/s3/object_collection.rb +35 -35
  303. data/lib/aws/s3/object_metadata.rb +6 -6
  304. data/lib/aws/s3/object_version.rb +4 -4
  305. data/lib/aws/s3/object_version_collection.rb +15 -15
  306. data/lib/aws/s3/policy.rb +2 -2
  307. data/lib/aws/s3/prefixed_collection.rb +9 -5
  308. data/lib/aws/s3/presigned_post.rb +39 -37
  309. data/lib/aws/s3/request.rb +11 -11
  310. data/lib/aws/s3/s3_object.rb +210 -200
  311. data/lib/aws/s3/tree.rb +25 -27
  312. data/lib/aws/s3/tree/child_collection.rb +3 -3
  313. data/lib/aws/s3/tree/leaf_node.rb +2 -2
  314. data/lib/aws/s3/tree/parent.rb +1 -1
  315. data/lib/aws/s3/website_configuration.rb +13 -13
  316. data/lib/aws/simple_db.rb +83 -83
  317. data/lib/aws/simple_db/attribute.rb +9 -7
  318. data/lib/aws/simple_db/attribute_collection.rb +22 -13
  319. data/lib/aws/simple_db/client.rb +107 -107
  320. data/lib/aws/simple_db/config.rb +7 -1
  321. data/lib/aws/simple_db/consistent_read_option.rb +5 -5
  322. data/lib/aws/simple_db/domain.rb +4 -2
  323. data/lib/aws/simple_db/domain_collection.rb +4 -4
  324. data/lib/aws/simple_db/domain_metadata.rb +5 -5
  325. data/lib/aws/simple_db/errors.rb +9 -9
  326. data/lib/aws/simple_db/item.rb +5 -5
  327. data/lib/aws/simple_db/item_collection.rb +83 -81
  328. data/lib/aws/simple_db/item_data.rb +4 -4
  329. data/lib/aws/simple_db/put_attributes.rb +3 -3
  330. data/lib/aws/simple_email_service.rb +140 -140
  331. data/lib/aws/simple_email_service/client.rb +82 -76
  332. data/lib/aws/simple_email_service/config.rb +1 -2
  333. data/lib/aws/simple_email_service/email_address_collection.rb +3 -3
  334. data/lib/aws/simple_email_service/identity.rb +8 -8
  335. data/lib/aws/simple_email_service/quotas.rb +8 -6
  336. data/lib/aws/simple_workflow.rb +106 -106
  337. data/lib/aws/simple_workflow/activity_task.rb +15 -22
  338. data/lib/aws/simple_workflow/activity_task_collection.rb +15 -15
  339. data/lib/aws/simple_workflow/activity_type.rb +23 -23
  340. data/lib/aws/simple_workflow/activity_type_collection.rb +23 -23
  341. data/lib/aws/simple_workflow/client.rb +1004 -956
  342. data/lib/aws/simple_workflow/config.rb +1 -1
  343. data/lib/aws/simple_workflow/count.rb +5 -5
  344. data/lib/aws/simple_workflow/decision_task.rb +129 -129
  345. data/lib/aws/simple_workflow/decision_task_collection.rb +59 -59
  346. data/lib/aws/simple_workflow/domain.rb +11 -11
  347. data/lib/aws/simple_workflow/domain_collection.rb +26 -26
  348. data/lib/aws/simple_workflow/history_event.rb +32 -32
  349. data/lib/aws/simple_workflow/history_event_collection.rb +3 -3
  350. data/lib/aws/simple_workflow/option_formatters.rb +5 -5
  351. data/lib/aws/simple_workflow/request.rb +1 -1
  352. data/lib/aws/simple_workflow/resource.rb +1 -1
  353. data/lib/aws/simple_workflow/type.rb +8 -8
  354. data/lib/aws/simple_workflow/type_collection.rb +15 -15
  355. data/lib/aws/simple_workflow/workflow_execution.rb +70 -72
  356. data/lib/aws/simple_workflow/workflow_execution_collection.rb +130 -130
  357. data/lib/aws/simple_workflow/workflow_type.rb +27 -25
  358. data/lib/aws/simple_workflow/workflow_type_collection.rb +20 -20
  359. data/lib/aws/sns.rb +25 -25
  360. data/lib/aws/sns/client.rb +55 -55
  361. data/lib/aws/sns/config.rb +1 -1
  362. data/lib/aws/sns/policy.rb +1 -1
  363. data/lib/aws/sns/subscription.rb +7 -7
  364. data/lib/aws/sns/subscription_collection.rb +5 -5
  365. data/lib/aws/sns/topic.rb +49 -49
  366. data/lib/aws/sns/topic_collection.rb +2 -2
  367. data/lib/aws/sns/topic_subscription_collection.rb +5 -5
  368. data/lib/aws/sqs.rb +20 -20
  369. data/lib/aws/sqs/client.rb +78 -78
  370. data/lib/aws/sqs/config.rb +1 -1
  371. data/lib/aws/sqs/errors.rb +12 -12
  372. data/lib/aws/sqs/queue.rb +66 -67
  373. data/lib/aws/sqs/queue_collection.rb +16 -8
  374. data/lib/aws/sqs/received_message.rb +7 -6
  375. data/lib/aws/storage_gateway.rb +21 -21
  376. data/lib/aws/storage_gateway/client.rb +269 -202
  377. data/lib/aws/storage_gateway/config.rb +1 -1
  378. data/lib/aws/sts.rb +10 -8
  379. data/lib/aws/sts/client.rb +35 -35
  380. data/lib/aws/sts/session.rb +3 -3
  381. data/lib/aws/version.rb +1 -2
  382. metadata +23 -21
  383. data/lib/aws/core/autoloader.rb +0 -64
  384. data/lib/net/http/connection_pool.rb +0 -226
  385. data/lib/net/http/connection_pool/connection.rb +0 -189
  386. data/lib/net/http/connection_pool/session.rb +0 -126
@@ -43,7 +43,7 @@ module AWS
43
43
 
44
44
  end
45
45
 
46
- # @return [String] The opaque string used as a handle on the task.
46
+ # @return [String] The opaque string used as a handle on the task.
47
47
  attr_reader :task_token
48
48
 
49
49
  # @return [String] The unique identifier of this task.
@@ -52,11 +52,11 @@ module AWS
52
52
  # @return [Domain] The domain this task was scheduled in.
53
53
  attr_reader :domain
54
54
 
55
- # @return [Integer] The id of the ActivityTaskStarted event recorded
55
+ # @return [Integer] The id of the ActivityTaskStarted event recorded
56
56
  # in the history.
57
57
  attr_reader :started_event_id
58
58
 
59
- # @return [String,nil] The input provided when the activity task was
59
+ # @return [String,nil] The input provided when the activity task was
60
60
  # scheduled.
61
61
  attr_reader :input
62
62
 
@@ -68,10 +68,10 @@ module AWS
68
68
 
69
69
  # Reports to the service that the activity task is progressing.
70
70
  #
71
- # You can optionally specify +:details+ that describe the progress.
71
+ # You can optionally specify `:details` that describe the progress.
72
72
  # This might be a percentage competition, step number, etc.
73
73
  #
74
- # activity_task.record_heartbeat! :details => '.75' # 75% complete
74
+ # activity_task.record_heartbeat! :details => '.75' # 75% complete
75
75
  #
76
76
  # If the activity task has been canceled since it was received or
77
77
  # since the last recorded heartbeat, this method will raise
@@ -79,31 +79,24 @@ module AWS
79
79
  #
80
80
  # If you are processing the activity task inside a block passed
81
81
  # to one of the polling methods in {ActivityTaskCollection}
82
- # then untrapped CancelRequestedErrors are caught
82
+ # then untrapped CancelRequestedErrors are caught
83
83
  # and responded to automatically.
84
84
  #
85
- # domain.activity_tasks.poll('task-list') do |task|
86
- #
87
- # task.record_heartbeat! # raises CancelRequestedError
88
- #
89
- # end # traps the error and responds activity task canceled.
85
+ # domain.activity_tasks.poll('task-list') do |task|
86
+ # task.record_heartbeat! # raises CancelRequestedError
87
+ # end # traps the error and responds activity task canceled.
90
88
  #
91
89
  # If you need to cleanup or provide additional details in the
92
90
  # cancellation response, you can trap the error and
93
91
  # respond manually.
94
92
  #
95
- # domain.activity_tasks.poll('task-list') do |task|
96
- #
97
- # task.record_heartbeat! # raises CancelRequestedError
98
- #
99
- # rescue CancelRequestedError => e
100
- #
101
- # # cleanup
102
- #
103
- # task.respond_canceled! :details => '...'
93
+ # domain.activity_tasks.poll('task-list') do |task|
94
+ # task.record_heartbeat! # raises CancelRequestedError
95
+ # rescue CancelRequestedError => e
96
+ # # cleanup
97
+ # task.respond_canceled! :details => '...'
98
+ # end
104
99
  #
105
- # end
106
- #
107
100
  # @param [Hash] options
108
101
  #
109
102
  # @option options [String] :details (nil)
@@ -30,19 +30,19 @@ module AWS
30
30
  # @return [Domain]
31
31
  attr_reader :domain
32
32
 
33
- # Returns the number of tasks in the specified +task_list+.
33
+ # Returns the number of tasks in the specified `task_list`.
34
34
  #
35
- # count = activity_tasks.count('task-list-name')
36
- # count.truncated? #=> false
37
- # count.to_i #=> 7
35
+ # count = activity_tasks.count('task-list-name')
36
+ # count.truncated? #=> false
37
+ # count.to_i #=> 7
38
38
  #
39
- # @note This operation is eventually consistent. The results are best
39
+ # @note This operation is eventually consistent. The results are best
40
40
  # effort and may not exactly reflect recent updates and changes.
41
41
  #
42
42
  # @param [String] task_list The name of the task list.
43
43
  #
44
44
  # @return [Count] Returns a possibly truncated count of
45
- # pending activity tasks for the given +task_list+.
45
+ # pending activity tasks for the given `task_list`.
46
46
  #
47
47
  def count task_list
48
48
  options = {}
@@ -57,18 +57,18 @@ module AWS
57
57
  #
58
58
  # @param [Hash] options
59
59
  #
60
- # @option options [String] :identity (nil) Identity of the worker
61
- # making the request, which is recorded in the ActivityTaskStarted
62
- # event in the workflow history. This enables diagnostic tracing
63
- # when problems arise. The :identity defaults to the hostname and
60
+ # @option options [String] :identity (nil) Identity of the worker
61
+ # making the request, which is recorded in the ActivityTaskStarted
62
+ # event in the workflow history. This enables diagnostic tracing
63
+ # when problems arise. The :identity defaults to the hostname and
64
64
  # pid (e.g. "hostname:pid").
65
65
  #
66
66
  # @yieldparam [ActivityTask] activity_task Yields if a task is
67
- # available within 60 seconds.
67
+ # available within 60 seconds.
68
68
  #
69
- # @return [ActivityTask,nil] Returns an activity task when one is
70
- # available, +nil+ otherwise. If you call this function with
71
- # a block, +nil+ is always returned.
69
+ # @return [ActivityTask,nil] Returns an activity task when one is
70
+ # available, `nil` otherwise. If you call this function with
71
+ # a block, `nil` is always returned.
72
72
  #
73
73
  def poll_for_single_task task_list, options = {}, &block
74
74
 
@@ -106,7 +106,7 @@ module AWS
106
106
  end
107
107
 
108
108
  def poll task_list, options = {}, &block
109
- loop do
109
+ loop do
110
110
  begin
111
111
  poll_for_single_task(task_list, options) do |activity_task|
112
112
  yield(activity_task)
@@ -14,18 +14,18 @@
14
14
  module AWS
15
15
  class SimpleWorkflow
16
16
 
17
- # == Registering an ActivityType
17
+ # ## Registering an ActivityType
18
18
  #
19
- # To register an activity type you should use the #activity_types method
19
+ # To register an activity type you should use the #activity_types method
20
20
  # on the domain:
21
21
  #
22
- # domain.activity_types.register('name', 'version', { ... })
22
+ # domain.activity_types.register('name', 'version', { ... })
23
23
  #
24
24
  # See {ActivityTypeCollection#register} for a complete list of options.
25
25
  #
26
- # == Deprecating an activity type
26
+ # ## Deprecating an activity type
27
27
  #
28
- # ActivityType inherits from the generic {Type} base class. Defined in
28
+ # ActivityType inherits from the generic {Type} base class. Defined in
29
29
  # {Type} are a few useful methods including:
30
30
  #
31
31
  # * {Type#deprecate}
@@ -33,7 +33,7 @@ module AWS
33
33
  #
34
34
  # You can use these to deprecate an activity type:
35
35
  #
36
- # domain.activity_types['name','version'].deprecate
36
+ # domain.activity_types['name','version'].deprecate
37
37
  #
38
38
  # @attr_reader [Time] creation_date When the workflow type was registered.
39
39
  #
@@ -44,44 +44,44 @@ module AWS
44
44
  # type, or nil if was not set when it was registered.
45
45
  #
46
46
  # @attr_reader [Symbol] status The status of this workflow type. The
47
- # status will either be +:registered+ or +:deprecated+.
47
+ # status will either be `:registered` or `:deprecated`.
48
48
  #
49
49
  # @attr_reader [Integer,:none,nil] default_task_heartbeat_timeout
50
- # The default maximum time specified when registering the activity
51
- # type, before which a worker processing a task must report
52
- # progress. If the timeout is exceeded, the activity task is
53
- # automatically timed out. If the worker subsequently attempts
54
- # to record a heartbeat or return a result, it will be ignored.
50
+ # The default maximum time specified when registering the activity
51
+ # type, before which a worker processing a task must report
52
+ # progress. If the timeout is exceeded, the activity task is
53
+ # automatically timed out. If the worker subsequently attempts
54
+ # to record a heartbeat or return a result, it will be ignored.
55
55
  #
56
56
  # The return value may be an integer (number of seconds), the
57
- # symbol +:none+ (implying no timeout) or +nil+ (not specified).
57
+ # symbol `:none` (implying no timeout) or `nil` (not specified).
58
58
  #
59
59
  # @attr_reader [String,nil] default_task_list
60
- # The default task list specified for this activity type at
61
- # registration. This default task list is used if a task list is
60
+ # The default task list specified for this activity type at
61
+ # registration. This default task list is used if a task list is
62
62
  # not provided when a task is scheduled.
63
63
  #
64
64
  # @attr_reader [Integer,:none,nil] default_task_schedule_to_close_timeout
65
- # The default maximum duration specified when registering the
66
- # activity type, for tasks of this activity type. You can override
65
+ # The default maximum duration specified when registering the
66
+ # activity type, for tasks of this activity type. You can override
67
67
  # this default when scheduling a task.
68
68
  #
69
69
  # The return value may be an integer (number of seconds), the
70
- # symbol +:none+ (implying no timeout) or +nil+ (not specified).
70
+ # symbol `:none` (implying no timeout) or `nil` (not specified).
71
71
  #
72
72
  # @attr_reader [Integer,:none,nil] default_task_schedule_to_start_timeout
73
- # The optional default maximum duration specified when registering
74
- # the activity type, that a task of an activity type can wait
73
+ # The optional default maximum duration specified when registering
74
+ # the activity type, that a task of an activity type can wait
75
75
  # before being assigned to a worker.
76
76
  #
77
77
  # The return value may be an integer (number of seconds), the
78
- # symbol +:none+ (implying no timeout) or +nil+ (not specified).
78
+ # symbol `:none` (implying no timeout) or `nil` (not specified).
79
79
  #
80
80
  # @attr_reader [Integer,:none,nil] default_task_start_to_close_timeout
81
81
  # The default maximum duration for activity tasks of this type.
82
82
  #
83
83
  # The return value may be an integer (number of seconds), the
84
- # symbol +:none+ (implying no timeout) or +nil+ (not specified).
84
+ # symbol `:none` (implying no timeout) or `nil` (not specified).
85
85
  #
86
86
  class ActivityType < Type
87
87
 
@@ -109,7 +109,7 @@ module AWS
109
109
  provider(:list_activity_types) do |provider|
110
110
  provider.provides *type_attributes.keys
111
111
  provider.find do |resp|
112
- desc = resp.data['typeInfos'].find do |info|
112
+ desc = resp.data['typeInfos'].find do |info|
113
113
  info[self.class.type_key] == { 'name' => name, 'version' => version }
114
114
  end
115
115
  end
@@ -15,54 +15,54 @@ module AWS
15
15
  class SimpleWorkflow
16
16
  class ActivityTypeCollection < TypeCollection
17
17
 
18
- # Registers a new activity type along with its configuration settings
18
+ # Registers a new activity type along with its configuration settings
19
19
  # in the current domain.
20
- #
20
+ #
21
21
  # @param [String] name The name of the activity type.
22
22
  #
23
23
  # @param [String] version The version of the activity type.
24
- # The activity type consists of the name and version, the
25
- # combination of which must be unique within the domain.
24
+ # The activity type consists of the name and version, the
25
+ # combination of which must be unique within the domain.
26
26
  #
27
27
  # @param [Hash] options
28
- #
28
+ #
29
29
  # @option options [Integer,:none] :default_task_heartbeat_timeout (nil)
30
- # The default maximum time before which a worker processing a task
31
- # of this type must report progress. If the timeout is exceeded,
32
- # the activity task is automatically timed out. If the worker
33
- # subsequently attempts to record a heartbeat or returns a
34
- # result, it will be ignored. This default can be overridden when
30
+ # The default maximum time before which a worker processing a task
31
+ # of this type must report progress. If the timeout is exceeded,
32
+ # the activity task is automatically timed out. If the worker
33
+ # subsequently attempts to record a heartbeat or returns a
34
+ # result, it will be ignored. This default can be overridden when
35
35
  # scheduling an activity task.
36
36
  #
37
37
  # The value should be a number of seconds (integer) or the symbol
38
- # +:none+ (implying no timeout).
38
+ # `:none` (implying no timeout).
39
39
  #
40
- # @option options [String] :default_task_list (nil) The default task
41
- # list to use for scheduling tasks of this activity type.
42
- # This default task list is used if a task list is not provided
40
+ # @option options [String] :default_task_list (nil) The default task
41
+ # list to use for scheduling tasks of this activity type.
42
+ # This default task list is used if a task list is not provided
43
43
  # when a task is scheduled.
44
44
  #
45
45
  # @option options [Integer,:none] :default_task_schedule_to_close_timeout (nil)
46
46
  # The value should be a number of seconds (integer) or the symbol
47
- # +:none+ (implying no timeout).
47
+ # `:none` (implying no timeout).
48
48
  #
49
49
  # @option options [Integer,:none] :default_task_schedule_to_start_timeout (nil)
50
- # The default maximum duration that a task of this activity type
51
- # can wait before being assigned to a worker. This default can be
50
+ # The default maximum duration that a task of this activity type
51
+ # can wait before being assigned to a worker. This default can be
52
52
  # overridden when scheduling an activity task.
53
53
  #
54
54
  # The value should be a number of seconds (integer) or the symbol
55
- # +:none+ (implying no timeout).
55
+ # `:none` (implying no timeout).
56
56
  #
57
57
  # @option options [Integer,:none] :default_task_start_to_close_timeout (nil)
58
- # The default maximum duration that a worker can take to process
58
+ # The default maximum duration that a worker can take to process
59
59
  # tasks of this activity type (in the ISO 8601 format). This default
60
60
  # can be overridden when scheduling an activity task.
61
61
  #
62
62
  # The value should be a number of seconds (integer) or the symbol
63
- # +:none+ (implying no timeout).
63
+ # `:none` (implying no timeout).
64
64
  #
65
- # @option options [String] :description (nil) A textual description
65
+ # @option options [String] :description (nil) A textual description
66
66
  # of the activity type.
67
67
  #
68
68
  def register name, version, options = {}
@@ -71,7 +71,7 @@ module AWS
71
71
  options[:name] = name
72
72
  options[:version] = version
73
73
 
74
- duration_opts(options,
74
+ duration_opts(options,
75
75
  :default_task_heartbeat_timeout,
76
76
  :default_task_schedule_to_close_timeout,
77
77
  :default_task_schedule_to_start_timeout,
@@ -84,7 +84,7 @@ module AWS
84
84
  client.register_activity_type(options)
85
85
 
86
86
  self[name, version]
87
-
87
+
88
88
  end
89
89
  alias_method :create, :register
90
90
 
@@ -41,1148 +41,1196 @@ module AWS
41
41
  # @!method count_closed_workflow_executions(options = {})
42
42
  # Calls the CountClosedWorkflowExecutions API operation.
43
43
  # @param [Hash] options
44
- # * +:domain+ - *required* - (String)
45
- # * +:start_time_filter+ - (Hash)
46
- # * +:oldest_date+ - *required* - (Integer<unix timestamp>)
47
- # * +:latest_date+ - (Integer<unix timestamp>)
48
- # * +:close_time_filter+ - (Hash)
49
- # * +:oldest_date+ - *required* - (Integer<unix timestamp>)
50
- # * +:latest_date+ - (Integer<unix timestamp>)
51
- # * +:execution_filter+ - (Hash)
52
- # * +:workflow_id+ - *required* - (String)
53
- # * +:type_filter+ - (Hash)
54
- # * +:name+ - *required* - (String)
55
- # * +:version+ - (String)
56
- # * +:tag_filter+ - (Hash)
57
- # * +:tag+ - *required* - (String)
58
- # * +:close_status_filter+ - (Hash)
59
- # * +:status+ - *required* - (String)
44
+ # * `:domain` - *required* - (String)
45
+ # * `:start_time_filter` - (Hash)
46
+ # * `:oldest_date` - *required* - (Integer<unix timestamp>)
47
+ # * `:latest_date` - (Integer<unix timestamp>)
48
+ # * `:close_time_filter` - (Hash)
49
+ # * `:oldest_date` - *required* - (Integer<unix timestamp>)
50
+ # * `:latest_date` - (Integer<unix timestamp>)
51
+ # * `:execution_filter` - (Hash)
52
+ # * `:workflow_id` - *required* - (String)
53
+ # * `:type_filter` - (Hash)
54
+ # * `:name` - *required* - (String)
55
+ # * `:version` - (String)
56
+ # * `:tag_filter` - (Hash)
57
+ # * `:tag` - *required* - (String)
58
+ # * `:close_status_filter` - (Hash)
59
+ # * `:status` - *required* - (String) Valid values include:
60
+ # * `COMPLETED`
61
+ # * `FAILED`
62
+ # * `CANCELED`
63
+ # * `TERMINATED`
64
+ # * `CONTINUED_AS_NEW`
65
+ # * `TIMED_OUT`
60
66
  # @return [Core::Response]
61
67
  # The #data method of the response object returns
62
68
  # a hash with the following structure:
63
- # * +count+ - (Integer)
64
- # * +truncated+ - (Boolean)
69
+ # * `count` - (Integer)
70
+ # * `truncated` - (Boolean)
65
71
 
66
72
  # @!method count_open_workflow_executions(options = {})
67
73
  # Calls the CountOpenWorkflowExecutions API operation.
68
74
  # @param [Hash] options
69
- # * +:domain+ - *required* - (String)
70
- # * +:start_time_filter+ - *required* - (Hash)
71
- # * +:oldest_date+ - *required* - (Integer<unix timestamp>)
72
- # * +:latest_date+ - (Integer<unix timestamp>)
73
- # * +:type_filter+ - (Hash)
74
- # * +:name+ - *required* - (String)
75
- # * +:version+ - (String)
76
- # * +:tag_filter+ - (Hash)
77
- # * +:tag+ - *required* - (String)
78
- # * +:execution_filter+ - (Hash)
79
- # * +:workflow_id+ - *required* - (String)
75
+ # * `:domain` - *required* - (String)
76
+ # * `:start_time_filter` - *required* - (Hash)
77
+ # * `:oldest_date` - *required* - (Integer<unix timestamp>)
78
+ # * `:latest_date` - (Integer<unix timestamp>)
79
+ # * `:type_filter` - (Hash)
80
+ # * `:name` - *required* - (String)
81
+ # * `:version` - (String)
82
+ # * `:tag_filter` - (Hash)
83
+ # * `:tag` - *required* - (String)
84
+ # * `:execution_filter` - (Hash)
85
+ # * `:workflow_id` - *required* - (String)
80
86
  # @return [Core::Response]
81
87
  # The #data method of the response object returns
82
88
  # a hash with the following structure:
83
- # * +count+ - (Integer)
84
- # * +truncated+ - (Boolean)
89
+ # * `count` - (Integer)
90
+ # * `truncated` - (Boolean)
85
91
 
86
92
  # @!method count_pending_activity_tasks(options = {})
87
93
  # Calls the CountPendingActivityTasks API operation.
88
94
  # @param [Hash] options
89
- # * +:domain+ - *required* - (String)
90
- # * +:task_list+ - *required* - (Hash)
91
- # * +:name+ - *required* - (String)
95
+ # * `:domain` - *required* - (String)
96
+ # * `:task_list` - *required* - (Hash)
97
+ # * `:name` - *required* - (String)
92
98
  # @return [Core::Response]
93
99
  # The #data method of the response object returns
94
100
  # a hash with the following structure:
95
- # * +count+ - (Integer)
96
- # * +truncated+ - (Boolean)
101
+ # * `count` - (Integer)
102
+ # * `truncated` - (Boolean)
97
103
 
98
104
  # @!method count_pending_decision_tasks(options = {})
99
105
  # Calls the CountPendingDecisionTasks API operation.
100
106
  # @param [Hash] options
101
- # * +:domain+ - *required* - (String)
102
- # * +:task_list+ - *required* - (Hash)
103
- # * +:name+ - *required* - (String)
107
+ # * `:domain` - *required* - (String)
108
+ # * `:task_list` - *required* - (Hash)
109
+ # * `:name` - *required* - (String)
104
110
  # @return [Core::Response]
105
111
  # The #data method of the response object returns
106
112
  # a hash with the following structure:
107
- # * +count+ - (Integer)
108
- # * +truncated+ - (Boolean)
113
+ # * `count` - (Integer)
114
+ # * `truncated` - (Boolean)
109
115
 
110
116
  # @!method deprecate_activity_type(options = {})
111
117
  # Calls the DeprecateActivityType API operation.
112
118
  # @param [Hash] options
113
- # * +:domain+ - *required* - (String)
114
- # * +:activity_type+ - *required* - (Hash)
115
- # * +:name+ - *required* - (String)
116
- # * +:version+ - *required* - (String)
119
+ # * `:domain` - *required* - (String)
120
+ # * `:activity_type` - *required* - (Hash)
121
+ # * `:name` - *required* - (String)
122
+ # * `:version` - *required* - (String)
117
123
  # @return [Core::Response]
118
124
 
119
125
  # @!method deprecate_domain(options = {})
120
126
  # Calls the DeprecateDomain API operation.
121
127
  # @param [Hash] options
122
- # * +:name+ - *required* - (String)
128
+ # * `:name` - *required* - (String)
123
129
  # @return [Core::Response]
124
130
 
125
131
  # @!method deprecate_workflow_type(options = {})
126
132
  # Calls the DeprecateWorkflowType API operation.
127
133
  # @param [Hash] options
128
- # * +:domain+ - *required* - (String)
129
- # * +:workflow_type+ - *required* - (Hash)
130
- # * +:name+ - *required* - (String)
131
- # * +:version+ - *required* - (String)
134
+ # * `:domain` - *required* - (String)
135
+ # * `:workflow_type` - *required* - (Hash)
136
+ # * `:name` - *required* - (String)
137
+ # * `:version` - *required* - (String)
132
138
  # @return [Core::Response]
133
139
 
134
140
  # @!method describe_activity_type(options = {})
135
141
  # Calls the DescribeActivityType API operation.
136
142
  # @param [Hash] options
137
- # * +:domain+ - *required* - (String)
138
- # * +:activity_type+ - *required* - (Hash)
139
- # * +:name+ - *required* - (String)
140
- # * +:version+ - *required* - (String)
143
+ # * `:domain` - *required* - (String)
144
+ # * `:activity_type` - *required* - (Hash)
145
+ # * `:name` - *required* - (String)
146
+ # * `:version` - *required* - (String)
141
147
  # @return [Core::Response]
142
148
  # The #data method of the response object returns
143
149
  # a hash with the following structure:
144
- # * +typeInfo+ - (Hash)
145
- # * +activityType+ - (Hash)
146
- # * +name+ - (String)
147
- # * +version+ - (String)
148
- # * +status+ - (String)
149
- # * +description+ - (String)
150
- # * +creationDate+ - (Time)
151
- # * +deprecationDate+ - (Time)
152
- # * +configuration+ - (Hash)
153
- # * +defaultTaskStartToCloseTimeout+ - (String)
154
- # * +defaultTaskHeartbeatTimeout+ - (String)
155
- # * +defaultTaskList+ - (Hash)
156
- # * +name+ - (String)
157
- # * +defaultTaskScheduleToStartTimeout+ - (String)
158
- # * +defaultTaskScheduleToCloseTimeout+ - (String)
150
+ # * `typeInfo` - (Hash)
151
+ # * `activityType` - (Hash)
152
+ # * `name` - (String)
153
+ # * `version` - (String)
154
+ # * `status` - (String)
155
+ # * `description` - (String)
156
+ # * `creationDate` - (Time)
157
+ # * `deprecationDate` - (Time)
158
+ # * `configuration` - (Hash)
159
+ # * `defaultTaskStartToCloseTimeout` - (String)
160
+ # * `defaultTaskHeartbeatTimeout` - (String)
161
+ # * `defaultTaskList` - (Hash)
162
+ # * `name` - (String)
163
+ # * `defaultTaskScheduleToStartTimeout` - (String)
164
+ # * `defaultTaskScheduleToCloseTimeout` - (String)
159
165
 
160
166
  # @!method describe_domain(options = {})
161
167
  # Calls the DescribeDomain API operation.
162
168
  # @param [Hash] options
163
- # * +:name+ - *required* - (String)
169
+ # * `:name` - *required* - (String)
164
170
  # @return [Core::Response]
165
171
  # The #data method of the response object returns
166
172
  # a hash with the following structure:
167
- # * +domainInfo+ - (Hash)
168
- # * +name+ - (String)
169
- # * +status+ - (String)
170
- # * +description+ - (String)
171
- # * +configuration+ - (Hash)
172
- # * +workflowExecutionRetentionPeriodInDays+ - (String)
173
+ # * `domainInfo` - (Hash)
174
+ # * `name` - (String)
175
+ # * `status` - (String)
176
+ # * `description` - (String)
177
+ # * `configuration` - (Hash)
178
+ # * `workflowExecutionRetentionPeriodInDays` - (String)
173
179
 
174
180
  # @!method describe_workflow_execution(options = {})
175
181
  # Calls the DescribeWorkflowExecution API operation.
176
182
  # @param [Hash] options
177
- # * +:domain+ - *required* - (String)
178
- # * +:execution+ - *required* - (Hash)
179
- # * +:workflow_id+ - *required* - (String)
180
- # * +:run_id+ - *required* - (String)
183
+ # * `:domain` - *required* - (String)
184
+ # * `:execution` - *required* - (Hash)
185
+ # * `:workflow_id` - *required* - (String)
186
+ # * `:run_id` - *required* - (String)
181
187
  # @return [Core::Response]
182
188
  # The #data method of the response object returns
183
189
  # a hash with the following structure:
184
- # * +executionInfo+ - (Hash)
185
- # * +execution+ - (Hash)
186
- # * +workflowId+ - (String)
187
- # * +runId+ - (String)
188
- # * +workflowType+ - (Hash)
189
- # * +name+ - (String)
190
- # * +version+ - (String)
191
- # * +startTimestamp+ - (Time)
192
- # * +closeTimestamp+ - (Time)
193
- # * +executionStatus+ - (String)
194
- # * +closeStatus+ - (String)
195
- # * +parent+ - (Hash)
196
- # * +workflowId+ - (String)
197
- # * +runId+ - (String)
198
- # * +tagList+ - (Array<String>)
199
- # * +cancelRequested+ - (Boolean)
200
- # * +executionConfiguration+ - (Hash)
201
- # * +taskStartToCloseTimeout+ - (String)
202
- # * +executionStartToCloseTimeout+ - (String)
203
- # * +taskList+ - (Hash)
204
- # * +name+ - (String)
205
- # * +childPolicy+ - (String)
206
- # * +openCounts+ - (Hash)
207
- # * +openActivityTasks+ - (Integer)
208
- # * +openDecisionTasks+ - (Integer)
209
- # * +openTimers+ - (Integer)
210
- # * +openChildWorkflowExecutions+ - (Integer)
211
- # * +latestActivityTaskTimestamp+ - (Time)
212
- # * +latestExecutionContext+ - (String)
190
+ # * `executionInfo` - (Hash)
191
+ # * `execution` - (Hash)
192
+ # * `workflowId` - (String)
193
+ # * `runId` - (String)
194
+ # * `workflowType` - (Hash)
195
+ # * `name` - (String)
196
+ # * `version` - (String)
197
+ # * `startTimestamp` - (Time)
198
+ # * `closeTimestamp` - (Time)
199
+ # * `executionStatus` - (String)
200
+ # * `closeStatus` - (String)
201
+ # * `parent` - (Hash)
202
+ # * `workflowId` - (String)
203
+ # * `runId` - (String)
204
+ # * `tagList` - (Array<String>)
205
+ # * `cancelRequested` - (Boolean)
206
+ # * `executionConfiguration` - (Hash)
207
+ # * `taskStartToCloseTimeout` - (String)
208
+ # * `executionStartToCloseTimeout` - (String)
209
+ # * `taskList` - (Hash)
210
+ # * `name` - (String)
211
+ # * `childPolicy` - (String)
212
+ # * `openCounts` - (Hash)
213
+ # * `openActivityTasks` - (Integer)
214
+ # * `openDecisionTasks` - (Integer)
215
+ # * `openTimers` - (Integer)
216
+ # * `openChildWorkflowExecutions` - (Integer)
217
+ # * `latestActivityTaskTimestamp` - (Time)
218
+ # * `latestExecutionContext` - (String)
213
219
 
214
220
  # @!method describe_workflow_type(options = {})
215
221
  # Calls the DescribeWorkflowType API operation.
216
222
  # @param [Hash] options
217
- # * +:domain+ - *required* - (String)
218
- # * +:workflow_type+ - *required* - (Hash)
219
- # * +:name+ - *required* - (String)
220
- # * +:version+ - *required* - (String)
223
+ # * `:domain` - *required* - (String)
224
+ # * `:workflow_type` - *required* - (Hash)
225
+ # * `:name` - *required* - (String)
226
+ # * `:version` - *required* - (String)
221
227
  # @return [Core::Response]
222
228
  # The #data method of the response object returns
223
229
  # a hash with the following structure:
224
- # * +typeInfo+ - (Hash)
225
- # * +workflowType+ - (Hash)
226
- # * +name+ - (String)
227
- # * +version+ - (String)
228
- # * +status+ - (String)
229
- # * +description+ - (String)
230
- # * +creationDate+ - (Time)
231
- # * +deprecationDate+ - (Time)
232
- # * +configuration+ - (Hash)
233
- # * +defaultTaskStartToCloseTimeout+ - (String)
234
- # * +defaultExecutionStartToCloseTimeout+ - (String)
235
- # * +defaultTaskList+ - (Hash)
236
- # * +name+ - (String)
237
- # * +defaultChildPolicy+ - (String)
230
+ # * `typeInfo` - (Hash)
231
+ # * `workflowType` - (Hash)
232
+ # * `name` - (String)
233
+ # * `version` - (String)
234
+ # * `status` - (String)
235
+ # * `description` - (String)
236
+ # * `creationDate` - (Time)
237
+ # * `deprecationDate` - (Time)
238
+ # * `configuration` - (Hash)
239
+ # * `defaultTaskStartToCloseTimeout` - (String)
240
+ # * `defaultExecutionStartToCloseTimeout` - (String)
241
+ # * `defaultTaskList` - (Hash)
242
+ # * `name` - (String)
243
+ # * `defaultChildPolicy` - (String)
238
244
 
239
245
  # @!method get_workflow_execution_history(options = {})
240
246
  # Calls the GetWorkflowExecutionHistory API operation.
241
247
  # @param [Hash] options
242
- # * +:domain+ - *required* - (String)
243
- # * +:execution+ - *required* - (Hash)
244
- # * +:workflow_id+ - *required* - (String)
245
- # * +:run_id+ - *required* - (String)
246
- # * +:next_page_token+ - (String)
247
- # * +:maximum_page_size+ - (Integer)
248
- # * +:reverse_order+ - (Boolean)
248
+ # * `:domain` - *required* - (String)
249
+ # * `:execution` - *required* - (Hash)
250
+ # * `:workflow_id` - *required* - (String)
251
+ # * `:run_id` - *required* - (String)
252
+ # * `:next_page_token` - (String)
253
+ # * `:maximum_page_size` - (Integer)
254
+ # * `:reverse_order` - (Boolean)
249
255
  # @return [Core::Response]
250
256
  # The #data method of the response object returns
251
257
  # a hash with the following structure:
252
- # * +events+ - (Array<Hash>)
253
- # * +eventTimestamp+ - (Time)
254
- # * +eventType+ - (String)
255
- # * +eventId+ - (Integer)
256
- # * +workflowExecutionStartedEventAttributes+ - (Hash)
257
- # * +input+ - (String)
258
- # * +executionStartToCloseTimeout+ - (String)
259
- # * +taskStartToCloseTimeout+ - (String)
260
- # * +childPolicy+ - (String)
261
- # * +taskList+ - (Hash)
262
- # * +name+ - (String)
263
- # * +workflowType+ - (Hash)
264
- # * +name+ - (String)
265
- # * +version+ - (String)
266
- # * +tagList+ - (Array<String>)
267
- # * +continuedExecutionRunId+ - (String)
268
- # * +parentWorkflowExecution+ - (Hash)
269
- # * +workflowId+ - (String)
270
- # * +runId+ - (String)
271
- # * +parentInitiatedEventId+ - (Integer)
272
- # * +workflowExecutionCompletedEventAttributes+ - (Hash)
273
- # * +result+ - (String)
274
- # * +decisionTaskCompletedEventId+ - (Integer)
275
- # * +completeWorkflowExecutionFailedEventAttributes+ - (Hash)
276
- # * +cause+ - (String)
277
- # * +decisionTaskCompletedEventId+ - (Integer)
278
- # * +workflowExecutionFailedEventAttributes+ - (Hash)
279
- # * +reason+ - (String)
280
- # * +details+ - (String)
281
- # * +decisionTaskCompletedEventId+ - (Integer)
282
- # * +failWorkflowExecutionFailedEventAttributes+ - (Hash)
283
- # * +cause+ - (String)
284
- # * +decisionTaskCompletedEventId+ - (Integer)
285
- # * +workflowExecutionTimedOutEventAttributes+ - (Hash)
286
- # * +timeoutType+ - (String)
287
- # * +childPolicy+ - (String)
288
- # * +workflowExecutionCanceledEventAttributes+ - (Hash)
289
- # * +details+ - (String)
290
- # * +decisionTaskCompletedEventId+ - (Integer)
291
- # * +cancelWorkflowExecutionFailedEventAttributes+ - (Hash)
292
- # * +cause+ - (String)
293
- # * +decisionTaskCompletedEventId+ - (Integer)
294
- # * +workflowExecutionContinuedAsNewEventAttributes+ - (Hash)
295
- # * +input+ - (String)
296
- # * +decisionTaskCompletedEventId+ - (Integer)
297
- # * +newExecutionRunId+ - (String)
298
- # * +executionStartToCloseTimeout+ - (String)
299
- # * +taskList+ - (Hash)
300
- # * +name+ - (String)
301
- # * +taskStartToCloseTimeout+ - (String)
302
- # * +childPolicy+ - (String)
303
- # * +tagList+ - (Array<String>)
304
- # * +workflowType+ - (Hash)
305
- # * +name+ - (String)
306
- # * +version+ - (String)
307
- # * +continueAsNewWorkflowExecutionFailedEventAttributes+ - (Hash)
308
- # * +cause+ - (String)
309
- # * +decisionTaskCompletedEventId+ - (Integer)
310
- # * +workflowExecutionTerminatedEventAttributes+ - (Hash)
311
- # * +reason+ - (String)
312
- # * +details+ - (String)
313
- # * +childPolicy+ - (String)
314
- # * +cause+ - (String)
315
- # * +workflowExecutionCancelRequestedEventAttributes+ - (Hash)
316
- # * +externalWorkflowExecution+ - (Hash)
317
- # * +workflowId+ - (String)
318
- # * +runId+ - (String)
319
- # * +externalInitiatedEventId+ - (Integer)
320
- # * +cause+ - (String)
321
- # * +decisionTaskScheduledEventAttributes+ - (Hash)
322
- # * +taskList+ - (Hash)
323
- # * +name+ - (String)
324
- # * +startToCloseTimeout+ - (String)
325
- # * +decisionTaskStartedEventAttributes+ - (Hash)
326
- # * +identity+ - (String)
327
- # * +scheduledEventId+ - (Integer)
328
- # * +decisionTaskCompletedEventAttributes+ - (Hash)
329
- # * +executionContext+ - (String)
330
- # * +scheduledEventId+ - (Integer)
331
- # * +startedEventId+ - (Integer)
332
- # * +decisionTaskTimedOutEventAttributes+ - (Hash)
333
- # * +timeoutType+ - (String)
334
- # * +scheduledEventId+ - (Integer)
335
- # * +startedEventId+ - (Integer)
336
- # * +activityTaskScheduledEventAttributes+ - (Hash)
337
- # * +activityType+ - (Hash)
338
- # * +name+ - (String)
339
- # * +version+ - (String)
340
- # * +activityId+ - (String)
341
- # * +input+ - (String)
342
- # * +control+ - (String)
343
- # * +scheduleToStartTimeout+ - (String)
344
- # * +scheduleToCloseTimeout+ - (String)
345
- # * +startToCloseTimeout+ - (String)
346
- # * +taskList+ - (Hash)
347
- # * +name+ - (String)
348
- # * +decisionTaskCompletedEventId+ - (Integer)
349
- # * +heartbeatTimeout+ - (String)
350
- # * +activityTaskStartedEventAttributes+ - (Hash)
351
- # * +identity+ - (String)
352
- # * +scheduledEventId+ - (Integer)
353
- # * +activityTaskCompletedEventAttributes+ - (Hash)
354
- # * +result+ - (String)
355
- # * +scheduledEventId+ - (Integer)
356
- # * +startedEventId+ - (Integer)
357
- # * +activityTaskFailedEventAttributes+ - (Hash)
358
- # * +reason+ - (String)
359
- # * +details+ - (String)
360
- # * +scheduledEventId+ - (Integer)
361
- # * +startedEventId+ - (Integer)
362
- # * +activityTaskTimedOutEventAttributes+ - (Hash)
363
- # * +timeoutType+ - (String)
364
- # * +scheduledEventId+ - (Integer)
365
- # * +startedEventId+ - (Integer)
366
- # * +details+ - (String)
367
- # * +activityTaskCanceledEventAttributes+ - (Hash)
368
- # * +details+ - (String)
369
- # * +scheduledEventId+ - (Integer)
370
- # * +startedEventId+ - (Integer)
371
- # * +latestCancelRequestedEventId+ - (Integer)
372
- # * +activityTaskCancelRequestedEventAttributes+ - (Hash)
373
- # * +decisionTaskCompletedEventId+ - (Integer)
374
- # * +activityId+ - (String)
375
- # * +workflowExecutionSignaledEventAttributes+ - (Hash)
376
- # * +signalName+ - (String)
377
- # * +input+ - (String)
378
- # * +externalWorkflowExecution+ - (Hash)
379
- # * +workflowId+ - (String)
380
- # * +runId+ - (String)
381
- # * +externalInitiatedEventId+ - (Integer)
382
- # * +markerRecordedEventAttributes+ - (Hash)
383
- # * +markerName+ - (String)
384
- # * +details+ - (String)
385
- # * +decisionTaskCompletedEventId+ - (Integer)
386
- # * +timerStartedEventAttributes+ - (Hash)
387
- # * +timerId+ - (String)
388
- # * +control+ - (String)
389
- # * +startToFireTimeout+ - (String)
390
- # * +decisionTaskCompletedEventId+ - (Integer)
391
- # * +timerFiredEventAttributes+ - (Hash)
392
- # * +timerId+ - (String)
393
- # * +startedEventId+ - (Integer)
394
- # * +timerCanceledEventAttributes+ - (Hash)
395
- # * +timerId+ - (String)
396
- # * +startedEventId+ - (Integer)
397
- # * +decisionTaskCompletedEventId+ - (Integer)
398
- # * +startChildWorkflowExecutionInitiatedEventAttributes+ - (Hash)
399
- # * +workflowId+ - (String)
400
- # * +workflowType+ - (Hash)
401
- # * +name+ - (String)
402
- # * +version+ - (String)
403
- # * +control+ - (String)
404
- # * +input+ - (String)
405
- # * +executionStartToCloseTimeout+ - (String)
406
- # * +taskList+ - (Hash)
407
- # * +name+ - (String)
408
- # * +decisionTaskCompletedEventId+ - (Integer)
409
- # * +childPolicy+ - (String)
410
- # * +taskStartToCloseTimeout+ - (String)
411
- # * +tagList+ - (Array<String>)
412
- # * +childWorkflowExecutionStartedEventAttributes+ - (Hash)
413
- # * +workflowExecution+ - (Hash)
414
- # * +workflowId+ - (String)
415
- # * +runId+ - (String)
416
- # * +workflowType+ - (Hash)
417
- # * +name+ - (String)
418
- # * +version+ - (String)
419
- # * +initiatedEventId+ - (Integer)
420
- # * +childWorkflowExecutionCompletedEventAttributes+ - (Hash)
421
- # * +workflowExecution+ - (Hash)
422
- # * +workflowId+ - (String)
423
- # * +runId+ - (String)
424
- # * +workflowType+ - (Hash)
425
- # * +name+ - (String)
426
- # * +version+ - (String)
427
- # * +result+ - (String)
428
- # * +initiatedEventId+ - (Integer)
429
- # * +startedEventId+ - (Integer)
430
- # * +childWorkflowExecutionFailedEventAttributes+ - (Hash)
431
- # * +workflowExecution+ - (Hash)
432
- # * +workflowId+ - (String)
433
- # * +runId+ - (String)
434
- # * +workflowType+ - (Hash)
435
- # * +name+ - (String)
436
- # * +version+ - (String)
437
- # * +reason+ - (String)
438
- # * +details+ - (String)
439
- # * +initiatedEventId+ - (Integer)
440
- # * +startedEventId+ - (Integer)
441
- # * +childWorkflowExecutionTimedOutEventAttributes+ - (Hash)
442
- # * +workflowExecution+ - (Hash)
443
- # * +workflowId+ - (String)
444
- # * +runId+ - (String)
445
- # * +workflowType+ - (Hash)
446
- # * +name+ - (String)
447
- # * +version+ - (String)
448
- # * +timeoutType+ - (String)
449
- # * +initiatedEventId+ - (Integer)
450
- # * +startedEventId+ - (Integer)
451
- # * +childWorkflowExecutionCanceledEventAttributes+ - (Hash)
452
- # * +workflowExecution+ - (Hash)
453
- # * +workflowId+ - (String)
454
- # * +runId+ - (String)
455
- # * +workflowType+ - (Hash)
456
- # * +name+ - (String)
457
- # * +version+ - (String)
458
- # * +details+ - (String)
459
- # * +initiatedEventId+ - (Integer)
460
- # * +startedEventId+ - (Integer)
461
- # * +childWorkflowExecutionTerminatedEventAttributes+ - (Hash)
462
- # * +workflowExecution+ - (Hash)
463
- # * +workflowId+ - (String)
464
- # * +runId+ - (String)
465
- # * +workflowType+ - (Hash)
466
- # * +name+ - (String)
467
- # * +version+ - (String)
468
- # * +initiatedEventId+ - (Integer)
469
- # * +startedEventId+ - (Integer)
470
- # * +signalExternalWorkflowExecutionInitiatedEventAttributes+ - (Hash)
471
- # * +workflowId+ - (String)
472
- # * +runId+ - (String)
473
- # * +signalName+ - (String)
474
- # * +input+ - (String)
475
- # * +decisionTaskCompletedEventId+ - (Integer)
476
- # * +control+ - (String)
477
- # * +externalWorkflowExecutionSignaledEventAttributes+ - (Hash)
478
- # * +workflowExecution+ - (Hash)
479
- # * +workflowId+ - (String)
480
- # * +runId+ - (String)
481
- # * +initiatedEventId+ - (Integer)
482
- # * +signalExternalWorkflowExecutionFailedEventAttributes+ - (Hash)
483
- # * +workflowId+ - (String)
484
- # * +runId+ - (String)
485
- # * +cause+ - (String)
486
- # * +initiatedEventId+ - (Integer)
487
- # * +decisionTaskCompletedEventId+ - (Integer)
488
- # * +externalWorkflowExecutionCancelRequestedEventAttributes+ - (Hash)
489
- # * +workflowExecution+ - (Hash)
490
- # * +workflowId+ - (String)
491
- # * +runId+ - (String)
492
- # * +initiatedEventId+ - (Integer)
493
- # * +requestCancelExternalWorkflowExecutionInitiatedEventAttributes+ - (Hash)
494
- # * +workflowId+ - (String)
495
- # * +runId+ - (String)
496
- # * +decisionTaskCompletedEventId+ - (Integer)
497
- # * +control+ - (String)
498
- # * +requestCancelExternalWorkflowExecutionFailedEventAttributes+ - (Hash)
499
- # * +workflowId+ - (String)
500
- # * +runId+ - (String)
501
- # * +cause+ - (String)
502
- # * +initiatedEventId+ - (Integer)
503
- # * +decisionTaskCompletedEventId+ - (Integer)
504
- # * +scheduleActivityTaskFailedEventAttributes+ - (Hash)
505
- # * +activityType+ - (Hash)
506
- # * +name+ - (String)
507
- # * +version+ - (String)
508
- # * +activityId+ - (String)
509
- # * +cause+ - (String)
510
- # * +decisionTaskCompletedEventId+ - (Integer)
511
- # * +requestCancelActivityTaskFailedEventAttributes+ - (Hash)
512
- # * +activityId+ - (String)
513
- # * +cause+ - (String)
514
- # * +decisionTaskCompletedEventId+ - (Integer)
515
- # * +startTimerFailedEventAttributes+ - (Hash)
516
- # * +timerId+ - (String)
517
- # * +cause+ - (String)
518
- # * +decisionTaskCompletedEventId+ - (Integer)
519
- # * +cancelTimerFailedEventAttributes+ - (Hash)
520
- # * +timerId+ - (String)
521
- # * +cause+ - (String)
522
- # * +decisionTaskCompletedEventId+ - (Integer)
523
- # * +startChildWorkflowExecutionFailedEventAttributes+ - (Hash)
524
- # * +workflowType+ - (Hash)
525
- # * +name+ - (String)
526
- # * +version+ - (String)
527
- # * +cause+ - (String)
528
- # * +workflowId+ - (String)
529
- # * +initiatedEventId+ - (Integer)
530
- # * +decisionTaskCompletedEventId+ - (Integer)
531
- # * +nextPageToken+ - (String)
258
+ # * `events` - (Array<Hash>)
259
+ # * `eventTimestamp` - (Time)
260
+ # * `eventType` - (String)
261
+ # * `eventId` - (Integer)
262
+ # * `workflowExecutionStartedEventAttributes` - (Hash)
263
+ # * `input` - (String)
264
+ # * `executionStartToCloseTimeout` - (String)
265
+ # * `taskStartToCloseTimeout` - (String)
266
+ # * `childPolicy` - (String)
267
+ # * `taskList` - (Hash)
268
+ # * `name` - (String)
269
+ # * `workflowType` - (Hash)
270
+ # * `name` - (String)
271
+ # * `version` - (String)
272
+ # * `tagList` - (Array<String>)
273
+ # * `continuedExecutionRunId` - (String)
274
+ # * `parentWorkflowExecution` - (Hash)
275
+ # * `workflowId` - (String)
276
+ # * `runId` - (String)
277
+ # * `parentInitiatedEventId` - (Integer)
278
+ # * `workflowExecutionCompletedEventAttributes` - (Hash)
279
+ # * `result` - (String)
280
+ # * `decisionTaskCompletedEventId` - (Integer)
281
+ # * `completeWorkflowExecutionFailedEventAttributes` - (Hash)
282
+ # * `cause` - (String)
283
+ # * `decisionTaskCompletedEventId` - (Integer)
284
+ # * `workflowExecutionFailedEventAttributes` - (Hash)
285
+ # * `reason` - (String)
286
+ # * `details` - (String)
287
+ # * `decisionTaskCompletedEventId` - (Integer)
288
+ # * `failWorkflowExecutionFailedEventAttributes` - (Hash)
289
+ # * `cause` - (String)
290
+ # * `decisionTaskCompletedEventId` - (Integer)
291
+ # * `workflowExecutionTimedOutEventAttributes` - (Hash)
292
+ # * `timeoutType` - (String)
293
+ # * `childPolicy` - (String)
294
+ # * `workflowExecutionCanceledEventAttributes` - (Hash)
295
+ # * `details` - (String)
296
+ # * `decisionTaskCompletedEventId` - (Integer)
297
+ # * `cancelWorkflowExecutionFailedEventAttributes` - (Hash)
298
+ # * `cause` - (String)
299
+ # * `decisionTaskCompletedEventId` - (Integer)
300
+ # * `workflowExecutionContinuedAsNewEventAttributes` - (Hash)
301
+ # * `input` - (String)
302
+ # * `decisionTaskCompletedEventId` - (Integer)
303
+ # * `newExecutionRunId` - (String)
304
+ # * `executionStartToCloseTimeout` - (String)
305
+ # * `taskList` - (Hash)
306
+ # * `name` - (String)
307
+ # * `taskStartToCloseTimeout` - (String)
308
+ # * `childPolicy` - (String)
309
+ # * `tagList` - (Array<String>)
310
+ # * `workflowType` - (Hash)
311
+ # * `name` - (String)
312
+ # * `version` - (String)
313
+ # * `continueAsNewWorkflowExecutionFailedEventAttributes` - (Hash)
314
+ # * `cause` - (String)
315
+ # * `decisionTaskCompletedEventId` - (Integer)
316
+ # * `workflowExecutionTerminatedEventAttributes` - (Hash)
317
+ # * `reason` - (String)
318
+ # * `details` - (String)
319
+ # * `childPolicy` - (String)
320
+ # * `cause` - (String)
321
+ # * `workflowExecutionCancelRequestedEventAttributes` - (Hash)
322
+ # * `externalWorkflowExecution` - (Hash)
323
+ # * `workflowId` - (String)
324
+ # * `runId` - (String)
325
+ # * `externalInitiatedEventId` - (Integer)
326
+ # * `cause` - (String)
327
+ # * `decisionTaskScheduledEventAttributes` - (Hash)
328
+ # * `taskList` - (Hash)
329
+ # * `name` - (String)
330
+ # * `startToCloseTimeout` - (String)
331
+ # * `decisionTaskStartedEventAttributes` - (Hash)
332
+ # * `identity` - (String)
333
+ # * `scheduledEventId` - (Integer)
334
+ # * `decisionTaskCompletedEventAttributes` - (Hash)
335
+ # * `executionContext` - (String)
336
+ # * `scheduledEventId` - (Integer)
337
+ # * `startedEventId` - (Integer)
338
+ # * `decisionTaskTimedOutEventAttributes` - (Hash)
339
+ # * `timeoutType` - (String)
340
+ # * `scheduledEventId` - (Integer)
341
+ # * `startedEventId` - (Integer)
342
+ # * `activityTaskScheduledEventAttributes` - (Hash)
343
+ # * `activityType` - (Hash)
344
+ # * `name` - (String)
345
+ # * `version` - (String)
346
+ # * `activityId` - (String)
347
+ # * `input` - (String)
348
+ # * `control` - (String)
349
+ # * `scheduleToStartTimeout` - (String)
350
+ # * `scheduleToCloseTimeout` - (String)
351
+ # * `startToCloseTimeout` - (String)
352
+ # * `taskList` - (Hash)
353
+ # * `name` - (String)
354
+ # * `decisionTaskCompletedEventId` - (Integer)
355
+ # * `heartbeatTimeout` - (String)
356
+ # * `activityTaskStartedEventAttributes` - (Hash)
357
+ # * `identity` - (String)
358
+ # * `scheduledEventId` - (Integer)
359
+ # * `activityTaskCompletedEventAttributes` - (Hash)
360
+ # * `result` - (String)
361
+ # * `scheduledEventId` - (Integer)
362
+ # * `startedEventId` - (Integer)
363
+ # * `activityTaskFailedEventAttributes` - (Hash)
364
+ # * `reason` - (String)
365
+ # * `details` - (String)
366
+ # * `scheduledEventId` - (Integer)
367
+ # * `startedEventId` - (Integer)
368
+ # * `activityTaskTimedOutEventAttributes` - (Hash)
369
+ # * `timeoutType` - (String)
370
+ # * `scheduledEventId` - (Integer)
371
+ # * `startedEventId` - (Integer)
372
+ # * `details` - (String)
373
+ # * `activityTaskCanceledEventAttributes` - (Hash)
374
+ # * `details` - (String)
375
+ # * `scheduledEventId` - (Integer)
376
+ # * `startedEventId` - (Integer)
377
+ # * `latestCancelRequestedEventId` - (Integer)
378
+ # * `activityTaskCancelRequestedEventAttributes` - (Hash)
379
+ # * `decisionTaskCompletedEventId` - (Integer)
380
+ # * `activityId` - (String)
381
+ # * `workflowExecutionSignaledEventAttributes` - (Hash)
382
+ # * `signalName` - (String)
383
+ # * `input` - (String)
384
+ # * `externalWorkflowExecution` - (Hash)
385
+ # * `workflowId` - (String)
386
+ # * `runId` - (String)
387
+ # * `externalInitiatedEventId` - (Integer)
388
+ # * `markerRecordedEventAttributes` - (Hash)
389
+ # * `markerName` - (String)
390
+ # * `details` - (String)
391
+ # * `decisionTaskCompletedEventId` - (Integer)
392
+ # * `timerStartedEventAttributes` - (Hash)
393
+ # * `timerId` - (String)
394
+ # * `control` - (String)
395
+ # * `startToFireTimeout` - (String)
396
+ # * `decisionTaskCompletedEventId` - (Integer)
397
+ # * `timerFiredEventAttributes` - (Hash)
398
+ # * `timerId` - (String)
399
+ # * `startedEventId` - (Integer)
400
+ # * `timerCanceledEventAttributes` - (Hash)
401
+ # * `timerId` - (String)
402
+ # * `startedEventId` - (Integer)
403
+ # * `decisionTaskCompletedEventId` - (Integer)
404
+ # * `startChildWorkflowExecutionInitiatedEventAttributes` - (Hash)
405
+ # * `workflowId` - (String)
406
+ # * `workflowType` - (Hash)
407
+ # * `name` - (String)
408
+ # * `version` - (String)
409
+ # * `control` - (String)
410
+ # * `input` - (String)
411
+ # * `executionStartToCloseTimeout` - (String)
412
+ # * `taskList` - (Hash)
413
+ # * `name` - (String)
414
+ # * `decisionTaskCompletedEventId` - (Integer)
415
+ # * `childPolicy` - (String)
416
+ # * `taskStartToCloseTimeout` - (String)
417
+ # * `tagList` - (Array<String>)
418
+ # * `childWorkflowExecutionStartedEventAttributes` - (Hash)
419
+ # * `workflowExecution` - (Hash)
420
+ # * `workflowId` - (String)
421
+ # * `runId` - (String)
422
+ # * `workflowType` - (Hash)
423
+ # * `name` - (String)
424
+ # * `version` - (String)
425
+ # * `initiatedEventId` - (Integer)
426
+ # * `childWorkflowExecutionCompletedEventAttributes` - (Hash)
427
+ # * `workflowExecution` - (Hash)
428
+ # * `workflowId` - (String)
429
+ # * `runId` - (String)
430
+ # * `workflowType` - (Hash)
431
+ # * `name` - (String)
432
+ # * `version` - (String)
433
+ # * `result` - (String)
434
+ # * `initiatedEventId` - (Integer)
435
+ # * `startedEventId` - (Integer)
436
+ # * `childWorkflowExecutionFailedEventAttributes` - (Hash)
437
+ # * `workflowExecution` - (Hash)
438
+ # * `workflowId` - (String)
439
+ # * `runId` - (String)
440
+ # * `workflowType` - (Hash)
441
+ # * `name` - (String)
442
+ # * `version` - (String)
443
+ # * `reason` - (String)
444
+ # * `details` - (String)
445
+ # * `initiatedEventId` - (Integer)
446
+ # * `startedEventId` - (Integer)
447
+ # * `childWorkflowExecutionTimedOutEventAttributes` - (Hash)
448
+ # * `workflowExecution` - (Hash)
449
+ # * `workflowId` - (String)
450
+ # * `runId` - (String)
451
+ # * `workflowType` - (Hash)
452
+ # * `name` - (String)
453
+ # * `version` - (String)
454
+ # * `timeoutType` - (String)
455
+ # * `initiatedEventId` - (Integer)
456
+ # * `startedEventId` - (Integer)
457
+ # * `childWorkflowExecutionCanceledEventAttributes` - (Hash)
458
+ # * `workflowExecution` - (Hash)
459
+ # * `workflowId` - (String)
460
+ # * `runId` - (String)
461
+ # * `workflowType` - (Hash)
462
+ # * `name` - (String)
463
+ # * `version` - (String)
464
+ # * `details` - (String)
465
+ # * `initiatedEventId` - (Integer)
466
+ # * `startedEventId` - (Integer)
467
+ # * `childWorkflowExecutionTerminatedEventAttributes` - (Hash)
468
+ # * `workflowExecution` - (Hash)
469
+ # * `workflowId` - (String)
470
+ # * `runId` - (String)
471
+ # * `workflowType` - (Hash)
472
+ # * `name` - (String)
473
+ # * `version` - (String)
474
+ # * `initiatedEventId` - (Integer)
475
+ # * `startedEventId` - (Integer)
476
+ # * `signalExternalWorkflowExecutionInitiatedEventAttributes` - (Hash)
477
+ # * `workflowId` - (String)
478
+ # * `runId` - (String)
479
+ # * `signalName` - (String)
480
+ # * `input` - (String)
481
+ # * `decisionTaskCompletedEventId` - (Integer)
482
+ # * `control` - (String)
483
+ # * `externalWorkflowExecutionSignaledEventAttributes` - (Hash)
484
+ # * `workflowExecution` - (Hash)
485
+ # * `workflowId` - (String)
486
+ # * `runId` - (String)
487
+ # * `initiatedEventId` - (Integer)
488
+ # * `signalExternalWorkflowExecutionFailedEventAttributes` - (Hash)
489
+ # * `workflowId` - (String)
490
+ # * `runId` - (String)
491
+ # * `cause` - (String)
492
+ # * `initiatedEventId` - (Integer)
493
+ # * `decisionTaskCompletedEventId` - (Integer)
494
+ # * `externalWorkflowExecutionCancelRequestedEventAttributes` - (Hash)
495
+ # * `workflowExecution` - (Hash)
496
+ # * `workflowId` - (String)
497
+ # * `runId` - (String)
498
+ # * `initiatedEventId` - (Integer)
499
+ # * `requestCancelExternalWorkflowExecutionInitiatedEventAttributes` - (Hash)
500
+ # * `workflowId` - (String)
501
+ # * `runId` - (String)
502
+ # * `decisionTaskCompletedEventId` - (Integer)
503
+ # * `control` - (String)
504
+ # * `requestCancelExternalWorkflowExecutionFailedEventAttributes` - (Hash)
505
+ # * `workflowId` - (String)
506
+ # * `runId` - (String)
507
+ # * `cause` - (String)
508
+ # * `initiatedEventId` - (Integer)
509
+ # * `decisionTaskCompletedEventId` - (Integer)
510
+ # * `scheduleActivityTaskFailedEventAttributes` - (Hash)
511
+ # * `activityType` - (Hash)
512
+ # * `name` - (String)
513
+ # * `version` - (String)
514
+ # * `activityId` - (String)
515
+ # * `cause` - (String)
516
+ # * `decisionTaskCompletedEventId` - (Integer)
517
+ # * `requestCancelActivityTaskFailedEventAttributes` - (Hash)
518
+ # * `activityId` - (String)
519
+ # * `cause` - (String)
520
+ # * `decisionTaskCompletedEventId` - (Integer)
521
+ # * `startTimerFailedEventAttributes` - (Hash)
522
+ # * `timerId` - (String)
523
+ # * `cause` - (String)
524
+ # * `decisionTaskCompletedEventId` - (Integer)
525
+ # * `cancelTimerFailedEventAttributes` - (Hash)
526
+ # * `timerId` - (String)
527
+ # * `cause` - (String)
528
+ # * `decisionTaskCompletedEventId` - (Integer)
529
+ # * `startChildWorkflowExecutionFailedEventAttributes` - (Hash)
530
+ # * `workflowType` - (Hash)
531
+ # * `name` - (String)
532
+ # * `version` - (String)
533
+ # * `cause` - (String)
534
+ # * `workflowId` - (String)
535
+ # * `initiatedEventId` - (Integer)
536
+ # * `decisionTaskCompletedEventId` - (Integer)
537
+ # * `nextPageToken` - (String)
532
538
 
533
539
  # @!method list_activity_types(options = {})
534
540
  # Calls the ListActivityTypes API operation.
535
541
  # @param [Hash] options
536
- # * +:domain+ - *required* - (String)
537
- # * +:name+ - (String)
538
- # * +:registration_status+ - *required* - (String)
539
- # * +:next_page_token+ - (String)
540
- # * +:maximum_page_size+ - (Integer)
541
- # * +:reverse_order+ - (Boolean)
542
+ # * `:domain` - *required* - (String)
543
+ # * `:name` - (String)
544
+ # * `:registration_status` - *required* - (String) Valid values
545
+ # include:
546
+ # * `REGISTERED`
547
+ # * `DEPRECATED`
548
+ # * `:next_page_token` - (String)
549
+ # * `:maximum_page_size` - (Integer)
550
+ # * `:reverse_order` - (Boolean)
542
551
  # @return [Core::Response]
543
552
  # The #data method of the response object returns
544
553
  # a hash with the following structure:
545
- # * +typeInfos+ - (Array<Hash>)
546
- # * +activityType+ - (Hash)
547
- # * +name+ - (String)
548
- # * +version+ - (String)
549
- # * +status+ - (String)
550
- # * +description+ - (String)
551
- # * +creationDate+ - (Time)
552
- # * +deprecationDate+ - (Time)
553
- # * +nextPageToken+ - (String)
554
+ # * `typeInfos` - (Array<Hash>)
555
+ # * `activityType` - (Hash)
556
+ # * `name` - (String)
557
+ # * `version` - (String)
558
+ # * `status` - (String)
559
+ # * `description` - (String)
560
+ # * `creationDate` - (Time)
561
+ # * `deprecationDate` - (Time)
562
+ # * `nextPageToken` - (String)
554
563
 
555
564
  # @!method list_closed_workflow_executions(options = {})
556
565
  # Calls the ListClosedWorkflowExecutions API operation.
557
566
  # @param [Hash] options
558
- # * +:domain+ - *required* - (String)
559
- # * +:start_time_filter+ - (Hash)
560
- # * +:oldest_date+ - *required* - (Integer<unix timestamp>)
561
- # * +:latest_date+ - (Integer<unix timestamp>)
562
- # * +:close_time_filter+ - (Hash)
563
- # * +:oldest_date+ - *required* - (Integer<unix timestamp>)
564
- # * +:latest_date+ - (Integer<unix timestamp>)
565
- # * +:execution_filter+ - (Hash)
566
- # * +:workflow_id+ - *required* - (String)
567
- # * +:close_status_filter+ - (Hash)
568
- # * +:status+ - *required* - (String)
569
- # * +:type_filter+ - (Hash)
570
- # * +:name+ - *required* - (String)
571
- # * +:version+ - (String)
572
- # * +:tag_filter+ - (Hash)
573
- # * +:tag+ - *required* - (String)
574
- # * +:next_page_token+ - (String)
575
- # * +:maximum_page_size+ - (Integer)
576
- # * +:reverse_order+ - (Boolean)
567
+ # * `:domain` - *required* - (String)
568
+ # * `:start_time_filter` - (Hash)
569
+ # * `:oldest_date` - *required* - (Integer<unix timestamp>)
570
+ # * `:latest_date` - (Integer<unix timestamp>)
571
+ # * `:close_time_filter` - (Hash)
572
+ # * `:oldest_date` - *required* - (Integer<unix timestamp>)
573
+ # * `:latest_date` - (Integer<unix timestamp>)
574
+ # * `:execution_filter` - (Hash)
575
+ # * `:workflow_id` - *required* - (String)
576
+ # * `:close_status_filter` - (Hash)
577
+ # * `:status` - *required* - (String) Valid values include:
578
+ # * `COMPLETED`
579
+ # * `FAILED`
580
+ # * `CANCELED`
581
+ # * `TERMINATED`
582
+ # * `CONTINUED_AS_NEW`
583
+ # * `TIMED_OUT`
584
+ # * `:type_filter` - (Hash)
585
+ # * `:name` - *required* - (String)
586
+ # * `:version` - (String)
587
+ # * `:tag_filter` - (Hash)
588
+ # * `:tag` - *required* - (String)
589
+ # * `:next_page_token` - (String)
590
+ # * `:maximum_page_size` - (Integer)
591
+ # * `:reverse_order` - (Boolean)
577
592
  # @return [Core::Response]
578
593
  # The #data method of the response object returns
579
594
  # a hash with the following structure:
580
- # * +executionInfos+ - (Array<Hash>)
581
- # * +execution+ - (Hash)
582
- # * +workflowId+ - (String)
583
- # * +runId+ - (String)
584
- # * +workflowType+ - (Hash)
585
- # * +name+ - (String)
586
- # * +version+ - (String)
587
- # * +startTimestamp+ - (Time)
588
- # * +closeTimestamp+ - (Time)
589
- # * +executionStatus+ - (String)
590
- # * +closeStatus+ - (String)
591
- # * +parent+ - (Hash)
592
- # * +workflowId+ - (String)
593
- # * +runId+ - (String)
594
- # * +tagList+ - (Array<String>)
595
- # * +cancelRequested+ - (Boolean)
596
- # * +nextPageToken+ - (String)
595
+ # * `executionInfos` - (Array<Hash>)
596
+ # * `execution` - (Hash)
597
+ # * `workflowId` - (String)
598
+ # * `runId` - (String)
599
+ # * `workflowType` - (Hash)
600
+ # * `name` - (String)
601
+ # * `version` - (String)
602
+ # * `startTimestamp` - (Time)
603
+ # * `closeTimestamp` - (Time)
604
+ # * `executionStatus` - (String)
605
+ # * `closeStatus` - (String)
606
+ # * `parent` - (Hash)
607
+ # * `workflowId` - (String)
608
+ # * `runId` - (String)
609
+ # * `tagList` - (Array<String>)
610
+ # * `cancelRequested` - (Boolean)
611
+ # * `nextPageToken` - (String)
597
612
 
598
613
  # @!method list_domains(options = {})
599
614
  # Calls the ListDomains API operation.
600
615
  # @param [Hash] options
601
- # * +:next_page_token+ - (String)
602
- # * +:registration_status+ - *required* - (String)
603
- # * +:maximum_page_size+ - (Integer)
604
- # * +:reverse_order+ - (Boolean)
616
+ # * `:next_page_token` - (String)
617
+ # * `:registration_status` - *required* - (String) Valid values
618
+ # include:
619
+ # * `REGISTERED`
620
+ # * `DEPRECATED`
621
+ # * `:maximum_page_size` - (Integer)
622
+ # * `:reverse_order` - (Boolean)
605
623
  # @return [Core::Response]
606
624
  # The #data method of the response object returns
607
625
  # a hash with the following structure:
608
- # * +domainInfos+ - (Array<Hash>)
609
- # * +name+ - (String)
610
- # * +status+ - (String)
611
- # * +description+ - (String)
612
- # * +nextPageToken+ - (String)
626
+ # * `domainInfos` - (Array<Hash>)
627
+ # * `name` - (String)
628
+ # * `status` - (String)
629
+ # * `description` - (String)
630
+ # * `nextPageToken` - (String)
613
631
 
614
632
  # @!method list_open_workflow_executions(options = {})
615
633
  # Calls the ListOpenWorkflowExecutions API operation.
616
634
  # @param [Hash] options
617
- # * +:domain+ - *required* - (String)
618
- # * +:start_time_filter+ - *required* - (Hash)
619
- # * +:oldest_date+ - *required* - (Integer<unix timestamp>)
620
- # * +:latest_date+ - (Integer<unix timestamp>)
621
- # * +:type_filter+ - (Hash)
622
- # * +:name+ - *required* - (String)
623
- # * +:version+ - (String)
624
- # * +:tag_filter+ - (Hash)
625
- # * +:tag+ - *required* - (String)
626
- # * +:next_page_token+ - (String)
627
- # * +:maximum_page_size+ - (Integer)
628
- # * +:reverse_order+ - (Boolean)
629
- # * +:execution_filter+ - (Hash)
630
- # * +:workflow_id+ - *required* - (String)
635
+ # * `:domain` - *required* - (String)
636
+ # * `:start_time_filter` - *required* - (Hash)
637
+ # * `:oldest_date` - *required* - (Integer<unix timestamp>)
638
+ # * `:latest_date` - (Integer<unix timestamp>)
639
+ # * `:type_filter` - (Hash)
640
+ # * `:name` - *required* - (String)
641
+ # * `:version` - (String)
642
+ # * `:tag_filter` - (Hash)
643
+ # * `:tag` - *required* - (String)
644
+ # * `:next_page_token` - (String)
645
+ # * `:maximum_page_size` - (Integer)
646
+ # * `:reverse_order` - (Boolean)
647
+ # * `:execution_filter` - (Hash)
648
+ # * `:workflow_id` - *required* - (String)
631
649
  # @return [Core::Response]
632
650
  # The #data method of the response object returns
633
651
  # a hash with the following structure:
634
- # * +executionInfos+ - (Array<Hash>)
635
- # * +execution+ - (Hash)
636
- # * +workflowId+ - (String)
637
- # * +runId+ - (String)
638
- # * +workflowType+ - (Hash)
639
- # * +name+ - (String)
640
- # * +version+ - (String)
641
- # * +startTimestamp+ - (Time)
642
- # * +closeTimestamp+ - (Time)
643
- # * +executionStatus+ - (String)
644
- # * +closeStatus+ - (String)
645
- # * +parent+ - (Hash)
646
- # * +workflowId+ - (String)
647
- # * +runId+ - (String)
648
- # * +tagList+ - (Array<String>)
649
- # * +cancelRequested+ - (Boolean)
650
- # * +nextPageToken+ - (String)
652
+ # * `executionInfos` - (Array<Hash>)
653
+ # * `execution` - (Hash)
654
+ # * `workflowId` - (String)
655
+ # * `runId` - (String)
656
+ # * `workflowType` - (Hash)
657
+ # * `name` - (String)
658
+ # * `version` - (String)
659
+ # * `startTimestamp` - (Time)
660
+ # * `closeTimestamp` - (Time)
661
+ # * `executionStatus` - (String)
662
+ # * `closeStatus` - (String)
663
+ # * `parent` - (Hash)
664
+ # * `workflowId` - (String)
665
+ # * `runId` - (String)
666
+ # * `tagList` - (Array<String>)
667
+ # * `cancelRequested` - (Boolean)
668
+ # * `nextPageToken` - (String)
651
669
 
652
670
  # @!method list_workflow_types(options = {})
653
671
  # Calls the ListWorkflowTypes API operation.
654
672
  # @param [Hash] options
655
- # * +:domain+ - *required* - (String)
656
- # * +:name+ - (String)
657
- # * +:registration_status+ - *required* - (String)
658
- # * +:next_page_token+ - (String)
659
- # * +:maximum_page_size+ - (Integer)
660
- # * +:reverse_order+ - (Boolean)
673
+ # * `:domain` - *required* - (String)
674
+ # * `:name` - (String)
675
+ # * `:registration_status` - *required* - (String) Valid values
676
+ # include:
677
+ # * `REGISTERED`
678
+ # * `DEPRECATED`
679
+ # * `:next_page_token` - (String)
680
+ # * `:maximum_page_size` - (Integer)
681
+ # * `:reverse_order` - (Boolean)
661
682
  # @return [Core::Response]
662
683
  # The #data method of the response object returns
663
684
  # a hash with the following structure:
664
- # * +typeInfos+ - (Array<Hash>)
665
- # * +workflowType+ - (Hash)
666
- # * +name+ - (String)
667
- # * +version+ - (String)
668
- # * +status+ - (String)
669
- # * +description+ - (String)
670
- # * +creationDate+ - (Time)
671
- # * +deprecationDate+ - (Time)
672
- # * +nextPageToken+ - (String)
685
+ # * `typeInfos` - (Array<Hash>)
686
+ # * `workflowType` - (Hash)
687
+ # * `name` - (String)
688
+ # * `version` - (String)
689
+ # * `status` - (String)
690
+ # * `description` - (String)
691
+ # * `creationDate` - (Time)
692
+ # * `deprecationDate` - (Time)
693
+ # * `nextPageToken` - (String)
673
694
 
674
695
  # @!method poll_for_activity_task(options = {})
675
696
  # Calls the PollForActivityTask API operation.
676
697
  # @param [Hash] options
677
- # * +:domain+ - *required* - (String)
678
- # * +:task_list+ - *required* - (Hash)
679
- # * +:name+ - *required* - (String)
680
- # * +:identity+ - (String)
698
+ # * `:domain` - *required* - (String)
699
+ # * `:task_list` - *required* - (Hash)
700
+ # * `:name` - *required* - (String)
701
+ # * `:identity` - (String)
681
702
  # @return [Core::Response]
682
703
  # The #data method of the response object returns
683
704
  # a hash with the following structure:
684
- # * +taskToken+ - (String)
685
- # * +activityId+ - (String)
686
- # * +startedEventId+ - (Integer)
687
- # * +workflowExecution+ - (Hash)
688
- # * +workflowId+ - (String)
689
- # * +runId+ - (String)
690
- # * +activityType+ - (Hash)
691
- # * +name+ - (String)
692
- # * +version+ - (String)
693
- # * +input+ - (String)
705
+ # * `taskToken` - (String)
706
+ # * `activityId` - (String)
707
+ # * `startedEventId` - (Integer)
708
+ # * `workflowExecution` - (Hash)
709
+ # * `workflowId` - (String)
710
+ # * `runId` - (String)
711
+ # * `activityType` - (Hash)
712
+ # * `name` - (String)
713
+ # * `version` - (String)
714
+ # * `input` - (String)
694
715
 
695
716
  # @!method poll_for_decision_task(options = {})
696
717
  # Calls the PollForDecisionTask API operation.
697
718
  # @param [Hash] options
698
- # * +:domain+ - *required* - (String)
699
- # * +:task_list+ - *required* - (Hash)
700
- # * +:name+ - *required* - (String)
701
- # * +:identity+ - (String)
702
- # * +:next_page_token+ - (String)
703
- # * +:maximum_page_size+ - (Integer)
704
- # * +:reverse_order+ - (Boolean)
719
+ # * `:domain` - *required* - (String)
720
+ # * `:task_list` - *required* - (Hash)
721
+ # * `:name` - *required* - (String)
722
+ # * `:identity` - (String)
723
+ # * `:next_page_token` - (String)
724
+ # * `:maximum_page_size` - (Integer)
725
+ # * `:reverse_order` - (Boolean)
705
726
  # @return [Core::Response]
706
727
  # The #data method of the response object returns
707
728
  # a hash with the following structure:
708
- # * +taskToken+ - (String)
709
- # * +startedEventId+ - (Integer)
710
- # * +workflowExecution+ - (Hash)
711
- # * +workflowId+ - (String)
712
- # * +runId+ - (String)
713
- # * +workflowType+ - (Hash)
714
- # * +name+ - (String)
715
- # * +version+ - (String)
716
- # * +events+ - (Array<Hash>)
717
- # * +eventTimestamp+ - (Time)
718
- # * +eventType+ - (String)
719
- # * +eventId+ - (Integer)
720
- # * +workflowExecutionStartedEventAttributes+ - (Hash)
721
- # * +input+ - (String)
722
- # * +executionStartToCloseTimeout+ - (String)
723
- # * +taskStartToCloseTimeout+ - (String)
724
- # * +childPolicy+ - (String)
725
- # * +taskList+ - (Hash)
726
- # * +name+ - (String)
727
- # * +workflowType+ - (Hash)
728
- # * +name+ - (String)
729
- # * +version+ - (String)
730
- # * +tagList+ - (Array<String>)
731
- # * +continuedExecutionRunId+ - (String)
732
- # * +parentWorkflowExecution+ - (Hash)
733
- # * +workflowId+ - (String)
734
- # * +runId+ - (String)
735
- # * +parentInitiatedEventId+ - (Integer)
736
- # * +workflowExecutionCompletedEventAttributes+ - (Hash)
737
- # * +result+ - (String)
738
- # * +decisionTaskCompletedEventId+ - (Integer)
739
- # * +completeWorkflowExecutionFailedEventAttributes+ - (Hash)
740
- # * +cause+ - (String)
741
- # * +decisionTaskCompletedEventId+ - (Integer)
742
- # * +workflowExecutionFailedEventAttributes+ - (Hash)
743
- # * +reason+ - (String)
744
- # * +details+ - (String)
745
- # * +decisionTaskCompletedEventId+ - (Integer)
746
- # * +failWorkflowExecutionFailedEventAttributes+ - (Hash)
747
- # * +cause+ - (String)
748
- # * +decisionTaskCompletedEventId+ - (Integer)
749
- # * +workflowExecutionTimedOutEventAttributes+ - (Hash)
750
- # * +timeoutType+ - (String)
751
- # * +childPolicy+ - (String)
752
- # * +workflowExecutionCanceledEventAttributes+ - (Hash)
753
- # * +details+ - (String)
754
- # * +decisionTaskCompletedEventId+ - (Integer)
755
- # * +cancelWorkflowExecutionFailedEventAttributes+ - (Hash)
756
- # * +cause+ - (String)
757
- # * +decisionTaskCompletedEventId+ - (Integer)
758
- # * +workflowExecutionContinuedAsNewEventAttributes+ - (Hash)
759
- # * +input+ - (String)
760
- # * +decisionTaskCompletedEventId+ - (Integer)
761
- # * +newExecutionRunId+ - (String)
762
- # * +executionStartToCloseTimeout+ - (String)
763
- # * +taskList+ - (Hash)
764
- # * +name+ - (String)
765
- # * +taskStartToCloseTimeout+ - (String)
766
- # * +childPolicy+ - (String)
767
- # * +tagList+ - (Array<String>)
768
- # * +workflowType+ - (Hash)
769
- # * +name+ - (String)
770
- # * +version+ - (String)
771
- # * +continueAsNewWorkflowExecutionFailedEventAttributes+ - (Hash)
772
- # * +cause+ - (String)
773
- # * +decisionTaskCompletedEventId+ - (Integer)
774
- # * +workflowExecutionTerminatedEventAttributes+ - (Hash)
775
- # * +reason+ - (String)
776
- # * +details+ - (String)
777
- # * +childPolicy+ - (String)
778
- # * +cause+ - (String)
779
- # * +workflowExecutionCancelRequestedEventAttributes+ - (Hash)
780
- # * +externalWorkflowExecution+ - (Hash)
781
- # * +workflowId+ - (String)
782
- # * +runId+ - (String)
783
- # * +externalInitiatedEventId+ - (Integer)
784
- # * +cause+ - (String)
785
- # * +decisionTaskScheduledEventAttributes+ - (Hash)
786
- # * +taskList+ - (Hash)
787
- # * +name+ - (String)
788
- # * +startToCloseTimeout+ - (String)
789
- # * +decisionTaskStartedEventAttributes+ - (Hash)
790
- # * +identity+ - (String)
791
- # * +scheduledEventId+ - (Integer)
792
- # * +decisionTaskCompletedEventAttributes+ - (Hash)
793
- # * +executionContext+ - (String)
794
- # * +scheduledEventId+ - (Integer)
795
- # * +startedEventId+ - (Integer)
796
- # * +decisionTaskTimedOutEventAttributes+ - (Hash)
797
- # * +timeoutType+ - (String)
798
- # * +scheduledEventId+ - (Integer)
799
- # * +startedEventId+ - (Integer)
800
- # * +activityTaskScheduledEventAttributes+ - (Hash)
801
- # * +activityType+ - (Hash)
802
- # * +name+ - (String)
803
- # * +version+ - (String)
804
- # * +activityId+ - (String)
805
- # * +input+ - (String)
806
- # * +control+ - (String)
807
- # * +scheduleToStartTimeout+ - (String)
808
- # * +scheduleToCloseTimeout+ - (String)
809
- # * +startToCloseTimeout+ - (String)
810
- # * +taskList+ - (Hash)
811
- # * +name+ - (String)
812
- # * +decisionTaskCompletedEventId+ - (Integer)
813
- # * +heartbeatTimeout+ - (String)
814
- # * +activityTaskStartedEventAttributes+ - (Hash)
815
- # * +identity+ - (String)
816
- # * +scheduledEventId+ - (Integer)
817
- # * +activityTaskCompletedEventAttributes+ - (Hash)
818
- # * +result+ - (String)
819
- # * +scheduledEventId+ - (Integer)
820
- # * +startedEventId+ - (Integer)
821
- # * +activityTaskFailedEventAttributes+ - (Hash)
822
- # * +reason+ - (String)
823
- # * +details+ - (String)
824
- # * +scheduledEventId+ - (Integer)
825
- # * +startedEventId+ - (Integer)
826
- # * +activityTaskTimedOutEventAttributes+ - (Hash)
827
- # * +timeoutType+ - (String)
828
- # * +scheduledEventId+ - (Integer)
829
- # * +startedEventId+ - (Integer)
830
- # * +details+ - (String)
831
- # * +activityTaskCanceledEventAttributes+ - (Hash)
832
- # * +details+ - (String)
833
- # * +scheduledEventId+ - (Integer)
834
- # * +startedEventId+ - (Integer)
835
- # * +latestCancelRequestedEventId+ - (Integer)
836
- # * +activityTaskCancelRequestedEventAttributes+ - (Hash)
837
- # * +decisionTaskCompletedEventId+ - (Integer)
838
- # * +activityId+ - (String)
839
- # * +workflowExecutionSignaledEventAttributes+ - (Hash)
840
- # * +signalName+ - (String)
841
- # * +input+ - (String)
842
- # * +externalWorkflowExecution+ - (Hash)
843
- # * +workflowId+ - (String)
844
- # * +runId+ - (String)
845
- # * +externalInitiatedEventId+ - (Integer)
846
- # * +markerRecordedEventAttributes+ - (Hash)
847
- # * +markerName+ - (String)
848
- # * +details+ - (String)
849
- # * +decisionTaskCompletedEventId+ - (Integer)
850
- # * +timerStartedEventAttributes+ - (Hash)
851
- # * +timerId+ - (String)
852
- # * +control+ - (String)
853
- # * +startToFireTimeout+ - (String)
854
- # * +decisionTaskCompletedEventId+ - (Integer)
855
- # * +timerFiredEventAttributes+ - (Hash)
856
- # * +timerId+ - (String)
857
- # * +startedEventId+ - (Integer)
858
- # * +timerCanceledEventAttributes+ - (Hash)
859
- # * +timerId+ - (String)
860
- # * +startedEventId+ - (Integer)
861
- # * +decisionTaskCompletedEventId+ - (Integer)
862
- # * +startChildWorkflowExecutionInitiatedEventAttributes+ - (Hash)
863
- # * +workflowId+ - (String)
864
- # * +workflowType+ - (Hash)
865
- # * +name+ - (String)
866
- # * +version+ - (String)
867
- # * +control+ - (String)
868
- # * +input+ - (String)
869
- # * +executionStartToCloseTimeout+ - (String)
870
- # * +taskList+ - (Hash)
871
- # * +name+ - (String)
872
- # * +decisionTaskCompletedEventId+ - (Integer)
873
- # * +childPolicy+ - (String)
874
- # * +taskStartToCloseTimeout+ - (String)
875
- # * +tagList+ - (Array<String>)
876
- # * +childWorkflowExecutionStartedEventAttributes+ - (Hash)
877
- # * +workflowExecution+ - (Hash)
878
- # * +workflowId+ - (String)
879
- # * +runId+ - (String)
880
- # * +workflowType+ - (Hash)
881
- # * +name+ - (String)
882
- # * +version+ - (String)
883
- # * +initiatedEventId+ - (Integer)
884
- # * +childWorkflowExecutionCompletedEventAttributes+ - (Hash)
885
- # * +workflowExecution+ - (Hash)
886
- # * +workflowId+ - (String)
887
- # * +runId+ - (String)
888
- # * +workflowType+ - (Hash)
889
- # * +name+ - (String)
890
- # * +version+ - (String)
891
- # * +result+ - (String)
892
- # * +initiatedEventId+ - (Integer)
893
- # * +startedEventId+ - (Integer)
894
- # * +childWorkflowExecutionFailedEventAttributes+ - (Hash)
895
- # * +workflowExecution+ - (Hash)
896
- # * +workflowId+ - (String)
897
- # * +runId+ - (String)
898
- # * +workflowType+ - (Hash)
899
- # * +name+ - (String)
900
- # * +version+ - (String)
901
- # * +reason+ - (String)
902
- # * +details+ - (String)
903
- # * +initiatedEventId+ - (Integer)
904
- # * +startedEventId+ - (Integer)
905
- # * +childWorkflowExecutionTimedOutEventAttributes+ - (Hash)
906
- # * +workflowExecution+ - (Hash)
907
- # * +workflowId+ - (String)
908
- # * +runId+ - (String)
909
- # * +workflowType+ - (Hash)
910
- # * +name+ - (String)
911
- # * +version+ - (String)
912
- # * +timeoutType+ - (String)
913
- # * +initiatedEventId+ - (Integer)
914
- # * +startedEventId+ - (Integer)
915
- # * +childWorkflowExecutionCanceledEventAttributes+ - (Hash)
916
- # * +workflowExecution+ - (Hash)
917
- # * +workflowId+ - (String)
918
- # * +runId+ - (String)
919
- # * +workflowType+ - (Hash)
920
- # * +name+ - (String)
921
- # * +version+ - (String)
922
- # * +details+ - (String)
923
- # * +initiatedEventId+ - (Integer)
924
- # * +startedEventId+ - (Integer)
925
- # * +childWorkflowExecutionTerminatedEventAttributes+ - (Hash)
926
- # * +workflowExecution+ - (Hash)
927
- # * +workflowId+ - (String)
928
- # * +runId+ - (String)
929
- # * +workflowType+ - (Hash)
930
- # * +name+ - (String)
931
- # * +version+ - (String)
932
- # * +initiatedEventId+ - (Integer)
933
- # * +startedEventId+ - (Integer)
934
- # * +signalExternalWorkflowExecutionInitiatedEventAttributes+ - (Hash)
935
- # * +workflowId+ - (String)
936
- # * +runId+ - (String)
937
- # * +signalName+ - (String)
938
- # * +input+ - (String)
939
- # * +decisionTaskCompletedEventId+ - (Integer)
940
- # * +control+ - (String)
941
- # * +externalWorkflowExecutionSignaledEventAttributes+ - (Hash)
942
- # * +workflowExecution+ - (Hash)
943
- # * +workflowId+ - (String)
944
- # * +runId+ - (String)
945
- # * +initiatedEventId+ - (Integer)
946
- # * +signalExternalWorkflowExecutionFailedEventAttributes+ - (Hash)
947
- # * +workflowId+ - (String)
948
- # * +runId+ - (String)
949
- # * +cause+ - (String)
950
- # * +initiatedEventId+ - (Integer)
951
- # * +decisionTaskCompletedEventId+ - (Integer)
952
- # * +externalWorkflowExecutionCancelRequestedEventAttributes+ - (Hash)
953
- # * +workflowExecution+ - (Hash)
954
- # * +workflowId+ - (String)
955
- # * +runId+ - (String)
956
- # * +initiatedEventId+ - (Integer)
957
- # * +requestCancelExternalWorkflowExecutionInitiatedEventAttributes+ - (Hash)
958
- # * +workflowId+ - (String)
959
- # * +runId+ - (String)
960
- # * +decisionTaskCompletedEventId+ - (Integer)
961
- # * +control+ - (String)
962
- # * +requestCancelExternalWorkflowExecutionFailedEventAttributes+ - (Hash)
963
- # * +workflowId+ - (String)
964
- # * +runId+ - (String)
965
- # * +cause+ - (String)
966
- # * +initiatedEventId+ - (Integer)
967
- # * +decisionTaskCompletedEventId+ - (Integer)
968
- # * +scheduleActivityTaskFailedEventAttributes+ - (Hash)
969
- # * +activityType+ - (Hash)
970
- # * +name+ - (String)
971
- # * +version+ - (String)
972
- # * +activityId+ - (String)
973
- # * +cause+ - (String)
974
- # * +decisionTaskCompletedEventId+ - (Integer)
975
- # * +requestCancelActivityTaskFailedEventAttributes+ - (Hash)
976
- # * +activityId+ - (String)
977
- # * +cause+ - (String)
978
- # * +decisionTaskCompletedEventId+ - (Integer)
979
- # * +startTimerFailedEventAttributes+ - (Hash)
980
- # * +timerId+ - (String)
981
- # * +cause+ - (String)
982
- # * +decisionTaskCompletedEventId+ - (Integer)
983
- # * +cancelTimerFailedEventAttributes+ - (Hash)
984
- # * +timerId+ - (String)
985
- # * +cause+ - (String)
986
- # * +decisionTaskCompletedEventId+ - (Integer)
987
- # * +startChildWorkflowExecutionFailedEventAttributes+ - (Hash)
988
- # * +workflowType+ - (Hash)
989
- # * +name+ - (String)
990
- # * +version+ - (String)
991
- # * +cause+ - (String)
992
- # * +workflowId+ - (String)
993
- # * +initiatedEventId+ - (Integer)
994
- # * +decisionTaskCompletedEventId+ - (Integer)
995
- # * +nextPageToken+ - (String)
996
- # * +previousStartedEventId+ - (Integer)
729
+ # * `taskToken` - (String)
730
+ # * `startedEventId` - (Integer)
731
+ # * `workflowExecution` - (Hash)
732
+ # * `workflowId` - (String)
733
+ # * `runId` - (String)
734
+ # * `workflowType` - (Hash)
735
+ # * `name` - (String)
736
+ # * `version` - (String)
737
+ # * `events` - (Array<Hash>)
738
+ # * `eventTimestamp` - (Time)
739
+ # * `eventType` - (String)
740
+ # * `eventId` - (Integer)
741
+ # * `workflowExecutionStartedEventAttributes` - (Hash)
742
+ # * `input` - (String)
743
+ # * `executionStartToCloseTimeout` - (String)
744
+ # * `taskStartToCloseTimeout` - (String)
745
+ # * `childPolicy` - (String)
746
+ # * `taskList` - (Hash)
747
+ # * `name` - (String)
748
+ # * `workflowType` - (Hash)
749
+ # * `name` - (String)
750
+ # * `version` - (String)
751
+ # * `tagList` - (Array<String>)
752
+ # * `continuedExecutionRunId` - (String)
753
+ # * `parentWorkflowExecution` - (Hash)
754
+ # * `workflowId` - (String)
755
+ # * `runId` - (String)
756
+ # * `parentInitiatedEventId` - (Integer)
757
+ # * `workflowExecutionCompletedEventAttributes` - (Hash)
758
+ # * `result` - (String)
759
+ # * `decisionTaskCompletedEventId` - (Integer)
760
+ # * `completeWorkflowExecutionFailedEventAttributes` - (Hash)
761
+ # * `cause` - (String)
762
+ # * `decisionTaskCompletedEventId` - (Integer)
763
+ # * `workflowExecutionFailedEventAttributes` - (Hash)
764
+ # * `reason` - (String)
765
+ # * `details` - (String)
766
+ # * `decisionTaskCompletedEventId` - (Integer)
767
+ # * `failWorkflowExecutionFailedEventAttributes` - (Hash)
768
+ # * `cause` - (String)
769
+ # * `decisionTaskCompletedEventId` - (Integer)
770
+ # * `workflowExecutionTimedOutEventAttributes` - (Hash)
771
+ # * `timeoutType` - (String)
772
+ # * `childPolicy` - (String)
773
+ # * `workflowExecutionCanceledEventAttributes` - (Hash)
774
+ # * `details` - (String)
775
+ # * `decisionTaskCompletedEventId` - (Integer)
776
+ # * `cancelWorkflowExecutionFailedEventAttributes` - (Hash)
777
+ # * `cause` - (String)
778
+ # * `decisionTaskCompletedEventId` - (Integer)
779
+ # * `workflowExecutionContinuedAsNewEventAttributes` - (Hash)
780
+ # * `input` - (String)
781
+ # * `decisionTaskCompletedEventId` - (Integer)
782
+ # * `newExecutionRunId` - (String)
783
+ # * `executionStartToCloseTimeout` - (String)
784
+ # * `taskList` - (Hash)
785
+ # * `name` - (String)
786
+ # * `taskStartToCloseTimeout` - (String)
787
+ # * `childPolicy` - (String)
788
+ # * `tagList` - (Array<String>)
789
+ # * `workflowType` - (Hash)
790
+ # * `name` - (String)
791
+ # * `version` - (String)
792
+ # * `continueAsNewWorkflowExecutionFailedEventAttributes` - (Hash)
793
+ # * `cause` - (String)
794
+ # * `decisionTaskCompletedEventId` - (Integer)
795
+ # * `workflowExecutionTerminatedEventAttributes` - (Hash)
796
+ # * `reason` - (String)
797
+ # * `details` - (String)
798
+ # * `childPolicy` - (String)
799
+ # * `cause` - (String)
800
+ # * `workflowExecutionCancelRequestedEventAttributes` - (Hash)
801
+ # * `externalWorkflowExecution` - (Hash)
802
+ # * `workflowId` - (String)
803
+ # * `runId` - (String)
804
+ # * `externalInitiatedEventId` - (Integer)
805
+ # * `cause` - (String)
806
+ # * `decisionTaskScheduledEventAttributes` - (Hash)
807
+ # * `taskList` - (Hash)
808
+ # * `name` - (String)
809
+ # * `startToCloseTimeout` - (String)
810
+ # * `decisionTaskStartedEventAttributes` - (Hash)
811
+ # * `identity` - (String)
812
+ # * `scheduledEventId` - (Integer)
813
+ # * `decisionTaskCompletedEventAttributes` - (Hash)
814
+ # * `executionContext` - (String)
815
+ # * `scheduledEventId` - (Integer)
816
+ # * `startedEventId` - (Integer)
817
+ # * `decisionTaskTimedOutEventAttributes` - (Hash)
818
+ # * `timeoutType` - (String)
819
+ # * `scheduledEventId` - (Integer)
820
+ # * `startedEventId` - (Integer)
821
+ # * `activityTaskScheduledEventAttributes` - (Hash)
822
+ # * `activityType` - (Hash)
823
+ # * `name` - (String)
824
+ # * `version` - (String)
825
+ # * `activityId` - (String)
826
+ # * `input` - (String)
827
+ # * `control` - (String)
828
+ # * `scheduleToStartTimeout` - (String)
829
+ # * `scheduleToCloseTimeout` - (String)
830
+ # * `startToCloseTimeout` - (String)
831
+ # * `taskList` - (Hash)
832
+ # * `name` - (String)
833
+ # * `decisionTaskCompletedEventId` - (Integer)
834
+ # * `heartbeatTimeout` - (String)
835
+ # * `activityTaskStartedEventAttributes` - (Hash)
836
+ # * `identity` - (String)
837
+ # * `scheduledEventId` - (Integer)
838
+ # * `activityTaskCompletedEventAttributes` - (Hash)
839
+ # * `result` - (String)
840
+ # * `scheduledEventId` - (Integer)
841
+ # * `startedEventId` - (Integer)
842
+ # * `activityTaskFailedEventAttributes` - (Hash)
843
+ # * `reason` - (String)
844
+ # * `details` - (String)
845
+ # * `scheduledEventId` - (Integer)
846
+ # * `startedEventId` - (Integer)
847
+ # * `activityTaskTimedOutEventAttributes` - (Hash)
848
+ # * `timeoutType` - (String)
849
+ # * `scheduledEventId` - (Integer)
850
+ # * `startedEventId` - (Integer)
851
+ # * `details` - (String)
852
+ # * `activityTaskCanceledEventAttributes` - (Hash)
853
+ # * `details` - (String)
854
+ # * `scheduledEventId` - (Integer)
855
+ # * `startedEventId` - (Integer)
856
+ # * `latestCancelRequestedEventId` - (Integer)
857
+ # * `activityTaskCancelRequestedEventAttributes` - (Hash)
858
+ # * `decisionTaskCompletedEventId` - (Integer)
859
+ # * `activityId` - (String)
860
+ # * `workflowExecutionSignaledEventAttributes` - (Hash)
861
+ # * `signalName` - (String)
862
+ # * `input` - (String)
863
+ # * `externalWorkflowExecution` - (Hash)
864
+ # * `workflowId` - (String)
865
+ # * `runId` - (String)
866
+ # * `externalInitiatedEventId` - (Integer)
867
+ # * `markerRecordedEventAttributes` - (Hash)
868
+ # * `markerName` - (String)
869
+ # * `details` - (String)
870
+ # * `decisionTaskCompletedEventId` - (Integer)
871
+ # * `timerStartedEventAttributes` - (Hash)
872
+ # * `timerId` - (String)
873
+ # * `control` - (String)
874
+ # * `startToFireTimeout` - (String)
875
+ # * `decisionTaskCompletedEventId` - (Integer)
876
+ # * `timerFiredEventAttributes` - (Hash)
877
+ # * `timerId` - (String)
878
+ # * `startedEventId` - (Integer)
879
+ # * `timerCanceledEventAttributes` - (Hash)
880
+ # * `timerId` - (String)
881
+ # * `startedEventId` - (Integer)
882
+ # * `decisionTaskCompletedEventId` - (Integer)
883
+ # * `startChildWorkflowExecutionInitiatedEventAttributes` - (Hash)
884
+ # * `workflowId` - (String)
885
+ # * `workflowType` - (Hash)
886
+ # * `name` - (String)
887
+ # * `version` - (String)
888
+ # * `control` - (String)
889
+ # * `input` - (String)
890
+ # * `executionStartToCloseTimeout` - (String)
891
+ # * `taskList` - (Hash)
892
+ # * `name` - (String)
893
+ # * `decisionTaskCompletedEventId` - (Integer)
894
+ # * `childPolicy` - (String)
895
+ # * `taskStartToCloseTimeout` - (String)
896
+ # * `tagList` - (Array<String>)
897
+ # * `childWorkflowExecutionStartedEventAttributes` - (Hash)
898
+ # * `workflowExecution` - (Hash)
899
+ # * `workflowId` - (String)
900
+ # * `runId` - (String)
901
+ # * `workflowType` - (Hash)
902
+ # * `name` - (String)
903
+ # * `version` - (String)
904
+ # * `initiatedEventId` - (Integer)
905
+ # * `childWorkflowExecutionCompletedEventAttributes` - (Hash)
906
+ # * `workflowExecution` - (Hash)
907
+ # * `workflowId` - (String)
908
+ # * `runId` - (String)
909
+ # * `workflowType` - (Hash)
910
+ # * `name` - (String)
911
+ # * `version` - (String)
912
+ # * `result` - (String)
913
+ # * `initiatedEventId` - (Integer)
914
+ # * `startedEventId` - (Integer)
915
+ # * `childWorkflowExecutionFailedEventAttributes` - (Hash)
916
+ # * `workflowExecution` - (Hash)
917
+ # * `workflowId` - (String)
918
+ # * `runId` - (String)
919
+ # * `workflowType` - (Hash)
920
+ # * `name` - (String)
921
+ # * `version` - (String)
922
+ # * `reason` - (String)
923
+ # * `details` - (String)
924
+ # * `initiatedEventId` - (Integer)
925
+ # * `startedEventId` - (Integer)
926
+ # * `childWorkflowExecutionTimedOutEventAttributes` - (Hash)
927
+ # * `workflowExecution` - (Hash)
928
+ # * `workflowId` - (String)
929
+ # * `runId` - (String)
930
+ # * `workflowType` - (Hash)
931
+ # * `name` - (String)
932
+ # * `version` - (String)
933
+ # * `timeoutType` - (String)
934
+ # * `initiatedEventId` - (Integer)
935
+ # * `startedEventId` - (Integer)
936
+ # * `childWorkflowExecutionCanceledEventAttributes` - (Hash)
937
+ # * `workflowExecution` - (Hash)
938
+ # * `workflowId` - (String)
939
+ # * `runId` - (String)
940
+ # * `workflowType` - (Hash)
941
+ # * `name` - (String)
942
+ # * `version` - (String)
943
+ # * `details` - (String)
944
+ # * `initiatedEventId` - (Integer)
945
+ # * `startedEventId` - (Integer)
946
+ # * `childWorkflowExecutionTerminatedEventAttributes` - (Hash)
947
+ # * `workflowExecution` - (Hash)
948
+ # * `workflowId` - (String)
949
+ # * `runId` - (String)
950
+ # * `workflowType` - (Hash)
951
+ # * `name` - (String)
952
+ # * `version` - (String)
953
+ # * `initiatedEventId` - (Integer)
954
+ # * `startedEventId` - (Integer)
955
+ # * `signalExternalWorkflowExecutionInitiatedEventAttributes` - (Hash)
956
+ # * `workflowId` - (String)
957
+ # * `runId` - (String)
958
+ # * `signalName` - (String)
959
+ # * `input` - (String)
960
+ # * `decisionTaskCompletedEventId` - (Integer)
961
+ # * `control` - (String)
962
+ # * `externalWorkflowExecutionSignaledEventAttributes` - (Hash)
963
+ # * `workflowExecution` - (Hash)
964
+ # * `workflowId` - (String)
965
+ # * `runId` - (String)
966
+ # * `initiatedEventId` - (Integer)
967
+ # * `signalExternalWorkflowExecutionFailedEventAttributes` - (Hash)
968
+ # * `workflowId` - (String)
969
+ # * `runId` - (String)
970
+ # * `cause` - (String)
971
+ # * `initiatedEventId` - (Integer)
972
+ # * `decisionTaskCompletedEventId` - (Integer)
973
+ # * `externalWorkflowExecutionCancelRequestedEventAttributes` - (Hash)
974
+ # * `workflowExecution` - (Hash)
975
+ # * `workflowId` - (String)
976
+ # * `runId` - (String)
977
+ # * `initiatedEventId` - (Integer)
978
+ # * `requestCancelExternalWorkflowExecutionInitiatedEventAttributes` - (Hash)
979
+ # * `workflowId` - (String)
980
+ # * `runId` - (String)
981
+ # * `decisionTaskCompletedEventId` - (Integer)
982
+ # * `control` - (String)
983
+ # * `requestCancelExternalWorkflowExecutionFailedEventAttributes` - (Hash)
984
+ # * `workflowId` - (String)
985
+ # * `runId` - (String)
986
+ # * `cause` - (String)
987
+ # * `initiatedEventId` - (Integer)
988
+ # * `decisionTaskCompletedEventId` - (Integer)
989
+ # * `scheduleActivityTaskFailedEventAttributes` - (Hash)
990
+ # * `activityType` - (Hash)
991
+ # * `name` - (String)
992
+ # * `version` - (String)
993
+ # * `activityId` - (String)
994
+ # * `cause` - (String)
995
+ # * `decisionTaskCompletedEventId` - (Integer)
996
+ # * `requestCancelActivityTaskFailedEventAttributes` - (Hash)
997
+ # * `activityId` - (String)
998
+ # * `cause` - (String)
999
+ # * `decisionTaskCompletedEventId` - (Integer)
1000
+ # * `startTimerFailedEventAttributes` - (Hash)
1001
+ # * `timerId` - (String)
1002
+ # * `cause` - (String)
1003
+ # * `decisionTaskCompletedEventId` - (Integer)
1004
+ # * `cancelTimerFailedEventAttributes` - (Hash)
1005
+ # * `timerId` - (String)
1006
+ # * `cause` - (String)
1007
+ # * `decisionTaskCompletedEventId` - (Integer)
1008
+ # * `startChildWorkflowExecutionFailedEventAttributes` - (Hash)
1009
+ # * `workflowType` - (Hash)
1010
+ # * `name` - (String)
1011
+ # * `version` - (String)
1012
+ # * `cause` - (String)
1013
+ # * `workflowId` - (String)
1014
+ # * `initiatedEventId` - (Integer)
1015
+ # * `decisionTaskCompletedEventId` - (Integer)
1016
+ # * `nextPageToken` - (String)
1017
+ # * `previousStartedEventId` - (Integer)
997
1018
 
998
1019
  # @!method record_activity_task_heartbeat(options = {})
999
1020
  # Calls the RecordActivityTaskHeartbeat API operation.
1000
1021
  # @param [Hash] options
1001
- # * +:task_token+ - *required* - (String)
1002
- # * +:details+ - (String)
1022
+ # * `:task_token` - *required* - (String)
1023
+ # * `:details` - (String)
1003
1024
  # @return [Core::Response]
1004
1025
  # The #data method of the response object returns
1005
1026
  # a hash with the following structure:
1006
- # * +cancelRequested+ - (Boolean)
1027
+ # * `cancelRequested` - (Boolean)
1007
1028
 
1008
1029
  # @!method register_activity_type(options = {})
1009
1030
  # Calls the RegisterActivityType API operation.
1010
1031
  # @param [Hash] options
1011
- # * +:domain+ - *required* - (String)
1012
- # * +:name+ - *required* - (String)
1013
- # * +:version+ - *required* - (String)
1014
- # * +:description+ - (String)
1015
- # * +:default_task_start_to_close_timeout+ - (String)
1016
- # * +:default_task_heartbeat_timeout+ - (String)
1017
- # * +:default_task_list+ - (Hash)
1018
- # * +:name+ - *required* - (String)
1019
- # * +:default_task_schedule_to_start_timeout+ - (String)
1020
- # * +:default_task_schedule_to_close_timeout+ - (String)
1032
+ # * `:domain` - *required* - (String)
1033
+ # * `:name` - *required* - (String)
1034
+ # * `:version` - *required* - (String)
1035
+ # * `:description` - (String)
1036
+ # * `:default_task_start_to_close_timeout` - (String)
1037
+ # * `:default_task_heartbeat_timeout` - (String)
1038
+ # * `:default_task_list` - (Hash)
1039
+ # * `:name` - *required* - (String)
1040
+ # * `:default_task_schedule_to_start_timeout` - (String)
1041
+ # * `:default_task_schedule_to_close_timeout` - (String)
1021
1042
  # @return [Core::Response]
1022
1043
 
1023
1044
  # @!method register_domain(options = {})
1024
1045
  # Calls the RegisterDomain API operation.
1025
1046
  # @param [Hash] options
1026
- # * +:name+ - *required* - (String)
1027
- # * +:description+ - (String)
1028
- # * +:workflow_execution_retention_period_in_days+ - *required* - (String)
1047
+ # * `:name` - *required* - (String)
1048
+ # * `:description` - (String)
1049
+ # * `:workflow_execution_retention_period_in_days` - *required* - (String)
1029
1050
  # @return [Core::Response]
1030
1051
 
1031
1052
  # @!method register_workflow_type(options = {})
1032
1053
  # Calls the RegisterWorkflowType API operation.
1033
1054
  # @param [Hash] options
1034
- # * +:domain+ - *required* - (String)
1035
- # * +:name+ - *required* - (String)
1036
- # * +:version+ - *required* - (String)
1037
- # * +:description+ - (String)
1038
- # * +:default_task_start_to_close_timeout+ - (String)
1039
- # * +:default_execution_start_to_close_timeout+ - (String)
1040
- # * +:default_task_list+ - (Hash)
1041
- # * +:name+ - *required* - (String)
1042
- # * +:default_child_policy+ - (String)
1055
+ # * `:domain` - *required* - (String)
1056
+ # * `:name` - *required* - (String)
1057
+ # * `:version` - *required* - (String)
1058
+ # * `:description` - (String)
1059
+ # * `:default_task_start_to_close_timeout` - (String)
1060
+ # * `:default_execution_start_to_close_timeout` - (String)
1061
+ # * `:default_task_list` - (Hash)
1062
+ # * `:name` - *required* - (String)
1063
+ # * `:default_child_policy` - (String) Valid values include:
1064
+ # * `TERMINATE`
1065
+ # * `REQUEST_CANCEL`
1066
+ # * `ABANDON`
1043
1067
  # @return [Core::Response]
1044
1068
 
1045
1069
  # @!method request_cancel_workflow_execution(options = {})
1046
1070
  # Calls the RequestCancelWorkflowExecution API operation.
1047
1071
  # @param [Hash] options
1048
- # * +:domain+ - *required* - (String)
1049
- # * +:workflow_id+ - *required* - (String)
1050
- # * +:run_id+ - (String)
1072
+ # * `:domain` - *required* - (String)
1073
+ # * `:workflow_id` - *required* - (String)
1074
+ # * `:run_id` - (String)
1051
1075
  # @return [Core::Response]
1052
1076
 
1053
1077
  # @!method respond_activity_task_canceled(options = {})
1054
1078
  # Calls the RespondActivityTaskCanceled API operation.
1055
1079
  # @param [Hash] options
1056
- # * +:task_token+ - *required* - (String)
1057
- # * +:details+ - (String)
1080
+ # * `:task_token` - *required* - (String)
1081
+ # * `:details` - (String)
1058
1082
  # @return [Core::Response]
1059
1083
 
1060
1084
  # @!method respond_activity_task_completed(options = {})
1061
1085
  # Calls the RespondActivityTaskCompleted API operation.
1062
1086
  # @param [Hash] options
1063
- # * +:task_token+ - *required* - (String)
1064
- # * +:result+ - (String)
1087
+ # * `:task_token` - *required* - (String)
1088
+ # * `:result` - (String)
1065
1089
  # @return [Core::Response]
1066
1090
 
1067
1091
  # @!method respond_activity_task_failed(options = {})
1068
1092
  # Calls the RespondActivityTaskFailed API operation.
1069
1093
  # @param [Hash] options
1070
- # * +:task_token+ - *required* - (String)
1071
- # * +:reason+ - (String)
1072
- # * +:details+ - (String)
1094
+ # * `:task_token` - *required* - (String)
1095
+ # * `:reason` - (String)
1096
+ # * `:details` - (String)
1073
1097
  # @return [Core::Response]
1074
1098
 
1075
1099
  # @!method respond_decision_task_completed(options = {})
1076
1100
  # Calls the RespondDecisionTaskCompleted API operation.
1077
1101
  # @param [Hash] options
1078
- # * +:task_token+ - *required* - (String)
1079
- # * +:decisions+ - (Array<Hash>)
1080
- # * +:decision_type+ - *required* - (String)
1081
- # * +:schedule_activity_task_decision_attributes+ - (Hash)
1082
- # * +:activity_type+ - *required* - (Hash)
1083
- # * +:name+ - *required* - (String)
1084
- # * +:version+ - *required* - (String)
1085
- # * +:activity_id+ - *required* - (String)
1086
- # * +:control+ - (String)
1087
- # * +:input+ - (String)
1088
- # * +:schedule_to_close_timeout+ - (String)
1089
- # * +:task_list+ - (Hash)
1090
- # * +:name+ - *required* - (String)
1091
- # * +:schedule_to_start_timeout+ - (String)
1092
- # * +:start_to_close_timeout+ - (String)
1093
- # * +:heartbeat_timeout+ - (String)
1094
- # * +:request_cancel_activity_task_decision_attributes+ - (Hash)
1095
- # * +:activity_id+ - *required* - (String)
1096
- # * +:complete_workflow_execution_decision_attributes+ - (Hash)
1097
- # * +:result+ - (String)
1098
- # * +:fail_workflow_execution_decision_attributes+ - (Hash)
1099
- # * +:reason+ - (String)
1100
- # * +:details+ - (String)
1101
- # * +:cancel_workflow_execution_decision_attributes+ - (Hash)
1102
- # * +:details+ - (String)
1103
- # * +:continue_as_new_workflow_execution_decision_attributes+ - (Hash)
1104
- # * +:input+ - (String)
1105
- # * +:execution_start_to_close_timeout+ - (String)
1106
- # * +:task_list+ - (Hash)
1107
- # * +:name+ - *required* - (String)
1108
- # * +:task_start_to_close_timeout+ - (String)
1109
- # * +:child_policy+ - (String)
1110
- # * +:tag_list+ - (Array<String>)
1111
- # * +:workflow_type_version+ - (String)
1112
- # * +:record_marker_decision_attributes+ - (Hash)
1113
- # * +:marker_name+ - *required* - (String)
1114
- # * +:details+ - (String)
1115
- # * +:start_timer_decision_attributes+ - (Hash)
1116
- # * +:timer_id+ - *required* - (String)
1117
- # * +:control+ - (String)
1118
- # * +:start_to_fire_timeout+ - *required* - (String)
1119
- # * +:cancel_timer_decision_attributes+ - (Hash)
1120
- # * +:timer_id+ - *required* - (String)
1121
- # * +:signal_external_workflow_execution_decision_attributes+ - (Hash)
1122
- # * +:workflow_id+ - *required* - (String)
1123
- # * +:run_id+ - (String)
1124
- # * +:signal_name+ - *required* - (String)
1125
- # * +:input+ - (String)
1126
- # * +:control+ - (String)
1127
- # * +:request_cancel_external_workflow_execution_decision_attributes+ - (Hash)
1128
- # * +:workflow_id+ - *required* - (String)
1129
- # * +:run_id+ - (String)
1130
- # * +:control+ - (String)
1131
- # * +:start_child_workflow_execution_decision_attributes+ - (Hash)
1132
- # * +:workflow_type+ - *required* - (Hash)
1133
- # * +:name+ - *required* - (String)
1134
- # * +:version+ - *required* - (String)
1135
- # * +:workflow_id+ - *required* - (String)
1136
- # * +:control+ - (String)
1137
- # * +:input+ - (String)
1138
- # * +:execution_start_to_close_timeout+ - (String)
1139
- # * +:task_list+ - (Hash)
1140
- # * +:name+ - *required* - (String)
1141
- # * +:task_start_to_close_timeout+ - (String)
1142
- # * +:child_policy+ - (String)
1143
- # * +:tag_list+ - (Array<String>)
1144
- # * +:execution_context+ - (String)
1102
+ # * `:task_token` - *required* - (String)
1103
+ # * `:decisions` - (Array<Hash>)
1104
+ # * `:decision_type` - *required* - (String) Valid values include:
1105
+ # * `ScheduleActivityTask`
1106
+ # * `RequestCancelActivityTask`
1107
+ # * `CompleteWorkflowExecution`
1108
+ # * `FailWorkflowExecution`
1109
+ # * `CancelWorkflowExecution`
1110
+ # * `ContinueAsNewWorkflowExecution`
1111
+ # * `RecordMarker`
1112
+ # * `StartTimer`
1113
+ # * `CancelTimer`
1114
+ # * `SignalExternalWorkflowExecution`
1115
+ # * `RequestCancelExternalWorkflowExecution`
1116
+ # * `StartChildWorkflowExecution`
1117
+ # * `:schedule_activity_task_decision_attributes` - (Hash)
1118
+ # * `:activity_type` - *required* - (Hash)
1119
+ # * `:name` - *required* - (String)
1120
+ # * `:version` - *required* - (String)
1121
+ # * `:activity_id` - *required* - (String)
1122
+ # * `:control` - (String)
1123
+ # * `:input` - (String)
1124
+ # * `:schedule_to_close_timeout` - (String)
1125
+ # * `:task_list` - (Hash)
1126
+ # * `:name` - *required* - (String)
1127
+ # * `:schedule_to_start_timeout` - (String)
1128
+ # * `:start_to_close_timeout` - (String)
1129
+ # * `:heartbeat_timeout` - (String)
1130
+ # * `:request_cancel_activity_task_decision_attributes` - (Hash)
1131
+ # * `:activity_id` - *required* - (String)
1132
+ # * `:complete_workflow_execution_decision_attributes` - (Hash)
1133
+ # * `:result` - (String)
1134
+ # * `:fail_workflow_execution_decision_attributes` - (Hash)
1135
+ # * `:reason` - (String)
1136
+ # * `:details` - (String)
1137
+ # * `:cancel_workflow_execution_decision_attributes` - (Hash)
1138
+ # * `:details` - (String)
1139
+ # * `:continue_as_new_workflow_execution_decision_attributes` - (Hash)
1140
+ # * `:input` - (String)
1141
+ # * `:execution_start_to_close_timeout` - (String)
1142
+ # * `:task_list` - (Hash)
1143
+ # * `:name` - *required* - (String)
1144
+ # * `:task_start_to_close_timeout` - (String)
1145
+ # * `:child_policy` - (String) Valid values include:
1146
+ # * `TERMINATE`
1147
+ # * `REQUEST_CANCEL`
1148
+ # * `ABANDON`
1149
+ # * `:tag_list` - (Array<String>)
1150
+ # * `:workflow_type_version` - (String)
1151
+ # * `:record_marker_decision_attributes` - (Hash)
1152
+ # * `:marker_name` - *required* - (String)
1153
+ # * `:details` - (String)
1154
+ # * `:start_timer_decision_attributes` - (Hash)
1155
+ # * `:timer_id` - *required* - (String)
1156
+ # * `:control` - (String)
1157
+ # * `:start_to_fire_timeout` - *required* - (String)
1158
+ # * `:cancel_timer_decision_attributes` - (Hash)
1159
+ # * `:timer_id` - *required* - (String)
1160
+ # * `:signal_external_workflow_execution_decision_attributes` - (Hash)
1161
+ # * `:workflow_id` - *required* - (String)
1162
+ # * `:run_id` - (String)
1163
+ # * `:signal_name` - *required* - (String)
1164
+ # * `:input` - (String)
1165
+ # * `:control` - (String)
1166
+ # * `:request_cancel_external_workflow_execution_decision_attributes` - (Hash)
1167
+ # * `:workflow_id` - *required* - (String)
1168
+ # * `:run_id` - (String)
1169
+ # * `:control` - (String)
1170
+ # * `:start_child_workflow_execution_decision_attributes` - (Hash)
1171
+ # * `:workflow_type` - *required* - (Hash)
1172
+ # * `:name` - *required* - (String)
1173
+ # * `:version` - *required* - (String)
1174
+ # * `:workflow_id` - *required* - (String)
1175
+ # * `:control` - (String)
1176
+ # * `:input` - (String)
1177
+ # * `:execution_start_to_close_timeout` - (String)
1178
+ # * `:task_list` - (Hash)
1179
+ # * `:name` - *required* - (String)
1180
+ # * `:task_start_to_close_timeout` - (String)
1181
+ # * `:child_policy` - (String) Valid values include:
1182
+ # * `TERMINATE`
1183
+ # * `REQUEST_CANCEL`
1184
+ # * `ABANDON`
1185
+ # * `:tag_list` - (Array<String>)
1186
+ # * `:execution_context` - (String)
1145
1187
  # @return [Core::Response]
1146
1188
 
1147
1189
  # @!method signal_workflow_execution(options = {})
1148
1190
  # Calls the SignalWorkflowExecution API operation.
1149
1191
  # @param [Hash] options
1150
- # * +:domain+ - *required* - (String)
1151
- # * +:workflow_id+ - *required* - (String)
1152
- # * +:run_id+ - (String)
1153
- # * +:signal_name+ - *required* - (String)
1154
- # * +:input+ - (String)
1192
+ # * `:domain` - *required* - (String)
1193
+ # * `:workflow_id` - *required* - (String)
1194
+ # * `:run_id` - (String)
1195
+ # * `:signal_name` - *required* - (String)
1196
+ # * `:input` - (String)
1155
1197
  # @return [Core::Response]
1156
1198
 
1157
1199
  # @!method start_workflow_execution(options = {})
1158
1200
  # Calls the StartWorkflowExecution API operation.
1159
1201
  # @param [Hash] options
1160
- # * +:domain+ - *required* - (String)
1161
- # * +:workflow_id+ - *required* - (String)
1162
- # * +:workflow_type+ - *required* - (Hash)
1163
- # * +:name+ - *required* - (String)
1164
- # * +:version+ - *required* - (String)
1165
- # * +:task_list+ - (Hash)
1166
- # * +:name+ - *required* - (String)
1167
- # * +:input+ - (String)
1168
- # * +:execution_start_to_close_timeout+ - (String)
1169
- # * +:tag_list+ - (Array<String>)
1170
- # * +:task_start_to_close_timeout+ - (String)
1171
- # * +:child_policy+ - (String)
1202
+ # * `:domain` - *required* - (String)
1203
+ # * `:workflow_id` - *required* - (String)
1204
+ # * `:workflow_type` - *required* - (Hash)
1205
+ # * `:name` - *required* - (String)
1206
+ # * `:version` - *required* - (String)
1207
+ # * `:task_list` - (Hash)
1208
+ # * `:name` - *required* - (String)
1209
+ # * `:input` - (String)
1210
+ # * `:execution_start_to_close_timeout` - (String)
1211
+ # * `:tag_list` - (Array<String>)
1212
+ # * `:task_start_to_close_timeout` - (String)
1213
+ # * `:child_policy` - (String) Valid values include:
1214
+ # * `TERMINATE`
1215
+ # * `REQUEST_CANCEL`
1216
+ # * `ABANDON`
1172
1217
  # @return [Core::Response]
1173
1218
  # The #data method of the response object returns
1174
1219
  # a hash with the following structure:
1175
- # * +runId+ - (String)
1220
+ # * `runId` - (String)
1176
1221
 
1177
1222
  # @!method terminate_workflow_execution(options = {})
1178
1223
  # Calls the TerminateWorkflowExecution API operation.
1179
1224
  # @param [Hash] options
1180
- # * +:domain+ - *required* - (String)
1181
- # * +:workflow_id+ - *required* - (String)
1182
- # * +:run_id+ - (String)
1183
- # * +:reason+ - (String)
1184
- # * +:details+ - (String)
1185
- # * +:child_policy+ - (String)
1225
+ # * `:domain` - *required* - (String)
1226
+ # * `:workflow_id` - *required* - (String)
1227
+ # * `:run_id` - (String)
1228
+ # * `:reason` - (String)
1229
+ # * `:details` - (String)
1230
+ # * `:child_policy` - (String) Valid values include:
1231
+ # * `TERMINATE`
1232
+ # * `REQUEST_CANCEL`
1233
+ # * `ABANDON`
1186
1234
  # @return [Core::Response]
1187
1235
 
1188
1236
  # end client methods #