amazonka-swf-0.1.2: Amazon Simple Workflow Service SDK.

Safe HaskellNone
LanguageHaskell2010

Network.AWS.SWF.Types

Contents

Synopsis

Service

data SWF Source

Version 2012-01-25 of the Amazon Simple Workflow Service service.

Instances

AWSService SWF 
type Er SWF = JSONError 
type Sg SWF = V4 

Error

data JSONError :: *

Instances

Eq JSONError 
Show JSONError 
Generic JSONError 
FromJSON JSONError 
AWSErrorCode JSONError 
type Rep JSONError = D1 D1JSONError (C1 C1_0JSONError ((:*:) (S1 S1_0_0JSONError (Rec0 (Maybe Text))) ((:*:) (S1 S1_0_1JSONError (Rec0 ErrorCode)) (S1 S1_0_2JSONError (Rec0 Text))))) 

WorkflowExecutionCancelRequestedEventAttributes

wecreaCause :: Lens' WorkflowExecutionCancelRequestedEventAttributes (Maybe WorkflowExecutionCancelRequestedCause) Source

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.

wecreaExternalInitiatedEventId :: Lens' WorkflowExecutionCancelRequestedEventAttributes (Maybe Integer) Source

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.

wecreaExternalWorkflowExecution :: Lens' WorkflowExecutionCancelRequestedEventAttributes (Maybe WorkflowExecution) Source

The external workflow execution for which the cancellation was requested.

RequestCancelExternalWorkflowExecutionDecisionAttributes

rcewedaControl :: Lens' RequestCancelExternalWorkflowExecutionDecisionAttributes (Maybe Text) Source

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

rcewedaRunId :: Lens' RequestCancelExternalWorkflowExecutionDecisionAttributes (Maybe Text) Source

The runId of the external workflow execution to cancel.

rcewedaWorkflowId :: Lens' RequestCancelExternalWorkflowExecutionDecisionAttributes Text Source

Required. The workflowId of the external workflow execution to cancel.

DecisionTaskScheduledEventAttributes

dtseaStartToCloseTimeout :: Lens' DecisionTaskScheduledEventAttributes (Maybe Text) Source

The maximum duration for this decision task. The task is considered timed out if it does not completed within this duration.

The duration is specified in seconds; an integer greater than or equal to 0. The value NONE can be used to specify unlimited duration.

dtseaTaskList :: Lens' DecisionTaskScheduledEventAttributes TaskList Source

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

dtseaTaskPriority :: Lens' DecisionTaskScheduledEventAttributes (Maybe Text) Source

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

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

WorkflowExecutionCompletedEventAttributes

weceaDecisionTaskCompletedEventId :: Lens' WorkflowExecutionCompletedEventAttributes Integer Source

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.

weceaResult :: Lens' WorkflowExecutionCompletedEventAttributes (Maybe Text) Source

The result produced by the workflow execution upon successful completion.

ExecutionTimeFilter

executionTimeFilter Source

ExecutionTimeFilter constructor.

The fields accessible through corresponding lenses are:

etfLatestDate :: Lens' ExecutionTimeFilter (Maybe UTCTime) Source

Specifies the latest start or close date and time to return.

etfOldestDate :: Lens' ExecutionTimeFilter UTCTime Source

Specifies the oldest start or close date and time to return.

StartTimerFailedEventAttributes

stfeaCause :: Lens' StartTimerFailedEventAttributes StartTimerFailedCause Source

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.

stfeaDecisionTaskCompletedEventId :: Lens' StartTimerFailedEventAttributes Integer Source

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.

stfeaTimerId :: Lens' StartTimerFailedEventAttributes Text Source

The timerId provided in the StartTimer decision that failed.

RequestCancelExternalWorkflowExecutionInitiatedEventAttributes

rceweieaControl :: Lens' RequestCancelExternalWorkflowExecutionInitiatedEventAttributes (Maybe Text) Source

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

rceweieaDecisionTaskCompletedEventId :: Lens' RequestCancelExternalWorkflowExecutionInitiatedEventAttributes Integer Source

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.

rceweieaRunId :: Lens' RequestCancelExternalWorkflowExecutionInitiatedEventAttributes (Maybe Text) Source

The runId of the external workflow execution to be canceled.

rceweieaWorkflowId :: Lens' RequestCancelExternalWorkflowExecutionInitiatedEventAttributes Text Source

The workflowId of the external workflow execution to be canceled.

RecordMarkerFailedEventAttributes

rmfeaCause :: Lens' RecordMarkerFailedEventAttributes RecordMarkerFailedCause Source

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.

rmfeaDecisionTaskCompletedEventId :: Lens' RecordMarkerFailedEventAttributes Integer Source

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.

WorkflowExecutionCount

workflowExecutionCount Source

WorkflowExecutionCount constructor.

The fields accessible through corresponding lenses are:

wecCount :: Lens' WorkflowExecutionCount Natural Source

The number of workflow executions.

wecTruncated :: Lens' WorkflowExecutionCount (Maybe Bool) Source

If set to true, indicates that the actual count was more than the maximum supported by this API and the count returned is the truncated value.

ActivityTaskScheduledEventAttributes

atseaControl :: Lens' ActivityTaskScheduledEventAttributes (Maybe Text) Source

Optional. Data attached to the event that can be used by the decider in subsequent workflow tasks. This data is not sent to the activity.

atseaDecisionTaskCompletedEventId :: Lens' ActivityTaskScheduledEventAttributes Integer Source

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.

atseaHeartbeatTimeout :: Lens' ActivityTaskScheduledEventAttributes (Maybe Text) Source

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 will be ignored.

atseaInput :: Lens' ActivityTaskScheduledEventAttributes (Maybe Text) Source

The input provided to the activity task.

atseaScheduleToCloseTimeout :: Lens' ActivityTaskScheduledEventAttributes (Maybe Text) Source

The maximum amount of time for this activity task.

atseaScheduleToStartTimeout :: Lens' ActivityTaskScheduledEventAttributes (Maybe Text) Source

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

atseaStartToCloseTimeout :: Lens' ActivityTaskScheduledEventAttributes (Maybe Text) Source

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

atseaTaskList :: Lens' ActivityTaskScheduledEventAttributes TaskList Source

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

atseaTaskPriority :: Lens' ActivityTaskScheduledEventAttributes (Maybe Text) Source

Optional. The priority to assign to the scheduled activity task. This will override any default priority that was assigned when the activity type was registered. If not set, then the priority set on the activity type is used as the task priority.

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

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

CloseStatusFilter

closeStatusFilter Source

CloseStatusFilter constructor.

The fields accessible through corresponding lenses are:

csfStatus :: Lens' CloseStatusFilter CloseStatus Source

Required. The close status that must match the close status of an execution for it to meet the criteria of this filter.

WorkflowExecutionTimeoutType

ScheduleActivityTaskDecisionAttributes

satdaActivityId :: Lens' ScheduleActivityTaskDecisionAttributes Text Source

Required. The activityId of the activity task.

The specified string must not start or end with whitespace. It must not contain a : (colon), / (slash), '|' (vertical bar), or any control characters (u0000-u001f | u007f - u009f). Also, it must not contain the literal string quotarnquot.

satdaActivityType :: Lens' ScheduleActivityTaskDecisionAttributes ActivityType Source

Required. The type of the activity task to schedule.

satdaControl :: Lens' ScheduleActivityTaskDecisionAttributes (Maybe Text) Source

Optional. Data attached to the event that can be used by the decider in subsequent workflow tasks. This data is not sent to the activity.

satdaHeartbeatTimeout :: Lens' ScheduleActivityTaskDecisionAttributes (Maybe Text) Source

If set, specifies the maximum time before which a worker processing a task of this type 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 returns a result, it will be ignored. This overrides the default heartbeat timeout specified when registering the activity type using RegisterActivityType.

The duration is specified in seconds; an integer greater than or equal to 0. The value NONE can be used to specify unlimited duration.

satdaInput :: Lens' ScheduleActivityTaskDecisionAttributes (Maybe Text) Source

The input provided to the activity task.

satdaScheduleToCloseTimeout :: Lens' ScheduleActivityTaskDecisionAttributes (Maybe Text) Source

The maximum duration for this activity task.

The duration is specified in seconds; an integer greater than or equal to 0. The value NONE can be used to specify unlimited duration.

A schedule-to-close timeout for this activity task must be specified either as a default for the activity type or through this field. If neither this field is set nor a default schedule-to-close timeout was specified at registration time then a fault will be returned.

satdaScheduleToStartTimeout :: Lens' ScheduleActivityTaskDecisionAttributes (Maybe Text) Source

Optional. If set, specifies the maximum duration the activity task can wait to be assigned to a worker. This overrides the default schedule-to-start timeout specified when registering the activity type using RegisterActivityType.

