aws-sdk 1.8.5 → 1.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.yardopts +1 -0
- data/README.rdoc +8 -0
- data/lib/aws-sdk.rb +39 -35
- data/lib/aws/api_config/CloudFront-2012-07-01.yml +2398 -0
- data/lib/aws/api_config/DirectConnect-2012-10-25.yml +475 -0
- data/lib/aws/api_config/DynamoDB-2011-12-05.yml +8 -0
- data/lib/aws/api_config/DynamoDB-2012-08-10.yml +1516 -0
- data/lib/aws/api_config/OpsWorks-2013-02-18.yml +2 -2
- data/lib/aws/auto_scaling.rb +44 -44
- data/lib/aws/auto_scaling/activity.rb +1 -1
- data/lib/aws/auto_scaling/activity_collection.rb +14 -15
- data/lib/aws/auto_scaling/client.rb +277 -277
- data/lib/aws/auto_scaling/config.rb +1 -1
- data/lib/aws/auto_scaling/group.rb +35 -36
- data/lib/aws/auto_scaling/group_collection.rb +10 -10
- data/lib/aws/auto_scaling/group_options.rb +19 -19
- data/lib/aws/auto_scaling/instance.rb +27 -27
- data/lib/aws/auto_scaling/instance_collection.rb +10 -10
- data/lib/aws/auto_scaling/launch_configuration.rb +3 -3
- data/lib/aws/auto_scaling/launch_configuration_collection.rb +1 -1
- data/lib/aws/auto_scaling/notification_configuration.rb +2 -2
- data/lib/aws/auto_scaling/notification_configuration_collection.rb +37 -38
- data/lib/aws/auto_scaling/scaling_policy.rb +3 -3
- data/lib/aws/auto_scaling/scaling_policy_collection.rb +6 -6
- data/lib/aws/auto_scaling/scaling_policy_options.rb +8 -7
- data/lib/aws/auto_scaling/scheduled_action.rb +3 -3
- data/lib/aws/auto_scaling/scheduled_action_collection.rb +28 -28
- data/lib/aws/auto_scaling/tag_collection.rb +30 -28
- data/lib/aws/cloud_formation.rb +95 -94
- data/lib/aws/cloud_formation/client.rb +136 -133
- data/lib/aws/cloud_formation/config.rb +1 -1
- data/lib/aws/cloud_formation/stack.rb +37 -37
- data/lib/aws/cloud_formation/stack_collection.rb +28 -27
- data/lib/aws/cloud_formation/stack_event.rb +9 -11
- data/lib/aws/cloud_formation/stack_output.rb +1 -1
- data/lib/aws/cloud_formation/stack_resource.rb +6 -6
- data/lib/aws/cloud_formation/stack_resource_collection.rb +11 -12
- data/lib/aws/cloud_formation/stack_resource_summary_collection.rb +11 -11
- data/lib/aws/cloud_formation/stack_summary_collection.rb +39 -39
- data/lib/aws/cloud_front.rb +21 -21
- data/lib/aws/cloud_front/client.rb +853 -652
- data/lib/aws/cloud_front/request.rb +3 -0
- data/lib/aws/cloud_search.rb +22 -22
- data/lib/aws/cloud_search/client.rb +322 -315
- data/lib/aws/cloud_search/config.rb +1 -1
- data/lib/aws/cloud_watch.rb +39 -39
- data/lib/aws/cloud_watch/alarm.rb +55 -37
- data/lib/aws/cloud_watch/alarm_collection.rb +18 -18
- data/lib/aws/cloud_watch/alarm_history_item_collection.rb +2 -2
- data/lib/aws/cloud_watch/client.rb +360 -146
- data/lib/aws/cloud_watch/config.rb +1 -1
- data/lib/aws/cloud_watch/metric.rb +15 -15
- data/lib/aws/cloud_watch/metric_alarm_collection.rb +17 -17
- data/lib/aws/cloud_watch/metric_collection.rb +16 -16
- data/lib/aws/cloud_watch/metric_statistics.rb +11 -11
- data/lib/aws/core.rb +243 -225
- data/lib/aws/core/async_handle.rb +13 -13
- data/lib/aws/core/cacheable.rb +14 -15
- data/lib/aws/core/client.rb +40 -15
- data/lib/aws/core/collection.rb +42 -46
- data/lib/aws/core/collection/with_limit_and_next_token.rb +1 -1
- data/lib/aws/core/collection/with_next_token.rb +1 -1
- data/lib/aws/core/configuration.rb +97 -133
- data/lib/aws/core/credential_providers.rb +16 -16
- data/lib/aws/core/data.rb +23 -23
- data/lib/aws/core/http/connection_pool.rb +348 -0
- data/lib/aws/core/http/net_http_handler.rb +17 -26
- data/lib/aws/core/http/patch.rb +102 -0
- data/lib/aws/core/http/request.rb +13 -19
- data/lib/aws/core/http/response.rb +2 -2
- data/lib/aws/core/lazy_error_classes.rb +17 -17
- data/lib/aws/core/log_formatter.rb +70 -104
- data/lib/aws/core/options/json_serializer.rb +1 -1
- data/lib/aws/core/options/validator.rb +4 -4
- data/lib/aws/core/page_result.rb +8 -8
- data/lib/aws/core/policy.rb +49 -49
- data/lib/aws/core/region.rb +72 -0
- data/lib/aws/core/region_collection.rb +106 -0
- data/lib/aws/core/resource.rb +5 -5
- data/lib/aws/core/response.rb +20 -17
- data/lib/aws/core/rest_request_builder.rb +4 -4
- data/lib/aws/core/service_interface.rb +24 -2
- data/lib/aws/core/signature/version_3.rb +2 -2
- data/lib/aws/core/uri_escape.rb +1 -1
- data/lib/aws/core/xml/frame_stack.rb +1 -1
- data/lib/aws/core/xml/grammar.rb +3 -4
- data/lib/aws/core/xml/sax_handlers/libxml.rb +2 -2
- data/lib/aws/core/xml/sax_handlers/nokogiri.rb +3 -3
- data/lib/aws/core/xml/sax_handlers/rexml.rb +5 -5
- data/lib/aws/core/xml/stub.rb +9 -9
- data/lib/aws/data_pipeline.rb +21 -21
- data/lib/aws/data_pipeline/client.rb +189 -133
- data/lib/aws/data_pipeline/config.rb +1 -1
- data/lib/aws/direct_connect.rb +74 -0
- data/lib/aws/direct_connect/client.rb +253 -0
- data/lib/aws/direct_connect/config.rb +18 -0
- data/lib/aws/direct_connect/errors.rb +22 -0
- data/lib/aws/direct_connect/request.rb +27 -0
- data/lib/aws/dynamo_db.rb +71 -69
- data/lib/aws/dynamo_db/attribute_collection.rb +53 -58
- data/lib/aws/dynamo_db/batch_get.rb +23 -23
- data/lib/aws/dynamo_db/batch_write.rb +43 -43
- data/lib/aws/dynamo_db/binary.rb +9 -9
- data/lib/aws/dynamo_db/client.rb +494 -509
- data/lib/aws/dynamo_db/client_base.rb +91 -0
- data/lib/aws/dynamo_db/client_v2.rb +825 -0
- data/lib/aws/dynamo_db/config.rb +1 -1
- data/lib/aws/dynamo_db/item.rb +10 -10
- data/lib/aws/dynamo_db/item_collection.rb +75 -75
- data/lib/aws/dynamo_db/table.rb +85 -85
- data/lib/aws/dynamo_db/table_collection.rb +13 -13
- data/lib/aws/ec2.rb +132 -142
- data/lib/aws/ec2/attachment.rb +31 -36
- data/lib/aws/ec2/attachment_collection.rb +1 -1
- data/lib/aws/ec2/availability_zone.rb +4 -4
- data/lib/aws/ec2/client.rb +2272 -2125
- data/lib/aws/ec2/config.rb +1 -1
- data/lib/aws/ec2/customer_gateway.rb +6 -6
- data/lib/aws/ec2/customer_gateway_collection.rb +6 -6
- data/lib/aws/ec2/dhcp_options.rb +3 -3
- data/lib/aws/ec2/dhcp_options_collection.rb +10 -10
- data/lib/aws/ec2/elastic_ip.rb +15 -15
- data/lib/aws/ec2/elastic_ip_collection.rb +11 -15
- data/lib/aws/ec2/export_task.rb +4 -4
- data/lib/aws/ec2/export_task_collection.rb +11 -11
- data/lib/aws/ec2/filtered_collection.rb +6 -8
- data/lib/aws/ec2/image.rb +46 -40
- data/lib/aws/ec2/image_collection.rb +44 -52
- data/lib/aws/ec2/instance.rb +64 -62
- data/lib/aws/ec2/instance_collection.rb +47 -50
- data/lib/aws/ec2/internet_gateway.rb +6 -6
- data/lib/aws/ec2/internet_gateway/attachment.rb +13 -13
- data/lib/aws/ec2/internet_gateway_collection.rb +3 -3
- data/lib/aws/ec2/key_pair.rb +3 -3
- data/lib/aws/ec2/key_pair_collection.rb +12 -12
- data/lib/aws/ec2/network_acl.rb +39 -39
- data/lib/aws/ec2/network_acl/association.rb +2 -2
- data/lib/aws/ec2/network_acl/entry.rb +22 -22
- data/lib/aws/ec2/network_acl_collection.rb +2 -2
- data/lib/aws/ec2/network_interface.rb +13 -4
- data/lib/aws/ec2/network_interface/attachment.rb +3 -3
- data/lib/aws/ec2/network_interface_collection.rb +5 -5
- data/lib/aws/ec2/permission_collection.rb +1 -1
- data/lib/aws/ec2/region.rb +6 -6
- data/lib/aws/ec2/region_collection.rb +1 -1
- data/lib/aws/ec2/reserved_instances_collection.rb +2 -2
- data/lib/aws/ec2/reserved_instances_offering_collection.rb +2 -2
- data/lib/aws/ec2/resource_tag_collection.rb +5 -5
- data/lib/aws/ec2/route_table.rb +14 -14
- data/lib/aws/ec2/route_table/association.rb +22 -22
- data/lib/aws/ec2/route_table/route.rb +8 -8
- data/lib/aws/ec2/route_table_collection.rb +3 -3
- data/lib/aws/ec2/security_group.rb +39 -41
- data/lib/aws/ec2/security_group_collection.rb +19 -21
- data/lib/aws/ec2/snapshot.rb +3 -3
- data/lib/aws/ec2/snapshot_collection.rb +11 -12
- data/lib/aws/ec2/subnet.rb +2 -2
- data/lib/aws/ec2/subnet_collection.rb +17 -17
- data/lib/aws/ec2/tag_collection.rb +1 -1
- data/lib/aws/ec2/tagged_collection.rb +7 -7
- data/lib/aws/ec2/tagged_item.rb +10 -10
- data/lib/aws/ec2/volume.rb +16 -16
- data/lib/aws/ec2/volume_collection.rb +9 -12
- data/lib/aws/ec2/vpc.rb +6 -6
- data/lib/aws/ec2/vpc_collection.rb +10 -10
- data/lib/aws/ec2/vpn_connection.rb +4 -4
- data/lib/aws/ec2/vpn_connection/telemetry.rb +1 -1
- data/lib/aws/ec2/vpn_connection_collection.rb +6 -6
- data/lib/aws/ec2/vpn_gateway.rb +2 -2
- data/lib/aws/ec2/vpn_gateway_collection.rb +5 -5
- data/lib/aws/elastic_beanstalk.rb +12 -12
- data/lib/aws/elastic_beanstalk/client.rb +376 -368
- data/lib/aws/elastic_beanstalk/config.rb +1 -1
- data/lib/aws/elastic_transcoder.rb +5 -5
- data/lib/aws/elastic_transcoder/client.rb +283 -283
- data/lib/aws/elastic_transcoder/config.rb +1 -1
- data/lib/aws/elasticache.rb +12 -12
- data/lib/aws/elasticache/client.rb +484 -479
- data/lib/aws/elasticache/config.rb +1 -1
- data/lib/aws/elb.rb +23 -23
- data/lib/aws/elb/availability_zone_collection.rb +34 -34
- data/lib/aws/elb/backend_server_policy_collection.rb +24 -24
- data/lib/aws/elb/client.rb +153 -153
- data/lib/aws/elb/config.rb +1 -1
- data/lib/aws/elb/errors.rb +1 -1
- data/lib/aws/elb/instance_collection.rb +20 -25
- data/lib/aws/elb/listener.rb +3 -3
- data/lib/aws/elb/listener_collection.rb +8 -8
- data/lib/aws/elb/load_balancer.rb +15 -16
- data/lib/aws/elb/load_balancer_collection.rb +36 -24
- data/lib/aws/elb/load_balancer_policy.rb +1 -1
- data/lib/aws/elb/load_balancer_policy_collection.rb +5 -5
- data/lib/aws/emr.rb +28 -26
- data/lib/aws/emr/client.rb +165 -149
- data/lib/aws/emr/config.rb +1 -1
- data/lib/aws/emr/instance_group.rb +1 -1
- data/lib/aws/emr/instance_group_collection.rb +1 -1
- data/lib/aws/emr/job_flow.rb +27 -26
- data/lib/aws/emr/job_flow_collection.rb +34 -34
- data/lib/aws/errors.rb +7 -7
- data/lib/aws/glacier.rb +21 -21
- data/lib/aws/glacier/archive_collection.rb +2 -2
- data/lib/aws/glacier/client.rb +139 -140
- data/lib/aws/glacier/config.rb +1 -1
- data/lib/aws/glacier/vault.rb +2 -2
- data/lib/aws/glacier/vault_collection.rb +1 -1
- data/lib/aws/iam.rb +133 -144
- data/lib/aws/iam/access_key.rb +17 -17
- data/lib/aws/iam/access_key_collection.rb +22 -22
- data/lib/aws/iam/account_alias_collection.rb +2 -2
- data/lib/aws/iam/client.rb +429 -420
- data/lib/aws/iam/collection.rb +1 -1
- data/lib/aws/iam/config.rb +2 -2
- data/lib/aws/iam/group.rb +8 -8
- data/lib/aws/iam/group_collection.rb +16 -16
- data/lib/aws/iam/group_policy_collection.rb +6 -6
- data/lib/aws/iam/group_user_collection.rb +3 -3
- data/lib/aws/iam/mfa_device.rb +1 -1
- data/lib/aws/iam/mfa_device_collection.rb +9 -9
- data/lib/aws/iam/policy_collection.rb +4 -4
- data/lib/aws/iam/resource.rb +2 -2
- data/lib/aws/iam/server_certificate.rb +1 -1
- data/lib/aws/iam/server_certificate_collection.rb +15 -15
- data/lib/aws/iam/signing_certificate.rb +29 -29
- data/lib/aws/iam/signing_certificate_collection.rb +23 -23
- data/lib/aws/iam/user.rb +33 -38
- data/lib/aws/iam/user_collection.rb +27 -27
- data/lib/aws/iam/user_group_collection.rb +3 -3
- data/lib/aws/iam/user_policy_collection.rb +6 -6
- data/lib/aws/iam/virtual_mfa_device.rb +12 -12
- data/lib/aws/iam/virtual_mfa_device_collection.rb +4 -4
- data/lib/aws/import_export.rb +22 -21
- data/lib/aws/import_export/client.rb +47 -43
- data/lib/aws/ops_works.rb +5 -5
- data/lib/aws/ops_works/client.rb +484 -438
- data/lib/aws/ops_works/config.rb +1 -1
- data/lib/aws/rails.rb +34 -34
- data/lib/aws/rds.rb +18 -18
- data/lib/aws/rds/client.rb +1286 -1277
- data/lib/aws/rds/config.rb +1 -1
- data/lib/aws/rds/db_instance.rb +15 -4
- data/lib/aws/rds/db_snapshot.rb +1 -1
- data/lib/aws/record.rb +50 -24
- data/lib/aws/record/abstract_base.rb +52 -60
- data/lib/aws/record/attributes.rb +79 -79
- data/lib/aws/record/conversion.rb +1 -1
- data/lib/aws/record/dirty_tracking.rb +69 -67
- data/lib/aws/record/errors.rb +21 -21
- data/lib/aws/record/exceptions.rb +2 -2
- data/lib/aws/record/hash_model.rb +20 -21
- data/lib/aws/record/hash_model/attributes.rb +13 -15
- data/lib/aws/record/hash_model/finder_methods.rb +46 -46
- data/lib/aws/record/hash_model/scope.rb +31 -31
- data/lib/aws/record/model.rb +136 -136
- data/lib/aws/record/model/attributes.rb +57 -59
- data/lib/aws/record/model/finder_methods.rb +67 -67
- data/lib/aws/record/model/scope.rb +48 -49
- data/lib/aws/record/naming.rb +1 -1
- data/lib/aws/record/scope.rb +23 -19
- data/lib/aws/record/validations.rb +253 -271
- data/lib/aws/record/validator.rb +3 -3
- data/lib/aws/record/validators/acceptance.rb +1 -3
- data/lib/aws/record/validators/block.rb +1 -3
- data/lib/aws/record/validators/confirmation.rb +1 -3
- data/lib/aws/record/validators/count.rb +2 -4
- data/lib/aws/record/validators/exclusion.rb +2 -4
- data/lib/aws/record/validators/format.rb +2 -4
- data/lib/aws/record/validators/inclusion.rb +1 -3
- data/lib/aws/record/validators/length.rb +5 -7
- data/lib/aws/record/validators/method.rb +1 -3
- data/lib/aws/record/validators/numericality.rb +6 -8
- data/lib/aws/record/validators/presence.rb +1 -3
- data/lib/aws/redshift.rb +14 -14
- data/lib/aws/redshift/client.rb +596 -592
- data/lib/aws/redshift/config.rb +1 -1
- data/lib/aws/route_53.rb +30 -30
- data/lib/aws/route_53/change_batch.rb +7 -7
- data/lib/aws/route_53/client.rb +188 -152
- data/lib/aws/route_53/hosted_zone.rb +4 -4
- data/lib/aws/route_53/hosted_zone_collection.rb +7 -7
- data/lib/aws/route_53/resource_record_set.rb +10 -10
- data/lib/aws/route_53/resource_record_set_collection.rb +6 -6
- data/lib/aws/s3.rb +79 -79
- data/lib/aws/s3/access_control_list.rb +44 -36
- data/lib/aws/s3/acl_options.rb +51 -51
- data/lib/aws/s3/bucket.rb +146 -146
- data/lib/aws/s3/bucket_collection.rb +21 -21
- data/lib/aws/s3/bucket_lifecycle_configuration.rb +81 -82
- data/lib/aws/s3/bucket_tag_collection.rb +4 -2
- data/lib/aws/s3/cipher_io.rb +5 -4
- data/lib/aws/s3/client.rb +89 -84
- data/lib/aws/s3/client/xml.rb +1 -1
- data/lib/aws/s3/config.rb +7 -1
- data/lib/aws/s3/cors_rule.rb +2 -0
- data/lib/aws/s3/cors_rule_collection.rb +42 -40
- data/lib/aws/s3/data_options.rb +16 -11
- data/lib/aws/s3/encryption_utils.rb +2 -2
- data/lib/aws/s3/errors.rb +7 -7
- data/lib/aws/s3/multipart_upload.rb +30 -33
- data/lib/aws/s3/multipart_upload_collection.rb +8 -6
- data/lib/aws/s3/object_collection.rb +35 -35
- data/lib/aws/s3/object_metadata.rb +6 -6
- data/lib/aws/s3/object_version.rb +4 -4
- data/lib/aws/s3/object_version_collection.rb +15 -15
- data/lib/aws/s3/policy.rb +2 -2
- data/lib/aws/s3/prefixed_collection.rb +9 -5
- data/lib/aws/s3/presigned_post.rb +39 -37
- data/lib/aws/s3/request.rb +11 -11
- data/lib/aws/s3/s3_object.rb +210 -200
- data/lib/aws/s3/tree.rb +25 -27
- data/lib/aws/s3/tree/child_collection.rb +3 -3
- data/lib/aws/s3/tree/leaf_node.rb +2 -2
- data/lib/aws/s3/tree/parent.rb +1 -1
- data/lib/aws/s3/website_configuration.rb +13 -13
- data/lib/aws/simple_db.rb +83 -83
- data/lib/aws/simple_db/attribute.rb +9 -7
- data/lib/aws/simple_db/attribute_collection.rb +22 -13
- data/lib/aws/simple_db/client.rb +107 -107
- data/lib/aws/simple_db/config.rb +7 -1
- data/lib/aws/simple_db/consistent_read_option.rb +5 -5
- data/lib/aws/simple_db/domain.rb +4 -2
- data/lib/aws/simple_db/domain_collection.rb +4 -4
- data/lib/aws/simple_db/domain_metadata.rb +5 -5
- data/lib/aws/simple_db/errors.rb +9 -9
- data/lib/aws/simple_db/item.rb +5 -5
- data/lib/aws/simple_db/item_collection.rb +83 -81
- data/lib/aws/simple_db/item_data.rb +4 -4
- data/lib/aws/simple_db/put_attributes.rb +3 -3
- data/lib/aws/simple_email_service.rb +140 -140
- data/lib/aws/simple_email_service/client.rb +82 -76
- data/lib/aws/simple_email_service/config.rb +1 -2
- data/lib/aws/simple_email_service/email_address_collection.rb +3 -3
- data/lib/aws/simple_email_service/identity.rb +8 -8
- data/lib/aws/simple_email_service/quotas.rb +8 -6
- data/lib/aws/simple_workflow.rb +106 -106
- data/lib/aws/simple_workflow/activity_task.rb +15 -22
- data/lib/aws/simple_workflow/activity_task_collection.rb +15 -15
- data/lib/aws/simple_workflow/activity_type.rb +23 -23
- data/lib/aws/simple_workflow/activity_type_collection.rb +23 -23
- data/lib/aws/simple_workflow/client.rb +1004 -956
- data/lib/aws/simple_workflow/config.rb +1 -1
- data/lib/aws/simple_workflow/count.rb +5 -5
- data/lib/aws/simple_workflow/decision_task.rb +129 -129
- data/lib/aws/simple_workflow/decision_task_collection.rb +59 -59
- data/lib/aws/simple_workflow/domain.rb +11 -11
- data/lib/aws/simple_workflow/domain_collection.rb +26 -26
- data/lib/aws/simple_workflow/history_event.rb +32 -32
- data/lib/aws/simple_workflow/history_event_collection.rb +3 -3
- data/lib/aws/simple_workflow/option_formatters.rb +5 -5
- data/lib/aws/simple_workflow/request.rb +1 -1
- data/lib/aws/simple_workflow/resource.rb +1 -1
- data/lib/aws/simple_workflow/type.rb +8 -8
- data/lib/aws/simple_workflow/type_collection.rb +15 -15
- data/lib/aws/simple_workflow/workflow_execution.rb +70 -72
- data/lib/aws/simple_workflow/workflow_execution_collection.rb +130 -130
- data/lib/aws/simple_workflow/workflow_type.rb +27 -25
- data/lib/aws/simple_workflow/workflow_type_collection.rb +20 -20
- data/lib/aws/sns.rb +25 -25
- data/lib/aws/sns/client.rb +55 -55
- data/lib/aws/sns/config.rb +1 -1
- data/lib/aws/sns/policy.rb +1 -1
- data/lib/aws/sns/subscription.rb +7 -7
- data/lib/aws/sns/subscription_collection.rb +5 -5
- data/lib/aws/sns/topic.rb +49 -49
- data/lib/aws/sns/topic_collection.rb +2 -2
- data/lib/aws/sns/topic_subscription_collection.rb +5 -5
- data/lib/aws/sqs.rb +20 -20
- data/lib/aws/sqs/client.rb +78 -78
- data/lib/aws/sqs/config.rb +1 -1
- data/lib/aws/sqs/errors.rb +12 -12
- data/lib/aws/sqs/queue.rb +66 -67
- data/lib/aws/sqs/queue_collection.rb +16 -8
- data/lib/aws/sqs/received_message.rb +7 -6
- data/lib/aws/storage_gateway.rb +21 -21
- data/lib/aws/storage_gateway/client.rb +269 -202
- data/lib/aws/storage_gateway/config.rb +1 -1
- data/lib/aws/sts.rb +10 -8
- data/lib/aws/sts/client.rb +35 -35
- data/lib/aws/sts/session.rb +3 -3
- data/lib/aws/version.rb +1 -2
- metadata +23 -21
- data/lib/aws/core/autoloader.rb +0 -64
- data/lib/net/http/connection_pool.rb +0 -226
- data/lib/net/http/connection_pool/connection.rb +0 -189
- 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
|
71
|
+
# You can optionally specify `:details` that describe the progress.
|
72
72
|
# This might be a percentage competition, step number, etc.
|
73
73
|
#
|
74
|
-
#
|
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
|
-
#
|
86
|
-
#
|
87
|
-
#
|
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
|
-
#
|
96
|
-
#
|
97
|
-
#
|
98
|
-
#
|
99
|
-
#
|
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
|
33
|
+
# Returns the number of tasks in the specified `task_list`.
|
34
34
|
#
|
35
|
-
#
|
36
|
-
#
|
37
|
-
#
|
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
|
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,
|
71
|
-
# a block,
|
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
|
-
#
|
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
|
-
#
|
22
|
+
# domain.activity_types.register('name', 'version', { ... })
|
23
23
|
#
|
24
24
|
# See {ActivityTypeCollection#register} for a complete list of options.
|
25
25
|
#
|
26
|
-
#
|
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
|
-
#
|
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
|
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
|
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
|
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
|
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
|
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
|
-
#
|
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
|
-
#
|
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
|
-
#
|
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
|
-
#
|
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
|
-
# *
|
45
|
-
# *
|
46
|
-
# *
|
47
|
-
# *
|
48
|
-
# *
|
49
|
-
# *
|
50
|
-
# *
|
51
|
-
# *
|
52
|
-
# *
|
53
|
-
# *
|
54
|
-
# *
|
55
|
-
# *
|
56
|
-
# *
|
57
|
-
# *
|
58
|
-
# *
|
59
|
-
# *
|
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
|
-
# *
|
64
|
-
# *
|
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
|
-
# *
|
70
|
-
# *
|
71
|
-
# *
|
72
|
-
# *
|
73
|
-
# *
|
74
|
-
# *
|
75
|
-
# *
|
76
|
-
# *
|
77
|
-
# *
|
78
|
-
# *
|
79
|
-
# *
|
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
|
-
# *
|
84
|
-
# *
|
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
|
-
# *
|
90
|
-
# *
|
91
|
-
# *
|
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
|
-
# *
|
96
|
-
# *
|
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
|
-
# *
|
102
|
-
# *
|
103
|
-
# *
|
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
|
-
# *
|
108
|
-
# *
|
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
|
-
# *
|
114
|
-
# *
|
115
|
-
# *
|
116
|
-
# *
|
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
|
-
# *
|
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
|
-
# *
|
129
|
-
# *
|
130
|
-
# *
|
131
|
-
# *
|
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
|
-
# *
|
138
|
-
# *
|
139
|
-
# *
|
140
|
-
# *
|
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
|
-
# *
|
145
|
-
# *
|
146
|
-
# *
|
147
|
-
# *
|
148
|
-
# *
|
149
|
-
# *
|
150
|
-
# *
|
151
|
-
# *
|
152
|
-
# *
|
153
|
-
# *
|
154
|
-
# *
|
155
|
-
# *
|
156
|
-
# *
|
157
|
-
# *
|
158
|
-
# *
|
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
|
-
# *
|
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
|
-
# *
|
168
|
-
# *
|
169
|
-
# *
|
170
|
-
# *
|
171
|
-
# *
|
172
|
-
# *
|
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
|
-
# *
|
178
|
-
# *
|
179
|
-
# *
|
180
|
-
# *
|
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
|
-
# *
|
185
|
-
# *
|
186
|
-
# *
|
187
|
-
# *
|
188
|
-
# *
|
189
|
-
# *
|
190
|
-
# *
|
191
|
-
# *
|
192
|
-
# *
|
193
|
-
# *
|
194
|
-
# *
|
195
|
-
# *
|
196
|
-
# *
|
197
|
-
# *
|
198
|
-
# *
|
199
|
-
# *
|
200
|
-
# *
|
201
|
-
# *
|
202
|
-
# *
|
203
|
-
# *
|
204
|
-
# *
|
205
|
-
# *
|
206
|
-
# *
|
207
|
-
# *
|
208
|
-
# *
|
209
|
-
# *
|
210
|
-
# *
|
211
|
-
# *
|
212
|
-
# *
|
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
|
-
# *
|
218
|
-
# *
|
219
|
-
# *
|
220
|
-
# *
|
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
|
-
# *
|
225
|
-
# *
|
226
|
-
# *
|
227
|
-
# *
|
228
|
-
# *
|
229
|
-
# *
|
230
|
-
# *
|
231
|
-
# *
|
232
|
-
# *
|
233
|
-
# *
|
234
|
-
# *
|
235
|
-
# *
|
236
|
-
# *
|
237
|
-
# *
|
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
|
-
# *
|
243
|
-
# *
|
244
|
-
# *
|
245
|
-
# *
|
246
|
-
# *
|
247
|
-
# *
|
248
|
-
# *
|
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
|
-
# *
|
253
|
-
# *
|
254
|
-
# *
|
255
|
-
# *
|
256
|
-
# *
|
257
|
-
# *
|
258
|
-
# *
|
259
|
-
# *
|
260
|
-
# *
|
261
|
-
# *
|
262
|
-
# *
|
263
|
-
# *
|
264
|
-
# *
|
265
|
-
# *
|
266
|
-
# *
|
267
|
-
# *
|
268
|
-
# *
|
269
|
-
# *
|
270
|
-
# *
|
271
|
-
# *
|
272
|
-
# *
|
273
|
-
# *
|
274
|
-
# *
|
275
|
-
# *
|
276
|
-
# *
|
277
|
-
# *
|
278
|
-
# *
|
279
|
-
# *
|
280
|
-
# *
|
281
|
-
# *
|
282
|
-
# *
|
283
|
-
# *
|
284
|
-
# *
|
285
|
-
# *
|
286
|
-
# *
|
287
|
-
# *
|
288
|
-
# *
|
289
|
-
# *
|
290
|
-
# *
|
291
|
-
# *
|
292
|
-
# *
|
293
|
-
# *
|
294
|
-
# *
|
295
|
-
# *
|
296
|
-
# *
|
297
|
-
# *
|
298
|
-
# *
|
299
|
-
# *
|
300
|
-
# *
|
301
|
-
# *
|
302
|
-
# *
|
303
|
-
# *
|
304
|
-
# *
|
305
|
-
# *
|
306
|
-
# *
|
307
|
-
# *
|
308
|
-
# *
|
309
|
-
# *
|
310
|
-
# *
|
311
|
-
# *
|
312
|
-
# *
|
313
|
-
# *
|
314
|
-
# *
|
315
|
-
# *
|
316
|
-
# *
|
317
|
-
# *
|
318
|
-
# *
|
319
|
-
# *
|
320
|
-
# *
|
321
|
-
# *
|
322
|
-
# *
|
323
|
-
# *
|
324
|
-
# *
|
325
|
-
# *
|
326
|
-
# *
|
327
|
-
# *
|
328
|
-
# *
|
329
|
-
# *
|
330
|
-
# *
|
331
|
-
# *
|
332
|
-
# *
|
333
|
-
# *
|
334
|
-
# *
|
335
|
-
# *
|
336
|
-
# *
|
337
|
-
# *
|
338
|
-
# *
|
339
|
-
# *
|
340
|
-
# *
|
341
|
-
# *
|
342
|
-
# *
|
343
|
-
# *
|
344
|
-
# *
|
345
|
-
# *
|
346
|
-
# *
|
347
|
-
# *
|
348
|
-
# *
|
349
|
-
# *
|
350
|
-
# *
|
351
|
-
# *
|
352
|
-
# *
|
353
|
-
# *
|
354
|
-
# *
|
355
|
-
# *
|
356
|
-
# *
|
357
|
-
# *
|
358
|
-
# *
|
359
|
-
# *
|
360
|
-
# *
|
361
|
-
# *
|
362
|
-
# *
|
363
|
-
# *
|
364
|
-
# *
|
365
|
-
# *
|
366
|
-
# *
|
367
|
-
# *
|
368
|
-
# *
|
369
|
-
# *
|
370
|
-
# *
|
371
|
-
# *
|
372
|
-
# *
|
373
|
-
# *
|
374
|
-
# *
|
375
|
-
# *
|
376
|
-
# *
|
377
|
-
# *
|
378
|
-
# *
|
379
|
-
# *
|
380
|
-
# *
|
381
|
-
# *
|
382
|
-
# *
|
383
|
-
# *
|
384
|
-
# *
|
385
|
-
# *
|
386
|
-
# *
|
387
|
-
# *
|
388
|
-
# *
|
389
|
-
# *
|
390
|
-
# *
|
391
|
-
# *
|
392
|
-
# *
|
393
|
-
# *
|
394
|
-
# *
|
395
|
-
# *
|
396
|
-
# *
|
397
|
-
# *
|
398
|
-
# *
|
399
|
-
# *
|
400
|
-
# *
|
401
|
-
# *
|
402
|
-
# *
|
403
|
-
# *
|
404
|
-
# *
|
405
|
-
# *
|
406
|
-
# *
|
407
|
-
# *
|
408
|
-
# *
|
409
|
-
# *
|
410
|
-
# *
|
411
|
-
# *
|
412
|
-
# *
|
413
|
-
# *
|
414
|
-
# *
|
415
|
-
# *
|
416
|
-
# *
|
417
|
-
# *
|
418
|
-
# *
|
419
|
-
# *
|
420
|
-
# *
|
421
|
-
# *
|
422
|
-
# *
|
423
|
-
# *
|
424
|
-
# *
|
425
|
-
# *
|
426
|
-
# *
|
427
|
-
# *
|
428
|
-
# *
|
429
|
-
# *
|
430
|
-
# *
|
431
|
-
# *
|
432
|
-
# *
|
433
|
-
# *
|
434
|
-
# *
|
435
|
-
# *
|
436
|
-
# *
|
437
|
-
# *
|
438
|
-
# *
|
439
|
-
# *
|
440
|
-
# *
|
441
|
-
# *
|
442
|
-
# *
|
443
|
-
# *
|
444
|
-
# *
|
445
|
-
# *
|
446
|
-
# *
|
447
|
-
# *
|
448
|
-
# *
|
449
|
-
# *
|
450
|
-
# *
|
451
|
-
# *
|
452
|
-
# *
|
453
|
-
# *
|
454
|
-
# *
|
455
|
-
# *
|
456
|
-
# *
|
457
|
-
# *
|
458
|
-
# *
|
459
|
-
# *
|
460
|
-
# *
|
461
|
-
# *
|
462
|
-
# *
|
463
|
-
# *
|
464
|
-
# *
|
465
|
-
# *
|
466
|
-
# *
|
467
|
-
# *
|
468
|
-
# *
|
469
|
-
# *
|
470
|
-
# *
|
471
|
-
# *
|
472
|
-
# *
|
473
|
-
# *
|
474
|
-
# *
|
475
|
-
# *
|
476
|
-
# *
|
477
|
-
# *
|
478
|
-
# *
|
479
|
-
# *
|
480
|
-
# *
|
481
|
-
# *
|
482
|
-
# *
|
483
|
-
# *
|
484
|
-
# *
|
485
|
-
# *
|
486
|
-
# *
|
487
|
-
# *
|
488
|
-
# *
|
489
|
-
# *
|
490
|
-
# *
|
491
|
-
# *
|
492
|
-
# *
|
493
|
-
# *
|
494
|
-
# *
|
495
|
-
# *
|
496
|
-
# *
|
497
|
-
# *
|
498
|
-
# *
|
499
|
-
# *
|
500
|
-
# *
|
501
|
-
# *
|
502
|
-
# *
|
503
|
-
# *
|
504
|
-
# *
|
505
|
-
# *
|
506
|
-
# *
|
507
|
-
# *
|
508
|
-
# *
|
509
|
-
# *
|
510
|
-
# *
|
511
|
-
# *
|
512
|
-
# *
|
513
|
-
# *
|
514
|
-
# *
|
515
|
-
# *
|
516
|
-
# *
|
517
|
-
# *
|
518
|
-
# *
|
519
|
-
# *
|
520
|
-
# *
|
521
|
-
# *
|
522
|
-
# *
|
523
|
-
# *
|
524
|
-
# *
|
525
|
-
# *
|
526
|
-
# *
|
527
|
-
# *
|
528
|
-
# *
|
529
|
-
# *
|
530
|
-
# *
|
531
|
-
# *
|
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
|
-
# *
|
537
|
-
# *
|
538
|
-
# *
|
539
|
-
#
|
540
|
-
#
|
541
|
-
#
|
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
|
-
# *
|
546
|
-
# *
|
547
|
-
# *
|
548
|
-
# *
|
549
|
-
# *
|
550
|
-
# *
|
551
|
-
# *
|
552
|
-
# *
|
553
|
-
# *
|
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
|
-
# *
|
559
|
-
# *
|
560
|
-
# *
|
561
|
-
# *
|
562
|
-
# *
|
563
|
-
# *
|
564
|
-
# *
|
565
|
-
# *
|
566
|
-
# *
|
567
|
-
# *
|
568
|
-
# *
|
569
|
-
#
|
570
|
-
#
|
571
|
-
#
|
572
|
-
#
|
573
|
-
#
|
574
|
-
#
|
575
|
-
# *
|
576
|
-
#
|
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
|
-
# *
|
581
|
-
# *
|
582
|
-
# *
|
583
|
-
# *
|
584
|
-
# *
|
585
|
-
# *
|
586
|
-
# *
|
587
|
-
# *
|
588
|
-
# *
|
589
|
-
# *
|
590
|
-
# *
|
591
|
-
# *
|
592
|
-
# *
|
593
|
-
# *
|
594
|
-
# *
|
595
|
-
# *
|
596
|
-
# *
|
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
|
-
# *
|
602
|
-
# *
|
603
|
-
#
|
604
|
-
#
|
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
|
-
# *
|
609
|
-
# *
|
610
|
-
# *
|
611
|
-
# *
|
612
|
-
# *
|
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
|
-
# *
|
618
|
-
# *
|
619
|
-
# *
|
620
|
-
# *
|
621
|
-
# *
|
622
|
-
# *
|
623
|
-
# *
|
624
|
-
# *
|
625
|
-
# *
|
626
|
-
# *
|
627
|
-
# *
|
628
|
-
# *
|
629
|
-
# *
|
630
|
-
# *
|
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
|
-
# *
|
635
|
-
# *
|
636
|
-
# *
|
637
|
-
# *
|
638
|
-
# *
|
639
|
-
# *
|
640
|
-
# *
|
641
|
-
# *
|
642
|
-
# *
|
643
|
-
# *
|
644
|
-
# *
|
645
|
-
# *
|
646
|
-
# *
|
647
|
-
# *
|
648
|
-
# *
|
649
|
-
# *
|
650
|
-
# *
|
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
|
-
# *
|
656
|
-
# *
|
657
|
-
# *
|
658
|
-
#
|
659
|
-
#
|
660
|
-
#
|
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
|
-
# *
|
665
|
-
# *
|
666
|
-
# *
|
667
|
-
# *
|
668
|
-
# *
|
669
|
-
# *
|
670
|
-
# *
|
671
|
-
# *
|
672
|
-
# *
|
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
|
-
# *
|
678
|
-
# *
|
679
|
-
# *
|
680
|
-
# *
|
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
|
-
# *
|
685
|
-
# *
|
686
|
-
# *
|
687
|
-
# *
|
688
|
-
# *
|
689
|
-
# *
|
690
|
-
# *
|
691
|
-
# *
|
692
|
-
# *
|
693
|
-
# *
|
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
|
-
# *
|
699
|
-
# *
|
700
|
-
# *
|
701
|
-
# *
|
702
|
-
# *
|
703
|
-
# *
|
704
|
-
# *
|
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
|
-
# *
|
709
|
-
# *
|
710
|
-
# *
|
711
|
-
# *
|
712
|
-
# *
|
713
|
-
# *
|
714
|
-
# *
|
715
|
-
# *
|
716
|
-
# *
|
717
|
-
# *
|
718
|
-
# *
|
719
|
-
# *
|
720
|
-
# *
|
721
|
-
# *
|
722
|
-
# *
|
723
|
-
# *
|
724
|
-
# *
|
725
|
-
# *
|
726
|
-
# *
|
727
|
-
# *
|
728
|
-
# *
|
729
|
-
# *
|
730
|
-
# *
|
731
|
-
# *
|
732
|
-
# *
|
733
|
-
# *
|
734
|
-
# *
|
735
|
-
# *
|
736
|
-
# *
|
737
|
-
# *
|
738
|
-
# *
|
739
|
-
# *
|
740
|
-
# *
|
741
|
-
# *
|
742
|
-
# *
|
743
|
-
# *
|
744
|
-
# *
|
745
|
-
# *
|
746
|
-
# *
|
747
|
-
# *
|
748
|
-
# *
|
749
|
-
# *
|
750
|
-
# *
|
751
|
-
# *
|
752
|
-
# *
|
753
|
-
# *
|
754
|
-
# *
|
755
|
-
# *
|
756
|
-
# *
|
757
|
-
# *
|
758
|
-
# *
|
759
|
-
# *
|
760
|
-
# *
|
761
|
-
# *
|
762
|
-
# *
|
763
|
-
# *
|
764
|
-
# *
|
765
|
-
# *
|
766
|
-
# *
|
767
|
-
# *
|
768
|
-
# *
|
769
|
-
# *
|
770
|
-
# *
|
771
|
-
# *
|
772
|
-
# *
|
773
|
-
# *
|
774
|
-
# *
|
775
|
-
# *
|
776
|
-
# *
|
777
|
-
# *
|
778
|
-
# *
|
779
|
-
# *
|
780
|
-
# *
|
781
|
-
# *
|
782
|
-
# *
|
783
|
-
# *
|
784
|
-
# *
|
785
|
-
# *
|
786
|
-
# *
|
787
|
-
# *
|
788
|
-
# *
|
789
|
-
# *
|
790
|
-
# *
|
791
|
-
# *
|
792
|
-
# *
|
793
|
-
# *
|
794
|
-
# *
|
795
|
-
# *
|
796
|
-
# *
|
797
|
-
# *
|
798
|
-
# *
|
799
|
-
# *
|
800
|
-
# *
|
801
|
-
# *
|
802
|
-
# *
|
803
|
-
# *
|
804
|
-
# *
|
805
|
-
# *
|
806
|
-
# *
|
807
|
-
# *
|
808
|
-
# *
|
809
|
-
# *
|
810
|
-
# *
|
811
|
-
# *
|
812
|
-
# *
|
813
|
-
# *
|
814
|
-
# *
|
815
|
-
# *
|
816
|
-
# *
|
817
|
-
# *
|
818
|
-
# *
|
819
|
-
# *
|
820
|
-
# *
|
821
|
-
# *
|
822
|
-
# *
|
823
|
-
# *
|
824
|
-
# *
|
825
|
-
# *
|
826
|
-
# *
|
827
|
-
# *
|
828
|
-
# *
|
829
|
-
# *
|
830
|
-
# *
|
831
|
-
# *
|
832
|
-
# *
|
833
|
-
# *
|
834
|
-
# *
|
835
|
-
# *
|
836
|
-
# *
|
837
|
-
# *
|
838
|
-
# *
|
839
|
-
# *
|
840
|
-
# *
|
841
|
-
# *
|
842
|
-
# *
|
843
|
-
# *
|
844
|
-
# *
|
845
|
-
# *
|
846
|
-
# *
|
847
|
-
# *
|
848
|
-
# *
|
849
|
-
# *
|
850
|
-
# *
|
851
|
-
# *
|
852
|
-
# *
|
853
|
-
# *
|
854
|
-
# *
|
855
|
-
# *
|
856
|
-
# *
|
857
|
-
# *
|
858
|
-
# *
|
859
|
-
# *
|
860
|
-
# *
|
861
|
-
# *
|
862
|
-
# *
|
863
|
-
# *
|
864
|
-
# *
|
865
|
-
# *
|
866
|
-
# *
|
867
|
-
# *
|
868
|
-
# *
|
869
|
-
# *
|
870
|
-
# *
|
871
|
-
# *
|
872
|
-
# *
|
873
|
-
# *
|
874
|
-
# *
|
875
|
-
# *
|
876
|
-
# *
|
877
|
-
# *
|
878
|
-
# *
|
879
|
-
# *
|
880
|
-
# *
|
881
|
-
# *
|
882
|
-
# *
|
883
|
-
# *
|
884
|
-
# *
|
885
|
-
# *
|
886
|
-
# *
|
887
|
-
# *
|
888
|
-
# *
|
889
|
-
# *
|
890
|
-
# *
|
891
|
-
# *
|
892
|
-
# *
|
893
|
-
# *
|
894
|
-
# *
|
895
|
-
# *
|
896
|
-
# *
|
897
|
-
# *
|
898
|
-
# *
|
899
|
-
# *
|
900
|
-
# *
|
901
|
-
# *
|
902
|
-
# *
|
903
|
-
# *
|
904
|
-
# *
|
905
|
-
# *
|
906
|
-
# *
|
907
|
-
# *
|
908
|
-
# *
|
909
|
-
# *
|
910
|
-
# *
|
911
|
-
# *
|
912
|
-
# *
|
913
|
-
# *
|
914
|
-
# *
|
915
|
-
# *
|
916
|
-
# *
|
917
|
-
# *
|
918
|
-
# *
|
919
|
-
# *
|
920
|
-
# *
|
921
|
-
# *
|
922
|
-
# *
|
923
|
-
# *
|
924
|
-
# *
|
925
|
-
# *
|
926
|
-
# *
|
927
|
-
# *
|
928
|
-
# *
|
929
|
-
# *
|
930
|
-
# *
|
931
|
-
# *
|
932
|
-
# *
|
933
|
-
# *
|
934
|
-
# *
|
935
|
-
# *
|
936
|
-
# *
|
937
|
-
# *
|
938
|
-
# *
|
939
|
-
# *
|
940
|
-
# *
|
941
|
-
# *
|
942
|
-
# *
|
943
|
-
# *
|
944
|
-
# *
|
945
|
-
# *
|
946
|
-
# *
|
947
|
-
# *
|
948
|
-
# *
|
949
|
-
# *
|
950
|
-
# *
|
951
|
-
# *
|
952
|
-
# *
|
953
|
-
# *
|
954
|
-
# *
|
955
|
-
# *
|
956
|
-
# *
|
957
|
-
# *
|
958
|
-
# *
|
959
|
-
# *
|
960
|
-
# *
|
961
|
-
# *
|
962
|
-
# *
|
963
|
-
# *
|
964
|
-
# *
|
965
|
-
# *
|
966
|
-
# *
|
967
|
-
# *
|
968
|
-
# *
|
969
|
-
# *
|
970
|
-
# *
|
971
|
-
# *
|
972
|
-
# *
|
973
|
-
# *
|
974
|
-
# *
|
975
|
-
# *
|
976
|
-
# *
|
977
|
-
# *
|
978
|
-
# *
|
979
|
-
# *
|
980
|
-
# *
|
981
|
-
# *
|
982
|
-
# *
|
983
|
-
# *
|
984
|
-
# *
|
985
|
-
# *
|
986
|
-
# *
|
987
|
-
# *
|
988
|
-
# *
|
989
|
-
# *
|
990
|
-
# *
|
991
|
-
# *
|
992
|
-
# *
|
993
|
-
# *
|
994
|
-
# *
|
995
|
-
# *
|
996
|
-
# *
|
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
|
-
# *
|
1002
|
-
# *
|
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
|
-
# *
|
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
|
-
# *
|
1012
|
-
# *
|
1013
|
-
# *
|
1014
|
-
# *
|
1015
|
-
# *
|
1016
|
-
# *
|
1017
|
-
# *
|
1018
|
-
# *
|
1019
|
-
# *
|
1020
|
-
# *
|
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
|
-
# *
|
1027
|
-
# *
|
1028
|
-
# *
|
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
|
-
# *
|
1035
|
-
# *
|
1036
|
-
# *
|
1037
|
-
# *
|
1038
|
-
# *
|
1039
|
-
# *
|
1040
|
-
# *
|
1041
|
-
# *
|
1042
|
-
# *
|
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
|
-
# *
|
1049
|
-
# *
|
1050
|
-
# *
|
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
|
-
# *
|
1057
|
-
# *
|
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
|
-
# *
|
1064
|
-
# *
|
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
|
-
# *
|
1071
|
-
# *
|
1072
|
-
# *
|
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
|
-
# *
|
1079
|
-
# *
|
1080
|
-
# *
|
1081
|
-
#
|
1082
|
-
# *
|
1083
|
-
#
|
1084
|
-
#
|
1085
|
-
# *
|
1086
|
-
# *
|
1087
|
-
# *
|
1088
|
-
# *
|
1089
|
-
# *
|
1090
|
-
#
|
1091
|
-
# *
|
1092
|
-
# *
|
1093
|
-
#
|
1094
|
-
#
|
1095
|
-
#
|
1096
|
-
#
|
1097
|
-
# *
|
1098
|
-
#
|
1099
|
-
# *
|
1100
|
-
# *
|
1101
|
-
#
|
1102
|
-
#
|
1103
|
-
#
|
1104
|
-
# *
|
1105
|
-
# *
|
1106
|
-
#
|
1107
|
-
#
|
1108
|
-
#
|
1109
|
-
# *
|
1110
|
-
#
|
1111
|
-
# *
|
1112
|
-
#
|
1113
|
-
#
|
1114
|
-
# *
|
1115
|
-
# *
|
1116
|
-
# *
|
1117
|
-
# *
|
1118
|
-
# *
|
1119
|
-
#
|
1120
|
-
# *
|
1121
|
-
#
|
1122
|
-
#
|
1123
|
-
#
|
1124
|
-
#
|
1125
|
-
# *
|
1126
|
-
# *
|
1127
|
-
# *
|
1128
|
-
# *
|
1129
|
-
# *
|
1130
|
-
#
|
1131
|
-
#
|
1132
|
-
# *
|
1133
|
-
#
|
1134
|
-
#
|
1135
|
-
# *
|
1136
|
-
#
|
1137
|
-
# *
|
1138
|
-
# *
|
1139
|
-
# *
|
1140
|
-
#
|
1141
|
-
# *
|
1142
|
-
#
|
1143
|
-
# *
|
1144
|
-
#
|
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
|
-
# *
|
1151
|
-
# *
|
1152
|
-
# *
|
1153
|
-
# *
|
1154
|
-
# *
|
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
|
-
# *
|
1161
|
-
# *
|
1162
|
-
# *
|
1163
|
-
# *
|
1164
|
-
# *
|
1165
|
-
# *
|
1166
|
-
# *
|
1167
|
-
# *
|
1168
|
-
# *
|
1169
|
-
# *
|
1170
|
-
# *
|
1171
|
-
# *
|
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
|
-
# *
|
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
|
-
# *
|
1181
|
-
# *
|
1182
|
-
# *
|
1183
|
-
# *
|
1184
|
-
# *
|
1185
|
-
# *
|
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 #
|