amazonka-swf-0.0.4: 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 
type Rep JSONError = D1 D1JSONError (C1 C1_0JSONError ((:*:) (S1 S1_0_0JSONError (Rec0 (Maybe Text))) (S1 S1_0_1JSONError (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

The workflowId of the external workflow execution to cancel. This field is required.

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 valid values are integers greater than or equal to '0'. An integer value can be used to specify the duration in seconds while 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.

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 cause of events.

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 to process the decision. This information is generated by the system and can be useful for diagnostic purposes.

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 cause of events.

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 cause of events.

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 to process the decision. This information is generated by the system and can be useful for diagnostic purposes.

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 cause of events.

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.

CloseStatusFilter

closeStatusFilter Source

CloseStatusFilter constructor.

The fields accessible through corresponding lenses are:

csfStatus :: Lens' CloseStatusFilter CloseStatus Source

The close status that must match the close status of an execution for it to meet the criteria of this filter. This field is required.

WorkflowExecutionTimeoutType

ScheduleActivityTaskDecisionAttributes

satdaActivityId :: Lens' ScheduleActivityTaskDecisionAttributes Text Source

The activityId of the activity task. This field is required.

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 "arn".

satdaActivityType :: Lens' ScheduleActivityTaskDecisionAttributes ActivityType Source

The type of the activity task to schedule. This field is required.

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 valid values are integers greater than or equal to '0'. An integer value can be used to specify the duration in seconds while 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 valid values are integers greater than or equal to '0'. An integer value can be used to specify the duration in seconds while NONE can be used to specify unlimited duration.

satdaScheduleToStartTimeout :: Lens' ScheduleActivityTaskDecisionAttributes (Maybe Text) Source

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 valid values are integers greater than or equal to '0'. An integer value can be used to specify the duration in seconds while NONE can be used to specify unlimited duration.

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 valid values are integers greater than or equal to '0'. An integer value can be used to specify the duration in seconds while NONE can be used to specify unlimited duration.

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.

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 "arn".

ActivityTypeConfiguration

atcDefaultTaskHeartbeatTimeout :: Lens' ActivityTypeConfiguration (Maybe Text) Source

The optional default maximum time, specified when registering the activity type, before which a worker processing a task must report progress by calling RecordActivityTaskHeartbeat. You can override this default when scheduling 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 valid values are integers greater than or equal to '0'. An integer value can be used to specify the duration in seconds while NONE can be used to specify unlimited duration.

atcDefaultTaskList :: Lens' ActivityTypeConfiguration (Maybe TaskList) Source

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

atcDefaultTaskScheduleToCloseTimeout :: Lens' ActivityTypeConfiguration (Maybe Text) Source

The optional 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 valid values are integers greater than or equal to '0'. An integer value can be used to specify the duration in seconds while NONE can be used to specify unlimited duration.

atcDefaultTaskScheduleToStartTimeout :: Lens' ActivityTypeConfiguration (Maybe Text) Source

The optional 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 valid values are integers greater than or equal to '0'. An integer value can be used to specify the duration in seconds while NONE can be used to specify unlimited duration.

atcDefaultTaskStartToCloseTimeout :: Lens' ActivityTypeConfiguration (Maybe Text) Source

The optional 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 valid values are integers greater than or equal to '0'. An integer value can be used to specify the duration in seconds while 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.

atVersion :: Lens' ActivityType Text Source

The version of this activity.

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 to process the decision. This information is generated by the system and can be useful for diagnostic purposes.

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 cause of events.

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 to be provided with the signal.The target workflow execution will use the signal name and input to process the signal.

sewedaRunId :: Lens' SignalExternalWorkflowExecutionDecisionAttributes (Maybe Text) Source

The runId of the workflow execution to be signaled.

sewedaSignalName :: Lens' SignalExternalWorkflowExecutionDecisionAttributes Text Source

The name of the signal.The target workflow execution will use the signal name and input to process the signal. This field is required.

sewedaWorkflowId :: Lens' SignalExternalWorkflowExecutionDecisionAttributes Text Source

The workflowId of the workflow execution to be signaled. This field is required.

WorkflowExecutionTerminatedCause

CancelWorkflowExecutionFailedCause

SignalExternalWorkflowExecutionFailedCause

RecordMarkerDecisionAttributes

rmdaDetails :: Lens' RecordMarkerDecisionAttributes (Maybe Text) Source

Optional details of the marker.

rmdaMarkerName :: Lens' RecordMarkerDecisionAttributes Text Source

The name of the marker. This file is required.

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.

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 cause of events.

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

The duration to wait before firing the timer. This field is required.

The duration is specified in seconds. The valid values are integers greater than or equal to 0.

stdaTimerId :: Lens' StartTimerDecisionAttributes Text Source

The unique Id of the timer. This field is required.

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 "arn".

DecisionType

RequestCancelExternalWorkflowExecutionFailedEventAttributes

rcewefeaCause :: Lens' RequestCancelExternalWorkflowExecutionFailedEventAttributes RequestCancelExternalWorkflowExecutionFailedCause Source

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

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 cause of events.

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 cause of events.

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 valid values are integers greater than or equal to '0'. An integer value can be used to specify the duration in seconds while 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 valid values are integers greater than or equal to '0'. An integer value can be used to specify the duration in seconds while NONE can be used to specify unlimited duration.

WorkflowTypeConfiguration

wtcDefaultChildPolicy :: Lens' WorkflowTypeConfiguration (Maybe ChildPolicy) Source

The optional 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

The optional 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 valid values are integers greater than or equal to '0'. An integer value can be used to specify the duration in seconds while NONE can be used to specify unlimited duration.

wtcDefaultTaskList :: Lens' WorkflowTypeConfiguration (Maybe TaskList) Source

The optional 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.

wtcDefaultTaskStartToCloseTimeout :: Lens' WorkflowTypeConfiguration (Maybe Text) Source

The optional 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 valid values are integers greater than or equal to '0'. An integer value can be used to specify the duration in seconds while 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

The name of the workflow type. This field is required.

wtVersion :: Lens' WorkflowType Text Source

The version of the workflow type. This field is required.

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 to process the decision. This information is generated by the system and can be useful for diagnostic purposes.

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 cause of events.

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

The token of the next page in the result. If set, the results have more than one page. The next page can be retrieved by repeating the request with this token and all other arguments unchanged.

StartChildWorkflowExecutionDecisionAttributes

scwedaChildPolicy :: Lens' StartChildWorkflowExecutionDecisionAttributes (Maybe ChildPolicy) Source

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.

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 valid values are integers greater than or equal to '0'. An integer value can be used to specify the duration in seconds while NONE can be used to specify unlimited duration.

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.

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 "arn".

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 valid values are integers greater than or equal to '0'. An integer value can be used to specify the duration in seconds while NONE can be used to specify unlimited duration.

scwedaWorkflowId :: Lens' StartChildWorkflowExecutionDecisionAttributes Text Source

The workflowId of the workflow execution. This field is required.

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 "arn".

scwedaWorkflowType :: Lens' StartChildWorkflowExecutionDecisionAttributes WorkflowType Source

The type of the workflow execution to be started. This field is required.

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 to process the decision. This information is generated by the system and can be useful for diagnostic purposes.

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 cause of events.

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 valid values are integers greater than or equal to '0'. An integer value can be used to specify the duration in seconds while 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.

scweieaTaskStartToCloseTimeout :: Lens' StartChildWorkflowExecutionInitiatedEventAttributes (Maybe Text) Source

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

The valid values are integers greater than or equal to '0'. An integer value can be used to specify the duration in seconds while 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.

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 cause of events.

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 to process the decision. This information is generated by the system and can be useful for diagnostic purposes.

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 cause 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

Specifies the tag that must be associated with the execution for it to meet the filter criteria. This field is required.

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 cause of events.

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 cause of events.

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 cause of events.

tseaStartToFireTimeout :: Lens' TimerStartedEventAttributes Text Source

The duration of time after which the timer will fire.

The duration is specified in seconds. The valid values are integers 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.

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 cause of events.

StartChildWorkflowExecutionFailedEventAttributes

scwefeaCause :: Lens' StartChildWorkflowExecutionFailedEventAttributes StartChildWorkflowExecutionFailedCause Source

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

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

Name of the workflow type. This field is required.

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.

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 cause of events.

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 cause 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

The unique Id of the timer to cancel. This field is required.

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 cause of events.

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 valid values are integers greater than or equal to '0'. An integer value can be used to specify the duration in seconds while 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.

wecTaskStartToCloseTimeout :: Lens' WorkflowExecutionConfiguration Text Source

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

The valid values are integers greater than or equal to '0'. An integer value can be used to specify the duration in seconds while 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.

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 valid values are integers greater than or equal to '0'. An integer value can be used to specify the duration in seconds while NONE can be used to specify unlimited duration.

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.

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 valid values are integers greater than or equal to '0'. An integer value can be used to specify the duration in seconds while NONE can be used to specify unlimited duration.

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 cause of events.

wecaneaExecutionStartToCloseTimeout :: Lens' WorkflowExecutionContinuedAsNewEventAttributes (Maybe Text) Source

The total duration allowed for the new workflow execution.

The valid values are integers greater than or equal to '0'. An integer value can be used to specify the duration in seconds while 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 valid values are integers greater than or equal to '0'. An integer value can be used to specify the duration in seconds while NONE can be used to specify unlimited duration.