Skip to main content

workflow_execution_histories

Creates, updates, deletes, gets or lists a workflow_execution_histories resource.

Overview

Nameworkflow_execution_histories
TypeResource
Idaws.swf.workflow_execution_histories

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
activity_task_cancel_requested_event_attributesobjectIf the event is of type ActivityTaskcancelRequested then this member is set and provides detailed information about the event. It isn't set for other event types.
activity_task_canceled_event_attributesobjectIf the event is of type ActivityTaskCanceled then this member is set and provides detailed information about the event. It isn't set for other event types.
activity_task_completed_event_attributesobjectIf the event is of type ActivityTaskCompleted then this member is set and provides detailed information about the event. It isn't set for other event types.
activity_task_failed_event_attributesobjectIf the event is of type ActivityTaskFailed then this member is set and provides detailed information about the event. It isn't set for other event types.
activity_task_scheduled_event_attributesobjectIf the event is of type ActivityTaskScheduled then this member is set and provides detailed information about the event. It isn't set for other event types.
activity_task_started_event_attributesobjectIf the event is of type ActivityTaskStarted then this member is set and provides detailed information about the event. It isn't set for other event types.
activity_task_timed_out_event_attributesobjectIf the event is of type ActivityTaskTimedOut then this member is set and provides detailed information about the event. It isn't set for other event types.
cancel_timer_failed_event_attributesobjectIf the event is of type CancelTimerFailed then this member is set and provides detailed information about the event. It isn't set for other event types.
cancel_workflow_execution_failed_event_attributesobjectIf the event is of type CancelWorkflowExecutionFailed then this member is set and provides detailed information about the event. It isn't set for other event types.
child_workflow_execution_canceled_event_attributesobjectIf the event is of type ChildWorkflowExecutionCanceled then this member is set and provides detailed information about the event. It isn't set for other event types.
child_workflow_execution_completed_event_attributesobjectIf the event is of type ChildWorkflowExecutionCompleted then this member is set and provides detailed information about the event. It isn't set for other event types.
child_workflow_execution_failed_event_attributesobjectIf the event is of type ChildWorkflowExecutionFailed then this member is set and provides detailed information about the event. It isn't set for other event types.
child_workflow_execution_started_event_attributesobjectIf the event is of type ChildWorkflowExecutionStarted then this member is set and provides detailed information about the event. It isn't set for other event types.
child_workflow_execution_terminated_event_attributesobjectIf the event is of type ChildWorkflowExecutionTerminated then this member is set and provides detailed information about the event. It isn't set for other event types.
child_workflow_execution_timed_out_event_attributesobjectIf the event is of type ChildWorkflowExecutionTimedOut then this member is set and provides detailed information about the event. It isn't set for other event types.
complete_workflow_execution_failed_event_attributesobjectIf the event is of type CompleteWorkflowExecutionFailed then this member is set and provides detailed information about the event. It isn't set for other event types.
continue_as_new_workflow_execution_failed_event_attributesobjectIf the event is of type ContinueAsNewWorkflowExecutionFailed then this member is set and provides detailed information about the event. It isn't set for other event types.
decision_task_completed_event_attributesobjectIf the event is of type DecisionTaskCompleted then this member is set and provides detailed information about the event. It isn't set for other event types.
decision_task_scheduled_event_attributesobjectIf the event is of type DecisionTaskScheduled then this member is set and provides detailed information about the event. It isn't set for other event types.
decision_task_started_event_attributesobjectIf the event is of type DecisionTaskStarted then this member is set and provides detailed information about the event. It isn't set for other event types.
decision_task_timed_out_event_attributesobjectIf the event is of type DecisionTaskTimedOut then this member is set and provides detailed information about the event. It isn't set for other event types.
event_idinteger (int64)The system generated ID of the event. This ID uniquely identifies the event with in the workflow execution history.
event_timestampstring (date-time)The date and time when the event occurred.
event_typestringThe type of the history event. (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, LambdaFunctionScheduled, LambdaFunctionStarted, LambdaFunctionCompleted, LambdaFunctionFailed, LambdaFunctionTimedOut, ScheduleLambdaFunctionFailed, StartLambdaFunctionFailed)
external_workflow_execution_cancel_requested_event_attributesobjectIf the event is of type ExternalWorkflowExecutionCancelRequested then this member is set and provides detailed information about the event. It isn't set for other event types.
external_workflow_execution_signaled_event_attributesobjectIf the event is of type ExternalWorkflowExecutionSignaled then this member is set and provides detailed information about the event. It isn't set for other event types.
fail_workflow_execution_failed_event_attributesobjectIf the event is of type FailWorkflowExecutionFailed then this member is set and provides detailed information about the event. It isn't set for other event types.
lambda_function_completed_event_attributesobjectProvides the details of the LambdaFunctionCompleted event. It isn't set for other event types.
lambda_function_failed_event_attributesobjectProvides the details of the LambdaFunctionFailed event. It isn't set for other event types.
lambda_function_scheduled_event_attributesobjectProvides the details of the LambdaFunctionScheduled event. It isn't set for other event types.
lambda_function_started_event_attributesobjectProvides the details of the LambdaFunctionStarted event. It isn't set for other event types.
lambda_function_timed_out_event_attributesobjectProvides the details of the LambdaFunctionTimedOut event. It isn't set for other event types.
marker_recorded_event_attributesobjectIf the event is of type MarkerRecorded then this member is set and provides detailed information about the event. It isn't set for other event types.
record_marker_failed_event_attributesobjectIf the event is of type DecisionTaskFailed then this member is set and provides detailed information about the event. It isn't set for other event types.
request_cancel_activity_task_failed_event_attributesobjectIf the event is of type RequestCancelActivityTaskFailed then this member is set and provides detailed information about the event. It isn't set for other event types.
request_cancel_external_workflow_execution_failed_event_attributesobjectIf the event is of type RequestCancelExternalWorkflowExecutionFailed then this member is set and provides detailed information about the event. It isn't set for other event types.
request_cancel_external_workflow_execution_initiated_event_attributesobjectIf the event is of type RequestCancelExternalWorkflowExecutionInitiated then this member is set and provides detailed information about the event. It isn't set for other event types.
schedule_activity_task_failed_event_attributesobjectIf the event is of type ScheduleActivityTaskFailed then this member is set and provides detailed information about the event. It isn't set for other event types.
schedule_lambda_function_failed_event_attributesobjectProvides the details of the ScheduleLambdaFunctionFailed event. It isn't set for other event types.
signal_external_workflow_execution_failed_event_attributesobjectIf the event is of type SignalExternalWorkflowExecutionFailed then this member is set and provides detailed information about the event. It isn't set for other event types.
signal_external_workflow_execution_initiated_event_attributesobjectIf the event is of type SignalExternalWorkflowExecutionInitiated then this member is set and provides detailed information about the event. It isn't set for other event types.
start_child_workflow_execution_failed_event_attributesobjectIf the event is of type StartChildWorkflowExecutionFailed then this member is set and provides detailed information about the event. It isn't set for other event types.
start_child_workflow_execution_initiated_event_attributesobjectIf the event is of type StartChildWorkflowExecutionInitiated then this member is set and provides detailed information about the event. It isn't set for other event types.
start_lambda_function_failed_event_attributesobjectProvides the details of the StartLambdaFunctionFailed event. It isn't set for other event types.
start_timer_failed_event_attributesobjectIf the event is of type StartTimerFailed then this member is set and provides detailed information about the event. It isn't set for other event types.
timer_canceled_event_attributesobjectIf the event is of type TimerCanceled then this member is set and provides detailed information about the event. It isn't set for other event types.
timer_fired_event_attributesobjectIf the event is of type TimerFired then this member is set and provides detailed information about the event. It isn't set for other event types.
timer_started_event_attributesobjectIf the event is of type TimerStarted then this member is set and provides detailed information about the event. It isn't set for other event types.
workflow_execution_cancel_requested_event_attributesobjectIf the event is of type WorkflowExecutionCancelRequested then this member is set and provides detailed information about the event. It isn't set for other event types.
workflow_execution_canceled_event_attributesobjectIf the event is of type WorkflowExecutionCanceled then this member is set and provides detailed information about the event. It isn't set for other event types.
workflow_execution_completed_event_attributesobjectIf the event is of type WorkflowExecutionCompleted then this member is set and provides detailed information about the event. It isn't set for other event types.
workflow_execution_continued_as_new_event_attributesobjectIf the event is of type WorkflowExecutionContinuedAsNew then this member is set and provides detailed information about the event. It isn't set for other event types.
workflow_execution_failed_event_attributesobjectIf the event is of type WorkflowExecutionFailed then this member is set and provides detailed information about the event. It isn't set for other event types.
workflow_execution_signaled_event_attributesobjectIf the event is of type WorkflowExecutionSignaled then this member is set and provides detailed information about the event. It isn't set for other event types.
workflow_execution_started_event_attributesobjectIf the event is of type WorkflowExecutionStarted then this member is set and provides detailed information about the event. It isn't set for other event types.
workflow_execution_terminated_event_attributesobjectIf the event is of type WorkflowExecutionTerminated then this member is set and provides detailed information about the event. It isn't set for other event types.
workflow_execution_timed_out_event_attributesobjectIf the event is of type WorkflowExecutionTimedOut then this member is set and provides detailed information about the event. It isn't set for other event types.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_workflow_execution_historyselectregionReturns the history of the specified workflow execution. The results may be split into multiple pages. To retrieve subsequent pages, make the call again using the nextPageToken returned by the initial call. This operation is eventually consistent. The results are best effort and may not exactly reflect recent updates and changes. Access Control You can use IAM policies to control this action's access to Amazon SWF resources as follows: Use a Resource element with the domain name to limit the action to only specified domains. Use an Action element to allow or deny permission to call this action. You cannot use an IAM policy to constrain this action's parameters. If the caller doesn't have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter is set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows in the Amazon SWF Developer Guide.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples

