{ "version": "2012-01-25", "metadata": { "endpoint_prefix": "swf", "json_target_prefix": "SimpleWorkflowService", "json_version": 1.0, "regional_endpoints": { "us-east-1": "swf.us-east-1.amazonaws.com", "us-west-1": "swf.us-west-1.amazonaws.com", "us-west-2": "swf.us-west-2.amazonaws.com", "eu-west-1": "swf.eu-west-1.amazonaws.com", "ap-northeast-1": "swf.ap-northeast-1.amazonaws.com", "ap-southeast-1": "swf.ap-southeast-1.amazonaws.com", "ap-southeast-2": "swf.ap-southeast-2.amazonaws.com", "sa-east-1": "swf.sa-east-1.amazonaws.com" }, "service_abbreviation": "Amazon SWF", "service_class_name": "SWF", "service_full_name": "Amazon Simple Workflow Service" }, "plugins": [ "Seahorse::Client::Plugins::Logging", "Seahorse::Client::Plugins::RestfulBindings", "Seahorse::Client::Plugins::ContentLength", "Aws::Plugins::UserAgent", "Aws::Plugins::RetryErrors", "Aws::Plugins::GlobalConfiguration", "Aws::Plugins::RegionalEndpoint", "Aws::Plugins::InstanceProfileCredentials", "Aws::Plugins::Credentials", "Aws::Plugins::JsonProtocol", "Aws::Plugins::JsonRpcHeaders", "Aws::Plugins::SignatureV4", "Aws::Plugins::SWFReadTimeouts" ], "operations": { "count_closed_workflow_executions": { "name": "CountClosedWorkflowExecutions", "http_method": "POST", "http_path": "/", "input": { "type": "input", "members": { "domain": { "type": "string", "required": true, "serialized_name": "domain" }, "start_time_filter": { "type": "structure", "serialized_name": "startTimeFilter", "members": { "oldest_date": { "type": "unix_timestamp", "required": true, "serialized_name": "oldestDate" }, "latest_date": { "type": "unix_timestamp", "serialized_name": "latestDate" } } }, "close_time_filter": { "type": "structure", "serialized_name": "closeTimeFilter", "members": { "oldest_date": { "type": "unix_timestamp", "required": true, "serialized_name": "oldestDate" }, "latest_date": { "type": "unix_timestamp", "serialized_name": "latestDate" } } }, "execution_filter": { "type": "structure", "serialized_name": "executionFilter", "members": { "workflow_id": { "type": "string", "required": true, "serialized_name": "workflowId" } } }, "type_filter": { "type": "structure", "serialized_name": "typeFilter", "members": { "name": { "type": "string", "required": true, "serialized_name": "name" }, "version": { "type": "string", "serialized_name": "version" } } }, "tag_filter": { "type": "structure", "serialized_name": "tagFilter", "members": { "tag": { "type": "string", "required": true, "serialized_name": "tag" } } }, "close_status_filter": { "type": "structure", "serialized_name": "closeStatusFilter", "members": { "status": { "type": "string", "required": true, "serialized_name": "status", "enum": [ "COMPLETED", "FAILED", "CANCELED", "TERMINATED", "CONTINUED_AS_NEW", "TIMED_OUT" ] } } } } }, "output": { "type": "output", "members": { "count": { "type": "integer", "serialized_name": "count" }, "truncated": { "type": "boolean", "serialized_name": "truncated" } } } }, "count_open_workflow_executions": { "name": "CountOpenWorkflowExecutions", "http_method": "POST", "http_path": "/", "input": { "type": "input", "members": { "domain": { "type": "string", "required": true, "serialized_name": "domain" }, "start_time_filter": { "type": "structure", "required": true, "serialized_name": "startTimeFilter", "members": { "oldest_date": { "type": "unix_timestamp", "required": true, "serialized_name": "oldestDate" }, "latest_date": { "type": "unix_timestamp", "serialized_name": "latestDate" } } }, "type_filter": { "type": "structure", "serialized_name": "typeFilter", "members": { "name": { "type": "string", "required": true, "serialized_name": "name" }, "version": { "type": "string", "serialized_name": "version" } } }, "tag_filter": { "type": "structure", "serialized_name": "tagFilter", "members": { "tag": { "type": "string", "required": true, "serialized_name": "tag" } } }, "execution_filter": { "type": "structure", "serialized_name": "executionFilter", "members": { "workflow_id": { "type": "string", "required": true, "serialized_name": "workflowId" } } } } }, "output": { "type": "output", "members": { "count": { "type": "integer", "serialized_name": "count" }, "truncated": { "type": "boolean", "serialized_name": "truncated" } } } }, "count_pending_activity_tasks": { "name": "CountPendingActivityTasks", "http_method": "POST", "http_path": "/", "input": { "type": "input", "members": { "domain": { "type": "string", "required": true, "serialized_name": "domain" }, "task_list": { "type": "structure", "required": true, "serialized_name": "taskList", "members": { "name": { "type": "string", "required": true, "serialized_name": "name" } } } } }, "output": { "type": "output", "members": { "count": { "type": "integer", "serialized_name": "count" }, "truncated": { "type": "boolean", "serialized_name": "truncated" } } } }, "count_pending_decision_tasks": { "name": "CountPendingDecisionTasks", "http_method": "POST", "http_path": "/", "input": { "type": "input", "members": { "domain": { "type": "string", "required": true, "serialized_name": "domain" }, "task_list": { "type": "structure", "required": true, "serialized_name": "taskList", "members": { "name": { "type": "string", "required": true, "serialized_name": "name" } } } } }, "output": { "type": "output", "members": { "count": { "type": "integer", "serialized_name": "count" }, "truncated": { "type": "boolean", "serialized_name": "truncated" } } } }, "deprecate_activity_type": { "name": "DeprecateActivityType", "http_method": "POST", "http_path": "/", "input": { "type": "input", "members": { "domain": { "type": "string", "required": true, "serialized_name": "domain" }, "activity_type": { "type": "structure", "required": true, "serialized_name": "activityType", "members": { "name": { "type": "string", "required": true, "serialized_name": "name" }, "version": { "type": "string", "required": true, "serialized_name": "version" } } } } } }, "deprecate_domain": { "name": "DeprecateDomain", "http_method": "POST", "http_path": "/", "input": { "type": "input", "members": { "name": { "type": "string", "required": true, "serialized_name": "name" } } } }, "deprecate_workflow_type": { "name": "DeprecateWorkflowType", "http_method": "POST", "http_path": "/", "input": { "type": "input", "members": { "domain": { "type": "string", "required": true, "serialized_name": "domain" }, "workflow_type": { "type": "structure", "required": true, "serialized_name": "workflowType", "members": { "name": { "type": "string", "required": true, "serialized_name": "name" }, "version": { "type": "string", "required": true, "serialized_name": "version" } } } } } }, "describe_activity_type": { "name": "DescribeActivityType", "http_method": "POST", "http_path": "/", "input": { "type": "input", "members": { "domain": { "type": "string", "required": true, "serialized_name": "domain" }, "activity_type": { "type": "structure", "required": true, "serialized_name": "activityType", "members": { "name": { "type": "string", "required": true, "serialized_name": "name" }, "version": { "type": "string", "required": true, "serialized_name": "version" } } } } }, "output": { "type": "output", "members": { "type_info": { "type": "structure", "serialized_name": "typeInfo", "members": { "activity_type": { "type": "structure", "serialized_name": "activityType", "members": { "name": { "type": "string", "serialized_name": "name" }, "version": { "type": "string", "serialized_name": "version" } } }, "status": { "type": "string", "serialized_name": "status", "enum": [ "REGISTERED", "DEPRECATED" ] }, "description": { "type": "string", "serialized_name": "description" }, "creation_date": { "type": "unix_timestamp", "serialized_name": "creationDate" }, "deprecation_date": { "type": "unix_timestamp", "serialized_name": "deprecationDate" } } }, "configuration": { "type": "structure", "serialized_name": "configuration", "members": { "default_task_start_to_close_timeout": { "type": "string", "serialized_name": "defaultTaskStartToCloseTimeout" }, "default_task_heartbeat_timeout": { "type": "string", "serialized_name": "defaultTaskHeartbeatTimeout" }, "default_task_list": { "type": "structure", "serialized_name": "defaultTaskList", "members": { "name": { "type": "string", "serialized_name": "name" } } }, "default_task_schedule_to_start_timeout": { "type": "string", "serialized_name": "defaultTaskScheduleToStartTimeout" }, "default_task_schedule_to_close_timeout": { "type": "string", "serialized_name": "defaultTaskScheduleToCloseTimeout" } } } } } }, "describe_domain": { "name": "DescribeDomain", "http_method": "POST", "http_path": "/", "input": { "type": "input", "members": { "name": { "type": "string", "required": true, "serialized_name": "name" } } }, "output": { "type": "output", "members": { "domain_info": { "type": "structure", "serialized_name": "domainInfo", "members": { "name": { "type": "string", "serialized_name": "name" }, "status": { "type": "string", "serialized_name": "status", "enum": [ "REGISTERED", "DEPRECATED" ] }, "description": { "type": "string", "serialized_name": "description" } } }, "configuration": { "type": "structure", "serialized_name": "configuration", "members": { "workflow_execution_retention_period_in_days": { "type": "string", "serialized_name": "workflowExecutionRetentionPeriodInDays" } } } } } }, "describe_workflow_execution": { "name": "DescribeWorkflowExecution", "http_method": "POST", "http_path": "/", "input": { "type": "input", "members": { "domain": { "type": "string", "required": true, "serialized_name": "domain" }, "execution": { "type": "structure", "required": true, "serialized_name": "execution", "members": { "workflow_id": { "type": "string", "required": true, "serialized_name": "workflowId" }, "run_id": { "type": "string", "required": true, "serialized_name": "runId" } } } } }, "output": { "type": "output", "members": { "execution_info": { "type": "structure", "serialized_name": "executionInfo", "members": { "execution": { "type": "structure", "serialized_name": "execution", "members": { "workflow_id": { "type": "string", "serialized_name": "workflowId" }, "run_id": { "type": "string", "serialized_name": "runId" } } }, "workflow_type": { "type": "structure", "serialized_name": "workflowType", "members": { "name": { "type": "string", "serialized_name": "name" }, "version": { "type": "string", "serialized_name": "version" } } }, "start_timestamp": { "type": "unix_timestamp", "serialized_name": "startTimestamp" }, "close_timestamp": { "type": "unix_timestamp", "serialized_name": "closeTimestamp" }, "execution_status": { "type": "string", "serialized_name": "executionStatus", "enum": [ "OPEN", "CLOSED" ] }, "close_status": { "type": "string", "serialized_name": "closeStatus", "enum": [ "COMPLETED", "FAILED", "CANCELED", "TERMINATED", "CONTINUED_AS_NEW", "TIMED_OUT" ] }, "parent": { "type": "structure", "serialized_name": "parent", "members": { "workflow_id": { "type": "string", "serialized_name": "workflowId" }, "run_id": { "type": "string", "serialized_name": "runId" } } }, "tag_list": { "type": "list", "serialized_name": "tagList", "members": { "type": "string" } }, "cancel_requested": { "type": "boolean", "serialized_name": "cancelRequested" } } }, "execution_configuration": { "type": "structure", "serialized_name": "executionConfiguration", "members": { "task_start_to_close_timeout": { "type": "string", "serialized_name": "taskStartToCloseTimeout" }, "execution_start_to_close_timeout": { "type": "string", "serialized_name": "executionStartToCloseTimeout" }, "task_list": { "type": "structure", "serialized_name": "taskList", "members": { "name": { "type": "string", "serialized_name": "name" } } }, "child_policy": { "type": "string", "serialized_name": "childPolicy", "enum": [ "TERMINATE", "REQUEST_CANCEL", "ABANDON" ] } } }, "open_counts": { "type": "structure", "serialized_name": "openCounts", "members": { "open_activity_tasks": { "type": "integer", "serialized_name": "openActivityTasks" }, "open_decision_tasks": { "type": "integer", "serialized_name": "openDecisionTasks" }, "open_timers": { "type": "integer", "serialized_name": "openTimers" }, "open_child_workflow_executions": { "type": "integer", "serialized_name": "openChildWorkflowExecutions" } } }, "latest_activity_task_timestamp": { "type": "unix_timestamp", "serialized_name": "latestActivityTaskTimestamp" }, "latest_execution_context": { "type": "string", "serialized_name": "latestExecutionContext" } } } }, "describe_workflow_type": { "name": "DescribeWorkflowType", "http_method": "POST", "http_path": "/", "input": { "type": "input", "members": { "domain": { "type": "string", "required": true, "serialized_name": "domain" }, "workflow_type": { "type": "structure", "required": true, "serialized_name": "workflowType", "members": { "name": { "type": "string", "required": true, "serialized_name": "name" }, "version": { "type": "string", "required": true, "serialized_name": "version" } } } } }, "output": { "type": "output", "members": { "type_info": { "type": "structure", "serialized_name": "typeInfo", "members": { "workflow_type": { "type": "structure", "serialized_name": "workflowType", "members": { "name": { "type": "string", "serialized_name": "name" }, "version": { "type": "string", "serialized_name": "version" } } }, "status": { "type": "string", "serialized_name": "status", "enum": [ "REGISTERED", "DEPRECATED" ] }, "description": { "type": "string", "serialized_name": "description" }, "creation_date": { "type": "unix_timestamp", "serialized_name": "creationDate" }, "deprecation_date": { "type": "unix_timestamp", "serialized_name": "deprecationDate" } } }, "configuration": { "type": "structure", "serialized_name": "configuration", "members": { "default_task_start_to_close_timeout": { "type": "string", "serialized_name": "defaultTaskStartToCloseTimeout" }, "default_execution_start_to_close_timeout": { "type": "string", "serialized_name": "defaultExecutionStartToCloseTimeout" }, "default_task_list": { "type": "structure", "serialized_name": "defaultTaskList", "members": { "name": { "type": "string", "serialized_name": "name" } } }, "default_child_policy": { "type": "string", "serialized_name": "defaultChildPolicy", "enum": [ "TERMINATE", "REQUEST_CANCEL", "ABANDON" ] } } } } } }, "get_workflow_execution_history": { "name": "GetWorkflowExecutionHistory", "http_method": "POST", "http_path": "/", "input": { "type": "input", "members": { "domain": { "type": "string", "required": true, "serialized_name": "domain" }, "execution": { "type": "structure", "required": true, "serialized_name": "execution", "members": { "workflow_id": { "type": "string", "required": true, "serialized_name": "workflowId" }, "run_id": { "type": "string", "required": true, "serialized_name": "runId" } } }, "next_page_token": { "type": "string", "serialized_name": "nextPageToken" }, "maximum_page_size": { "type": "integer", "serialized_name": "maximumPageSize" }, "reverse_order": { "type": "boolean", "serialized_name": "reverseOrder" } } }, "output": { "type": "output", "members": { "events": { "type": "list", "serialized_name": "events", "members": { "type": "structure", "members": { "event_timestamp": { "type": "unix_timestamp", "serialized_name": "eventTimestamp" }, "event_type": { "type": "string", "serialized_name": "eventType", "enum": [ "WorkflowExecutionStarted", "WorkflowExecutionCancelRequested", "WorkflowExecutionCompleted", "CompleteWorkflowExecutionFailed", "WorkflowExecutionFailed", "FailWorkflowExecutionFailed", "WorkflowExecutionTimedOut", "WorkflowExecutionCanceled", "CancelWorkflowExecutionFailed", "WorkflowExecutionContinuedAsNew", "ContinueAsNewWorkflowExecutionFailed", "WorkflowExecutionTerminated", "DecisionTaskScheduled", "DecisionTaskStarted", "DecisionTaskCompleted", "DecisionTaskTimedOut", "ActivityTaskScheduled", "ScheduleActivityTaskFailed", "ActivityTaskStarted", "ActivityTaskCompleted", "ActivityTaskFailed", "ActivityTaskTimedOut", "ActivityTaskCanceled", "ActivityTaskCancelRequested", "RequestCancelActivityTaskFailed", "WorkflowExecutionSignaled", "MarkerRecorded", "RecordMarkerFailed", "TimerStarted", "StartTimerFailed", "TimerFired", "TimerCanceled", "CancelTimerFailed", "StartChildWorkflowExecutionInitiated", "StartChildWorkflowExecutionFailed", "ChildWorkflowExecutionStarted", "ChildWorkflowExecutionCompleted", "ChildWorkflowExecutionFailed", "ChildWorkflowExecutionTimedOut", "ChildWorkflowExecutionCanceled", "ChildWorkflowExecutionTerminated", "SignalExternalWorkflowExecutionInitiated", "SignalExternalWorkflowExecutionFailed", "ExternalWorkflowExecutionSignaled", "RequestCancelExternalWorkflowExecutionInitiated", "RequestCancelExternalWorkflowExecutionFailed", "ExternalWorkflowExecutionCancelRequested" ] }, "event_id": { "type": "integer", "serialized_name": "eventId" }, "workflow_execution_started_event_attributes": { "type": "structure", "serialized_name": "workflowExecutionStartedEventAttributes", "members": { "input": { "type": "string", "serialized_name": "input" }, "execution_start_to_close_timeout": { "type": "string", "serialized_name": "executionStartToCloseTimeout" }, "task_start_to_close_timeout": { "type": "string", "serialized_name": "taskStartToCloseTimeout" }, "child_policy": { "type": "string", "serialized_name": "childPolicy", "enum": [ "TERMINATE", "REQUEST_CANCEL", "ABANDON" ] }, "task_list": { "type": "structure", "serialized_name": "taskList", "members": { "name": { "type": "string", "serialized_name": "name" } } }, "workflow_type": { "type": "structure", "serialized_name": "workflowType", "members": { "name": { "type": "string", "serialized_name": "name" }, "version": { "type": "string", "serialized_name": "version" } } }, "tag_list": { "type": "list", "serialized_name": "tagList", "members": { "type": "string" } }, "continued_execution_run_id": { "type": "string", "serialized_name": "continuedExecutionRunId" }, "parent_workflow_execution": { "type": "structure", "serialized_name": "parentWorkflowExecution", "members": { "workflow_id": { "type": "string", "serialized_name": "workflowId" }, "run_id": { "type": "string", "serialized_name": "runId" } } }, "parent_initiated_event_id": { "type": "integer", "serialized_name": "parentInitiatedEventId" } } }, "workflow_execution_completed_event_attributes": { "type": "structure", "serialized_name": "workflowExecutionCompletedEventAttributes", "members": { "result": { "type": "string", "serialized_name": "result" }, "decision_task_completed_event_id": { "type": "integer", "serialized_name": "decisionTaskCompletedEventId" } } }, "complete_workflow_execution_failed_event_attributes": { "type": "structure", "serialized_name": "completeWorkflowExecutionFailedEventAttributes", "members": { "cause": { "type": "string", "serialized_name": "cause", "enum": [ "UNHANDLED_DECISION", "OPERATION_NOT_PERMITTED" ] }, "decision_task_completed_event_id": { "type": "integer", "serialized_name": "decisionTaskCompletedEventId" } } }, "workflow_execution_failed_event_attributes": { "type": "structure", "serialized_name": "workflowExecutionFailedEventAttributes", "members": { "reason": { "type": "string", "serialized_name": "reason" }, "details": { "type": "string", "serialized_name": "details" }, "decision_task_completed_event_id": { "type": "integer", "serialized_name": "decisionTaskCompletedEventId" } } }, "fail_workflow_execution_failed_event_attributes": { "type": "structure", "serialized_name": "failWorkflowExecutionFailedEventAttributes", "members": { "cause": { "type": "string", "serialized_name": "cause", "enum": [ "UNHANDLED_DECISION", "OPERATION_NOT_PERMITTED" ] }, "decision_task_completed_event_id": { "type": "integer", "serialized_name": "decisionTaskCompletedEventId" } } }, "workflow_execution_timed_out_event_attributes": { "type": "structure", "serialized_name": "workflowExecutionTimedOutEventAttributes", "members": { "timeout_type": { "type": "string", "serialized_name": "timeoutType", "enum": [ "START_TO_CLOSE" ] }, "child_policy": { "type": "string", "serialized_name": "childPolicy", "enum": [ "TERMINATE", "REQUEST_CANCEL", "ABANDON" ] } } }, "workflow_execution_canceled_event_attributes": { "type": "structure", "serialized_name": "workflowExecutionCanceledEventAttributes", "members": { "details": { "type": "string", "serialized_name": "details" }, "decision_task_completed_event_id": { "type": "integer", "serialized_name": "decisionTaskCompletedEventId" } } }, "cancel_workflow_execution_failed_event_attributes": { "type": "structure", "serialized_name": "cancelWorkflowExecutionFailedEventAttributes", "members": { "cause": { "type": "string", "serialized_name": "cause", "enum": [ "UNHANDLED_DECISION", "OPERATION_NOT_PERMITTED" ] }, "decision_task_completed_event_id": { "type": "integer", "serialized_name": "decisionTaskCompletedEventId" } } }, "workflow_execution_continued_as_new_event_attributes": { "type": "structure", "serialized_name": "workflowExecutionContinuedAsNewEventAttributes", "members": { "input": { "type": "string", "serialized_name": "input" }, "decision_task_completed_event_id": { "type": "integer", "serialized_name": "decisionTaskCompletedEventId" }, "new_execution_run_id": { "type": "string", "serialized_name": "newExecutionRunId" }, "execution_start_to_close_timeout": { "type": "string", "serialized_name": "executionStartToCloseTimeout" }, "task_list": { "type": "structure", "serialized_name": "taskList", "members": { "name": { "type": "string", "serialized_name": "name" } } }, "task_start_to_close_timeout": { "type": "string", "serialized_name": "taskStartToCloseTimeout" }, "child_policy": { "type": "string", "serialized_name": "childPolicy", "enum": [ "TERMINATE", "REQUEST_CANCEL", "ABANDON" ] }, "tag_list": { "type": "list", "serialized_name": "tagList", "members": { "type": "string" } }, "workflow_type": { "type": "structure", "serialized_name": "workflowType", "members": { "name": { "type": "string", "serialized_name": "name" }, "version": { "type": "string", "serialized_name": "version" } } } } }, "continue_as_new_workflow_execution_failed_event_attributes": { "type": "structure", "serialized_name": "continueAsNewWorkflowExecutionFailedEventAttributes", "members": { "cause": { "type": "string", "serialized_name": "cause", "enum": [ "UNHANDLED_DECISION", "WORKFLOW_TYPE_DEPRECATED", "WORKFLOW_TYPE_DOES_NOT_EXIST", "DEFAULT_EXECUTION_START_TO_CLOSE_TIMEOUT_UNDEFINED", "DEFAULT_TASK_START_TO_CLOSE_TIMEOUT_UNDEFINED", "DEFAULT_TASK_LIST_UNDEFINED", "DEFAULT_CHILD_POLICY_UNDEFINED", "OPERATION_NOT_PERMITTED" ] }, "decision_task_completed_event_id": { "type": "integer", "serialized_name": "decisionTaskCompletedEventId" } } }, "workflow_execution_terminated_event_attributes": { "type": "structure", "serialized_name": "workflowExecutionTerminatedEventAttributes", "members": { "reason": { "type": "string", "serialized_name": "reason" }, "details": { "type": "string", "serialized_name": "details" }, "child_policy": { "type": "string", "serialized_name": "childPolicy", "enum": [ "TERMINATE", "REQUEST_CANCEL", "ABANDON" ] }, "cause": { "type": "string", "serialized_name": "cause", "enum": [ "CHILD_POLICY_APPLIED", "EVENT_LIMIT_EXCEEDED", "OPERATOR_INITIATED" ] } } }, "workflow_execution_cancel_requested_event_attributes": { "type": "structure", "serialized_name": "workflowExecutionCancelRequestedEventAttributes", "members": { "external_workflow_execution": { "type": "structure", "serialized_name": "externalWorkflowExecution", "members": { "workflow_id": { "type": "string", "serialized_name": "workflowId" }, "run_id": { "type": "string", "serialized_name": "runId" } } }, "external_initiated_event_id": { "type": "integer", "serialized_name": "externalInitiatedEventId" }, "cause": { "type": "string", "serialized_name": "cause", "enum": [ "CHILD_POLICY_APPLIED" ] } } }, "decision_task_scheduled_event_attributes": { "type": "structure", "serialized_name": "decisionTaskScheduledEventAttributes", "members": { "task_list": { "type": "structure", "serialized_name": "taskList", "members": { "name": { "type": "string", "serialized_name": "name" } } }, "start_to_close_timeout": { "type": "string", "serialized_name": "startToCloseTimeout" } } }, "decision_task_started_event_attributes": { "type": "structure", "serialized_name": "decisionTaskStartedEventAttributes", "members": { "identity": { "type": "string", "serialized_name": "identity" }, "scheduled_event_id": { "type": "integer", "serialized_name": "scheduledEventId" } } }, "decision_task_completed_event_attributes": { "type": "structure", "serialized_name": "decisionTaskCompletedEventAttributes", "members": { "execution_context": { "type": "string", "serialized_name": "executionContext" }, "scheduled_event_id": { "type": "integer", "serialized_name": "scheduledEventId" }, "started_event_id": { "type": "integer", "serialized_name": "startedEventId" } } }, "decision_task_timed_out_event_attributes": { "type": "structure", "serialized_name": "decisionTaskTimedOutEventAttributes", "members": { "timeout_type": { "type": "string", "serialized_name": "timeoutType", "enum": [ "START_TO_CLOSE" ] }, "scheduled_event_id": { "type": "integer", "serialized_name": "scheduledEventId" }, "started_event_id": { "type": "integer", "serialized_name": "startedEventId" } } }, "activity_task_scheduled_event_attributes": { "type": "structure", "serialized_name": "activityTaskScheduledEventAttributes", "members": { "activity_type": { "type": "structure", "serialized_name": "activityType", "members": { "name": { "type": "string", "serialized_name": "name" }, "version": { "type": "string", "serialized_name": "version" } } }, "activity_id": { "type": "string", "serialized_name": "activityId" }, "input": { "type": "string", "serialized_name": "input" }, "control": { "type": "string", "serialized_name": "control" }, "schedule_to_start_timeout": { "type": "string", "serialized_name": "scheduleToStartTimeout" }, "schedule_to_close_timeout": { "type": "string", "serialized_name": "scheduleToCloseTimeout" }, "start_to_close_timeout": { "type": "string", "serialized_name": "startToCloseTimeout" }, "task_list": { "type": "structure", "serialized_name": "taskList", "members": { "name": { "type": "string", "serialized_name": "name" } } }, "decision_task_completed_event_id": { "type": "integer", "serialized_name": "decisionTaskCompletedEventId" }, "heartbeat_timeout": { "type": "string", "serialized_name": "heartbeatTimeout" } } }, "activity_task_started_event_attributes": { "type": "structure", "serialized_name": "activityTaskStartedEventAttributes", "members": { "identity": { "type": "string", "serialized_name": "identity" }, "scheduled_event_id": { "type": "integer", "serialized_name": "scheduledEventId" } } }, "activity_task_completed_event_attributes": { "type": "structure", "serialized_name": "activityTaskCompletedEventAttributes", "members": { "result": { "type": "string", "serialized_name": "result" }, "scheduled_event_id": { "type": "integer", "serialized_name": "scheduledEventId" }, "started_event_id": { "type": "integer", "serialized_name": "startedEventId" } } }, "activity_task_failed_event_attributes": { "type": "structure", "serialized_name": "activityTaskFailedEventAttributes", "members": { "reason": { "type": "string", "serialized_name": "reason" }, "details": { "type": "string", "serialized_name": "details" }, "scheduled_event_id": { "type": "integer", "serialized_name": "scheduledEventId" }, "started_event_id": { "type": "integer", "serialized_name": "startedEventId" } } }, "activity_task_timed_out_event_attributes": { "type": "structure", "serialized_name": "activityTaskTimedOutEventAttributes", "members": { "timeout_type": { "type": "string", "serialized_name": "timeoutType", "enum": [ "START_TO_CLOSE", "SCHEDULE_TO_START", "SCHEDULE_TO_CLOSE", "HEARTBEAT" ] }, "scheduled_event_id": { "type": "integer", "serialized_name": "scheduledEventId" }, "started_event_id": { "type": "integer", "serialized_name": "startedEventId" }, "details": { "type": "string", "serialized_name": "details" } } }, "activity_task_canceled_event_attributes": { "type": "structure", "serialized_name": "activityTaskCanceledEventAttributes", "members": { "details": { "type": "string", "serialized_name": "details" }, "scheduled_event_id": { "type": "integer", "serialized_name": "scheduledEventId" }, "started_event_id": { "type": "integer", "serialized_name": "startedEventId" }, "latest_cancel_requested_event_id": { "type": "integer", "serialized_name": "latestCancelRequestedEventId" } } }, "activity_task_cancel_requested_event_attributes": { "type": "structure", "serialized_name": "activityTaskCancelRequestedEventAttributes", "members": { "decision_task_completed_event_id": { "type": "integer", "serialized_name": "decisionTaskCompletedEventId" }, "activity_id": { "type": "string", "serialized_name": "activityId" } } }, "workflow_execution_signaled_event_attributes": { "type": "structure", "serialized_name": "workflowExecutionSignaledEventAttributes", "members": { "signal_name": { "type": "string", "serialized_name": "signalName" }, "input": { "type": "string", "serialized_name": "input" }, "external_workflow_execution": { "type": "structure", "serialized_name": "externalWorkflowExecution", "members": { "workflow_id": { "type": "string", "serialized_name": "workflowId" }, "run_id": { "type": "string", "serialized_name": "runId" } } }, "external_initiated_event_id": { "type": "integer", "serialized_name": "externalInitiatedEventId" } } }, "marker_recorded_event_attributes": { "type": "structure", "serialized_name": "markerRecordedEventAttributes", "members": { "marker_name": { "type": "string", "serialized_name": "markerName" }, "details": { "type": "string", "serialized_name": "details" }, "decision_task_completed_event_id": { "type": "integer", "serialized_name": "decisionTaskCompletedEventId" } } }, "record_marker_failed_event_attributes": { "type": "structure", "serialized_name": "recordMarkerFailedEventAttributes", "members": { "marker_name": { "type": "string", "serialized_name": "markerName" }, "cause": { "type": "string", "serialized_name": "cause", "enum": [ "OPERATION_NOT_PERMITTED" ] }, "decision_task_completed_event_id": { "type": "integer", "serialized_name": "decisionTaskCompletedEventId" } } }, "timer_started_event_attributes": { "type": "structure", "serialized_name": "timerStartedEventAttributes", "members": { "timer_id": { "type": "string", "serialized_name": "timerId" }, "control": { "type": "string", "serialized_name": "control" }, "start_to_fire_timeout": { "type": "string", "serialized_name": "startToFireTimeout" }, "decision_task_completed_event_id": { "type": "integer", "serialized_name": "decisionTaskCompletedEventId" } } }, "timer_fired_event_attributes": { "type": "structure", "serialized_name": "timerFiredEventAttributes", "members": { "timer_id": { "type": "string", "serialized_name": "timerId" }, "started_event_id": { "type": "integer", "serialized_name": "startedEventId" } } }, "timer_canceled_event_attributes": { "type": "structure", "serialized_name": "timerCanceledEventAttributes", "members": { "timer_id": { "type": "string", "serialized_name": "timerId" }, "started_event_id": { "type": "integer", "serialized_name": "startedEventId" }, "decision_task_completed_event_id": { "type": "integer", "serialized_name": "decisionTaskCompletedEventId" } } }, "start_child_workflow_execution_initiated_event_attributes": { "type": "structure", "serialized_name": "startChildWorkflowExecutionInitiatedEventAttributes", "members": { "workflow_id": { "type": "string", "serialized_name": "workflowId" }, "workflow_type": { "type": "structure", "serialized_name": "workflowType", "members": { "name": { "type": "string", "serialized_name": "name" }, "version": { "type": "string", "serialized_name": "version" } } }, "control": { "type": "string", "serialized_name": "control" }, "input": { "type": "string", "serialized_name": "input" }, "execution_start_to_close_timeout": { "type": "string", "serialized_name": "executionStartToCloseTimeout" }, "task_list": { "type": "structure", "serialized_name": "taskList", "members": { "name": { "type": "string", "serialized_name": "name" } } }, "decision_task_completed_event_id": { "type": "integer", "serialized_name": "decisionTaskCompletedEventId" }, "child_policy": { "type": "string", "serialized_name": "childPolicy", "enum": [ "TERMINATE", "REQUEST_CANCEL", "ABANDON" ] }, "task_start_to_close_timeout": { "type": "string", "serialized_name": "taskStartToCloseTimeout" }, "tag_list": { "type": "list", "serialized_name": "tagList", "members": { "type": "string" } } } }, "child_workflow_execution_started_event_attributes": { "type": "structure", "serialized_name": "childWorkflowExecutionStartedEventAttributes", "members": { "workflow_execution": { "type": "structure", "serialized_name": "workflowExecution", "members": { "workflow_id": { "type": "string", "serialized_name": "workflowId" }, "run_id": { "type": "string", "serialized_name": "runId" } } }, "workflow_type": { "type": "structure", "serialized_name": "workflowType", "members": { "name": { "type": "string", "serialized_name": "name" }, "version": { "type": "string", "serialized_name": "version" } } }, "initiated_event_id": { "type": "integer", "serialized_name": "initiatedEventId" } } }, "child_workflow_execution_completed_event_attributes": { "type": "structure", "serialized_name": "childWorkflowExecutionCompletedEventAttributes", "members": { "workflow_execution": { "type": "structure", "serialized_name": "workflowExecution", "members": { "workflow_id": { "type": "string", "serialized_name": "workflowId" }, "run_id": { "type": "string", "serialized_name": "runId" } } }, "workflow_type": { "type": "structure", "serialized_name": "workflowType", "members": { "name": { "type": "string", "serialized_name": "name" }, "version": { "type": "string", "serialized_name": "version" } } }, "result": { "type": "string", "serialized_name": "result" }, "initiated_event_id": { "type": "integer", "serialized_name": "initiatedEventId" }, "started_event_id": { "type": "integer", "serialized_name": "startedEventId" } } }, "child_workflow_execution_failed_event_attributes": { "type": "structure", "serialized_name": "childWorkflowExecutionFailedEventAttributes", "members": { "workflow_execution": { "type": "structure", "serialized_name": "workflowExecution", "members": { "workflow_id": { "type": "string", "serialized_name": "workflowId" }, "run_id": { "type": "string", "serialized_name": "runId" } } }, "workflow_type": { "type": "structure", "serialized_name": "workflowType", "members": { "name": { "type": "string", "serialized_name": "name" }, "version": { "type": "string", "serialized_name": "version" } } }, "reason": { "type": "string", "serialized_name": "reason" }, "details": { "type": "string", "serialized_name": "details" }, "initiated_event_id": { "type": "integer", "serialized_name": "initiatedEventId" }, "started_event_id": { "type": "integer", "serialized_name": "startedEventId" } } }, "child_workflow_execution_timed_out_event_attributes": { "type": "structure", "serialized_name": "childWorkflowExecutionTimedOutEventAttributes", "members": { "workflow_execution": { "type": "structure", "serialized_name": "workflowExecution", "members": { "workflow_id": { "type": "string", "serialized_name": "workflowId" }, "run_id": { "type": "string", "serialized_name": "runId" } } }, "workflow_type": { "type": "structure", "serialized_name": "workflowType", "members": { "name": { "type": "string", "serialized_name": "name" }, "version": { "type": "string", "serialized_name": "version" } } }, "timeout_type": { "type": "string", "serialized_name": "timeoutType", "enum": [ "START_TO_CLOSE" ] }, "initiated_event_id": { "type": "integer", "serialized_name": "initiatedEventId" }, "started_event_id": { "type": "integer", "serialized_name": "startedEventId" } } }, "child_workflow_execution_canceled_event_attributes": { "type": "structure", "serialized_name": "childWorkflowExecutionCanceledEventAttributes", "members": { "workflow_execution": { "type": "structure", "serialized_name": "workflowExecution", "members": { "workflow_id": { "type": "string", "serialized_name": "workflowId" }, "run_id": { "type": "string", "serialized_name": "runId" } } }, "workflow_type": { "type": "structure", "serialized_name": "workflowType", "members": { "name": { "type": "string", "serialized_name": "name" }, "version": { "type": "string", "serialized_name": "version" } } }, "details": { "type": "string", "serialized_name": "details" }, "initiated_event_id": { "type": "integer", "serialized_name": "initiatedEventId" }, "started_event_id": { "type": "integer", "serialized_name": "startedEventId" } } }, "child_workflow_execution_terminated_event_attributes": { "type": "structure", "serialized_name": "childWorkflowExecutionTerminatedEventAttributes", "members": { "workflow_execution": { "type": "structure", "serialized_name": "workflowExecution", "members": { "workflow_id": { "type": "string", "serialized_name": "workflowId" }, "run_id": { "type": "string", "serialized_name": "runId" } } }, "workflow_type": { "type": "structure", "serialized_name": "workflowType", "members": { "name": { "type": "string", "serialized_name": "name" }, "version": { "type": "string", "serialized_name": "version" } } }, "initiated_event_id": { "type": "integer", "serialized_name": "initiatedEventId" }, "started_event_id": { "type": "integer", "serialized_name": "startedEventId" } } }, "signal_external_workflow_execution_initiated_event_attributes": { "type": "structure", "serialized_name": "signalExternalWorkflowExecutionInitiatedEventAttributes", "members": { "workflow_id": { "type": "string", "serialized_name": "workflowId" }, "run_id": { "type": "string", "serialized_name": "runId" }, "signal_name": { "type": "string", "serialized_name": "signalName" }, "input": { "type": "string", "serialized_name": "input" }, "decision_task_completed_event_id": { "type": "integer", "serialized_name": "decisionTaskCompletedEventId" }, "control": { "type": "string", "serialized_name": "control" } } }, "external_workflow_execution_signaled_event_attributes": { "type": "structure", "serialized_name": "externalWorkflowExecutionSignaledEventAttributes", "members": { "workflow_execution": { "type": "structure", "serialized_name": "workflowExecution", "members": { "workflow_id": { "type": "string", "serialized_name": "workflowId" }, "run_id": { "type": "string", "serialized_name": "runId" } } }, "initiated_event_id": { "type": "integer", "serialized_name": "initiatedEventId" } } }, "signal_external_workflow_execution_failed_event_attributes": { "type": "structure", "serialized_name": "signalExternalWorkflowExecutionFailedEventAttributes", "members": { "workflow_id": { "type": "string", "serialized_name": "workflowId" }, "run_id": { "type": "string", "serialized_name": "runId" }, "cause": { "type": "string", "serialized_name": "cause", "enum": [ "UNKNOWN_EXTERNAL_WORKFLOW_EXECUTION", "SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_RATE_EXCEEDED", "OPERATION_NOT_PERMITTED" ] }, "initiated_event_id": { "type": "integer", "serialized_name": "initiatedEventId" }, "decision_task_completed_event_id": { "type": "integer", "serialized_name": "decisionTaskCompletedEventId" }, "control": { "type": "string", "serialized_name": "control" } } }, "external_workflow_execution_cancel_requested_event_attributes": { "type": "structure", "serialized_name": "externalWorkflowExecutionCancelRequestedEventAttributes", "members": { "workflow_execution": { "type": "structure", "serialized_name": "workflowExecution", "members": { "workflow_id": { "type": "string", "serialized_name": "workflowId" }, "run_id": { "type": "string", "serialized_name": "runId" } } }, "initiated_event_id": { "type": "integer", "serialized_name": "initiatedEventId" } } }, "request_cancel_external_workflow_execution_initiated_event_attributes": { "type": "structure", "serialized_name": "requestCancelExternalWorkflowExecutionInitiatedEventAttributes", "members": { "workflow_id": { "type": "string", "serialized_name": "workflowId" }, "run_id": { "type": "string", "serialized_name": "runId" }, "decision_task_completed_event_id": { "type": "integer", "serialized_name": "decisionTaskCompletedEventId" }, "control": { "type": "string", "serialized_name": "control" } } }, "request_cancel_external_workflow_execution_failed_event_attributes": { "type": "structure", "serialized_name": "requestCancelExternalWorkflowExecutionFailedEventAttributes", "members": { "workflow_id": { "type": "string", "serialized_name": "workflowId" }, "run_id": { "type": "string", "serialized_name": "runId" }, "cause": { "type": "string", "serialized_name": "cause", "enum": [ "UNKNOWN_EXTERNAL_WORKFLOW_EXECUTION", "REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_RATE_EXCEEDED", "OPERATION_NOT_PERMITTED" ] }, "initiated_event_id": { "type": "integer", "serialized_name": "initiatedEventId" }, "decision_task_completed_event_id": { "type": "integer", "serialized_name": "decisionTaskCompletedEventId" }, "control": { "type": "string", "serialized_name": "control" } } }, "schedule_activity_task_failed_event_attributes": { "type": "structure", "serialized_name": "scheduleActivityTaskFailedEventAttributes", "members": { "activity_type": { "type": "structure", "serialized_name": "activityType", "members": { "name": { "type": "string", "serialized_name": "name" }, "version": { "type": "string", "serialized_name": "version" } } }, "activity_id": { "type": "string", "serialized_name": "activityId" }, "cause": { "type": "string", "serialized_name": "cause", "enum": [ "ACTIVITY_TYPE_DEPRECATED", "ACTIVITY_TYPE_DOES_NOT_EXIST", "ACTIVITY_ID_ALREADY_IN_USE", "OPEN_ACTIVITIES_LIMIT_EXCEEDED", "ACTIVITY_CREATION_RATE_EXCEEDED", "DEFAULT_SCHEDULE_TO_CLOSE_TIMEOUT_UNDEFINED", "DEFAULT_TASK_LIST_UNDEFINED", "DEFAULT_SCHEDULE_TO_START_TIMEOUT_UNDEFINED", "DEFAULT_START_TO_CLOSE_TIMEOUT_UNDEFINED", "DEFAULT_HEARTBEAT_TIMEOUT_UNDEFINED", "OPERATION_NOT_PERMITTED" ] }, "decision_task_completed_event_id": { "type": "integer", "serialized_name": "decisionTaskCompletedEventId" } } }, "request_cancel_activity_task_failed_event_attributes": { "type": "structure", "serialized_name": "requestCancelActivityTaskFailedEventAttributes", "members": { "activity_id": { "type": "string", "serialized_name": "activityId" }, "cause": { "type": "string", "serialized_name": "cause", "enum": [ "ACTIVITY_ID_UNKNOWN", "OPERATION_NOT_PERMITTED" ] }, "decision_task_completed_event_id": { "type": "integer", "serialized_name": "decisionTaskCompletedEventId" } } }, "start_timer_failed_event_attributes": { "type": "structure", "serialized_name": "startTimerFailedEventAttributes", "members": { "timer_id": { "type": "string", "serialized_name": "timerId" }, "cause": { "type": "string", "serialized_name": "cause", "enum": [ "TIMER_ID_ALREADY_IN_USE", "OPEN_TIMERS_LIMIT_EXCEEDED", "TIMER_CREATION_RATE_EXCEEDED", "OPERATION_NOT_PERMITTED" ] }, "decision_task_completed_event_id": { "type": "integer", "serialized_name": "decisionTaskCompletedEventId" } } }, "cancel_timer_failed_event_attributes": { "type": "structure", "serialized_name": "cancelTimerFailedEventAttributes", "members": { "timer_id": { "type": "string", "serialized_name": "timerId" }, "cause": { "type": "string", "serialized_name": "cause", "enum": [ "TIMER_ID_UNKNOWN", "OPERATION_NOT_PERMITTED" ] }, "decision_task_completed_event_id": { "type": "integer", "serialized_name": "decisionTaskCompletedEventId" } } }, "start_child_workflow_execution_failed_event_attributes": { "type": "structure", "serialized_name": "startChildWorkflowExecutionFailedEventAttributes", "members": { "workflow_type": { "type": "structure", "serialized_name": "workflowType", "members": { "name": { "type": "string", "serialized_name": "name" }, "version": { "type": "string", "serialized_name": "version" } } }, "cause": { "type": "string", "serialized_name": "cause", "enum": [ "WORKFLOW_TYPE_DOES_NOT_EXIST", "WORKFLOW_TYPE_DEPRECATED", "OPEN_CHILDREN_LIMIT_EXCEEDED", "OPEN_WORKFLOWS_LIMIT_EXCEEDED", "CHILD_CREATION_RATE_EXCEEDED", "WORKFLOW_ALREADY_RUNNING", "DEFAULT_EXECUTION_START_TO_CLOSE_TIMEOUT_UNDEFINED", "DEFAULT_TASK_LIST_UNDEFINED", "DEFAULT_TASK_START_TO_CLOSE_TIMEOUT_UNDEFINED", "DEFAULT_CHILD_POLICY_UNDEFINED", "OPERATION_NOT_PERMITTED" ] }, "workflow_id": { "type": "string", "serialized_name": "workflowId" }, "initiated_event_id": { "type": "integer", "serialized_name": "initiatedEventId" }, "decision_task_completed_event_id": { "type": "integer", "serialized_name": "decisionTaskCompletedEventId" }, "control": { "type": "string", "serialized_name": "control" } } } } } }, "next_page_token": { "type": "string", "serialized_name": "nextPageToken" } } } }, "list_activity_types": { "name": "ListActivityTypes", "http_method": "POST", "http_path": "/", "input": { "type": "input", "members": { "domain": { "type": "string", "required": true, "serialized_name": "domain" }, "name": { "type": "string", "serialized_name": "name" }, "registration_status": { "type": "string", "required": true, "serialized_name": "registrationStatus", "enum": [ "REGISTERED", "DEPRECATED" ] }, "next_page_token": { "type": "string", "serialized_name": "nextPageToken" }, "maximum_page_size": { "type": "integer", "serialized_name": "maximumPageSize" }, "reverse_order": { "type": "boolean", "serialized_name": "reverseOrder" } } }, "output": { "type": "output", "members": { "type_infos": { "type": "list", "serialized_name": "typeInfos", "members": { "type": "structure", "members": { "activity_type": { "type": "structure", "serialized_name": "activityType", "members": { "name": { "type": "string", "serialized_name": "name" }, "version": { "type": "string", "serialized_name": "version" } } }, "status": { "type": "string", "serialized_name": "status", "enum": [ "REGISTERED", "DEPRECATED" ] }, "description": { "type": "string", "serialized_name": "description" }, "creation_date": { "type": "unix_timestamp", "serialized_name": "creationDate" }, "deprecation_date": { "type": "unix_timestamp", "serialized_name": "deprecationDate" } } } }, "next_page_token": { "type": "string", "serialized_name": "nextPageToken" } } } }, "list_closed_workflow_executions": { "name": "ListClosedWorkflowExecutions", "http_method": "POST", "http_path": "/", "input": { "type": "input", "members": { "domain": { "type": "string", "required": true, "serialized_name": "domain" }, "start_time_filter": { "type": "structure", "serialized_name": "startTimeFilter", "members": { "oldest_date": { "type": "unix_timestamp", "required": true, "serialized_name": "oldestDate" }, "latest_date": { "type": "unix_timestamp", "serialized_name": "latestDate" } } }, "close_time_filter": { "type": "structure", "serialized_name": "closeTimeFilter", "members": { "oldest_date": { "type": "unix_timestamp", "required": true, "serialized_name": "oldestDate" }, "latest_date": { "type": "unix_timestamp", "serialized_name": "latestDate" } } }, "execution_filter": { "type": "structure", "serialized_name": "executionFilter", "members": { "workflow_id": { "type": "string", "required": true, "serialized_name": "workflowId" } } }, "close_status_filter": { "type": "structure", "serialized_name": "closeStatusFilter", "members": { "status": { "type": "string", "required": true, "serialized_name": "status", "enum": [ "COMPLETED", "FAILED", "CANCELED", "TERMINATED", "CONTINUED_AS_NEW", "TIMED_OUT" ] } } }, "type_filter": { "type": "structure", "serialized_name": "typeFilter", "members": { "name": { "type": "string", "required": true, "serialized_name": "name" }, "version": { "type": "string", "serialized_name": "version" } } }, "tag_filter": { "type": "structure", "serialized_name": "tagFilter", "members": { "tag": { "type": "string", "required": true, "serialized_name": "tag" } } }, "next_page_token": { "type": "string", "serialized_name": "nextPageToken" }, "maximum_page_size": { "type": "integer", "serialized_name": "maximumPageSize" }, "reverse_order": { "type": "boolean", "serialized_name": "reverseOrder" } } }, "output": { "type": "output", "members": { "execution_infos": { "type": "list", "serialized_name": "executionInfos", "members": { "type": "structure", "members": { "execution": { "type": "structure", "serialized_name": "execution", "members": { "workflow_id": { "type": "string", "serialized_name": "workflowId" }, "run_id": { "type": "string", "serialized_name": "runId" } } }, "workflow_type": { "type": "structure", "serialized_name": "workflowType", "members": { "name": { "type": "string", "serialized_name": "name" }, "version": { "type": "string", "serialized_name": "version" } } }, "start_timestamp": { "type": "unix_timestamp", "serialized_name": "startTimestamp" }, "close_timestamp": { "type": "unix_timestamp", "serialized_name": "closeTimestamp" }, "execution_status": { "type": "string", "serialized_name": "executionStatus", "enum": [ "OPEN", "CLOSED" ] }, "close_status": { "type": "string", "serialized_name": "closeStatus", "enum": [ "COMPLETED", "FAILED", "CANCELED", "TERMINATED", "CONTINUED_AS_NEW", "TIMED_OUT" ] }, "parent": { "type": "structure", "serialized_name": "parent", "members": { "workflow_id": { "type": "string", "serialized_name": "workflowId" }, "run_id": { "type": "string", "serialized_name": "runId" } } }, "tag_list": { "type": "list", "serialized_name": "tagList", "members": { "type": "string" } }, "cancel_requested": { "type": "boolean", "serialized_name": "cancelRequested" } } } }, "next_page_token": { "type": "string", "serialized_name": "nextPageToken" } } } }, "list_domains": { "name": "ListDomains", "http_method": "POST", "http_path": "/", "input": { "type": "input", "members": { "next_page_token": { "type": "string", "serialized_name": "nextPageToken" }, "registration_status": { "type": "string", "required": true, "serialized_name": "registrationStatus", "enum": [ "REGISTERED", "DEPRECATED" ] }, "maximum_page_size": { "type": "integer", "serialized_name": "maximumPageSize" }, "reverse_order": { "type": "boolean", "serialized_name": "reverseOrder" } } }, "output": { "type": "output", "members": { "domain_infos": { "type": "list", "serialized_name": "domainInfos", "members": { "type": "structure", "members": { "name": { "type": "string", "serialized_name": "name" }, "status": { "type": "string", "serialized_name": "status", "enum": [ "REGISTERED", "DEPRECATED" ] }, "description": { "type": "string", "serialized_name": "description" } } } }, "next_page_token": { "type": "string", "serialized_name": "nextPageToken" } } } }, "list_open_workflow_executions": { "name": "ListOpenWorkflowExecutions", "http_method": "POST", "http_path": "/", "input": { "type": "input", "members": { "domain": { "type": "string", "required": true, "serialized_name": "domain" }, "start_time_filter": { "type": "structure", "required": true, "serialized_name": "startTimeFilter", "members": { "oldest_date": { "type": "unix_timestamp", "required": true, "serialized_name": "oldestDate" }, "latest_date": { "type": "unix_timestamp", "serialized_name": "latestDate" } } }, "type_filter": { "type": "structure", "serialized_name": "typeFilter", "members": { "name": { "type": "string", "required": true, "serialized_name": "name" }, "version": { "type": "string", "serialized_name": "version" } } }, "tag_filter": { "type": "structure", "serialized_name": "tagFilter", "members": { "tag": { "type": "string", "required": true, "serialized_name": "tag" } } }, "next_page_token": { "type": "string", "serialized_name": "nextPageToken" }, "maximum_page_size": { "type": "integer", "serialized_name": "maximumPageSize" }, "reverse_order": { "type": "boolean", "serialized_name": "reverseOrder" }, "execution_filter": { "type": "structure", "serialized_name": "executionFilter", "members": { "workflow_id": { "type": "string", "required": true, "serialized_name": "workflowId" } } } } }, "output": { "type": "output", "members": { "execution_infos": { "type": "list", "serialized_name": "executionInfos", "members": { "type": "structure", "members": { "execution": { "type": "structure", "serialized_name": "execution", "members": { "workflow_id": { "type": "string", "serialized_name": "workflowId" }, "run_id": { "type": "string", "serialized_name": "runId" } } }, "workflow_type": { "type": "structure", "serialized_name": "workflowType", "members": { "name": { "type": "string", "serialized_name": "name" }, "version": { "type": "string", "serialized_name": "version" } } }, "start_timestamp": { "type": "unix_timestamp", "serialized_name": "startTimestamp" }, "close_timestamp": { "type": "unix_timestamp", "serialized_name": "closeTimestamp" }, "execution_status": { "type": "string", "serialized_name": "executionStatus", "enum": [ "OPEN", "CLOSED" ] }, "close_status": { "type": "string", "serialized_name": "closeStatus", "enum": [ "COMPLETED", "FAILED", "CANCELED", "TERMINATED", "CONTINUED_AS_NEW", "TIMED_OUT" ] }, "parent": { "type": "structure", "serialized_name": "parent", "members": { "workflow_id": { "type": "string", "serialized_name": "workflowId" }, "run_id": { "type": "string", "serialized_name": "runId" } } }, "tag_list": { "type": "list", "serialized_name": "tagList", "members": { "type": "string" } }, "cancel_requested": { "type": "boolean", "serialized_name": "cancelRequested" } } } }, "next_page_token": { "type": "string", "serialized_name": "nextPageToken" } } } }, "list_workflow_types": { "name": "ListWorkflowTypes", "http_method": "POST", "http_path": "/", "input": { "type": "input", "members": { "domain": { "type": "string", "required": true, "serialized_name": "domain" }, "name": { "type": "string", "serialized_name": "name" }, "registration_status": { "type": "string", "required": true, "serialized_name": "registrationStatus", "enum": [ "REGISTERED", "DEPRECATED" ] }, "next_page_token": { "type": "string", "serialized_name": "nextPageToken" }, "maximum_page_size": { "type": "integer", "serialized_name": "maximumPageSize" }, "reverse_order": { "type": "boolean", "serialized_name": "reverseOrder" } } }, "output": { "type": "output", "members": { "type_infos": { "type": "list", "serialized_name": "typeInfos", "members": { "type": "structure", "members": { "workflow_type": { "type": "structure", "serialized_name": "workflowType", "members": { "name": { "type": "string", "serialized_name": "name" }, "version": { "type": "string", "serialized_name": "version" } } }, "status": { "type": "string", "serialized_name": "status", "enum": [ "REGISTERED", "DEPRECATED" ] }, "description": { "type": "string", "serialized_name": "description" }, "creation_date": { "type": "unix_timestamp", "serialized_name": "creationDate" }, "deprecation_date": { "type": "unix_timestamp", "serialized_name": "deprecationDate" } } } }, "next_page_token": { "type": "string", "serialized_name": "nextPageToken" } } } }, "poll_for_activity_task": { "name": "PollForActivityTask", "http_method": "POST", "http_path": "/", "input": { "type": "input", "members": { "domain": { "type": "string", "required": true, "serialized_name": "domain" }, "task_list": { "type": "structure", "required": true, "serialized_name": "taskList", "members": { "name": { "type": "string", "required": true, "serialized_name": "name" } } }, "identity": { "type": "string", "serialized_name": "identity" } } }, "output": { "type": "output", "members": { "task_token": { "type": "string", "serialized_name": "taskToken" }, "activity_id": { "type": "string", "serialized_name": "activityId" }, "started_event_id": { "type": "integer", "serialized_name": "startedEventId" }, "workflow_execution": { "type": "structure", "serialized_name": "workflowExecution", "members": { "workflow_id": { "type": "string", "serialized_name": "workflowId" }, "run_id": { "type": "string", "serialized_name": "runId" } } }, "activity_type": { "type": "structure", "serialized_name": "activityType", "members": { "name": { "type": "string", "serialized_name": "name" }, "version": { "type": "string", "serialized_name": "version" } } }, "input": { "type": "string", "serialized_name": "input" } } } }, "poll_for_decision_task": { "name": "PollForDecisionTask", "http_method": "POST", "http_path": "/", "input": { "type": "input", "members": { "domain": { "type": "string", "required": true, "serialized_name": "domain" }, "task_list": { "type": "structure", "required": true, "serialized_name": "taskList", "members": { "name": { "type": "string", "required": true, "serialized_name": "name" } } }, "identity": { "type": "string", "serialized_name": "identity" }, "next_page_token": { "type": "string", "serialized_name": "nextPageToken" }, "maximum_page_size": { "type": "integer", "serialized_name": "maximumPageSize" }, "reverse_order": { "type": "boolean", "serialized_name": "reverseOrder" } } }, "output": { "type": "output", "members": { "task_token": { "type": "string", "serialized_name": "taskToken" }, "started_event_id": { "type": "integer", "serialized_name": "startedEventId" }, "workflow_execution": { "type": "structure", "serialized_name": "workflowExecution", "members": { "workflow_id": { "type": "string", "serialized_name": "workflowId" }, "run_id": { "type": "string", "serialized_name": "runId" } } }, "workflow_type": { "type": "structure", "serialized_name": "workflowType", "members": { "name": { "type": "string", "serialized_name": "name" }, "version": { "type": "string", "serialized_name": "version" } } }, "events": { "type": "list", "serialized_name": "events", "members": { "type": "structure", "members": { "event_timestamp": { "type": "unix_timestamp", "serialized_name": "eventTimestamp" }, "event_type": { "type": "string", "serialized_name": "eventType", "enum": [ "WorkflowExecutionStarted", "WorkflowExecutionCancelRequested", "WorkflowExecutionCompleted", "CompleteWorkflowExecutionFailed", "WorkflowExecutionFailed", "FailWorkflowExecutionFailed", "WorkflowExecutionTimedOut", "WorkflowExecutionCanceled", "CancelWorkflowExecutionFailed", "WorkflowExecutionContinuedAsNew", "ContinueAsNewWorkflowExecutionFailed", "WorkflowExecutionTerminated", "DecisionTaskScheduled", "DecisionTaskStarted", "DecisionTaskCompleted", "DecisionTaskTimedOut", "ActivityTaskScheduled", "ScheduleActivityTaskFailed", "ActivityTaskStarted", "ActivityTaskCompleted", "ActivityTaskFailed", "ActivityTaskTimedOut", "ActivityTaskCanceled", "ActivityTaskCancelRequested", "RequestCancelActivityTaskFailed", "WorkflowExecutionSignaled", "MarkerRecorded", "RecordMarkerFailed", "TimerStarted", "StartTimerFailed", "TimerFired", "TimerCanceled", "CancelTimerFailed", "StartChildWorkflowExecutionInitiated", "StartChildWorkflowExecutionFailed", "ChildWorkflowExecutionStarted", "ChildWorkflowExecutionCompleted", "ChildWorkflowExecutionFailed", "ChildWorkflowExecutionTimedOut", "ChildWorkflowExecutionCanceled", "ChildWorkflowExecutionTerminated", "SignalExternalWorkflowExecutionInitiated", "SignalExternalWorkflowExecutionFailed", "ExternalWorkflowExecutionSignaled", "RequestCancelExternalWorkflowExecutionInitiated", "RequestCancelExternalWorkflowExecutionFailed", "ExternalWorkflowExecutionCancelRequested" ] }, "event_id": { "type": "integer", "serialized_name": "eventId" }, "workflow_execution_started_event_attributes": { "type": "structure", "serialized_name": "workflowExecutionStartedEventAttributes", "members": { "input": { "type": "string", "serialized_name": "input" }, "execution_start_to_close_timeout": { "type": "string", "serialized_name": "executionStartToCloseTimeout" }, "task_start_to_close_timeout": { "type": "string", "serialized_name": "taskStartToCloseTimeout" }, "child_policy": { "type": "string", "serialized_name": "childPolicy", "enum": [ "TERMINATE", "REQUEST_CANCEL", "ABANDON" ] }, "task_list": { "type": "structure", "serialized_name": "taskList", "members": { "name": { "type": "string", "serialized_name": "name" } } }, "workflow_type": { "type": "structure", "serialized_name": "workflowType", "members": { "name": { "type": "string", "serialized_name": "name" }, "version": { "type": "string", "serialized_name": "version" } } }, "tag_list": { "type": "list", "serialized_name": "tagList", "members": { "type": "string" } }, "continued_execution_run_id": { "type": "string", "serialized_name": "continuedExecutionRunId" }, "parent_workflow_execution": { "type": "structure", "serialized_name": "parentWorkflowExecution", "members": { "workflow_id": { "type": "string", "serialized_name": "workflowId" }, "run_id": { "type": "string", "serialized_name": "runId" } } }, "parent_initiated_event_id": { "type": "integer", "serialized_name": "parentInitiatedEventId" } } }, "workflow_execution_completed_event_attributes": { "type": "structure", "serialized_name": "workflowExecutionCompletedEventAttributes", "members": { "result": { "type": "string", "serialized_name": "result" }, "decision_task_completed_event_id": { "type": "integer", "serialized_name": "decisionTaskCompletedEventId" } } }, "complete_workflow_execution_failed_event_attributes": { "type": "structure", "serialized_name": "completeWorkflowExecutionFailedEventAttributes", "members": { "cause": { "type": "string", "serialized_name": "cause", "enum": [ "UNHANDLED_DECISION", "OPERATION_NOT_PERMITTED" ] }, "decision_task_completed_event_id": { "type": "integer", "serialized_name": "decisionTaskCompletedEventId" } } }, "workflow_execution_failed_event_attributes": { "type": "structure", "serialized_name": "workflowExecutionFailedEventAttributes", "members": { "reason": { "type": "string", "serialized_name": "reason" }, "details": { "type": "string", "serialized_name": "details" }, "decision_task_completed_event_id": { "type": "integer", "serialized_name": "decisionTaskCompletedEventId" } } }, "fail_workflow_execution_failed_event_attributes": { "type": "structure", "serialized_name": "failWorkflowExecutionFailedEventAttributes", "members": { "cause": { "type": "string", "serialized_name": "cause", "enum": [ "UNHANDLED_DECISION", "OPERATION_NOT_PERMITTED" ] }, "decision_task_completed_event_id": { "type": "integer", "serialized_name": "decisionTaskCompletedEventId" } } }, "workflow_execution_timed_out_event_attributes": { "type": "structure", "serialized_name": "workflowExecutionTimedOutEventAttributes", "members": { "timeout_type": { "type": "string", "serialized_name": "timeoutType", "enum": [ "START_TO_CLOSE" ] }, "child_policy": { "type": "string", "serialized_name": "childPolicy", "enum": [ "TERMINATE", "REQUEST_CANCEL", "ABANDON" ] } } }, "workflow_execution_canceled_event_attributes": { "type": "structure", "serialized_name": "workflowExecutionCanceledEventAttributes", "members": { "details": { "type": "string", "serialized_name": "details" }, "decision_task_completed_event_id": { "type": "integer", "serialized_name": "decisionTaskCompletedEventId" } } }, "cancel_workflow_execution_failed_event_attributes": { "type": "structure", "serialized_name": "cancelWorkflowExecutionFailedEventAttributes", "members": { "cause": { "type": "string", "serialized_name": "cause", "enum": [ "UNHANDLED_DECISION", "OPERATION_NOT_PERMITTED" ] }, "decision_task_completed_event_id": { "type": "integer", "serialized_name": "decisionTaskCompletedEventId" } } }, "workflow_execution_continued_as_new_event_attributes": { "type": "structure", "serialized_name": "workflowExecutionContinuedAsNewEventAttributes", "members": { "input": { "type": "string", "serialized_name": "input" }, "decision_task_completed_event_id": { "type": "integer", "serialized_name": "decisionTaskCompletedEventId" }, "new_execution_run_id": { "type": "string", "serialized_name": "newExecutionRunId" }, "execution_start_to_close_timeout": { "type": "string", "serialized_name": "executionStartToCloseTimeout" }, "task_list": { "type": "structure", "serialized_name": "taskList", "members": { "name": { "type": "string", "serialized_name": "name" } } }, "task_start_to_close_timeout": { "type": "string", "serialized_name": "taskStartToCloseTimeout" }, "child_policy": { "type": "string", "serialized_name": "childPolicy", "enum": [ "TERMINATE", "REQUEST_CANCEL", "ABANDON" ] }, "tag_list": { "type": "list", "serialized_name": "tagList", "members": { "type": "string" } }, "workflow_type": { "type": "structure", "serialized_name": "workflowType", "members": { "name": { "type": "string", "serialized_name": "name" }, "version": { "type": "string", "serialized_name": "version" } } } } }, "continue_as_new_workflow_execution_failed_event_attributes": { "type": "structure", "serialized_name": "continueAsNewWorkflowExecutionFailedEventAttributes", "members": { "cause": { "type": "string", "serialized_name": "cause", "enum": [ "UNHANDLED_DECISION", "WORKFLOW_TYPE_DEPRECATED", "WORKFLOW_TYPE_DOES_NOT_EXIST", "DEFAULT_EXECUTION_START_TO_CLOSE_TIMEOUT_UNDEFINED", "DEFAULT_TASK_START_TO_CLOSE_TIMEOUT_UNDEFINED", "DEFAULT_TASK_LIST_UNDEFINED", "DEFAULT_CHILD_POLICY_UNDEFINED", "OPERATION_NOT_PERMITTED" ] }, "decision_task_completed_event_id": { "type": "integer", "serialized_name": "decisionTaskCompletedEventId" } } }, "workflow_execution_terminated_event_attributes": { "type": "structure", "serialized_name": "workflowExecutionTerminatedEventAttributes", "members": { "reason": { "type": "string", "serialized_name": "reason" }, "details": { "type": "string", "serialized_name": "details" }, "child_policy": { "type": "string", "serialized_name": "childPolicy", "enum": [ "TERMINATE", "REQUEST_CANCEL", "ABANDON" ] }, "cause": { "type": "string", "serialized_name": "cause", "enum": [ "CHILD_POLICY_APPLIED", "EVENT_LIMIT_EXCEEDED", "OPERATOR_INITIATED" ] } } }, "workflow_execution_cancel_requested_event_attributes": { "type": "structure", "serialized_name": "workflowExecutionCancelRequestedEventAttributes", "members": { "external_workflow_execution": { "type": "structure", "serialized_name": "externalWorkflowExecution", "members": { "workflow_id": { "type": "string", "serialized_name": "workflowId" }, "run_id": { "type": "string", "serialized_name": "runId" } } }, "external_initiated_event_id": { "type": "integer", "serialized_name": "externalInitiatedEventId" }, "cause": { "type": "string", "serialized_name": "cause", "enum": [ "CHILD_POLICY_APPLIED" ] } } }, "decision_task_scheduled_event_attributes": { "type": "structure", "serialized_name": "decisionTaskScheduledEventAttributes", "members": { "task_list": { "type": "structure", "serialized_name": "taskList", "members": { "name": { "type": "string", "serialized_name": "name" } } }, "start_to_close_timeout": { "type": "string", "serialized_name": "startToCloseTimeout" } } }, "decision_task_started_event_attributes": { "type": "structure", "serialized_name": "decisionTaskStartedEventAttributes", "members": { "identity": { "type": "string", "serialized_name": "identity" }, "scheduled_event_id": { "type": "integer", "serialized_name": "scheduledEventId" } } }, "decision_task_completed_event_attributes": { "type": "structure", "serialized_name": "decisionTaskCompletedEventAttributes", "members": { "execution_context": { "type": "string", "serialized_name": "executionContext" }, "scheduled_event_id": { "type": "integer", "serialized_name": "scheduledEventId" }, "started_event_id": { "type": "integer", "serialized_name": "startedEventId" } } }, "decision_task_timed_out_event_attributes": { "type": "structure", "serialized_name": "decisionTaskTimedOutEventAttributes", "members": { "timeout_type": { "type": "string", "serialized_name": "timeoutType", "enum": [ "START_TO_CLOSE" ] }, "scheduled_event_id": { "type": "integer", "serialized_name": "scheduledEventId" }, "started_event_id": { "type": "integer", "serialized_name": "startedEventId" } } }, "activity_task_scheduled_event_attributes": { "type": "structure", "serialized_name": "activityTaskScheduledEventAttributes", "members": { "activity_type": { "type": "structure", "serialized_name": "activityType", "members": { "name": { "type": "string", "serialized_name": "name" }, "version": { "type": "string", "serialized_name": "version" } } }, "activity_id": { "type": "string", "serialized_name": "activityId" }, "input": { "type": "string", "serialized_name": "input" }, "control": { "type": "string", "serialized_name": "control" }, "schedule_to_start_timeout": { "type": "string", "serialized_name": "scheduleToStartTimeout" }, "schedule_to_close_timeout": { "type": "string", "serialized_name": "scheduleToCloseTimeout" }, "start_to_close_timeout": { "type": "string", "serialized_name": "startToCloseTimeout" }, "task_list": { "type": "structure", "serialized_name": "taskList", "members": { "name": { "type": "string", "serialized_name": "name" } } }, "decision_task_completed_event_id": { "type": "integer", "serialized_name": "decisionTaskCompletedEventId" }, "heartbeat_timeout": { "type": "string", "serialized_name": "heartbeatTimeout" } } }, "activity_task_started_event_attributes": { "type": "structure", "serialized_name": "activityTaskStartedEventAttributes", "members": { "identity": { "type": "string", "serialized_name": "identity" }, "scheduled_event_id": { "type": "integer", "serialized_name": "scheduledEventId" } } }, "activity_task_completed_event_attributes": { "type": "structure", "serialized_name": "activityTaskCompletedEventAttributes", "members": { "result": { "type": "string", "serialized_name": "result" }, "scheduled_event_id": { "type": "integer", "serialized_name": "scheduledEventId" }, "started_event_id": { "type": "integer", "serialized_name": "startedEventId" } } }, "activity_task_failed_event_attributes": { "type": "structure", "serialized_name": "activityTaskFailedEventAttributes", "members": { "reason": { "type": "string", "serialized_name": "reason" }, "details": { "type": "string", "serialized_name": "details" }, "scheduled_event_id": { "type": "integer", "serialized_name": "scheduledEventId" }, "started_event_id": { "type": "integer", "serialized_name": "startedEventId" } } }, "activity_task_timed_out_event_attributes": { "type": "structure", "serialized_name": "activityTaskTimedOutEventAttributes", "members": { "timeout_type": { "type": "string", "serialized_name": "timeoutType", "enum": [ "START_TO_CLOSE", "SCHEDULE_TO_START", "SCHEDULE_TO_CLOSE", "HEARTBEAT" ] }, "scheduled_event_id": { "type": "integer", "serialized_name": "scheduledEventId" }, "started_event_id": { "type": "integer", "serialized_name": "startedEventId" }, "details": { "type": "string", "serialized_name": "details" } } }, "activity_task_canceled_event_attributes": { "type": "structure", "serialized_name": "activityTaskCanceledEventAttributes", "members": { "details": { "type": "string", "serialized_name": "details" }, "scheduled_event_id": { "type": "integer", "serialized_name": "scheduledEventId" }, "started_event_id": { "type": "integer", "serialized_name": "startedEventId" }, "latest_cancel_requested_event_id": { "type": "integer", "serialized_name": "latestCancelRequestedEventId" } } }, "activity_task_cancel_requested_event_attributes": { "type": "structure", "serialized_name": "activityTaskCancelRequestedEventAttributes", "members": { "decision_task_completed_event_id": { "type": "integer", "serialized_name": "decisionTaskCompletedEventId" }, "activity_id": { "type": "string", "serialized_name": "activityId" } } }, "workflow_execution_signaled_event_attributes": { "type": "structure", "serialized_name": "workflowExecutionSignaledEventAttributes", "members": { "signal_name": { "type": "string", "serialized_name": "signalName" }, "input": { "type": "string", "serialized_name": "input" }, "external_workflow_execution": { "type": "structure", "serialized_name": "externalWorkflowExecution", "members": { "workflow_id": { "type": "string", "serialized_name": "workflowId" }, "run_id": { "type": "string", "serialized_name": "runId" } } }, "external_initiated_event_id": { "type": "integer", "serialized_name": "externalInitiatedEventId" } } }, "marker_recorded_event_attributes": { "type": "structure", "serialized_name": "markerRecordedEventAttributes", "members": { "marker_name": { "type": "string", "serialized_name": "markerName" }, "details": { "type": "string", "serialized_name": "details" }, "decision_task_completed_event_id": { "type": "integer", "serialized_name": "decisionTaskCompletedEventId" } } }, "record_marker_failed_event_attributes": { "type": "structure", "serialized_name": "recordMarkerFailedEventAttributes", "members": { "marker_name": { "type": "string", "serialized_name": "markerName" }, "cause": { "type": "string", "serialized_name": "cause", "enum": [ "OPERATION_NOT_PERMITTED" ] }, "decision_task_completed_event_id": { "type": "integer", "serialized_name": "decisionTaskCompletedEventId" } } }, "timer_started_event_attributes": { "type": "structure", "serialized_name": "timerStartedEventAttributes", "members": { "timer_id": { "type": "string", "serialized_name": "timerId" }, "control": { "type": "string", "serialized_name": "control" }, "start_to_fire_timeout": { "type": "string", "serialized_name": "startToFireTimeout" }, "decision_task_completed_event_id": { "type": "integer", "serialized_name": "decisionTaskCompletedEventId" } } }, "timer_fired_event_attributes": { "type": "structure", "serialized_name": "timerFiredEventAttributes", "members": { "timer_id": { "type": "string", "serialized_name": "timerId" }, "started_event_id": { "type": "integer", "serialized_name": "startedEventId" } } }, "timer_canceled_event_attributes": { "type": "structure", "serialized_name": "timerCanceledEventAttributes", "members": { "timer_id": { "type": "string", "serialized_name": "timerId" }, "started_event_id": { "type": "integer", "serialized_name": "startedEventId" }, "decision_task_completed_event_id": { "type": "integer", "serialized_name": "decisionTaskCompletedEventId" } } }, "start_child_workflow_execution_initiated_event_attributes": { "type": "structure", "serialized_name": "startChildWorkflowExecutionInitiatedEventAttributes", "members": { "workflow_id": { "type": "string", "serialized_name": "workflowId" }, "workflow_type": { "type": "structure", "serialized_name": "workflowType", "members": { "name": { "type": "string", "serialized_name": "name" }, "version": { "type": "string", "serialized_name": "version" } } }, "control": { "type": "string", "serialized_name": "control" }, "input": { "type": "string", "serialized_name": "input" }, "execution_start_to_close_timeout": { "type": "string", "serialized_name": "executionStartToCloseTimeout" }, "task_list": { "type": "structure", "serialized_name": "taskList", "members": { "name": { "type": "string", "serialized_name": "name" } } }, "decision_task_completed_event_id": { "type": "integer", "serialized_name": "decisionTaskCompletedEventId" }, "child_policy": { "type": "string", "serialized_name": "childPolicy", "enum": [ "TERMINATE", "REQUEST_CANCEL", "ABANDON" ] }, "task_start_to_close_timeout": { "type": "string", "serialized_name": "taskStartToCloseTimeout" }, "tag_list": { "type": "list", "serialized_name": "tagList", "members": { "type": "string" } } } }, "child_workflow_execution_started_event_attributes": { "type": "structure", "serialized_name": "childWorkflowExecutionStartedEventAttributes", "members": { "workflow_execution": { "type": "structure", "serialized_name": "workflowExecution", "members": { "workflow_id": { "type": "string", "serialized_name": "workflowId" }, "run_id": { "type": "string", "serialized_name": "runId" } } }, "workflow_type": { "type": "structure", "serialized_name": "workflowType", "members": { "name": { "type": "string", "serialized_name": "name" }, "version": { "type": "string", "serialized_name": "version" } } }, "initiated_event_id": { "type": "integer", "serialized_name": "initiatedEventId" } } }, "child_workflow_execution_completed_event_attributes": { "type": "structure", "serialized_name": "childWorkflowExecutionCompletedEventAttributes", "members": { "workflow_execution": { "type": "structure", "serialized_name": "workflowExecution", "members": { "workflow_id": { "type": "string", "serialized_name": "workflowId" }, "run_id": { "type": "string", "serialized_name": "runId" } } }, "workflow_type": { "type": "structure", "serialized_name": "workflowType", "members": { "name": { "type": "string", "serialized_name": "name" }, "version": { "type": "string", "serialized_name": "version" } } }, "result": { "type": "string", "serialized_name": "result" }, "initiated_event_id": { "type": "integer", "serialized_name": "initiatedEventId" }, "started_event_id": { "type": "integer", "serialized_name": "startedEventId" } } }, "child_workflow_execution_failed_event_attributes": { "type": "structure", "serialized_name": "childWorkflowExecutionFailedEventAttributes", "members": { "workflow_execution": { "type": "structure", "serialized_name": "workflowExecution", "members": { "workflow_id": { "type": "string", "serialized_name": "workflowId" }, "run_id": { "type": "string", "serialized_name": "runId" } } }, "workflow_type": { "type": "structure", "serialized_name": "workflowType", "members": { "name": { "type": "string", "serialized_name": "name" }, "version": { "type": "string", "serialized_name": "version" } } }, "reason": { "type": "string", "serialized_name": "reason" }, "details": { "type": "string", "serialized_name": "details" }, "initiated_event_id": { "type": "integer", "serialized_name": "initiatedEventId" }, "started_event_id": { "type": "integer", "serialized_name": "startedEventId" } } }, "child_workflow_execution_timed_out_event_attributes": { "type": "structure", "serialized_name": "childWorkflowExecutionTimedOutEventAttributes", "members": { "workflow_execution": { "type": "structure", "serialized_name": "workflowExecution", "members": { "workflow_id": { "type": "string", "serialized_name": "workflowId" }, "run_id": { "type": "string", "serialized_name": "runId" } } }, "workflow_type": { "type": "structure", "serialized_name": "workflowType", "members": { "name": { "type": "string", "serialized_name": "name" }, "version": { "type": "string", "serialized_name": "version" } } }, "timeout_type": { "type": "string", "serialized_name": "timeoutType", "enum": [ "START_TO_CLOSE" ] }, "initiated_event_id": { "type": "integer", "serialized_name": "initiatedEventId" }, "started_event_id": { "type": "integer", "serialized_name": "startedEventId" } } }, "child_workflow_execution_canceled_event_attributes": { "type": "structure", "serialized_name": "childWorkflowExecutionCanceledEventAttributes", "members": { "workflow_execution": { "type": "structure", "serialized_name": "workflowExecution", "members": { "workflow_id": { "type": "string", "serialized_name": "workflowId" }, "run_id": { "type": "string", "serialized_name": "runId" } } }, "workflow_type": { "type": "structure", "serialized_name": "workflowType", "members": { "name": { "type": "string", "serialized_name": "name" }, "version": { "type": "string", "serialized_name": "version" } } }, "details": { "type": "string", "serialized_name": "details" }, "initiated_event_id": { "type": "integer", "serialized_name": "initiatedEventId" }, "started_event_id": { "type": "integer", "serialized_name": "startedEventId" } } }, "child_workflow_execution_terminated_event_attributes": { "type": "structure", "serialized_name": "childWorkflowExecutionTerminatedEventAttributes", "members": { "workflow_execution": { "type": "structure", "serialized_name": "workflowExecution", "members": { "workflow_id": { "type": "string", "serialized_name": "workflowId" }, "run_id": { "type": "string", "serialized_name": "runId" } } }, "workflow_type": { "type": "structure", "serialized_name": "workflowType", "members": { "name": { "type": "string", "serialized_name": "name" }, "version": { "type": "string", "serialized_name": "version" } } }, "initiated_event_id": { "type": "integer", "serialized_name": "initiatedEventId" }, "started_event_id": { "type": "integer", "serialized_name": "startedEventId" } } }, "signal_external_workflow_execution_initiated_event_attributes": { "type": "structure", "serialized_name": "signalExternalWorkflowExecutionInitiatedEventAttributes", "members": { "workflow_id": { "type": "string", "serialized_name": "workflowId" }, "run_id": { "type": "string", "serialized_name": "runId" }, "signal_name": { "type": "string", "serialized_name": "signalName" }, "input": { "type": "string", "serialized_name": "input" }, "decision_task_completed_event_id": { "type": "integer", "serialized_name": "decisionTaskCompletedEventId" }, "control": { "type": "string", "serialized_name": "control" } } }, "external_workflow_execution_signaled_event_attributes": { "type": "structure", "serialized_name": "externalWorkflowExecutionSignaledEventAttributes", "members": { "workflow_execution": { "type": "structure", "serialized_name": "workflowExecution", "members": { "workflow_id": { "type": "string", "serialized_name": "workflowId" }, "run_id": { "type": "string", "serialized_name": "runId" } } }, "initiated_event_id": { "type": "integer", "serialized_name": "initiatedEventId" } } }, "signal_external_workflow_execution_failed_event_attributes": { "type": "structure", "serialized_name": "signalExternalWorkflowExecutionFailedEventAttributes", "members": { "workflow_id": { "type": "string", "serialized_name": "workflowId" }, "run_id": { "type": "string", "serialized_name": "runId" }, "cause": { "type": "string", "serialized_name": "cause", "enum": [ "UNKNOWN_EXTERNAL_WORKFLOW_EXECUTION", "SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_RATE_EXCEEDED", "OPERATION_NOT_PERMITTED" ] }, "initiated_event_id": { "type": "integer", "serialized_name": "initiatedEventId" }, "decision_task_completed_event_id": { "type": "integer", "serialized_name": "decisionTaskCompletedEventId" }, "control": { "type": "string", "serialized_name": "control" } } }, "external_workflow_execution_cancel_requested_event_attributes": { "type": "structure", "serialized_name": "externalWorkflowExecutionCancelRequestedEventAttributes", "members": { "workflow_execution": { "type": "structure", "serialized_name": "workflowExecution", "members": { "workflow_id": { "type": "string", "serialized_name": "workflowId" }, "run_id": { "type": "string", "serialized_name": "runId" } } }, "initiated_event_id": { "type": "integer", "serialized_name": "initiatedEventId" } } }, "request_cancel_external_workflow_execution_initiated_event_attributes": { "type": "structure", "serialized_name": "requestCancelExternalWorkflowExecutionInitiatedEventAttributes", "members": { "workflow_id": { "type": "string", "serialized_name": "workflowId" }, "run_id": { "type": "string", "serialized_name": "runId" }, "decision_task_completed_event_id": { "type": "integer", "serialized_name": "decisionTaskCompletedEventId" }, "control": { "type": "string", "serialized_name": "control" } } }, "request_cancel_external_workflow_execution_failed_event_attributes": { "type": "structure", "serialized_name": "requestCancelExternalWorkflowExecutionFailedEventAttributes", "members": { "workflow_id": { "type": "string", "serialized_name": "workflowId" }, "run_id": { "type": "string", "serialized_name": "runId" }, "cause": { "type": "string", "serialized_name": "cause", "enum": [ "UNKNOWN_EXTERNAL_WORKFLOW_EXECUTION", "REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_RATE_EXCEEDED", "OPERATION_NOT_PERMITTED" ] }, "initiated_event_id": { "type": "integer", "serialized_name": "initiatedEventId" }, "decision_task_completed_event_id": { "type": "integer", "serialized_name": "decisionTaskCompletedEventId" }, "control": { "type": "string", "serialized_name": "control" } } }, "schedule_activity_task_failed_event_attributes": { "type": "structure", "serialized_name": "scheduleActivityTaskFailedEventAttributes", "members": { "activity_type": { "type": "structure", "serialized_name": "activityType", "members": { "name": { "type": "string", "serialized_name": "name" }, "version": { "type": "string", "serialized_name": "version" } } }, "activity_id": { "type": "string", "serialized_name": "activityId" }, "cause": { "type": "string", "serialized_name": "cause", "enum": [ "ACTIVITY_TYPE_DEPRECATED", "ACTIVITY_TYPE_DOES_NOT_EXIST", "ACTIVITY_ID_ALREADY_IN_USE", "OPEN_ACTIVITIES_LIMIT_EXCEEDED", "ACTIVITY_CREATION_RATE_EXCEEDED", "DEFAULT_SCHEDULE_TO_CLOSE_TIMEOUT_UNDEFINED", "DEFAULT_TASK_LIST_UNDEFINED", "DEFAULT_SCHEDULE_TO_START_TIMEOUT_UNDEFINED", "DEFAULT_START_TO_CLOSE_TIMEOUT_UNDEFINED", "DEFAULT_HEARTBEAT_TIMEOUT_UNDEFINED", "OPERATION_NOT_PERMITTED" ] }, "decision_task_completed_event_id": { "type": "integer", "serialized_name": "decisionTaskCompletedEventId" } } }, "request_cancel_activity_task_failed_event_attributes": { "type": "structure", "serialized_name": "requestCancelActivityTaskFailedEventAttributes", "members": { "activity_id": { "type": "string", "serialized_name": "activityId" }, "cause": { "type": "string", "serialized_name": "cause", "enum": [ "ACTIVITY_ID_UNKNOWN", "OPERATION_NOT_PERMITTED" ] }, "decision_task_completed_event_id": { "type": "integer", "serialized_name": "decisionTaskCompletedEventId" } } }, "start_timer_failed_event_attributes": { "type": "structure", "serialized_name": "startTimerFailedEventAttributes", "members": { "timer_id": { "type": "string", "serialized_name": "timerId" }, "cause": { "type": "string", "serialized_name": "cause", "enum": [ "TIMER_ID_ALREADY_IN_USE", "OPEN_TIMERS_LIMIT_EXCEEDED", "TIMER_CREATION_RATE_EXCEEDED", "OPERATION_NOT_PERMITTED" ] }, "decision_task_completed_event_id": { "type": "integer", "serialized_name": "decisionTaskCompletedEventId" } } }, "cancel_timer_failed_event_attributes": { "type": "structure", "serialized_name": "cancelTimerFailedEventAttributes", "members": { "timer_id": { "type": "string", "serialized_name": "timerId" }, "cause": { "type": "string", "serialized_name": "cause", "enum": [ "TIMER_ID_UNKNOWN", "OPERATION_NOT_PERMITTED" ] }, "decision_task_completed_event_id": { "type": "integer", "serialized_name": "decisionTaskCompletedEventId" } } }, "start_child_workflow_execution_failed_event_attributes": { "type": "structure", "serialized_name": "startChildWorkflowExecutionFailedEventAttributes", "members": { "workflow_type": { "type": "structure", "serialized_name": "workflowType", "members": { "name": { "type": "string", "serialized_name": "name" }, "version": { "type": "string", "serialized_name": "version" } } }, "cause": { "type": "string", "serialized_name": "cause", "enum": [ "WORKFLOW_TYPE_DOES_NOT_EXIST", "WORKFLOW_TYPE_DEPRECATED", "OPEN_CHILDREN_LIMIT_EXCEEDED", "OPEN_WORKFLOWS_LIMIT_EXCEEDED", "CHILD_CREATION_RATE_EXCEEDED", "WORKFLOW_ALREADY_RUNNING", "DEFAULT_EXECUTION_START_TO_CLOSE_TIMEOUT_UNDEFINED", "DEFAULT_TASK_LIST_UNDEFINED", "DEFAULT_TASK_START_TO_CLOSE_TIMEOUT_UNDEFINED", "DEFAULT_CHILD_POLICY_UNDEFINED", "OPERATION_NOT_PERMITTED" ] }, "workflow_id": { "type": "string", "serialized_name": "workflowId" }, "initiated_event_id": { "type": "integer", "serialized_name": "initiatedEventId" }, "decision_task_completed_event_id": { "type": "integer", "serialized_name": "decisionTaskCompletedEventId" }, "control": { "type": "string", "serialized_name": "control" } } } } } }, "next_page_token": { "type": "string", "serialized_name": "nextPageToken" }, "previous_started_event_id": { "type": "integer", "serialized_name": "previousStartedEventId" } } } }, "record_activity_task_heartbeat": { "name": "RecordActivityTaskHeartbeat", "http_method": "POST", "http_path": "/", "input": { "type": "input", "members": { "task_token": { "type": "string", "required": true, "serialized_name": "taskToken" }, "details": { "type": "string", "serialized_name": "details" } } }, "output": { "type": "output", "members": { "cancel_requested": { "type": "boolean", "serialized_name": "cancelRequested" } } } }, "register_activity_type": { "name": "RegisterActivityType", "http_method": "POST", "http_path": "/", "input": { "type": "input", "members": { "domain": { "type": "string", "required": true, "serialized_name": "domain" }, "name": { "type": "string", "required": true, "serialized_name": "name" }, "version": { "type": "string", "required": true, "serialized_name": "version" }, "description": { "type": "string", "serialized_name": "description" }, "default_task_start_to_close_timeout": { "type": "string", "serialized_name": "defaultTaskStartToCloseTimeout" }, "default_task_heartbeat_timeout": { "type": "string", "serialized_name": "defaultTaskHeartbeatTimeout" }, "default_task_list": { "type": "structure", "serialized_name": "defaultTaskList", "members": { "name": { "type": "string", "required": true, "serialized_name": "name" } } }, "default_task_schedule_to_start_timeout": { "type": "string", "serialized_name": "defaultTaskScheduleToStartTimeout" }, "default_task_schedule_to_close_timeout": { "type": "string", "serialized_name": "defaultTaskScheduleToCloseTimeout" } } } }, "register_domain": { "name": "RegisterDomain", "http_method": "POST", "http_path": "/", "input": { "type": "input", "members": { "name": { "type": "string", "required": true, "serialized_name": "name" }, "description": { "type": "string", "serialized_name": "description" }, "workflow_execution_retention_period_in_days": { "type": "string", "required": true, "serialized_name": "workflowExecutionRetentionPeriodInDays" } } } }, "register_workflow_type": { "name": "RegisterWorkflowType", "http_method": "POST", "http_path": "/", "input": { "type": "input", "members": { "domain": { "type": "string", "required": true, "serialized_name": "domain" }, "name": { "type": "string", "required": true, "serialized_name": "name" }, "version": { "type": "string", "required": true, "serialized_name": "version" }, "description": { "type": "string", "serialized_name": "description" }, "default_task_start_to_close_timeout": { "type": "string", "serialized_name": "defaultTaskStartToCloseTimeout" }, "default_execution_start_to_close_timeout": { "type": "string", "serialized_name": "defaultExecutionStartToCloseTimeout" }, "default_task_list": { "type": "structure", "serialized_name": "defaultTaskList", "members": { "name": { "type": "string", "required": true, "serialized_name": "name" } } }, "default_child_policy": { "type": "string", "serialized_name": "defaultChildPolicy", "enum": [ "TERMINATE", "REQUEST_CANCEL", "ABANDON" ] } } } }, "request_cancel_workflow_execution": { "name": "RequestCancelWorkflowExecution", "http_method": "POST", "http_path": "/", "input": { "type": "input", "members": { "domain": { "type": "string", "required": true, "serialized_name": "domain" }, "workflow_id": { "type": "string", "required": true, "serialized_name": "workflowId" }, "run_id": { "type": "string", "serialized_name": "runId" } } } }, "respond_activity_task_canceled": { "name": "RespondActivityTaskCanceled", "http_method": "POST", "http_path": "/", "input": { "type": "input", "members": { "task_token": { "type": "string", "required": true, "serialized_name": "taskToken" }, "details": { "type": "string", "serialized_name": "details" } } } }, "respond_activity_task_completed": { "name": "RespondActivityTaskCompleted", "http_method": "POST", "http_path": "/", "input": { "type": "input", "members": { "task_token": { "type": "string", "required": true, "serialized_name": "taskToken" }, "result": { "type": "string", "serialized_name": "result" } } } }, "respond_activity_task_failed": { "name": "RespondActivityTaskFailed", "http_method": "POST", "http_path": "/", "input": { "type": "input", "members": { "task_token": { "type": "string", "required": true, "serialized_name": "taskToken" }, "reason": { "type": "string", "serialized_name": "reason" }, "details": { "type": "string", "serialized_name": "details" } } } }, "respond_decision_task_completed": { "name": "RespondDecisionTaskCompleted", "http_method": "POST", "http_path": "/", "input": { "type": "input", "members": { "task_token": { "type": "string", "required": true, "serialized_name": "taskToken" }, "decisions": { "type": "list", "serialized_name": "decisions", "members": { "type": "structure", "members": { "decision_type": { "type": "string", "required": true, "serialized_name": "decisionType", "enum": [ "ScheduleActivityTask", "RequestCancelActivityTask", "CompleteWorkflowExecution", "FailWorkflowExecution", "CancelWorkflowExecution", "ContinueAsNewWorkflowExecution", "RecordMarker", "StartTimer", "CancelTimer", "SignalExternalWorkflowExecution", "RequestCancelExternalWorkflowExecution", "StartChildWorkflowExecution" ] }, "schedule_activity_task_decision_attributes": { "type": "structure", "serialized_name": "scheduleActivityTaskDecisionAttributes", "members": { "activity_type": { "type": "structure", "required": true, "serialized_name": "activityType", "members": { "name": { "type": "string", "required": true, "serialized_name": "name" }, "version": { "type": "string", "required": true, "serialized_name": "version" } } }, "activity_id": { "type": "string", "required": true, "serialized_name": "activityId" }, "control": { "type": "string", "serialized_name": "control" }, "input": { "type": "string", "serialized_name": "input" }, "schedule_to_close_timeout": { "type": "string", "serialized_name": "scheduleToCloseTimeout" }, "task_list": { "type": "structure", "serialized_name": "taskList", "members": { "name": { "type": "string", "required": true, "serialized_name": "name" } } }, "schedule_to_start_timeout": { "type": "string", "serialized_name": "scheduleToStartTimeout" }, "start_to_close_timeout": { "type": "string", "serialized_name": "startToCloseTimeout" }, "heartbeat_timeout": { "type": "string", "serialized_name": "heartbeatTimeout" } } }, "request_cancel_activity_task_decision_attributes": { "type": "structure", "serialized_name": "requestCancelActivityTaskDecisionAttributes", "members": { "activity_id": { "type": "string", "required": true, "serialized_name": "activityId" } } }, "complete_workflow_execution_decision_attributes": { "type": "structure", "serialized_name": "completeWorkflowExecutionDecisionAttributes", "members": { "result": { "type": "string", "serialized_name": "result" } } }, "fail_workflow_execution_decision_attributes": { "type": "structure", "serialized_name": "failWorkflowExecutionDecisionAttributes", "members": { "reason": { "type": "string", "serialized_name": "reason" }, "details": { "type": "string", "serialized_name": "details" } } }, "cancel_workflow_execution_decision_attributes": { "type": "structure", "serialized_name": "cancelWorkflowExecutionDecisionAttributes", "members": { "details": { "type": "string", "serialized_name": "details" } } }, "continue_as_new_workflow_execution_decision_attributes": { "type": "structure", "serialized_name": "continueAsNewWorkflowExecutionDecisionAttributes", "members": { "input": { "type": "string", "serialized_name": "input" }, "execution_start_to_close_timeout": { "type": "string", "serialized_name": "executionStartToCloseTimeout" }, "task_list": { "type": "structure", "serialized_name": "taskList", "members": { "name": { "type": "string", "required": true, "serialized_name": "name" } } }, "task_start_to_close_timeout": { "type": "string", "serialized_name": "taskStartToCloseTimeout" }, "child_policy": { "type": "string", "serialized_name": "childPolicy", "enum": [ "TERMINATE", "REQUEST_CANCEL", "ABANDON" ] }, "tag_list": { "type": "list", "serialized_name": "tagList", "members": { "type": "string" } }, "workflow_type_version": { "type": "string", "serialized_name": "workflowTypeVersion" } } }, "record_marker_decision_attributes": { "type": "structure", "serialized_name": "recordMarkerDecisionAttributes", "members": { "marker_name": { "type": "string", "required": true, "serialized_name": "markerName" }, "details": { "type": "string", "serialized_name": "details" } } }, "start_timer_decision_attributes": { "type": "structure", "serialized_name": "startTimerDecisionAttributes", "members": { "timer_id": { "type": "string", "required": true, "serialized_name": "timerId" }, "control": { "type": "string", "serialized_name": "control" }, "start_to_fire_timeout": { "type": "string", "required": true, "serialized_name": "startToFireTimeout" } } }, "cancel_timer_decision_attributes": { "type": "structure", "serialized_name": "cancelTimerDecisionAttributes", "members": { "timer_id": { "type": "string", "required": true, "serialized_name": "timerId" } } }, "signal_external_workflow_execution_decision_attributes": { "type": "structure", "serialized_name": "signalExternalWorkflowExecutionDecisionAttributes", "members": { "workflow_id": { "type": "string", "required": true, "serialized_name": "workflowId" }, "run_id": { "type": "string", "serialized_name": "runId" }, "signal_name": { "type": "string", "required": true, "serialized_name": "signalName" }, "input": { "type": "string", "serialized_name": "input" }, "control": { "type": "string", "serialized_name": "control" } } }, "request_cancel_external_workflow_execution_decision_attributes": { "type": "structure", "serialized_name": "requestCancelExternalWorkflowExecutionDecisionAttributes", "members": { "workflow_id": { "type": "string", "required": true, "serialized_name": "workflowId" }, "run_id": { "type": "string", "serialized_name": "runId" }, "control": { "type": "string", "serialized_name": "control" } } }, "start_child_workflow_execution_decision_attributes": { "type": "structure", "serialized_name": "startChildWorkflowExecutionDecisionAttributes", "members": { "workflow_type": { "type": "structure", "required": true, "serialized_name": "workflowType", "members": { "name": { "type": "string", "required": true, "serialized_name": "name" }, "version": { "type": "string", "required": true, "serialized_name": "version" } } }, "workflow_id": { "type": "string", "required": true, "serialized_name": "workflowId" }, "control": { "type": "string", "serialized_name": "control" }, "input": { "type": "string", "serialized_name": "input" }, "execution_start_to_close_timeout": { "type": "string", "serialized_name": "executionStartToCloseTimeout" }, "task_list": { "type": "structure", "serialized_name": "taskList", "members": { "name": { "type": "string", "required": true, "serialized_name": "name" } } }, "task_start_to_close_timeout": { "type": "string", "serialized_name": "taskStartToCloseTimeout" }, "child_policy": { "type": "string", "serialized_name": "childPolicy", "enum": [ "TERMINATE", "REQUEST_CANCEL", "ABANDON" ] }, "tag_list": { "type": "list", "serialized_name": "tagList", "members": { "type": "string" } } } } } } }, "execution_context": { "type": "string", "serialized_name": "executionContext" } } } }, "signal_workflow_execution": { "name": "SignalWorkflowExecution", "http_method": "POST", "http_path": "/", "input": { "type": "input", "members": { "domain": { "type": "string", "required": true, "serialized_name": "domain" }, "workflow_id": { "type": "string", "required": true, "serialized_name": "workflowId" }, "run_id": { "type": "string", "serialized_name": "runId" }, "signal_name": { "type": "string", "required": true, "serialized_name": "signalName" }, "input": { "type": "string", "serialized_name": "input" } } } }, "start_workflow_execution": { "name": "StartWorkflowExecution", "http_method": "POST", "http_path": "/", "input": { "type": "input", "members": { "domain": { "type": "string", "required": true, "serialized_name": "domain" }, "workflow_id": { "type": "string", "required": true, "serialized_name": "workflowId" }, "workflow_type": { "type": "structure", "required": true, "serialized_name": "workflowType", "members": { "name": { "type": "string", "required": true, "serialized_name": "name" }, "version": { "type": "string", "required": true, "serialized_name": "version" } } }, "task_list": { "type": "structure", "serialized_name": "taskList", "members": { "name": { "type": "string", "required": true, "serialized_name": "name" } } }, "input": { "type": "string", "serialized_name": "input" }, "execution_start_to_close_timeout": { "type": "string", "serialized_name": "executionStartToCloseTimeout" }, "tag_list": { "type": "list", "serialized_name": "tagList", "members": { "type": "string" } }, "task_start_to_close_timeout": { "type": "string", "serialized_name": "taskStartToCloseTimeout" }, "child_policy": { "type": "string", "serialized_name": "childPolicy", "enum": [ "TERMINATE", "REQUEST_CANCEL", "ABANDON" ] } } }, "output": { "type": "output", "members": { "run_id": { "type": "string", "serialized_name": "runId" } } } }, "terminate_workflow_execution": { "name": "TerminateWorkflowExecution", "http_method": "POST", "http_path": "/", "input": { "type": "input", "members": { "domain": { "type": "string", "required": true, "serialized_name": "domain" }, "workflow_id": { "type": "string", "required": true, "serialized_name": "workflowId" }, "run_id": { "type": "string", "serialized_name": "runId" }, "reason": { "type": "string", "serialized_name": "reason" }, "details": { "type": "string", "serialized_name": "details" }, "child_policy": { "type": "string", "serialized_name": "childPolicy", "enum": [ "TERMINATE", "REQUEST_CANCEL", "ABANDON" ] } } } } } }