Skip to content

aws.swf.get_workflow_execution_history

Example SQL Queries

SELECT * FROM
aws.swf.get_workflow_execution_history
WHERE
"domain" = 'VALUE'
AND "execution" = 'VALUE';

Description

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.

Table Definition

Column NameColumn Data Type
domain Required Input Column

The name of the domain containing the workflow execution.

VARCHAR
execution Required Input Column

Specifies the workflow execution for which to return the history.

STRUCT(
"workflow_id" VARCHAR,
"run_id" VARCHAR
)
Show child fields
execution.run_id

A system-generated unique identifier for the workflow execution.

execution.workflow_id

The user defined identifier associated with the workflow execution.

reverse_order Input Column

When set to true, returns the events in reverse order. By default the results are returned in ascending order of the eventTimeStamp of the events.

BOOLEAN
_aws_profile Input Column

The AWS profile defines the AWS identity used. It can be defined via credentials or by assuming a IAM role.

STRUCT(
"type" VARCHAR,
"name" VARCHAR,
"account_id" VARCHAR,
"via_profile_name" VARCHAR,
"assumed_role_arn" VARCHAR,
"organization" STRUCT(
"account_name" VARCHAR,
"id" VARCHAR,
"tags" STRUCT(
"key" VARCHAR,
"value" VARCHAR
)[],
"master_account" STRUCT(
"id" VARCHAR,
"email" VARCHAR
),
"parents" STRUCT(
"type" VARCHAR,
"id" VARCHAR,
"name" VARCHAR,
"tags" STRUCT(
"key" VARCHAR,
"value" VARCHAR
)[]
)[]
)
)
Show child fields
_aws_profile.account_id

The AWS account id

_aws_profile.assumed_role_arn

The ARN of the assumed role

_aws_profile.name

The unique name of the profile.

_aws_profile.organization

Information about this profile's membership in the AWS organization.

Show child fields
_aws_profile.organization.account_name

The name of account speciifed by the organization

_aws_profile.organization.id

The organization id

_aws_profile.organization.master_account
Show child fields
_aws_profile.organization.master_account.email

The organization master account email address

_aws_profile.organization.master_account.id

The organization master account id

_aws_profile.organization.parents[]
Show child fields
_aws_profile.organization.parents[].id

The id of the parent

_aws_profile.organization.parents[].name

The name of the parent

_aws_profile.organization.parents[].tags[]
Show child fields
_aws_profile.organization.parents[].tags[].key
_aws_profile.organization.parents[].tags[].value
_aws_profile.organization.parents[].type

The type of parent can be an organization unit or a root

_aws_profile.organization.tags[]
Show child fields
_aws_profile.organization.tags[].key
_aws_profile.organization.tags[].value
_aws_profile.type

The type of profile, either 'credentials' or 'assumed_role'

_aws_profile.via_profile_name

This IAM role for this profile is assumed by first utilizing another profile with this name to obtain credentials.

_aws_region Input Column

The AWS region to use.

VARCHAR
activity_task_cancel_requested_event_attributes

If 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.

STRUCT(
"decision_task_completed_event_id" BIGINT,
"activity_id" VARCHAR
)
Show child fields
activity_task_cancel_requested_event_attributes.activity_id

The unique ID of the task.

activity_task_cancel_requested_event_attributes.decision_task_completed_event_id

The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the RequestCancelActivityTask decision for this cancellation request. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

activity_task_canceled_event_attributes

If 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.

STRUCT(
"details" VARCHAR,
"scheduled_event_id" BIGINT,
"started_event_id" BIGINT,
"latest_cancel_requested_event_id" BIGINT
)
Show child fields
activity_task_canceled_event_attributes.details

Details of the cancellation.

activity_task_canceled_event_attributes.latest_cancel_requested_event_id

If set, contains the ID of the last ActivityTaskCancelRequested event recorded for this activity task. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

activity_task_canceled_event_attributes.scheduled_event_id

The ID of the ActivityTaskScheduled event that was recorded when this activity task was scheduled. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

activity_task_canceled_event_attributes.started_event_id

The ID of the ActivityTaskStarted event recorded when this activity task was started. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

activity_task_completed_event_attributes

If 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.

STRUCT(
"result" VARCHAR,
"scheduled_event_id" BIGINT,
"started_event_id" BIGINT
)
Show child fields
activity_task_completed_event_attributes.result

The results of the activity task.

activity_task_completed_event_attributes.scheduled_event_id

The ID of the ActivityTaskScheduled event that was recorded when this activity task was scheduled. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

activity_task_completed_event_attributes.started_event_id

The ID of the ActivityTaskStarted event recorded when this activity task was started. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

activity_task_failed_event_attributes

If 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.

STRUCT(
"reason" VARCHAR,
"details" VARCHAR,
"scheduled_event_id" BIGINT,
"started_event_id" BIGINT
)
Show child fields
activity_task_failed_event_attributes.details

The details of the failure.

activity_task_failed_event_attributes.reason

The reason provided for the failure.

activity_task_failed_event_attributes.scheduled_event_id

The ID of the ActivityTaskScheduled event that was recorded when this activity task was scheduled. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

activity_task_failed_event_attributes.started_event_id

The ID of the ActivityTaskStarted event recorded when this activity task was started. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

activity_task_scheduled_event_attributes

If 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.

STRUCT(
"activity_type" STRUCT(
"name" VARCHAR,
"version" VARCHAR
),
"activity_id" VARCHAR,
"input" VARCHAR,
"control" VARCHAR,
"schedule_to_start_timeout" VARCHAR,
"schedule_to_close_timeout" VARCHAR,
"start_to_close_timeout" VARCHAR,
"task_list" STRUCT(
"name" VARCHAR
),
"task_priority" VARCHAR,
"decision_task_completed_event_id" BIGINT,
"heartbeat_timeout" VARCHAR
)
Show child fields
activity_task_scheduled_event_attributes.activity_id

The unique ID of the activity task.

activity_task_scheduled_event_attributes.activity_type

The type of the activity task.

Show child fields
activity_task_scheduled_event_attributes.activity_type.name

The name of this activity.

The combination of activity type name and version must be unique within a domain.

activity_task_scheduled_event_attributes.activity_type.version

The version of this activity.

The combination of activity type name and version must be unique with in a domain.

activity_task_scheduled_event_attributes.control

Data attached to the event that can be used by the decider in subsequent workflow tasks. This data isn't sent to the activity.

activity_task_scheduled_event_attributes.decision_task_completed_event_id

The ID of the DecisionTaskCompleted event corresponding to the decision that resulted in the scheduling of this activity task. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

activity_task_scheduled_event_attributes.heartbeat_timeout

The maximum time before which the worker processing this task must report progress by calling RecordActivityTaskHeartbeat. If the timeout is exceeded, the activity task is automatically timed out. If the worker subsequently attempts to record a heartbeat or return a result, it is ignored.

activity_task_scheduled_event_attributes.input

The input provided to the activity task.

activity_task_scheduled_event_attributes.schedule_to_close_timeout

The maximum amount of time for this activity task.

activity_task_scheduled_event_attributes.schedule_to_start_timeout

The maximum amount of time the activity task can wait to be assigned to a worker.

activity_task_scheduled_event_attributes.start_to_close_timeout

The maximum amount of time a worker may take to process the activity task.

activity_task_scheduled_event_attributes.task_list

The task list in which the activity task has been scheduled.

Show child fields
activity_task_scheduled_event_attributes.task_list.name

The name of the task list.