The duration is specified in seconds; an integer greater than or equal to 0. The value NONE can be used to specify unlimited duration.

A schedule-to-start timeout for this activity task must be specified either as a default for the activity type or through this field. If neither this field is set nor a default schedule-to-start timeout was specified at registration time then a fault will be returned.

satdaStartToCloseTimeout :: Lens' ScheduleActivityTaskDecisionAttributes (Maybe Text) Source

If set, specifies the maximum duration a worker may take to process this activity task. This overrides the default start-to-close timeout specified when registering the activity type using RegisterActivityType.

The duration is specified in seconds; an integer greater than or equal to 0. The value NONE can be used to specify unlimited duration.

A start-to-close timeout for this activity task must be specified either as a default for the activity type or through this field. If neither this field is set nor a default start-to-close timeout was specified at registration time then a fault will be returned.

satdaTaskList :: Lens' ScheduleActivityTaskDecisionAttributes (Maybe TaskList) Source

If set, specifies the name of the task list in which to schedule the activity task. If not specified, the defaultTaskList registered with the activity type will be used.

A task list for this activity task must be specified either as a default for the activity type or through this field. If neither this field is set nor a default task list was specified at registration time then a fault will be returned. The specified string must not start or end with whitespace. It must not contain a : (colon), / (slash), '|' (vertical bar), or any control characters (u0000-u001f | u007f - u009f). Also, it must not contain the literal string quotarnquot.

satdaTaskPriority :: Lens' ScheduleActivityTaskDecisionAttributes (Maybe Text) Source

Optional. If set, specifies the priority with which the activity task is to be assigned to a worker. This overrides the defaultTaskPriority specified when registering the activity type using RegisterActivityType. Valid values are integers that range from Java's MIN_VALUE (-2147483648) to MAX_VALUE (2147483647). Higher numbers indicate higher priority.

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

ActivityTypeConfiguration

atcDefaultTaskHeartbeatTimeout :: Lens' ActivityTypeConfiguration (Maybe Text) Source

Optional. The default maximum time, in seconds, before which a worker processing a task must report progress by calling RecordActivityTaskHeartbeat.

You can specify this value only when registering an activity type. The registered default value can be overridden when you schedule a task through the ScheduleActivityTask Decision. If the activity worker subsequently attempts to record a heartbeat or returns a result, the activity worker receives an UnknownResource fault. In this case, Amazon SWF no longer considers the activity task to be valid; the activity worker should clean up the activity task.

The duration is specified in seconds; an integer greater than or equal to 0. The value NONE can be used to specify unlimited duration.

atcDefaultTaskList :: Lens' ActivityTypeConfiguration (Maybe TaskList) Source

Optional. The default task list specified for this activity type at registration. This default is used if a task list is not provided when a task is scheduled through the ScheduleActivityTask Decision. You can override the default registered task list when scheduling a task through the ScheduleActivityTask Decision.

atcDefaultTaskPriority :: Lens' ActivityTypeConfiguration (Maybe Text) Source

Optional. The default task priority for tasks of this activity type, specified at registration. If not set, then "0" will be used as the default priority. This default can be overridden when scheduling an activity task.

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

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

atcDefaultTaskScheduleToCloseTimeout :: Lens' ActivityTypeConfiguration (Maybe Text) Source

Optional. The default maximum duration, specified when registering the activity type, for tasks of this activity type. You can override this default when scheduling a task through the ScheduleActivityTask Decision.

The duration is specified in seconds; an integer greater than or equal to 0. The value NONE can be used to specify unlimited duration.

atcDefaultTaskScheduleToStartTimeout :: Lens' ActivityTypeConfiguration (Maybe Text) Source

Optional. The default maximum duration, specified when registering the activity type, that a task of an activity type can wait before being assigned to a worker. You can override this default when scheduling a task through the ScheduleActivityTask Decision.

The duration is specified in seconds; an integer greater than or equal to 0. The value NONE can be used to specify unlimited duration.

atcDefaultTaskStartToCloseTimeout :: Lens' ActivityTypeConfiguration (Maybe Text) Source

Optional. The default maximum duration for tasks of an activity type specified when registering the activity type. You can override this default when scheduling a task through the ScheduleActivityTask Decision.

The duration is specified in seconds; an integer greater than or equal to 0. The value NONE can be used to specify unlimited duration.

ActivityType

activityType Source

ActivityType constructor.

The fields accessible through corresponding lenses are:

atName :: Lens' ActivityType Text Source

The name of this activity.

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

atVersion :: Lens' ActivityType Text Source

The version of this activity.

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

WorkflowTypeInfo

wtiCreationDate :: Lens' WorkflowTypeInfo UTCTime Source

The date when this type was registered.

wtiDeprecationDate :: Lens' WorkflowTypeInfo (Maybe UTCTime) Source

If the type is in deprecated state, then it is set to the date when the type was deprecated.

wtiDescription :: Lens' WorkflowTypeInfo (Maybe Text) Source

The description of the type registered through RegisterWorkflowType.

wtiStatus :: Lens' WorkflowTypeInfo RegistrationStatus Source

The current status of the workflow type.

wtiWorkflowType :: Lens' WorkflowTypeInfo WorkflowType Source

The workflow type this information is about.

ChildWorkflowExecutionCompletedEventAttributes

cweceaInitiatedEventId :: Lens' ChildWorkflowExecutionCompletedEventAttributes Integer Source

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.

cweceaResult :: Lens' ChildWorkflowExecutionCompletedEventAttributes (Maybe Text) Source

The result of the child workflow execution (if any).

cweceaStartedEventId :: Lens' ChildWorkflowExecutionCompletedEventAttributes Integer Source

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.

WorkflowExecutionOpenCounts

weocOpenActivityTasks :: Lens' WorkflowExecutionOpenCounts Natural Source

The count of activity tasks whose status is OPEN.

weocOpenChildWorkflowExecutions :: Lens' WorkflowExecutionOpenCounts Natural Source

The count of child workflow executions whose status is OPEN.

weocOpenDecisionTasks :: Lens' WorkflowExecutionOpenCounts Natural Source

The count of decision tasks whose status is OPEN. A workflow execution can have at most one open decision task.

weocOpenTimers :: Lens' WorkflowExecutionOpenCounts Natural Source

The count of timers started by this workflow execution that have not fired yet.

RequestCancelActivityTaskFailedCause

ScheduleActivityTaskFailedEventAttributes

satfeaCause :: Lens' ScheduleActivityTaskFailedEventAttributes ScheduleActivityTaskFailedCause Source

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.

satfeaDecisionTaskCompletedEventId :: Lens' ScheduleActivityTaskFailedEventAttributes Integer Source

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.

MarkerRecordedEventAttributes

mreaDecisionTaskCompletedEventId :: Lens' MarkerRecordedEventAttributes Integer Source

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.

mreaDetails :: Lens' MarkerRecordedEventAttributes (Maybe Text) Source

Details of the marker (if any).

SignalExternalWorkflowExecutionDecisionAttributes

sewedaControl :: Lens' SignalExternalWorkflowExecutionDecisionAttributes (Maybe Text) Source

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

sewedaInput :: Lens' SignalExternalWorkflowExecutionDecisionAttributes (Maybe Text) Source

Optional. Input data to be provided with the signal. The target workflow execution will use the signal name and input data to process the signal.

sewedaRunId :: Lens' SignalExternalWorkflowExecutionDecisionAttributes (Maybe Text) Source

The runId of the workflow execution to be signaled.

sewedaSignalName :: Lens' SignalExternalWorkflowExecutionDecisionAttributes Text Source

Required. The name of the signal.The target workflow execution will use the signal name and input to process the signal.

sewedaWorkflowId :: Lens' SignalExternalWorkflowExecutionDecisionAttributes Text Source

Required. The workflowId of the workflow execution to be signaled.

WorkflowExecutionTerminatedCause

CancelWorkflowExecutionFailedCause

SignalExternalWorkflowExecutionFailedCause

RecordMarkerDecisionAttributes

rmdaDetails :: Lens' RecordMarkerDecisionAttributes (Maybe Text) Source

Optional. details of the marker.

rmdaMarkerName :: Lens' RecordMarkerDecisionAttributes Text Source

Required. The name of the marker.

CompleteWorkflowExecutionFailedEventAttributes

cwefeaCause :: Lens' CompleteWorkflowExecutionFailedEventAttributes CompleteWorkflowExecutionFailedCause Source

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.

cwefeaDecisionTaskCompletedEventId :: Lens' CompleteWorkflowExecutionFailedEventAttributes Integer Source

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.

StartTimerDecisionAttributes

stdaControl :: Lens' StartTimerDecisionAttributes (Maybe Text) Source

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

stdaStartToFireTimeout :: Lens' StartTimerDecisionAttributes Text Source

Required. The duration to wait before firing the timer.

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