Returns the history of the specified workflow execution. The results may be split into multiple pages. To retrieve subsequent pages, make the call again using the nextPageToken returned by the initial call. This operation is eventually consistent. The results are best effort and may not exactly reflect recent updates and changes. Access Control You can use IAM policies to control this action's access to Amazon SWF resources as follows: Use a Resource element with the domain name to limit the action to only specified domains. Use an Action element to allow or deny permission to call this action. You cannot use an IAM policy to constrain this action's parameters. If the caller doesn't have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter is set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows in the Amazon SWF Developer Guide.

SELECT
activity_task_cancel_requested_event_attributes,
activity_task_canceled_event_attributes,
activity_task_completed_event_attributes,
activity_task_failed_event_attributes,
activity_task_scheduled_event_attributes,
activity_task_started_event_attributes,
activity_task_timed_out_event_attributes,
cancel_timer_failed_event_attributes,
cancel_workflow_execution_failed_event_attributes,
child_workflow_execution_canceled_event_attributes,
child_workflow_execution_completed_event_attributes,
child_workflow_execution_failed_event_attributes,
child_workflow_execution_started_event_attributes,
child_workflow_execution_terminated_event_attributes,
child_workflow_execution_timed_out_event_attributes,
complete_workflow_execution_failed_event_attributes,
continue_as_new_workflow_execution_failed_event_attributes,
decision_task_completed_event_attributes,
decision_task_scheduled_event_attributes,
decision_task_started_event_attributes,
decision_task_timed_out_event_attributes,
event_id,
event_timestamp,
event_type,
external_workflow_execution_cancel_requested_event_attributes,
external_workflow_execution_signaled_event_attributes,
fail_workflow_execution_failed_event_attributes,
lambda_function_completed_event_attributes,
lambda_function_failed_event_attributes,
lambda_function_scheduled_event_attributes,
lambda_function_started_event_attributes,
lambda_function_timed_out_event_attributes,
marker_recorded_event_attributes,
record_marker_failed_event_attributes,
request_cancel_activity_task_failed_event_attributes,
request_cancel_external_workflow_execution_failed_event_attributes,
request_cancel_external_workflow_execution_initiated_event_attributes,
schedule_activity_task_failed_event_attributes,
schedule_lambda_function_failed_event_attributes,
signal_external_workflow_execution_failed_event_attributes,
signal_external_workflow_execution_initiated_event_attributes,
start_child_workflow_execution_failed_event_attributes,
start_child_workflow_execution_initiated_event_attributes,
start_lambda_function_failed_event_attributes,
start_timer_failed_event_attributes,
timer_canceled_event_attributes,
timer_fired_event_attributes,
timer_started_event_attributes,
workflow_execution_cancel_requested_event_attributes,
workflow_execution_canceled_event_attributes,
workflow_execution_completed_event_attributes,
workflow_execution_continued_as_new_event_attributes,
workflow_execution_failed_event_attributes,
workflow_execution_signaled_event_attributes,
workflow_execution_started_event_attributes,
workflow_execution_terminated_event_attributes,
workflow_execution_timed_out_event_attributes
FROM aws.swf.workflow_execution_histories
WHERE region = '{{ region }}' -- required
;