activity_task_scheduled_event_attributes.task_priority

The priority to assign to the scheduled activity task. If set, this overrides any default priority value that was assigned when the activity type was registered.

Valid values are integers that range from Java's Integer.MIN_VALUE (-2147483648) to Integer.MAX_VALUE (2147483647). Higher numbers indicate higher priority.

For more information about setting task priority, see Setting Task Priority in the Amazon SWF Developer Guide.

activity_task_started_event_attributes

If 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.

STRUCT(
"identity" VARCHAR,
"scheduled_event_id" BIGINT
)
Show child fields
activity_task_started_event_attributes.identity

Identity of the worker that was assigned this task. This aids diagnostics when problems arise. The form of this identity is user defined.

activity_task_started_event_attributes.scheduled_event_id

The ID of the ActivityTaskScheduled event that was recorded when this activity task was scheduled. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

activity_task_timed_out_event_attributes

If 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.

STRUCT(
"timeout_type" VARCHAR,
"scheduled_event_id" BIGINT,
"started_event_id" BIGINT,
"details" VARCHAR
)
Show child fields
activity_task_timed_out_event_attributes.details

Contains the content of the details parameter for the last call made by the activity to RecordActivityTaskHeartbeat.

activity_task_timed_out_event_attributes.scheduled_event_id

The ID of the ActivityTaskScheduled event that was recorded when this activity task was scheduled. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

activity_task_timed_out_event_attributes.started_event_id

The ID of the ActivityTaskStarted event recorded when this activity task was started. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

activity_task_timed_out_event_attributes.timeout_type

The type of the timeout that caused this event.

cancel_timer_failed_event_attributes

If 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.

STRUCT(
"timer_id" VARCHAR,
"cause" VARCHAR,
"decision_task_completed_event_id" BIGINT
)
Show child fields
cancel_timer_failed_event_attributes.cause

The cause of the failure. This information is generated by the system and can be useful for diagnostic purposes.

If cause is set to OPERATION_NOT_PERMITTED, the decision failed because it lacked sufficient permissions. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows in the Amazon SWF Developer Guide.

cancel_timer_failed_event_attributes.decision_task_completed_event_id

The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the CancelTimer decision to cancel this timer. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

cancel_timer_failed_event_attributes.timer_id

The timerId provided in the CancelTimer decision that failed.

cancel_workflow_execution_failed_event_attributes

If 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.

STRUCT(
"cause" VARCHAR,
"decision_task_completed_event_id" BIGINT
)
Show child fields
cancel_workflow_execution_failed_event_attributes.cause

The cause of the failure. This information is generated by the system and can be useful for diagnostic purposes.

If cause is set to OPERATION_NOT_PERMITTED, the decision failed because it lacked sufficient permissions. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows in the Amazon SWF Developer Guide.

cancel_workflow_execution_failed_event_attributes.decision_task_completed_event_id

The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the CancelWorkflowExecution decision for this cancellation request. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

child_workflow_execution_canceled_event_attributes

If 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.

STRUCT(
"workflow_execution" STRUCT(
"workflow_id" VARCHAR,
"run_id" VARCHAR
),
"workflow_type" STRUCT(
"name" VARCHAR,
"version" VARCHAR
),
"details" VARCHAR,
"initiated_event_id" BIGINT,
"started_event_id" BIGINT
)
Show child fields
child_workflow_execution_canceled_event_attributes.details

Details of the cancellation (if provided).

child_workflow_execution_canceled_event_attributes.initiated_event_id

The ID of the StartChildWorkflowExecutionInitiated event corresponding to the StartChildWorkflowExecution Decision to start this child workflow execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

child_workflow_execution_canceled_event_attributes.started_event_id

The ID of the ChildWorkflowExecutionStarted event recorded when this child workflow execution was started. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

child_workflow_execution_canceled_event_attributes.workflow_execution

The child workflow execution that was canceled.

Show child fields
child_workflow_execution_canceled_event_attributes.workflow_execution.run_id

A system-generated unique identifier for the workflow execution.

child_workflow_execution_canceled_event_attributes.workflow_execution.workflow_id

The user defined identifier associated with the workflow execution.

child_workflow_execution_canceled_event_attributes.workflow_type

The type of the child workflow execution.

Show child fields
child_workflow_execution_canceled_event_attributes.workflow_type.name

The name of the workflow type.

The combination of workflow type name and version must be unique with in a domain.

child_workflow_execution_canceled_event_attributes.workflow_type.version

The version of the workflow type.

The combination of workflow type name and version must be unique with in a domain.

child_workflow_execution_completed_event_attributes

If 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.

STRUCT(
"workflow_execution" STRUCT(
"workflow_id" VARCHAR,
"run_id" VARCHAR
),
"workflow_type" STRUCT(
"name" VARCHAR,
"version" VARCHAR
),
"result" VARCHAR,
"initiated_event_id" BIGINT,
"started_event_id" BIGINT
)
Show child fields
child_workflow_execution_completed_event_attributes.initiated_event_id

The ID of the StartChildWorkflowExecutionInitiated event corresponding to the StartChildWorkflowExecution Decision to start this child workflow execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

child_workflow_execution_completed_event_attributes.result

The result of the child workflow execution.

child_workflow_execution_completed_event_attributes.started_event_id

The ID of the ChildWorkflowExecutionStarted event recorded when this child workflow execution was started. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

child_workflow_execution_completed_event_attributes.workflow_execution

The child workflow execution that was completed.

Show child fields
child_workflow_execution_completed_event_attributes.workflow_execution.run_id

A system-generated unique identifier for the workflow execution.

child_workflow_execution_completed_event_attributes.workflow_execution.workflow_id

The user defined identifier associated with the workflow execution.

child_workflow_execution_completed_event_attributes.workflow_type

The type of the child workflow execution.

Show child fields
child_workflow_execution_completed_event_attributes.workflow_type.name

The name of the workflow type.

The combination of workflow type name and version must be unique with in a domain.

child_workflow_execution_completed_event_attributes.workflow_type.version

The version of the workflow type.

The combination of workflow type name and version must be unique with in a domain.

child_workflow_execution_failed_event_attributes

If 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.

STRUCT(
"workflow_execution" STRUCT(
"workflow_id" VARCHAR,
"run_id" VARCHAR
),
"workflow_type" STRUCT(
"name" VARCHAR,
"version" VARCHAR
),
"reason" VARCHAR,
"details" VARCHAR,
"initiated_event_id" BIGINT,
"started_event_id" BIGINT
)
Show child fields
child_workflow_execution_failed_event_attributes.details

The details of the failure (if provided).

child_workflow_execution_failed_event_attributes.initiated_event_id

The ID of the StartChildWorkflowExecutionInitiated event corresponding to the StartChildWorkflowExecution Decision to start this child workflow execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

child_workflow_execution_failed_event_attributes.reason

The reason for the failure (if provided).

child_workflow_execution_failed_event_attributes.started_event_id

The ID of the ChildWorkflowExecutionStarted event recorded when this child workflow execution was started. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

child_workflow_execution_failed_event_attributes.workflow_execution

The child workflow execution that failed.

Show child fields
child_workflow_execution_failed_event_attributes.workflow_execution.run_id

A system-generated unique identifier for the workflow execution.

child_workflow_execution_failed_event_attributes.workflow_execution.workflow_id

The user defined identifier associated with the workflow execution.

child_workflow_execution_failed_event_attributes.workflow_type

The type of the child workflow execution.