stdaTimerId :: Lens' StartTimerDecisionAttributes Text Source

Required. The unique Id of the timer.

The specified string must not start or end with whitespace. It must not contain a : (colon), / (slash), '|' (vertical bar), or any control characters (u0000-u001f | u007f - u009f). Also, it must not contain the literal string quotarnquot.

DecisionType

RequestCancelExternalWorkflowExecutionFailedEventAttributes

rcewefeaCause :: Lens' RequestCancelExternalWorkflowExecutionFailedEventAttributes RequestCancelExternalWorkflowExecutionFailedCause Source

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.

rcewefeaDecisionTaskCompletedEventId :: Lens' RequestCancelExternalWorkflowExecutionFailedEventAttributes Integer Source

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.

rcewefeaInitiatedEventId :: Lens' RequestCancelExternalWorkflowExecutionFailedEventAttributes Integer Source

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.

rcewefeaWorkflowId :: Lens' RequestCancelExternalWorkflowExecutionFailedEventAttributes Text Source

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

ActivityTypeInfo

atiActivityType :: Lens' ActivityTypeInfo ActivityType Source

The ActivityType type structure representing the activity type.

atiCreationDate :: Lens' ActivityTypeInfo UTCTime Source

The date and time this activity type was created through RegisterActivityType.

atiDeprecationDate :: Lens' ActivityTypeInfo (Maybe UTCTime) Source

If DEPRECATED, the date and time DeprecateActivityType was called.

atiDescription :: Lens' ActivityTypeInfo (Maybe Text) Source

The description of the activity type provided in RegisterActivityType.

atiStatus :: Lens' ActivityTypeInfo RegistrationStatus Source

The current status of the activity type.

TimerCanceledEventAttributes

tceaDecisionTaskCompletedEventId :: Lens' TimerCanceledEventAttributes Integer Source

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.

tceaStartedEventId :: Lens' TimerCanceledEventAttributes Integer Source

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.

tceaTimerId :: Lens' TimerCanceledEventAttributes Text Source

The unique Id of the timer that was canceled.

WorkflowExecutionStartedEventAttributes

weseaChildPolicy :: Lens' WorkflowExecutionStartedEventAttributes ChildPolicy Source

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 will be terminated. REQUEST_CANCEL: a request to cancel will be 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 will be taken. The child executions will continue to run.

weseaContinuedExecutionRunId :: Lens' WorkflowExecutionStartedEventAttributes (Maybe Text) Source

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.

weseaExecutionStartToCloseTimeout :: Lens' WorkflowExecutionStartedEventAttributes (Maybe Text) Source

The maximum duration for this workflow execution.

The duration is specified in seconds; an integer greater than or equal to 0. The value NONE can be used to specify unlimited duration.

weseaInput :: Lens' WorkflowExecutionStartedEventAttributes (Maybe Text) Source

The input provided to the workflow execution (if any).

weseaParentInitiatedEventId :: Lens' WorkflowExecutionStartedEventAttributes (Maybe Integer) Source

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.

weseaParentWorkflowExecution :: Lens' WorkflowExecutionStartedEventAttributes (Maybe WorkflowExecution) Source

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

weseaTagList :: Lens' WorkflowExecutionStartedEventAttributes [Text] Source

The list of tags associated with this workflow execution. An execution can have up to 5 tags.

weseaTaskList :: Lens' WorkflowExecutionStartedEventAttributes TaskList Source

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

weseaTaskStartToCloseTimeout :: Lens' WorkflowExecutionStartedEventAttributes (Maybe Text) Source

The maximum duration of decision tasks for this workflow type.

The duration is specified in seconds; an integer greater than or equal to 0. The value NONE can be used to specify unlimited duration.

WorkflowTypeConfiguration

wtcDefaultChildPolicy :: Lens' WorkflowTypeConfiguration (Maybe ChildPolicy) Source

Optional. The default policy to use for the child workflow executions when a workflow execution of this type is terminated, by calling the TerminateWorkflowExecution action explicitly or due to an expired timeout. This default can be overridden when starting a workflow execution using the StartWorkflowExecution action or the StartChildWorkflowExecution Decision.

The supported child policies are:

TERMINATE: the child executions will be terminated. REQUEST_CANCEL: a request to cancel will be 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 will be taken. The child executions will continue to run.

wtcDefaultExecutionStartToCloseTimeout :: Lens' WorkflowTypeConfiguration (Maybe Text) Source

Optional. The default maximum duration, specified when registering the workflow type, for executions of this workflow type. This default can be overridden when starting a workflow execution using the StartWorkflowExecution action or the StartChildWorkflowExecution Decision.

The duration is specified in seconds; an integer greater than or equal to 0. The value NONE can be used to specify unlimited duration.

wtcDefaultTaskList :: Lens' WorkflowTypeConfiguration (Maybe TaskList) Source

Optional. The default task list, specified when registering the workflow type, for decisions tasks scheduled for workflow executions of this type. This default can be overridden when starting a workflow execution using the StartWorkflowExecution action or the StartChildWorkflowExecution Decision.

wtcDefaultTaskPriority :: Lens' WorkflowTypeConfiguration (Maybe Text) Source

Optional. The default task priority, specified when registering the workflow type, for all decision tasks of this workflow type. This default can be overridden when starting a workflow execution using the StartWorkflowExecution action or the StartChildWorkflowExecution decision.

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

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

wtcDefaultTaskStartToCloseTimeout :: Lens' WorkflowTypeConfiguration (Maybe Text) Source

Optional. The default maximum duration, specified when registering the workflow type, that a decision task for executions of this workflow type might take before returning completion or failure. If the task does not close in the specified time then the task is automatically timed out and rescheduled. If the decider eventually reports a completion or failure, it is ignored. This default can be overridden when starting a workflow execution using the StartWorkflowExecution action or the StartChildWorkflowExecution Decision.

The duration is specified in seconds; an integer greater than or equal to 0. The value NONE can be used to specify unlimited duration.

ActivityTaskTimeoutType

WorkflowType

workflowType Source

WorkflowType constructor.

The fields accessible through corresponding lenses are:

wtName :: Lens' WorkflowType Text Source

Required. The name of the workflow type.

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

wtVersion :: Lens' WorkflowType Text Source

Required. The version of the workflow type.

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

ActivityTaskCompletedEventAttributes

atceaResult :: Lens' ActivityTaskCompletedEventAttributes (Maybe Text) Source

The results of the activity task (if any).

atceaScheduledEventId :: Lens' ActivityTaskCompletedEventAttributes Integer Source

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.

atceaStartedEventId :: Lens' ActivityTaskCompletedEventAttributes Integer Source

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.

ExecutionStatus

DecisionTaskTimeoutType

WorkflowExecutionCancelRequestedCause

StartChildWorkflowExecutionFailedCause

DecisionTaskTimedOutEventAttributes

dttoeaScheduledEventId :: Lens' DecisionTaskTimedOutEventAttributes Integer Source

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.

dttoeaStartedEventId :: Lens' DecisionTaskTimedOutEventAttributes Integer Source

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.

dttoeaTimeoutType :: Lens' DecisionTaskTimedOutEventAttributes DecisionTaskTimeoutType Source

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

ChildWorkflowExecutionStartedEventAttributes

cweseaInitiatedEventId :: Lens' ChildWorkflowExecutionStartedEventAttributes Integer Source

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.

CancelTimerFailedEventAttributes

ctfeaCause :: Lens' CancelTimerFailedEventAttributes CancelTimerFailedCause Source

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.

ctfeaDecisionTaskCompletedEventId :: Lens' CancelTimerFailedEventAttributes Integer Source

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.

ctfeaTimerId :: Lens' CancelTimerFailedEventAttributes Text Source

The timerId provided in the CancelTimer decision that failed.

FailWorkflowExecutionFailedCause

WorkflowExecutionFilter

workflowExecutionFilter Source

WorkflowExecutionFilter constructor.

The fields accessible through corresponding lenses are:

wefWorkflowId :: Lens' WorkflowExecutionFilter Text Source

The workflowId to pass of match the criteria of this filter.

ActivityTaskCanceledEventAttributes

atcea1Details :: Lens' ActivityTaskCanceledEventAttributes (Maybe Text) Source

Details of the cancellation (if any).

atcea1LatestCancelRequestedEventId :: Lens' ActivityTaskCanceledEventAttributes (Maybe Integer) Source

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.

atcea1ScheduledEventId :: Lens' ActivityTaskCanceledEventAttributes Integer Source

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.

atcea1StartedEventId :: Lens' ActivityTaskCanceledEventAttributes Integer Source

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.

WorkflowExecutionInfos

weiExecutionInfos :: Lens' WorkflowExecutionInfos [WorkflowExecutionInfo] Source

The list of workflow information structures.

weiNextPageToken :: Lens' WorkflowExecutionInfos (Maybe Text) Source

