Copyright | (c) 2013-2015 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
- Service Configuration
- Errors
- Waiters
- Operations
- ListActivityTypes (Paginated)
- ListOpenWorkflowExecutions (Paginated)
- RegisterActivityType
- CountPendingActivityTasks
- RegisterWorkflowType
- RespondActivityTaskFailed
- ListWorkflowTypes (Paginated)
- CountOpenWorkflowExecutions
- DescribeWorkflowType
- RequestCancelWorkflowExecution
- DeprecateWorkflowType
- RespondDecisionTaskCompleted
- RegisterDomain
- DescribeWorkflowExecution
- PollForActivityTask
- RespondActivityTaskCompleted
- SignalWorkflowExecution
- CountPendingDecisionTasks
- ListClosedWorkflowExecutions (Paginated)
- RecordActivityTaskHeartbeat
- DescribeDomain
- DeprecateDomain
- GetWorkflowExecutionHistory (Paginated)
- DescribeActivityType
- DeprecateActivityType
- TerminateWorkflowExecution
- CountClosedWorkflowExecutions
- RespondActivityTaskCanceled
- ListDomains (Paginated)
- StartWorkflowExecution
- PollForDecisionTask (Paginated)
- Types
- ActivityTaskTimeoutType
- CancelTimerFailedCause
- CancelWorkflowExecutionFailedCause
- ChildPolicy
- CloseStatus
- CompleteWorkflowExecutionFailedCause
- ContinueAsNewWorkflowExecutionFailedCause
- DecisionTaskTimeoutType
- DecisionType
- EventType
- ExecutionStatus
- FailWorkflowExecutionFailedCause
- LambdaFunctionTimeoutType
- RecordMarkerFailedCause
- RegistrationStatus
- RequestCancelActivityTaskFailedCause
- RequestCancelExternalWorkflowExecutionFailedCause
- ScheduleActivityTaskFailedCause
- ScheduleLambdaFunctionFailedCause
- SignalExternalWorkflowExecutionFailedCause
- StartChildWorkflowExecutionFailedCause
- StartLambdaFunctionFailedCause
- StartTimerFailedCause
- WorkflowExecutionCancelRequestedCause
- WorkflowExecutionTerminatedCause
- WorkflowExecutionTimeoutType
- ActivityTaskCancelRequestedEventAttributes
- ActivityTaskCanceledEventAttributes
- ActivityTaskCompletedEventAttributes
- ActivityTaskFailedEventAttributes
- ActivityTaskScheduledEventAttributes
- ActivityTaskStartedEventAttributes
- ActivityTaskTimedOutEventAttributes
- ActivityType
- ActivityTypeConfiguration
- ActivityTypeInfo
- CancelTimerDecisionAttributes
- CancelTimerFailedEventAttributes
- CancelWorkflowExecutionDecisionAttributes
- CancelWorkflowExecutionFailedEventAttributes
- ChildWorkflowExecutionCanceledEventAttributes
- ChildWorkflowExecutionCompletedEventAttributes
- ChildWorkflowExecutionFailedEventAttributes
- ChildWorkflowExecutionStartedEventAttributes
- ChildWorkflowExecutionTerminatedEventAttributes
- ChildWorkflowExecutionTimedOutEventAttributes
- CloseStatusFilter
- CompleteWorkflowExecutionDecisionAttributes
- CompleteWorkflowExecutionFailedEventAttributes
- ContinueAsNewWorkflowExecutionDecisionAttributes
- ContinueAsNewWorkflowExecutionFailedEventAttributes
- Decision
- DecisionTaskCompletedEventAttributes
- DecisionTaskScheduledEventAttributes
- DecisionTaskStartedEventAttributes
- DecisionTaskTimedOutEventAttributes
- DomainConfiguration
- DomainInfo
- ExecutionTimeFilter
- ExternalWorkflowExecutionCancelRequestedEventAttributes
- ExternalWorkflowExecutionSignaledEventAttributes
- FailWorkflowExecutionDecisionAttributes
- FailWorkflowExecutionFailedEventAttributes
- HistoryEvent
- LambdaFunctionCompletedEventAttributes
- LambdaFunctionFailedEventAttributes
- LambdaFunctionScheduledEventAttributes
- LambdaFunctionStartedEventAttributes
- LambdaFunctionTimedOutEventAttributes
- MarkerRecordedEventAttributes
- PendingTaskCount
- RecordMarkerDecisionAttributes
- RecordMarkerFailedEventAttributes
- RequestCancelActivityTaskDecisionAttributes
- RequestCancelActivityTaskFailedEventAttributes
- RequestCancelExternalWorkflowExecutionDecisionAttributes
- RequestCancelExternalWorkflowExecutionFailedEventAttributes
- RequestCancelExternalWorkflowExecutionInitiatedEventAttributes
- ScheduleActivityTaskDecisionAttributes
- ScheduleActivityTaskFailedEventAttributes
- ScheduleLambdaFunctionDecisionAttributes
- ScheduleLambdaFunctionFailedEventAttributes
- SignalExternalWorkflowExecutionDecisionAttributes
- SignalExternalWorkflowExecutionFailedEventAttributes
- SignalExternalWorkflowExecutionInitiatedEventAttributes
- StartChildWorkflowExecutionDecisionAttributes
- StartChildWorkflowExecutionFailedEventAttributes
- StartChildWorkflowExecutionInitiatedEventAttributes
- StartLambdaFunctionFailedEventAttributes
- StartTimerDecisionAttributes
- StartTimerFailedEventAttributes
- TagFilter
- TaskList
- TimerCanceledEventAttributes
- TimerFiredEventAttributes
- TimerStartedEventAttributes
- WorkflowExecution
- WorkflowExecutionCancelRequestedEventAttributes
- WorkflowExecutionCanceledEventAttributes
- WorkflowExecutionCompletedEventAttributes
- WorkflowExecutionConfiguration
- WorkflowExecutionContinuedAsNewEventAttributes
- WorkflowExecutionCount
- WorkflowExecutionFailedEventAttributes
- WorkflowExecutionFilter
- WorkflowExecutionInfo
- WorkflowExecutionInfos
- WorkflowExecutionOpenCounts
- WorkflowExecutionSignaledEventAttributes
- WorkflowExecutionStartedEventAttributes
- WorkflowExecutionTerminatedEventAttributes
- WorkflowExecutionTimedOutEventAttributes
- WorkflowType
- WorkflowTypeConfiguration
- WorkflowTypeFilter
- WorkflowTypeInfo
Amazon Simple Workflow Service
The Amazon Simple Workflow Service (Amazon SWF) makes it easy to build applications that use Amazon's cloud to coordinate work across distributed components. In Amazon SWF, a task represents a logical unit of work that is performed by a component of your workflow. Coordinating tasks in a workflow involves managing intertask dependencies, scheduling, and concurrency in accordance with the logical flow of the application.
Amazon SWF gives you full control over implementing tasks and coordinating them without worrying about underlying complexities such as tracking their progress and maintaining their state.
This documentation serves as reference only. For a broader overview of the Amazon SWF programming model, see the Amazon SWF Developer Guide.
See: AWS API Reference
- sWF :: Service
- _LimitExceededFault :: AsError a => Getting (First ServiceError) a ServiceError
- _WorkflowExecutionAlreadyStartedFault :: AsError a => Getting (First ServiceError) a ServiceError
- _DomainAlreadyExistsFault :: AsError a => Getting (First ServiceError) a ServiceError
- _UnknownResourceFault :: AsError a => Getting (First ServiceError) a ServiceError
- _OperationNotPermittedFault :: AsError a => Getting (First ServiceError) a ServiceError
- _DefaultUndefinedFault :: AsError a => Getting (First ServiceError) a ServiceError
- _TypeDeprecatedFault :: AsError a => Getting (First ServiceError) a ServiceError
- _TypeAlreadyExistsFault :: AsError a => Getting (First ServiceError) a ServiceError
- _DomainDeprecatedFault :: AsError a => Getting (First ServiceError) a ServiceError
- module Network.AWS.SWF.ListActivityTypes
- module Network.AWS.SWF.ListOpenWorkflowExecutions
- module Network.AWS.SWF.RegisterActivityType
- module Network.AWS.SWF.CountPendingActivityTasks
- module Network.AWS.SWF.RegisterWorkflowType
- module Network.AWS.SWF.RespondActivityTaskFailed
- module Network.AWS.SWF.ListWorkflowTypes
- module Network.AWS.SWF.CountOpenWorkflowExecutions
- module Network.AWS.SWF.DescribeWorkflowType
- module Network.AWS.SWF.RequestCancelWorkflowExecution
- module Network.AWS.SWF.DeprecateWorkflowType
- module Network.AWS.SWF.RespondDecisionTaskCompleted
- module Network.AWS.SWF.RegisterDomain
- module Network.AWS.SWF.DescribeWorkflowExecution
- module Network.AWS.SWF.PollForActivityTask
- module Network.AWS.SWF.RespondActivityTaskCompleted
- module Network.AWS.SWF.SignalWorkflowExecution
- module Network.AWS.SWF.CountPendingDecisionTasks
- module Network.AWS.SWF.ListClosedWorkflowExecutions
- module Network.AWS.SWF.RecordActivityTaskHeartbeat
- module Network.AWS.SWF.DescribeDomain
- module Network.AWS.SWF.DeprecateDomain
- module Network.AWS.SWF.GetWorkflowExecutionHistory
- module Network.AWS.SWF.DescribeActivityType
- module Network.AWS.SWF.DeprecateActivityType
- module Network.AWS.SWF.TerminateWorkflowExecution
- module Network.AWS.SWF.CountClosedWorkflowExecutions
- module Network.AWS.SWF.RespondActivityTaskCanceled
- module Network.AWS.SWF.ListDomains
- module Network.AWS.SWF.StartWorkflowExecution
- module Network.AWS.SWF.PollForDecisionTask
- data ActivityTaskTimeoutType
- data CancelTimerFailedCause
- data CancelWorkflowExecutionFailedCause
- data ChildPolicy
- data CloseStatus
- data CompleteWorkflowExecutionFailedCause
- data ContinueAsNewWorkflowExecutionFailedCause
- = CANWEFCContinueAsNewWorkflowExecutionRateExceeded
- | CANWEFCDefaultChildPolicyUndefined
- | CANWEFCDefaultExecutionStartToCloseTimeoutUndefined
- | CANWEFCDefaultTaskListUndefined
- | CANWEFCDefaultTaskStartToCloseTimeoutUndefined
- | CANWEFCOperationNotPermitted
- | CANWEFCUnhandledDecision
- | CANWEFCWorkflowTypeDeprecated
- | CANWEFCWorkflowTypeDoesNotExist
- data DecisionTaskTimeoutType = StartToClose
- data DecisionType
- = CancelTimer
- | CancelWorkflowExecution
- | CompleteWorkflowExecution
- | ContinueAsNewWorkflowExecution
- | FailWorkflowExecution
- | RecordMarker
- | RequestCancelActivityTask
- | RequestCancelExternalWorkflowExecution
- | ScheduleActivityTask
- | ScheduleLambdaFunction
- | SignalExternalWorkflowExecution
- | StartChildWorkflowExecution
- | StartTimer
- data EventType
- = ActivityTaskCancelRequested
- | ActivityTaskCanceled
- | ActivityTaskCompleted
- | ActivityTaskFailed
- | ActivityTaskScheduled
- | ActivityTaskStarted
- | ActivityTaskTimedOut
- | CancelTimerFailed
- | CancelWorkflowExecutionFailed
- | ChildWorkflowExecutionCanceled
- | ChildWorkflowExecutionCompleted
- | ChildWorkflowExecutionFailed
- | ChildWorkflowExecutionStarted
- | ChildWorkflowExecutionTerminated
- | ChildWorkflowExecutionTimedOut
- | CompleteWorkflowExecutionFailed
- | ContinueAsNewWorkflowExecutionFailed
- | DecisionTaskCompleted
- | DecisionTaskScheduled
- | DecisionTaskStarted
- | DecisionTaskTimedOut
- | ExternalWorkflowExecutionCancelRequested
- | ExternalWorkflowExecutionSignaled
- | FailWorkflowExecutionFailed
- | LambdaFunctionCompleted
- | LambdaFunctionFailed
- | LambdaFunctionScheduled
- | LambdaFunctionStarted
- | LambdaFunctionTimedOut
- | MarkerRecorded
- | RecordMarkerFailed
- | RequestCancelActivityTaskFailed
- | RequestCancelExternalWorkflowExecutionFailed
- | RequestCancelExternalWorkflowExecutionInitiated
- | ScheduleActivityTaskFailed
- | ScheduleLambdaFunctionFailed
- | SignalExternalWorkflowExecutionFailed
- | SignalExternalWorkflowExecutionInitiated
- | StartChildWorkflowExecutionFailed
- | StartChildWorkflowExecutionInitiated
- | StartLambdaFunctionFailed
- | StartTimerFailed
- | TimerCanceled
- | TimerFired
- | TimerStarted
- | WorkflowExecutionCancelRequested
- | WorkflowExecutionCanceled
- | WorkflowExecutionCompleted
- | WorkflowExecutionContinuedAsNew
- | WorkflowExecutionFailed
- | WorkflowExecutionSignaled
- | WorkflowExecutionStarted
- | WorkflowExecutionTerminated
- | WorkflowExecutionTimedOut
- data ExecutionStatus
- data FailWorkflowExecutionFailedCause
- data LambdaFunctionTimeoutType = LFTTStartToClose
- data RecordMarkerFailedCause = RMFCOperationNotPermitted
- data RegistrationStatus
- data RequestCancelActivityTaskFailedCause
- data RequestCancelExternalWorkflowExecutionFailedCause
- data ScheduleActivityTaskFailedCause
- = SATFCActivityCreationRateExceeded
- | SATFCActivityIdAlreadyInUse
- | SATFCActivityTypeDeprecated
- | SATFCActivityTypeDoesNotExist
- | SATFCDefaultHeartbeatTimeoutUndefined
- | SATFCDefaultScheduleToCloseTimeoutUndefined
- | SATFCDefaultScheduleToStartTimeoutUndefined
- | SATFCDefaultStartToCloseTimeoutUndefined
- | SATFCDefaultTaskListUndefined
- | SATFCOpenActivitiesLimitExceeded
- | SATFCOperationNotPermitted
- data ScheduleLambdaFunctionFailedCause
- data SignalExternalWorkflowExecutionFailedCause
- data StartChildWorkflowExecutionFailedCause
- = SCWEFCChildCreationRateExceeded
- | SCWEFCDefaultChildPolicyUndefined
- | SCWEFCDefaultExecutionStartToCloseTimeoutUndefined
- | SCWEFCDefaultTaskListUndefined
- | SCWEFCDefaultTaskStartToCloseTimeoutUndefined
- | SCWEFCOpenChildrenLimitExceeded
- | SCWEFCOpenWorkflowsLimitExceeded
- | SCWEFCOperationNotPermitted
- | SCWEFCWorkflowAlreadyRunning
- | SCWEFCWorkflowTypeDeprecated
- | SCWEFCWorkflowTypeDoesNotExist
- data StartLambdaFunctionFailedCause = AssumeRoleFailed
- data StartTimerFailedCause
- data WorkflowExecutionCancelRequestedCause = ChildPolicyApplied
- data WorkflowExecutionTerminatedCause
- data WorkflowExecutionTimeoutType = WETTStartToClose
- data ActivityTaskCancelRequestedEventAttributes
- activityTaskCancelRequestedEventAttributes :: Integer -> Text -> ActivityTaskCancelRequestedEventAttributes
- atcreaDecisionTaskCompletedEventId :: Lens' ActivityTaskCancelRequestedEventAttributes Integer
- atcreaActivityId :: Lens' ActivityTaskCancelRequestedEventAttributes Text
- data ActivityTaskCanceledEventAttributes
- activityTaskCanceledEventAttributes :: Integer -> Integer -> ActivityTaskCanceledEventAttributes
- aLatestCancelRequestedEventId :: Lens' ActivityTaskCanceledEventAttributes (Maybe Integer)
- aDetails :: Lens' ActivityTaskCanceledEventAttributes (Maybe Text)
- aScheduledEventId :: Lens' ActivityTaskCanceledEventAttributes Integer
- aStartedEventId :: Lens' ActivityTaskCanceledEventAttributes Integer
- data ActivityTaskCompletedEventAttributes
- activityTaskCompletedEventAttributes :: Integer -> Integer -> ActivityTaskCompletedEventAttributes
- atceaResult :: Lens' ActivityTaskCompletedEventAttributes (Maybe Text)
- atceaScheduledEventId :: Lens' ActivityTaskCompletedEventAttributes Integer
- atceaStartedEventId :: Lens' ActivityTaskCompletedEventAttributes Integer
- data ActivityTaskFailedEventAttributes
- activityTaskFailedEventAttributes :: Integer -> Integer -> ActivityTaskFailedEventAttributes
- atfeaReason :: Lens' ActivityTaskFailedEventAttributes (Maybe Text)
- atfeaDetails :: Lens' ActivityTaskFailedEventAttributes (Maybe Text)
- atfeaScheduledEventId :: Lens' ActivityTaskFailedEventAttributes Integer
- atfeaStartedEventId :: Lens' ActivityTaskFailedEventAttributes Integer
- data ActivityTaskScheduledEventAttributes
- activityTaskScheduledEventAttributes :: ActivityType -> Text -> TaskList -> Integer -> ActivityTaskScheduledEventAttributes
- atseaControl :: Lens' ActivityTaskScheduledEventAttributes (Maybe Text)
- atseaScheduleToCloseTimeout :: Lens' ActivityTaskScheduledEventAttributes (Maybe Text)
- atseaHeartbeatTimeout :: Lens' ActivityTaskScheduledEventAttributes (Maybe Text)
- atseaInput :: Lens' ActivityTaskScheduledEventAttributes (Maybe Text)
- atseaTaskPriority :: Lens' ActivityTaskScheduledEventAttributes (Maybe Text)
- atseaScheduleToStartTimeout :: Lens' ActivityTaskScheduledEventAttributes (Maybe Text)
- atseaStartToCloseTimeout :: Lens' ActivityTaskScheduledEventAttributes (Maybe Text)
- atseaActivityType :: Lens' ActivityTaskScheduledEventAttributes ActivityType
- atseaActivityId :: Lens' ActivityTaskScheduledEventAttributes Text
- atseaTaskList :: Lens' ActivityTaskScheduledEventAttributes TaskList
- atseaDecisionTaskCompletedEventId :: Lens' ActivityTaskScheduledEventAttributes Integer
- data ActivityTaskStartedEventAttributes
- activityTaskStartedEventAttributes :: Integer -> ActivityTaskStartedEventAttributes
- atseaIdentity :: Lens' ActivityTaskStartedEventAttributes (Maybe Text)
- atseaScheduledEventId :: Lens' ActivityTaskStartedEventAttributes Integer
- data ActivityTaskTimedOutEventAttributes
- activityTaskTimedOutEventAttributes :: ActivityTaskTimeoutType -> Integer -> Integer -> ActivityTaskTimedOutEventAttributes
- attoeaDetails :: Lens' ActivityTaskTimedOutEventAttributes (Maybe Text)
- attoeaTimeoutType :: Lens' ActivityTaskTimedOutEventAttributes ActivityTaskTimeoutType
- attoeaScheduledEventId :: Lens' ActivityTaskTimedOutEventAttributes Integer
- attoeaStartedEventId :: Lens' ActivityTaskTimedOutEventAttributes Integer
- data ActivityType
- activityType :: Text -> Text -> ActivityType
- atName :: Lens' ActivityType Text
- atVersion :: Lens' ActivityType Text
- data ActivityTypeConfiguration
- activityTypeConfiguration :: ActivityTypeConfiguration
- atcDefaultTaskScheduleToStartTimeout :: Lens' ActivityTypeConfiguration (Maybe Text)
- atcDefaultTaskList :: Lens' ActivityTypeConfiguration (Maybe TaskList)
- atcDefaultTaskPriority :: Lens' ActivityTypeConfiguration (Maybe Text)
- atcDefaultTaskHeartbeatTimeout :: Lens' ActivityTypeConfiguration (Maybe Text)
- atcDefaultTaskScheduleToCloseTimeout :: Lens' ActivityTypeConfiguration (Maybe Text)
- atcDefaultTaskStartToCloseTimeout :: Lens' ActivityTypeConfiguration (Maybe Text)
- data ActivityTypeInfo
- activityTypeInfo :: ActivityType -> RegistrationStatus -> UTCTime -> ActivityTypeInfo
- atiDeprecationDate :: Lens' ActivityTypeInfo (Maybe UTCTime)
- atiDescription :: Lens' ActivityTypeInfo (Maybe Text)
- atiActivityType :: Lens' ActivityTypeInfo ActivityType
- atiStatus :: Lens' ActivityTypeInfo RegistrationStatus
- atiCreationDate :: Lens' ActivityTypeInfo UTCTime
- data CancelTimerDecisionAttributes
- cancelTimerDecisionAttributes :: Text -> CancelTimerDecisionAttributes
- ctdaTimerId :: Lens' CancelTimerDecisionAttributes Text
- data CancelTimerFailedEventAttributes
- cancelTimerFailedEventAttributes :: Text -> CancelTimerFailedCause -> Integer -> CancelTimerFailedEventAttributes
- ctfeaTimerId :: Lens' CancelTimerFailedEventAttributes Text
- ctfeaCause :: Lens' CancelTimerFailedEventAttributes CancelTimerFailedCause
- ctfeaDecisionTaskCompletedEventId :: Lens' CancelTimerFailedEventAttributes Integer
- data CancelWorkflowExecutionDecisionAttributes
- cancelWorkflowExecutionDecisionAttributes :: CancelWorkflowExecutionDecisionAttributes
- cwedaDetails :: Lens' CancelWorkflowExecutionDecisionAttributes (Maybe Text)
- data CancelWorkflowExecutionFailedEventAttributes
- cancelWorkflowExecutionFailedEventAttributes :: CancelWorkflowExecutionFailedCause -> Integer -> CancelWorkflowExecutionFailedEventAttributes
- cCause :: Lens' CancelWorkflowExecutionFailedEventAttributes CancelWorkflowExecutionFailedCause
- cDecisionTaskCompletedEventId :: Lens' CancelWorkflowExecutionFailedEventAttributes Integer
- data ChildWorkflowExecutionCanceledEventAttributes
- childWorkflowExecutionCanceledEventAttributes :: WorkflowExecution -> WorkflowType -> Integer -> Integer -> ChildWorkflowExecutionCanceledEventAttributes
- cDetails :: Lens' ChildWorkflowExecutionCanceledEventAttributes (Maybe Text)
- cWorkflowExecution :: Lens' ChildWorkflowExecutionCanceledEventAttributes WorkflowExecution
- cWorkflowType :: Lens' ChildWorkflowExecutionCanceledEventAttributes WorkflowType
- cInitiatedEventId :: Lens' ChildWorkflowExecutionCanceledEventAttributes Integer
- cStartedEventId :: Lens' ChildWorkflowExecutionCanceledEventAttributes Integer
- data ChildWorkflowExecutionCompletedEventAttributes
- childWorkflowExecutionCompletedEventAttributes :: WorkflowExecution -> WorkflowType -> Integer -> Integer -> ChildWorkflowExecutionCompletedEventAttributes
- cweceaResult :: Lens' ChildWorkflowExecutionCompletedEventAttributes (Maybe Text)
- cweceaWorkflowExecution :: Lens' ChildWorkflowExecutionCompletedEventAttributes WorkflowExecution
- cweceaWorkflowType :: Lens' ChildWorkflowExecutionCompletedEventAttributes WorkflowType
- cweceaInitiatedEventId :: Lens' ChildWorkflowExecutionCompletedEventAttributes Integer
- cweceaStartedEventId :: Lens' ChildWorkflowExecutionCompletedEventAttributes Integer
- data ChildWorkflowExecutionFailedEventAttributes
- childWorkflowExecutionFailedEventAttributes :: WorkflowExecution -> WorkflowType -> Integer -> Integer -> ChildWorkflowExecutionFailedEventAttributes
- cwefeaReason :: Lens' ChildWorkflowExecutionFailedEventAttributes (Maybe Text)
- cwefeaDetails :: Lens' ChildWorkflowExecutionFailedEventAttributes (Maybe Text)
- cwefeaWorkflowExecution :: Lens' ChildWorkflowExecutionFailedEventAttributes WorkflowExecution
- cwefeaWorkflowType :: Lens' ChildWorkflowExecutionFailedEventAttributes WorkflowType
- cwefeaInitiatedEventId :: Lens' ChildWorkflowExecutionFailedEventAttributes Integer
- cwefeaStartedEventId :: Lens' ChildWorkflowExecutionFailedEventAttributes Integer
- data ChildWorkflowExecutionStartedEventAttributes
- childWorkflowExecutionStartedEventAttributes :: WorkflowExecution -> WorkflowType -> Integer -> ChildWorkflowExecutionStartedEventAttributes
- cweseaWorkflowExecution :: Lens' ChildWorkflowExecutionStartedEventAttributes WorkflowExecution
- cweseaWorkflowType :: Lens' ChildWorkflowExecutionStartedEventAttributes WorkflowType
- cweseaInitiatedEventId :: Lens' ChildWorkflowExecutionStartedEventAttributes Integer
- data ChildWorkflowExecutionTerminatedEventAttributes
- childWorkflowExecutionTerminatedEventAttributes :: WorkflowExecution -> WorkflowType -> Integer -> Integer -> ChildWorkflowExecutionTerminatedEventAttributes
- cweteaWorkflowExecution :: Lens' ChildWorkflowExecutionTerminatedEventAttributes WorkflowExecution
- cweteaWorkflowType :: Lens' ChildWorkflowExecutionTerminatedEventAttributes WorkflowType
- cweteaInitiatedEventId :: Lens' ChildWorkflowExecutionTerminatedEventAttributes Integer
- cweteaStartedEventId :: Lens' ChildWorkflowExecutionTerminatedEventAttributes Integer
- data ChildWorkflowExecutionTimedOutEventAttributes
- childWorkflowExecutionTimedOutEventAttributes :: WorkflowExecution -> WorkflowType -> WorkflowExecutionTimeoutType -> Integer -> Integer -> ChildWorkflowExecutionTimedOutEventAttributes
- cwetoeaWorkflowExecution :: Lens' ChildWorkflowExecutionTimedOutEventAttributes WorkflowExecution
- cwetoeaWorkflowType :: Lens' ChildWorkflowExecutionTimedOutEventAttributes WorkflowType
- cwetoeaTimeoutType :: Lens' ChildWorkflowExecutionTimedOutEventAttributes WorkflowExecutionTimeoutType
- cwetoeaInitiatedEventId :: Lens' ChildWorkflowExecutionTimedOutEventAttributes Integer
- cwetoeaStartedEventId :: Lens' ChildWorkflowExecutionTimedOutEventAttributes Integer
- data CloseStatusFilter
- closeStatusFilter :: CloseStatus -> CloseStatusFilter
- csfStatus :: Lens' CloseStatusFilter CloseStatus
- data CompleteWorkflowExecutionDecisionAttributes
- completeWorkflowExecutionDecisionAttributes :: CompleteWorkflowExecutionDecisionAttributes
- cwedaResult :: Lens' CompleteWorkflowExecutionDecisionAttributes (Maybe Text)
- data CompleteWorkflowExecutionFailedEventAttributes
- completeWorkflowExecutionFailedEventAttributes :: CompleteWorkflowExecutionFailedCause -> Integer -> CompleteWorkflowExecutionFailedEventAttributes
- cwefeaCause :: Lens' CompleteWorkflowExecutionFailedEventAttributes CompleteWorkflowExecutionFailedCause
- cwefeaDecisionTaskCompletedEventId :: Lens' CompleteWorkflowExecutionFailedEventAttributes Integer
- data ContinueAsNewWorkflowExecutionDecisionAttributes
- continueAsNewWorkflowExecutionDecisionAttributes :: ContinueAsNewWorkflowExecutionDecisionAttributes
- canwedaTagList :: Lens' ContinueAsNewWorkflowExecutionDecisionAttributes [Text]
- canwedaTaskStartToCloseTimeout :: Lens' ContinueAsNewWorkflowExecutionDecisionAttributes (Maybe Text)
- canwedaLambdaRole :: Lens' ContinueAsNewWorkflowExecutionDecisionAttributes (Maybe Text)
- canwedaInput :: Lens' ContinueAsNewWorkflowExecutionDecisionAttributes (Maybe Text)
- canwedaWorkflowTypeVersion :: Lens' ContinueAsNewWorkflowExecutionDecisionAttributes (Maybe Text)
- canwedaExecutionStartToCloseTimeout :: Lens' ContinueAsNewWorkflowExecutionDecisionAttributes (Maybe Text)
- canwedaTaskList :: Lens' ContinueAsNewWorkflowExecutionDecisionAttributes (Maybe TaskList)
- canwedaTaskPriority :: Lens' ContinueAsNewWorkflowExecutionDecisionAttributes (Maybe Text)
- canwedaChildPolicy :: Lens' ContinueAsNewWorkflowExecutionDecisionAttributes (Maybe ChildPolicy)
- data ContinueAsNewWorkflowExecutionFailedEventAttributes
- continueAsNewWorkflowExecutionFailedEventAttributes :: ContinueAsNewWorkflowExecutionFailedCause -> Integer -> ContinueAsNewWorkflowExecutionFailedEventAttributes
- canwefeaCause :: Lens' ContinueAsNewWorkflowExecutionFailedEventAttributes ContinueAsNewWorkflowExecutionFailedCause
- canwefeaDecisionTaskCompletedEventId :: Lens' ContinueAsNewWorkflowExecutionFailedEventAttributes Integer
- data Decision
- decision :: DecisionType -> Decision
- dRequestCancelExternalWorkflowExecutionDecisionAttributes :: Lens' Decision (Maybe RequestCancelExternalWorkflowExecutionDecisionAttributes)
- dScheduleActivityTaskDecisionAttributes :: Lens' Decision (Maybe ScheduleActivityTaskDecisionAttributes)
- dSignalExternalWorkflowExecutionDecisionAttributes :: Lens' Decision (Maybe SignalExternalWorkflowExecutionDecisionAttributes)
- dStartTimerDecisionAttributes :: Lens' Decision (Maybe StartTimerDecisionAttributes)
- dRecordMarkerDecisionAttributes :: Lens' Decision (Maybe RecordMarkerDecisionAttributes)
- dFailWorkflowExecutionDecisionAttributes :: Lens' Decision (Maybe FailWorkflowExecutionDecisionAttributes)
- dStartChildWorkflowExecutionDecisionAttributes :: Lens' Decision (Maybe StartChildWorkflowExecutionDecisionAttributes)
- dScheduleLambdaFunctionDecisionAttributes :: Lens' Decision (Maybe ScheduleLambdaFunctionDecisionAttributes)
- dCompleteWorkflowExecutionDecisionAttributes :: Lens' Decision (Maybe CompleteWorkflowExecutionDecisionAttributes)
- dRequestCancelActivityTaskDecisionAttributes :: Lens' Decision (Maybe RequestCancelActivityTaskDecisionAttributes)
- dCancelWorkflowExecutionDecisionAttributes :: Lens' Decision (Maybe CancelWorkflowExecutionDecisionAttributes)
- dCancelTimerDecisionAttributes :: Lens' Decision (Maybe CancelTimerDecisionAttributes)
- dContinueAsNewWorkflowExecutionDecisionAttributes :: Lens' Decision (Maybe ContinueAsNewWorkflowExecutionDecisionAttributes)
- dDecisionType :: Lens' Decision DecisionType
- data DecisionTaskCompletedEventAttributes
- decisionTaskCompletedEventAttributes :: Integer -> Integer -> DecisionTaskCompletedEventAttributes
- dtceaExecutionContext :: Lens' DecisionTaskCompletedEventAttributes (Maybe Text)
- dtceaScheduledEventId :: Lens' DecisionTaskCompletedEventAttributes Integer
- dtceaStartedEventId :: Lens' DecisionTaskCompletedEventAttributes Integer
- data DecisionTaskScheduledEventAttributes
- decisionTaskScheduledEventAttributes :: TaskList -> DecisionTaskScheduledEventAttributes
- dtseaTaskPriority :: Lens' DecisionTaskScheduledEventAttributes (Maybe Text)
- dtseaStartToCloseTimeout :: Lens' DecisionTaskScheduledEventAttributes (Maybe Text)
- dtseaTaskList :: Lens' DecisionTaskScheduledEventAttributes TaskList
- data DecisionTaskStartedEventAttributes
- decisionTaskStartedEventAttributes :: Integer -> DecisionTaskStartedEventAttributes
- dtseaIdentity :: Lens' DecisionTaskStartedEventAttributes (Maybe Text)
- dtseaScheduledEventId :: Lens' DecisionTaskStartedEventAttributes Integer
- data DecisionTaskTimedOutEventAttributes
- decisionTaskTimedOutEventAttributes :: DecisionTaskTimeoutType -> Integer -> Integer -> DecisionTaskTimedOutEventAttributes
- dttoeaTimeoutType :: Lens' DecisionTaskTimedOutEventAttributes DecisionTaskTimeoutType
- dttoeaScheduledEventId :: Lens' DecisionTaskTimedOutEventAttributes Integer
- dttoeaStartedEventId :: Lens' DecisionTaskTimedOutEventAttributes Integer
- data DomainConfiguration
- domainConfiguration :: Text -> DomainConfiguration
- dcWorkflowExecutionRetentionPeriodInDays :: Lens' DomainConfiguration Text
- data DomainInfo
- domainInfo :: Text -> RegistrationStatus -> DomainInfo
- diDescription :: Lens' DomainInfo (Maybe Text)
- diName :: Lens' DomainInfo Text
- diStatus :: Lens' DomainInfo RegistrationStatus
- data ExecutionTimeFilter
- executionTimeFilter :: UTCTime -> ExecutionTimeFilter
- etfLatestDate :: Lens' ExecutionTimeFilter (Maybe UTCTime)
- etfOldestDate :: Lens' ExecutionTimeFilter UTCTime
- data ExternalWorkflowExecutionCancelRequestedEventAttributes
- externalWorkflowExecutionCancelRequestedEventAttributes :: WorkflowExecution -> Integer -> ExternalWorkflowExecutionCancelRequestedEventAttributes
- ewecreaWorkflowExecution :: Lens' ExternalWorkflowExecutionCancelRequestedEventAttributes WorkflowExecution
- ewecreaInitiatedEventId :: Lens' ExternalWorkflowExecutionCancelRequestedEventAttributes Integer
- data ExternalWorkflowExecutionSignaledEventAttributes
- externalWorkflowExecutionSignaledEventAttributes :: WorkflowExecution -> Integer -> ExternalWorkflowExecutionSignaledEventAttributes
- eweseaWorkflowExecution :: Lens' ExternalWorkflowExecutionSignaledEventAttributes WorkflowExecution
- eweseaInitiatedEventId :: Lens' ExternalWorkflowExecutionSignaledEventAttributes Integer
- data FailWorkflowExecutionDecisionAttributes
- failWorkflowExecutionDecisionAttributes :: FailWorkflowExecutionDecisionAttributes
- fwedaReason :: Lens' FailWorkflowExecutionDecisionAttributes (Maybe Text)
- fwedaDetails :: Lens' FailWorkflowExecutionDecisionAttributes (Maybe Text)
- data FailWorkflowExecutionFailedEventAttributes
- failWorkflowExecutionFailedEventAttributes :: FailWorkflowExecutionFailedCause -> Integer -> FailWorkflowExecutionFailedEventAttributes
- fwefeaCause :: Lens' FailWorkflowExecutionFailedEventAttributes FailWorkflowExecutionFailedCause
- fwefeaDecisionTaskCompletedEventId :: Lens' FailWorkflowExecutionFailedEventAttributes Integer
- data HistoryEvent
- historyEvent :: UTCTime -> EventType -> Integer -> HistoryEvent
- heWorkflowExecutionCancelRequestedEventAttributes :: Lens' HistoryEvent (Maybe WorkflowExecutionCancelRequestedEventAttributes)
- heDecisionTaskScheduledEventAttributes :: Lens' HistoryEvent (Maybe DecisionTaskScheduledEventAttributes)
- heStartTimerFailedEventAttributes :: Lens' HistoryEvent (Maybe StartTimerFailedEventAttributes)
- heLambdaFunctionStartedEventAttributes :: Lens' HistoryEvent (Maybe LambdaFunctionStartedEventAttributes)
- heRecordMarkerFailedEventAttributes :: Lens' HistoryEvent (Maybe RecordMarkerFailedEventAttributes)
- heRequestCancelExternalWorkflowExecutionInitiatedEventAttributes :: Lens' HistoryEvent (Maybe RequestCancelExternalWorkflowExecutionInitiatedEventAttributes)
- heWorkflowExecutionCompletedEventAttributes :: Lens' HistoryEvent (Maybe WorkflowExecutionCompletedEventAttributes)
- heActivityTaskScheduledEventAttributes :: Lens' HistoryEvent (Maybe ActivityTaskScheduledEventAttributes)
- heChildWorkflowExecutionCompletedEventAttributes :: Lens' HistoryEvent (Maybe ChildWorkflowExecutionCompletedEventAttributes)
- heScheduleActivityTaskFailedEventAttributes :: Lens' HistoryEvent (Maybe ScheduleActivityTaskFailedEventAttributes)
- heMarkerRecordedEventAttributes :: Lens' HistoryEvent (Maybe MarkerRecordedEventAttributes)
- heScheduleLambdaFunctionFailedEventAttributes :: Lens' HistoryEvent (Maybe ScheduleLambdaFunctionFailedEventAttributes)
- heCompleteWorkflowExecutionFailedEventAttributes :: Lens' HistoryEvent (Maybe CompleteWorkflowExecutionFailedEventAttributes)
- heRequestCancelExternalWorkflowExecutionFailedEventAttributes :: Lens' HistoryEvent (Maybe RequestCancelExternalWorkflowExecutionFailedEventAttributes)
- heLambdaFunctionCompletedEventAttributes :: Lens' HistoryEvent (Maybe LambdaFunctionCompletedEventAttributes)
- heTimerCanceledEventAttributes :: Lens' HistoryEvent (Maybe TimerCanceledEventAttributes)
- heWorkflowExecutionStartedEventAttributes :: Lens' HistoryEvent (Maybe WorkflowExecutionStartedEventAttributes)
- heActivityTaskCompletedEventAttributes :: Lens' HistoryEvent (Maybe ActivityTaskCompletedEventAttributes)
- heChildWorkflowExecutionStartedEventAttributes :: Lens' HistoryEvent (Maybe ChildWorkflowExecutionStartedEventAttributes)
- heDecisionTaskTimedOutEventAttributes :: Lens' HistoryEvent (Maybe DecisionTaskTimedOutEventAttributes)
- heCancelTimerFailedEventAttributes :: Lens' HistoryEvent (Maybe CancelTimerFailedEventAttributes)
- heActivityTaskTimedOutEventAttributes :: Lens' HistoryEvent (Maybe ActivityTaskTimedOutEventAttributes)
- heActivityTaskCanceledEventAttributes :: Lens' HistoryEvent (Maybe ActivityTaskCanceledEventAttributes)
- heChildWorkflowExecutionCanceledEventAttributes :: Lens' HistoryEvent (Maybe ChildWorkflowExecutionCanceledEventAttributes)
- heDecisionTaskStartedEventAttributes :: Lens' HistoryEvent (Maybe DecisionTaskStartedEventAttributes)
- heCancelWorkflowExecutionFailedEventAttributes :: Lens' HistoryEvent (Maybe CancelWorkflowExecutionFailedEventAttributes)
- heLambdaFunctionScheduledEventAttributes :: Lens' HistoryEvent (Maybe LambdaFunctionScheduledEventAttributes)
- heChildWorkflowExecutionTimedOutEventAttributes :: Lens' HistoryEvent (Maybe ChildWorkflowExecutionTimedOutEventAttributes)
- heRequestCancelActivityTaskFailedEventAttributes :: Lens' HistoryEvent (Maybe RequestCancelActivityTaskFailedEventAttributes)
- heWorkflowExecutionTerminatedEventAttributes :: Lens' HistoryEvent (Maybe WorkflowExecutionTerminatedEventAttributes)
- heStartChildWorkflowExecutionInitiatedEventAttributes :: Lens' HistoryEvent (Maybe StartChildWorkflowExecutionInitiatedEventAttributes)
- heActivityTaskStartedEventAttributes :: Lens' HistoryEvent (Maybe ActivityTaskStartedEventAttributes)
- heSignalExternalWorkflowExecutionFailedEventAttributes :: Lens' HistoryEvent (Maybe SignalExternalWorkflowExecutionFailedEventAttributes)
- heTimerStartedEventAttributes :: Lens' HistoryEvent (Maybe TimerStartedEventAttributes)
- heWorkflowExecutionTimedOutEventAttributes :: Lens' HistoryEvent (Maybe WorkflowExecutionTimedOutEventAttributes)
- heActivityTaskCancelRequestedEventAttributes :: Lens' HistoryEvent (Maybe ActivityTaskCancelRequestedEventAttributes)
- heStartLambdaFunctionFailedEventAttributes :: Lens' HistoryEvent (Maybe StartLambdaFunctionFailedEventAttributes)
- heChildWorkflowExecutionTerminatedEventAttributes :: Lens' HistoryEvent (Maybe ChildWorkflowExecutionTerminatedEventAttributes)
- heLambdaFunctionFailedEventAttributes :: Lens' HistoryEvent (Maybe LambdaFunctionFailedEventAttributes)
- heWorkflowExecutionCanceledEventAttributes :: Lens' HistoryEvent (Maybe WorkflowExecutionCanceledEventAttributes)
- heWorkflowExecutionSignaledEventAttributes :: Lens' HistoryEvent (Maybe WorkflowExecutionSignaledEventAttributes)
- heActivityTaskFailedEventAttributes :: Lens' HistoryEvent (Maybe ActivityTaskFailedEventAttributes)
- heExternalWorkflowExecutionSignaledEventAttributes :: Lens' HistoryEvent (Maybe ExternalWorkflowExecutionSignaledEventAttributes)
- heTimerFiredEventAttributes :: Lens' HistoryEvent (Maybe TimerFiredEventAttributes)
- heFailWorkflowExecutionFailedEventAttributes :: Lens' HistoryEvent (Maybe FailWorkflowExecutionFailedEventAttributes)
- heChildWorkflowExecutionFailedEventAttributes :: Lens' HistoryEvent (Maybe ChildWorkflowExecutionFailedEventAttributes)
- heDecisionTaskCompletedEventAttributes :: Lens' HistoryEvent (Maybe DecisionTaskCompletedEventAttributes)
- heStartChildWorkflowExecutionFailedEventAttributes :: Lens' HistoryEvent (Maybe StartChildWorkflowExecutionFailedEventAttributes)
- heSignalExternalWorkflowExecutionInitiatedEventAttributes :: Lens' HistoryEvent (Maybe SignalExternalWorkflowExecutionInitiatedEventAttributes)
- heContinueAsNewWorkflowExecutionFailedEventAttributes :: Lens' HistoryEvent (Maybe ContinueAsNewWorkflowExecutionFailedEventAttributes)
- heWorkflowExecutionFailedEventAttributes :: Lens' HistoryEvent (Maybe WorkflowExecutionFailedEventAttributes)
- heWorkflowExecutionContinuedAsNewEventAttributes :: Lens' HistoryEvent (Maybe WorkflowExecutionContinuedAsNewEventAttributes)
- heExternalWorkflowExecutionCancelRequestedEventAttributes :: Lens' HistoryEvent (Maybe ExternalWorkflowExecutionCancelRequestedEventAttributes)
- heLambdaFunctionTimedOutEventAttributes :: Lens' HistoryEvent (Maybe LambdaFunctionTimedOutEventAttributes)
- heEventTimestamp :: Lens' HistoryEvent UTCTime
- heEventType :: Lens' HistoryEvent EventType
- heEventId :: Lens' HistoryEvent Integer
- data LambdaFunctionCompletedEventAttributes
- lambdaFunctionCompletedEventAttributes :: Integer -> Integer -> LambdaFunctionCompletedEventAttributes
- lfceaResult :: Lens' LambdaFunctionCompletedEventAttributes (Maybe Text)
- lfceaScheduledEventId :: Lens' LambdaFunctionCompletedEventAttributes Integer
- lfceaStartedEventId :: Lens' LambdaFunctionCompletedEventAttributes Integer
- data LambdaFunctionFailedEventAttributes
- lambdaFunctionFailedEventAttributes :: Integer -> Integer -> LambdaFunctionFailedEventAttributes
- lffeaReason :: Lens' LambdaFunctionFailedEventAttributes (Maybe Text)
- lffeaDetails :: Lens' LambdaFunctionFailedEventAttributes (Maybe Text)
- lffeaScheduledEventId :: Lens' LambdaFunctionFailedEventAttributes Integer
- lffeaStartedEventId :: Lens' LambdaFunctionFailedEventAttributes Integer
- data LambdaFunctionScheduledEventAttributes
- lambdaFunctionScheduledEventAttributes :: Text -> Text -> Integer -> LambdaFunctionScheduledEventAttributes
- lfseaInput :: Lens' LambdaFunctionScheduledEventAttributes (Maybe Text)
- lfseaStartToCloseTimeout :: Lens' LambdaFunctionScheduledEventAttributes (Maybe Text)
- lfseaId :: Lens' LambdaFunctionScheduledEventAttributes Text
- lfseaName :: Lens' LambdaFunctionScheduledEventAttributes Text
- lfseaDecisionTaskCompletedEventId :: Lens' LambdaFunctionScheduledEventAttributes Integer
- data LambdaFunctionStartedEventAttributes
- lambdaFunctionStartedEventAttributes :: Integer -> LambdaFunctionStartedEventAttributes
- lfseaScheduledEventId :: Lens' LambdaFunctionStartedEventAttributes Integer
- data LambdaFunctionTimedOutEventAttributes
- lambdaFunctionTimedOutEventAttributes :: Integer -> Integer -> LambdaFunctionTimedOutEventAttributes
- lftoeaTimeoutType :: Lens' LambdaFunctionTimedOutEventAttributes (Maybe LambdaFunctionTimeoutType)
- lftoeaScheduledEventId :: Lens' LambdaFunctionTimedOutEventAttributes Integer
- lftoeaStartedEventId :: Lens' LambdaFunctionTimedOutEventAttributes Integer
- data MarkerRecordedEventAttributes
- markerRecordedEventAttributes :: Text -> Integer -> MarkerRecordedEventAttributes
- mreaDetails :: Lens' MarkerRecordedEventAttributes (Maybe Text)
- mreaMarkerName :: Lens' MarkerRecordedEventAttributes Text
- mreaDecisionTaskCompletedEventId :: Lens' MarkerRecordedEventAttributes Integer
- data PendingTaskCount
- pendingTaskCount :: Natural -> PendingTaskCount
- ptcTruncated :: Lens' PendingTaskCount (Maybe Bool)
- ptcCount :: Lens' PendingTaskCount Natural
- data RecordMarkerDecisionAttributes
- recordMarkerDecisionAttributes :: Text -> RecordMarkerDecisionAttributes
- rmdaDetails :: Lens' RecordMarkerDecisionAttributes (Maybe Text)
- rmdaMarkerName :: Lens' RecordMarkerDecisionAttributes Text
- data RecordMarkerFailedEventAttributes
- recordMarkerFailedEventAttributes :: Text -> RecordMarkerFailedCause -> Integer -> RecordMarkerFailedEventAttributes
- rmfeaMarkerName :: Lens' RecordMarkerFailedEventAttributes Text
- rmfeaCause :: Lens' RecordMarkerFailedEventAttributes RecordMarkerFailedCause
- rmfeaDecisionTaskCompletedEventId :: Lens' RecordMarkerFailedEventAttributes Integer
- data RequestCancelActivityTaskDecisionAttributes
- requestCancelActivityTaskDecisionAttributes :: Text -> RequestCancelActivityTaskDecisionAttributes
- rcatdaActivityId :: Lens' RequestCancelActivityTaskDecisionAttributes Text
- data RequestCancelActivityTaskFailedEventAttributes
- requestCancelActivityTaskFailedEventAttributes :: Text -> RequestCancelActivityTaskFailedCause -> Integer -> RequestCancelActivityTaskFailedEventAttributes
- rcatfeaActivityId :: Lens' RequestCancelActivityTaskFailedEventAttributes Text
- rcatfeaCause :: Lens' RequestCancelActivityTaskFailedEventAttributes RequestCancelActivityTaskFailedCause
- rcatfeaDecisionTaskCompletedEventId :: Lens' RequestCancelActivityTaskFailedEventAttributes Integer
- data RequestCancelExternalWorkflowExecutionDecisionAttributes
- requestCancelExternalWorkflowExecutionDecisionAttributes :: Text -> RequestCancelExternalWorkflowExecutionDecisionAttributes
- rcewedaControl :: Lens' RequestCancelExternalWorkflowExecutionDecisionAttributes (Maybe Text)
- rcewedaRunId :: Lens' RequestCancelExternalWorkflowExecutionDecisionAttributes (Maybe Text)
- rcewedaWorkflowId :: Lens' RequestCancelExternalWorkflowExecutionDecisionAttributes Text
- data RequestCancelExternalWorkflowExecutionFailedEventAttributes
- requestCancelExternalWorkflowExecutionFailedEventAttributes :: Text -> RequestCancelExternalWorkflowExecutionFailedCause -> Integer -> Integer -> RequestCancelExternalWorkflowExecutionFailedEventAttributes
- rcewefeaControl :: Lens' RequestCancelExternalWorkflowExecutionFailedEventAttributes (Maybe Text)
- rcewefeaRunId :: Lens' RequestCancelExternalWorkflowExecutionFailedEventAttributes (Maybe Text)
- rcewefeaWorkflowId :: Lens' RequestCancelExternalWorkflowExecutionFailedEventAttributes Text
- rcewefeaCause :: Lens' RequestCancelExternalWorkflowExecutionFailedEventAttributes RequestCancelExternalWorkflowExecutionFailedCause
- rcewefeaInitiatedEventId :: Lens' RequestCancelExternalWorkflowExecutionFailedEventAttributes Integer
- rcewefeaDecisionTaskCompletedEventId :: Lens' RequestCancelExternalWorkflowExecutionFailedEventAttributes Integer
- data RequestCancelExternalWorkflowExecutionInitiatedEventAttributes
- requestCancelExternalWorkflowExecutionInitiatedEventAttributes :: Text -> Integer -> RequestCancelExternalWorkflowExecutionInitiatedEventAttributes
- rceweieaControl :: Lens' RequestCancelExternalWorkflowExecutionInitiatedEventAttributes (Maybe Text)
- rceweieaRunId :: Lens' RequestCancelExternalWorkflowExecutionInitiatedEventAttributes (Maybe Text)
- rceweieaWorkflowId :: Lens' RequestCancelExternalWorkflowExecutionInitiatedEventAttributes Text
- rceweieaDecisionTaskCompletedEventId :: Lens' RequestCancelExternalWorkflowExecutionInitiatedEventAttributes Integer
- data ScheduleActivityTaskDecisionAttributes
- scheduleActivityTaskDecisionAttributes :: ActivityType -> Text -> ScheduleActivityTaskDecisionAttributes
- satdaControl :: Lens' ScheduleActivityTaskDecisionAttributes (Maybe Text)
- satdaScheduleToCloseTimeout :: Lens' ScheduleActivityTaskDecisionAttributes (Maybe Text)
- satdaHeartbeatTimeout :: Lens' ScheduleActivityTaskDecisionAttributes (Maybe Text)
- satdaInput :: Lens' ScheduleActivityTaskDecisionAttributes (Maybe Text)
- satdaTaskList :: Lens' ScheduleActivityTaskDecisionAttributes (Maybe TaskList)
- satdaTaskPriority :: Lens' ScheduleActivityTaskDecisionAttributes (Maybe Text)
- satdaScheduleToStartTimeout :: Lens' ScheduleActivityTaskDecisionAttributes (Maybe Text)
- satdaStartToCloseTimeout :: Lens' ScheduleActivityTaskDecisionAttributes (Maybe Text)
- satdaActivityType :: Lens' ScheduleActivityTaskDecisionAttributes ActivityType
- satdaActivityId :: Lens' ScheduleActivityTaskDecisionAttributes Text
- data ScheduleActivityTaskFailedEventAttributes
- scheduleActivityTaskFailedEventAttributes :: ActivityType -> Text -> ScheduleActivityTaskFailedCause -> Integer -> ScheduleActivityTaskFailedEventAttributes
- satfeaActivityType :: Lens' ScheduleActivityTaskFailedEventAttributes ActivityType
- satfeaActivityId :: Lens' ScheduleActivityTaskFailedEventAttributes Text
- satfeaCause :: Lens' ScheduleActivityTaskFailedEventAttributes ScheduleActivityTaskFailedCause
- satfeaDecisionTaskCompletedEventId :: Lens' ScheduleActivityTaskFailedEventAttributes Integer
- data ScheduleLambdaFunctionDecisionAttributes
- scheduleLambdaFunctionDecisionAttributes :: Text -> Text -> ScheduleLambdaFunctionDecisionAttributes
- slfdaInput :: Lens' ScheduleLambdaFunctionDecisionAttributes (Maybe Text)
- slfdaStartToCloseTimeout :: Lens' ScheduleLambdaFunctionDecisionAttributes (Maybe Text)
- slfdaId :: Lens' ScheduleLambdaFunctionDecisionAttributes Text
- slfdaName :: Lens' ScheduleLambdaFunctionDecisionAttributes Text
- data ScheduleLambdaFunctionFailedEventAttributes
- scheduleLambdaFunctionFailedEventAttributes :: Text -> Text -> ScheduleLambdaFunctionFailedCause -> Integer -> ScheduleLambdaFunctionFailedEventAttributes
- slffeaId :: Lens' ScheduleLambdaFunctionFailedEventAttributes Text
- slffeaName :: Lens' ScheduleLambdaFunctionFailedEventAttributes Text
- slffeaCause :: Lens' ScheduleLambdaFunctionFailedEventAttributes ScheduleLambdaFunctionFailedCause
- slffeaDecisionTaskCompletedEventId :: Lens' ScheduleLambdaFunctionFailedEventAttributes Integer
- data SignalExternalWorkflowExecutionDecisionAttributes
- signalExternalWorkflowExecutionDecisionAttributes :: Text -> Text -> SignalExternalWorkflowExecutionDecisionAttributes
- sewedaControl :: Lens' SignalExternalWorkflowExecutionDecisionAttributes (Maybe Text)
- sewedaInput :: Lens' SignalExternalWorkflowExecutionDecisionAttributes (Maybe Text)
- sewedaRunId :: Lens' SignalExternalWorkflowExecutionDecisionAttributes (Maybe Text)
- sewedaWorkflowId :: Lens' SignalExternalWorkflowExecutionDecisionAttributes Text
- sewedaSignalName :: Lens' SignalExternalWorkflowExecutionDecisionAttributes Text
- data SignalExternalWorkflowExecutionFailedEventAttributes
- signalExternalWorkflowExecutionFailedEventAttributes :: Text -> SignalExternalWorkflowExecutionFailedCause -> Integer -> Integer -> SignalExternalWorkflowExecutionFailedEventAttributes
- sewefeaControl :: Lens' SignalExternalWorkflowExecutionFailedEventAttributes (Maybe Text)
- sewefeaRunId :: Lens' SignalExternalWorkflowExecutionFailedEventAttributes (Maybe Text)
- sewefeaWorkflowId :: Lens' SignalExternalWorkflowExecutionFailedEventAttributes Text
- sewefeaCause :: Lens' SignalExternalWorkflowExecutionFailedEventAttributes SignalExternalWorkflowExecutionFailedCause
- sewefeaInitiatedEventId :: Lens' SignalExternalWorkflowExecutionFailedEventAttributes Integer
- sewefeaDecisionTaskCompletedEventId :: Lens' SignalExternalWorkflowExecutionFailedEventAttributes Integer
- data SignalExternalWorkflowExecutionInitiatedEventAttributes
- signalExternalWorkflowExecutionInitiatedEventAttributes :: Text -> Text -> Integer -> SignalExternalWorkflowExecutionInitiatedEventAttributes
- seweieaControl :: Lens' SignalExternalWorkflowExecutionInitiatedEventAttributes (Maybe Text)
- seweieaInput :: Lens' SignalExternalWorkflowExecutionInitiatedEventAttributes (Maybe Text)
- seweieaRunId :: Lens' SignalExternalWorkflowExecutionInitiatedEventAttributes (Maybe Text)
- seweieaWorkflowId :: Lens' SignalExternalWorkflowExecutionInitiatedEventAttributes Text
- seweieaSignalName :: Lens' SignalExternalWorkflowExecutionInitiatedEventAttributes Text
- seweieaDecisionTaskCompletedEventId :: Lens' SignalExternalWorkflowExecutionInitiatedEventAttributes Integer
- data StartChildWorkflowExecutionDecisionAttributes
- startChildWorkflowExecutionDecisionAttributes :: WorkflowType -> Text -> StartChildWorkflowExecutionDecisionAttributes
- scwedaControl :: Lens' StartChildWorkflowExecutionDecisionAttributes (Maybe Text)
- scwedaTagList :: Lens' StartChildWorkflowExecutionDecisionAttributes [Text]
- scwedaTaskStartToCloseTimeout :: Lens' StartChildWorkflowExecutionDecisionAttributes (Maybe Text)
- scwedaLambdaRole :: Lens' StartChildWorkflowExecutionDecisionAttributes (Maybe Text)
- scwedaInput :: Lens' StartChildWorkflowExecutionDecisionAttributes (Maybe Text)
- scwedaExecutionStartToCloseTimeout :: Lens' StartChildWorkflowExecutionDecisionAttributes (Maybe Text)
- scwedaTaskList :: Lens' StartChildWorkflowExecutionDecisionAttributes (Maybe TaskList)
- scwedaTaskPriority :: Lens' StartChildWorkflowExecutionDecisionAttributes (Maybe Text)
- scwedaChildPolicy :: Lens' StartChildWorkflowExecutionDecisionAttributes (Maybe ChildPolicy)
- scwedaWorkflowType :: Lens' StartChildWorkflowExecutionDecisionAttributes WorkflowType
- scwedaWorkflowId :: Lens' StartChildWorkflowExecutionDecisionAttributes Text
- data StartChildWorkflowExecutionFailedEventAttributes
- startChildWorkflowExecutionFailedEventAttributes :: WorkflowType -> StartChildWorkflowExecutionFailedCause -> Text -> Integer -> Integer -> StartChildWorkflowExecutionFailedEventAttributes
- scwefeaControl :: Lens' StartChildWorkflowExecutionFailedEventAttributes (Maybe Text)
- scwefeaWorkflowType :: Lens' StartChildWorkflowExecutionFailedEventAttributes WorkflowType
- scwefeaCause :: Lens' StartChildWorkflowExecutionFailedEventAttributes StartChildWorkflowExecutionFailedCause
- scwefeaWorkflowId :: Lens' StartChildWorkflowExecutionFailedEventAttributes Text
- scwefeaInitiatedEventId :: Lens' StartChildWorkflowExecutionFailedEventAttributes Integer
- scwefeaDecisionTaskCompletedEventId :: Lens' StartChildWorkflowExecutionFailedEventAttributes Integer
- data StartChildWorkflowExecutionInitiatedEventAttributes
- startChildWorkflowExecutionInitiatedEventAttributes :: Text -> WorkflowType -> TaskList -> Integer -> ChildPolicy -> StartChildWorkflowExecutionInitiatedEventAttributes
- scweieaControl :: Lens' StartChildWorkflowExecutionInitiatedEventAttributes (Maybe Text)
- scweieaTagList :: Lens' StartChildWorkflowExecutionInitiatedEventAttributes [Text]
- scweieaTaskStartToCloseTimeout :: Lens' StartChildWorkflowExecutionInitiatedEventAttributes (Maybe Text)
- scweieaLambdaRole :: Lens' StartChildWorkflowExecutionInitiatedEventAttributes (Maybe Text)
- scweieaInput :: Lens' StartChildWorkflowExecutionInitiatedEventAttributes (Maybe Text)
- scweieaExecutionStartToCloseTimeout :: Lens' StartChildWorkflowExecutionInitiatedEventAttributes (Maybe Text)
- scweieaTaskPriority :: Lens' StartChildWorkflowExecutionInitiatedEventAttributes (Maybe Text)
- scweieaWorkflowId :: Lens' StartChildWorkflowExecutionInitiatedEventAttributes Text
- scweieaWorkflowType :: Lens' StartChildWorkflowExecutionInitiatedEventAttributes WorkflowType
- scweieaTaskList :: Lens' StartChildWorkflowExecutionInitiatedEventAttributes TaskList
- scweieaDecisionTaskCompletedEventId :: Lens' StartChildWorkflowExecutionInitiatedEventAttributes Integer
- scweieaChildPolicy :: Lens' StartChildWorkflowExecutionInitiatedEventAttributes ChildPolicy
- data StartLambdaFunctionFailedEventAttributes
- startLambdaFunctionFailedEventAttributes :: StartLambdaFunctionFailedEventAttributes
- sScheduledEventId :: Lens' StartLambdaFunctionFailedEventAttributes (Maybe Integer)
- sCause :: Lens' StartLambdaFunctionFailedEventAttributes (Maybe StartLambdaFunctionFailedCause)
- sMessage :: Lens' StartLambdaFunctionFailedEventAttributes (Maybe Text)
- data StartTimerDecisionAttributes
- startTimerDecisionAttributes :: Text -> Text -> StartTimerDecisionAttributes
- stdaControl :: Lens' StartTimerDecisionAttributes (Maybe Text)
- stdaTimerId :: Lens' StartTimerDecisionAttributes Text
- stdaStartToFireTimeout :: Lens' StartTimerDecisionAttributes Text
- data StartTimerFailedEventAttributes
- startTimerFailedEventAttributes :: Text -> StartTimerFailedCause -> Integer -> StartTimerFailedEventAttributes
- stfeaTimerId :: Lens' StartTimerFailedEventAttributes Text
- stfeaCause :: Lens' StartTimerFailedEventAttributes StartTimerFailedCause
- stfeaDecisionTaskCompletedEventId :: Lens' StartTimerFailedEventAttributes Integer
- data TagFilter
- tagFilter :: Text -> TagFilter
- tfTag :: Lens' TagFilter Text
- data TaskList
- taskList :: Text -> TaskList
- tlName :: Lens' TaskList Text
- data TimerCanceledEventAttributes
- timerCanceledEventAttributes :: Text -> Integer -> Integer -> TimerCanceledEventAttributes
- tceaTimerId :: Lens' TimerCanceledEventAttributes Text
- tceaStartedEventId :: Lens' TimerCanceledEventAttributes Integer
- tceaDecisionTaskCompletedEventId :: Lens' TimerCanceledEventAttributes Integer
- data TimerFiredEventAttributes
- timerFiredEventAttributes :: Text -> Integer -> TimerFiredEventAttributes
- tfeaTimerId :: Lens' TimerFiredEventAttributes Text
- tfeaStartedEventId :: Lens' TimerFiredEventAttributes Integer
- data TimerStartedEventAttributes
- timerStartedEventAttributes :: Text -> Text -> Integer -> TimerStartedEventAttributes
- tseaControl :: Lens' TimerStartedEventAttributes (Maybe Text)
- tseaTimerId :: Lens' TimerStartedEventAttributes Text
- tseaStartToFireTimeout :: Lens' TimerStartedEventAttributes Text
- tseaDecisionTaskCompletedEventId :: Lens' TimerStartedEventAttributes Integer
- data WorkflowExecution
- workflowExecution :: Text -> Text -> WorkflowExecution
- weWorkflowId :: Lens' WorkflowExecution Text
- weRunId :: Lens' WorkflowExecution Text
- data WorkflowExecutionCancelRequestedEventAttributes
- workflowExecutionCancelRequestedEventAttributes :: WorkflowExecutionCancelRequestedEventAttributes
- wecreaExternalWorkflowExecution :: Lens' WorkflowExecutionCancelRequestedEventAttributes (Maybe WorkflowExecution)
- wecreaExternalInitiatedEventId :: Lens' WorkflowExecutionCancelRequestedEventAttributes (Maybe Integer)
- wecreaCause :: Lens' WorkflowExecutionCancelRequestedEventAttributes (Maybe WorkflowExecutionCancelRequestedCause)
- data WorkflowExecutionCanceledEventAttributes
- workflowExecutionCanceledEventAttributes :: Integer -> WorkflowExecutionCanceledEventAttributes
- wDetails :: Lens' WorkflowExecutionCanceledEventAttributes (Maybe Text)
- wDecisionTaskCompletedEventId :: Lens' WorkflowExecutionCanceledEventAttributes Integer
- data WorkflowExecutionCompletedEventAttributes
- workflowExecutionCompletedEventAttributes :: Integer -> WorkflowExecutionCompletedEventAttributes
- weceaResult :: Lens' WorkflowExecutionCompletedEventAttributes (Maybe Text)
- weceaDecisionTaskCompletedEventId :: Lens' WorkflowExecutionCompletedEventAttributes Integer
- data WorkflowExecutionConfiguration
- workflowExecutionConfiguration :: Text -> Text -> TaskList -> ChildPolicy -> WorkflowExecutionConfiguration
- wecLambdaRole :: Lens' WorkflowExecutionConfiguration (Maybe Text)
- wecTaskPriority :: Lens' WorkflowExecutionConfiguration (Maybe Text)
- wecTaskStartToCloseTimeout :: Lens' WorkflowExecutionConfiguration Text
- wecExecutionStartToCloseTimeout :: Lens' WorkflowExecutionConfiguration Text
- wecTaskList :: Lens' WorkflowExecutionConfiguration TaskList
- wecChildPolicy :: Lens' WorkflowExecutionConfiguration ChildPolicy
- data WorkflowExecutionContinuedAsNewEventAttributes
- workflowExecutionContinuedAsNewEventAttributes :: Integer -> Text -> TaskList -> ChildPolicy -> WorkflowType -> WorkflowExecutionContinuedAsNewEventAttributes
- wecaneaTagList :: Lens' WorkflowExecutionContinuedAsNewEventAttributes [Text]
- wecaneaTaskStartToCloseTimeout :: Lens' WorkflowExecutionContinuedAsNewEventAttributes (Maybe Text)
- wecaneaLambdaRole :: Lens' WorkflowExecutionContinuedAsNewEventAttributes (Maybe Text)
- wecaneaInput :: Lens' WorkflowExecutionContinuedAsNewEventAttributes (Maybe Text)
- wecaneaExecutionStartToCloseTimeout :: Lens' WorkflowExecutionContinuedAsNewEventAttributes (Maybe Text)
- wecaneaTaskPriority :: Lens' WorkflowExecutionContinuedAsNewEventAttributes (Maybe Text)
- wecaneaDecisionTaskCompletedEventId :: Lens' WorkflowExecutionContinuedAsNewEventAttributes Integer
- wecaneaNewExecutionRunId :: Lens' WorkflowExecutionContinuedAsNewEventAttributes Text
- wecaneaTaskList :: Lens' WorkflowExecutionContinuedAsNewEventAttributes TaskList
- wecaneaChildPolicy :: Lens' WorkflowExecutionContinuedAsNewEventAttributes ChildPolicy
- wecaneaWorkflowType :: Lens' WorkflowExecutionContinuedAsNewEventAttributes WorkflowType
- data WorkflowExecutionCount
- workflowExecutionCount :: Natural -> WorkflowExecutionCount
- wecTruncated :: Lens' WorkflowExecutionCount (Maybe Bool)
- wecCount :: Lens' WorkflowExecutionCount Natural
- data WorkflowExecutionFailedEventAttributes
- workflowExecutionFailedEventAttributes :: Integer -> WorkflowExecutionFailedEventAttributes
- wefeaReason :: Lens' WorkflowExecutionFailedEventAttributes (Maybe Text)
- wefeaDetails :: Lens' WorkflowExecutionFailedEventAttributes (Maybe Text)
- wefeaDecisionTaskCompletedEventId :: Lens' WorkflowExecutionFailedEventAttributes Integer
- data WorkflowExecutionFilter
- workflowExecutionFilter :: Text -> WorkflowExecutionFilter
- wefWorkflowId :: Lens' WorkflowExecutionFilter Text
- data WorkflowExecutionInfo
- workflowExecutionInfo :: WorkflowExecution -> WorkflowType -> UTCTime -> ExecutionStatus -> WorkflowExecutionInfo
- weiParent :: Lens' WorkflowExecutionInfo (Maybe WorkflowExecution)
- weiTagList :: Lens' WorkflowExecutionInfo [Text]
- weiCloseStatus :: Lens' WorkflowExecutionInfo (Maybe CloseStatus)
- weiCloseTimestamp :: Lens' WorkflowExecutionInfo (Maybe UTCTime)
- weiCancelRequested :: Lens' WorkflowExecutionInfo (Maybe Bool)
- weiExecution :: Lens' WorkflowExecutionInfo WorkflowExecution
- weiWorkflowType :: Lens' WorkflowExecutionInfo WorkflowType
- weiStartTimestamp :: Lens' WorkflowExecutionInfo UTCTime
- weiExecutionStatus :: Lens' WorkflowExecutionInfo ExecutionStatus
- data WorkflowExecutionInfos
- workflowExecutionInfos :: WorkflowExecutionInfos
- weiNextPageToken :: Lens' WorkflowExecutionInfos (Maybe Text)
- weiExecutionInfos :: Lens' WorkflowExecutionInfos [WorkflowExecutionInfo]
- data WorkflowExecutionOpenCounts
- workflowExecutionOpenCounts :: Natural -> Natural -> Natural -> Natural -> WorkflowExecutionOpenCounts
- weocOpenLambdaFunctions :: Lens' WorkflowExecutionOpenCounts (Maybe Natural)
- weocOpenActivityTasks :: Lens' WorkflowExecutionOpenCounts Natural
- weocOpenDecisionTasks :: Lens' WorkflowExecutionOpenCounts Natural
- weocOpenTimers :: Lens' WorkflowExecutionOpenCounts Natural
- weocOpenChildWorkflowExecutions :: Lens' WorkflowExecutionOpenCounts Natural
- data WorkflowExecutionSignaledEventAttributes
- workflowExecutionSignaledEventAttributes :: Text -> WorkflowExecutionSignaledEventAttributes
- wExternalWorkflowExecution :: Lens' WorkflowExecutionSignaledEventAttributes (Maybe WorkflowExecution)
- wExternalInitiatedEventId :: Lens' WorkflowExecutionSignaledEventAttributes (Maybe Integer)
- wInput :: Lens' WorkflowExecutionSignaledEventAttributes (Maybe Text)
- wSignalName :: Lens' WorkflowExecutionSignaledEventAttributes Text
- data WorkflowExecutionStartedEventAttributes
- workflowExecutionStartedEventAttributes :: ChildPolicy -> TaskList -> WorkflowType -> WorkflowExecutionStartedEventAttributes
- weseaParentInitiatedEventId :: Lens' WorkflowExecutionStartedEventAttributes (Maybe Integer)
- weseaTagList :: Lens' WorkflowExecutionStartedEventAttributes [Text]
- weseaTaskStartToCloseTimeout :: Lens' WorkflowExecutionStartedEventAttributes (Maybe Text)
- weseaLambdaRole :: Lens' WorkflowExecutionStartedEventAttributes (Maybe Text)
- weseaInput :: Lens' WorkflowExecutionStartedEventAttributes (Maybe Text)
- weseaExecutionStartToCloseTimeout :: Lens' WorkflowExecutionStartedEventAttributes (Maybe Text)
- weseaTaskPriority :: Lens' WorkflowExecutionStartedEventAttributes (Maybe Text)
- weseaParentWorkflowExecution :: Lens' WorkflowExecutionStartedEventAttributes (Maybe WorkflowExecution)
- weseaContinuedExecutionRunId :: Lens' WorkflowExecutionStartedEventAttributes (Maybe Text)
- weseaChildPolicy :: Lens' WorkflowExecutionStartedEventAttributes ChildPolicy
- weseaTaskList :: Lens' WorkflowExecutionStartedEventAttributes TaskList
- weseaWorkflowType :: Lens' WorkflowExecutionStartedEventAttributes WorkflowType
- data WorkflowExecutionTerminatedEventAttributes
- workflowExecutionTerminatedEventAttributes :: ChildPolicy -> WorkflowExecutionTerminatedEventAttributes
- weteaCause :: Lens' WorkflowExecutionTerminatedEventAttributes (Maybe WorkflowExecutionTerminatedCause)
- weteaReason :: Lens' WorkflowExecutionTerminatedEventAttributes (Maybe Text)
- weteaDetails :: Lens' WorkflowExecutionTerminatedEventAttributes (Maybe Text)
- weteaChildPolicy :: Lens' WorkflowExecutionTerminatedEventAttributes ChildPolicy
- data WorkflowExecutionTimedOutEventAttributes
- workflowExecutionTimedOutEventAttributes :: WorkflowExecutionTimeoutType -> ChildPolicy -> WorkflowExecutionTimedOutEventAttributes
- wetoeaTimeoutType :: Lens' WorkflowExecutionTimedOutEventAttributes WorkflowExecutionTimeoutType
- wetoeaChildPolicy :: Lens' WorkflowExecutionTimedOutEventAttributes ChildPolicy
- data WorkflowType
- workflowType :: Text -> Text -> WorkflowType
- wtName :: Lens' WorkflowType Text
- wtVersion :: Lens' WorkflowType Text
- data WorkflowTypeConfiguration
- workflowTypeConfiguration :: WorkflowTypeConfiguration
- wtcDefaultLambdaRole :: Lens' WorkflowTypeConfiguration (Maybe Text)
- wtcDefaultChildPolicy :: Lens' WorkflowTypeConfiguration (Maybe ChildPolicy)
- wtcDefaultTaskList :: Lens' WorkflowTypeConfiguration (Maybe TaskList)
- wtcDefaultTaskPriority :: Lens' WorkflowTypeConfiguration (Maybe Text)
- wtcDefaultExecutionStartToCloseTimeout :: Lens' WorkflowTypeConfiguration (Maybe Text)
- wtcDefaultTaskStartToCloseTimeout :: Lens' WorkflowTypeConfiguration (Maybe Text)
- data WorkflowTypeFilter
- workflowTypeFilter :: Text -> WorkflowTypeFilter
- wtfVersion :: Lens' WorkflowTypeFilter (Maybe Text)
- wtfName :: Lens' WorkflowTypeFilter Text
- data WorkflowTypeInfo
- workflowTypeInfo :: WorkflowType -> RegistrationStatus -> UTCTime -> WorkflowTypeInfo
- wtiDeprecationDate :: Lens' WorkflowTypeInfo (Maybe UTCTime)
- wtiDescription :: Lens' WorkflowTypeInfo (Maybe Text)
- wtiWorkflowType :: Lens' WorkflowTypeInfo WorkflowType
- wtiStatus :: Lens' WorkflowTypeInfo RegistrationStatus
- wtiCreationDate :: Lens' WorkflowTypeInfo UTCTime
Service Configuration
API version '2012-01-25' of the Amazon Simple Workflow Service SDK configuration.
Errors
Error matchers are designed for use with the functions provided by
Control.Exception.Lens.
This allows catching (and rethrowing) service specific errors returned
by SWF
.
LimitExceededFault
_LimitExceededFault :: AsError a => Getting (First ServiceError) a ServiceError Source
Returned by any operation if a system imposed limitation has been reached. To address this fault you should either clean up unused resources or increase the limit by contacting AWS.
WorkflowExecutionAlreadyStartedFault
_WorkflowExecutionAlreadyStartedFault :: AsError a => Getting (First ServiceError) a ServiceError Source
Returned by StartWorkflowExecution when an open execution with the same workflowId is already running in the specified domain.
DomainAlreadyExistsFault
_DomainAlreadyExistsFault :: AsError a => Getting (First ServiceError) a ServiceError Source
Returned if the specified domain already exists. You will get this fault even if the existing domain is in deprecated status.
UnknownResourceFault
_UnknownResourceFault :: AsError a => Getting (First ServiceError) a ServiceError Source
Returned when the named resource cannot be found with in the scope of this operation (region or domain). This could happen if the named resource was never created or is no longer available for this operation.
OperationNotPermittedFault
_OperationNotPermittedFault :: AsError a => Getting (First ServiceError) a ServiceError Source
Returned when the caller does not have sufficient permissions to invoke the action.
DefaultUndefinedFault
_DefaultUndefinedFault :: AsError a => Getting (First ServiceError) a ServiceError Source
Prism for DefaultUndefinedFault' errors.
TypeDeprecatedFault
_TypeDeprecatedFault :: AsError a => Getting (First ServiceError) a ServiceError Source
Returned when the specified activity or workflow type was already deprecated.
TypeAlreadyExistsFault
_TypeAlreadyExistsFault :: AsError a => Getting (First ServiceError) a ServiceError Source
Returned if the type already exists in the specified domain. You will get this fault even if the existing type is in deprecated status. You can specify another version if the intent is to create a new distinct version of the type.
DomainDeprecatedFault
_DomainDeprecatedFault :: AsError a => Getting (First ServiceError) a ServiceError Source
Returned when the specified domain has been deprecated.
Waiters
Waiters poll by repeatedly sending a request until some remote success condition
configured by the Wait
specification is fulfilled. The Wait
specification
determines how many attempts should be made, in addition to delay and retry strategies.
Operations
Some AWS operations return results that are incomplete and require subsequent
requests in order to obtain the entire result set. The process of sending
subsequent requests to continue where a previous request left off is called
pagination. For example, the ListObjects
operation of Amazon S3 returns up to
1000 objects at a time, and you must send subsequent requests with the
appropriate Marker in order to retrieve the next page of results.
Operations that have an AWSPager
instance can transparently perform subsequent
requests, correctly setting Markers and other request facets to iterate through
the entire result set of a truncated API operation. Operations which support
this have an additional note in the documentation.
Many operations have the ability to filter results on the server side. See the individual operation parameters for details.
ListActivityTypes (Paginated)
ListOpenWorkflowExecutions (Paginated)
RegisterActivityType
CountPendingActivityTasks
RegisterWorkflowType
RespondActivityTaskFailed
ListWorkflowTypes (Paginated)
CountOpenWorkflowExecutions
DescribeWorkflowType
RequestCancelWorkflowExecution
DeprecateWorkflowType
RespondDecisionTaskCompleted
RegisterDomain
DescribeWorkflowExecution
PollForActivityTask
RespondActivityTaskCompleted
SignalWorkflowExecution
CountPendingDecisionTasks
ListClosedWorkflowExecutions (Paginated)
RecordActivityTaskHeartbeat
DescribeDomain
DeprecateDomain
GetWorkflowExecutionHistory (Paginated)
DescribeActivityType
DeprecateActivityType
TerminateWorkflowExecution
CountClosedWorkflowExecutions
RespondActivityTaskCanceled
ListDomains (Paginated)
module Network.AWS.SWF.ListDomains
StartWorkflowExecution
PollForDecisionTask (Paginated)
Types
ActivityTaskTimeoutType
data ActivityTaskTimeoutType Source
CancelTimerFailedCause
data CancelTimerFailedCause Source
CancelWorkflowExecutionFailedCause
data CancelWorkflowExecutionFailedCause Source
ChildPolicy
data ChildPolicy Source
CloseStatus
data CloseStatus Source
CompleteWorkflowExecutionFailedCause
data CompleteWorkflowExecutionFailedCause Source
ContinueAsNewWorkflowExecutionFailedCause
data ContinueAsNewWorkflowExecutionFailedCause Source
DecisionTaskTimeoutType
data DecisionTaskTimeoutType Source
DecisionType
data DecisionType Source
EventType
ExecutionStatus
data ExecutionStatus Source
FailWorkflowExecutionFailedCause
data FailWorkflowExecutionFailedCause Source
LambdaFunctionTimeoutType
data LambdaFunctionTimeoutType Source
RecordMarkerFailedCause
data RecordMarkerFailedCause Source
RegistrationStatus
data RegistrationStatus Source
RequestCancelActivityTaskFailedCause
data RequestCancelActivityTaskFailedCause Source
RequestCancelExternalWorkflowExecutionFailedCause
data RequestCancelExternalWorkflowExecutionFailedCause Source
RCEWEFCOperationNotPermitted | |
RCEWEFCRequestCancelExternalWorkflowExecutionRateExceeded | |
RCEWEFCUnknownExternalWorkflowExecution |
ScheduleActivityTaskFailedCause
data ScheduleActivityTaskFailedCause Source
ScheduleLambdaFunctionFailedCause
data ScheduleLambdaFunctionFailedCause Source
IdAlreadyInUse | |
LambdaFunctionCreationRateExceeded | |
LambdaServiceNotAvailableInRegion | |
OpenLambdaFunctionsLimitExceeded |
SignalExternalWorkflowExecutionFailedCause
data SignalExternalWorkflowExecutionFailedCause Source
SEWEFCOperationNotPermitted | |
SEWEFCSignalExternalWorkflowExecutionRateExceeded | |
SEWEFCUnknownExternalWorkflowExecution |
StartChildWorkflowExecutionFailedCause
data StartChildWorkflowExecutionFailedCause Source
StartLambdaFunctionFailedCause
data StartLambdaFunctionFailedCause Source
StartTimerFailedCause
data StartTimerFailedCause Source
WorkflowExecutionCancelRequestedCause
data WorkflowExecutionCancelRequestedCause Source
WorkflowExecutionTerminatedCause
data WorkflowExecutionTerminatedCause Source
WorkflowExecutionTimeoutType
data WorkflowExecutionTimeoutType Source
ActivityTaskCancelRequestedEventAttributes
data ActivityTaskCancelRequestedEventAttributes Source
Provides details of the ActivityTaskCancelRequested
event.
See: activityTaskCancelRequestedEventAttributes
smart constructor.
activityTaskCancelRequestedEventAttributes Source
Creates a value of ActivityTaskCancelRequestedEventAttributes
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
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.
atcreaActivityId :: Lens' ActivityTaskCancelRequestedEventAttributes Text Source
The unique ID of the task.
ActivityTaskCanceledEventAttributes
data ActivityTaskCanceledEventAttributes Source
Provides details of the ActivityTaskCanceled
event.
See: activityTaskCanceledEventAttributes
smart constructor.
activityTaskCanceledEventAttributes Source
Creates a value of ActivityTaskCanceledEventAttributes
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
aLatestCancelRequestedEventId :: 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.
aDetails :: Lens' ActivityTaskCanceledEventAttributes (Maybe Text) Source
Details of the cancellation (if any).
aScheduledEventId :: 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.
aStartedEventId :: 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.
ActivityTaskCompletedEventAttributes
data ActivityTaskCompletedEventAttributes Source
Provides details of the ActivityTaskCompleted
event.
See: activityTaskCompletedEventAttributes
smart constructor.
activityTaskCompletedEventAttributes Source
Creates a value of ActivityTaskCompletedEventAttributes
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
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.
ActivityTaskFailedEventAttributes
data ActivityTaskFailedEventAttributes Source
Provides details of the ActivityTaskFailed
event.
See: activityTaskFailedEventAttributes
smart constructor.
activityTaskFailedEventAttributes Source
Creates a value of ActivityTaskFailedEventAttributes
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
atfeaReason :: Lens' ActivityTaskFailedEventAttributes (Maybe Text) Source
The reason provided for the failure (if any).
atfeaDetails :: Lens' ActivityTaskFailedEventAttributes (Maybe Text) Source
The details of 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.
ActivityTaskScheduledEventAttributes
data ActivityTaskScheduledEventAttributes Source
Provides details of the ActivityTaskScheduled
event.
See: activityTaskScheduledEventAttributes
smart constructor.
activityTaskScheduledEventAttributes Source
Creates a value of ActivityTaskScheduledEventAttributes
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
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.
atseaScheduleToCloseTimeout :: Lens' ActivityTaskScheduledEventAttributes (Maybe Text) Source
The maximum amount of time for this activity task.
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.
atseaTaskPriority :: Lens' ActivityTaskScheduledEventAttributes (Maybe Text) Source
Optional. The priority to assign to the scheduled activity task. If set, this will override any default priority value that was assigned when the activity type was registered.
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.
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.
atseaActivityType :: Lens' ActivityTaskScheduledEventAttributes ActivityType Source
The type of the activity task.
atseaActivityId :: Lens' ActivityTaskScheduledEventAttributes Text Source
The unique ID of the activity task.
atseaTaskList :: Lens' ActivityTaskScheduledEventAttributes TaskList Source
The task list in which the activity task has been scheduled.
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.
ActivityTaskStartedEventAttributes
data ActivityTaskStartedEventAttributes Source
Provides details of the ActivityTaskStarted
event.
See: activityTaskStartedEventAttributes
smart constructor.
activityTaskStartedEventAttributes Source
Creates a value of ActivityTaskStartedEventAttributes
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
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.
ActivityTaskTimedOutEventAttributes
data ActivityTaskTimedOutEventAttributes Source
Provides details of the ActivityTaskTimedOut
event.
See: activityTaskTimedOutEventAttributes
smart constructor.
activityTaskTimedOutEventAttributes Source
Creates a value of ActivityTaskTimedOutEventAttributes
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
attoeaDetails :: Lens' ActivityTaskTimedOutEventAttributes (Maybe Text) Source
Contains the content of the details
parameter for the last call made
by the activity to RecordActivityTaskHeartbeat
.
attoeaTimeoutType :: Lens' ActivityTaskTimedOutEventAttributes ActivityTaskTimeoutType Source
The type of the timeout that caused this event.
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.
ActivityType
data ActivityType Source
Represents an activity type.
See: activityType
smart constructor.
:: Text | |
-> Text | |
-> ActivityType |
Creates a value of ActivityType
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
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.
ActivityTypeConfiguration
data ActivityTypeConfiguration Source
Configuration settings registered with the activity type.
See: activityTypeConfiguration
smart constructor.
activityTypeConfiguration :: ActivityTypeConfiguration Source
Creates a value of ActivityTypeConfiguration
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
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.
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.
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.
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.
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.
ActivityTypeInfo
data ActivityTypeInfo Source
Detailed information about an activity type.
See: activityTypeInfo
smart constructor.
Creates a value of ActivityTypeInfo
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
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.
atiActivityType :: Lens' ActivityTypeInfo ActivityType Source
The ActivityType type structure representing the activity type.
atiStatus :: Lens' ActivityTypeInfo RegistrationStatus Source
The current status of the activity type.
atiCreationDate :: Lens' ActivityTypeInfo UTCTime Source
The date and time this activity type was created through RegisterActivityType.
CancelTimerDecisionAttributes
data CancelTimerDecisionAttributes Source
Provides details of the CancelTimer
decision.
Access Control
You can use IAM policies to control this decision's access to Amazon SWF resources as follows:
- Use a
Resource
element with the domain name to limit the action to only specified domains. - Use an
Action
element to allow or deny permission to call this action. - You cannot use an IAM policy to constrain this action's parameters.
If the caller does not have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter will be set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows.
See: cancelTimerDecisionAttributes
smart constructor.
cancelTimerDecisionAttributes Source
Creates a value of CancelTimerDecisionAttributes
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ctdaTimerId :: Lens' CancelTimerDecisionAttributes Text Source
Required. The unique ID of the timer to cancel.
CancelTimerFailedEventAttributes
data CancelTimerFailedEventAttributes Source
Provides details of the CancelTimerFailed
event.
See: cancelTimerFailedEventAttributes
smart constructor.
cancelTimerFailedEventAttributes Source
Creates a value of CancelTimerFailedEventAttributes
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ctfeaTimerId :: Lens' CancelTimerFailedEventAttributes Text Source
The timerId provided in the CancelTimer
decision that failed.
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.
CancelWorkflowExecutionDecisionAttributes
data CancelWorkflowExecutionDecisionAttributes Source
Provides details of the CancelWorkflowExecution
decision.
Access Control
You can use IAM policies to control this decision's access to Amazon SWF resources as follows:
- Use a
Resource
element with the domain name to limit the action to only specified domains. - Use an
Action
element to allow or deny permission to call this action. - You cannot use an IAM policy to constrain this action's parameters.
If the caller does not have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter will be set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows.
See: cancelWorkflowExecutionDecisionAttributes
smart constructor.
cancelWorkflowExecutionDecisionAttributes :: CancelWorkflowExecutionDecisionAttributes Source
Creates a value of CancelWorkflowExecutionDecisionAttributes
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cwedaDetails :: Lens' CancelWorkflowExecutionDecisionAttributes (Maybe Text) Source
Optional. details of the cancellation.
CancelWorkflowExecutionFailedEventAttributes
data CancelWorkflowExecutionFailedEventAttributes Source
Provides details of the CancelWorkflowExecutionFailed
event.
See: cancelWorkflowExecutionFailedEventAttributes
smart constructor.
cancelWorkflowExecutionFailedEventAttributes Source
Creates a value of CancelWorkflowExecutionFailedEventAttributes
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cCause :: 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.
cDecisionTaskCompletedEventId :: 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.
ChildWorkflowExecutionCanceledEventAttributes
data ChildWorkflowExecutionCanceledEventAttributes Source
Provide details of the ChildWorkflowExecutionCanceled
event.
See: childWorkflowExecutionCanceledEventAttributes
smart constructor.
childWorkflowExecutionCanceledEventAttributes Source
:: WorkflowExecution | |
-> WorkflowType | |
-> Integer | |
-> Integer | |
-> ChildWorkflowExecutionCanceledEventAttributes |
Creates a value of ChildWorkflowExecutionCanceledEventAttributes
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cDetails :: Lens' ChildWorkflowExecutionCanceledEventAttributes (Maybe Text) Source
Details of the cancellation (if provided).
cWorkflowExecution :: Lens' ChildWorkflowExecutionCanceledEventAttributes WorkflowExecution Source
The child workflow execution that was canceled.
cWorkflowType :: Lens' ChildWorkflowExecutionCanceledEventAttributes WorkflowType Source
The type of the child workflow execution.
cInitiatedEventId :: 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.
cStartedEventId :: 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.
ChildWorkflowExecutionCompletedEventAttributes
data ChildWorkflowExecutionCompletedEventAttributes Source
Provides details of the ChildWorkflowExecutionCompleted
event.
See: childWorkflowExecutionCompletedEventAttributes
smart constructor.
childWorkflowExecutionCompletedEventAttributes Source
:: WorkflowExecution | |
-> WorkflowType | |
-> Integer | |
-> Integer | |
-> ChildWorkflowExecutionCompletedEventAttributes |
Creates a value of ChildWorkflowExecutionCompletedEventAttributes
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cweceaResult :: Lens' ChildWorkflowExecutionCompletedEventAttributes (Maybe Text) Source
The result of the child workflow execution (if any).
cweceaWorkflowExecution :: Lens' ChildWorkflowExecutionCompletedEventAttributes WorkflowExecution Source
The child workflow execution that was completed.
cweceaWorkflowType :: Lens' ChildWorkflowExecutionCompletedEventAttributes WorkflowType Source
The type of the child workflow execution.
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.
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.
ChildWorkflowExecutionFailedEventAttributes
data ChildWorkflowExecutionFailedEventAttributes Source
Provides details of the ChildWorkflowExecutionFailed
event.
See: childWorkflowExecutionFailedEventAttributes
smart constructor.
childWorkflowExecutionFailedEventAttributes Source
:: WorkflowExecution | |
-> WorkflowType | |
-> Integer | |
-> Integer | |
-> ChildWorkflowExecutionFailedEventAttributes |
Creates a value of ChildWorkflowExecutionFailedEventAttributes
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cwefeaReason :: Lens' ChildWorkflowExecutionFailedEventAttributes (Maybe Text) Source
The reason for the failure (if provided).
cwefeaDetails :: Lens' ChildWorkflowExecutionFailedEventAttributes (Maybe Text) Source
The details of the failure (if provided).
cwefeaWorkflowExecution :: Lens' ChildWorkflowExecutionFailedEventAttributes WorkflowExecution Source
The child workflow execution that failed.
cwefeaWorkflowType :: Lens' ChildWorkflowExecutionFailedEventAttributes WorkflowType Source
The type of the child workflow execution.
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.
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.
ChildWorkflowExecutionStartedEventAttributes
data ChildWorkflowExecutionStartedEventAttributes Source
Provides details of the ChildWorkflowExecutionStarted
event.
See: childWorkflowExecutionStartedEventAttributes
smart constructor.
childWorkflowExecutionStartedEventAttributes Source
Creates a value of ChildWorkflowExecutionStartedEventAttributes
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cweseaWorkflowExecution :: Lens' ChildWorkflowExecutionStartedEventAttributes WorkflowExecution Source
The child workflow execution that was started.
cweseaWorkflowType :: Lens' ChildWorkflowExecutionStartedEventAttributes WorkflowType Source
The type of the child workflow execution.
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.
ChildWorkflowExecutionTerminatedEventAttributes
data ChildWorkflowExecutionTerminatedEventAttributes Source
Provides details of the ChildWorkflowExecutionTerminated
event.
See: childWorkflowExecutionTerminatedEventAttributes
smart constructor.
childWorkflowExecutionTerminatedEventAttributes Source
:: WorkflowExecution | |
-> WorkflowType | |
-> Integer | |
-> Integer | |
-> ChildWorkflowExecutionTerminatedEventAttributes |
Creates a value of ChildWorkflowExecutionTerminatedEventAttributes
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cweteaWorkflowExecution :: Lens' ChildWorkflowExecutionTerminatedEventAttributes WorkflowExecution Source
The child workflow execution that was terminated.
cweteaWorkflowType :: Lens' ChildWorkflowExecutionTerminatedEventAttributes WorkflowType Source
The type of the child workflow execution.
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.
ChildWorkflowExecutionTimedOutEventAttributes
data ChildWorkflowExecutionTimedOutEventAttributes Source
Provides details of the ChildWorkflowExecutionTimedOut
event.
See: childWorkflowExecutionTimedOutEventAttributes
smart constructor.
childWorkflowExecutionTimedOutEventAttributes Source
:: WorkflowExecution | |
-> WorkflowType | |
-> WorkflowExecutionTimeoutType | |
-> Integer | |
-> Integer | |
-> ChildWorkflowExecutionTimedOutEventAttributes |
Creates a value of ChildWorkflowExecutionTimedOutEventAttributes
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cwetoeaWorkflowExecution :: Lens' ChildWorkflowExecutionTimedOutEventAttributes WorkflowExecution Source
The child workflow execution that timed out.
cwetoeaWorkflowType :: Lens' ChildWorkflowExecutionTimedOutEventAttributes WorkflowType Source
The type of the child workflow execution.
cwetoeaTimeoutType :: Lens' ChildWorkflowExecutionTimedOutEventAttributes WorkflowExecutionTimeoutType Source
The type of the timeout that caused the child workflow execution to time out.
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.
CloseStatusFilter
data CloseStatusFilter Source
Used to filter the closed workflow executions in visibility APIs by their close status.
See: closeStatusFilter
smart constructor.
Creates a value of CloseStatusFilter
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
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.
CompleteWorkflowExecutionDecisionAttributes
data CompleteWorkflowExecutionDecisionAttributes Source
Provides details of the CompleteWorkflowExecution
decision.
Access Control
You can use IAM policies to control this decision's access to Amazon SWF resources as follows:
- Use a
Resource
element with the domain name to limit the action to only specified domains. - Use an
Action
element to allow or deny permission to call this action. - You cannot use an IAM policy to constrain this action's parameters.
If the caller does not have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter will be set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows.
See: completeWorkflowExecutionDecisionAttributes
smart constructor.
completeWorkflowExecutionDecisionAttributes :: CompleteWorkflowExecutionDecisionAttributes Source
Creates a value of CompleteWorkflowExecutionDecisionAttributes
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cwedaResult :: Lens' CompleteWorkflowExecutionDecisionAttributes (Maybe Text) Source
The result of the workflow execution. The form of the result is implementation defined.
CompleteWorkflowExecutionFailedEventAttributes
data CompleteWorkflowExecutionFailedEventAttributes Source
Provides details of the CompleteWorkflowExecutionFailed
event.
See: completeWorkflowExecutionFailedEventAttributes
smart constructor.
completeWorkflowExecutionFailedEventAttributes Source
Creates a value of CompleteWorkflowExecutionFailedEventAttributes
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
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.
ContinueAsNewWorkflowExecutionDecisionAttributes
data ContinueAsNewWorkflowExecutionDecisionAttributes Source
Provides details of the ContinueAsNewWorkflowExecution
decision.
Access Control
You can use IAM policies to control this decision's access to Amazon SWF resources as follows:
- Use a
Resource
element with the domain name to limit the action to only specified domains. - Use an
Action
element to allow or deny permission to call this action. - Constrain the following parameters by using a
Condition
element with the appropriate keys. tag
: Optional.. A tag used to identify the workflow executiontaskList
: String constraint. The key is 'swf:taskList.name'.- 'workflowType.version': String constraint. The key is 'swf:workflowType.version'.
If the caller does not have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter will be set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows.
See: continueAsNewWorkflowExecutionDecisionAttributes
smart constructor.
continueAsNewWorkflowExecutionDecisionAttributes :: ContinueAsNewWorkflowExecutionDecisionAttributes Source
Creates a value of ContinueAsNewWorkflowExecutionDecisionAttributes
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
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 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.
canwedaLambdaRole :: Lens' ContinueAsNewWorkflowExecutionDecisionAttributes (Maybe Text) Source
The ARN of an IAM role that authorizes Amazon SWF to invoke AWS Lambda functions.
In order for this workflow execution to invoke AWS Lambda functions, an appropriate IAM role must be specified either as a default for the workflow type or through this field.
canwedaInput :: Lens' ContinueAsNewWorkflowExecutionDecisionAttributes (Maybe Text) Source
The input provided to the new workflow execution.
canwedaWorkflowTypeVersion :: Lens' ContinueAsNewWorkflowExecutionDecisionAttributes (Maybe Text) Source
Undocumented member.
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.
canwedaTaskList :: Lens' ContinueAsNewWorkflowExecutionDecisionAttributes (Maybe TaskList) Source
Undocumented member.
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.
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.
ContinueAsNewWorkflowExecutionFailedEventAttributes
data ContinueAsNewWorkflowExecutionFailedEventAttributes Source
Provides details of the ContinueAsNewWorkflowExecutionFailed
event.
See: continueAsNewWorkflowExecutionFailedEventAttributes
smart constructor.
continueAsNewWorkflowExecutionFailedEventAttributes Source
:: ContinueAsNewWorkflowExecutionFailedCause | |
-> Integer | |
-> ContinueAsNewWorkflowExecutionFailedEventAttributes |
Creates a value of ContinueAsNewWorkflowExecutionFailedEventAttributes
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
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.
Decision
Specifies a decision made by the decider. A decision can be one of these types:
- CancelTimer: cancels a previously started timer and records a
TimerCanceled
event in the history. - CancelWorkflowExecution: closes the workflow execution and
records a
WorkflowExecutionCanceled
event in the history. - CompleteWorkflowExecution: closes the workflow execution and
records a
WorkflowExecutionCompleted
event in the history . - ContinueAsNewWorkflowExecution: closes the workflow execution
and starts a new workflow execution of the same type using the same
workflow ID and a unique run ID. A
WorkflowExecutionContinuedAsNew
event is recorded in the history. - FailWorkflowExecution: closes the workflow execution and records
a
WorkflowExecutionFailed
event in the history. - RecordMarker: records a
MarkerRecorded
event in the history. Markers can be used for adding custom information in the history for instance to let deciders know that they do not need to look at the history beyond the marker event. - RequestCancelActivityTask: attempts to cancel a previously scheduled activity task. If the activity task was scheduled but has not been assigned to a worker, then it will be canceled. If the activity task was already assigned to a worker, then the worker will be informed that cancellation has been requested in the response to RecordActivityTaskHeartbeat.
- RequestCancelExternalWorkflowExecution: requests that a request
be made to cancel the specified external workflow execution and
records a
RequestCancelExternalWorkflowExecutionInitiated
event in the history. - ScheduleActivityTask: schedules an activity task.
- ScheduleLambdaFunction: schedules a AWS Lambda function.
- SignalExternalWorkflowExecution: requests a signal to be
delivered to the specified external workflow execution and records a
SignalExternalWorkflowExecutionInitiated
event in the history. - StartChildWorkflowExecution: requests that a child workflow
execution be started and records a
StartChildWorkflowExecutionInitiated
event in the history. The child workflow execution is a separate workflow execution with its own history. - StartTimer: starts a timer for this workflow execution and
records a
TimerStarted
event in the history. This timer will fire after the specified delay and record aTimerFired
event.
Access Control
If you grant permission to use RespondDecisionTaskCompleted
, you can
use IAM policies to express permissions for the list of decisions
returned by this action as if they were members of the API. Treating
decisions as a pseudo API maintains a uniform conceptual model and helps
keep policies readable. For details and example IAM policies, see
Using IAM to Manage Access to Amazon SWF Workflows.
Decision Failure
Decisions can fail for several reasons
- The ordering of decisions should follow a logical flow. Some decisions might not make sense in the current context of the workflow execution and will therefore fail.
- A limit on your account was reached.
- The decision lacks sufficient permissions.
One of the following events might be added to the history to indicate an error. The event attribute's cause parameter indicates the cause. 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.
- ScheduleActivityTaskFailed: a ScheduleActivityTask decision failed. This could happen if the activity type specified in the decision is not registered, is in a deprecated state, or the decision is not properly configured.
- ScheduleLambdaFunctionFailed: a ScheduleLambdaFunctionFailed decision failed. This could happen if the AWS Lambda function specified in the decision does not exist, or the AWS Lambda service's limits are exceeded.
- RequestCancelActivityTaskFailed: a RequestCancelActivityTask decision failed. This could happen if there is no open activity task with the specified activityId.
- StartTimerFailed: a StartTimer decision failed. This could happen if there is another open timer with the same timerId.
- CancelTimerFailed: a CancelTimer decision failed. This could happen if there is no open timer with the specified timerId.
- StartChildWorkflowExecutionFailed: a StartChildWorkflowExecution decision failed. This could happen if the workflow type specified is not registered, is deprecated, or the decision is not properly configured.
- SignalExternalWorkflowExecutionFailed: a
SignalExternalWorkflowExecution decision failed. This could happen
if the
workflowID
specified in the decision was incorrect. - RequestCancelExternalWorkflowExecutionFailed: a
RequestCancelExternalWorkflowExecution decision failed. This could
happen if the
workflowID
specified in the decision was incorrect. - CancelWorkflowExecutionFailed: a CancelWorkflowExecution decision failed. This could happen if there is an unhandled decision task pending in the workflow execution.
- CompleteWorkflowExecutionFailed: a CompleteWorkflowExecution decision failed. This could happen if there is an unhandled decision task pending in the workflow execution.
- ContinueAsNewWorkflowExecutionFailed: a ContinueAsNewWorkflowExecution decision failed. This could happen if there is an unhandled decision task pending in the workflow execution or the ContinueAsNewWorkflowExecution decision was not configured correctly.
- FailWorkflowExecutionFailed: a FailWorkflowExecution decision failed. This could happen if there is an unhandled decision task pending in the workflow execution.
The preceding error events might occur due to an error in the decider logic, which might put the workflow execution in an unstable state The cause field in the event structure for the error event indicates the cause of the error.
A workflow execution may be closed by the decider by returning one of
the following decisions when completing a decision task:
CompleteWorkflowExecution
, FailWorkflowExecution
,
CancelWorkflowExecution
and ContinueAsNewWorkflowExecution
. An
UnhandledDecision fault will be returned if a workflow closing decision
is specified and a signal or activity event had been added to the
history while the decision task was being performed by the decider.
Unlike the above situations which are logic issues, this fault is always
possible because of race conditions in a distributed system. The right
action here is to call RespondDecisionTaskCompleted without any
decisions. This would result in another decision task with these new
events included in the history. The decider should handle the new events
and may decide to close the workflow execution.
How to code a decision
You code a decision by first setting the decision type field to one of the above decision values, and then set the corresponding attributes field shown below:
- ScheduleActivityTaskDecisionAttributes
- ScheduleLambdaFunctionDecisionAttributes
- RequestCancelActivityTaskDecisionAttributes
- CompleteWorkflowExecutionDecisionAttributes
- FailWorkflowExecutionDecisionAttributes
- CancelWorkflowExecutionDecisionAttributes
- ContinueAsNewWorkflowExecutionDecisionAttributes
- RecordMarkerDecisionAttributes
- StartTimerDecisionAttributes
- CancelTimerDecisionAttributes
- SignalExternalWorkflowExecutionDecisionAttributes
- RequestCancelExternalWorkflowExecutionDecisionAttributes
- StartChildWorkflowExecutionDecisionAttributes
See: decision
smart constructor.
Creates a value of Decision
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dRequestCancelExternalWorkflowExecutionDecisionAttributes
dScheduleActivityTaskDecisionAttributes
dSignalExternalWorkflowExecutionDecisionAttributes
dStartTimerDecisionAttributes
dRecordMarkerDecisionAttributes
dFailWorkflowExecutionDecisionAttributes
dStartChildWorkflowExecutionDecisionAttributes
dScheduleLambdaFunctionDecisionAttributes
dCompleteWorkflowExecutionDecisionAttributes
dRequestCancelActivityTaskDecisionAttributes
dCancelWorkflowExecutionDecisionAttributes
dCancelTimerDecisionAttributes
dContinueAsNewWorkflowExecutionDecisionAttributes
dDecisionType
dRequestCancelExternalWorkflowExecutionDecisionAttributes :: Lens' Decision (Maybe RequestCancelExternalWorkflowExecutionDecisionAttributes) Source
Provides details of the RequestCancelExternalWorkflowExecution
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.
dSignalExternalWorkflowExecutionDecisionAttributes :: Lens' Decision (Maybe SignalExternalWorkflowExecutionDecisionAttributes) Source
Provides details of the SignalExternalWorkflowExecution
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.
dRecordMarkerDecisionAttributes :: Lens' Decision (Maybe RecordMarkerDecisionAttributes) Source
Provides details of the RecordMarker
decision. It is not set for other
decision types.
dFailWorkflowExecutionDecisionAttributes :: Lens' Decision (Maybe FailWorkflowExecutionDecisionAttributes) Source
Provides details of the FailWorkflowExecution
decision. It is not set
for other decision types.
dStartChildWorkflowExecutionDecisionAttributes :: Lens' Decision (Maybe StartChildWorkflowExecutionDecisionAttributes) Source
Provides details of the StartChildWorkflowExecution
decision. It is
not set for other decision types.
dScheduleLambdaFunctionDecisionAttributes :: Lens' Decision (Maybe ScheduleLambdaFunctionDecisionAttributes) Source
Undocumented member.
dCompleteWorkflowExecutionDecisionAttributes :: Lens' Decision (Maybe CompleteWorkflowExecutionDecisionAttributes) Source
Provides details of the CompleteWorkflowExecution
decision. It is not
set for other decision types.
dRequestCancelActivityTaskDecisionAttributes :: Lens' Decision (Maybe RequestCancelActivityTaskDecisionAttributes) Source
Provides details of the RequestCancelActivityTask
decision. It is not
set for other decision types.
dCancelWorkflowExecutionDecisionAttributes :: Lens' Decision (Maybe CancelWorkflowExecutionDecisionAttributes) Source
Provides details of the CancelWorkflowExecution
decision. It is not
set for other decision types.
dCancelTimerDecisionAttributes :: Lens' Decision (Maybe CancelTimerDecisionAttributes) Source
Provides details of the CancelTimer
decision. It is not set for other
decision types.
dContinueAsNewWorkflowExecutionDecisionAttributes :: Lens' Decision (Maybe ContinueAsNewWorkflowExecutionDecisionAttributes) Source
Provides details of the ContinueAsNewWorkflowExecution
decision. It is
not set for other decision types.
dDecisionType :: Lens' Decision DecisionType Source
Specifies the type of the decision.
DecisionTaskCompletedEventAttributes
data DecisionTaskCompletedEventAttributes Source
Provides details of the DecisionTaskCompleted
event.
See: decisionTaskCompletedEventAttributes
smart constructor.
decisionTaskCompletedEventAttributes Source
Creates a value of DecisionTaskCompletedEventAttributes
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
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.
DecisionTaskScheduledEventAttributes
data DecisionTaskScheduledEventAttributes Source
Provides details about the DecisionTaskScheduled
event.
See: decisionTaskScheduledEventAttributes
smart constructor.
decisionTaskScheduledEventAttributes Source
Creates a value of DecisionTaskScheduledEventAttributes
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
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.
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.
DecisionTaskStartedEventAttributes
data DecisionTaskStartedEventAttributes Source
Provides details of the DecisionTaskStarted
event.
See: decisionTaskStartedEventAttributes
smart constructor.
decisionTaskStartedEventAttributes Source
Creates a value of DecisionTaskStartedEventAttributes
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
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.
DecisionTaskTimedOutEventAttributes
data DecisionTaskTimedOutEventAttributes Source
Provides details of the DecisionTaskTimedOut
event.
See: decisionTaskTimedOutEventAttributes
smart constructor.
decisionTaskTimedOutEventAttributes Source
Creates a value of DecisionTaskTimedOutEventAttributes
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dttoeaTimeoutType :: Lens' DecisionTaskTimedOutEventAttributes DecisionTaskTimeoutType Source
The type of timeout that expired before the decision task could be completed.
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.
DomainConfiguration
data DomainConfiguration Source
Contains the configuration settings of a domain.
See: domainConfiguration
smart constructor.
Creates a value of DomainConfiguration
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dcWorkflowExecutionRetentionPeriodInDays :: Lens' DomainConfiguration Text Source
The retention period for workflow executions in this domain.
DomainInfo
data DomainInfo Source
Contains general information about a domain.
See: domainInfo
smart constructor.
Creates a value of DomainInfo
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
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.
ExecutionTimeFilter
data ExecutionTimeFilter Source
Used to filter the workflow executions in visibility APIs by various time-based rules. Each parameter, if specified, defines a rule that must be satisfied by each returned query result. The parameter values are in the Unix Time format. For example: '"oldestDate": 1325376070.'
See: executionTimeFilter
smart constructor.
Creates a value of ExecutionTimeFilter
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
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.
ExternalWorkflowExecutionCancelRequestedEventAttributes
data ExternalWorkflowExecutionCancelRequestedEventAttributes Source
Provides details of the ExternalWorkflowExecutionCancelRequested
event.
See: externalWorkflowExecutionCancelRequestedEventAttributes
smart constructor.
externalWorkflowExecutionCancelRequestedEventAttributes Source
Creates a value of ExternalWorkflowExecutionCancelRequestedEventAttributes
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ewecreaWorkflowExecution :: Lens' ExternalWorkflowExecutionCancelRequestedEventAttributes WorkflowExecution Source
The external workflow execution to which the cancellation request was delivered.
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.
ExternalWorkflowExecutionSignaledEventAttributes
data ExternalWorkflowExecutionSignaledEventAttributes Source
Provides details of the ExternalWorkflowExecutionSignaled
event.
See: externalWorkflowExecutionSignaledEventAttributes
smart constructor.
externalWorkflowExecutionSignaledEventAttributes Source
Creates a value of ExternalWorkflowExecutionSignaledEventAttributes
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
eweseaWorkflowExecution :: Lens' ExternalWorkflowExecutionSignaledEventAttributes WorkflowExecution Source
The external workflow execution that the signal was delivered to.
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.
FailWorkflowExecutionDecisionAttributes
data FailWorkflowExecutionDecisionAttributes Source
Provides details of the FailWorkflowExecution
decision.
Access Control
You can use IAM policies to control this decision's access to Amazon SWF resources as follows:
- Use a
Resource
element with the domain name to limit the action to only specified domains. - Use an
Action
element to allow or deny permission to call this action. - You cannot use an IAM policy to constrain this action's parameters.
If the caller does not have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter will be set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows.
See: failWorkflowExecutionDecisionAttributes
smart constructor.
failWorkflowExecutionDecisionAttributes :: FailWorkflowExecutionDecisionAttributes Source
Creates a value of FailWorkflowExecutionDecisionAttributes
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
fwedaReason :: Lens' FailWorkflowExecutionDecisionAttributes (Maybe Text) Source
A descriptive reason for the failure that may help in diagnostics.
fwedaDetails :: Lens' FailWorkflowExecutionDecisionAttributes (Maybe Text) Source
Optional. Details of the failure.
FailWorkflowExecutionFailedEventAttributes
data FailWorkflowExecutionFailedEventAttributes Source
Provides details of the FailWorkflowExecutionFailed
event.
See: failWorkflowExecutionFailedEventAttributes
smart constructor.
failWorkflowExecutionFailedEventAttributes Source
Creates a value of FailWorkflowExecutionFailedEventAttributes
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
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.
HistoryEvent
data HistoryEvent Source
Event within a workflow execution. A history event can be one of these types:
- WorkflowExecutionStarted: The workflow execution was started.
- WorkflowExecutionCompleted: The workflow execution was closed due to successful completion.
- WorkflowExecutionFailed: The workflow execution closed due to a failure.
- WorkflowExecutionTimedOut: The workflow execution was closed because a time out was exceeded.
- WorkflowExecutionCanceled: The workflow execution was successfully canceled and closed.
- WorkflowExecutionTerminated: The workflow execution was terminated.
- WorkflowExecutionContinuedAsNew: The workflow execution was closed and a new execution of the same type was created with the same workflowId.
- WorkflowExecutionCancelRequested: A request to cancel this workflow execution was made.
- DecisionTaskScheduled: A decision task was scheduled for the workflow execution.
- DecisionTaskStarted: The decision task was dispatched to a decider.
- DecisionTaskCompleted: The decider successfully completed a decision task by calling RespondDecisionTaskCompleted.
- DecisionTaskTimedOut: The decision task timed out.
- ActivityTaskScheduled: An activity task was scheduled for execution.
- ScheduleActivityTaskFailed: Failed to process ScheduleActivityTask decision. This happens when the decision is not configured properly, for example the activity type specified is not registered.
- ActivityTaskStarted: The scheduled activity task was dispatched to a worker.
- ActivityTaskCompleted: An activity worker successfully completed an activity task by calling RespondActivityTaskCompleted.
- ActivityTaskFailed: An activity worker failed an activity task by calling RespondActivityTaskFailed.
- ActivityTaskTimedOut: The activity task timed out.
- ActivityTaskCanceled: The activity task was successfully canceled.
- ActivityTaskCancelRequested: A
RequestCancelActivityTask
decision was received by the system. - RequestCancelActivityTaskFailed: Failed to process RequestCancelActivityTask decision. This happens when the decision is not configured properly.
- WorkflowExecutionSignaled: An external signal was received for the workflow execution.
- MarkerRecorded: A marker was recorded in the workflow history as
the result of a
RecordMarker
decision. - TimerStarted: A timer was started for the workflow execution due
to a
StartTimer
decision. - StartTimerFailed: Failed to process StartTimer decision. This happens when the decision is not configured properly, for example a timer already exists with the specified timer ID.
- TimerFired: A timer, previously started for this workflow execution, fired.
- TimerCanceled: A timer, previously started for this workflow execution, was successfully canceled.
- CancelTimerFailed: Failed to process CancelTimer decision. This happens when the decision is not configured properly, for example no timer exists with the specified timer ID.
- StartChildWorkflowExecutionInitiated: A request was made to start a child workflow execution.
- StartChildWorkflowExecutionFailed: Failed to process StartChildWorkflowExecution decision. This happens when the decision is not configured properly, for example the workflow type specified is not registered.
- ChildWorkflowExecutionStarted: A child workflow execution was successfully started.
- ChildWorkflowExecutionCompleted: A child workflow execution, started by this workflow execution, completed successfully and was closed.
- ChildWorkflowExecutionFailed: A child workflow execution, started by this workflow execution, failed to complete successfully and was closed.
- ChildWorkflowExecutionTimedOut: A child workflow execution, started by this workflow execution, timed out and was closed.
- ChildWorkflowExecutionCanceled: A child workflow execution, started by this workflow execution, was canceled and closed.
- ChildWorkflowExecutionTerminated: A child workflow execution, started by this workflow execution, was terminated.
- SignalExternalWorkflowExecutionInitiated: A request to signal an external workflow was made.
- ExternalWorkflowExecutionSignaled: A signal, requested by this workflow execution, was successfully delivered to the target external workflow execution.
- SignalExternalWorkflowExecutionFailed: The request to signal an external workflow execution failed.
- RequestCancelExternalWorkflowExecutionInitiated: A request was made to request the cancellation of an external workflow execution.
- ExternalWorkflowExecutionCancelRequested: Request to cancel an external workflow execution was successfully delivered to the target execution.
- RequestCancelExternalWorkflowExecutionFailed: Request to cancel an external workflow execution failed.
- LambdaFunctionScheduled: An AWS Lambda function was scheduled for execution.
- LambdaFunctionStarted: The scheduled function was invoked in the AWS Lambda service.
- LambdaFunctionCompleted: The AWS Lambda function successfully completed.
- LambdaFunctionFailed: The AWS Lambda function execution failed.
- LambdaFunctionTimedOut: The AWS Lambda function execution timed out.
- ScheduleLambdaFunctionFailed: Failed to process ScheduleLambdaFunction decision. This happens when the workflow execution does not have the proper IAM role attached to invoke AWS Lambda functions.
- StartLambdaFunctionFailed: Failed to invoke the scheduled function in the AWS Lambda service. This happens when the AWS Lambda service is not available in the current region, or received too many requests.
See: historyEvent
smart constructor.
Creates a value of HistoryEvent
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
heWorkflowExecutionCancelRequestedEventAttributes
heDecisionTaskScheduledEventAttributes
heStartTimerFailedEventAttributes
heLambdaFunctionStartedEventAttributes
heRecordMarkerFailedEventAttributes
heRequestCancelExternalWorkflowExecutionInitiatedEventAttributes
heWorkflowExecutionCompletedEventAttributes
heActivityTaskScheduledEventAttributes
heChildWorkflowExecutionCompletedEventAttributes
heScheduleActivityTaskFailedEventAttributes
heMarkerRecordedEventAttributes
heScheduleLambdaFunctionFailedEventAttributes
heCompleteWorkflowExecutionFailedEventAttributes
heRequestCancelExternalWorkflowExecutionFailedEventAttributes
heLambdaFunctionCompletedEventAttributes
heTimerCanceledEventAttributes
heWorkflowExecutionStartedEventAttributes
heActivityTaskCompletedEventAttributes
heChildWorkflowExecutionStartedEventAttributes
heDecisionTaskTimedOutEventAttributes
heCancelTimerFailedEventAttributes
heActivityTaskTimedOutEventAttributes
heActivityTaskCanceledEventAttributes
heChildWorkflowExecutionCanceledEventAttributes
heDecisionTaskStartedEventAttributes
heCancelWorkflowExecutionFailedEventAttributes
heLambdaFunctionScheduledEventAttributes
heChildWorkflowExecutionTimedOutEventAttributes
heRequestCancelActivityTaskFailedEventAttributes
heWorkflowExecutionTerminatedEventAttributes
heStartChildWorkflowExecutionInitiatedEventAttributes
heActivityTaskStartedEventAttributes
heSignalExternalWorkflowExecutionFailedEventAttributes
heTimerStartedEventAttributes
heWorkflowExecutionTimedOutEventAttributes
heActivityTaskCancelRequestedEventAttributes
heStartLambdaFunctionFailedEventAttributes
heChildWorkflowExecutionTerminatedEventAttributes
heLambdaFunctionFailedEventAttributes
heWorkflowExecutionCanceledEventAttributes
heWorkflowExecutionSignaledEventAttributes
heActivityTaskFailedEventAttributes
heExternalWorkflowExecutionSignaledEventAttributes
heTimerFiredEventAttributes
heFailWorkflowExecutionFailedEventAttributes
heChildWorkflowExecutionFailedEventAttributes
heDecisionTaskCompletedEventAttributes
heStartChildWorkflowExecutionFailedEventAttributes
heSignalExternalWorkflowExecutionInitiatedEventAttributes
heContinueAsNewWorkflowExecutionFailedEventAttributes
heWorkflowExecutionFailedEventAttributes
heWorkflowExecutionContinuedAsNewEventAttributes
heExternalWorkflowExecutionCancelRequestedEventAttributes
heLambdaFunctionTimedOutEventAttributes
heEventTimestamp
heEventType
heEventId
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.
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.
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.
heLambdaFunctionStartedEventAttributes :: Lens' HistoryEvent (Maybe LambdaFunctionStartedEventAttributes) Source
Undocumented member.
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.
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.
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.
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.
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.
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.
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.
heScheduleLambdaFunctionFailedEventAttributes :: Lens' HistoryEvent (Maybe ScheduleLambdaFunctionFailedEventAttributes) Source
Undocumented member.
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.
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.
heLambdaFunctionCompletedEventAttributes :: Lens' HistoryEvent (Maybe LambdaFunctionCompletedEventAttributes) Source
Undocumented member.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
heLambdaFunctionScheduledEventAttributes :: Lens' HistoryEvent (Maybe LambdaFunctionScheduledEventAttributes) Source
Undocumented member.
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.
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.
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.
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.
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.
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.
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.
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.
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.
heStartLambdaFunctionFailedEventAttributes :: Lens' HistoryEvent (Maybe StartLambdaFunctionFailedEventAttributes) Source
Undocumented member.
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.
heLambdaFunctionFailedEventAttributes :: Lens' HistoryEvent (Maybe LambdaFunctionFailedEventAttributes) Source
Undocumented member.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
heLambdaFunctionTimedOutEventAttributes :: Lens' HistoryEvent (Maybe LambdaFunctionTimedOutEventAttributes) Source
Undocumented member.
heEventTimestamp :: Lens' HistoryEvent UTCTime Source
The date and time when the event occurred.
heEventType :: Lens' HistoryEvent EventType Source
The type of the history event.
heEventId :: Lens' HistoryEvent Integer Source
The system generated ID of the event. This ID uniquely identifies the event with in the workflow execution history.
LambdaFunctionCompletedEventAttributes
data LambdaFunctionCompletedEventAttributes Source
Provides details for the LambdaFunctionCompleted
event.
See: lambdaFunctionCompletedEventAttributes
smart constructor.
lambdaFunctionCompletedEventAttributes Source
Creates a value of LambdaFunctionCompletedEventAttributes
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lfceaResult :: Lens' LambdaFunctionCompletedEventAttributes (Maybe Text) Source
The result of the function execution (if any).
lfceaScheduledEventId :: Lens' LambdaFunctionCompletedEventAttributes Integer Source
The ID of the LambdaFunctionScheduled
event that was recorded when
this AWS Lambda function was scheduled. This information can be useful
for diagnosing problems by tracing back the chain of events leading up
to this event.
lfceaStartedEventId :: Lens' LambdaFunctionCompletedEventAttributes Integer Source
The ID of the LambdaFunctionStarted
event recorded in the history.
LambdaFunctionFailedEventAttributes
data LambdaFunctionFailedEventAttributes Source
Provides details for the LambdaFunctionFailed
event.
See: lambdaFunctionFailedEventAttributes
smart constructor.
lambdaFunctionFailedEventAttributes Source
Creates a value of LambdaFunctionFailedEventAttributes
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lffeaReason :: Lens' LambdaFunctionFailedEventAttributes (Maybe Text) Source
The reason provided for the failure (if any).
lffeaDetails :: Lens' LambdaFunctionFailedEventAttributes (Maybe Text) Source
The details of the failure (if any).
lffeaScheduledEventId :: Lens' LambdaFunctionFailedEventAttributes Integer Source
The ID of the LambdaFunctionScheduled
event that was recorded when
this AWS Lambda function was scheduled. This information can be useful
for diagnosing problems by tracing back the chain of events leading up
to this event.
lffeaStartedEventId :: Lens' LambdaFunctionFailedEventAttributes Integer Source
The ID of the LambdaFunctionStarted
event recorded in the history.
LambdaFunctionScheduledEventAttributes
data LambdaFunctionScheduledEventAttributes Source
Provides details for the LambdaFunctionScheduled
event.
See: lambdaFunctionScheduledEventAttributes
smart constructor.
lambdaFunctionScheduledEventAttributes Source
Creates a value of LambdaFunctionScheduledEventAttributes
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lfseaInput :: Lens' LambdaFunctionScheduledEventAttributes (Maybe Text) Source
Input provided to the AWS Lambda function.
lfseaStartToCloseTimeout :: Lens' LambdaFunctionScheduledEventAttributes (Maybe Text) Source
The maximum time, in seconds, that the AWS Lambda function can take to execute from start to close before it is marked as failed.
lfseaId :: Lens' LambdaFunctionScheduledEventAttributes Text Source
The unique Amazon SWF ID for the AWS Lambda task.
lfseaName :: Lens' LambdaFunctionScheduledEventAttributes Text Source
The name of the scheduled AWS Lambda function.
lfseaDecisionTaskCompletedEventId :: Lens' LambdaFunctionScheduledEventAttributes Integer Source
The ID of the DecisionTaskCompleted
event for the decision that
resulted in the scheduling of this AWS Lambda function. This information
can be useful for diagnosing problems by tracing back the chain of
events leading up to this event.
LambdaFunctionStartedEventAttributes
data LambdaFunctionStartedEventAttributes Source
Provides details for the LambdaFunctionStarted
event.
See: lambdaFunctionStartedEventAttributes
smart constructor.
lambdaFunctionStartedEventAttributes Source
Creates a value of LambdaFunctionStartedEventAttributes
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lfseaScheduledEventId :: Lens' LambdaFunctionStartedEventAttributes Integer Source
The ID of the LambdaFunctionScheduled
event that was recorded when
this AWS Lambda function was scheduled. This information can be useful
for diagnosing problems by tracing back the chain of events leading up
to this event.
LambdaFunctionTimedOutEventAttributes
data LambdaFunctionTimedOutEventAttributes Source
Provides details for the LambdaFunctionTimedOut
event.
See: lambdaFunctionTimedOutEventAttributes
smart constructor.
lambdaFunctionTimedOutEventAttributes Source
Creates a value of LambdaFunctionTimedOutEventAttributes
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lftoeaTimeoutType :: Lens' LambdaFunctionTimedOutEventAttributes (Maybe LambdaFunctionTimeoutType) Source
The type of the timeout that caused this event.
lftoeaScheduledEventId :: Lens' LambdaFunctionTimedOutEventAttributes Integer Source
The ID of the LambdaFunctionScheduled
event that was recorded when
this AWS Lambda function was scheduled. This information can be useful
for diagnosing problems by tracing back the chain of events leading up
to this event.
lftoeaStartedEventId :: Lens' LambdaFunctionTimedOutEventAttributes Integer Source
The ID of the LambdaFunctionStarted
event recorded in the history.
MarkerRecordedEventAttributes
data MarkerRecordedEventAttributes Source
Provides details of the MarkerRecorded
event.
See: markerRecordedEventAttributes
smart constructor.
markerRecordedEventAttributes Source
Creates a value of MarkerRecordedEventAttributes
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
mreaDetails :: Lens' MarkerRecordedEventAttributes (Maybe Text) Source
Details of the marker (if any).
mreaMarkerName :: Lens' MarkerRecordedEventAttributes Text Source
The name of the marker.
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.
PendingTaskCount
data PendingTaskCount Source
Contains the count of tasks in a task list.
See: pendingTaskCount
smart constructor.
Creates a value of PendingTaskCount
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
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.
ptcCount :: Lens' PendingTaskCount Natural Source
The number of tasks in the task list.
RecordMarkerDecisionAttributes
data RecordMarkerDecisionAttributes Source
Provides details of the RecordMarker
decision.
Access Control
You can use IAM policies to control this decision's access to Amazon SWF resources as follows:
- Use a
Resource
element with the domain name to limit the action to only specified domains. - Use an
Action
element to allow or deny permission to call this action. - You cannot use an IAM policy to constrain this action's parameters.
If the caller does not have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter will be set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows.
See: recordMarkerDecisionAttributes
smart constructor.
recordMarkerDecisionAttributes Source
Creates a value of RecordMarkerDecisionAttributes
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
rmdaDetails :: Lens' RecordMarkerDecisionAttributes (Maybe Text) Source
Optional. details of the marker.
rmdaMarkerName :: Lens' RecordMarkerDecisionAttributes Text Source
Required. The name of the marker.
RecordMarkerFailedEventAttributes
data RecordMarkerFailedEventAttributes Source
Provides details of the RecordMarkerFailed
event.
See: recordMarkerFailedEventAttributes
smart constructor.
recordMarkerFailedEventAttributes Source
Creates a value of RecordMarkerFailedEventAttributes
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
rmfeaMarkerName :: Lens' RecordMarkerFailedEventAttributes Text Source
The marker's name.
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.
RequestCancelActivityTaskDecisionAttributes
data RequestCancelActivityTaskDecisionAttributes Source
Provides details of the RequestCancelActivityTask
decision.
Access Control
You can use IAM policies to control this decision's access to Amazon SWF resources as follows:
- Use a
Resource
element with the domain name to limit the action to only specified domains. - Use an
Action
element to allow or deny permission to call this action. - You cannot use an IAM policy to constrain this action's parameters.
If the caller does not have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter will be set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows.
See: requestCancelActivityTaskDecisionAttributes
smart constructor.
requestCancelActivityTaskDecisionAttributes Source
Creates a value of RequestCancelActivityTaskDecisionAttributes
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
rcatdaActivityId :: Lens' RequestCancelActivityTaskDecisionAttributes Text Source
The activityId
of the activity task to be canceled.
RequestCancelActivityTaskFailedEventAttributes
data RequestCancelActivityTaskFailedEventAttributes Source
Provides details of the RequestCancelActivityTaskFailed
event.
See: requestCancelActivityTaskFailedEventAttributes
smart constructor.
requestCancelActivityTaskFailedEventAttributes Source
:: Text | |
-> RequestCancelActivityTaskFailedCause | |
-> Integer | |
-> RequestCancelActivityTaskFailedEventAttributes |
Creates a value of RequestCancelActivityTaskFailedEventAttributes
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
rcatfeaActivityId :: Lens' RequestCancelActivityTaskFailedEventAttributes Text Source
The activityId provided in the RequestCancelActivityTask
decision that
failed.
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.
RequestCancelExternalWorkflowExecutionDecisionAttributes
data RequestCancelExternalWorkflowExecutionDecisionAttributes Source
Provides details of the RequestCancelExternalWorkflowExecution
decision.
Access Control
You can use IAM policies to control this decision's access to Amazon SWF resources as follows:
- Use a
Resource
element with the domain name to limit the action to only specified domains. - Use an
Action
element to allow or deny permission to call this action. - You cannot use an IAM policy to constrain this action's parameters.
If the caller does not have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter will be set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows.
See: requestCancelExternalWorkflowExecutionDecisionAttributes
smart constructor.
requestCancelExternalWorkflowExecutionDecisionAttributes Source
Creates a value of RequestCancelExternalWorkflowExecutionDecisionAttributes
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
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.
RequestCancelExternalWorkflowExecutionFailedEventAttributes
data RequestCancelExternalWorkflowExecutionFailedEventAttributes Source
Provides details of the RequestCancelExternalWorkflowExecutionFailed
event.
See: requestCancelExternalWorkflowExecutionFailedEventAttributes
smart constructor.
requestCancelExternalWorkflowExecutionFailedEventAttributes Source
:: Text | |
-> RequestCancelExternalWorkflowExecutionFailedCause | |
-> Integer | |
-> Integer | |
-> RequestCancelExternalWorkflowExecutionFailedEventAttributes |
Creates a value of RequestCancelExternalWorkflowExecutionFailedEventAttributes
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
rcewefeaControl :: Lens' RequestCancelExternalWorkflowExecutionFailedEventAttributes (Maybe Text) Source
Undocumented member.
rcewefeaRunId :: Lens' RequestCancelExternalWorkflowExecutionFailedEventAttributes (Maybe Text) Source
The runId
of the external workflow execution.
rcewefeaWorkflowId :: Lens' RequestCancelExternalWorkflowExecutionFailedEventAttributes Text Source
The workflowId
of the external workflow to which the cancel request
was to be delivered.
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.
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.
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.
RequestCancelExternalWorkflowExecutionInitiatedEventAttributes
data RequestCancelExternalWorkflowExecutionInitiatedEventAttributes Source
Provides details of the
RequestCancelExternalWorkflowExecutionInitiated
event.
See: requestCancelExternalWorkflowExecutionInitiatedEventAttributes
smart constructor.
requestCancelExternalWorkflowExecutionInitiatedEventAttributes Source
Creates a value of RequestCancelExternalWorkflowExecutionInitiatedEventAttributes
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
rceweieaControl :: Lens' RequestCancelExternalWorkflowExecutionInitiatedEventAttributes (Maybe Text) Source
Optional. Data attached to the event that can be used by the decider in subsequent workflow tasks.
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.
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.
ScheduleActivityTaskDecisionAttributes
data ScheduleActivityTaskDecisionAttributes Source
Provides details of the ScheduleActivityTask
decision.
Access Control
You can use IAM policies to control this decision's access to Amazon SWF resources as follows:
- Use a
Resource
element with the domain name to limit the action to only specified domains. - Use an
Action
element to allow or deny permission to call this action. - Constrain the following parameters by using a
Condition
element with the appropriate keys. - 'activityType.name': String constraint. The key is 'swf:activityType.name'.
- 'activityType.version': String constraint. The key is 'swf:activityType.version'.
taskList
: String constraint. The key is 'swf:taskList.name'.
If the caller does not have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter will be set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows.
See: scheduleActivityTaskDecisionAttributes
smart constructor.
scheduleActivityTaskDecisionAttributes Source
Creates a value of ScheduleActivityTaskDecisionAttributes
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
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.
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.
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.
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.
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.
satdaActivityType :: Lens' ScheduleActivityTaskDecisionAttributes ActivityType Source
Required. The type of the activity task to schedule.
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.
ScheduleActivityTaskFailedEventAttributes
data ScheduleActivityTaskFailedEventAttributes Source
Provides details of the ScheduleActivityTaskFailed
event.
See: scheduleActivityTaskFailedEventAttributes
smart constructor.
scheduleActivityTaskFailedEventAttributes Source
:: ActivityType | |
-> Text | |
-> ScheduleActivityTaskFailedCause | |
-> Integer | |
-> ScheduleActivityTaskFailedEventAttributes |
Creates a value of ScheduleActivityTaskFailedEventAttributes
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
satfeaActivityType :: Lens' ScheduleActivityTaskFailedEventAttributes ActivityType Source
The activity type provided in the ScheduleActivityTask
decision that
failed.
satfeaActivityId :: Lens' ScheduleActivityTaskFailedEventAttributes Text Source
The activityId provided in the ScheduleActivityTask
decision that
failed.
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.
ScheduleLambdaFunctionDecisionAttributes
data ScheduleLambdaFunctionDecisionAttributes Source
Provides details of the ScheduleLambdaFunction
decision.
Access Control
You can use IAM policies to control this decision's access to Amazon SWF resources as follows:
- Use a
Resource
element with the domain name to limit the action to only specified domains. - Use an
Action
element to allow or deny permission to call this action. - Constrain the following parameters by using a
Condition
element with the appropriate keys. - 'activityType.name': String constraint. The key is 'swf:activityType.name'.
- 'activityType.version': String constraint. The key is 'swf:activityType.version'.
taskList
: String constraint. The key is 'swf:taskList.name'.
If the caller does not have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter will be set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows.
See: scheduleLambdaFunctionDecisionAttributes
smart constructor.
scheduleLambdaFunctionDecisionAttributes Source
Creates a value of ScheduleLambdaFunctionDecisionAttributes
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
slfdaInput :: Lens' ScheduleLambdaFunctionDecisionAttributes (Maybe Text) Source
The input provided to the AWS Lambda function.
slfdaStartToCloseTimeout :: Lens' ScheduleLambdaFunctionDecisionAttributes (Maybe Text) Source
If set, specifies the maximum duration the function may take to execute.
slfdaId :: Lens' ScheduleLambdaFunctionDecisionAttributes Text Source
Required. The SWF id
of the AWS Lambda 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.
slfdaName :: Lens' ScheduleLambdaFunctionDecisionAttributes Text Source
Required. The name of the AWS Lambda function to invoke.
ScheduleLambdaFunctionFailedEventAttributes
data ScheduleLambdaFunctionFailedEventAttributes Source
Provides details for the ScheduleLambdaFunctionFailed
event.
See: scheduleLambdaFunctionFailedEventAttributes
smart constructor.
scheduleLambdaFunctionFailedEventAttributes Source
:: Text | |
-> Text | |
-> ScheduleLambdaFunctionFailedCause | |
-> Integer | |
-> ScheduleLambdaFunctionFailedEventAttributes |
Creates a value of ScheduleLambdaFunctionFailedEventAttributes
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
slffeaId :: Lens' ScheduleLambdaFunctionFailedEventAttributes Text Source
The unique Amazon SWF ID of the AWS Lambda task.
slffeaName :: Lens' ScheduleLambdaFunctionFailedEventAttributes Text Source
The name of the scheduled AWS Lambda function.
slffeaCause :: Lens' ScheduleLambdaFunctionFailedEventAttributes ScheduleLambdaFunctionFailedCause 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.
slffeaDecisionTaskCompletedEventId :: Lens' ScheduleLambdaFunctionFailedEventAttributes Integer Source
The ID of the DecisionTaskCompleted
event corresponding to the
decision that resulted in the scheduling of this AWS Lambda function.
This information can be useful for diagnosing problems by tracing back
the chain of events leading up to this event.
SignalExternalWorkflowExecutionDecisionAttributes
data SignalExternalWorkflowExecutionDecisionAttributes Source
Provides details of the SignalExternalWorkflowExecution
decision.
Access Control
You can use IAM policies to control this decision's access to Amazon SWF resources as follows:
- Use a
Resource
element with the domain name to limit the action to only specified domains. - Use an
Action
element to allow or deny permission to call this action. - You cannot use an IAM policy to constrain this action's parameters.
If the caller does not have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter will be set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows.
See: signalExternalWorkflowExecutionDecisionAttributes
smart constructor.
signalExternalWorkflowExecutionDecisionAttributes Source
Creates a value of SignalExternalWorkflowExecutionDecisionAttributes
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
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.
sewedaWorkflowId :: Lens' SignalExternalWorkflowExecutionDecisionAttributes Text Source
Required. The workflowId
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.
SignalExternalWorkflowExecutionFailedEventAttributes
data SignalExternalWorkflowExecutionFailedEventAttributes Source
Provides details of the SignalExternalWorkflowExecutionFailed
event.
See: signalExternalWorkflowExecutionFailedEventAttributes
smart constructor.
signalExternalWorkflowExecutionFailedEventAttributes Source
:: Text | |
-> SignalExternalWorkflowExecutionFailedCause | |
-> Integer | |
-> Integer | |
-> SignalExternalWorkflowExecutionFailedEventAttributes |
Creates a value of SignalExternalWorkflowExecutionFailedEventAttributes
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
sewefeaControl :: Lens' SignalExternalWorkflowExecutionFailedEventAttributes (Maybe Text) Source
Undocumented member.
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.
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.
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.
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.
SignalExternalWorkflowExecutionInitiatedEventAttributes
data SignalExternalWorkflowExecutionInitiatedEventAttributes Source
Provides details of the SignalExternalWorkflowExecutionInitiated
event.
See: signalExternalWorkflowExecutionInitiatedEventAttributes
smart constructor.
signalExternalWorkflowExecutionInitiatedEventAttributes Source
Creates a value of SignalExternalWorkflowExecutionInitiatedEventAttributes
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
seweieaControl :: Lens' SignalExternalWorkflowExecutionInitiatedEventAttributes (Maybe Text) Source
Optional. data attached to the event that can be used by the decider in subsequent decision tasks.
seweieaInput :: Lens' SignalExternalWorkflowExecutionInitiatedEventAttributes (Maybe Text) Source
Input provided to the signal (if any).
seweieaRunId :: Lens' SignalExternalWorkflowExecutionInitiatedEventAttributes (Maybe Text) Source
The runId
of the external workflow execution to send the signal to.
seweieaWorkflowId :: Lens' SignalExternalWorkflowExecutionInitiatedEventAttributes Text Source
The workflowId
of the external workflow execution.
seweieaSignalName :: Lens' SignalExternalWorkflowExecutionInitiatedEventAttributes Text Source
The name of the signal.
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.
StartChildWorkflowExecutionDecisionAttributes
data StartChildWorkflowExecutionDecisionAttributes Source
Provides details of the StartChildWorkflowExecution
decision.
Access Control
You can use IAM policies to control this decision's access to Amazon SWF resources as follows:
- Use a
Resource
element with the domain name to limit the action to only specified domains. - Use an
Action
element to allow or deny permission to call this action. - Constrain the following parameters by using a
Condition
element with the appropriate keys. - 'tagList.member.N': The key is "swf:tagList.N" where N is the tag number from 0 to 4, inclusive.
taskList
: String constraint. The key is 'swf:taskList.name'.- 'workflowType.name': String constraint. The key is 'swf:workflowType.name'.
- 'workflowType.version': String constraint. The key is 'swf:workflowType.version'.
If the caller does not have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter will be set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows.
See: startChildWorkflowExecutionDecisionAttributes
smart constructor.
startChildWorkflowExecutionDecisionAttributes Source
Creates a value of StartChildWorkflowExecutionDecisionAttributes
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
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.
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.
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.
scwedaLambdaRole :: Lens' StartChildWorkflowExecutionDecisionAttributes (Maybe Text) Source
The ARN of an IAM role that authorizes Amazon SWF to invoke AWS Lambda functions.
In order for this workflow execution to invoke AWS Lambda functions, an appropriate IAM role must be specified either as a default for the workflow type or through this field.
scwedaInput :: Lens' StartChildWorkflowExecutionDecisionAttributes (Maybe Text) Source
The input to be provided to the 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.
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.
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.
scwedaWorkflowType :: Lens' StartChildWorkflowExecutionDecisionAttributes WorkflowType Source
Required. The type of the workflow execution to be started.
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.
StartChildWorkflowExecutionFailedEventAttributes
data StartChildWorkflowExecutionFailedEventAttributes Source
Provides details of the StartChildWorkflowExecutionFailed
event.
See: startChildWorkflowExecutionFailedEventAttributes
smart constructor.
startChildWorkflowExecutionFailedEventAttributes Source
:: WorkflowType | |
-> StartChildWorkflowExecutionFailedCause | |
-> Text | |
-> Integer | |
-> Integer | |
-> StartChildWorkflowExecutionFailedEventAttributes |
Creates a value of StartChildWorkflowExecutionFailedEventAttributes
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
scwefeaControl :: Lens' StartChildWorkflowExecutionFailedEventAttributes (Maybe Text) Source
Undocumented member.
scwefeaWorkflowType :: Lens' StartChildWorkflowExecutionFailedEventAttributes WorkflowType Source
The workflow type provided in the StartChildWorkflowExecution
decision
that failed.
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.
scwefeaWorkflowId :: Lens' StartChildWorkflowExecutionFailedEventAttributes Text Source
The workflowId
of the child workflow execution.
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.
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.
StartChildWorkflowExecutionInitiatedEventAttributes
data StartChildWorkflowExecutionInitiatedEventAttributes Source
Provides details of the StartChildWorkflowExecutionInitiated
event.
See: startChildWorkflowExecutionInitiatedEventAttributes
smart constructor.
startChildWorkflowExecutionInitiatedEventAttributes Source
:: Text | |
-> WorkflowType | |
-> TaskList | |
-> Integer | |
-> ChildPolicy | |
-> StartChildWorkflowExecutionInitiatedEventAttributes |
Creates a value of StartChildWorkflowExecutionInitiatedEventAttributes
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
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.
scweieaTagList :: Lens' StartChildWorkflowExecutionInitiatedEventAttributes [Text] Source
The list of tags to associated with the child workflow execution.
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.
scweieaLambdaRole :: Lens' StartChildWorkflowExecutionInitiatedEventAttributes (Maybe Text) Source
The IAM role attached to this workflow execution to use when invoking AWS Lambda functions.
scweieaInput :: Lens' StartChildWorkflowExecutionInitiatedEventAttributes (Maybe Text) Source
The inputs provided to the child workflow execution (if any).
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.
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.
scweieaWorkflowId :: Lens' StartChildWorkflowExecutionInitiatedEventAttributes Text Source
The workflowId
of the child workflow execution.
scweieaWorkflowType :: Lens' StartChildWorkflowExecutionInitiatedEventAttributes WorkflowType Source
The type of 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.
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.
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.
StartLambdaFunctionFailedEventAttributes
data StartLambdaFunctionFailedEventAttributes Source
Provides details for the StartLambdaFunctionFailed
event.
See: startLambdaFunctionFailedEventAttributes
smart constructor.
startLambdaFunctionFailedEventAttributes :: StartLambdaFunctionFailedEventAttributes Source
Creates a value of StartLambdaFunctionFailedEventAttributes
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
sScheduledEventId :: Lens' StartLambdaFunctionFailedEventAttributes (Maybe Integer) Source
The ID of the LambdaFunctionScheduled
event that was recorded when
this AWS Lambda function was scheduled. This information can be useful
for diagnosing problems by tracing back the chain of events leading up
to this event.
sCause :: Lens' StartLambdaFunctionFailedEventAttributes (Maybe StartLambdaFunctionFailedCause) 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.
sMessage :: Lens' StartLambdaFunctionFailedEventAttributes (Maybe Text) Source
The error message (if any).
StartTimerDecisionAttributes
data StartTimerDecisionAttributes Source
Provides details of the StartTimer
decision.
Access Control
You can use IAM policies to control this decision's access to Amazon SWF resources as follows:
- Use a
Resource
element with the domain name to limit the action to only specified domains. - Use an
Action
element to allow or deny permission to call this action. - You cannot use an IAM policy to constrain this action's parameters.
If the caller does not have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter will be set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows.
See: startTimerDecisionAttributes
smart constructor.
startTimerDecisionAttributes Source
Creates a value of StartTimerDecisionAttributes
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
stdaControl :: Lens' StartTimerDecisionAttributes (Maybe Text) Source
Optional. Data attached to the event that can be used by the decider in subsequent workflow tasks.
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.
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.
StartTimerFailedEventAttributes
data StartTimerFailedEventAttributes Source
Provides details of the StartTimerFailed
event.
See: startTimerFailedEventAttributes
smart constructor.
startTimerFailedEventAttributes Source
Creates a value of StartTimerFailedEventAttributes
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
stfeaTimerId :: Lens' StartTimerFailedEventAttributes Text Source
The timerId provided in the StartTimer
decision that failed.
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.
TagFilter
Used to filter the workflow executions in visibility APIs based on a tag.
See: tagFilter
smart constructor.
tfTag :: Lens' TagFilter Text Source
Required. Specifies the tag that must be associated with the execution for it to meet the filter criteria.
TaskList
Represents a task list.
See: taskList
smart constructor.
TimerCanceledEventAttributes
data TimerCanceledEventAttributes Source
Provides details of the TimerCanceled
event.
See: timerCanceledEventAttributes
smart constructor.
timerCanceledEventAttributes Source
:: Text | |
-> Integer | |
-> Integer | |
-> TimerCanceledEventAttributes |
Creates a value of TimerCanceledEventAttributes
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
tceaTimerId :: Lens' TimerCanceledEventAttributes Text Source
The unique ID of the timer that was canceled.
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.
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.
TimerFiredEventAttributes
data TimerFiredEventAttributes Source
Provides details of the TimerFired
event.
See: timerFiredEventAttributes
smart constructor.
timerFiredEventAttributes Source
Creates a value of TimerFiredEventAttributes
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
tfeaTimerId :: Lens' TimerFiredEventAttributes Text Source
The unique ID of the timer that fired.
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.
TimerStartedEventAttributes
data TimerStartedEventAttributes Source
Provides details of the TimerStarted
event.
See: timerStartedEventAttributes
smart constructor.
timerStartedEventAttributes Source
:: Text | |
-> Text | |
-> Integer | |
-> TimerStartedEventAttributes |
Creates a value of TimerStartedEventAttributes
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
tseaControl :: Lens' TimerStartedEventAttributes (Maybe Text) Source
Optional. Data attached to the event that can be used by the decider in subsequent workflow tasks.
tseaTimerId :: Lens' TimerStartedEventAttributes Text Source
The unique ID of the timer that was started.
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.
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.
WorkflowExecution
data WorkflowExecution Source
Represents a workflow execution.
See: workflowExecution
smart constructor.
Creates a value of WorkflowExecution
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
weWorkflowId :: Lens' WorkflowExecution Text Source
The user defined identifier associated with the workflow execution.
weRunId :: Lens' WorkflowExecution Text Source
A system-generated unique identifier for the workflow execution.
WorkflowExecutionCancelRequestedEventAttributes
data WorkflowExecutionCancelRequestedEventAttributes Source
Provides details of the WorkflowExecutionCancelRequested
event.
See: workflowExecutionCancelRequestedEventAttributes
smart constructor.
workflowExecutionCancelRequestedEventAttributes :: WorkflowExecutionCancelRequestedEventAttributes Source
Creates a value of WorkflowExecutionCancelRequestedEventAttributes
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
wecreaExternalWorkflowExecution :: Lens' WorkflowExecutionCancelRequestedEventAttributes (Maybe WorkflowExecution) Source
The external workflow execution for which the cancellation was requested.
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.
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.
WorkflowExecutionCanceledEventAttributes
data WorkflowExecutionCanceledEventAttributes Source
Provides details of the WorkflowExecutionCanceled
event.
See: workflowExecutionCanceledEventAttributes
smart constructor.
workflowExecutionCanceledEventAttributes Source
Creates a value of WorkflowExecutionCanceledEventAttributes
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
wDetails :: Lens' WorkflowExecutionCanceledEventAttributes (Maybe Text) Source
Details for the cancellation (if any).
wDecisionTaskCompletedEventId :: 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.
WorkflowExecutionCompletedEventAttributes
data WorkflowExecutionCompletedEventAttributes Source
Provides details of the WorkflowExecutionCompleted
event.
See: workflowExecutionCompletedEventAttributes
smart constructor.
workflowExecutionCompletedEventAttributes Source
Creates a value of WorkflowExecutionCompletedEventAttributes
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
weceaResult :: Lens' WorkflowExecutionCompletedEventAttributes (Maybe Text) Source
The result produced by the workflow execution upon successful completion.
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.
WorkflowExecutionConfiguration
data WorkflowExecutionConfiguration Source
The configuration settings for a workflow execution including timeout values, tasklist etc. These configuration settings are determined from the defaults specified when registering the workflow type and those specified when starting the workflow execution.
See: workflowExecutionConfiguration
smart constructor.
workflowExecutionConfiguration Source
:: Text | |
-> Text | |
-> TaskList | |
-> ChildPolicy | |
-> WorkflowExecutionConfiguration |
Creates a value of WorkflowExecutionConfiguration
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
wecLambdaRole :: Lens' WorkflowExecutionConfiguration (Maybe Text) Source
The IAM role used by this workflow execution when invoking AWS Lambda functions.
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.
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.
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.
WorkflowExecutionContinuedAsNewEventAttributes
data WorkflowExecutionContinuedAsNewEventAttributes Source
Provides details of the WorkflowExecutionContinuedAsNew
event.
See: workflowExecutionContinuedAsNewEventAttributes
smart constructor.
workflowExecutionContinuedAsNewEventAttributes Source
:: Integer | |
-> Text | |
-> TaskList | |
-> ChildPolicy | |
-> WorkflowType | |
-> WorkflowExecutionContinuedAsNewEventAttributes |
Creates a value of WorkflowExecutionContinuedAsNewEventAttributes
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
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.
wecaneaLambdaRole :: Lens' WorkflowExecutionContinuedAsNewEventAttributes (Maybe Text) Source
The IAM role attached to this workflow execution to use when invoking AWS Lambda functions.
wecaneaInput :: Lens' WorkflowExecutionContinuedAsNewEventAttributes (Maybe Text) Source
The input provided to the new workflow execution.
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.
wecaneaTaskPriority :: Lens' WorkflowExecutionContinuedAsNewEventAttributes (Maybe Text) Source
Undocumented member.
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.
wecaneaNewExecutionRunId :: Lens' WorkflowExecutionContinuedAsNewEventAttributes Text Source
The runId
of the new workflow execution.
wecaneaTaskList :: Lens' WorkflowExecutionContinuedAsNewEventAttributes TaskList Source
Undocumented member.
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.
wecaneaWorkflowType :: Lens' WorkflowExecutionContinuedAsNewEventAttributes WorkflowType Source
Undocumented member.
WorkflowExecutionCount
data WorkflowExecutionCount Source
Contains the count of workflow executions returned from CountOpenWorkflowExecutions or CountClosedWorkflowExecutions
See: workflowExecutionCount
smart constructor.
Creates a value of WorkflowExecutionCount
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
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.
wecCount :: Lens' WorkflowExecutionCount Natural Source
The number of workflow executions.
WorkflowExecutionFailedEventAttributes
data WorkflowExecutionFailedEventAttributes Source
Provides details of the WorkflowExecutionFailed
event.
See: workflowExecutionFailedEventAttributes
smart constructor.
workflowExecutionFailedEventAttributes Source
Creates a value of WorkflowExecutionFailedEventAttributes
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
wefeaReason :: Lens' WorkflowExecutionFailedEventAttributes (Maybe Text) Source
The descriptive reason provided for the failure (if any).
wefeaDetails :: Lens' WorkflowExecutionFailedEventAttributes (Maybe Text) Source
The details of the failure (if any).
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.
WorkflowExecutionFilter
data WorkflowExecutionFilter Source
Used to filter the workflow executions in visibility APIs by their
workflowId
.
See: workflowExecutionFilter
smart constructor.
workflowExecutionFilter Source
Creates a value of WorkflowExecutionFilter
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
wefWorkflowId :: Lens' WorkflowExecutionFilter Text Source
The workflowId to pass of match the criteria of this filter.
WorkflowExecutionInfo
data WorkflowExecutionInfo Source
Contains information about a workflow execution.
See: workflowExecutionInfo
smart constructor.
Creates a value of WorkflowExecutionInfo
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
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.
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.
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.
weiCancelRequested :: Lens' WorkflowExecutionInfo (Maybe Bool) Source
Set to true if a cancellation is requested for this workflow execution.
weiExecution :: Lens' WorkflowExecutionInfo WorkflowExecution Source
The workflow execution this information is about.
weiWorkflowType :: Lens' WorkflowExecutionInfo WorkflowType Source
The type of the workflow execution.
weiStartTimestamp :: Lens' WorkflowExecutionInfo UTCTime Source
The time when the execution was started.
weiExecutionStatus :: Lens' WorkflowExecutionInfo ExecutionStatus Source
The current status of the execution.
WorkflowExecutionInfos
data WorkflowExecutionInfos Source
Contains a paginated list of information about workflow executions.
See: workflowExecutionInfos
smart constructor.
workflowExecutionInfos :: WorkflowExecutionInfos Source
Creates a value of WorkflowExecutionInfos
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
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.
weiExecutionInfos :: Lens' WorkflowExecutionInfos [WorkflowExecutionInfo] Source
The list of workflow information structures.
WorkflowExecutionOpenCounts
data WorkflowExecutionOpenCounts Source
Contains the counts of open tasks, child workflow executions and timers for a workflow execution.
See: workflowExecutionOpenCounts
smart constructor.
workflowExecutionOpenCounts Source
:: Natural | |
-> Natural | |
-> Natural | |
-> Natural | |
-> WorkflowExecutionOpenCounts |
Creates a value of WorkflowExecutionOpenCounts
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
weocOpenLambdaFunctions :: Lens' WorkflowExecutionOpenCounts (Maybe Natural) Source
The count of AWS Lambda functions that are currently executing.
weocOpenActivityTasks :: Lens' WorkflowExecutionOpenCounts Natural Source
The count of activity tasks 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.
weocOpenChildWorkflowExecutions :: Lens' WorkflowExecutionOpenCounts Natural Source
The count of child workflow executions whose status is OPEN.
WorkflowExecutionSignaledEventAttributes
data WorkflowExecutionSignaledEventAttributes Source
Provides details of the WorkflowExecutionSignaled
event.
See: workflowExecutionSignaledEventAttributes
smart constructor.
workflowExecutionSignaledEventAttributes Source
Creates a value of WorkflowExecutionSignaledEventAttributes
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
wExternalWorkflowExecution :: 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.
wExternalInitiatedEventId :: 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.
wInput :: 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.
wSignalName :: 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.
WorkflowExecutionStartedEventAttributes
data WorkflowExecutionStartedEventAttributes Source
Provides details of WorkflowExecutionStarted
event.
See: workflowExecutionStartedEventAttributes
smart constructor.
workflowExecutionStartedEventAttributes Source
Creates a value of WorkflowExecutionStartedEventAttributes
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
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.
weseaTagList :: Lens' WorkflowExecutionStartedEventAttributes [Text] Source
The list of tags associated with this workflow execution. An execution can have up to 5 tags.
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.
weseaLambdaRole :: Lens' WorkflowExecutionStartedEventAttributes (Maybe Text) Source
The IAM role attached to this workflow execution to use when invoking AWS Lambda functions.
weseaInput :: Lens' WorkflowExecutionStartedEventAttributes (Maybe Text) Source
The input provided to the workflow execution (if any).
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.
weseaTaskPriority :: Lens' WorkflowExecutionStartedEventAttributes (Maybe Text) Source
Undocumented member.
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.
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.
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.
weseaTaskList :: Lens' WorkflowExecutionStartedEventAttributes TaskList Source
The name of the task list for scheduling the decision tasks for this workflow execution.
weseaWorkflowType :: Lens' WorkflowExecutionStartedEventAttributes WorkflowType Source
The workflow type of this execution.
WorkflowExecutionTerminatedEventAttributes
data WorkflowExecutionTerminatedEventAttributes Source
Provides details of the WorkflowExecutionTerminated
event.
See: workflowExecutionTerminatedEventAttributes
smart constructor.
workflowExecutionTerminatedEventAttributes Source
Creates a value of WorkflowExecutionTerminatedEventAttributes
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
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.
weteaReason :: Lens' WorkflowExecutionTerminatedEventAttributes (Maybe Text) Source
The reason provided for the termination (if any).
weteaDetails :: Lens' WorkflowExecutionTerminatedEventAttributes (Maybe Text) Source
The details provided for the termination (if any).
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.
WorkflowExecutionTimedOutEventAttributes
data WorkflowExecutionTimedOutEventAttributes Source
Provides details of the WorkflowExecutionTimedOut
event.
See: workflowExecutionTimedOutEventAttributes
smart constructor.
workflowExecutionTimedOutEventAttributes Source
Creates a value of WorkflowExecutionTimedOutEventAttributes
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
wetoeaTimeoutType :: Lens' WorkflowExecutionTimedOutEventAttributes WorkflowExecutionTimeoutType Source
The type of timeout that caused this event.
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.
WorkflowType
data WorkflowType Source
Represents a workflow type.
See: workflowType
smart constructor.
:: Text | |
-> Text | |
-> WorkflowType |
Creates a value of WorkflowType
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
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.
WorkflowTypeConfiguration
data WorkflowTypeConfiguration Source
The configuration settings of a workflow type.
See: workflowTypeConfiguration
smart constructor.
workflowTypeConfiguration :: WorkflowTypeConfiguration Source
Creates a value of WorkflowTypeConfiguration
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
wtcDefaultLambdaRole :: Lens' WorkflowTypeConfiguration (Maybe Text) Source
The default IAM role to use when a workflow execution invokes a AWS Lambda function.
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.
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.
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.
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.
WorkflowTypeFilter
data WorkflowTypeFilter Source
Used to filter workflow execution query results by type. Each parameter, if specified, defines a rule that must be satisfied by each returned result.
See: workflowTypeFilter
smart constructor.
Creates a value of WorkflowTypeFilter
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
wtfVersion :: Lens' WorkflowTypeFilter (Maybe Text) Source
Version of the workflow type.
wtfName :: Lens' WorkflowTypeFilter Text Source
Required. Name of the workflow type.
WorkflowTypeInfo
data WorkflowTypeInfo Source
Contains information about a workflow type.
See: workflowTypeInfo
smart constructor.
Creates a value of WorkflowTypeInfo
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
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.
wtiWorkflowType :: Lens' WorkflowTypeInfo WorkflowType Source
The workflow type this information is about.
wtiStatus :: Lens' WorkflowTypeInfo RegistrationStatus Source
The current status of the workflow type.
wtiCreationDate :: Lens' WorkflowTypeInfo UTCTime Source
The date when this type was registered.