Show child fields
child_workflow_execution_failed_event_attributes.workflow_type.name

The name of the workflow type.

The combination of workflow type name and version must be unique with in a domain.

child_workflow_execution_failed_event_attributes.workflow_type.version

The version of the workflow type.

The combination of workflow type name and version must be unique with in a domain.

child_workflow_execution_started_event_attributes

If 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.

STRUCT(
"workflow_execution" STRUCT(
"workflow_id" VARCHAR,
"run_id" VARCHAR
),
"workflow_type" STRUCT(
"name" VARCHAR,
"version" VARCHAR
),
"initiated_event_id" BIGINT
)
Show child fields
child_workflow_execution_started_event_attributes.initiated_event_id

The ID of the StartChildWorkflowExecutionInitiated event corresponding to the StartChildWorkflowExecution Decision to start this child workflow execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

child_workflow_execution_started_event_attributes.workflow_execution

The child workflow execution that was started.

Show child fields
child_workflow_execution_started_event_attributes.workflow_execution.run_id

A system-generated unique identifier for the workflow execution.

child_workflow_execution_started_event_attributes.workflow_execution.workflow_id

The user defined identifier associated with the workflow execution.

child_workflow_execution_started_event_attributes.workflow_type

The type of the child workflow execution.

Show child fields
child_workflow_execution_started_event_attributes.workflow_type.name

The name of the workflow type.

The combination of workflow type name and version must be unique with in a domain.

child_workflow_execution_started_event_attributes.workflow_type.version

The version of the workflow type.

The combination of workflow type name and version must be unique with in a domain.

child_workflow_execution_terminated_event_attributes

If 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.

STRUCT(
"workflow_execution" STRUCT(
"workflow_id" VARCHAR,
"run_id" VARCHAR
),
"workflow_type" STRUCT(
"name" VARCHAR,
"version" VARCHAR
),
"initiated_event_id" BIGINT,
"started_event_id" BIGINT
)
Show child fields
child_workflow_execution_terminated_event_attributes.initiated_event_id

The ID of the StartChildWorkflowExecutionInitiated event corresponding to the StartChildWorkflowExecution Decision to start this child workflow execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

child_workflow_execution_terminated_event_attributes.started_event_id

The ID of the ChildWorkflowExecutionStarted event recorded when this child workflow execution was started. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

child_workflow_execution_terminated_event_attributes.workflow_execution

The child workflow execution that was terminated.

Show child fields
child_workflow_execution_terminated_event_attributes.workflow_execution.run_id

A system-generated unique identifier for the workflow execution.

child_workflow_execution_terminated_event_attributes.workflow_execution.workflow_id

The user defined identifier associated with the workflow execution.

child_workflow_execution_terminated_event_attributes.workflow_type

The type of the child workflow execution.

Show child fields
child_workflow_execution_terminated_event_attributes.workflow_type.name

The name of the workflow type.

The combination of workflow type name and version must be unique with in a domain.

child_workflow_execution_terminated_event_attributes.workflow_type.version

The version of the workflow type.

The combination of workflow type name and version must be unique with in a domain.

child_workflow_execution_timed_out_event_attributes

If 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.

STRUCT(
"workflow_execution" STRUCT(
"workflow_id" VARCHAR,
"run_id" VARCHAR
),
"workflow_type" STRUCT(
"name" VARCHAR,
"version" VARCHAR
),
"timeout_type" VARCHAR,
"initiated_event_id" BIGINT,
"started_event_id" BIGINT
)
Show child fields
child_workflow_execution_timed_out_event_attributes.initiated_event_id

The ID of the StartChildWorkflowExecutionInitiated event corresponding to the StartChildWorkflowExecution Decision to start this child workflow execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

child_workflow_execution_timed_out_event_attributes.started_event_id

The ID of the ChildWorkflowExecutionStarted event recorded when this child workflow execution was started. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

child_workflow_execution_timed_out_event_attributes.timeout_type

The type of the timeout that caused the child workflow execution to time out.

child_workflow_execution_timed_out_event_attributes.workflow_execution

The child workflow execution that timed out.

Show child fields
child_workflow_execution_timed_out_event_attributes.workflow_execution.run_id

A system-generated unique identifier for the workflow execution.

child_workflow_execution_timed_out_event_attributes.workflow_execution.workflow_id

The user defined identifier associated with the workflow execution.

child_workflow_execution_timed_out_event_attributes.workflow_type

The type of the child workflow execution.

Show child fields
child_workflow_execution_timed_out_event_attributes.workflow_type.name

The name of the workflow type.

The combination of workflow type name and version must be unique with in a domain.

child_workflow_execution_timed_out_event_attributes.workflow_type.version

The version of the workflow type.

The combination of workflow type name and version must be unique with in a domain.

complete_workflow_execution_failed_event_attributes

If 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.

STRUCT(
"cause" VARCHAR,
"decision_task_completed_event_id" BIGINT
)
Show child fields
complete_workflow_execution_failed_event_attributes.cause

The cause of the failure. This information is generated by the system and can be useful for diagnostic purposes.

If cause is set to OPERATION_NOT_PERMITTED, the decision failed because it lacked sufficient permissions. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows in the Amazon SWF Developer Guide.

complete_workflow_execution_failed_event_attributes.decision_task_completed_event_id

The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the CompleteWorkflowExecution decision to complete this execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

continue_as_new_workflow_execution_failed_event_attributes

If 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.

STRUCT(
"cause" VARCHAR,
"decision_task_completed_event_id" BIGINT
)
Show child fields
continue_as_new_workflow_execution_failed_event_attributes.cause

The cause of the failure. This information is generated by the system and can be useful for diagnostic purposes.

If cause is set to OPERATION_NOT_PERMITTED, the decision failed because it lacked sufficient permissions. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows in the Amazon SWF Developer Guide.

continue_as_new_workflow_execution_failed_event_attributes.decision_task_completed_event_id

The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the ContinueAsNewWorkflowExecution decision that started this execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

decision_task_completed_event_attributes

If 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.

STRUCT(
"execution_context" VARCHAR,
"scheduled_event_id" BIGINT,
"started_event_id" BIGINT,
"task_list" STRUCT(
"name" VARCHAR
),
"task_list_schedule_to_start_timeout" VARCHAR
)
Show child fields
decision_task_completed_event_attributes.execution_context

User defined context for the workflow execution.

decision_task_completed_event_attributes.scheduled_event_id

The ID of the DecisionTaskScheduled event that was recorded when this decision task was scheduled. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

decision_task_completed_event_attributes.started_event_id

The ID of the DecisionTaskStarted event recorded when this decision task was started. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

decision_task_completed_event_attributes.task_list

Represents a task list.

Show child fields
decision_task_completed_event_attributes.task_list.name

The name of the task list.

decision_task_completed_event_attributes.task_list_schedule_to_start_timeout

The maximum amount of time the decision task can wait to be assigned to a worker.

decision_task_scheduled_event_attributes

If 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.

STRUCT(
"task_list" STRUCT(
"name" VARCHAR
),
"task_priority" VARCHAR,
"start_to_close_timeout" VARCHAR,
"schedule_to_start_timeout" VARCHAR
)
Show child fields
decision_task_scheduled_event_attributes.schedule_to_start_timeout

The maximum amount of time the decision task can wait to be assigned to a worker.

decision_task_scheduled_event_attributes.start_to_close_timeout

The maximum duration for this decision task. The task is considered timed out if it doesn't completed within this duration.