If a NextPageToken was returned by a previous call, there are more results available. To retrieve the next page of results, make the call again using the returned token in nextPageToken. Keep all other arguments unchanged.

The configured maximumPageSize determines how many results can be returned in a single call.

StartChildWorkflowExecutionDecisionAttributes

scwedaChildPolicy :: Lens' StartChildWorkflowExecutionDecisionAttributes (Maybe ChildPolicy) Source

Optional. If set, specifies the policy to use for the child workflow executions if the workflow execution being started is terminated by calling the TerminateWorkflowExecution action explicitly or due to an expired timeout. This policy overrides the default child policy specified when registering the workflow type using RegisterWorkflowType.

The supported child policies are:

TERMINATE: the child executions will be terminated. REQUEST_CANCEL: a request to cancel will be 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 will be taken. The child executions will continue to run. A child policy for this workflow execution must be specified either as a default for the workflow type or through this parameter. If neither this parameter is set nor a default child policy was specified at registration time then a fault will be returned.

scwedaControl :: Lens' StartChildWorkflowExecutionDecisionAttributes (Maybe Text) Source

Optional. Data attached to the event that can be used by the decider in subsequent workflow tasks. This data is not sent to the child workflow execution.

scwedaExecutionStartToCloseTimeout :: Lens' StartChildWorkflowExecutionDecisionAttributes (Maybe Text) Source

The total duration for this workflow execution. This overrides the defaultExecutionStartToCloseTimeout specified when registering the workflow type.

The duration is specified in seconds; an integer greater than or equal to 0. The value NONE can be used to specify unlimited duration.

An execution start-to-close timeout for this workflow execution must be specified either as a default for the workflow type or through this parameter. If neither this parameter is set nor a default execution start-to-close timeout was specified at registration time then a fault will be returned.

scwedaInput :: Lens' StartChildWorkflowExecutionDecisionAttributes (Maybe Text) Source

The input to be provided to the workflow execution.

scwedaTagList :: Lens' StartChildWorkflowExecutionDecisionAttributes [Text] Source

The list of tags to associate with the child workflow execution. A maximum of 5 tags can be specified. You can list workflow executions with a specific tag by calling ListOpenWorkflowExecutions or ListClosedWorkflowExecutions and specifying a TagFilter.

scwedaTaskList :: Lens' StartChildWorkflowExecutionDecisionAttributes (Maybe TaskList) Source

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

A task list for this workflow execution must be specified either as a default for the workflow type or through this parameter. If neither this parameter is set nor a default task list was specified at registration time then a fault will be returned. The specified string must not start or end with whitespace. It must not contain a : (colon), / (slash), '|' (vertical bar), or any control characters (u0000-u001f | u007f - u009f). Also, it must not contain the literal string quotarnquot.

scwedaTaskPriority :: Lens' StartChildWorkflowExecutionDecisionAttributes (Maybe Text) Source

Optional. A task priority that, if set, specifies the priority for a decision task of this workflow execution. This overrides the defaultTaskPriority specified when registering the workflow type. Valid values are integers that range from Java's MIN_VALUE (-2147483648) to MAX_VALUE (2147483647). Higher numbers indicate higher priority.

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

scwedaTaskStartToCloseTimeout :: Lens' StartChildWorkflowExecutionDecisionAttributes (Maybe Text) Source

Specifies the maximum duration of decision tasks for this workflow execution. This parameter overrides the defaultTaskStartToCloseTimout specified when registering the workflow type using RegisterWorkflowType.

The duration is specified in seconds; an integer greater than or equal to 0. The value NONE can be used to specify unlimited duration.

A task start-to-close timeout for this workflow execution must be specified either as a default for the workflow type or through this parameter. If neither this parameter is set nor a default task start-to-close timeout was specified at registration time then a fault will be returned.

scwedaWorkflowId :: Lens' StartChildWorkflowExecutionDecisionAttributes Text Source

Required. The workflowId of the workflow execution.

The specified string must not start or end with whitespace. It must not contain a : (colon), / (slash), '|' (vertical bar), or any control characters (u0000-u001f | u007f - u009f). Also, it must not contain the literal string quotarnquot.

scwedaWorkflowType :: Lens' StartChildWorkflowExecutionDecisionAttributes WorkflowType Source

Required. The type of the workflow execution to be started.

ContinueAsNewWorkflowExecutionFailedCause

FailWorkflowExecutionDecisionAttributes

fwedaReason :: Lens' FailWorkflowExecutionDecisionAttributes (Maybe Text) Source

A descriptive reason for the failure that may help in diagnostics.

EventType

data EventType Source

Constructors

ActivityTaskCancelRequested

ActivityTaskCancelRequested

ActivityTaskCanceled

ActivityTaskCanceled

ActivityTaskCompleted

ActivityTaskCompleted

ActivityTaskFailed

ActivityTaskFailed

ActivityTaskScheduled

ActivityTaskScheduled

ActivityTaskStarted

ActivityTaskStarted

ActivityTaskTimedOut

ActivityTaskTimedOut

CancelTimerFailed

CancelTimerFailed

CancelWorkflowExecutionFailed

CancelWorkflowExecutionFailed

ChildWorkflowExecutionCanceled

ChildWorkflowExecutionCanceled

ChildWorkflowExecutionCompleted

ChildWorkflowExecutionCompleted

ChildWorkflowExecutionFailed

ChildWorkflowExecutionFailed

ChildWorkflowExecutionStarted

ChildWorkflowExecutionStarted

ChildWorkflowExecutionTerminated

ChildWorkflowExecutionTerminated

ChildWorkflowExecutionTimedOut

ChildWorkflowExecutionTimedOut

CompleteWorkflowExecutionFailed

CompleteWorkflowExecutionFailed

ContinueAsNewWorkflowExecutionFailed

ContinueAsNewWorkflowExecutionFailed

DecisionTaskCompleted

DecisionTaskCompleted

DecisionTaskScheduled

DecisionTaskScheduled

DecisionTaskStarted

DecisionTaskStarted

DecisionTaskTimedOut

DecisionTaskTimedOut

ExternalWorkflowExecutionCancelRequested

ExternalWorkflowExecutionCancelRequested

ExternalWorkflowExecutionSignaled

ExternalWorkflowExecutionSignaled

FailWorkflowExecutionFailed

FailWorkflowExecutionFailed

MarkerRecorded

MarkerRecorded

RecordMarkerFailed

RecordMarkerFailed

RequestCancelActivityTaskFailed

RequestCancelActivityTaskFailed

RequestCancelExternalWorkflowExecutionFailed

RequestCancelExternalWorkflowExecutionFailed

RequestCancelExternalWorkflowExecutionInitiated

RequestCancelExternalWorkflowExecutionInitiated

ScheduleActivityTaskFailed

ScheduleActivityTaskFailed

SignalExternalWorkflowExecutionFailed

SignalExternalWorkflowExecutionFailed

SignalExternalWorkflowExecutionInitiated

SignalExternalWorkflowExecutionInitiated

StartChildWorkflowExecutionFailed

StartChildWorkflowExecutionFailed

StartChildWorkflowExecutionInitiated

StartChildWorkflowExecutionInitiated

StartTimerFailed

StartTimerFailed

TimerCanceled

TimerCanceled

TimerFired

TimerFired

TimerStarted

TimerStarted

WorkflowExecutionCancelRequested

WorkflowExecutionCancelRequested

WorkflowExecutionCanceled

WorkflowExecutionCanceled

WorkflowExecutionCompleted

WorkflowExecutionCompleted

WorkflowExecutionContinuedAsNew

WorkflowExecutionContinuedAsNew

WorkflowExecutionFailed

WorkflowExecutionFailed

WorkflowExecutionSignaled

WorkflowExecutionSignaled

WorkflowExecutionStarted

WorkflowExecutionStarted

WorkflowExecutionTerminated

WorkflowExecutionTerminated

WorkflowExecutionTimedOut

WorkflowExecutionTimedOut

ActivityTaskTimedOutEventAttributes

attoeaDetails :: Lens' ActivityTaskTimedOutEventAttributes (Maybe Text) Source

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

attoeaScheduledEventId :: Lens' ActivityTaskTimedOutEventAttributes Integer Source

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.

attoeaStartedEventId :: Lens' ActivityTaskTimedOutEventAttributes Integer Source

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.

RequestCancelActivityTaskFailedEventAttributes

rcatfeaCause :: Lens' RequestCancelActivityTaskFailedEventAttributes RequestCancelActivityTaskFailedCause Source

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.

rcatfeaDecisionTaskCompletedEventId :: Lens' RequestCancelActivityTaskFailedEventAttributes Integer Source

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.

CompleteWorkflowExecutionDecisionAttributes

cwedaResult :: Lens' CompleteWorkflowExecutionDecisionAttributes (Maybe Text) Source

The result of the workflow execution. The form of the result is implementation defined.

DecisionTaskStartedEventAttributes

dtseaIdentity :: Lens' DecisionTaskStartedEventAttributes (Maybe Text) Source

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

dtseaScheduledEventId :: Lens' DecisionTaskStartedEventAttributes Integer Source

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.

ChildWorkflowExecutionTimedOutEventAttributes

cwetoeaInitiatedEventId :: Lens' ChildWorkflowExecutionTimedOutEventAttributes Integer Source

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.

cwetoeaStartedEventId :: Lens' ChildWorkflowExecutionTimedOutEventAttributes Integer Source

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.

cwetoeaTimeoutType :: Lens' ChildWorkflowExecutionTimedOutEventAttributes WorkflowExecutionTimeoutType Source

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

StartChildWorkflowExecutionInitiatedEventAttributes

scweieaChildPolicy :: Lens' StartChildWorkflowExecutionInitiatedEventAttributes ChildPolicy Source

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 will be terminated. REQUEST_CANCEL: a request to cancel will be 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 will be taken. The child executions will continue to run.

scweieaControl :: Lens' StartChildWorkflowExecutionInitiatedEventAttributes (Maybe Text) Source

Optional. Data attached to the event that can be used by the decider in subsequent decision tasks. This data is not sent to the activity.

scweieaDecisionTaskCompletedEventId :: Lens' StartChildWorkflowExecutionInitiatedEventAttributes Integer Source

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.

scweieaExecutionStartToCloseTimeout :: Lens' StartChildWorkflowExecutionInitiatedEventAttributes (Maybe Text) Source

The maximum duration for the child workflow execution. If the workflow execution is not closed within this duration, it will be timed out and force terminated.

The duration is specified in seconds; an integer greater than or equal to 0. The value NONE can be used to specify unlimited duration.

scweieaInput :: Lens' StartChildWorkflowExecutionInitiatedEventAttributes (Maybe Text) Source

The inputs provided to the child workflow execution (if any).

scweieaTagList :: Lens' StartChildWorkflowExecutionInitiatedEventAttributes [Text] Source

The list of tags to associated with the child workflow execution.

scweieaTaskList :: Lens' StartChildWorkflowExecutionInitiatedEventAttributes TaskList Source

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

scweieaTaskPriority :: Lens' StartChildWorkflowExecutionInitiatedEventAttributes (Maybe Text) Source

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

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

scweieaTaskStartToCloseTimeout :: Lens' StartChildWorkflowExecutionInitiatedEventAttributes (Maybe Text) Source

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. The value NONE can be used to specify unlimited duration.

CancelWorkflowExecutionFailedEventAttributes

cwefea1Cause :: Lens' CancelWorkflowExecutionFailedEventAttributes CancelWorkflowExecutionFailedCause Source

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.

cwefea1DecisionTaskCompletedEventId :: Lens' CancelWorkflowExecutionFailedEventAttributes Integer Source

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.

WorkflowExecutionTerminatedEventAttributes

weteaCause :: Lens' WorkflowExecutionTerminatedEventAttributes (Maybe WorkflowExecutionTerminatedCause) Source

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.

weteaChildPolicy :: Lens' WorkflowExecutionTerminatedEventAttributes ChildPolicy Source

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

The supported child policies are:

TERMINATE: the child executions will be terminated. REQUEST_CANCEL: a request to cancel will be 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 will be taken. The child executions will continue to run.

weteaDetails :: Lens' WorkflowExecutionTerminatedEventAttributes (Maybe Text) Source

The details provided for the termination (if any).

weteaReason :: Lens' WorkflowExecutionTerminatedEventAttributes (Maybe Text) Source

The reason provided for the termination (if any).

TaskList

taskList Source

Arguments

:: Text

tlName

-> TaskList 

TaskList constructor.

The fields accessible through corresponding lenses are:

tlName :: Lens' TaskList Text Source

The name of the task list.

ScheduleActivityTaskFailedCause

ChildWorkflowExecutionCanceledEventAttributes

cwecea1InitiatedEventId :: Lens' ChildWorkflowExecutionCanceledEventAttributes Integer Source

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.

cwecea1StartedEventId :: Lens' ChildWorkflowExecutionCanceledEventAttributes Integer Source

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.

WorkflowExecutionInfo

weiCancelRequested :: Lens' WorkflowExecutionInfo (Maybe Bool) Source

Set to true if a cancellation is requested for this workflow execution.

weiCloseStatus :: Lens' WorkflowExecutionInfo (Maybe CloseStatus) Source

If the execution status is closed then this specifies how the execution was closed:

COMPLETED: the execution was successfully completed. CANCELED: the execution was canceled.Cancellation allows the implementation to gracefully clean up before the execution is closed. TERMINATED: the execution was force terminated. FAILED: the execution failed to complete. TIMED_OUT: the execution did not complete in the alloted time and was automatically timed out. CONTINUED_AS_NEW: the execution is logically continued. This means the current execution was completed and a new execution was started to carry on the workflow.

weiCloseTimestamp :: Lens' WorkflowExecutionInfo (Maybe UTCTime) Source

The time when the workflow execution was closed. Set only if the execution status is CLOSED.

weiExecution :: Lens' WorkflowExecutionInfo WorkflowExecution Source

The workflow execution this information is about.

weiParent :: Lens' WorkflowExecutionInfo (Maybe WorkflowExecution) Source

If this workflow execution is a child of another execution then contains the workflow execution that started this execution.

weiStartTimestamp :: Lens' WorkflowExecutionInfo UTCTime Source

The time when the execution was started.

weiTagList :: Lens' WorkflowExecutionInfo [Text] Source

The list of tags associated with the workflow execution. Tags can be used to identify and list workflow executions of interest through the visibility APIs. A workflow execution can have a maximum of 5 tags.

weiWorkflowType :: Lens' WorkflowExecutionInfo WorkflowType Source

The type of the workflow execution.

SignalExternalWorkflowExecutionFailedEventAttributes

sewefeaCause :: Lens' SignalExternalWorkflowExecutionFailedEventAttributes SignalExternalWorkflowExecutionFailedCause Source

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.

sewefeaDecisionTaskCompletedEventId :: Lens' SignalExternalWorkflowExecutionFailedEventAttributes Integer Source

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.

sewefeaInitiatedEventId :: Lens' SignalExternalWorkflowExecutionFailedEventAttributes Integer Source

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.

sewefeaRunId :: Lens' SignalExternalWorkflowExecutionFailedEventAttributes (Maybe Text) Source

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

sewefeaWorkflowId :: Lens' SignalExternalWorkflowExecutionFailedEventAttributes Text Source

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

TagFilter

tagFilter Source

Arguments

:: Text

tfTag

-> TagFilter 

TagFilter constructor.

The fields accessible through corresponding lenses are:

tfTag :: Lens' TagFilter Text Source

Required. Specifies the tag that must be associated with the execution for it to meet the filter criteria.

ChildPolicy

ActivityTaskStartedEventAttributes

atseaIdentity :: Lens' ActivityTaskStartedEventAttributes (Maybe Text) Source

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

atseaScheduledEventId :: Lens' ActivityTaskStartedEventAttributes Integer Source

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.

CloseStatus

CompleteWorkflowExecutionFailedCause

StartTimerFailedCause

ActivityTaskCancelRequestedEventAttributes

atcreaDecisionTaskCompletedEventId :: Lens' ActivityTaskCancelRequestedEventAttributes Integer Source

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.

WorkflowExecutionTimedOutEventAttributes

wetoeaChildPolicy :: Lens' WorkflowExecutionTimedOutEventAttributes ChildPolicy Source

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

The supported child policies are:

TERMINATE: the child executions will be terminated. REQUEST_CANCEL: a request to cancel will be 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 will be taken. The child executions will continue to run.

ChildWorkflowExecutionTerminatedEventAttributes

cweteaInitiatedEventId :: Lens' ChildWorkflowExecutionTerminatedEventAttributes Integer Source

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.

cweteaStartedEventId :: Lens' ChildWorkflowExecutionTerminatedEventAttributes Integer Source

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.

WorkflowExecutionCanceledEventAttributes

wecea1DecisionTaskCompletedEventId :: Lens' WorkflowExecutionCanceledEventAttributes Integer Source

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.

WorkflowExecutionSignaledEventAttributes

wesea1ExternalInitiatedEventId :: Lens' WorkflowExecutionSignaledEventAttributes (Maybe Integer) Source

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.

wesea1ExternalWorkflowExecution :: Lens' WorkflowExecutionSignaledEventAttributes (Maybe WorkflowExecution) Source

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

wesea1Input :: Lens' WorkflowExecutionSignaledEventAttributes (Maybe Text) Source

Inputs provided with the signal (if any). The decider can use the signal name and inputs to determine how to process the signal.