The duration is specified in seconds, an integer greater than or equal to 0. You can use NONE to specify unlimited duration.

decision_task_scheduled_event_attributes.task_list

The name of the task list in which the decision task was scheduled.

Show child fields
decision_task_scheduled_event_attributes.task_list.name

The name of the task list.

decision_task_scheduled_event_attributes.task_priority

A task priority that, if set, specifies the priority for this decision task. Valid values are integers that range from Java's Integer.MIN_VALUE (-2147483648) to Integer.MAX_VALUE (2147483647). Higher numbers indicate higher priority.

For more information about setting task priority, see Setting Task Priority in the Amazon SWF Developer Guide.

decision_task_started_event_attributes

If 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.

STRUCT(
"identity" VARCHAR,
"scheduled_event_id" BIGINT
)
Show child fields
decision_task_started_event_attributes.identity

Identity of the decider making the request. This enables diagnostic tracing when problems arise. The form of this identity is user defined.

decision_task_started_event_attributes.scheduled_event_id

The ID of the DecisionTaskScheduled event that was recorded when this decision task was scheduled. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

decision_task_timed_out_event_attributes

If 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.

STRUCT(
"timeout_type" VARCHAR,
"scheduled_event_id" BIGINT,
"started_event_id" BIGINT
)
Show child fields
decision_task_timed_out_event_attributes.scheduled_event_id

The ID of the DecisionTaskScheduled event that was recorded when this decision task was scheduled. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

decision_task_timed_out_event_attributes.started_event_id

The ID of the DecisionTaskStarted event recorded when this decision task was started. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

decision_task_timed_out_event_attributes.timeout_type

The type of timeout that expired before the decision task could be completed.

event_id

The system generated ID of the event. This ID uniquely identifies the event with in the workflow execution history.

BIGINT
event_timestamp

The date and time when the event occurred.

TIMESTAMP_S
event_type

The type of the history event.

VARCHAR
external_workflow_execution_cancel_requested_event_attributes

If 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.

STRUCT(
"workflow_execution" STRUCT(
"workflow_id" VARCHAR,
"run_id" VARCHAR
),
"initiated_event_id" BIGINT
)
Show child fields
external_workflow_execution_cancel_requested_event_attributes.initiated_event_id

The ID of the RequestCancelExternalWorkflowExecutionInitiated event corresponding to the RequestCancelExternalWorkflowExecution decision to cancel this external workflow execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

external_workflow_execution_cancel_requested_event_attributes.workflow_execution

The external workflow execution to which the cancellation request was delivered.

Show child fields
external_workflow_execution_cancel_requested_event_attributes.workflow_execution.run_id

A system-generated unique identifier for the workflow execution.

external_workflow_execution_cancel_requested_event_attributes.workflow_execution.workflow_id

The user defined identifier associated with the workflow execution.

external_workflow_execution_signaled_event_attributes

If 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.

STRUCT(
"workflow_execution" STRUCT(
"workflow_id" VARCHAR,
"run_id" VARCHAR
),
"initiated_event_id" BIGINT
)
Show child fields
external_workflow_execution_signaled_event_attributes.initiated_event_id

The ID of the SignalExternalWorkflowExecutionInitiated event corresponding to the SignalExternalWorkflowExecution decision to request this signal. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

external_workflow_execution_signaled_event_attributes.workflow_execution

The external workflow execution that the signal was delivered to.

Show child fields
external_workflow_execution_signaled_event_attributes.workflow_execution.run_id

A system-generated unique identifier for the workflow execution.

external_workflow_execution_signaled_event_attributes.workflow_execution.workflow_id

The user defined identifier associated with the workflow execution.

fail_workflow_execution_failed_event_attributes

If 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.

STRUCT(
"cause" VARCHAR,
"decision_task_completed_event_id" BIGINT
)
Show child fields
fail_workflow_execution_failed_event_attributes.cause

The cause of the failure. This information is generated by the system and can be useful for diagnostic purposes.

If cause is set to OPERATION_NOT_PERMITTED, the decision failed because it lacked sufficient permissions. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows in the Amazon SWF Developer Guide.

fail_workflow_execution_failed_event_attributes.decision_task_completed_event_id

The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the FailWorkflowExecution decision to fail this execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

lambda_function_completed_event_attributes

Provides the details of the LambdaFunctionCompleted event. It isn't set for other event types.

STRUCT(
"scheduled_event_id" BIGINT,
"started_event_id" BIGINT,
"result" VARCHAR
)
Show child fields
lambda_function_completed_event_attributes.result

The results of the Lambda task.

lambda_function_completed_event_attributes.scheduled_event_id

The ID of the LambdaFunctionScheduled event that was recorded when this Lambda task was scheduled. To help diagnose issues, use this information to trace back the chain of events leading up to this event.

lambda_function_completed_event_attributes.started_event_id

The ID of the LambdaFunctionStarted event recorded when this activity task started. To help diagnose issues, use this information to trace back the chain of events leading up to this event.

lambda_function_failed_event_attributes

Provides the details of the LambdaFunctionFailed event. It isn't set for other event types.

STRUCT(
"scheduled_event_id" BIGINT,
"started_event_id" BIGINT,
"reason" VARCHAR,
"details" VARCHAR
)
Show child fields
lambda_function_failed_event_attributes.details

The details of the failure.

lambda_function_failed_event_attributes.reason

The reason provided for the failure.

lambda_function_failed_event_attributes.scheduled_event_id

The ID of the LambdaFunctionScheduled event that was recorded when this activity task was scheduled. To help diagnose issues, use this information to trace back the chain of events leading up to this event.

lambda_function_failed_event_attributes.started_event_id

The ID of the LambdaFunctionStarted event recorded when this activity task started. To help diagnose issues, use this information to trace back the chain of events leading up to this event.

lambda_function_scheduled_event_attributes

Provides the details of the LambdaFunctionScheduled event. It isn't set for other event types.

STRUCT(
"id" VARCHAR,
"name" VARCHAR,
"control" VARCHAR,
"input" VARCHAR,
"start_to_close_timeout" VARCHAR,
"decision_task_completed_event_id" BIGINT
)
Show child fields
lambda_function_scheduled_event_attributes.control

Data attached to the event that the decider can use in subsequent workflow tasks. This data isn't sent to the Lambda task.

lambda_function_scheduled_event_attributes.decision_task_completed_event_id

The ID of the LambdaFunctionCompleted event corresponding to the decision that resulted in scheduling this activity task. To help diagnose issues, use this information to trace back the chain of events leading up to this event.

lambda_function_scheduled_event_attributes.id

The unique ID of the Lambda task.

lambda_function_scheduled_event_attributes.input

The input provided to the Lambda task.

lambda_function_scheduled_event_attributes.name

The name of the Lambda function.

lambda_function_scheduled_event_attributes.start_to_close_timeout

The maximum amount of time a worker can take to process the Lambda task.

lambda_function_started_event_attributes

Provides the details of the LambdaFunctionStarted event. It isn't set for other event types.

STRUCT(
"scheduled_event_id" BIGINT
)
Show child fields
lambda_function_started_event_attributes.scheduled_event_id

The ID of the LambdaFunctionScheduled event that was recorded when this activity task was scheduled. To help diagnose issues, use this information to trace back the chain of events leading up to this event.

lambda_function_timed_out_event_attributes

Provides the details of the LambdaFunctionTimedOut event. It isn't set for other event types.