wesea1SignalName :: Lens' WorkflowExecutionSignaledEventAttributes Text Source

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

RecordMarkerFailedCause

RegistrationStatus

TimerStartedEventAttributes

tseaControl :: Lens' TimerStartedEventAttributes (Maybe Text) Source

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

tseaDecisionTaskCompletedEventId :: Lens' TimerStartedEventAttributes Integer Source

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.

tseaStartToFireTimeout :: Lens' TimerStartedEventAttributes Text Source

The duration of time after which the timer will fire.

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

tseaTimerId :: Lens' TimerStartedEventAttributes Text Source

The unique Id of the timer that was started.

RequestCancelActivityTaskDecisionAttributes

rcatdaActivityId :: Lens' RequestCancelActivityTaskDecisionAttributes Text Source

The activityId of the activity task to be canceled.

Decision

dCancelTimerDecisionAttributes :: Lens' Decision (Maybe CancelTimerDecisionAttributes) Source

Provides details of the CancelTimer decision. It is not set for other decision types.

dDecisionType :: Lens' Decision DecisionType Source

Specifies the type of the decision.

dFailWorkflowExecutionDecisionAttributes :: Lens' Decision (Maybe FailWorkflowExecutionDecisionAttributes) Source

Provides details of the FailWorkflowExecution decision. It is not set for other decision types.

dRecordMarkerDecisionAttributes :: Lens' Decision (Maybe RecordMarkerDecisionAttributes) Source

Provides details of the RecordMarker decision. It is not set for other decision types.

dScheduleActivityTaskDecisionAttributes :: Lens' Decision (Maybe ScheduleActivityTaskDecisionAttributes) Source

Provides details of the ScheduleActivityTask decision. It is not set for other decision types.

dStartTimerDecisionAttributes :: Lens' Decision (Maybe StartTimerDecisionAttributes) Source

Provides details of the StartTimer decision. It is not set for other decision types.

TimerFiredEventAttributes

tfeaStartedEventId :: Lens' TimerFiredEventAttributes Integer Source

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.

tfeaTimerId :: Lens' TimerFiredEventAttributes Text Source

The unique Id of the timer that fired.

DomainConfiguration

dcWorkflowExecutionRetentionPeriodInDays :: Lens' DomainConfiguration Text Source

The retention period for workflow executions in this domain.

ExternalWorkflowExecutionSignaledEventAttributes

eweseaInitiatedEventId :: Lens' ExternalWorkflowExecutionSignaledEventAttributes Integer Source

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.

eweseaWorkflowExecution :: Lens' ExternalWorkflowExecutionSignaledEventAttributes WorkflowExecution Source

The external workflow execution that the signal was delivered to.

CancelWorkflowExecutionDecisionAttributes

ActivityTaskFailedEventAttributes

atfeaDetails :: Lens' ActivityTaskFailedEventAttributes (Maybe Text) Source

The details of the failure (if any).

atfeaReason :: Lens' ActivityTaskFailedEventAttributes (Maybe Text) Source

The reason provided for the failure (if any).

atfeaScheduledEventId :: Lens' ActivityTaskFailedEventAttributes Integer Source

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.

atfeaStartedEventId :: Lens' ActivityTaskFailedEventAttributes Integer Source

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.

FailWorkflowExecutionFailedEventAttributes

fwefeaCause :: Lens' FailWorkflowExecutionFailedEventAttributes FailWorkflowExecutionFailedCause Source

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.

fwefeaDecisionTaskCompletedEventId :: Lens' FailWorkflowExecutionFailedEventAttributes Integer Source

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.

StartChildWorkflowExecutionFailedEventAttributes

scwefeaCause :: Lens' StartChildWorkflowExecutionFailedEventAttributes StartChildWorkflowExecutionFailedCause Source

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.

scwefeaDecisionTaskCompletedEventId :: Lens' StartChildWorkflowExecutionFailedEventAttributes Integer Source

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.

scwefeaInitiatedEventId :: Lens' StartChildWorkflowExecutionFailedEventAttributes Integer Source

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.

scwefeaWorkflowId :: Lens' StartChildWorkflowExecutionFailedEventAttributes Text Source

The workflowId of the child workflow execution.

WorkflowTypeFilter

workflowTypeFilter Source

WorkflowTypeFilter constructor.

The fields accessible through corresponding lenses are:

wtfName :: Lens' WorkflowTypeFilter Text Source

Required. Name of the workflow type.

wtfVersion :: Lens' WorkflowTypeFilter (Maybe Text) Source

Version of the workflow type.

CancelTimerFailedCause

DecisionTaskCompletedEventAttributes

dtceaExecutionContext :: Lens' DecisionTaskCompletedEventAttributes (Maybe Text) Source

User defined context for the workflow execution.

dtceaScheduledEventId :: Lens' DecisionTaskCompletedEventAttributes Integer Source

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.

dtceaStartedEventId :: Lens' DecisionTaskCompletedEventAttributes Integer Source

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.

ChildWorkflowExecutionFailedEventAttributes

cwefeaDetails :: Lens' ChildWorkflowExecutionFailedEventAttributes (Maybe Text) Source

The details of the failure (if provided).

cwefeaInitiatedEventId :: Lens' ChildWorkflowExecutionFailedEventAttributes Integer Source

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.

cwefeaReason :: Lens' ChildWorkflowExecutionFailedEventAttributes (Maybe Text) Source

The reason for the failure (if provided).

cwefeaStartedEventId :: Lens' ChildWorkflowExecutionFailedEventAttributes Integer Source

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.

DomainInfo

domainInfo Source

DomainInfo constructor.

The fields accessible through corresponding lenses are:

diDescription :: Lens' DomainInfo (Maybe Text) Source

The description of the domain provided through RegisterDomain.

diName :: Lens' DomainInfo Text Source

The name of the domain. This name is unique within the account.

diStatus :: Lens' DomainInfo RegistrationStatus Source

The status of the domain:

REGISTERED: The domain is properly registered and available. You can use this domain for registering types and creating new workflow executions. DEPRECATED : The domain was deprecated using DeprecateDomain, but is still in use. You should not create new workflow executions in this domain.

HistoryEvent

historyEvent Source

HistoryEvent constructor.

The fields accessible through corresponding lenses are:

heActivityTaskCancelRequestedEventAttributes :: Lens' HistoryEvent (Maybe ActivityTaskCancelRequestedEventAttributes) Source

If the event is of type ActivityTaskcancelRequested then this member is set and provides detailed information about the event. It is not set for other event types.

heActivityTaskCanceledEventAttributes :: Lens' HistoryEvent (Maybe ActivityTaskCanceledEventAttributes) Source

If the event is of type ActivityTaskCanceled then this member is set and provides detailed information about the event. It is not set for other event types.

heActivityTaskCompletedEventAttributes :: Lens' HistoryEvent (Maybe ActivityTaskCompletedEventAttributes) Source

If the event is of type ActivityTaskCompleted then this member is set and provides detailed information about the event. It is not set for other event types.

heActivityTaskFailedEventAttributes :: Lens' HistoryEvent (Maybe ActivityTaskFailedEventAttributes) Source

If the event is of type ActivityTaskFailed then this member is set and provides detailed information about the event. It is not set for other event types.

heActivityTaskScheduledEventAttributes :: Lens' HistoryEvent (Maybe ActivityTaskScheduledEventAttributes) Source

If the event is of type ActivityTaskScheduled then this member is set and provides detailed information about the event. It is not set for other event types.

heActivityTaskStartedEventAttributes :: Lens' HistoryEvent (Maybe ActivityTaskStartedEventAttributes) Source

If the event is of type ActivityTaskStarted then this member is set and provides detailed information about the event. It is not set for other event types.

heActivityTaskTimedOutEventAttributes :: Lens' HistoryEvent (Maybe ActivityTaskTimedOutEventAttributes) Source

If the event is of type ActivityTaskTimedOut then this member is set and provides detailed information about the event. It is not set for other event types.

heCancelTimerFailedEventAttributes :: Lens' HistoryEvent (Maybe CancelTimerFailedEventAttributes) Source

If the event is of type CancelTimerFailed then this member is set and provides detailed information about the event. It is not set for other event types.

heCancelWorkflowExecutionFailedEventAttributes :: Lens' HistoryEvent (Maybe CancelWorkflowExecutionFailedEventAttributes) Source

If the event is of type CancelWorkflowExecutionFailed then this member is set and provides detailed information about the event. It is not set for other event types.

heChildWorkflowExecutionCanceledEventAttributes :: Lens' HistoryEvent (Maybe ChildWorkflowExecutionCanceledEventAttributes) Source

If the event is of type ChildWorkflowExecutionCanceled then this member is set and provides detailed information about the event. It is not set for other event types.

heChildWorkflowExecutionCompletedEventAttributes :: Lens' HistoryEvent (Maybe ChildWorkflowExecutionCompletedEventAttributes) Source