STRUCT(
"scheduled_event_id" BIGINT,
"started_event_id" BIGINT,
"timeout_type" VARCHAR
)
Show child fields
lambda_function_timed_out_event_attributes.scheduled_event_id

The ID of the LambdaFunctionScheduled event that was recorded when this activity task was scheduled. To help diagnose issues, use this information to trace back the chain of events leading up to this event.

lambda_function_timed_out_event_attributes.started_event_id

The ID of the ActivityTaskStarted event that was recorded when this activity task started. To help diagnose issues, use this information to trace back the chain of events leading up to this event.

lambda_function_timed_out_event_attributes.timeout_type

The type of the timeout that caused this event.

marker_recorded_event_attributes

If 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.

STRUCT(
"marker_name" VARCHAR,
"details" VARCHAR,
"decision_task_completed_event_id" BIGINT
)
Show child fields
marker_recorded_event_attributes.decision_task_completed_event_id

The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the RecordMarker decision that requested this marker. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

marker_recorded_event_attributes.details

The details of the marker.

marker_recorded_event_attributes.marker_name

The name of the marker.

record_marker_failed_event_attributes

If 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.

STRUCT(
"marker_name" VARCHAR,
"cause" VARCHAR,
"decision_task_completed_event_id" BIGINT
)
Show child fields
record_marker_failed_event_attributes.cause

The cause of the failure. This information is generated by the system and can be useful for diagnostic purposes.

If cause is set to OPERATION_NOT_PERMITTED, the decision failed because it lacked sufficient permissions. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows in the Amazon SWF Developer Guide.

record_marker_failed_event_attributes.decision_task_completed_event_id

The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the RecordMarkerFailed decision for this cancellation request. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

record_marker_failed_event_attributes.marker_name

The marker's name.

request_cancel_activity_task_failed_event_attributes

If 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.

STRUCT(
"activity_id" VARCHAR,
"cause" VARCHAR,
"decision_task_completed_event_id" BIGINT
)
Show child fields
request_cancel_activity_task_failed_event_attributes.activity_id

The activityId provided in the RequestCancelActivityTask decision that failed.

request_cancel_activity_task_failed_event_attributes.cause

The cause of the failure. This information is generated by the system and can be useful for diagnostic purposes.

If cause is set to OPERATION_NOT_PERMITTED, the decision failed because it lacked sufficient permissions. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows in the Amazon SWF Developer Guide.

request_cancel_activity_task_failed_event_attributes.decision_task_completed_event_id

The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the RequestCancelActivityTask decision for this cancellation request. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

request_cancel_external_workflow_execution_failed_event_attributes

If 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.

STRUCT(
"workflow_id" VARCHAR,
"run_id" VARCHAR,
"cause" VARCHAR,
"initiated_event_id" BIGINT,
"decision_task_completed_event_id" BIGINT,
"control" VARCHAR
)
Show child fields
request_cancel_external_workflow_execution_failed_event_attributes.cause

The cause of the failure. This information is generated by the system and can be useful for diagnostic purposes.

If cause is set to OPERATION_NOT_PERMITTED, the decision failed because it lacked sufficient permissions. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows in the Amazon SWF Developer Guide.

request_cancel_external_workflow_execution_failed_event_attributes.control

The data attached to the event that the decider can use in subsequent workflow tasks. This data isn't sent to the workflow execution.

request_cancel_external_workflow_execution_failed_event_attributes.decision_task_completed_event_id

The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the RequestCancelExternalWorkflowExecution decision for this cancellation request. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

request_cancel_external_workflow_execution_failed_event_attributes.initiated_event_id

The ID of the RequestCancelExternalWorkflowExecutionInitiated event corresponding to the RequestCancelExternalWorkflowExecution decision to cancel this external workflow execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

request_cancel_external_workflow_execution_failed_event_attributes.run_id

The runId of the external workflow execution.

request_cancel_external_workflow_execution_failed_event_attributes.workflow_id

The workflowId of the external workflow to which the cancel request was to be delivered.

request_cancel_external_workflow_execution_initiated_event_attributes

If 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.

STRUCT(
"workflow_id" VARCHAR,
"run_id" VARCHAR,
"decision_task_completed_event_id" BIGINT,
"control" VARCHAR
)
Show child fields
request_cancel_external_workflow_execution_initiated_event_attributes.control

Data attached to the event that can be used by the decider in subsequent workflow tasks.

request_cancel_external_workflow_execution_initiated_event_attributes.decision_task_completed_event_id

The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the RequestCancelExternalWorkflowExecution decision for this cancellation request. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

request_cancel_external_workflow_execution_initiated_event_attributes.run_id

The runId of the external workflow execution to be canceled.

request_cancel_external_workflow_execution_initiated_event_attributes.workflow_id

The workflowId of the external workflow execution to be canceled.

schedule_activity_task_failed_event_attributes

If 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.

STRUCT(
"activity_type" STRUCT(
"name" VARCHAR,
"version" VARCHAR
),
"activity_id" VARCHAR,
"cause" VARCHAR,
"decision_task_completed_event_id" BIGINT
)
Show child fields
schedule_activity_task_failed_event_attributes.activity_id

The activityId provided in the ScheduleActivityTask decision that failed.

schedule_activity_task_failed_event_attributes.activity_type

The activity type provided in the ScheduleActivityTask decision that failed.

Show child fields
schedule_activity_task_failed_event_attributes.activity_type.name

The name of this activity.

The combination of activity type name and version must be unique within a domain.

schedule_activity_task_failed_event_attributes.activity_type.version

The version of this activity.

The combination of activity type name and version must be unique with in a domain.

schedule_activity_task_failed_event_attributes.cause

The cause of the failure. This information is generated by the system and can be useful for diagnostic purposes.

If cause is set to OPERATION_NOT_PERMITTED, the decision failed because it lacked sufficient permissions. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows in the Amazon SWF Developer Guide.

schedule_activity_task_failed_event_attributes.decision_task_completed_event_id

The ID of the DecisionTaskCompleted event corresponding to the decision that resulted in the scheduling of this activity task. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

schedule_lambda_function_failed_event_attributes

Provides the details of the ScheduleLambdaFunctionFailed event. It isn't set for other event types.

STRUCT(
"id" VARCHAR,
"name" VARCHAR,
"cause" VARCHAR,
"decision_task_completed_event_id" BIGINT
)
Show child fields
schedule_lambda_function_failed_event_attributes.cause

The cause of the failure. To help diagnose issues, use this information to trace back the chain of events leading up to this event.

If cause is set to OPERATION_NOT_PERMITTED, the decision failed because it lacked sufficient permissions. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows in the Amazon SWF Developer Guide.

schedule_lambda_function_failed_event_attributes.decision_task_completed_event_id

The ID of the LambdaFunctionCompleted event corresponding to the decision that resulted in scheduling this Lambda task. To help diagnose issues, use this information to trace back the chain of events leading up to this event.

schedule_lambda_function_failed_event_attributes.id

The ID provided in the ScheduleLambdaFunction decision that failed.

schedule_lambda_function_failed_event_attributes.name

The name of the Lambda function.

signal_external_workflow_execution_failed_event_attributes

If 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.

STRUCT(
"workflow_id" VARCHAR,
"run_id" VARCHAR,
"cause" VARCHAR,
"initiated_event_id" BIGINT,
"decision_task_completed_event_id" BIGINT,
"control" VARCHAR
)
Show child fields
signal_external_workflow_execution_failed_event_attributes.cause

The cause of the failure. This information is generated by the system and can be useful for diagnostic purposes.