If the event is of type ChildWorkflowExecutionCompleted then this member is set and provides detailed information about the event. It is not set for other event types.

heChildWorkflowExecutionFailedEventAttributes :: Lens' HistoryEvent (Maybe ChildWorkflowExecutionFailedEventAttributes) Source

If the event is of type ChildWorkflowExecutionFailed then this member is set and provides detailed information about the event. It is not set for other event types.

heChildWorkflowExecutionStartedEventAttributes :: Lens' HistoryEvent (Maybe ChildWorkflowExecutionStartedEventAttributes) Source

If the event is of type ChildWorkflowExecutionStarted then this member is set and provides detailed information about the event. It is not set for other event types.

heChildWorkflowExecutionTerminatedEventAttributes :: Lens' HistoryEvent (Maybe ChildWorkflowExecutionTerminatedEventAttributes) Source

If the event is of type ChildWorkflowExecutionTerminated then this member is set and provides detailed information about the event. It is not set for other event types.

heChildWorkflowExecutionTimedOutEventAttributes :: Lens' HistoryEvent (Maybe ChildWorkflowExecutionTimedOutEventAttributes) Source

If the event is of type ChildWorkflowExecutionTimedOut then this member is set and provides detailed information about the event. It is not set for other event types.

heCompleteWorkflowExecutionFailedEventAttributes :: Lens' HistoryEvent (Maybe CompleteWorkflowExecutionFailedEventAttributes) Source

If the event is of type CompleteWorkflowExecutionFailed then this member is set and provides detailed information about the event. It is not set for other event types.

heContinueAsNewWorkflowExecutionFailedEventAttributes :: Lens' HistoryEvent (Maybe ContinueAsNewWorkflowExecutionFailedEventAttributes) Source

If the event is of type ContinueAsNewWorkflowExecutionFailed then this member is set and provides detailed information about the event. It is not set for other event types.

heDecisionTaskCompletedEventAttributes :: Lens' HistoryEvent (Maybe DecisionTaskCompletedEventAttributes) Source

If the event is of type DecisionTaskCompleted then this member is set and provides detailed information about the event. It is not set for other event types.

heDecisionTaskScheduledEventAttributes :: Lens' HistoryEvent (Maybe DecisionTaskScheduledEventAttributes) Source

If the event is of type DecisionTaskScheduled then this member is set and provides detailed information about the event. It is not set for other event types.

heDecisionTaskStartedEventAttributes :: Lens' HistoryEvent (Maybe DecisionTaskStartedEventAttributes) Source

If the event is of type DecisionTaskStarted then this member is set and provides detailed information about the event. It is not set for other event types.

heDecisionTaskTimedOutEventAttributes :: Lens' HistoryEvent (Maybe DecisionTaskTimedOutEventAttributes) Source

If the event is of type DecisionTaskTimedOut then this member is set and provides detailed information about the event. It is not set for other event types.

heEventId :: Lens' HistoryEvent Integer Source

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

heEventTimestamp :: Lens' HistoryEvent UTCTime Source

The date and time when the event occurred.

heEventType :: Lens' HistoryEvent EventType Source

The type of the history event.

heExternalWorkflowExecutionCancelRequestedEventAttributes :: Lens' HistoryEvent (Maybe ExternalWorkflowExecutionCancelRequestedEventAttributes) Source

If the event is of type ExternalWorkflowExecutionCancelRequested then this member is set and provides detailed information about the event. It is not set for other event types.

heExternalWorkflowExecutionSignaledEventAttributes :: Lens' HistoryEvent (Maybe ExternalWorkflowExecutionSignaledEventAttributes) Source

If the event is of type ExternalWorkflowExecutionSignaled then this member is set and provides detailed information about the event. It is not set for other event types.

heFailWorkflowExecutionFailedEventAttributes :: Lens' HistoryEvent (Maybe FailWorkflowExecutionFailedEventAttributes) Source

If the event is of type FailWorkflowExecutionFailed then this member is set and provides detailed information about the event. It is not set for other event types.

heMarkerRecordedEventAttributes :: Lens' HistoryEvent (Maybe MarkerRecordedEventAttributes) Source

If the event is of type MarkerRecorded then this member is set and provides detailed information about the event. It is not set for other event types.

heRecordMarkerFailedEventAttributes :: Lens' HistoryEvent (Maybe RecordMarkerFailedEventAttributes) Source

If the event is of type DecisionTaskFailed then this member is set and provides detailed information about the event. It is not set for other event types.

heRequestCancelActivityTaskFailedEventAttributes :: Lens' HistoryEvent (Maybe RequestCancelActivityTaskFailedEventAttributes) Source

If the event is of type RequestCancelActivityTaskFailed then this member is set and provides detailed information about the event. It is not set for other event types.

heRequestCancelExternalWorkflowExecutionFailedEventAttributes :: Lens' HistoryEvent (Maybe RequestCancelExternalWorkflowExecutionFailedEventAttributes) Source

If the event is of type RequestCancelExternalWorkflowExecutionFailed then this member is set and provides detailed information about the event. It is not set for other event types.

heRequestCancelExternalWorkflowExecutionInitiatedEventAttributes :: Lens' HistoryEvent (Maybe RequestCancelExternalWorkflowExecutionInitiatedEventAttributes) Source

If the event is of type RequestCancelExternalWorkflowExecutionInitiated then this member is set and provides detailed information about the event. It is not set for other event types.

heScheduleActivityTaskFailedEventAttributes :: Lens' HistoryEvent (Maybe ScheduleActivityTaskFailedEventAttributes) Source

If the event is of type ScheduleActivityTaskFailed then this member is set and provides detailed information about the event. It is not set for other event types.

heSignalExternalWorkflowExecutionFailedEventAttributes :: Lens' HistoryEvent (Maybe SignalExternalWorkflowExecutionFailedEventAttributes) Source

If the event is of type SignalExternalWorkflowExecutionFailed then this member is set and provides detailed information about the event. It is not set for other event types.

heSignalExternalWorkflowExecutionInitiatedEventAttributes :: Lens' HistoryEvent (Maybe SignalExternalWorkflowExecutionInitiatedEventAttributes) Source

If the event is of type SignalExternalWorkflowExecutionInitiated then this member is set and provides detailed information about the event. It is not set for other event types.

heStartChildWorkflowExecutionFailedEventAttributes :: Lens' HistoryEvent (Maybe StartChildWorkflowExecutionFailedEventAttributes) Source

If the event is of type StartChildWorkflowExecutionFailed then this member is set and provides detailed information about the event. It is not set for other event types.

heStartChildWorkflowExecutionInitiatedEventAttributes :: Lens' HistoryEvent (Maybe StartChildWorkflowExecutionInitiatedEventAttributes) Source

If the event is of type StartChildWorkflowExecutionInitiated then this member is set and provides detailed information about the event. It is not set for other event types.

heStartTimerFailedEventAttributes :: Lens' HistoryEvent (Maybe StartTimerFailedEventAttributes) Source

If the event is of type StartTimerFailed then this member is set and provides detailed information about the event. It is not set for other event types.

heTimerCanceledEventAttributes :: Lens' HistoryEvent (Maybe TimerCanceledEventAttributes) Source

If the event is of type TimerCanceled then this member is set and provides detailed information about the event. It is not set for other event types.

heTimerFiredEventAttributes :: Lens' HistoryEvent (Maybe TimerFiredEventAttributes) Source

If the event is of type TimerFired then this member is set and provides detailed information about the event. It is not set for other event types.

heTimerStartedEventAttributes :: Lens' HistoryEvent (Maybe TimerStartedEventAttributes) Source

If the event is of type TimerStarted then this member is set and provides detailed information about the event. It is not set for other event types.

heWorkflowExecutionCancelRequestedEventAttributes :: Lens' HistoryEvent (Maybe WorkflowExecutionCancelRequestedEventAttributes) Source

If the event is of type WorkflowExecutionCancelRequested then this member is set and provides detailed information about the event. It is not set for other event types.

heWorkflowExecutionCanceledEventAttributes :: Lens' HistoryEvent (Maybe WorkflowExecutionCanceledEventAttributes) Source

If the event is of type WorkflowExecutionCanceled then this member is set and provides detailed information about the event. It is not set for other event types.

heWorkflowExecutionCompletedEventAttributes :: Lens' HistoryEvent (Maybe WorkflowExecutionCompletedEventAttributes) Source

If the event is of type WorkflowExecutionCompleted then this member is set and provides detailed information about the event. It is not set for other event types.

heWorkflowExecutionContinuedAsNewEventAttributes :: Lens' HistoryEvent (Maybe WorkflowExecutionContinuedAsNewEventAttributes) Source

If the event is of type WorkflowExecutionContinuedAsNew then this member is set and provides detailed information about the event. It is not set for other event types.

heWorkflowExecutionFailedEventAttributes :: Lens' HistoryEvent (Maybe WorkflowExecutionFailedEventAttributes) Source

If the event is of type WorkflowExecutionFailed then this member is set and provides detailed information about the event. It is not set for other event types.

heWorkflowExecutionSignaledEventAttributes :: Lens' HistoryEvent (Maybe WorkflowExecutionSignaledEventAttributes) Source

If the event is of type WorkflowExecutionSignaled then this member is set and provides detailed information about the event. It is not set for other event types.

heWorkflowExecutionStartedEventAttributes :: Lens' HistoryEvent (Maybe WorkflowExecutionStartedEventAttributes) Source

If the event is of type WorkflowExecutionStarted then this member is set and provides detailed information about the event. It is not set for other event types.

heWorkflowExecutionTerminatedEventAttributes :: Lens' HistoryEvent (Maybe WorkflowExecutionTerminatedEventAttributes) Source

If the event is of type WorkflowExecutionTerminated then this member is set and provides detailed information about the event. It is not set for other event types.

heWorkflowExecutionTimedOutEventAttributes :: Lens' HistoryEvent (Maybe WorkflowExecutionTimedOutEventAttributes) Source

If the event is of type WorkflowExecutionTimedOut then this member is set and provides detailed information about the event. It is not set for other event types.

ContinueAsNewWorkflowExecutionFailedEventAttributes

canwefeaCause :: Lens' ContinueAsNewWorkflowExecutionFailedEventAttributes ContinueAsNewWorkflowExecutionFailedCause Source

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.

canwefeaDecisionTaskCompletedEventId :: Lens' ContinueAsNewWorkflowExecutionFailedEventAttributes Integer Source

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.

SignalExternalWorkflowExecutionInitiatedEventAttributes

seweieaControl :: Lens' SignalExternalWorkflowExecutionInitiatedEventAttributes (Maybe Text) Source

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

seweieaDecisionTaskCompletedEventId :: Lens' SignalExternalWorkflowExecutionInitiatedEventAttributes Integer Source

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.

seweieaRunId :: Lens' SignalExternalWorkflowExecutionInitiatedEventAttributes (Maybe Text) Source

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

CancelTimerDecisionAttributes

cancelTimerDecisionAttributes Source

CancelTimerDecisionAttributes constructor.

The fields accessible through corresponding lenses are:

ctdaTimerId :: Lens' CancelTimerDecisionAttributes Text Source

Required. The unique Id of the timer to cancel.

WorkflowExecutionFailedEventAttributes

wefeaDecisionTaskCompletedEventId :: Lens' WorkflowExecutionFailedEventAttributes Integer Source

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.

wefeaReason :: Lens' WorkflowExecutionFailedEventAttributes (Maybe Text) Source

The descriptive reason provided for the failure (if any).

WorkflowExecutionConfiguration

wecChildPolicy :: Lens' WorkflowExecutionConfiguration ChildPolicy Source

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 will be terminated. REQUEST_CANCEL: a request to cancel will be 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 will be taken. The child executions will continue to run.

wecExecutionStartToCloseTimeout :: Lens' WorkflowExecutionConfiguration Text Source

The total duration for this workflow execution.

The duration is specified in seconds; an integer greater than or equal to 0. The value NONE can be used to specify unlimited duration.

wecTaskList :: Lens' WorkflowExecutionConfiguration TaskList Source

The task list used for the decision tasks generated for this workflow execution.

wecTaskPriority :: Lens' WorkflowExecutionConfiguration (Maybe Text) Source

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

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

wecTaskStartToCloseTimeout :: Lens' WorkflowExecutionConfiguration Text Source

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

The duration is specified in seconds; an integer greater than or equal to 0. The value NONE can be used to specify unlimited duration.

WorkflowExecution

workflowExecution Source

WorkflowExecution constructor.

The fields accessible through corresponding lenses are:

weRunId :: Lens' WorkflowExecution Text Source

A system-generated unique identifier for the workflow execution.

weWorkflowId :: Lens' WorkflowExecution Text Source

The user defined identifier associated with the workflow execution.

RequestCancelExternalWorkflowExecutionFailedCause

ContinueAsNewWorkflowExecutionDecisionAttributes

canwedaChildPolicy :: Lens' ContinueAsNewWorkflowExecutionDecisionAttributes (Maybe ChildPolicy) Source

If set, specifies 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. This policy overrides the default child policy specified when registering the workflow type using RegisterWorkflowType.

The supported child policies are:

TERMINATE: the child executions will be terminated. REQUEST_CANCEL: a request to cancel will be 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 will be taken. The child executions will continue to run. A child policy for this workflow execution must be specified either as a default for the workflow type or through this parameter. If neither this parameter is set nor a default child policy was specified at registration time then a fault will be returned.

canwedaExecutionStartToCloseTimeout :: Lens' ContinueAsNewWorkflowExecutionDecisionAttributes (Maybe Text) Source

If set, specifies the total duration for this workflow execution. This overrides the defaultExecutionStartToCloseTimeout specified when registering the workflow type.

The duration is specified in seconds; an integer greater than or equal to 0. The value NONE can be used to specify unlimited duration.

An execution start-to-close timeout for this workflow execution must be specified either as a default for the workflow type or through this field. If neither this field is set nor a default execution start-to-close timeout was specified at registration time then a fault will be returned.

canwedaInput :: Lens' ContinueAsNewWorkflowExecutionDecisionAttributes (Maybe Text) Source

The input provided to the new workflow execution.

canwedaTagList :: Lens' ContinueAsNewWorkflowExecutionDecisionAttributes [Text] Source

The list of tags to associate with the new workflow execution. A maximum of 5 tags can be specified. You can list workflow executions with a specific tag by calling ListOpenWorkflowExecutions or ListClosedWorkflowExecutions and specifying a TagFilter.

canwedaTaskPriority :: Lens' ContinueAsNewWorkflowExecutionDecisionAttributes (Maybe Text) Source

Optional. The task priority that, if set, specifies the priority for the decision tasks for this workflow execution. This overrides the defaultTaskPriority specified when registering the workflow type. Valid values are integers that range from Java's MIN_VALUE (-2147483648) to MAX_VALUE (2147483647). Higher numbers indicate higher priority.

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

canwedaTaskStartToCloseTimeout :: Lens' ContinueAsNewWorkflowExecutionDecisionAttributes (Maybe Text) Source

Specifies the maximum duration of decision tasks for the new workflow execution. This parameter overrides the defaultTaskStartToCloseTimout specified when registering the workflow type using RegisterWorkflowType.

The duration is specified in seconds; an integer greater than or equal to 0. The value NONE can be used to specify unlimited duration.

A task start-to-close timeout for the new workflow execution must be specified either as a default for the workflow type or through this parameter. If neither this parameter is set nor a default task start-to-close timeout was specified at registration time then a fault will be returned.

ExternalWorkflowExecutionCancelRequestedEventAttributes

ewecreaInitiatedEventId :: Lens' ExternalWorkflowExecutionCancelRequestedEventAttributes Integer Source

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.

ewecreaWorkflowExecution :: Lens' ExternalWorkflowExecutionCancelRequestedEventAttributes WorkflowExecution Source

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

PendingTaskCount

pendingTaskCount Source

PendingTaskCount constructor.

The fields accessible through corresponding lenses are:

ptcCount :: Lens' PendingTaskCount Natural Source

The number of tasks in the task list.

ptcTruncated :: Lens' PendingTaskCount (Maybe Bool) Source

If set to true, indicates that the actual count was more than the maximum supported by this API and the count returned is the truncated value.

WorkflowExecutionContinuedAsNewEventAttributes

wecaneaChildPolicy :: Lens' WorkflowExecutionContinuedAsNewEventAttributes ChildPolicy Source

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 will be terminated. REQUEST_CANCEL: a request to cancel will be 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 will be taken. The child executions will continue to run.

wecaneaDecisionTaskCompletedEventId :: Lens' WorkflowExecutionContinuedAsNewEventAttributes Integer Source

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.

wecaneaExecutionStartToCloseTimeout :: Lens' WorkflowExecutionContinuedAsNewEventAttributes (Maybe Text) Source

The total duration allowed for the new workflow execution.

The duration is specified in seconds; an integer greater than or equal to 0. The value NONE can be used to specify unlimited duration.

wecaneaInput :: Lens' WorkflowExecutionContinuedAsNewEventAttributes (Maybe Text) Source

The input provided to the new workflow execution.

wecaneaTagList :: Lens' WorkflowExecutionContinuedAsNewEventAttributes [Text] Source

The list of tags associated with the new workflow execution.

wecaneaTaskStartToCloseTimeout :: Lens' WorkflowExecutionContinuedAsNewEventAttributes (Maybe Text) Source

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. The value NONE can be used to specify unlimited duration.