If cause is set to OPERATION_NOT_PERMITTED, the decision failed because it lacked sufficient permissions. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows in the Amazon SWF Developer Guide.

signal_external_workflow_execution_failed_event_attributes.control

The data attached to the event that the decider can use in subsequent workflow tasks. This data isn't sent to the workflow execution.

signal_external_workflow_execution_failed_event_attributes.decision_task_completed_event_id

The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the SignalExternalWorkflowExecution decision for this signal. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

signal_external_workflow_execution_failed_event_attributes.initiated_event_id

The ID of the SignalExternalWorkflowExecutionInitiated event corresponding to the SignalExternalWorkflowExecution decision to request this signal. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

signal_external_workflow_execution_failed_event_attributes.run_id

The runId of the external workflow execution that the signal was being delivered to.

signal_external_workflow_execution_failed_event_attributes.workflow_id

The workflowId of the external workflow execution that the signal was being delivered to.

signal_external_workflow_execution_initiated_event_attributes

If 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.

STRUCT(
"workflow_id" VARCHAR,
"run_id" VARCHAR,
"signal_name" VARCHAR,
"input" VARCHAR,
"decision_task_completed_event_id" BIGINT,
"control" VARCHAR
)
Show child fields
signal_external_workflow_execution_initiated_event_attributes.control

Data attached to the event that can be used by the decider in subsequent decision tasks.

signal_external_workflow_execution_initiated_event_attributes.decision_task_completed_event_id

The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the SignalExternalWorkflowExecution decision for this signal. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

signal_external_workflow_execution_initiated_event_attributes.input

The input provided to the signal.

signal_external_workflow_execution_initiated_event_attributes.run_id

The runId of the external workflow execution to send the signal to.

signal_external_workflow_execution_initiated_event_attributes.signal_name

The name of the signal.

signal_external_workflow_execution_initiated_event_attributes.workflow_id

The workflowId of the external workflow execution.

start_child_workflow_execution_failed_event_attributes

If 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.

STRUCT(
"workflow_type" STRUCT(
"name" VARCHAR,
"version" VARCHAR
),
"cause" VARCHAR,
"workflow_id" VARCHAR,
"initiated_event_id" BIGINT,
"decision_task_completed_event_id" BIGINT,
"control" VARCHAR
)
Show child fields
start_child_workflow_execution_failed_event_attributes.cause

The cause of the failure. This information is generated by the system and can be useful for diagnostic purposes.

When cause is set to OPERATION_NOT_PERMITTED, the decision fails because it lacks sufficient permissions. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows in the Amazon SWF Developer Guide.

start_child_workflow_execution_failed_event_attributes.control

The data attached to the event that the decider can use in subsequent workflow tasks. This data isn't sent to the child workflow execution.

start_child_workflow_execution_failed_event_attributes.decision_task_completed_event_id

The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the StartChildWorkflowExecution Decision to request this child workflow execution. This information can be useful for diagnosing problems by tracing back the chain of events.

start_child_workflow_execution_failed_event_attributes.initiated_event_id

When the cause is WORKFLOW_ALREADY_RUNNING, initiatedEventId is the ID of the StartChildWorkflowExecutionInitiated event that corresponds to the StartChildWorkflowExecution Decision to start the workflow execution. You can use this information to diagnose problems by tracing back the chain of events leading up to this event.

When the cause isn't WORKFLOW_ALREADY_RUNNING, initiatedEventId is set to 0 because the StartChildWorkflowExecutionInitiated event doesn't exist.

start_child_workflow_execution_failed_event_attributes.workflow_id

The workflowId of the child workflow execution.

start_child_workflow_execution_failed_event_attributes.workflow_type

The workflow type provided in the StartChildWorkflowExecution Decision that failed.

Show child fields
start_child_workflow_execution_failed_event_attributes.workflow_type.name

The name of the workflow type.

The combination of workflow type name and version must be unique with in a domain.

start_child_workflow_execution_failed_event_attributes.workflow_type.version

The version of the workflow type.

The combination of workflow type name and version must be unique with in a domain.

start_child_workflow_execution_initiated_event_attributes

If 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.

STRUCT(
"workflow_id" VARCHAR,
"workflow_type" STRUCT(
"name" VARCHAR,
"version" VARCHAR
),
"control" VARCHAR,
"input" VARCHAR,
"execution_start_to_close_timeout" VARCHAR,
"task_list" STRUCT(
"name" VARCHAR
),
"task_priority" VARCHAR,
"decision_task_completed_event_id" BIGINT,
"child_policy" VARCHAR,
"task_start_to_close_timeout" VARCHAR,
"tag_list" VARCHAR[],
"lambda_role" VARCHAR
)
Show child fields
start_child_workflow_execution_initiated_event_attributes.child_policy

The policy to use for the child workflow executions if this execution gets terminated by explicitly calling the TerminateWorkflowExecution action or due to an expired timeout.

The supported child policies are:

  • TERMINATE – The child executions are terminated.

  • REQUEST_CANCEL – A request to cancel is attempted for each child execution by recording a WorkflowExecutionCancelRequested event in its history. It is up to the decider to take appropriate actions when it receives an execution history with this event.

  • ABANDON – No action is taken. The child executions continue to run.

start_child_workflow_execution_initiated_event_attributes.control

Data attached to the event that can be used by the decider in subsequent decision tasks. This data isn't sent to the activity.

start_child_workflow_execution_initiated_event_attributes.decision_task_completed_event_id

The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the StartChildWorkflowExecution Decision to request this child workflow execution. This information can be useful for diagnosing problems by tracing back the cause of events.

start_child_workflow_execution_initiated_event_attributes.execution_start_to_close_timeout

The maximum duration for the child workflow execution. If the workflow execution isn't closed within this duration, it is timed out and force-terminated.

The duration is specified in seconds, an integer greater than or equal to 0. You can use NONE to specify unlimited duration.

start_child_workflow_execution_initiated_event_attributes.input

The inputs provided to the child workflow execution.

start_child_workflow_execution_initiated_event_attributes.lambda_role

The IAM role to attach to the child workflow execution.

start_child_workflow_execution_initiated_event_attributes.tag_list[]
start_child_workflow_execution_initiated_event_attributes.task_list

The name of the task list used for the decision tasks of the child workflow execution.

Show child fields
start_child_workflow_execution_initiated_event_attributes.task_list.name

The name of the task list.

start_child_workflow_execution_initiated_event_attributes.task_priority

The priority assigned for the decision tasks for this workflow execution. Valid values are integers that range from Java's Integer.MIN_VALUE (-2147483648) to Integer.MAX_VALUE (2147483647). Higher numbers indicate higher priority.

For more information about setting task priority, see Setting Task Priority in the Amazon SWF Developer Guide.

start_child_workflow_execution_initiated_event_attributes.task_start_to_close_timeout

The maximum duration allowed for the decision tasks for this workflow execution.

The duration is specified in seconds, an integer greater than or equal to 0. You can use NONE to specify unlimited duration.

start_child_workflow_execution_initiated_event_attributes.workflow_id

The workflowId of the child workflow execution.

start_child_workflow_execution_initiated_event_attributes.workflow_type

The type of the child workflow execution.

Show child fields
start_child_workflow_execution_initiated_event_attributes.workflow_type.name

The name of the workflow type.

The combination of workflow type name and version must be unique with in a domain.

start_child_workflow_execution_initiated_event_attributes.workflow_type.version

The version of the workflow type.

The combination of workflow type name and version must be unique with in a domain.

start_lambda_function_failed_event_attributes

Provides the details of the StartLambdaFunctionFailed event. It isn't set for other event types.

STRUCT(
"scheduled_event_id" BIGINT,
"cause" VARCHAR,
"message" VARCHAR
)
Show child fields
start_lambda_function_failed_event_attributes.cause

The cause of the failure. To help diagnose issues, use this information to trace back the chain of events leading up to this event.

If cause is set to OPERATION_NOT_PERMITTED, the decision failed because the IAM role attached to the execution lacked sufficient permissions. For details and example IAM policies, see Lambda Tasks in the Amazon SWF Developer Guide.

start_lambda_function_failed_event_attributes.message

A description that can help diagnose the cause of the fault.

start_lambda_function_failed_event_attributes.scheduled_event_id

The ID of the ActivityTaskScheduled event that was recorded when this activity task was scheduled. To help diagnose issues, use this information to trace back the chain of events leading up to this event.

start_timer_failed_event_attributes

If 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.

STRUCT(
"timer_id" VARCHAR,
"cause" VARCHAR,
"decision_task_completed_event_id" BIGINT
)
Show child fields
start_timer_failed_event_attributes.cause

The cause of the failure. This information is generated by the system and can be useful for diagnostic purposes.

If cause is set to OPERATION_NOT_PERMITTED, the decision failed because it lacked sufficient permissions. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows in the Amazon SWF Developer Guide.

start_timer_failed_event_attributes.decision_task_completed_event_id

The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the StartTimer decision for this activity task. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

start_timer_failed_event_attributes.timer_id

The timerId provided in the StartTimer decision that failed.

timer_canceled_event_attributes

If 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.

STRUCT(
"timer_id" VARCHAR,
"started_event_id" BIGINT,
"decision_task_completed_event_id" BIGINT
)
Show child fields
timer_canceled_event_attributes.decision_task_completed_event_id

The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the CancelTimer decision to cancel this timer. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

timer_canceled_event_attributes.started_event_id

The ID of the TimerStarted event that was recorded when this timer was started. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

timer_canceled_event_attributes.timer_id

The unique ID of the timer that was canceled.

timer_fired_event_attributes

If 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.

STRUCT(
"timer_id" VARCHAR,
"started_event_id" BIGINT
)
Show child fields
timer_fired_event_attributes.started_event_id

The ID of the TimerStarted event that was recorded when this timer was started. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

timer_fired_event_attributes.timer_id

The unique ID of the timer that fired.

timer_started_event_attributes

If 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.

STRUCT(
"timer_id" VARCHAR,
"control" VARCHAR,
"start_to_fire_timeout" VARCHAR,
"decision_task_completed_event_id" BIGINT
)
Show child fields
timer_started_event_attributes.control

Data attached to the event that can be used by the decider in subsequent workflow tasks.

timer_started_event_attributes.decision_task_completed_event_id

The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the StartTimer decision for this activity task. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

timer_started_event_attributes.start_to_fire_timeout

The duration of time after which the timer fires.

The duration is specified in seconds, an integer greater than or equal to 0.

timer_started_event_attributes.timer_id

The unique ID of the timer that was started.

workflow_execution_cancel_requested_event_attributes

If 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.

STRUCT(
"external_workflow_execution" STRUCT(
"workflow_id" VARCHAR,
"run_id" VARCHAR
),
"external_initiated_event_id" BIGINT,
"cause" VARCHAR
)
Show child fields
workflow_execution_cancel_requested_event_attributes.cause

If set, indicates that the request to cancel the workflow execution was automatically generated, and specifies the cause. This happens if the parent workflow execution times out or is terminated, and the child policy is set to cancel child executions.

workflow_execution_cancel_requested_event_attributes.external_initiated_event_id

The ID of the RequestCancelExternalWorkflowExecutionInitiated event corresponding to the RequestCancelExternalWorkflowExecution decision to cancel this workflow execution.The source event with this ID can be found in the history of the source workflow execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

workflow_execution_cancel_requested_event_attributes.external_workflow_execution

The external workflow execution for which the cancellation was requested.

Show child fields
workflow_execution_cancel_requested_event_attributes.external_workflow_execution.run_id

A system-generated unique identifier for the workflow execution.

workflow_execution_cancel_requested_event_attributes.external_workflow_execution.workflow_id

The user defined identifier associated with the workflow execution.

workflow_execution_canceled_event_attributes

If 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.

STRUCT(
"details" VARCHAR,
"decision_task_completed_event_id" BIGINT
)
Show child fields
workflow_execution_canceled_event_attributes.decision_task_completed_event_id

The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the CancelWorkflowExecution decision for this cancellation request. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

workflow_execution_canceled_event_attributes.details

The details of the cancellation.

workflow_execution_completed_event_attributes

If 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.

STRUCT(
"result" VARCHAR,
"decision_task_completed_event_id" BIGINT
)
Show child fields
workflow_execution_completed_event_attributes.decision_task_completed_event_id

The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the CompleteWorkflowExecution decision to complete this execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

workflow_execution_completed_event_attributes.result

The result produced by the workflow execution upon successful completion.

workflow_execution_continued_as_new_event_attributes

If 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.

STRUCT(
"input" VARCHAR,
"decision_task_completed_event_id" BIGINT,
"new_execution_run_id" VARCHAR,
"execution_start_to_close_timeout" VARCHAR,
"task_list" STRUCT(
"name" VARCHAR
),
"task_priority" VARCHAR,
"task_start_to_close_timeout" VARCHAR,
"child_policy" VARCHAR,
"tag_list" VARCHAR[],
"workflow_type" STRUCT(
"name" VARCHAR,
"version" VARCHAR
),
"lambda_role" VARCHAR
)
Show child fields
workflow_execution_continued_as_new_event_attributes.child_policy

The policy to use for the child workflow executions of the new execution if it is terminated by calling the TerminateWorkflowExecution action explicitly or due to an expired timeout.

The supported child policies are:

  • TERMINATE – The child executions are terminated.

  • REQUEST_CANCEL – A request to cancel is attempted for each child execution by recording a WorkflowExecutionCancelRequested event in its history. It is up to the decider to take appropriate actions when it receives an execution history with this event.

  • ABANDON – No action is taken. The child executions continue to run.

workflow_execution_continued_as_new_event_attributes.decision_task_completed_event_id

The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the ContinueAsNewWorkflowExecution decision that started this execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

workflow_execution_continued_as_new_event_attributes.execution_start_to_close_timeout

The total duration allowed for the new workflow execution.

The duration is specified in seconds, an integer greater than or equal to 0. You can use NONE to specify unlimited duration.

workflow_execution_continued_as_new_event_attributes.input

The input provided to the new workflow execution.

workflow_execution_continued_as_new_event_attributes.lambda_role

The IAM role to attach to the new (continued) workflow execution.

workflow_execution_continued_as_new_event_attributes.new_execution_run_id

The runId of the new workflow execution.

workflow_execution_continued_as_new_event_attributes.tag_list[]
workflow_execution_continued_as_new_event_attributes.task_list

The task list to use for the decisions of the new (continued) workflow execution.

Show child fields
workflow_execution_continued_as_new_event_attributes.task_list.name

The name of the task list.

workflow_execution_continued_as_new_event_attributes.task_priority

The priority of the task to use for the decisions of the new (continued) workflow execution.

workflow_execution_continued_as_new_event_attributes.task_start_to_close_timeout

The maximum duration of decision tasks for the new workflow execution.

The duration is specified in seconds, an integer greater than or equal to 0. You can use NONE to specify unlimited duration.

workflow_execution_continued_as_new_event_attributes.workflow_type

The workflow type of this execution.

Show child fields
workflow_execution_continued_as_new_event_attributes.workflow_type.name

The name of the workflow type.

The combination of workflow type name and version must be unique with in a domain.

workflow_execution_continued_as_new_event_attributes.workflow_type.version

The version of the workflow type.

The combination of workflow type name and version must be unique with in a domain.

workflow_execution_failed_event_attributes

If 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.

STRUCT(
"reason" VARCHAR,
"details" VARCHAR,
"decision_task_completed_event_id" BIGINT
)
Show child fields
workflow_execution_failed_event_attributes.decision_task_completed_event_id

The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the FailWorkflowExecution decision to fail this execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

workflow_execution_failed_event_attributes.details

The details of the failure.

workflow_execution_failed_event_attributes.reason

The descriptive reason provided for the failure.

workflow_execution_signaled_event_attributes

If 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.

STRUCT(
"signal_name" VARCHAR,
"input" VARCHAR,
"external_workflow_execution" STRUCT(
"workflow_id" VARCHAR,
"run_id" VARCHAR
),
"external_initiated_event_id" BIGINT
)
Show child fields
workflow_execution_signaled_event_attributes.external_initiated_event_id

The ID of the SignalExternalWorkflowExecutionInitiated event corresponding to the SignalExternalWorkflow decision to signal this workflow execution.The source event with this ID can be found in the history of the source workflow execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event. This field is set only if the signal was initiated by another workflow execution.

workflow_execution_signaled_event_attributes.external_workflow_execution

The workflow execution that sent the signal. This is set only of the signal was sent by another workflow execution.

Show child fields
workflow_execution_signaled_event_attributes.external_workflow_execution.run_id

A system-generated unique identifier for the workflow execution.

workflow_execution_signaled_event_attributes.external_workflow_execution.workflow_id

The user defined identifier associated with the workflow execution.

workflow_execution_signaled_event_attributes.input

The inputs provided with the signal. The decider can use the signal name and inputs to determine how to process the signal.

workflow_execution_signaled_event_attributes.signal_name

The name of the signal received. The decider can use the signal name and inputs to determine how to the process the signal.

workflow_execution_started_event_attributes

If 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.

STRUCT(
"input" VARCHAR,
"execution_start_to_close_timeout" VARCHAR,
"task_start_to_close_timeout" VARCHAR,
"child_policy" VARCHAR,
"task_list" STRUCT(
"name" VARCHAR
),
"task_priority" VARCHAR,
"workflow_type" STRUCT(
"name" VARCHAR,
"version" VARCHAR
),
"tag_list" VARCHAR[],
"continued_execution_run_id" VARCHAR,
"parent_workflow_execution" STRUCT(
"workflow_id" VARCHAR,
"run_id" VARCHAR
),
"parent_initiated_event_id" BIGINT,
"lambda_role" VARCHAR
)
Show child fields
workflow_execution_started_event_attributes.child_policy

The policy to use for the child workflow executions if this workflow execution is terminated, by calling the TerminateWorkflowExecution action explicitly or due to an expired timeout.

The supported child policies are:

  • TERMINATE – The child executions are terminated.

  • REQUEST_CANCEL – A request to cancel is attempted for each child execution by recording a WorkflowExecutionCancelRequested event in its history. It is up to the decider to take appropriate actions when it receives an execution history with this event.

  • ABANDON – No action is taken. The child executions continue to run.

workflow_execution_started_event_attributes.continued_execution_run_id

If this workflow execution was started due to a ContinueAsNewWorkflowExecution decision, then it contains the runId of the previous workflow execution that was closed and continued as this execution.

workflow_execution_started_event_attributes.execution_start_to_close_timeout

The maximum duration for this workflow execution.

The duration is specified in seconds, an integer greater than or equal to 0. You can use NONE to specify unlimited duration.

workflow_execution_started_event_attributes.input

The input provided to the workflow execution.

workflow_execution_started_event_attributes.lambda_role

The IAM role attached to the workflow execution.

workflow_execution_started_event_attributes.parent_initiated_event_id

The ID of the StartChildWorkflowExecutionInitiated event corresponding to the StartChildWorkflowExecution Decision to start this workflow execution. The source event with this ID can be found in the history of the source workflow execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

workflow_execution_started_event_attributes.parent_workflow_execution

The source workflow execution that started this workflow execution. The member isn't set if the workflow execution was not started by a workflow.

Show child fields
workflow_execution_started_event_attributes.parent_workflow_execution.run_id

A system-generated unique identifier for the workflow execution.

workflow_execution_started_event_attributes.parent_workflow_execution.workflow_id

The user defined identifier associated with the workflow execution.

workflow_execution_started_event_attributes.tag_list[]
workflow_execution_started_event_attributes.task_list

The name of the task list for scheduling the decision tasks for this workflow execution.

Show child fields
workflow_execution_started_event_attributes.task_list.name

The name of the task list.

workflow_execution_started_event_attributes.task_priority

The priority of the decision tasks in the workflow execution.

workflow_execution_started_event_attributes.task_start_to_close_timeout

The maximum duration of decision tasks for this workflow type.

The duration is specified in seconds, an integer greater than or equal to 0. You can use NONE to specify unlimited duration.

workflow_execution_started_event_attributes.workflow_type

The workflow type of this execution.

Show child fields
workflow_execution_started_event_attributes.workflow_type.name

The name of the workflow type.

The combination of workflow type name and version must be unique with in a domain.

workflow_execution_started_event_attributes.workflow_type.version

The version of the workflow type.

The combination of workflow type name and version must be unique with in a domain.

workflow_execution_terminated_event_attributes

If 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.

STRUCT(
"reason" VARCHAR,
"details" VARCHAR,
"child_policy" VARCHAR,
"cause" VARCHAR
)
Show child fields
workflow_execution_terminated_event_attributes.cause

If set, indicates that the workflow execution was automatically terminated, and specifies the cause. This happens if the parent workflow execution times out or is terminated and the child policy is set to terminate child executions.

workflow_execution_terminated_event_attributes.child_policy

The policy used for the child workflow executions of this workflow execution.

The supported child policies are:

  • TERMINATE – The child executions are terminated.

  • REQUEST_CANCEL – A request to cancel is attempted for each child execution by recording a WorkflowExecutionCancelRequested event in its history. It is up to the decider to take appropriate actions when it receives an execution history with this event.

  • ABANDON – No action is taken. The child executions continue to run.

workflow_execution_terminated_event_attributes.details

The details provided for the termination.

workflow_execution_terminated_event_attributes.reason

The reason provided for the termination.

workflow_execution_timed_out_event_attributes

If 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.

STRUCT(
"timeout_type" VARCHAR,
"child_policy" VARCHAR
)
Show child fields
workflow_execution_timed_out_event_attributes.child_policy

The policy used for the child workflow executions of this workflow execution.

The supported child policies are:

  • TERMINATE – The child executions are terminated.

  • REQUEST_CANCEL – A request to cancel is attempted for each child execution by recording a WorkflowExecutionCancelRequested event in its history. It is up to the decider to take appropriate actions when it receives an execution history with this event.

  • ABANDON – No action is taken. The child executions continue to run.

workflow_execution_timed_out_event_attributes.timeout_type

The type of timeout that caused this event.