Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
- Service Configuration
- Errors
- Waiters
- Operations
- ListOpenWorkflowExecutions (Paginated)
- RegisterActivityType
- ListActivityTypes (Paginated)
- CountPendingActivityTasks
- RegisterWorkflowType
- ListWorkflowTypes (Paginated)
- ListTagsForResource
- RespondActivityTaskFailed
- CountOpenWorkflowExecutions
- UndeprecateDomain
- DescribeWorkflowType
- DeprecateWorkflowType
- RequestCancelWorkflowExecution
- RegisterDomain
- RespondDecisionTaskCompleted
- PollForActivityTask
- RespondActivityTaskCompleted
- DescribeWorkflowExecution
- SignalWorkflowExecution
- CountPendingDecisionTasks
- ListClosedWorkflowExecutions (Paginated)
- RecordActivityTaskHeartbeat
- DescribeDomain
- GetWorkflowExecutionHistory (Paginated)
- DeprecateDomain
- UndeprecateWorkflowType
- TerminateWorkflowExecution
- DescribeActivityType
- TagResource
- DeprecateActivityType
- UndeprecateActivityType
- CountClosedWorkflowExecutions
- UntagResource
- RespondActivityTaskCanceled
- StartWorkflowExecution
- PollForDecisionTask (Paginated)
- ListDomains (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
- ResourceTag
- 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
Derived from API version 2012-01-25
of the AWS service descriptions, licensed under Apache 2.0.
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 <https:docs.aws.amazon.comamazonswflatestdeveloperguide Amazon SWF Developer Guide> .
Synopsis
- defaultService :: Service
- _DomainAlreadyExistsFault :: AsError a => Getting (First ServiceError) a ServiceError
- _LimitExceededFault :: AsError a => Getting (First ServiceError) a ServiceError
- _WorkflowExecutionAlreadyStartedFault :: AsError a => Getting (First ServiceError) a ServiceError
- _OperationNotPermittedFault :: AsError a => Getting (First ServiceError) a ServiceError
- _UnknownResourceFault :: AsError a => Getting (First ServiceError) a ServiceError
- _DefaultUndefinedFault :: AsError a => Getting (First ServiceError) a ServiceError
- _TypeDeprecatedFault :: AsError a => Getting (First ServiceError) a ServiceError
- _TooManyTagsFault :: AsError a => Getting (First ServiceError) a ServiceError
- _TypeAlreadyExistsFault :: AsError a => Getting (First ServiceError) a ServiceError
- _DomainDeprecatedFault :: AsError a => Getting (First ServiceError) a ServiceError
- data ListOpenWorkflowExecutions = ListOpenWorkflowExecutions' (Maybe Text) (Maybe WorkflowExecutionFilter) (Maybe WorkflowTypeFilter) (Maybe Bool) (Maybe TagFilter) (Maybe Natural) Text ExecutionTimeFilter
- newListOpenWorkflowExecutions :: Text -> ExecutionTimeFilter -> ListOpenWorkflowExecutions
- data WorkflowExecutionInfos = WorkflowExecutionInfos' (Maybe Text) [WorkflowExecutionInfo]
- newWorkflowExecutionInfos :: WorkflowExecutionInfos
- data RegisterActivityType = RegisterActivityType' (Maybe Text) (Maybe TaskList) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) Text Text Text
- newRegisterActivityType :: Text -> Text -> Text -> RegisterActivityType
- data RegisterActivityTypeResponse = RegisterActivityTypeResponse' {
- newRegisterActivityTypeResponse :: RegisterActivityTypeResponse
- data ListActivityTypes = ListActivityTypes' (Maybe Text) (Maybe Bool) (Maybe Text) (Maybe Natural) Text RegistrationStatus
- newListActivityTypes :: Text -> RegistrationStatus -> ListActivityTypes
- data ListActivityTypesResponse = ListActivityTypesResponse' (Maybe Text) Int [ActivityTypeInfo]
- newListActivityTypesResponse :: Int -> ListActivityTypesResponse
- data CountPendingActivityTasks = CountPendingActivityTasks' Text TaskList
- newCountPendingActivityTasks :: Text -> TaskList -> CountPendingActivityTasks
- data PendingTaskCount = PendingTaskCount' (Maybe Bool) Natural
- newPendingTaskCount :: Natural -> PendingTaskCount
- data RegisterWorkflowType = RegisterWorkflowType' (Maybe Text) (Maybe ChildPolicy) (Maybe TaskList) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) Text Text Text
- newRegisterWorkflowType :: Text -> Text -> Text -> RegisterWorkflowType
- data RegisterWorkflowTypeResponse = RegisterWorkflowTypeResponse' {
- newRegisterWorkflowTypeResponse :: RegisterWorkflowTypeResponse
- data ListWorkflowTypes = ListWorkflowTypes' (Maybe Text) (Maybe Bool) (Maybe Text) (Maybe Natural) Text RegistrationStatus
- newListWorkflowTypes :: Text -> RegistrationStatus -> ListWorkflowTypes
- data ListWorkflowTypesResponse = ListWorkflowTypesResponse' (Maybe Text) Int [WorkflowTypeInfo]
- newListWorkflowTypesResponse :: Int -> ListWorkflowTypesResponse
- data ListTagsForResource = ListTagsForResource' Text
- newListTagsForResource :: Text -> ListTagsForResource
- data ListTagsForResourceResponse = ListTagsForResourceResponse' (Maybe [ResourceTag]) Int
- newListTagsForResourceResponse :: Int -> ListTagsForResourceResponse
- data RespondActivityTaskFailed = RespondActivityTaskFailed' (Maybe Text) (Maybe Text) Text
- newRespondActivityTaskFailed :: Text -> RespondActivityTaskFailed
- data RespondActivityTaskFailedResponse = RespondActivityTaskFailedResponse' {
- newRespondActivityTaskFailedResponse :: RespondActivityTaskFailedResponse
- data CountOpenWorkflowExecutions = CountOpenWorkflowExecutions' (Maybe WorkflowExecutionFilter) (Maybe WorkflowTypeFilter) (Maybe TagFilter) Text ExecutionTimeFilter
- newCountOpenWorkflowExecutions :: Text -> ExecutionTimeFilter -> CountOpenWorkflowExecutions
- data WorkflowExecutionCount = WorkflowExecutionCount' (Maybe Bool) Natural
- newWorkflowExecutionCount :: Natural -> WorkflowExecutionCount
- data UndeprecateDomain = UndeprecateDomain' Text
- newUndeprecateDomain :: Text -> UndeprecateDomain
- data UndeprecateDomainResponse = UndeprecateDomainResponse' {
- newUndeprecateDomainResponse :: UndeprecateDomainResponse
- data DescribeWorkflowType = DescribeWorkflowType' Text WorkflowType
- newDescribeWorkflowType :: Text -> WorkflowType -> DescribeWorkflowType
- data DescribeWorkflowTypeResponse = DescribeWorkflowTypeResponse' Int WorkflowTypeInfo WorkflowTypeConfiguration
- newDescribeWorkflowTypeResponse :: Int -> WorkflowTypeInfo -> WorkflowTypeConfiguration -> DescribeWorkflowTypeResponse
- data DeprecateWorkflowType = DeprecateWorkflowType' Text WorkflowType
- newDeprecateWorkflowType :: Text -> WorkflowType -> DeprecateWorkflowType
- data DeprecateWorkflowTypeResponse = DeprecateWorkflowTypeResponse' {
- newDeprecateWorkflowTypeResponse :: DeprecateWorkflowTypeResponse
- data RequestCancelWorkflowExecution = RequestCancelWorkflowExecution' (Maybe Text) Text Text
- newRequestCancelWorkflowExecution :: Text -> Text -> RequestCancelWorkflowExecution
- data RequestCancelWorkflowExecutionResponse = RequestCancelWorkflowExecutionResponse' {
- newRequestCancelWorkflowExecutionResponse :: RequestCancelWorkflowExecutionResponse
- data RegisterDomain = RegisterDomain' (Maybe Text) (Maybe [ResourceTag]) Text Text
- newRegisterDomain :: Text -> Text -> RegisterDomain
- data RegisterDomainResponse = RegisterDomainResponse' {
- newRegisterDomainResponse :: RegisterDomainResponse
- data RespondDecisionTaskCompleted = RespondDecisionTaskCompleted' (Maybe [Decision]) (Maybe Text) Text
- newRespondDecisionTaskCompleted :: Text -> RespondDecisionTaskCompleted
- data RespondDecisionTaskCompletedResponse = RespondDecisionTaskCompletedResponse' {
- newRespondDecisionTaskCompletedResponse :: RespondDecisionTaskCompletedResponse
- data PollForActivityTask = PollForActivityTask' (Maybe Text) Text TaskList
- newPollForActivityTask :: Text -> TaskList -> PollForActivityTask
- data PollForActivityTaskResponse = PollForActivityTaskResponse' (Maybe ActivityType) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe WorkflowExecution) Int Integer
- newPollForActivityTaskResponse :: Int -> Integer -> PollForActivityTaskResponse
- data RespondActivityTaskCompleted = RespondActivityTaskCompleted' (Maybe Text) Text
- newRespondActivityTaskCompleted :: Text -> RespondActivityTaskCompleted
- data RespondActivityTaskCompletedResponse = RespondActivityTaskCompletedResponse' {
- newRespondActivityTaskCompletedResponse :: RespondActivityTaskCompletedResponse
- data DescribeWorkflowExecution = DescribeWorkflowExecution' Text WorkflowExecution
- newDescribeWorkflowExecution :: Text -> WorkflowExecution -> DescribeWorkflowExecution
- data DescribeWorkflowExecutionResponse = DescribeWorkflowExecutionResponse' (Maybe POSIX) (Maybe Text) Int WorkflowExecutionInfo WorkflowExecutionConfiguration WorkflowExecutionOpenCounts
- newDescribeWorkflowExecutionResponse :: Int -> WorkflowExecutionInfo -> WorkflowExecutionConfiguration -> WorkflowExecutionOpenCounts -> DescribeWorkflowExecutionResponse
- data SignalWorkflowExecution = SignalWorkflowExecution' (Maybe Text) (Maybe Text) Text Text Text
- newSignalWorkflowExecution :: Text -> Text -> Text -> SignalWorkflowExecution
- data SignalWorkflowExecutionResponse = SignalWorkflowExecutionResponse' {
- newSignalWorkflowExecutionResponse :: SignalWorkflowExecutionResponse
- data CountPendingDecisionTasks = CountPendingDecisionTasks' Text TaskList
- newCountPendingDecisionTasks :: Text -> TaskList -> CountPendingDecisionTasks
- data PendingTaskCount = PendingTaskCount' (Maybe Bool) Natural
- newPendingTaskCount :: Natural -> PendingTaskCount
- data ListClosedWorkflowExecutions = ListClosedWorkflowExecutions' (Maybe Text) (Maybe WorkflowExecutionFilter) (Maybe CloseStatusFilter) (Maybe WorkflowTypeFilter) (Maybe ExecutionTimeFilter) (Maybe Bool) (Maybe TagFilter) (Maybe ExecutionTimeFilter) (Maybe Natural) Text
- newListClosedWorkflowExecutions :: Text -> ListClosedWorkflowExecutions
- data WorkflowExecutionInfos = WorkflowExecutionInfos' (Maybe Text) [WorkflowExecutionInfo]
- newWorkflowExecutionInfos :: WorkflowExecutionInfos
- data RecordActivityTaskHeartbeat = RecordActivityTaskHeartbeat' (Maybe Text) Text
- newRecordActivityTaskHeartbeat :: Text -> RecordActivityTaskHeartbeat
- data RecordActivityTaskHeartbeatResponse = RecordActivityTaskHeartbeatResponse' Int Bool
- newRecordActivityTaskHeartbeatResponse :: Int -> Bool -> RecordActivityTaskHeartbeatResponse
- data DescribeDomain = DescribeDomain' Text
- newDescribeDomain :: Text -> DescribeDomain
- data DescribeDomainResponse = DescribeDomainResponse' Int DomainInfo DomainConfiguration
- newDescribeDomainResponse :: Int -> DomainInfo -> DomainConfiguration -> DescribeDomainResponse
- data GetWorkflowExecutionHistory = GetWorkflowExecutionHistory' (Maybe Text) (Maybe Bool) (Maybe Natural) Text WorkflowExecution
- newGetWorkflowExecutionHistory :: Text -> WorkflowExecution -> GetWorkflowExecutionHistory
- data GetWorkflowExecutionHistoryResponse = GetWorkflowExecutionHistoryResponse' (Maybe Text) Int [HistoryEvent]
- newGetWorkflowExecutionHistoryResponse :: Int -> GetWorkflowExecutionHistoryResponse
- data DeprecateDomain = DeprecateDomain' Text
- newDeprecateDomain :: Text -> DeprecateDomain
- data DeprecateDomainResponse = DeprecateDomainResponse' {
- newDeprecateDomainResponse :: DeprecateDomainResponse
- data UndeprecateWorkflowType = UndeprecateWorkflowType' Text WorkflowType
- newUndeprecateWorkflowType :: Text -> WorkflowType -> UndeprecateWorkflowType
- data UndeprecateWorkflowTypeResponse = UndeprecateWorkflowTypeResponse' {
- newUndeprecateWorkflowTypeResponse :: UndeprecateWorkflowTypeResponse
- data TerminateWorkflowExecution = TerminateWorkflowExecution' (Maybe Text) (Maybe Text) (Maybe ChildPolicy) (Maybe Text) Text Text
- newTerminateWorkflowExecution :: Text -> Text -> TerminateWorkflowExecution
- data TerminateWorkflowExecutionResponse = TerminateWorkflowExecutionResponse' {
- newTerminateWorkflowExecutionResponse :: TerminateWorkflowExecutionResponse
- data DescribeActivityType = DescribeActivityType' Text ActivityType
- newDescribeActivityType :: Text -> ActivityType -> DescribeActivityType
- data DescribeActivityTypeResponse = DescribeActivityTypeResponse' Int ActivityTypeInfo ActivityTypeConfiguration
- newDescribeActivityTypeResponse :: Int -> ActivityTypeInfo -> ActivityTypeConfiguration -> DescribeActivityTypeResponse
- data TagResource = TagResource' Text [ResourceTag]
- newTagResource :: Text -> TagResource
- data TagResourceResponse = TagResourceResponse' {
- newTagResourceResponse :: TagResourceResponse
- data DeprecateActivityType = DeprecateActivityType' Text ActivityType
- newDeprecateActivityType :: Text -> ActivityType -> DeprecateActivityType
- data DeprecateActivityTypeResponse = DeprecateActivityTypeResponse' {
- newDeprecateActivityTypeResponse :: DeprecateActivityTypeResponse
- data UndeprecateActivityType = UndeprecateActivityType' Text ActivityType
- newUndeprecateActivityType :: Text -> ActivityType -> UndeprecateActivityType
- data UndeprecateActivityTypeResponse = UndeprecateActivityTypeResponse' {
- newUndeprecateActivityTypeResponse :: UndeprecateActivityTypeResponse
- data CountClosedWorkflowExecutions = CountClosedWorkflowExecutions' (Maybe WorkflowExecutionFilter) (Maybe CloseStatusFilter) (Maybe WorkflowTypeFilter) (Maybe ExecutionTimeFilter) (Maybe TagFilter) (Maybe ExecutionTimeFilter) Text
- newCountClosedWorkflowExecutions :: Text -> CountClosedWorkflowExecutions
- data WorkflowExecutionCount = WorkflowExecutionCount' (Maybe Bool) Natural
- newWorkflowExecutionCount :: Natural -> WorkflowExecutionCount
- data UntagResource = UntagResource' Text [Text]
- newUntagResource :: Text -> UntagResource
- data UntagResourceResponse = UntagResourceResponse' {
- newUntagResourceResponse :: UntagResourceResponse
- data RespondActivityTaskCanceled = RespondActivityTaskCanceled' (Maybe Text) Text
- newRespondActivityTaskCanceled :: Text -> RespondActivityTaskCanceled
- data RespondActivityTaskCanceledResponse = RespondActivityTaskCanceledResponse' {
- newRespondActivityTaskCanceledResponse :: RespondActivityTaskCanceledResponse
- data StartWorkflowExecution = StartWorkflowExecution' (Maybe [Text]) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe TaskList) (Maybe Text) (Maybe ChildPolicy) Text Text WorkflowType
- newStartWorkflowExecution :: Text -> Text -> WorkflowType -> StartWorkflowExecution
- data StartWorkflowExecutionResponse = StartWorkflowExecutionResponse' (Maybe Text) Int
- newStartWorkflowExecutionResponse :: Int -> StartWorkflowExecutionResponse
- data PollForDecisionTask = PollForDecisionTask' (Maybe Text) (Maybe Bool) (Maybe Natural) (Maybe Text) Text TaskList
- newPollForDecisionTask :: Text -> TaskList -> PollForDecisionTask
- data PollForDecisionTaskResponse = PollForDecisionTaskResponse' (Maybe Text) (Maybe WorkflowType) (Maybe Integer) (Maybe [HistoryEvent]) (Maybe Text) (Maybe WorkflowExecution) Int Integer
- newPollForDecisionTaskResponse :: Int -> Integer -> PollForDecisionTaskResponse
- data ListDomains = ListDomains' (Maybe Text) (Maybe Bool) (Maybe Natural) RegistrationStatus
- newListDomains :: RegistrationStatus -> ListDomains
- data ListDomainsResponse = ListDomainsResponse' (Maybe Text) Int [DomainInfo]
- newListDomainsResponse :: Int -> ListDomainsResponse
- newtype ActivityTaskTimeoutType where
- ActivityTaskTimeoutType' { }
- pattern ActivityTaskTimeoutType_HEARTBEAT :: ActivityTaskTimeoutType
- pattern ActivityTaskTimeoutType_SCHEDULE_TO_CLOSE :: ActivityTaskTimeoutType
- pattern ActivityTaskTimeoutType_SCHEDULE_TO_START :: ActivityTaskTimeoutType
- pattern ActivityTaskTimeoutType_START_TO_CLOSE :: ActivityTaskTimeoutType
- newtype CancelTimerFailedCause where
- newtype CancelWorkflowExecutionFailedCause where
- newtype ChildPolicy where
- ChildPolicy' { }
- pattern ChildPolicy_ABANDON :: ChildPolicy
- pattern ChildPolicy_REQUEST_CANCEL :: ChildPolicy
- pattern ChildPolicy_TERMINATE :: ChildPolicy
- newtype CloseStatus where
- CloseStatus' { }
- pattern CloseStatus_CANCELED :: CloseStatus
- pattern CloseStatus_COMPLETED :: CloseStatus
- pattern CloseStatus_CONTINUED_AS_NEW :: CloseStatus
- pattern CloseStatus_FAILED :: CloseStatus
- pattern CloseStatus_TERMINATED :: CloseStatus
- pattern CloseStatus_TIMED_OUT :: CloseStatus
- newtype CompleteWorkflowExecutionFailedCause where
- newtype ContinueAsNewWorkflowExecutionFailedCause where
- ContinueAsNewWorkflowExecutionFailedCause' { }
- pattern ContinueAsNewWorkflowExecutionFailedCause_CONTINUE_AS_NEW_WORKFLOW_EXECUTION_RATE_EXCEEDED :: ContinueAsNewWorkflowExecutionFailedCause
- pattern ContinueAsNewWorkflowExecutionFailedCause_DEFAULT_CHILD_POLICY_UNDEFINED :: ContinueAsNewWorkflowExecutionFailedCause
- pattern ContinueAsNewWorkflowExecutionFailedCause_DEFAULT_EXECUTION_START_TO_CLOSE_TIMEOUT_UNDEFINED :: ContinueAsNewWorkflowExecutionFailedCause
- pattern ContinueAsNewWorkflowExecutionFailedCause_DEFAULT_TASK_LIST_UNDEFINED :: ContinueAsNewWorkflowExecutionFailedCause
- pattern ContinueAsNewWorkflowExecutionFailedCause_DEFAULT_TASK_START_TO_CLOSE_TIMEOUT_UNDEFINED :: ContinueAsNewWorkflowExecutionFailedCause
- pattern ContinueAsNewWorkflowExecutionFailedCause_OPERATION_NOT_PERMITTED :: ContinueAsNewWorkflowExecutionFailedCause
- pattern ContinueAsNewWorkflowExecutionFailedCause_UNHANDLED_DECISION :: ContinueAsNewWorkflowExecutionFailedCause
- pattern ContinueAsNewWorkflowExecutionFailedCause_WORKFLOW_TYPE_DEPRECATED :: ContinueAsNewWorkflowExecutionFailedCause
- pattern ContinueAsNewWorkflowExecutionFailedCause_WORKFLOW_TYPE_DOES_NOT_EXIST :: ContinueAsNewWorkflowExecutionFailedCause
- newtype DecisionTaskTimeoutType where
- newtype DecisionType where
- DecisionType' { }
- pattern DecisionType_CancelTimer :: DecisionType
- pattern DecisionType_CancelWorkflowExecution :: DecisionType
- pattern DecisionType_CompleteWorkflowExecution :: DecisionType
- pattern DecisionType_ContinueAsNewWorkflowExecution :: DecisionType
- pattern DecisionType_FailWorkflowExecution :: DecisionType
- pattern DecisionType_RecordMarker :: DecisionType
- pattern DecisionType_RequestCancelActivityTask :: DecisionType
- pattern DecisionType_RequestCancelExternalWorkflowExecution :: DecisionType
- pattern DecisionType_ScheduleActivityTask :: DecisionType
- pattern DecisionType_ScheduleLambdaFunction :: DecisionType
- pattern DecisionType_SignalExternalWorkflowExecution :: DecisionType
- pattern DecisionType_StartChildWorkflowExecution :: DecisionType
- pattern DecisionType_StartTimer :: DecisionType
- newtype EventType where
- EventType' { }
- pattern EventType_ActivityTaskCancelRequested :: EventType
- pattern EventType_ActivityTaskCanceled :: EventType
- pattern EventType_ActivityTaskCompleted :: EventType
- pattern EventType_ActivityTaskFailed :: EventType
- pattern EventType_ActivityTaskScheduled :: EventType
- pattern EventType_ActivityTaskStarted :: EventType
- pattern EventType_ActivityTaskTimedOut :: EventType
- pattern EventType_CancelTimerFailed :: EventType
- pattern EventType_CancelWorkflowExecutionFailed :: EventType
- pattern EventType_ChildWorkflowExecutionCanceled :: EventType
- pattern EventType_ChildWorkflowExecutionCompleted :: EventType
- pattern EventType_ChildWorkflowExecutionFailed :: EventType
- pattern EventType_ChildWorkflowExecutionStarted :: EventType
- pattern EventType_ChildWorkflowExecutionTerminated :: EventType
- pattern EventType_ChildWorkflowExecutionTimedOut :: EventType
- pattern EventType_CompleteWorkflowExecutionFailed :: EventType
- pattern EventType_ContinueAsNewWorkflowExecutionFailed :: EventType
- pattern EventType_DecisionTaskCompleted :: EventType
- pattern EventType_DecisionTaskScheduled :: EventType
- pattern EventType_DecisionTaskStarted :: EventType
- pattern EventType_DecisionTaskTimedOut :: EventType
- pattern EventType_ExternalWorkflowExecutionCancelRequested :: EventType
- pattern EventType_ExternalWorkflowExecutionSignaled :: EventType
- pattern EventType_FailWorkflowExecutionFailed :: EventType
- pattern EventType_LambdaFunctionCompleted :: EventType
- pattern EventType_LambdaFunctionFailed :: EventType
- pattern EventType_LambdaFunctionScheduled :: EventType
- pattern EventType_LambdaFunctionStarted :: EventType
- pattern EventType_LambdaFunctionTimedOut :: EventType
- pattern EventType_MarkerRecorded :: EventType
- pattern EventType_RecordMarkerFailed :: EventType
- pattern EventType_RequestCancelActivityTaskFailed :: EventType
- pattern EventType_RequestCancelExternalWorkflowExecutionFailed :: EventType
- pattern EventType_RequestCancelExternalWorkflowExecutionInitiated :: EventType
- pattern EventType_ScheduleActivityTaskFailed :: EventType
- pattern EventType_ScheduleLambdaFunctionFailed :: EventType
- pattern EventType_SignalExternalWorkflowExecutionFailed :: EventType
- pattern EventType_SignalExternalWorkflowExecutionInitiated :: EventType
- pattern EventType_StartChildWorkflowExecutionFailed :: EventType
- pattern EventType_StartChildWorkflowExecutionInitiated :: EventType
- pattern EventType_StartLambdaFunctionFailed :: EventType
- pattern EventType_StartTimerFailed :: EventType
- pattern EventType_TimerCanceled :: EventType
- pattern EventType_TimerFired :: EventType
- pattern EventType_TimerStarted :: EventType
- pattern EventType_WorkflowExecutionCancelRequested :: EventType
- pattern EventType_WorkflowExecutionCanceled :: EventType
- pattern EventType_WorkflowExecutionCompleted :: EventType
- pattern EventType_WorkflowExecutionContinuedAsNew :: EventType
- pattern EventType_WorkflowExecutionFailed :: EventType
- pattern EventType_WorkflowExecutionSignaled :: EventType
- pattern EventType_WorkflowExecutionStarted :: EventType
- pattern EventType_WorkflowExecutionTerminated :: EventType
- pattern EventType_WorkflowExecutionTimedOut :: EventType
- newtype ExecutionStatus where
- ExecutionStatus' { }
- pattern ExecutionStatus_CLOSED :: ExecutionStatus
- pattern ExecutionStatus_OPEN :: ExecutionStatus
- newtype FailWorkflowExecutionFailedCause where
- newtype LambdaFunctionTimeoutType where
- newtype RecordMarkerFailedCause where
- newtype RegistrationStatus where
- newtype RequestCancelActivityTaskFailedCause where
- newtype RequestCancelExternalWorkflowExecutionFailedCause where
- RequestCancelExternalWorkflowExecutionFailedCause' { }
- pattern RequestCancelExternalWorkflowExecutionFailedCause_OPERATION_NOT_PERMITTED :: RequestCancelExternalWorkflowExecutionFailedCause
- pattern RequestCancelExternalWorkflowExecutionFailedCause_REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_RATE_EXCEEDED :: RequestCancelExternalWorkflowExecutionFailedCause
- pattern RequestCancelExternalWorkflowExecutionFailedCause_UNKNOWN_EXTERNAL_WORKFLOW_EXECUTION :: RequestCancelExternalWorkflowExecutionFailedCause
- newtype ScheduleActivityTaskFailedCause where
- ScheduleActivityTaskFailedCause' { }
- pattern ScheduleActivityTaskFailedCause_ACTIVITY_CREATION_RATE_EXCEEDED :: ScheduleActivityTaskFailedCause
- pattern ScheduleActivityTaskFailedCause_ACTIVITY_ID_ALREADY_IN_USE :: ScheduleActivityTaskFailedCause
- pattern ScheduleActivityTaskFailedCause_ACTIVITY_TYPE_DEPRECATED :: ScheduleActivityTaskFailedCause
- pattern ScheduleActivityTaskFailedCause_ACTIVITY_TYPE_DOES_NOT_EXIST :: ScheduleActivityTaskFailedCause
- pattern ScheduleActivityTaskFailedCause_DEFAULT_HEARTBEAT_TIMEOUT_UNDEFINED :: ScheduleActivityTaskFailedCause
- pattern ScheduleActivityTaskFailedCause_DEFAULT_SCHEDULE_TO_CLOSE_TIMEOUT_UNDEFINED :: ScheduleActivityTaskFailedCause
- pattern ScheduleActivityTaskFailedCause_DEFAULT_SCHEDULE_TO_START_TIMEOUT_UNDEFINED :: ScheduleActivityTaskFailedCause
- pattern ScheduleActivityTaskFailedCause_DEFAULT_START_TO_CLOSE_TIMEOUT_UNDEFINED :: ScheduleActivityTaskFailedCause
- pattern ScheduleActivityTaskFailedCause_DEFAULT_TASK_LIST_UNDEFINED :: ScheduleActivityTaskFailedCause
- pattern ScheduleActivityTaskFailedCause_OPEN_ACTIVITIES_LIMIT_EXCEEDED :: ScheduleActivityTaskFailedCause
- pattern ScheduleActivityTaskFailedCause_OPERATION_NOT_PERMITTED :: ScheduleActivityTaskFailedCause
- newtype ScheduleLambdaFunctionFailedCause where
- ScheduleLambdaFunctionFailedCause' { }
- pattern ScheduleLambdaFunctionFailedCause_ID_ALREADY_IN_USE :: ScheduleLambdaFunctionFailedCause
- pattern ScheduleLambdaFunctionFailedCause_LAMBDA_FUNCTION_CREATION_RATE_EXCEEDED :: ScheduleLambdaFunctionFailedCause
- pattern ScheduleLambdaFunctionFailedCause_LAMBDA_SERVICE_NOT_AVAILABLE_IN_REGION :: ScheduleLambdaFunctionFailedCause
- pattern ScheduleLambdaFunctionFailedCause_OPEN_LAMBDA_FUNCTIONS_LIMIT_EXCEEDED :: ScheduleLambdaFunctionFailedCause
- newtype SignalExternalWorkflowExecutionFailedCause where
- SignalExternalWorkflowExecutionFailedCause' { }
- pattern SignalExternalWorkflowExecutionFailedCause_OPERATION_NOT_PERMITTED :: SignalExternalWorkflowExecutionFailedCause
- pattern SignalExternalWorkflowExecutionFailedCause_SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_RATE_EXCEEDED :: SignalExternalWorkflowExecutionFailedCause
- pattern SignalExternalWorkflowExecutionFailedCause_UNKNOWN_EXTERNAL_WORKFLOW_EXECUTION :: SignalExternalWorkflowExecutionFailedCause
- newtype StartChildWorkflowExecutionFailedCause where
- StartChildWorkflowExecutionFailedCause' { }
- pattern StartChildWorkflowExecutionFailedCause_CHILD_CREATION_RATE_EXCEEDED :: StartChildWorkflowExecutionFailedCause
- pattern StartChildWorkflowExecutionFailedCause_DEFAULT_CHILD_POLICY_UNDEFINED :: StartChildWorkflowExecutionFailedCause
- pattern StartChildWorkflowExecutionFailedCause_DEFAULT_EXECUTION_START_TO_CLOSE_TIMEOUT_UNDEFINED :: StartChildWorkflowExecutionFailedCause
- pattern StartChildWorkflowExecutionFailedCause_DEFAULT_TASK_LIST_UNDEFINED :: StartChildWorkflowExecutionFailedCause
- pattern StartChildWorkflowExecutionFailedCause_DEFAULT_TASK_START_TO_CLOSE_TIMEOUT_UNDEFINED :: StartChildWorkflowExecutionFailedCause
- pattern StartChildWorkflowExecutionFailedCause_OPEN_CHILDREN_LIMIT_EXCEEDED :: StartChildWorkflowExecutionFailedCause
- pattern StartChildWorkflowExecutionFailedCause_OPEN_WORKFLOWS_LIMIT_EXCEEDED :: StartChildWorkflowExecutionFailedCause
- pattern StartChildWorkflowExecutionFailedCause_OPERATION_NOT_PERMITTED :: StartChildWorkflowExecutionFailedCause
- pattern StartChildWorkflowExecutionFailedCause_WORKFLOW_ALREADY_RUNNING :: StartChildWorkflowExecutionFailedCause
- pattern StartChildWorkflowExecutionFailedCause_WORKFLOW_TYPE_DEPRECATED :: StartChildWorkflowExecutionFailedCause
- pattern StartChildWorkflowExecutionFailedCause_WORKFLOW_TYPE_DOES_NOT_EXIST :: StartChildWorkflowExecutionFailedCause
- newtype StartLambdaFunctionFailedCause where
- newtype StartTimerFailedCause where
- StartTimerFailedCause' { }
- pattern StartTimerFailedCause_OPEN_TIMERS_LIMIT_EXCEEDED :: StartTimerFailedCause
- pattern StartTimerFailedCause_OPERATION_NOT_PERMITTED :: StartTimerFailedCause
- pattern StartTimerFailedCause_TIMER_CREATION_RATE_EXCEEDED :: StartTimerFailedCause
- pattern StartTimerFailedCause_TIMER_ID_ALREADY_IN_USE :: StartTimerFailedCause
- newtype WorkflowExecutionCancelRequestedCause where
- newtype WorkflowExecutionTerminatedCause where
- WorkflowExecutionTerminatedCause' { }
- pattern WorkflowExecutionTerminatedCause_CHILD_POLICY_APPLIED :: WorkflowExecutionTerminatedCause
- pattern WorkflowExecutionTerminatedCause_EVENT_LIMIT_EXCEEDED :: WorkflowExecutionTerminatedCause
- pattern WorkflowExecutionTerminatedCause_OPERATOR_INITIATED :: WorkflowExecutionTerminatedCause
- newtype WorkflowExecutionTimeoutType where
- data ActivityTaskCancelRequestedEventAttributes = ActivityTaskCancelRequestedEventAttributes' Integer Text
- newActivityTaskCancelRequestedEventAttributes :: Integer -> Text -> ActivityTaskCancelRequestedEventAttributes
- data ActivityTaskCanceledEventAttributes = ActivityTaskCanceledEventAttributes' (Maybe Integer) (Maybe Text) Integer Integer
- newActivityTaskCanceledEventAttributes :: Integer -> Integer -> ActivityTaskCanceledEventAttributes
- data ActivityTaskCompletedEventAttributes = ActivityTaskCompletedEventAttributes' (Maybe Text) Integer Integer
- newActivityTaskCompletedEventAttributes :: Integer -> Integer -> ActivityTaskCompletedEventAttributes
- data ActivityTaskFailedEventAttributes = ActivityTaskFailedEventAttributes' (Maybe Text) (Maybe Text) Integer Integer
- newActivityTaskFailedEventAttributes :: Integer -> Integer -> ActivityTaskFailedEventAttributes
- data ActivityTaskScheduledEventAttributes = ActivityTaskScheduledEventAttributes' (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) ActivityType Text TaskList Integer
- newActivityTaskScheduledEventAttributes :: ActivityType -> Text -> TaskList -> Integer -> ActivityTaskScheduledEventAttributes
- data ActivityTaskStartedEventAttributes = ActivityTaskStartedEventAttributes' (Maybe Text) Integer
- newActivityTaskStartedEventAttributes :: Integer -> ActivityTaskStartedEventAttributes
- data ActivityTaskTimedOutEventAttributes = ActivityTaskTimedOutEventAttributes' (Maybe Text) ActivityTaskTimeoutType Integer Integer
- newActivityTaskTimedOutEventAttributes :: ActivityTaskTimeoutType -> Integer -> Integer -> ActivityTaskTimedOutEventAttributes
- data ActivityType = ActivityType' Text Text
- newActivityType :: Text -> Text -> ActivityType
- data ActivityTypeConfiguration = ActivityTypeConfiguration' (Maybe Text) (Maybe TaskList) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text)
- newActivityTypeConfiguration :: ActivityTypeConfiguration
- data ActivityTypeInfo = ActivityTypeInfo' (Maybe POSIX) (Maybe Text) ActivityType RegistrationStatus POSIX
- newActivityTypeInfo :: ActivityType -> RegistrationStatus -> UTCTime -> ActivityTypeInfo
- data CancelTimerDecisionAttributes = CancelTimerDecisionAttributes' Text
- newCancelTimerDecisionAttributes :: Text -> CancelTimerDecisionAttributes
- data CancelTimerFailedEventAttributes = CancelTimerFailedEventAttributes' Text CancelTimerFailedCause Integer
- newCancelTimerFailedEventAttributes :: Text -> CancelTimerFailedCause -> Integer -> CancelTimerFailedEventAttributes
- data CancelWorkflowExecutionDecisionAttributes = CancelWorkflowExecutionDecisionAttributes' (Maybe Text)
- newCancelWorkflowExecutionDecisionAttributes :: CancelWorkflowExecutionDecisionAttributes
- data CancelWorkflowExecutionFailedEventAttributes = CancelWorkflowExecutionFailedEventAttributes' CancelWorkflowExecutionFailedCause Integer
- newCancelWorkflowExecutionFailedEventAttributes :: CancelWorkflowExecutionFailedCause -> Integer -> CancelWorkflowExecutionFailedEventAttributes
- data ChildWorkflowExecutionCanceledEventAttributes = ChildWorkflowExecutionCanceledEventAttributes' (Maybe Text) WorkflowExecution WorkflowType Integer Integer
- newChildWorkflowExecutionCanceledEventAttributes :: WorkflowExecution -> WorkflowType -> Integer -> Integer -> ChildWorkflowExecutionCanceledEventAttributes
- data ChildWorkflowExecutionCompletedEventAttributes = ChildWorkflowExecutionCompletedEventAttributes' (Maybe Text) WorkflowExecution WorkflowType Integer Integer
- newChildWorkflowExecutionCompletedEventAttributes :: WorkflowExecution -> WorkflowType -> Integer -> Integer -> ChildWorkflowExecutionCompletedEventAttributes
- data ChildWorkflowExecutionFailedEventAttributes = ChildWorkflowExecutionFailedEventAttributes' (Maybe Text) (Maybe Text) WorkflowExecution WorkflowType Integer Integer
- newChildWorkflowExecutionFailedEventAttributes :: WorkflowExecution -> WorkflowType -> Integer -> Integer -> ChildWorkflowExecutionFailedEventAttributes
- data ChildWorkflowExecutionStartedEventAttributes = ChildWorkflowExecutionStartedEventAttributes' WorkflowExecution WorkflowType Integer
- newChildWorkflowExecutionStartedEventAttributes :: WorkflowExecution -> WorkflowType -> Integer -> ChildWorkflowExecutionStartedEventAttributes
- data ChildWorkflowExecutionTerminatedEventAttributes = ChildWorkflowExecutionTerminatedEventAttributes' WorkflowExecution WorkflowType Integer Integer
- newChildWorkflowExecutionTerminatedEventAttributes :: WorkflowExecution -> WorkflowType -> Integer -> Integer -> ChildWorkflowExecutionTerminatedEventAttributes
- data ChildWorkflowExecutionTimedOutEventAttributes = ChildWorkflowExecutionTimedOutEventAttributes' WorkflowExecution WorkflowType WorkflowExecutionTimeoutType Integer Integer
- newChildWorkflowExecutionTimedOutEventAttributes :: WorkflowExecution -> WorkflowType -> WorkflowExecutionTimeoutType -> Integer -> Integer -> ChildWorkflowExecutionTimedOutEventAttributes
- data CloseStatusFilter = CloseStatusFilter' CloseStatus
- newCloseStatusFilter :: CloseStatus -> CloseStatusFilter
- data CompleteWorkflowExecutionDecisionAttributes = CompleteWorkflowExecutionDecisionAttributes' (Maybe Text)
- newCompleteWorkflowExecutionDecisionAttributes :: CompleteWorkflowExecutionDecisionAttributes
- data CompleteWorkflowExecutionFailedEventAttributes = CompleteWorkflowExecutionFailedEventAttributes' CompleteWorkflowExecutionFailedCause Integer
- newCompleteWorkflowExecutionFailedEventAttributes :: CompleteWorkflowExecutionFailedCause -> Integer -> CompleteWorkflowExecutionFailedEventAttributes
- data ContinueAsNewWorkflowExecutionDecisionAttributes = ContinueAsNewWorkflowExecutionDecisionAttributes' (Maybe [Text]) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe TaskList) (Maybe Text) (Maybe ChildPolicy)
- newContinueAsNewWorkflowExecutionDecisionAttributes :: ContinueAsNewWorkflowExecutionDecisionAttributes
- data ContinueAsNewWorkflowExecutionFailedEventAttributes = ContinueAsNewWorkflowExecutionFailedEventAttributes' ContinueAsNewWorkflowExecutionFailedCause Integer
- newContinueAsNewWorkflowExecutionFailedEventAttributes :: ContinueAsNewWorkflowExecutionFailedCause -> Integer -> ContinueAsNewWorkflowExecutionFailedEventAttributes
- data Decision = Decision' (Maybe RequestCancelExternalWorkflowExecutionDecisionAttributes) (Maybe ScheduleActivityTaskDecisionAttributes) (Maybe SignalExternalWorkflowExecutionDecisionAttributes) (Maybe StartTimerDecisionAttributes) (Maybe RecordMarkerDecisionAttributes) (Maybe FailWorkflowExecutionDecisionAttributes) (Maybe StartChildWorkflowExecutionDecisionAttributes) (Maybe CompleteWorkflowExecutionDecisionAttributes) (Maybe ScheduleLambdaFunctionDecisionAttributes) (Maybe RequestCancelActivityTaskDecisionAttributes) (Maybe CancelWorkflowExecutionDecisionAttributes) (Maybe CancelTimerDecisionAttributes) (Maybe ContinueAsNewWorkflowExecutionDecisionAttributes) DecisionType
- newDecision :: DecisionType -> Decision
- data DecisionTaskCompletedEventAttributes = DecisionTaskCompletedEventAttributes' (Maybe Text) Integer Integer
- newDecisionTaskCompletedEventAttributes :: Integer -> Integer -> DecisionTaskCompletedEventAttributes
- data DecisionTaskScheduledEventAttributes = DecisionTaskScheduledEventAttributes' (Maybe Text) (Maybe Text) TaskList
- newDecisionTaskScheduledEventAttributes :: TaskList -> DecisionTaskScheduledEventAttributes
- data DecisionTaskStartedEventAttributes = DecisionTaskStartedEventAttributes' (Maybe Text) Integer
- newDecisionTaskStartedEventAttributes :: Integer -> DecisionTaskStartedEventAttributes
- data DecisionTaskTimedOutEventAttributes = DecisionTaskTimedOutEventAttributes' DecisionTaskTimeoutType Integer Integer
- newDecisionTaskTimedOutEventAttributes :: DecisionTaskTimeoutType -> Integer -> Integer -> DecisionTaskTimedOutEventAttributes
- data DomainConfiguration = DomainConfiguration' Text
- newDomainConfiguration :: Text -> DomainConfiguration
- data DomainInfo = DomainInfo' (Maybe Text) (Maybe Text) Text RegistrationStatus
- newDomainInfo :: Text -> RegistrationStatus -> DomainInfo
- data ExecutionTimeFilter = ExecutionTimeFilter' (Maybe POSIX) POSIX
- newExecutionTimeFilter :: UTCTime -> ExecutionTimeFilter
- data ExternalWorkflowExecutionCancelRequestedEventAttributes = ExternalWorkflowExecutionCancelRequestedEventAttributes' WorkflowExecution Integer
- newExternalWorkflowExecutionCancelRequestedEventAttributes :: WorkflowExecution -> Integer -> ExternalWorkflowExecutionCancelRequestedEventAttributes
- data ExternalWorkflowExecutionSignaledEventAttributes = ExternalWorkflowExecutionSignaledEventAttributes' WorkflowExecution Integer
- newExternalWorkflowExecutionSignaledEventAttributes :: WorkflowExecution -> Integer -> ExternalWorkflowExecutionSignaledEventAttributes
- data FailWorkflowExecutionDecisionAttributes = FailWorkflowExecutionDecisionAttributes' (Maybe Text) (Maybe Text)
- newFailWorkflowExecutionDecisionAttributes :: FailWorkflowExecutionDecisionAttributes
- data FailWorkflowExecutionFailedEventAttributes = FailWorkflowExecutionFailedEventAttributes' FailWorkflowExecutionFailedCause Integer
- newFailWorkflowExecutionFailedEventAttributes :: FailWorkflowExecutionFailedCause -> Integer -> FailWorkflowExecutionFailedEventAttributes
- data HistoryEvent = HistoryEvent' (Maybe WorkflowExecutionCancelRequestedEventAttributes) (Maybe RecordMarkerFailedEventAttributes) (Maybe RequestCancelExternalWorkflowExecutionInitiatedEventAttributes) (Maybe LambdaFunctionStartedEventAttributes) (Maybe DecisionTaskScheduledEventAttributes) (Maybe WorkflowExecutionCompletedEventAttributes) (Maybe StartTimerFailedEventAttributes) (Maybe ActivityTaskScheduledEventAttributes) (Maybe ScheduleActivityTaskFailedEventAttributes) (Maybe ChildWorkflowExecutionCompletedEventAttributes) (Maybe MarkerRecordedEventAttributes) (Maybe ScheduleLambdaFunctionFailedEventAttributes) (Maybe CompleteWorkflowExecutionFailedEventAttributes) (Maybe LambdaFunctionCompletedEventAttributes) (Maybe RequestCancelExternalWorkflowExecutionFailedEventAttributes) (Maybe TimerCanceledEventAttributes) (Maybe WorkflowExecutionStartedEventAttributes) (Maybe ActivityTaskCompletedEventAttributes) (Maybe DecisionTaskTimedOutEventAttributes) (Maybe CancelTimerFailedEventAttributes) (Maybe ChildWorkflowExecutionStartedEventAttributes) (Maybe ActivityTaskCanceledEventAttributes) (Maybe ActivityTaskTimedOutEventAttributes) (Maybe DecisionTaskStartedEventAttributes) (Maybe WorkflowExecutionTerminatedEventAttributes) (Maybe ChildWorkflowExecutionCanceledEventAttributes) (Maybe RequestCancelActivityTaskFailedEventAttributes) (Maybe LambdaFunctionScheduledEventAttributes) (Maybe ChildWorkflowExecutionTimedOutEventAttributes) (Maybe CancelWorkflowExecutionFailedEventAttributes) (Maybe StartChildWorkflowExecutionInitiatedEventAttributes) (Maybe SignalExternalWorkflowExecutionFailedEventAttributes) (Maybe ActivityTaskStartedEventAttributes) (Maybe StartLambdaFunctionFailedEventAttributes) (Maybe ChildWorkflowExecutionTerminatedEventAttributes) (Maybe LambdaFunctionFailedEventAttributes) (Maybe WorkflowExecutionCanceledEventAttributes) (Maybe TimerStartedEventAttributes) (Maybe ActivityTaskCancelRequestedEventAttributes) (Maybe WorkflowExecutionTimedOutEventAttributes) (Maybe WorkflowExecutionSignaledEventAttributes) (Maybe TimerFiredEventAttributes) (Maybe ActivityTaskFailedEventAttributes) (Maybe ExternalWorkflowExecutionSignaledEventAttributes) (Maybe DecisionTaskCompletedEventAttributes) (Maybe StartChildWorkflowExecutionFailedEventAttributes) (Maybe ChildWorkflowExecutionFailedEventAttributes) (Maybe FailWorkflowExecutionFailedEventAttributes) (Maybe ContinueAsNewWorkflowExecutionFailedEventAttributes) (Maybe SignalExternalWorkflowExecutionInitiatedEventAttributes) (Maybe LambdaFunctionTimedOutEventAttributes) (Maybe WorkflowExecutionFailedEventAttributes) (Maybe WorkflowExecutionContinuedAsNewEventAttributes) (Maybe ExternalWorkflowExecutionCancelRequestedEventAttributes) POSIX EventType Integer
- newHistoryEvent :: UTCTime -> EventType -> Integer -> HistoryEvent
- data LambdaFunctionCompletedEventAttributes = LambdaFunctionCompletedEventAttributes' (Maybe Text) Integer Integer
- newLambdaFunctionCompletedEventAttributes :: Integer -> Integer -> LambdaFunctionCompletedEventAttributes
- data LambdaFunctionFailedEventAttributes = LambdaFunctionFailedEventAttributes' (Maybe Text) (Maybe Text) Integer Integer
- newLambdaFunctionFailedEventAttributes :: Integer -> Integer -> LambdaFunctionFailedEventAttributes
- data LambdaFunctionScheduledEventAttributes = LambdaFunctionScheduledEventAttributes' (Maybe Text) (Maybe Text) (Maybe Text) Text Text Integer
- newLambdaFunctionScheduledEventAttributes :: Text -> Text -> Integer -> LambdaFunctionScheduledEventAttributes
- data LambdaFunctionStartedEventAttributes = LambdaFunctionStartedEventAttributes' Integer
- newLambdaFunctionStartedEventAttributes :: Integer -> LambdaFunctionStartedEventAttributes
- data LambdaFunctionTimedOutEventAttributes = LambdaFunctionTimedOutEventAttributes' (Maybe LambdaFunctionTimeoutType) Integer Integer
- newLambdaFunctionTimedOutEventAttributes :: Integer -> Integer -> LambdaFunctionTimedOutEventAttributes
- data MarkerRecordedEventAttributes = MarkerRecordedEventAttributes' (Maybe Text) Text Integer
- newMarkerRecordedEventAttributes :: Text -> Integer -> MarkerRecordedEventAttributes
- data PendingTaskCount = PendingTaskCount' (Maybe Bool) Natural
- newPendingTaskCount :: Natural -> PendingTaskCount
- data RecordMarkerDecisionAttributes = RecordMarkerDecisionAttributes' (Maybe Text) Text
- newRecordMarkerDecisionAttributes :: Text -> RecordMarkerDecisionAttributes
- data RecordMarkerFailedEventAttributes = RecordMarkerFailedEventAttributes' Text RecordMarkerFailedCause Integer
- newRecordMarkerFailedEventAttributes :: Text -> RecordMarkerFailedCause -> Integer -> RecordMarkerFailedEventAttributes
- data RequestCancelActivityTaskDecisionAttributes = RequestCancelActivityTaskDecisionAttributes' Text
- newRequestCancelActivityTaskDecisionAttributes :: Text -> RequestCancelActivityTaskDecisionAttributes
- data RequestCancelActivityTaskFailedEventAttributes = RequestCancelActivityTaskFailedEventAttributes' Text RequestCancelActivityTaskFailedCause Integer
- newRequestCancelActivityTaskFailedEventAttributes :: Text -> RequestCancelActivityTaskFailedCause -> Integer -> RequestCancelActivityTaskFailedEventAttributes
- data RequestCancelExternalWorkflowExecutionDecisionAttributes = RequestCancelExternalWorkflowExecutionDecisionAttributes' (Maybe Text) (Maybe Text) Text
- newRequestCancelExternalWorkflowExecutionDecisionAttributes :: Text -> RequestCancelExternalWorkflowExecutionDecisionAttributes
- data RequestCancelExternalWorkflowExecutionFailedEventAttributes = RequestCancelExternalWorkflowExecutionFailedEventAttributes' (Maybe Text) (Maybe Text) Text RequestCancelExternalWorkflowExecutionFailedCause Integer Integer
- newRequestCancelExternalWorkflowExecutionFailedEventAttributes :: Text -> RequestCancelExternalWorkflowExecutionFailedCause -> Integer -> Integer -> RequestCancelExternalWorkflowExecutionFailedEventAttributes
- data RequestCancelExternalWorkflowExecutionInitiatedEventAttributes = RequestCancelExternalWorkflowExecutionInitiatedEventAttributes' (Maybe Text) (Maybe Text) Text Integer
- newRequestCancelExternalWorkflowExecutionInitiatedEventAttributes :: Text -> Integer -> RequestCancelExternalWorkflowExecutionInitiatedEventAttributes
- data ResourceTag = ResourceTag' (Maybe Text) Text
- newResourceTag :: Text -> ResourceTag
- data ScheduleActivityTaskDecisionAttributes = ScheduleActivityTaskDecisionAttributes' (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe TaskList) (Maybe Text) (Maybe Text) (Maybe Text) ActivityType Text
- newScheduleActivityTaskDecisionAttributes :: ActivityType -> Text -> ScheduleActivityTaskDecisionAttributes
- data ScheduleActivityTaskFailedEventAttributes = ScheduleActivityTaskFailedEventAttributes' ActivityType Text ScheduleActivityTaskFailedCause Integer
- newScheduleActivityTaskFailedEventAttributes :: ActivityType -> Text -> ScheduleActivityTaskFailedCause -> Integer -> ScheduleActivityTaskFailedEventAttributes
- data ScheduleLambdaFunctionDecisionAttributes = ScheduleLambdaFunctionDecisionAttributes' (Maybe Text) (Maybe Text) (Maybe Text) Text Text
- newScheduleLambdaFunctionDecisionAttributes :: Text -> Text -> ScheduleLambdaFunctionDecisionAttributes
- data ScheduleLambdaFunctionFailedEventAttributes = ScheduleLambdaFunctionFailedEventAttributes' Text Text ScheduleLambdaFunctionFailedCause Integer
- newScheduleLambdaFunctionFailedEventAttributes :: Text -> Text -> ScheduleLambdaFunctionFailedCause -> Integer -> ScheduleLambdaFunctionFailedEventAttributes
- data SignalExternalWorkflowExecutionDecisionAttributes = SignalExternalWorkflowExecutionDecisionAttributes' (Maybe Text) (Maybe Text) (Maybe Text) Text Text
- newSignalExternalWorkflowExecutionDecisionAttributes :: Text -> Text -> SignalExternalWorkflowExecutionDecisionAttributes
- data SignalExternalWorkflowExecutionFailedEventAttributes = SignalExternalWorkflowExecutionFailedEventAttributes' (Maybe Text) (Maybe Text) Text SignalExternalWorkflowExecutionFailedCause Integer Integer
- newSignalExternalWorkflowExecutionFailedEventAttributes :: Text -> SignalExternalWorkflowExecutionFailedCause -> Integer -> Integer -> SignalExternalWorkflowExecutionFailedEventAttributes
- data SignalExternalWorkflowExecutionInitiatedEventAttributes = SignalExternalWorkflowExecutionInitiatedEventAttributes' (Maybe Text) (Maybe Text) (Maybe Text) Text Text Integer
- newSignalExternalWorkflowExecutionInitiatedEventAttributes :: Text -> Text -> Integer -> SignalExternalWorkflowExecutionInitiatedEventAttributes
- data StartChildWorkflowExecutionDecisionAttributes = StartChildWorkflowExecutionDecisionAttributes' (Maybe Text) (Maybe [Text]) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe TaskList) (Maybe Text) (Maybe ChildPolicy) WorkflowType Text
- newStartChildWorkflowExecutionDecisionAttributes :: WorkflowType -> Text -> StartChildWorkflowExecutionDecisionAttributes
- data StartChildWorkflowExecutionFailedEventAttributes = StartChildWorkflowExecutionFailedEventAttributes' (Maybe Text) WorkflowType StartChildWorkflowExecutionFailedCause Text Integer Integer
- newStartChildWorkflowExecutionFailedEventAttributes :: WorkflowType -> StartChildWorkflowExecutionFailedCause -> Text -> Integer -> Integer -> StartChildWorkflowExecutionFailedEventAttributes
- data StartChildWorkflowExecutionInitiatedEventAttributes = StartChildWorkflowExecutionInitiatedEventAttributes' (Maybe Text) (Maybe [Text]) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) Text WorkflowType TaskList Integer ChildPolicy
- newStartChildWorkflowExecutionInitiatedEventAttributes :: Text -> WorkflowType -> TaskList -> Integer -> ChildPolicy -> StartChildWorkflowExecutionInitiatedEventAttributes
- data StartLambdaFunctionFailedEventAttributes = StartLambdaFunctionFailedEventAttributes' (Maybe Integer) (Maybe StartLambdaFunctionFailedCause) (Maybe Text)
- newStartLambdaFunctionFailedEventAttributes :: StartLambdaFunctionFailedEventAttributes
- data StartTimerDecisionAttributes = StartTimerDecisionAttributes' (Maybe Text) Text Text
- newStartTimerDecisionAttributes :: Text -> Text -> StartTimerDecisionAttributes
- data StartTimerFailedEventAttributes = StartTimerFailedEventAttributes' Text StartTimerFailedCause Integer
- newStartTimerFailedEventAttributes :: Text -> StartTimerFailedCause -> Integer -> StartTimerFailedEventAttributes
- data TagFilter = TagFilter' Text
- newTagFilter :: Text -> TagFilter
- data TaskList = TaskList' Text
- newTaskList :: Text -> TaskList
- data TimerCanceledEventAttributes = TimerCanceledEventAttributes' Text Integer Integer
- newTimerCanceledEventAttributes :: Text -> Integer -> Integer -> TimerCanceledEventAttributes
- data TimerFiredEventAttributes = TimerFiredEventAttributes' Text Integer
- newTimerFiredEventAttributes :: Text -> Integer -> TimerFiredEventAttributes
- data TimerStartedEventAttributes = TimerStartedEventAttributes' (Maybe Text) Text Text Integer
- newTimerStartedEventAttributes :: Text -> Text -> Integer -> TimerStartedEventAttributes
- data WorkflowExecution = WorkflowExecution' Text Text
- newWorkflowExecution :: Text -> Text -> WorkflowExecution
- data WorkflowExecutionCancelRequestedEventAttributes = WorkflowExecutionCancelRequestedEventAttributes' (Maybe WorkflowExecution) (Maybe Integer) (Maybe WorkflowExecutionCancelRequestedCause)
- newWorkflowExecutionCancelRequestedEventAttributes :: WorkflowExecutionCancelRequestedEventAttributes
- data WorkflowExecutionCanceledEventAttributes = WorkflowExecutionCanceledEventAttributes' (Maybe Text) Integer
- newWorkflowExecutionCanceledEventAttributes :: Integer -> WorkflowExecutionCanceledEventAttributes
- data WorkflowExecutionCompletedEventAttributes = WorkflowExecutionCompletedEventAttributes' (Maybe Text) Integer
- newWorkflowExecutionCompletedEventAttributes :: Integer -> WorkflowExecutionCompletedEventAttributes
- data WorkflowExecutionConfiguration = WorkflowExecutionConfiguration' (Maybe Text) (Maybe Text) Text Text TaskList ChildPolicy
- newWorkflowExecutionConfiguration :: Text -> Text -> TaskList -> ChildPolicy -> WorkflowExecutionConfiguration
- data WorkflowExecutionContinuedAsNewEventAttributes = WorkflowExecutionContinuedAsNewEventAttributes' (Maybe [Text]) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) Integer Text TaskList ChildPolicy WorkflowType
- newWorkflowExecutionContinuedAsNewEventAttributes :: Integer -> Text -> TaskList -> ChildPolicy -> WorkflowType -> WorkflowExecutionContinuedAsNewEventAttributes
- data WorkflowExecutionCount = WorkflowExecutionCount' (Maybe Bool) Natural
- newWorkflowExecutionCount :: Natural -> WorkflowExecutionCount
- data WorkflowExecutionFailedEventAttributes = WorkflowExecutionFailedEventAttributes' (Maybe Text) (Maybe Text) Integer
- newWorkflowExecutionFailedEventAttributes :: Integer -> WorkflowExecutionFailedEventAttributes
- data WorkflowExecutionFilter = WorkflowExecutionFilter' Text
- newWorkflowExecutionFilter :: Text -> WorkflowExecutionFilter
- data WorkflowExecutionInfo = WorkflowExecutionInfo' (Maybe WorkflowExecution) (Maybe [Text]) (Maybe CloseStatus) (Maybe POSIX) (Maybe Bool) WorkflowExecution WorkflowType POSIX ExecutionStatus
- newWorkflowExecutionInfo :: WorkflowExecution -> WorkflowType -> UTCTime -> ExecutionStatus -> WorkflowExecutionInfo
- data WorkflowExecutionInfos = WorkflowExecutionInfos' (Maybe Text) [WorkflowExecutionInfo]
- newWorkflowExecutionInfos :: WorkflowExecutionInfos
- data WorkflowExecutionOpenCounts = WorkflowExecutionOpenCounts' (Maybe Natural) Natural Natural Natural Natural
- newWorkflowExecutionOpenCounts :: Natural -> Natural -> Natural -> Natural -> WorkflowExecutionOpenCounts
- data WorkflowExecutionSignaledEventAttributes = WorkflowExecutionSignaledEventAttributes' (Maybe WorkflowExecution) (Maybe Integer) (Maybe Text) Text
- newWorkflowExecutionSignaledEventAttributes :: Text -> WorkflowExecutionSignaledEventAttributes
- data WorkflowExecutionStartedEventAttributes = WorkflowExecutionStartedEventAttributes' (Maybe Integer) (Maybe [Text]) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe WorkflowExecution) (Maybe Text) ChildPolicy TaskList WorkflowType
- newWorkflowExecutionStartedEventAttributes :: ChildPolicy -> TaskList -> WorkflowType -> WorkflowExecutionStartedEventAttributes
- data WorkflowExecutionTerminatedEventAttributes = WorkflowExecutionTerminatedEventAttributes' (Maybe WorkflowExecutionTerminatedCause) (Maybe Text) (Maybe Text) ChildPolicy
- newWorkflowExecutionTerminatedEventAttributes :: ChildPolicy -> WorkflowExecutionTerminatedEventAttributes
- data WorkflowExecutionTimedOutEventAttributes = WorkflowExecutionTimedOutEventAttributes' WorkflowExecutionTimeoutType ChildPolicy
- newWorkflowExecutionTimedOutEventAttributes :: WorkflowExecutionTimeoutType -> ChildPolicy -> WorkflowExecutionTimedOutEventAttributes
- data WorkflowType = WorkflowType' Text Text
- newWorkflowType :: Text -> Text -> WorkflowType
- data WorkflowTypeConfiguration = WorkflowTypeConfiguration' (Maybe Text) (Maybe ChildPolicy) (Maybe TaskList) (Maybe Text) (Maybe Text) (Maybe Text)
- newWorkflowTypeConfiguration :: WorkflowTypeConfiguration
- data WorkflowTypeFilter = WorkflowTypeFilter' (Maybe Text) Text
- newWorkflowTypeFilter :: Text -> WorkflowTypeFilter
- data WorkflowTypeInfo = WorkflowTypeInfo' (Maybe POSIX) (Maybe Text) WorkflowType RegistrationStatus POSIX
- newWorkflowTypeInfo :: WorkflowType -> RegistrationStatus -> UTCTime -> WorkflowTypeInfo
Service Configuration
defaultService :: Service Source #
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
.
DomainAlreadyExistsFault
_DomainAlreadyExistsFault :: AsError a => Getting (First ServiceError) a ServiceError Source #
Returned if the domain already exists. You may get this fault if you are registering a domain that is either already registered or deprecated, or if you undeprecate a domain that is currently registered.
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.
OperationNotPermittedFault
_OperationNotPermittedFault :: AsError a => Getting (First ServiceError) a ServiceError Source #
Returned when the caller doesn't have sufficient permissions to invoke the action.
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.
DefaultUndefinedFault
_DefaultUndefinedFault :: AsError a => Getting (First ServiceError) a ServiceError Source #
The StartWorkflowExecution
API action was called without the required
parameters set.
Some workflow execution parameters, such as the decision taskList
,
must be set to start the execution. However, these parameters might have
been set as defaults when the workflow type was registered. In this
case, you can omit these parameters from the StartWorkflowExecution
call and Amazon SWF uses the values defined in the workflow type.
If these parameters aren't set and no default parameters were defined in the workflow type, this error is displayed.
TypeDeprecatedFault
_TypeDeprecatedFault :: AsError a => Getting (First ServiceError) a ServiceError Source #
Returned when the specified activity or workflow type was already deprecated.
TooManyTagsFault
_TooManyTagsFault :: AsError a => Getting (First ServiceError) a ServiceError Source #
You've exceeded the number of tags allowed for a domain.
TypeAlreadyExistsFault
_TypeAlreadyExistsFault :: AsError a => Getting (First ServiceError) a ServiceError Source #
Returned if the type already exists in the specified domain. You may get this fault if you are registering a type that is either already registered or deprecated, or if you undeprecate a type that is currently registered.
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.
ListOpenWorkflowExecutions (Paginated)
data ListOpenWorkflowExecutions Source #
See: newListOpenWorkflowExecutions
smart constructor.
ListOpenWorkflowExecutions' (Maybe Text) (Maybe WorkflowExecutionFilter) (Maybe WorkflowTypeFilter) (Maybe Bool) (Maybe TagFilter) (Maybe Natural) Text ExecutionTimeFilter |
Instances
newListOpenWorkflowExecutions Source #
Create a value of ListOpenWorkflowExecutions
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:nextPageToken:ListOpenWorkflowExecutions'
, listOpenWorkflowExecutions_nextPageToken
- If NextPageToken
is returned there are more results available. The
value of NextPageToken
is a unique pagination token for each page.
Make the call again using the returned token to retrieve the next page.
Keep all other arguments unchanged. Each pagination token expires after
60 seconds. Using an expired pagination token will return a 400
error:
"Specified token has exceeded its maximum lifetime
".
The configured maximumPageSize
determines how many results can be
returned in a single call.
$sel:executionFilter:ListOpenWorkflowExecutions'
, listOpenWorkflowExecutions_executionFilter
- If specified, only workflow executions matching the workflow ID
specified in the filter are returned.
executionFilter
, typeFilter
and tagFilter
are mutually exclusive.
You can specify at most one of these in a request.
$sel:typeFilter:ListOpenWorkflowExecutions'
, listOpenWorkflowExecutions_typeFilter
- If specified, only executions of the type specified in the filter are
returned.
executionFilter
, typeFilter
and tagFilter
are mutually exclusive.
You can specify at most one of these in a request.
$sel:reverseOrder:ListOpenWorkflowExecutions'
, listOpenWorkflowExecutions_reverseOrder
- When set to true
, returns the results in reverse order. By default the
results are returned in descending order of the start time of the
executions.
$sel:tagFilter:ListOpenWorkflowExecutions'
, listOpenWorkflowExecutions_tagFilter
- If specified, only executions that have the matching tag are listed.
executionFilter
, typeFilter
and tagFilter
are mutually exclusive.
You can specify at most one of these in a request.
$sel:maximumPageSize:ListOpenWorkflowExecutions'
, listOpenWorkflowExecutions_maximumPageSize
- The maximum number of results that are returned per call. Use
nextPageToken
to obtain further pages of results.
$sel:domain:ListOpenWorkflowExecutions'
, listOpenWorkflowExecutions_domain
- The name of the domain that contains the workflow executions to list.
$sel:startTimeFilter:ListOpenWorkflowExecutions'
, listOpenWorkflowExecutions_startTimeFilter
- Workflow executions are included in the returned results based on
whether their start times are within the range specified by this filter.
data WorkflowExecutionInfos Source #
Contains a paginated list of information about workflow executions.
See: newWorkflowExecutionInfos
smart constructor.
Instances
newWorkflowExecutionInfos :: WorkflowExecutionInfos Source #
Create a value of WorkflowExecutionInfos
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:nextPageToken:WorkflowExecutionInfos'
, workflowExecutionInfos_nextPageToken
- 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.
$sel:executionInfos:WorkflowExecutionInfos'
, workflowExecutionInfos_executionInfos
- The list of workflow information structures.
RegisterActivityType
data RegisterActivityType Source #
See: newRegisterActivityType
smart constructor.
RegisterActivityType' (Maybe Text) (Maybe TaskList) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) Text Text Text |
Instances
newRegisterActivityType Source #
:: Text | |
-> Text | |
-> Text | |
-> RegisterActivityType |
Create a value of RegisterActivityType
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:defaultTaskScheduleToStartTimeout:RegisterActivityType'
, registerActivityType_defaultTaskScheduleToStartTimeout
- If set, specifies the default maximum duration that a task of this
activity type can wait before being assigned to a worker. This default
can be overridden when scheduling an activity task using the
ScheduleActivityTask
Decision.
The duration is specified in seconds, an integer greater than or equal
to 0
. You can use NONE
to specify unlimited duration.
$sel:defaultTaskList:RegisterActivityType'
, registerActivityType_defaultTaskList
- If set, specifies the default task list to use for scheduling tasks of
this activity type. This default task list is used if a task list isn't
provided when a task is scheduled through the ScheduleActivityTask
Decision.
$sel:defaultTaskPriority:RegisterActivityType'
, registerActivityType_defaultTaskPriority
- The default task priority to assign to the activity type. If not
assigned, then 0
is used. Valid values are integers that range from
Java's Integer.MIN_VALUE
(-2147483648) to Integer.MAX_VALUE
(2147483647). Higher numbers indicate higher priority.
For more information about setting task priority, see Setting Task Priority in the in the Amazon SWF Developer Guide..
$sel:defaultTaskHeartbeatTimeout:RegisterActivityType'
, registerActivityType_defaultTaskHeartbeatTimeout
- If set, specifies the default 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. This default can be overridden when
scheduling an activity task using 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
. You can use NONE
to specify unlimited duration.
$sel:defaultTaskScheduleToCloseTimeout:RegisterActivityType'
, registerActivityType_defaultTaskScheduleToCloseTimeout
- If set, specifies the default maximum duration for a task of this
activity type. This default can be overridden when scheduling an
activity task using the ScheduleActivityTask
Decision.
The duration is specified in seconds, an integer greater than or equal
to 0
. You can use NONE
to specify unlimited duration.
$sel:defaultTaskStartToCloseTimeout:RegisterActivityType'
, registerActivityType_defaultTaskStartToCloseTimeout
- If set, specifies the default maximum duration that a worker can take to
process tasks of this activity type. This default can be overridden when
scheduling an activity task using the ScheduleActivityTask
Decision.
The duration is specified in seconds, an integer greater than or equal
to 0
. You can use NONE
to specify unlimited duration.
$sel:description:RegisterActivityType'
, registerActivityType_description
- A textual description of the activity type.
$sel:domain:RegisterActivityType'
, registerActivityType_domain
- The name of the domain in which this activity is to be registered.
$sel:name:RegisterActivityType'
, registerActivityType_name
- The name of the activity type within the domain.
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
be the literal string arn
.
$sel:version:RegisterActivityType'
, registerActivityType_version
- The version of the activity type.
The activity type consists of the name and version, the combination of which must be unique within the domain.
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
be the literal string arn
.
data RegisterActivityTypeResponse Source #
See: newRegisterActivityTypeResponse
smart constructor.
Instances
newRegisterActivityTypeResponse :: RegisterActivityTypeResponse Source #
Create a value of RegisterActivityTypeResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
ListActivityTypes (Paginated)
data ListActivityTypes Source #
See: newListActivityTypes
smart constructor.
Instances
Create a value of ListActivityTypes
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:nextPageToken:ListActivityTypes'
, listActivityTypes_nextPageToken
- If NextPageToken
is returned there are more results available. The
value of NextPageToken
is a unique pagination token for each page.
Make the call again using the returned token to retrieve the next page.
Keep all other arguments unchanged. Each pagination token expires after
60 seconds. Using an expired pagination token will return a 400
error:
"Specified token has exceeded its maximum lifetime
".
The configured maximumPageSize
determines how many results can be
returned in a single call.
$sel:reverseOrder:ListActivityTypes'
, listActivityTypes_reverseOrder
- When set to true
, returns the results in reverse order. By default,
the results are returned in ascending alphabetical order by name
of
the activity types.
$sel:name:ListActivityTypes'
, listActivityTypes_name
- If specified, only lists the activity types that have this name.
$sel:maximumPageSize:ListActivityTypes'
, listActivityTypes_maximumPageSize
- The maximum number of results that are returned per call. Use
nextPageToken
to obtain further pages of results.
$sel:domain:ListActivityTypes'
, listActivityTypes_domain
- The name of the domain in which the activity types have been registered.
$sel:registrationStatus:ListActivityTypes'
, listActivityTypes_registrationStatus
- Specifies the registration status of the activity types to list.
data ListActivityTypesResponse Source #
Contains a paginated list of activity type information structures.
See: newListActivityTypesResponse
smart constructor.
Instances
newListActivityTypesResponse Source #
Create a value of ListActivityTypesResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:nextPageToken:ListActivityTypes'
, listActivityTypesResponse_nextPageToken
- 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.
$sel:httpStatus:ListActivityTypesResponse'
, listActivityTypesResponse_httpStatus
- The response's http status code.
$sel:typeInfos:ListActivityTypesResponse'
, listActivityTypesResponse_typeInfos
- List of activity type information.
CountPendingActivityTasks
data CountPendingActivityTasks Source #
See: newCountPendingActivityTasks
smart constructor.
Instances
newCountPendingActivityTasks Source #
Create a value of CountPendingActivityTasks
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:domain:CountPendingActivityTasks'
, countPendingActivityTasks_domain
- The name of the domain that contains the task list.
$sel:taskList:CountPendingActivityTasks'
, countPendingActivityTasks_taskList
- The name of the task list.
data PendingTaskCount Source #
Contains the count of tasks in a task list.
See: newPendingTaskCount
smart constructor.
Instances
Create a value of PendingTaskCount
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:truncated:PendingTaskCount'
, pendingTaskCount_truncated
- 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.
$sel:count:PendingTaskCount'
, pendingTaskCount_count
- The number of tasks in the task list.
RegisterWorkflowType
data RegisterWorkflowType Source #
See: newRegisterWorkflowType
smart constructor.
RegisterWorkflowType' (Maybe Text) (Maybe ChildPolicy) (Maybe TaskList) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) Text Text Text |
Instances
newRegisterWorkflowType Source #
:: Text | |
-> Text | |
-> Text | |
-> RegisterWorkflowType |
Create a value of RegisterWorkflowType
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:defaultLambdaRole:RegisterWorkflowType'
, registerWorkflowType_defaultLambdaRole
- The default IAM role attached to this workflow type.
Executions of this workflow type need IAM roles to invoke Lambda functions. If you don't specify an IAM role when you start this workflow type, the default Lambda role is attached to the execution. For more information, see https://docs.aws.amazon.com/amazonswf/latest/developerguide/lambda-task.html in the Amazon SWF Developer Guide.
$sel:defaultChildPolicy:RegisterWorkflowType'
, registerWorkflowType_defaultChildPolicy
- If set, specifies 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 are terminated.REQUEST_CANCEL
– A request to cancel is attempted for each child execution by recording aWorkflowExecutionCancelRequested
event in its history. It is up to the decider to take appropriate actions when it receives an execution history with this event.ABANDON
– No action is taken. The child executions continue to run.
$sel:defaultTaskList:RegisterWorkflowType'
, registerWorkflowType_defaultTaskList
- If set, specifies the default task list to use for scheduling decision
tasks for executions of this workflow type. This default is used only if
a task list isn't provided when starting the execution through the
StartWorkflowExecution Action or StartChildWorkflowExecution
Decision.
$sel:defaultTaskPriority:RegisterWorkflowType'
, registerWorkflowType_defaultTaskPriority
- The default task priority to assign to the workflow type. If not
assigned, then 0
is used. Valid values are integers that range from
Java's Integer.MIN_VALUE
(-2147483648) to Integer.MAX_VALUE
(2147483647). Higher numbers indicate higher priority.
For more information about setting task priority, see Setting Task Priority in the Amazon SWF Developer Guide.
$sel:defaultExecutionStartToCloseTimeout:RegisterWorkflowType'
, registerWorkflowType_defaultExecutionStartToCloseTimeout
- If set, specifies the default maximum duration for executions of this
workflow type. You can override this default when starting an execution
through the StartWorkflowExecution Action or
StartChildWorkflowExecution
Decision.
The duration is specified in seconds; an integer greater than or equal
to 0. Unlike some of the other timeout parameters in Amazon SWF, you
cannot specify a value of "NONE" for
defaultExecutionStartToCloseTimeout
; there is a one-year max limit on
the time that a workflow execution can run. Exceeding this limit always
causes the workflow execution to time out.
$sel:defaultTaskStartToCloseTimeout:RegisterWorkflowType'
, registerWorkflowType_defaultTaskStartToCloseTimeout
- If set, specifies the default maximum duration of decision tasks for
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
. You can use NONE
to specify unlimited duration.
$sel:description:RegisterWorkflowType'
, registerWorkflowType_description
- Textual description of the workflow type.
$sel:domain:RegisterWorkflowType'
, registerWorkflowType_domain
- The name of the domain in which to register the workflow type.
$sel:name:RegisterWorkflowType'
, registerWorkflowType_name
- The name of the workflow type.
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
be the literal string arn
.
$sel:version:RegisterWorkflowType'
, registerWorkflowType_version
- The version of the workflow type.
The workflow type consists of the name and version, the combination of which must be unique within the domain. To get a list of all currently registered workflow types, use the ListWorkflowTypes action.
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
be the literal string arn
.
data RegisterWorkflowTypeResponse Source #
See: newRegisterWorkflowTypeResponse
smart constructor.
Instances
newRegisterWorkflowTypeResponse :: RegisterWorkflowTypeResponse Source #
Create a value of RegisterWorkflowTypeResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
ListWorkflowTypes (Paginated)
data ListWorkflowTypes Source #
See: newListWorkflowTypes
smart constructor.
Instances
Create a value of ListWorkflowTypes
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:nextPageToken:ListWorkflowTypes'
, listWorkflowTypes_nextPageToken
- If NextPageToken
is returned there are more results available. The
value of NextPageToken
is a unique pagination token for each page.
Make the call again using the returned token to retrieve the next page.
Keep all other arguments unchanged. Each pagination token expires after
60 seconds. Using an expired pagination token will return a 400
error:
"Specified token has exceeded its maximum lifetime
".
The configured maximumPageSize
determines how many results can be
returned in a single call.
$sel:reverseOrder:ListWorkflowTypes'
, listWorkflowTypes_reverseOrder
- When set to true
, returns the results in reverse order. By default the
results are returned in ascending alphabetical order of the name
of
the workflow types.
$sel:name:ListWorkflowTypes'
, listWorkflowTypes_name
- If specified, lists the workflow type with this name.
$sel:maximumPageSize:ListWorkflowTypes'
, listWorkflowTypes_maximumPageSize
- The maximum number of results that are returned per call. Use
nextPageToken
to obtain further pages of results.
$sel:domain:ListWorkflowTypes'
, listWorkflowTypes_domain
- The name of the domain in which the workflow types have been registered.
$sel:registrationStatus:ListWorkflowTypes'
, listWorkflowTypes_registrationStatus
- Specifies the registration status of the workflow types to list.
data ListWorkflowTypesResponse Source #
Contains a paginated list of information structures about workflow types.
See: newListWorkflowTypesResponse
smart constructor.
Instances
newListWorkflowTypesResponse Source #
Create a value of ListWorkflowTypesResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:nextPageToken:ListWorkflowTypes'
, listWorkflowTypesResponse_nextPageToken
- 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.
$sel:httpStatus:ListWorkflowTypesResponse'
, listWorkflowTypesResponse_httpStatus
- The response's http status code.
$sel:typeInfos:ListWorkflowTypesResponse'
, listWorkflowTypesResponse_typeInfos
- The list of workflow type information.
ListTagsForResource
data ListTagsForResource Source #
See: newListTagsForResource
smart constructor.
Instances
newListTagsForResource Source #
Create a value of ListTagsForResource
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:resourceArn:ListTagsForResource'
, listTagsForResource_resourceArn
- The Amazon Resource Name (ARN) for the Amazon SWF domain.
data ListTagsForResourceResponse Source #
See: newListTagsForResourceResponse
smart constructor.
Instances
newListTagsForResourceResponse Source #
Create a value of ListTagsForResourceResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:tags:ListTagsForResourceResponse'
, listTagsForResourceResponse_tags
- An array of tags associated with the domain.
$sel:httpStatus:ListTagsForResourceResponse'
, listTagsForResourceResponse_httpStatus
- The response's http status code.
RespondActivityTaskFailed
data RespondActivityTaskFailed Source #
See: newRespondActivityTaskFailed
smart constructor.
Instances
newRespondActivityTaskFailed Source #
Create a value of RespondActivityTaskFailed
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:reason:RespondActivityTaskFailed'
, respondActivityTaskFailed_reason
- Description of the error that may assist in diagnostics.
$sel:details:RespondActivityTaskFailed'
, respondActivityTaskFailed_details
- Detailed information about the failure.
$sel:taskToken:RespondActivityTaskFailed'
, respondActivityTaskFailed_taskToken
- The taskToken
of the ActivityTask.
taskToken
is generated by the service and should be treated as an
opaque value. If the task is passed to another process, its taskToken
must also be passed. This enables it to provide its progress and respond
with results.
data RespondActivityTaskFailedResponse Source #
See: newRespondActivityTaskFailedResponse
smart constructor.
Instances
newRespondActivityTaskFailedResponse :: RespondActivityTaskFailedResponse Source #
Create a value of RespondActivityTaskFailedResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
CountOpenWorkflowExecutions
data CountOpenWorkflowExecutions Source #
See: newCountOpenWorkflowExecutions
smart constructor.
CountOpenWorkflowExecutions' (Maybe WorkflowExecutionFilter) (Maybe WorkflowTypeFilter) (Maybe TagFilter) Text ExecutionTimeFilter |
Instances
newCountOpenWorkflowExecutions Source #
Create a value of CountOpenWorkflowExecutions
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:executionFilter:CountOpenWorkflowExecutions'
, countOpenWorkflowExecutions_executionFilter
- If specified, only workflow executions matching the WorkflowId
in the
filter are counted.
executionFilter
, typeFilter
and tagFilter
are mutually exclusive.
You can specify at most one of these in a request.
$sel:typeFilter:CountOpenWorkflowExecutions'
, countOpenWorkflowExecutions_typeFilter
- Specifies the type of the workflow executions to be counted.
executionFilter
, typeFilter
and tagFilter
are mutually exclusive.
You can specify at most one of these in a request.
$sel:tagFilter:CountOpenWorkflowExecutions'
, countOpenWorkflowExecutions_tagFilter
- If specified, only executions that have a tag that matches the filter
are counted.
executionFilter
, typeFilter
and tagFilter
are mutually exclusive.
You can specify at most one of these in a request.
$sel:domain:CountOpenWorkflowExecutions'
, countOpenWorkflowExecutions_domain
- The name of the domain containing the workflow executions to count.
$sel:startTimeFilter:CountOpenWorkflowExecutions'
, countOpenWorkflowExecutions_startTimeFilter
- Specifies the start time criteria that workflow executions must meet in
order to be counted.
data WorkflowExecutionCount Source #
Contains the count of workflow executions returned from CountOpenWorkflowExecutions or CountClosedWorkflowExecutions
See: newWorkflowExecutionCount
smart constructor.
Instances
newWorkflowExecutionCount Source #
Create a value of WorkflowExecutionCount
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:truncated:WorkflowExecutionCount'
, workflowExecutionCount_truncated
- 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.
$sel:count:WorkflowExecutionCount'
, workflowExecutionCount_count
- The number of workflow executions.
UndeprecateDomain
data UndeprecateDomain Source #
See: newUndeprecateDomain
smart constructor.
Instances
Create a value of UndeprecateDomain
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:name:UndeprecateDomain'
, undeprecateDomain_name
- The name of the domain of the deprecated workflow type.
data UndeprecateDomainResponse Source #
See: newUndeprecateDomainResponse
smart constructor.
Instances
Eq UndeprecateDomainResponse Source # | |
Defined in Amazonka.SWF.UndeprecateDomain | |
Read UndeprecateDomainResponse Source # | |
Show UndeprecateDomainResponse Source # | |
Defined in Amazonka.SWF.UndeprecateDomain showsPrec :: Int -> UndeprecateDomainResponse -> ShowS # show :: UndeprecateDomainResponse -> String # showList :: [UndeprecateDomainResponse] -> ShowS # | |
Generic UndeprecateDomainResponse Source # | |
Defined in Amazonka.SWF.UndeprecateDomain type Rep UndeprecateDomainResponse :: Type -> Type # | |
NFData UndeprecateDomainResponse Source # | |
Defined in Amazonka.SWF.UndeprecateDomain rnf :: UndeprecateDomainResponse -> () # | |
type Rep UndeprecateDomainResponse Source # | |
newUndeprecateDomainResponse :: UndeprecateDomainResponse Source #
Create a value of UndeprecateDomainResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
DescribeWorkflowType
data DescribeWorkflowType Source #
See: newDescribeWorkflowType
smart constructor.
Instances
newDescribeWorkflowType Source #
:: Text | |
-> WorkflowType | |
-> DescribeWorkflowType |
Create a value of DescribeWorkflowType
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:domain:DescribeWorkflowType'
, describeWorkflowType_domain
- The name of the domain in which this workflow type is registered.
$sel:workflowType:DescribeWorkflowType'
, describeWorkflowType_workflowType
- The workflow type to describe.
data DescribeWorkflowTypeResponse Source #
Contains details about a workflow type.
See: newDescribeWorkflowTypeResponse
smart constructor.
Instances
newDescribeWorkflowTypeResponse Source #
Create a value of DescribeWorkflowTypeResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:httpStatus:DescribeWorkflowTypeResponse'
, describeWorkflowTypeResponse_httpStatus
- The response's http status code.
$sel:typeInfo:DescribeWorkflowTypeResponse'
, describeWorkflowTypeResponse_typeInfo
- General information about the workflow type.
The status of the workflow type (returned in the WorkflowTypeInfo structure) can be one of the following.
REGISTERED
– The type is registered and available. Workers supporting this type should be running.DEPRECATED
– The type was deprecated using DeprecateWorkflowType, but is still in use. You should keep workers supporting this type running. You cannot create new workflow executions of this type.
$sel:configuration:DescribeWorkflowTypeResponse'
, describeWorkflowTypeResponse_configuration
- Configuration settings of the workflow type registered through
RegisterWorkflowType
DeprecateWorkflowType
data DeprecateWorkflowType Source #
See: newDeprecateWorkflowType
smart constructor.
Instances
newDeprecateWorkflowType Source #
Create a value of DeprecateWorkflowType
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:domain:DeprecateWorkflowType'
, deprecateWorkflowType_domain
- The name of the domain in which the workflow type is registered.
$sel:workflowType:DeprecateWorkflowType'
, deprecateWorkflowType_workflowType
- The workflow type to deprecate.
data DeprecateWorkflowTypeResponse Source #
See: newDeprecateWorkflowTypeResponse
smart constructor.
Instances
newDeprecateWorkflowTypeResponse :: DeprecateWorkflowTypeResponse Source #
Create a value of DeprecateWorkflowTypeResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
RequestCancelWorkflowExecution
data RequestCancelWorkflowExecution Source #
See: newRequestCancelWorkflowExecution
smart constructor.
Instances
newRequestCancelWorkflowExecution Source #
Create a value of RequestCancelWorkflowExecution
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:runId:RequestCancelWorkflowExecution'
, requestCancelWorkflowExecution_runId
- The runId of the workflow execution to cancel.
$sel:domain:RequestCancelWorkflowExecution'
, requestCancelWorkflowExecution_domain
- The name of the domain containing the workflow execution to cancel.
$sel:workflowId:RequestCancelWorkflowExecution'
, requestCancelWorkflowExecution_workflowId
- The workflowId of the workflow execution to cancel.
data RequestCancelWorkflowExecutionResponse Source #
See: newRequestCancelWorkflowExecutionResponse
smart constructor.
Instances
newRequestCancelWorkflowExecutionResponse :: RequestCancelWorkflowExecutionResponse Source #
Create a value of RequestCancelWorkflowExecutionResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
RegisterDomain
data RegisterDomain Source #
See: newRegisterDomain
smart constructor.
RegisterDomain' (Maybe Text) (Maybe [ResourceTag]) Text Text |
Instances
:: Text | |
-> Text | |
-> RegisterDomain |
Create a value of RegisterDomain
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:description:RegisterDomain'
, registerDomain_description
- A text description of the domain.
$sel:tags:RegisterDomain'
, registerDomain_tags
- Tags to be added when registering a domain.
Tags may only contain unicode letters, digits, whitespace, or these
symbols: _ . : / = + - @
.
$sel:name:RegisterDomain'
, registerDomain_name
- Name of the domain to register. The name must be unique in the region
that the domain is registered in.
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
be the literal string arn
.
$sel:workflowExecutionRetentionPeriodInDays:RegisterDomain'
, registerDomain_workflowExecutionRetentionPeriodInDays
- The duration (in days) that records and histories of workflow executions
on the domain should be kept by the service. After the retention period,
the workflow execution isn't available in the results of visibility
calls.
If you pass the value NONE
or 0
(zero), then the workflow execution
history isn't retained. As soon as the workflow execution completes,
the execution record and its history are deleted.
The maximum workflow execution retention period is 90 days. For more information about Amazon SWF service limits, see: Amazon SWF Service Limits in the Amazon SWF Developer Guide.
data RegisterDomainResponse Source #
See: newRegisterDomainResponse
smart constructor.
Instances
Eq RegisterDomainResponse Source # | |
Defined in Amazonka.SWF.RegisterDomain | |
Read RegisterDomainResponse Source # | |
Show RegisterDomainResponse Source # | |
Defined in Amazonka.SWF.RegisterDomain showsPrec :: Int -> RegisterDomainResponse -> ShowS # show :: RegisterDomainResponse -> String # showList :: [RegisterDomainResponse] -> ShowS # | |
Generic RegisterDomainResponse Source # | |
Defined in Amazonka.SWF.RegisterDomain type Rep RegisterDomainResponse :: Type -> Type # | |
NFData RegisterDomainResponse Source # | |
Defined in Amazonka.SWF.RegisterDomain rnf :: RegisterDomainResponse -> () # | |
type Rep RegisterDomainResponse Source # | |
newRegisterDomainResponse :: RegisterDomainResponse Source #
Create a value of RegisterDomainResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
RespondDecisionTaskCompleted
data RespondDecisionTaskCompleted Source #
Input data for a TaskCompleted response to a decision task.
See: newRespondDecisionTaskCompleted
smart constructor.
Instances
newRespondDecisionTaskCompleted Source #
Create a value of RespondDecisionTaskCompleted
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:decisions:RespondDecisionTaskCompleted'
, respondDecisionTaskCompleted_decisions
- The list of decisions (possibly empty) made by the decider while
processing this decision task. See the docs for the Decision structure
for details.
$sel:executionContext:RespondDecisionTaskCompleted'
, respondDecisionTaskCompleted_executionContext
- User defined context to add to workflow execution.
$sel:taskToken:RespondDecisionTaskCompleted'
, respondDecisionTaskCompleted_taskToken
- The taskToken
from the DecisionTask.
taskToken
is generated by the service and should be treated as an
opaque value. If the task is passed to another process, its taskToken
must also be passed. This enables it to provide its progress and respond
with results.
data RespondDecisionTaskCompletedResponse Source #
See: newRespondDecisionTaskCompletedResponse
smart constructor.
Instances
newRespondDecisionTaskCompletedResponse :: RespondDecisionTaskCompletedResponse Source #
Create a value of RespondDecisionTaskCompletedResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
PollForActivityTask
data PollForActivityTask Source #
See: newPollForActivityTask
smart constructor.
Instances
newPollForActivityTask Source #
:: Text | |
-> TaskList | |
-> PollForActivityTask |
Create a value of PollForActivityTask
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:identity:PollForActivityTask'
, pollForActivityTask_identity
- Identity of the worker making the request, recorded in the
ActivityTaskStarted
event in the workflow history. This enables
diagnostic tracing when problems arise. The form of this identity is
user defined.
$sel:domain:PollForActivityTask'
, pollForActivityTask_domain
- The name of the domain that contains the task lists being polled.
$sel:taskList:PollForActivityTask'
, pollForActivityTask_taskList
- Specifies the task list to poll for activity tasks.
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
be the literal string arn
.
data PollForActivityTaskResponse Source #
Unit of work sent to an activity worker.
See: newPollForActivityTaskResponse
smart constructor.
PollForActivityTaskResponse' (Maybe ActivityType) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe WorkflowExecution) Int Integer |
Instances
newPollForActivityTaskResponse Source #
Create a value of PollForActivityTaskResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:activityType:PollForActivityTaskResponse'
, pollForActivityTaskResponse_activityType
- The type of this activity task.
$sel:activityId:PollForActivityTaskResponse'
, pollForActivityTaskResponse_activityId
- The unique ID of the task.
$sel:input:PollForActivityTaskResponse'
, pollForActivityTaskResponse_input
- The inputs provided when the activity task was scheduled. The form of
the input is user defined and should be meaningful to the activity
implementation.
$sel:taskToken:PollForActivityTaskResponse'
, pollForActivityTaskResponse_taskToken
- The opaque string used as a handle on the task. This token is used by
workers to communicate progress and response information back to the
system about the task.
$sel:workflowExecution:PollForActivityTaskResponse'
, pollForActivityTaskResponse_workflowExecution
- The workflow execution that started this activity task.
$sel:httpStatus:PollForActivityTaskResponse'
, pollForActivityTaskResponse_httpStatus
- The response's http status code.
$sel:startedEventId:PollForActivityTaskResponse'
, pollForActivityTaskResponse_startedEventId
- The ID of the ActivityTaskStarted
event recorded in the history.
RespondActivityTaskCompleted
data RespondActivityTaskCompleted Source #
See: newRespondActivityTaskCompleted
smart constructor.
Instances
newRespondActivityTaskCompleted Source #
Create a value of RespondActivityTaskCompleted
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:result:RespondActivityTaskCompleted'
, respondActivityTaskCompleted_result
- The result of the activity task. It is a free form string that is
implementation specific.
$sel:taskToken:RespondActivityTaskCompleted'
, respondActivityTaskCompleted_taskToken
- The taskToken
of the ActivityTask.
taskToken
is generated by the service and should be treated as an
opaque value. If the task is passed to another process, its taskToken
must also be passed. This enables it to provide its progress and respond
with results.
data RespondActivityTaskCompletedResponse Source #
See: newRespondActivityTaskCompletedResponse
smart constructor.
Instances
newRespondActivityTaskCompletedResponse :: RespondActivityTaskCompletedResponse Source #
Create a value of RespondActivityTaskCompletedResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
DescribeWorkflowExecution
data DescribeWorkflowExecution Source #
See: newDescribeWorkflowExecution
smart constructor.
Instances
newDescribeWorkflowExecution Source #
Create a value of DescribeWorkflowExecution
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:domain:DescribeWorkflowExecution'
, describeWorkflowExecution_domain
- The name of the domain containing the workflow execution.
$sel:execution:DescribeWorkflowExecution'
, describeWorkflowExecution_execution
- The workflow execution to describe.
data DescribeWorkflowExecutionResponse Source #
Contains details about a workflow execution.
See: newDescribeWorkflowExecutionResponse
smart constructor.
DescribeWorkflowExecutionResponse' (Maybe POSIX) (Maybe Text) Int WorkflowExecutionInfo WorkflowExecutionConfiguration WorkflowExecutionOpenCounts |
Instances
newDescribeWorkflowExecutionResponse Source #
:: Int | |
-> WorkflowExecutionInfo | |
-> WorkflowExecutionConfiguration |
|
-> WorkflowExecutionOpenCounts | |
-> DescribeWorkflowExecutionResponse |
Create a value of DescribeWorkflowExecutionResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:latestActivityTaskTimestamp:DescribeWorkflowExecutionResponse'
, describeWorkflowExecutionResponse_latestActivityTaskTimestamp
- The time when the last activity task was scheduled for this workflow
execution. You can use this information to determine if the workflow has
not made progress for an unusually long period of time and might require
a corrective action.
$sel:latestExecutionContext:DescribeWorkflowExecutionResponse'
, describeWorkflowExecutionResponse_latestExecutionContext
- The latest executionContext provided by the decider for this workflow
execution. A decider can provide an executionContext (a free-form
string) when closing a decision task using RespondDecisionTaskCompleted.
$sel:httpStatus:DescribeWorkflowExecutionResponse'
, describeWorkflowExecutionResponse_httpStatus
- The response's http status code.
$sel:executionInfo:DescribeWorkflowExecutionResponse'
, describeWorkflowExecutionResponse_executionInfo
- Information about the workflow execution.
$sel:executionConfiguration:DescribeWorkflowExecutionResponse'
, describeWorkflowExecutionResponse_executionConfiguration
- The configuration settings for this workflow execution including timeout
values, tasklist etc.
$sel:openCounts:DescribeWorkflowExecutionResponse'
, describeWorkflowExecutionResponse_openCounts
- The number of tasks for this workflow execution. This includes open and
closed tasks of all types.
SignalWorkflowExecution
data SignalWorkflowExecution Source #
See: newSignalWorkflowExecution
smart constructor.
Instances
newSignalWorkflowExecution Source #
:: Text | |
-> Text | |
-> Text | |
-> SignalWorkflowExecution |
Create a value of SignalWorkflowExecution
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:input:SignalWorkflowExecution'
, signalWorkflowExecution_input
- Data to attach to the WorkflowExecutionSignaled
event in the target
workflow execution's history.
$sel:runId:SignalWorkflowExecution'
, signalWorkflowExecution_runId
- The runId of the workflow execution to signal.
$sel:domain:SignalWorkflowExecution'
, signalWorkflowExecution_domain
- The name of the domain containing the workflow execution to signal.
$sel:workflowId:SignalWorkflowExecution'
, signalWorkflowExecution_workflowId
- The workflowId of the workflow execution to signal.
$sel:signalName:SignalWorkflowExecution'
, signalWorkflowExecution_signalName
- The name of the signal. This name must be meaningful to the target
workflow.
data SignalWorkflowExecutionResponse Source #
See: newSignalWorkflowExecutionResponse
smart constructor.
Instances
newSignalWorkflowExecutionResponse :: SignalWorkflowExecutionResponse Source #
Create a value of SignalWorkflowExecutionResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
CountPendingDecisionTasks
data CountPendingDecisionTasks Source #
See: newCountPendingDecisionTasks
smart constructor.
Instances
newCountPendingDecisionTasks Source #
Create a value of CountPendingDecisionTasks
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:domain:CountPendingDecisionTasks'
, countPendingDecisionTasks_domain
- The name of the domain that contains the task list.
$sel:taskList:CountPendingDecisionTasks'
, countPendingDecisionTasks_taskList
- The name of the task list.
data PendingTaskCount Source #
Contains the count of tasks in a task list.
See: newPendingTaskCount
smart constructor.
Instances
Create a value of PendingTaskCount
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:truncated:PendingTaskCount'
, pendingTaskCount_truncated
- 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.
$sel:count:PendingTaskCount'
, pendingTaskCount_count
- The number of tasks in the task list.
ListClosedWorkflowExecutions (Paginated)
data ListClosedWorkflowExecutions Source #
See: newListClosedWorkflowExecutions
smart constructor.
Instances
newListClosedWorkflowExecutions Source #
Create a value of ListClosedWorkflowExecutions
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:nextPageToken:ListClosedWorkflowExecutions'
, listClosedWorkflowExecutions_nextPageToken
- If NextPageToken
is returned there are more results available. The
value of NextPageToken
is a unique pagination token for each page.
Make the call again using the returned token to retrieve the next page.
Keep all other arguments unchanged. Each pagination token expires after
60 seconds. Using an expired pagination token will return a 400
error:
"Specified token has exceeded its maximum lifetime
".
The configured maximumPageSize
determines how many results can be
returned in a single call.
$sel:executionFilter:ListClosedWorkflowExecutions'
, listClosedWorkflowExecutions_executionFilter
- If specified, only workflow executions matching the workflow ID
specified in the filter are returned.
closeStatusFilter
, executionFilter
, typeFilter
and tagFilter
are
mutually exclusive. You can specify at most one of these in a request.
$sel:closeStatusFilter:ListClosedWorkflowExecutions'
, listClosedWorkflowExecutions_closeStatusFilter
- If specified, only workflow executions that match this close status
are listed. For example, if TERMINATED is specified, then only
TERMINATED workflow executions are listed.
closeStatusFilter
, executionFilter
, typeFilter
and tagFilter
are
mutually exclusive. You can specify at most one of these in a request.
$sel:typeFilter:ListClosedWorkflowExecutions'
, listClosedWorkflowExecutions_typeFilter
- If specified, only executions of the type specified in the filter are
returned.
closeStatusFilter
, executionFilter
, typeFilter
and tagFilter
are
mutually exclusive. You can specify at most one of these in a request.
$sel:closeTimeFilter:ListClosedWorkflowExecutions'
, listClosedWorkflowExecutions_closeTimeFilter
- If specified, the workflow executions are included in the returned
results based on whether their close times are within the range
specified by this filter. Also, if this parameter is specified, the
returned results are ordered by their close times.
startTimeFilter
and closeTimeFilter
are mutually exclusive. You must
specify one of these in a request but not both.
$sel:reverseOrder:ListClosedWorkflowExecutions'
, listClosedWorkflowExecutions_reverseOrder
- When set to true
, returns the results in reverse order. By default the
results are returned in descending order of the start or the close time
of the executions.
$sel:tagFilter:ListClosedWorkflowExecutions'
, listClosedWorkflowExecutions_tagFilter
- If specified, only executions that have the matching tag are listed.
closeStatusFilter
, executionFilter
, typeFilter
and tagFilter
are
mutually exclusive. You can specify at most one of these in a request.
$sel:startTimeFilter:ListClosedWorkflowExecutions'
, listClosedWorkflowExecutions_startTimeFilter
- If specified, the workflow executions are included in the returned
results based on whether their start times are within the range
specified by this filter. Also, if this parameter is specified, the
returned results are ordered by their start times.
startTimeFilter
and closeTimeFilter
are mutually exclusive. You must
specify one of these in a request but not both.
$sel:maximumPageSize:ListClosedWorkflowExecutions'
, listClosedWorkflowExecutions_maximumPageSize
- The maximum number of results that are returned per call. Use
nextPageToken
to obtain further pages of results.
$sel:domain:ListClosedWorkflowExecutions'
, listClosedWorkflowExecutions_domain
- The name of the domain that contains the workflow executions to list.
data WorkflowExecutionInfos Source #
Contains a paginated list of information about workflow executions.
See: newWorkflowExecutionInfos
smart constructor.
Instances
newWorkflowExecutionInfos :: WorkflowExecutionInfos Source #
Create a value of WorkflowExecutionInfos
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:nextPageToken:WorkflowExecutionInfos'
, workflowExecutionInfos_nextPageToken
- 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.
$sel:executionInfos:WorkflowExecutionInfos'
, workflowExecutionInfos_executionInfos
- The list of workflow information structures.
RecordActivityTaskHeartbeat
data RecordActivityTaskHeartbeat Source #
See: newRecordActivityTaskHeartbeat
smart constructor.
Instances
newRecordActivityTaskHeartbeat Source #
Create a value of RecordActivityTaskHeartbeat
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:details:RecordActivityTaskHeartbeat'
, recordActivityTaskHeartbeat_details
- If specified, contains details about the progress of the task.
$sel:taskToken:RecordActivityTaskHeartbeat'
, recordActivityTaskHeartbeat_taskToken
- The taskToken
of the ActivityTask.
taskToken
is generated by the service and should be treated as an
opaque value. If the task is passed to another process, its taskToken
must also be passed. This enables it to provide its progress and respond
with results.
data RecordActivityTaskHeartbeatResponse Source #
Status information about an activity task.
See: newRecordActivityTaskHeartbeatResponse
smart constructor.
Instances
Eq RecordActivityTaskHeartbeatResponse Source # | |
Read RecordActivityTaskHeartbeatResponse Source # | |
Show RecordActivityTaskHeartbeatResponse Source # | |
Generic RecordActivityTaskHeartbeatResponse Source # | |
NFData RecordActivityTaskHeartbeatResponse Source # | |
Defined in Amazonka.SWF.RecordActivityTaskHeartbeat rnf :: RecordActivityTaskHeartbeatResponse -> () # | |
type Rep RecordActivityTaskHeartbeatResponse Source # | |
Defined in Amazonka.SWF.RecordActivityTaskHeartbeat type Rep RecordActivityTaskHeartbeatResponse = D1 ('MetaData "RecordActivityTaskHeartbeatResponse" "Amazonka.SWF.RecordActivityTaskHeartbeat" "libZSservicesZSamazonka-swfZSamazonka-swf" 'False) (C1 ('MetaCons "RecordActivityTaskHeartbeatResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "cancelRequested") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool))) |
newRecordActivityTaskHeartbeatResponse Source #
Create a value of RecordActivityTaskHeartbeatResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:httpStatus:RecordActivityTaskHeartbeatResponse'
, recordActivityTaskHeartbeatResponse_httpStatus
- The response's http status code.
$sel:cancelRequested:RecordActivityTaskHeartbeatResponse'
, recordActivityTaskHeartbeatResponse_cancelRequested
- Set to true
if cancellation of the task is requested.
DescribeDomain
data DescribeDomain Source #
See: newDescribeDomain
smart constructor.
Instances
Create a value of DescribeDomain
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:name:DescribeDomain'
, describeDomain_name
- The name of the domain to describe.
data DescribeDomainResponse Source #
Contains details of a domain.
See: newDescribeDomainResponse
smart constructor.
Instances
newDescribeDomainResponse Source #
Create a value of DescribeDomainResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:httpStatus:DescribeDomainResponse'
, describeDomainResponse_httpStatus
- The response's http status code.
$sel:domainInfo:DescribeDomainResponse'
, describeDomainResponse_domainInfo
- The basic information about a domain, such as its name, status, and
description.
$sel:configuration:DescribeDomainResponse'
, describeDomainResponse_configuration
- The domain configuration. Currently, this includes only the domain's
retention period.
GetWorkflowExecutionHistory (Paginated)
data GetWorkflowExecutionHistory Source #
See: newGetWorkflowExecutionHistory
smart constructor.
Instances
newGetWorkflowExecutionHistory Source #
Create a value of GetWorkflowExecutionHistory
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:nextPageToken:GetWorkflowExecutionHistory'
, getWorkflowExecutionHistory_nextPageToken
- If NextPageToken
is returned there are more results available. The
value of NextPageToken
is a unique pagination token for each page.
Make the call again using the returned token to retrieve the next page.
Keep all other arguments unchanged. Each pagination token expires after
60 seconds. Using an expired pagination token will return a 400
error:
"Specified token has exceeded its maximum lifetime
".
The configured maximumPageSize
determines how many results can be
returned in a single call.
$sel:reverseOrder:GetWorkflowExecutionHistory'
, getWorkflowExecutionHistory_reverseOrder
- When set to true
, returns the events in reverse order. By default the
results are returned in ascending order of the eventTimeStamp
of the
events.
$sel:maximumPageSize:GetWorkflowExecutionHistory'
, getWorkflowExecutionHistory_maximumPageSize
- The maximum number of results that are returned per call. Use
nextPageToken
to obtain further pages of results.
$sel:domain:GetWorkflowExecutionHistory'
, getWorkflowExecutionHistory_domain
- The name of the domain containing the workflow execution.
$sel:execution:GetWorkflowExecutionHistory'
, getWorkflowExecutionHistory_execution
- Specifies the workflow execution for which to return the history.
data GetWorkflowExecutionHistoryResponse Source #
Paginated representation of a workflow history for a workflow execution. This is the up to date, complete and authoritative record of the events related to all tasks and events in the life of the workflow execution.
See: newGetWorkflowExecutionHistoryResponse
smart constructor.
Instances
newGetWorkflowExecutionHistoryResponse Source #
Create a value of GetWorkflowExecutionHistoryResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:nextPageToken:GetWorkflowExecutionHistory'
, getWorkflowExecutionHistoryResponse_nextPageToken
- 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.
$sel:httpStatus:GetWorkflowExecutionHistoryResponse'
, getWorkflowExecutionHistoryResponse_httpStatus
- The response's http status code.
$sel:events:GetWorkflowExecutionHistoryResponse'
, getWorkflowExecutionHistoryResponse_events
- The list of history events.
DeprecateDomain
data DeprecateDomain Source #
See: newDeprecateDomain
smart constructor.
Instances
Create a value of DeprecateDomain
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:name:DeprecateDomain'
, deprecateDomain_name
- The name of the domain to deprecate.
data DeprecateDomainResponse Source #
See: newDeprecateDomainResponse
smart constructor.
Instances
Eq DeprecateDomainResponse Source # | |
Defined in Amazonka.SWF.DeprecateDomain | |
Read DeprecateDomainResponse Source # | |
Show DeprecateDomainResponse Source # | |
Defined in Amazonka.SWF.DeprecateDomain showsPrec :: Int -> DeprecateDomainResponse -> ShowS # show :: DeprecateDomainResponse -> String # showList :: [DeprecateDomainResponse] -> ShowS # | |
Generic DeprecateDomainResponse Source # | |
Defined in Amazonka.SWF.DeprecateDomain type Rep DeprecateDomainResponse :: Type -> Type # | |
NFData DeprecateDomainResponse Source # | |
Defined in Amazonka.SWF.DeprecateDomain rnf :: DeprecateDomainResponse -> () # | |
type Rep DeprecateDomainResponse Source # | |
newDeprecateDomainResponse :: DeprecateDomainResponse Source #
Create a value of DeprecateDomainResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
UndeprecateWorkflowType
data UndeprecateWorkflowType Source #
See: newUndeprecateWorkflowType
smart constructor.
Instances
newUndeprecateWorkflowType Source #
Create a value of UndeprecateWorkflowType
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:domain:UndeprecateWorkflowType'
, undeprecateWorkflowType_domain
- The name of the domain of the deprecated workflow type.
$sel:workflowType:UndeprecateWorkflowType'
, undeprecateWorkflowType_workflowType
- The name of the domain of the deprecated workflow type.
data UndeprecateWorkflowTypeResponse Source #
See: newUndeprecateWorkflowTypeResponse
smart constructor.
Instances
newUndeprecateWorkflowTypeResponse :: UndeprecateWorkflowTypeResponse Source #
Create a value of UndeprecateWorkflowTypeResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
TerminateWorkflowExecution
data TerminateWorkflowExecution Source #
See: newTerminateWorkflowExecution
smart constructor.
Instances
newTerminateWorkflowExecution Source #
:: Text | |
-> Text | |
-> TerminateWorkflowExecution |
Create a value of TerminateWorkflowExecution
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:reason:TerminateWorkflowExecution'
, terminateWorkflowExecution_reason
- A descriptive reason for terminating the workflow execution.
$sel:runId:TerminateWorkflowExecution'
, terminateWorkflowExecution_runId
- The runId of the workflow execution to terminate.
$sel:childPolicy:TerminateWorkflowExecution'
, terminateWorkflowExecution_childPolicy
- If set, specifies the policy to use for the child workflow executions of
the workflow execution being terminated. This policy overrides the child
policy specified for the workflow execution at registration time or when
starting the execution.
The supported child policies are:
TERMINATE
– The child executions are terminated.REQUEST_CANCEL
– A request to cancel is attempted for each child execution by recording aWorkflowExecutionCancelRequested
event in its history. It is up to the decider to take appropriate actions when it receives an execution history with this event.ABANDON
– No action is taken. The child executions continue to run.
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 is returned.
$sel:details:TerminateWorkflowExecution'
, terminateWorkflowExecution_details
- Details for terminating the workflow execution.
$sel:domain:TerminateWorkflowExecution'
, terminateWorkflowExecution_domain
- The domain of the workflow execution to terminate.
$sel:workflowId:TerminateWorkflowExecution'
, terminateWorkflowExecution_workflowId
- The workflowId of the workflow execution to terminate.
data TerminateWorkflowExecutionResponse Source #
See: newTerminateWorkflowExecutionResponse
smart constructor.
Instances
newTerminateWorkflowExecutionResponse :: TerminateWorkflowExecutionResponse Source #
Create a value of TerminateWorkflowExecutionResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
DescribeActivityType
data DescribeActivityType Source #
See: newDescribeActivityType
smart constructor.
Instances
newDescribeActivityType Source #
:: Text | |
-> ActivityType | |
-> DescribeActivityType |
Create a value of DescribeActivityType
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:domain:DescribeActivityType'
, describeActivityType_domain
- The name of the domain in which the activity type is registered.
$sel:activityType:DescribeActivityType'
, describeActivityType_activityType
- The activity type to get information about. Activity types are
identified by the name
and version
that were supplied when the
activity was registered.
data DescribeActivityTypeResponse Source #
Detailed information about an activity type.
See: newDescribeActivityTypeResponse
smart constructor.
Instances
newDescribeActivityTypeResponse Source #
Create a value of DescribeActivityTypeResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:httpStatus:DescribeActivityTypeResponse'
, describeActivityTypeResponse_httpStatus
- The response's http status code.
$sel:typeInfo:DescribeActivityTypeResponse'
, describeActivityTypeResponse_typeInfo
- General information about the activity type.
The status of activity type (returned in the ActivityTypeInfo structure) can be one of the following.
REGISTERED
– The type is registered and available. Workers supporting this type should be running.DEPRECATED
– The type was deprecated using DeprecateActivityType, but is still in use. You should keep workers supporting this type running. You cannot create new tasks of this type.
$sel:configuration:DescribeActivityTypeResponse'
, describeActivityTypeResponse_configuration
- The configuration settings registered with the activity type.
TagResource
data TagResource Source #
See: newTagResource
smart constructor.
Instances
Create a value of TagResource
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:resourceArn:TagResource'
, tagResource_resourceArn
- The Amazon Resource Name (ARN) for the Amazon SWF domain.
$sel:tags:TagResource'
, tagResource_tags
- The list of tags to add to a domain.
Tags may only contain unicode letters, digits, whitespace, or these
symbols: _ . : / = + - @
.
data TagResourceResponse Source #
See: newTagResourceResponse
smart constructor.
Instances
Eq TagResourceResponse Source # | |
Defined in Amazonka.SWF.TagResource (==) :: TagResourceResponse -> TagResourceResponse -> Bool # (/=) :: TagResourceResponse -> TagResourceResponse -> Bool # | |
Read TagResourceResponse Source # | |
Defined in Amazonka.SWF.TagResource | |
Show TagResourceResponse Source # | |
Defined in Amazonka.SWF.TagResource showsPrec :: Int -> TagResourceResponse -> ShowS # show :: TagResourceResponse -> String # showList :: [TagResourceResponse] -> ShowS # | |
Generic TagResourceResponse Source # | |
Defined in Amazonka.SWF.TagResource type Rep TagResourceResponse :: Type -> Type # from :: TagResourceResponse -> Rep TagResourceResponse x # to :: Rep TagResourceResponse x -> TagResourceResponse # | |
NFData TagResourceResponse Source # | |
Defined in Amazonka.SWF.TagResource rnf :: TagResourceResponse -> () # | |
type Rep TagResourceResponse Source # | |
newTagResourceResponse :: TagResourceResponse Source #
Create a value of TagResourceResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
DeprecateActivityType
data DeprecateActivityType Source #
See: newDeprecateActivityType
smart constructor.
Instances
newDeprecateActivityType Source #
Create a value of DeprecateActivityType
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:domain:DeprecateActivityType'
, deprecateActivityType_domain
- The name of the domain in which the activity type is registered.
$sel:activityType:DeprecateActivityType'
, deprecateActivityType_activityType
- The activity type to deprecate.
data DeprecateActivityTypeResponse Source #
See: newDeprecateActivityTypeResponse
smart constructor.
Instances
newDeprecateActivityTypeResponse :: DeprecateActivityTypeResponse Source #
Create a value of DeprecateActivityTypeResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
UndeprecateActivityType
data UndeprecateActivityType Source #
See: newUndeprecateActivityType
smart constructor.
Instances
newUndeprecateActivityType Source #
Create a value of UndeprecateActivityType
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:domain:UndeprecateActivityType'
, undeprecateActivityType_domain
- The name of the domain of the deprecated activity type.
$sel:activityType:UndeprecateActivityType'
, undeprecateActivityType_activityType
- The activity type to undeprecate.
data UndeprecateActivityTypeResponse Source #
See: newUndeprecateActivityTypeResponse
smart constructor.
Instances
newUndeprecateActivityTypeResponse :: UndeprecateActivityTypeResponse Source #
Create a value of UndeprecateActivityTypeResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
CountClosedWorkflowExecutions
data CountClosedWorkflowExecutions Source #
See: newCountClosedWorkflowExecutions
smart constructor.
CountClosedWorkflowExecutions' (Maybe WorkflowExecutionFilter) (Maybe CloseStatusFilter) (Maybe WorkflowTypeFilter) (Maybe ExecutionTimeFilter) (Maybe TagFilter) (Maybe ExecutionTimeFilter) Text |
Instances
newCountClosedWorkflowExecutions Source #
Create a value of CountClosedWorkflowExecutions
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:executionFilter:CountClosedWorkflowExecutions'
, countClosedWorkflowExecutions_executionFilter
- If specified, only workflow executions matching the WorkflowId
in the
filter are counted.
closeStatusFilter
, executionFilter
, typeFilter
and tagFilter
are
mutually exclusive. You can specify at most one of these in a request.
$sel:closeStatusFilter:CountClosedWorkflowExecutions'
, countClosedWorkflowExecutions_closeStatusFilter
- If specified, only workflow executions that match this close status are
counted. This filter has an affect only if executionStatus
is
specified as CLOSED
.
closeStatusFilter
, executionFilter
, typeFilter
and tagFilter
are
mutually exclusive. You can specify at most one of these in a request.
$sel:typeFilter:CountClosedWorkflowExecutions'
, countClosedWorkflowExecutions_typeFilter
- If specified, indicates the type of the workflow executions to be
counted.
closeStatusFilter
, executionFilter
, typeFilter
and tagFilter
are
mutually exclusive. You can specify at most one of these in a request.
$sel:closeTimeFilter:CountClosedWorkflowExecutions'
, countClosedWorkflowExecutions_closeTimeFilter
- If specified, only workflow executions that meet the close time criteria
of the filter are counted.
startTimeFilter
and closeTimeFilter
are mutually exclusive. You must
specify one of these in a request but not both.
$sel:tagFilter:CountClosedWorkflowExecutions'
, countClosedWorkflowExecutions_tagFilter
- If specified, only executions that have a tag that matches the filter
are counted.
closeStatusFilter
, executionFilter
, typeFilter
and tagFilter
are
mutually exclusive. You can specify at most one of these in a request.
$sel:startTimeFilter:CountClosedWorkflowExecutions'
, countClosedWorkflowExecutions_startTimeFilter
- If specified, only workflow executions that meet the start time criteria
of the filter are counted.
startTimeFilter
and closeTimeFilter
are mutually exclusive. You must
specify one of these in a request but not both.
$sel:domain:CountClosedWorkflowExecutions'
, countClosedWorkflowExecutions_domain
- The name of the domain containing the workflow executions to count.
data WorkflowExecutionCount Source #
Contains the count of workflow executions returned from CountOpenWorkflowExecutions or CountClosedWorkflowExecutions
See: newWorkflowExecutionCount
smart constructor.
Instances
newWorkflowExecutionCount Source #
Create a value of WorkflowExecutionCount
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:truncated:WorkflowExecutionCount'
, workflowExecutionCount_truncated
- 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.
$sel:count:WorkflowExecutionCount'
, workflowExecutionCount_count
- The number of workflow executions.
UntagResource
data UntagResource Source #
See: newUntagResource
smart constructor.
Instances
Create a value of UntagResource
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:resourceArn:UntagResource'
, untagResource_resourceArn
- The Amazon Resource Name (ARN) for the Amazon SWF domain.
$sel:tagKeys:UntagResource'
, untagResource_tagKeys
- The list of tags to remove from the Amazon SWF domain.
data UntagResourceResponse Source #
See: newUntagResourceResponse
smart constructor.
Instances
Eq UntagResourceResponse Source # | |
Defined in Amazonka.SWF.UntagResource (==) :: UntagResourceResponse -> UntagResourceResponse -> Bool # (/=) :: UntagResourceResponse -> UntagResourceResponse -> Bool # | |
Read UntagResourceResponse Source # | |
Show UntagResourceResponse Source # | |
Defined in Amazonka.SWF.UntagResource showsPrec :: Int -> UntagResourceResponse -> ShowS # show :: UntagResourceResponse -> String # showList :: [UntagResourceResponse] -> ShowS # | |
Generic UntagResourceResponse Source # | |
Defined in Amazonka.SWF.UntagResource type Rep UntagResourceResponse :: Type -> Type # | |
NFData UntagResourceResponse Source # | |
Defined in Amazonka.SWF.UntagResource rnf :: UntagResourceResponse -> () # | |
type Rep UntagResourceResponse Source # | |
newUntagResourceResponse :: UntagResourceResponse Source #
Create a value of UntagResourceResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
RespondActivityTaskCanceled
data RespondActivityTaskCanceled Source #
See: newRespondActivityTaskCanceled
smart constructor.
Instances
newRespondActivityTaskCanceled Source #
Create a value of RespondActivityTaskCanceled
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:details:RespondActivityTaskCanceled'
, respondActivityTaskCanceled_details
- Information about the cancellation.
$sel:taskToken:RespondActivityTaskCanceled'
, respondActivityTaskCanceled_taskToken
- The taskToken
of the ActivityTask.
taskToken
is generated by the service and should be treated as an
opaque value. If the task is passed to another process, its taskToken
must also be passed. This enables it to provide its progress and respond
with results.
data RespondActivityTaskCanceledResponse Source #
See: newRespondActivityTaskCanceledResponse
smart constructor.
Instances
newRespondActivityTaskCanceledResponse :: RespondActivityTaskCanceledResponse Source #
Create a value of RespondActivityTaskCanceledResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
StartWorkflowExecution
data StartWorkflowExecution Source #
See: newStartWorkflowExecution
smart constructor.
StartWorkflowExecution' (Maybe [Text]) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe TaskList) (Maybe Text) (Maybe ChildPolicy) Text Text WorkflowType |
Instances
newStartWorkflowExecution Source #
:: Text | |
-> Text | |
-> WorkflowType | |
-> StartWorkflowExecution |
Create a value of StartWorkflowExecution
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:tagList:StartWorkflowExecution'
, startWorkflowExecution_tagList
- The list of tags to associate with the workflow execution. You can
specify a maximum of 5 tags. You can list workflow executions with a
specific tag by calling ListOpenWorkflowExecutions or
ListClosedWorkflowExecutions and specifying a TagFilter.
$sel:taskStartToCloseTimeout:StartWorkflowExecution'
, startWorkflowExecution_taskStartToCloseTimeout
- 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
. You can use NONE
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 is returned.
$sel:lambdaRole:StartWorkflowExecution'
, startWorkflowExecution_lambdaRole
- The IAM role to attach to this workflow execution.
Executions of this workflow type need IAM roles to invoke Lambda
functions. If you don't attach an IAM role, any attempt to schedule a
Lambda task fails. This results in a ScheduleLambdaFunctionFailed
history event. For more information, see
https://docs.aws.amazon.com/amazonswf/latest/developerguide/lambda-task.html
in the Amazon SWF Developer Guide.
$sel:input:StartWorkflowExecution'
, startWorkflowExecution_input
- The input for the workflow execution. This is a free form string which
should be meaningful to the workflow you are starting. This input
is
made available to the new workflow execution in the
WorkflowExecutionStarted
history event.
$sel:executionStartToCloseTimeout:StartWorkflowExecution'
, startWorkflowExecution_executionStartToCloseTimeout
- 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
. Exceeding this limit causes the workflow execution to time out.
Unlike some of the other timeout parameters in Amazon SWF, you cannot
specify a value of "NONE" for this timeout; there is a one-year max
limit on the time that a workflow execution can run.
An execution start-to-close timeout must be specified either through this parameter or as a default when the workflow type is registered. If neither this parameter nor a default execution start-to-close timeout is specified, a fault is returned.
$sel:taskList:StartWorkflowExecution'
, startWorkflowExecution_taskList
- The task list to use for the decision tasks generated for this workflow
execution. This overrides the defaultTaskList
specified when
registering the workflow type.
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 is 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
be the literal string arn
.
$sel:taskPriority:StartWorkflowExecution'
, startWorkflowExecution_taskPriority
- The task priority to use for this workflow execution. This overrides any
default priority that was assigned when the workflow type was
registered. If not set, then the default task priority for the workflow
type is used. Valid values are integers that range from Java's
Integer.MIN_VALUE
(-2147483648) to Integer.MAX_VALUE
(2147483647).
Higher numbers indicate higher priority.
For more information about setting task priority, see Setting Task Priority in the Amazon SWF Developer Guide.
$sel:childPolicy:StartWorkflowExecution'
, startWorkflowExecution_childPolicy
- If set, specifies the policy to use for the child workflow executions of
this workflow 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 are terminated.REQUEST_CANCEL
– A request to cancel is attempted for each child execution by recording aWorkflowExecutionCancelRequested
event in its history. It is up to the decider to take appropriate actions when it receives an execution history with this event.ABANDON
– No action is taken. The child executions continue to run.
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 is returned.
$sel:domain:StartWorkflowExecution'
, startWorkflowExecution_domain
- The name of the domain in which the workflow execution is created.
$sel:workflowId:StartWorkflowExecution'
, startWorkflowExecution_workflowId
- The user defined identifier associated with the workflow execution. You
can use this to associate a custom identifier with the workflow
execution. You may specify the same identifier if a workflow execution
is logically a restart of a previous execution. You cannot have two
open workflow executions with the same workflowId
at the same time
within the same domain.
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
be the literal string arn
.
$sel:workflowType:StartWorkflowExecution'
, startWorkflowExecution_workflowType
- The type of the workflow to start.
data StartWorkflowExecutionResponse Source #
Specifies the runId
of a workflow execution.
See: newStartWorkflowExecutionResponse
smart constructor.
Instances
Eq StartWorkflowExecutionResponse Source # | |
Read StartWorkflowExecutionResponse Source # | |
Show StartWorkflowExecutionResponse Source # | |
Defined in Amazonka.SWF.StartWorkflowExecution | |
Generic StartWorkflowExecutionResponse Source # | |
NFData StartWorkflowExecutionResponse Source # | |
Defined in Amazonka.SWF.StartWorkflowExecution rnf :: StartWorkflowExecutionResponse -> () # | |
type Rep StartWorkflowExecutionResponse Source # | |
Defined in Amazonka.SWF.StartWorkflowExecution type Rep StartWorkflowExecutionResponse = D1 ('MetaData "StartWorkflowExecutionResponse" "Amazonka.SWF.StartWorkflowExecution" "libZSservicesZSamazonka-swfZSamazonka-swf" 'False) (C1 ('MetaCons "StartWorkflowExecutionResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "runId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newStartWorkflowExecutionResponse Source #
Create a value of StartWorkflowExecutionResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:runId:StartWorkflowExecutionResponse'
, startWorkflowExecutionResponse_runId
- The runId
of a workflow execution. This ID is generated by the service
and can be used to uniquely identify the workflow execution within a
domain.
$sel:httpStatus:StartWorkflowExecutionResponse'
, startWorkflowExecutionResponse_httpStatus
- The response's http status code.
PollForDecisionTask (Paginated)
data PollForDecisionTask Source #
See: newPollForDecisionTask
smart constructor.
Instances
newPollForDecisionTask Source #
:: Text | |
-> TaskList | |
-> PollForDecisionTask |
Create a value of PollForDecisionTask
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:nextPageToken:PollForDecisionTask'
, pollForDecisionTask_nextPageToken
- If NextPageToken
is returned there are more results available. The
value of NextPageToken
is a unique pagination token for each page.
Make the call again using the returned token to retrieve the next page.
Keep all other arguments unchanged. Each pagination token expires after
60 seconds. Using an expired pagination token will return a 400
error:
"Specified token has exceeded its maximum lifetime
".
The configured maximumPageSize
determines how many results can be
returned in a single call.
The nextPageToken
returned by this action cannot be used with
GetWorkflowExecutionHistory to get the next page. You must call
PollForDecisionTask again (with the nextPageToken
) to retrieve the
next page of history records. Calling PollForDecisionTask with a
nextPageToken
doesn't return a new decision task.
$sel:reverseOrder:PollForDecisionTask'
, pollForDecisionTask_reverseOrder
- When set to true
, returns the events in reverse order. By default the
results are returned in ascending order of the eventTimestamp
of the
events.
$sel:maximumPageSize:PollForDecisionTask'
, pollForDecisionTask_maximumPageSize
- The maximum number of results that are returned per call. Use
nextPageToken
to obtain further pages of results.
This is an upper limit only; the actual number of results returned per call may be fewer than the specified maximum.
$sel:identity:PollForDecisionTask'
, pollForDecisionTask_identity
- Identity of the decider making the request, which is recorded in the
DecisionTaskStarted event in the workflow history. This enables
diagnostic tracing when problems arise. The form of this identity is
user defined.
$sel:domain:PollForDecisionTask'
, pollForDecisionTask_domain
- The name of the domain containing the task lists to poll.
$sel:taskList:PollForDecisionTask'
, pollForDecisionTask_taskList
- Specifies the task list to poll for decision tasks.
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
be the literal string arn
.
data PollForDecisionTaskResponse Source #
A structure that represents a decision task. Decision tasks are sent to deciders in order for them to make decisions.
See: newPollForDecisionTaskResponse
smart constructor.
PollForDecisionTaskResponse' (Maybe Text) (Maybe WorkflowType) (Maybe Integer) (Maybe [HistoryEvent]) (Maybe Text) (Maybe WorkflowExecution) Int Integer |
Instances
newPollForDecisionTaskResponse Source #
Create a value of PollForDecisionTaskResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:nextPageToken:PollForDecisionTask'
, pollForDecisionTaskResponse_nextPageToken
- 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.
$sel:workflowType:PollForDecisionTaskResponse'
, pollForDecisionTaskResponse_workflowType
- The type of the workflow execution for which this decision task was
created.
$sel:previousStartedEventId:PollForDecisionTaskResponse'
, pollForDecisionTaskResponse_previousStartedEventId
- The ID of the DecisionTaskStarted event of the previous decision task of
this workflow execution that was processed by the decider. This can be
used to determine the events in the history new since the last decision
task received by the decider.
$sel:events:PollForDecisionTaskResponse'
, pollForDecisionTaskResponse_events
- A paginated list of history events of the workflow execution. The
decider uses this during the processing of the decision task.
$sel:taskToken:PollForDecisionTaskResponse'
, pollForDecisionTaskResponse_taskToken
- The opaque string used as a handle on the task. This token is used by
workers to communicate progress and response information back to the
system about the task.
$sel:workflowExecution:PollForDecisionTaskResponse'
, pollForDecisionTaskResponse_workflowExecution
- The workflow execution for which this decision task was created.
$sel:httpStatus:PollForDecisionTaskResponse'
, pollForDecisionTaskResponse_httpStatus
- The response's http status code.
$sel:startedEventId:PollForDecisionTaskResponse'
, pollForDecisionTaskResponse_startedEventId
- The ID of the DecisionTaskStarted
event recorded in the history.
ListDomains (Paginated)
data ListDomains Source #
See: newListDomains
smart constructor.
Instances
Create a value of ListDomains
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:nextPageToken:ListDomains'
, listDomains_nextPageToken
- If NextPageToken
is returned there are more results available. The
value of NextPageToken
is a unique pagination token for each page.
Make the call again using the returned token to retrieve the next page.
Keep all other arguments unchanged. Each pagination token expires after
60 seconds. Using an expired pagination token will return a 400
error:
"Specified token has exceeded its maximum lifetime
".
The configured maximumPageSize
determines how many results can be
returned in a single call.
$sel:reverseOrder:ListDomains'
, listDomains_reverseOrder
- When set to true
, returns the results in reverse order. By default,
the results are returned in ascending alphabetical order by name
of
the domains.
$sel:maximumPageSize:ListDomains'
, listDomains_maximumPageSize
- The maximum number of results that are returned per call. Use
nextPageToken
to obtain further pages of results.
$sel:registrationStatus:ListDomains'
, listDomains_registrationStatus
- Specifies the registration status of the domains to list.
data ListDomainsResponse Source #
Contains a paginated collection of DomainInfo structures.
See: newListDomainsResponse
smart constructor.
Instances
newListDomainsResponse Source #
Create a value of ListDomainsResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:nextPageToken:ListDomains'
, listDomainsResponse_nextPageToken
- 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.
$sel:httpStatus:ListDomainsResponse'
, listDomainsResponse_httpStatus
- The response's http status code.
$sel:domainInfos:ListDomainsResponse'
, listDomainsResponse_domainInfos
- A list of DomainInfo structures.
Types
ActivityTaskTimeoutType
newtype ActivityTaskTimeoutType Source #
Instances
CancelTimerFailedCause
newtype CancelTimerFailedCause Source #
pattern CancelTimerFailedCause_OPERATION_NOT_PERMITTED :: CancelTimerFailedCause | |
pattern CancelTimerFailedCause_TIMER_ID_UNKNOWN :: CancelTimerFailedCause |
Instances
CancelWorkflowExecutionFailedCause
newtype CancelWorkflowExecutionFailedCause Source #
Instances
ChildPolicy
newtype ChildPolicy Source #
pattern ChildPolicy_ABANDON :: ChildPolicy | |
pattern ChildPolicy_REQUEST_CANCEL :: ChildPolicy | |
pattern ChildPolicy_TERMINATE :: ChildPolicy |
Instances
CloseStatus
newtype CloseStatus Source #
pattern CloseStatus_CANCELED :: CloseStatus | |
pattern CloseStatus_COMPLETED :: CloseStatus | |
pattern CloseStatus_CONTINUED_AS_NEW :: CloseStatus | |
pattern CloseStatus_FAILED :: CloseStatus | |
pattern CloseStatus_TERMINATED :: CloseStatus | |
pattern CloseStatus_TIMED_OUT :: CloseStatus |
Instances
CompleteWorkflowExecutionFailedCause
newtype CompleteWorkflowExecutionFailedCause Source #
Instances
ContinueAsNewWorkflowExecutionFailedCause
newtype ContinueAsNewWorkflowExecutionFailedCause Source #
Instances
DecisionTaskTimeoutType
newtype DecisionTaskTimeoutType Source #
Instances
DecisionType
newtype DecisionType Source #
pattern DecisionType_CancelTimer :: DecisionType | |
pattern DecisionType_CancelWorkflowExecution :: DecisionType | |
pattern DecisionType_CompleteWorkflowExecution :: DecisionType | |
pattern DecisionType_ContinueAsNewWorkflowExecution :: DecisionType | |
pattern DecisionType_FailWorkflowExecution :: DecisionType | |
pattern DecisionType_RecordMarker :: DecisionType | |
pattern DecisionType_RequestCancelActivityTask :: DecisionType | |
pattern DecisionType_RequestCancelExternalWorkflowExecution :: DecisionType | |
pattern DecisionType_ScheduleActivityTask :: DecisionType | |
pattern DecisionType_ScheduleLambdaFunction :: DecisionType | |
pattern DecisionType_SignalExternalWorkflowExecution :: DecisionType | |
pattern DecisionType_StartChildWorkflowExecution :: DecisionType | |
pattern DecisionType_StartTimer :: DecisionType |
Instances
EventType
Instances
ExecutionStatus
newtype ExecutionStatus Source #
pattern ExecutionStatus_CLOSED :: ExecutionStatus | |
pattern ExecutionStatus_OPEN :: ExecutionStatus |
Instances
FailWorkflowExecutionFailedCause
newtype FailWorkflowExecutionFailedCause Source #
pattern FailWorkflowExecutionFailedCause_OPERATION_NOT_PERMITTED :: FailWorkflowExecutionFailedCause | |
pattern FailWorkflowExecutionFailedCause_UNHANDLED_DECISION :: FailWorkflowExecutionFailedCause |
Instances
LambdaFunctionTimeoutType
newtype LambdaFunctionTimeoutType Source #
Instances
RecordMarkerFailedCause
newtype RecordMarkerFailedCause Source #
Instances
RegistrationStatus
newtype RegistrationStatus Source #
pattern RegistrationStatus_DEPRECATED :: RegistrationStatus | |
pattern RegistrationStatus_REGISTERED :: RegistrationStatus |
Instances
RequestCancelActivityTaskFailedCause
newtype RequestCancelActivityTaskFailedCause Source #
Instances
RequestCancelExternalWorkflowExecutionFailedCause
newtype RequestCancelExternalWorkflowExecutionFailedCause Source #
Instances
ScheduleActivityTaskFailedCause
newtype ScheduleActivityTaskFailedCause Source #
Instances
ScheduleLambdaFunctionFailedCause
newtype ScheduleLambdaFunctionFailedCause Source #
Instances
SignalExternalWorkflowExecutionFailedCause
newtype SignalExternalWorkflowExecutionFailedCause Source #
Instances
StartChildWorkflowExecutionFailedCause
newtype StartChildWorkflowExecutionFailedCause Source #
Instances
StartLambdaFunctionFailedCause
newtype StartLambdaFunctionFailedCause Source #
Instances
StartTimerFailedCause
newtype StartTimerFailedCause Source #
Instances
WorkflowExecutionCancelRequestedCause
newtype WorkflowExecutionCancelRequestedCause Source #
pattern WorkflowExecutionCancelRequestedCause_CHILD_POLICY_APPLIED :: WorkflowExecutionCancelRequestedCause |
Instances
WorkflowExecutionTerminatedCause
newtype WorkflowExecutionTerminatedCause Source #
Instances
WorkflowExecutionTimeoutType
newtype WorkflowExecutionTimeoutType Source #
Instances
ActivityTaskCancelRequestedEventAttributes
data ActivityTaskCancelRequestedEventAttributes Source #
Provides the details of the ActivityTaskCancelRequested
event.
See: newActivityTaskCancelRequestedEventAttributes
smart constructor.
Instances
newActivityTaskCancelRequestedEventAttributes Source #
:: Integer |
|
-> Text | |
-> ActivityTaskCancelRequestedEventAttributes |
Create a value of ActivityTaskCancelRequestedEventAttributes
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:decisionTaskCompletedEventId:ActivityTaskCancelRequestedEventAttributes'
, activityTaskCancelRequestedEventAttributes_decisionTaskCompletedEventId
- 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.
$sel:activityId:ActivityTaskCancelRequestedEventAttributes'
, activityTaskCancelRequestedEventAttributes_activityId
- The unique ID of the task.
ActivityTaskCanceledEventAttributes
data ActivityTaskCanceledEventAttributes Source #
Provides the details of the ActivityTaskCanceled
event.
See: newActivityTaskCanceledEventAttributes
smart constructor.
Instances
newActivityTaskCanceledEventAttributes Source #
Create a value of ActivityTaskCanceledEventAttributes
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:latestCancelRequestedEventId:ActivityTaskCanceledEventAttributes'
, activityTaskCanceledEventAttributes_latestCancelRequestedEventId
- 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.
$sel:details:ActivityTaskCanceledEventAttributes'
, activityTaskCanceledEventAttributes_details
- Details of the cancellation.
$sel:scheduledEventId:ActivityTaskCanceledEventAttributes'
, activityTaskCanceledEventAttributes_scheduledEventId
- 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.
$sel:startedEventId:ActivityTaskCanceledEventAttributes'
, activityTaskCanceledEventAttributes_startedEventId
- 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 the details of the ActivityTaskCompleted
event.
See: newActivityTaskCompletedEventAttributes
smart constructor.
Instances
newActivityTaskCompletedEventAttributes Source #
Create a value of ActivityTaskCompletedEventAttributes
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:result:ActivityTaskCompletedEventAttributes'
, activityTaskCompletedEventAttributes_result
- The results of the activity task.
$sel:scheduledEventId:ActivityTaskCompletedEventAttributes'
, activityTaskCompletedEventAttributes_scheduledEventId
- 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.
$sel:startedEventId:ActivityTaskCompletedEventAttributes'
, activityTaskCompletedEventAttributes_startedEventId
- 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 the details of the ActivityTaskFailed
event.
See: newActivityTaskFailedEventAttributes
smart constructor.
Instances
newActivityTaskFailedEventAttributes Source #
Create a value of ActivityTaskFailedEventAttributes
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:reason:ActivityTaskFailedEventAttributes'
, activityTaskFailedEventAttributes_reason
- The reason provided for the failure.
$sel:details:ActivityTaskFailedEventAttributes'
, activityTaskFailedEventAttributes_details
- The details of the failure.
$sel:scheduledEventId:ActivityTaskFailedEventAttributes'
, activityTaskFailedEventAttributes_scheduledEventId
- 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.
$sel:startedEventId:ActivityTaskFailedEventAttributes'
, activityTaskFailedEventAttributes_startedEventId
- 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 the details of the ActivityTaskScheduled
event.
See: newActivityTaskScheduledEventAttributes
smart constructor.
ActivityTaskScheduledEventAttributes' (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) ActivityType Text TaskList Integer |
Instances
newActivityTaskScheduledEventAttributes Source #
:: ActivityType | |
-> Text | |
-> TaskList | |
-> Integer |
|
-> ActivityTaskScheduledEventAttributes |
Create a value of ActivityTaskScheduledEventAttributes
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:control:ActivityTaskScheduledEventAttributes'
, activityTaskScheduledEventAttributes_control
- Data attached to the event that can be used by the decider in subsequent
workflow tasks. This data isn't sent to the activity.
$sel:heartbeatTimeout:ActivityTaskScheduledEventAttributes'
, activityTaskScheduledEventAttributes_heartbeatTimeout
- The maximum time before which the worker processing this task must
report progress by calling RecordActivityTaskHeartbeat. If the timeout
is exceeded, the activity task is automatically timed out. If the worker
subsequently attempts to record a heartbeat or return a result, it is
ignored.
$sel:scheduleToCloseTimeout:ActivityTaskScheduledEventAttributes'
, activityTaskScheduledEventAttributes_scheduleToCloseTimeout
- The maximum amount of time for this activity task.
$sel:input:ActivityTaskScheduledEventAttributes'
, activityTaskScheduledEventAttributes_input
- The input provided to the activity task.
$sel:taskPriority:ActivityTaskScheduledEventAttributes'
, activityTaskScheduledEventAttributes_taskPriority
- The priority to assign to the scheduled activity task. If set, this
overrides any default priority value that was assigned when the activity
type was registered.
Valid values are integers that range from Java's Integer.MIN_VALUE
(-2147483648) to Integer.MAX_VALUE
(2147483647). Higher numbers
indicate higher priority.
For more information about setting task priority, see Setting Task Priority in the Amazon SWF Developer Guide.
$sel:scheduleToStartTimeout:ActivityTaskScheduledEventAttributes'
, activityTaskScheduledEventAttributes_scheduleToStartTimeout
- The maximum amount of time the activity task can wait to be assigned to
a worker.
$sel:startToCloseTimeout:ActivityTaskScheduledEventAttributes'
, activityTaskScheduledEventAttributes_startToCloseTimeout
- The maximum amount of time a worker may take to process the activity
task.
$sel:activityType:ActivityTaskScheduledEventAttributes'
, activityTaskScheduledEventAttributes_activityType
- The type of the activity task.
$sel:activityId:ActivityTaskScheduledEventAttributes'
, activityTaskScheduledEventAttributes_activityId
- The unique ID of the activity task.
$sel:taskList:ActivityTaskScheduledEventAttributes'
, activityTaskScheduledEventAttributes_taskList
- The task list in which the activity task has been scheduled.
$sel:decisionTaskCompletedEventId:ActivityTaskScheduledEventAttributes'
, activityTaskScheduledEventAttributes_decisionTaskCompletedEventId
- 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 the details of the ActivityTaskStarted
event.
See: newActivityTaskStartedEventAttributes
smart constructor.
Instances
newActivityTaskStartedEventAttributes Source #
Create a value of ActivityTaskStartedEventAttributes
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:identity:ActivityTaskStartedEventAttributes'
, activityTaskStartedEventAttributes_identity
- Identity of the worker that was assigned this task. This aids
diagnostics when problems arise. The form of this identity is user
defined.
$sel:scheduledEventId:ActivityTaskStartedEventAttributes'
, activityTaskStartedEventAttributes_scheduledEventId
- 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 the details of the ActivityTaskTimedOut
event.
See: newActivityTaskTimedOutEventAttributes
smart constructor.
Instances
newActivityTaskTimedOutEventAttributes Source #
Create a value of ActivityTaskTimedOutEventAttributes
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:details:ActivityTaskTimedOutEventAttributes'
, activityTaskTimedOutEventAttributes_details
- Contains the content of the details
parameter for the last call made
by the activity to RecordActivityTaskHeartbeat
.
$sel:timeoutType:ActivityTaskTimedOutEventAttributes'
, activityTaskTimedOutEventAttributes_timeoutType
- The type of the timeout that caused this event.
$sel:scheduledEventId:ActivityTaskTimedOutEventAttributes'
, activityTaskTimedOutEventAttributes_scheduledEventId
- 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.
$sel:startedEventId:ActivityTaskTimedOutEventAttributes'
, activityTaskTimedOutEventAttributes_startedEventId
- 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: newActivityType
smart constructor.
Instances
Create a value of ActivityType
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:name:ActivityType'
, activityType_name
- The name of this activity.
The combination of activity type name and version must be unique within a domain.
$sel:version:ActivityType'
, activityType_version
- 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: newActivityTypeConfiguration
smart constructor.
ActivityTypeConfiguration' (Maybe Text) (Maybe TaskList) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) |
Instances
newActivityTypeConfiguration :: ActivityTypeConfiguration Source #
Create a value of ActivityTypeConfiguration
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:defaultTaskScheduleToStartTimeout:ActivityTypeConfiguration'
, activityTypeConfiguration_defaultTaskScheduleToStartTimeout
- 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
. You can use NONE
to specify unlimited duration.
$sel:defaultTaskList:ActivityTypeConfiguration'
, activityTypeConfiguration_defaultTaskList
- The default task list specified for this activity type at registration.
This default is used if a task list isn't 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.
$sel:defaultTaskPriority:ActivityTypeConfiguration'
, activityTypeConfiguration_defaultTaskPriority
- The default task priority for tasks of this activity type, specified at
registration. If not set, then 0
is used as the default priority. This
default can be overridden when scheduling an activity task.
Valid values are integers that range from Java's Integer.MIN_VALUE
(-2147483648) to Integer.MAX_VALUE
(2147483647). Higher numbers
indicate higher priority.
For more information about setting task priority, see Setting Task Priority in the Amazon SWF Developer Guide.
$sel:defaultTaskHeartbeatTimeout:ActivityTypeConfiguration'
, activityTypeConfiguration_defaultTaskHeartbeatTimeout
- 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
. You can use NONE
to specify unlimited duration.
$sel:defaultTaskScheduleToCloseTimeout:ActivityTypeConfiguration'
, activityTypeConfiguration_defaultTaskScheduleToCloseTimeout
- 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
. You can use NONE
to specify unlimited duration.
$sel:defaultTaskStartToCloseTimeout:ActivityTypeConfiguration'
, activityTypeConfiguration_defaultTaskStartToCloseTimeout
- 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
. You can use NONE
to specify unlimited duration.
ActivityTypeInfo
data ActivityTypeInfo Source #
Detailed information about an activity type.
See: newActivityTypeInfo
smart constructor.
Instances
Create a value of ActivityTypeInfo
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:deprecationDate:ActivityTypeInfo'
, activityTypeInfo_deprecationDate
- If DEPRECATED, the date and time DeprecateActivityType was called.
$sel:description:ActivityTypeInfo'
, activityTypeInfo_description
- The description of the activity type provided in RegisterActivityType.
$sel:activityType:ActivityTypeInfo'
, activityTypeInfo_activityType
- The ActivityType type structure representing the activity type.
$sel:status:ActivityTypeInfo'
, activityTypeInfo_status
- The current status of the activity type.
$sel:creationDate:ActivityTypeInfo'
, activityTypeInfo_creationDate
- The date and time this activity type was created through
RegisterActivityType.
CancelTimerDecisionAttributes
data CancelTimerDecisionAttributes Source #
Provides the 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 doesn't have sufficient permissions to invoke the action,
or the parameter values fall outside the specified constraints, the
action fails. The associated event attribute's cause
parameter is set
to OPERATION_NOT_PERMITTED
. For details and example IAM policies, see
Using IAM to Manage Access to Amazon SWF Workflows
in the Amazon SWF Developer Guide.
See: newCancelTimerDecisionAttributes
smart constructor.
Instances
newCancelTimerDecisionAttributes Source #
Create a value of CancelTimerDecisionAttributes
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:timerId:CancelTimerDecisionAttributes'
, cancelTimerDecisionAttributes_timerId
- The unique ID of the timer to cancel.
CancelTimerFailedEventAttributes
data CancelTimerFailedEventAttributes Source #
Provides the details of the CancelTimerFailed
event.
See: newCancelTimerFailedEventAttributes
smart constructor.
Instances
newCancelTimerFailedEventAttributes Source #
:: Text | |
-> CancelTimerFailedCause | |
-> Integer |
|
-> CancelTimerFailedEventAttributes |
Create a value of CancelTimerFailedEventAttributes
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:timerId:CancelTimerFailedEventAttributes'
, cancelTimerFailedEventAttributes_timerId
- The timerId provided in the CancelTimer
decision that failed.
$sel:cause:CancelTimerFailedEventAttributes'
, cancelTimerFailedEventAttributes_cause
- The cause of the failure. This information is generated by the system
and can be useful for diagnostic purposes.
If cause
is set to OPERATION_NOT_PERMITTED
, the decision failed
because it lacked sufficient permissions. For details and example IAM
policies, see
Using IAM to Manage Access to Amazon SWF Workflows
in the Amazon SWF Developer Guide.
$sel:decisionTaskCompletedEventId:CancelTimerFailedEventAttributes'
, cancelTimerFailedEventAttributes_decisionTaskCompletedEventId
- 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 the 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 doesn't have sufficient permissions to invoke the action,
or the parameter values fall outside the specified constraints, the
action fails. The associated event attribute's cause
parameter is set
to OPERATION_NOT_PERMITTED
. For details and example IAM policies, see
Using IAM to Manage Access to Amazon SWF Workflows
in the Amazon SWF Developer Guide.
See: newCancelWorkflowExecutionDecisionAttributes
smart constructor.
Instances
Eq CancelWorkflowExecutionDecisionAttributes Source # | |
Read CancelWorkflowExecutionDecisionAttributes Source # | |
Show CancelWorkflowExecutionDecisionAttributes Source # | |
Generic CancelWorkflowExecutionDecisionAttributes Source # | |
NFData CancelWorkflowExecutionDecisionAttributes Source # | |
Hashable CancelWorkflowExecutionDecisionAttributes Source # | |
ToJSON CancelWorkflowExecutionDecisionAttributes Source # | |
type Rep CancelWorkflowExecutionDecisionAttributes Source # | |
Defined in Amazonka.SWF.Types.CancelWorkflowExecutionDecisionAttributes type Rep CancelWorkflowExecutionDecisionAttributes = D1 ('MetaData "CancelWorkflowExecutionDecisionAttributes" "Amazonka.SWF.Types.CancelWorkflowExecutionDecisionAttributes" "libZSservicesZSamazonka-swfZSamazonka-swf" 'False) (C1 ('MetaCons "CancelWorkflowExecutionDecisionAttributes'" 'PrefixI 'True) (S1 ('MetaSel ('Just "details") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) |
newCancelWorkflowExecutionDecisionAttributes :: CancelWorkflowExecutionDecisionAttributes Source #
Create a value of CancelWorkflowExecutionDecisionAttributes
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:details:CancelWorkflowExecutionDecisionAttributes'
, cancelWorkflowExecutionDecisionAttributes_details
- Details of the cancellation.
CancelWorkflowExecutionFailedEventAttributes
data CancelWorkflowExecutionFailedEventAttributes Source #
Provides the details of the CancelWorkflowExecutionFailed
event.
See: newCancelWorkflowExecutionFailedEventAttributes
smart constructor.
Instances
newCancelWorkflowExecutionFailedEventAttributes Source #
:: CancelWorkflowExecutionFailedCause | |
-> Integer |
|
-> CancelWorkflowExecutionFailedEventAttributes |
Create a value of CancelWorkflowExecutionFailedEventAttributes
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:cause:CancelWorkflowExecutionFailedEventAttributes'
, cancelWorkflowExecutionFailedEventAttributes_cause
- The cause of the failure. This information is generated by the system
and can be useful for diagnostic purposes.
If cause
is set to OPERATION_NOT_PERMITTED
, the decision failed
because it lacked sufficient permissions. For details and example IAM
policies, see
Using IAM to Manage Access to Amazon SWF Workflows
in the Amazon SWF Developer Guide.
$sel:decisionTaskCompletedEventId:CancelWorkflowExecutionFailedEventAttributes'
, cancelWorkflowExecutionFailedEventAttributes_decisionTaskCompletedEventId
- 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: newChildWorkflowExecutionCanceledEventAttributes
smart constructor.
ChildWorkflowExecutionCanceledEventAttributes' (Maybe Text) WorkflowExecution WorkflowType Integer Integer |
Instances
newChildWorkflowExecutionCanceledEventAttributes Source #
Create a value of ChildWorkflowExecutionCanceledEventAttributes
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:details:ChildWorkflowExecutionCanceledEventAttributes'
, childWorkflowExecutionCanceledEventAttributes_details
- Details of the cancellation (if provided).
$sel:workflowExecution:ChildWorkflowExecutionCanceledEventAttributes'
, childWorkflowExecutionCanceledEventAttributes_workflowExecution
- The child workflow execution that was canceled.
$sel:workflowType:ChildWorkflowExecutionCanceledEventAttributes'
, childWorkflowExecutionCanceledEventAttributes_workflowType
- The type of the child workflow execution.
$sel:initiatedEventId:ChildWorkflowExecutionCanceledEventAttributes'
, childWorkflowExecutionCanceledEventAttributes_initiatedEventId
- 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.
$sel:startedEventId:ChildWorkflowExecutionCanceledEventAttributes'
, childWorkflowExecutionCanceledEventAttributes_startedEventId
- 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 the details of the ChildWorkflowExecutionCompleted
event.
See: newChildWorkflowExecutionCompletedEventAttributes
smart constructor.
ChildWorkflowExecutionCompletedEventAttributes' (Maybe Text) WorkflowExecution WorkflowType Integer Integer |
Instances
newChildWorkflowExecutionCompletedEventAttributes Source #
Create a value of ChildWorkflowExecutionCompletedEventAttributes
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:result:ChildWorkflowExecutionCompletedEventAttributes'
, childWorkflowExecutionCompletedEventAttributes_result
- The result of the child workflow execution.
$sel:workflowExecution:ChildWorkflowExecutionCompletedEventAttributes'
, childWorkflowExecutionCompletedEventAttributes_workflowExecution
- The child workflow execution that was completed.
$sel:workflowType:ChildWorkflowExecutionCompletedEventAttributes'
, childWorkflowExecutionCompletedEventAttributes_workflowType
- The type of the child workflow execution.
$sel:initiatedEventId:ChildWorkflowExecutionCompletedEventAttributes'
, childWorkflowExecutionCompletedEventAttributes_initiatedEventId
- 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.
$sel:startedEventId:ChildWorkflowExecutionCompletedEventAttributes'
, childWorkflowExecutionCompletedEventAttributes_startedEventId
- 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 the details of the ChildWorkflowExecutionFailed
event.
See: newChildWorkflowExecutionFailedEventAttributes
smart constructor.
ChildWorkflowExecutionFailedEventAttributes' (Maybe Text) (Maybe Text) WorkflowExecution WorkflowType Integer Integer |
Instances
newChildWorkflowExecutionFailedEventAttributes Source #
Create a value of ChildWorkflowExecutionFailedEventAttributes
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:reason:ChildWorkflowExecutionFailedEventAttributes'
, childWorkflowExecutionFailedEventAttributes_reason
- The reason for the failure (if provided).
$sel:details:ChildWorkflowExecutionFailedEventAttributes'
, childWorkflowExecutionFailedEventAttributes_details
- The details of the failure (if provided).
$sel:workflowExecution:ChildWorkflowExecutionFailedEventAttributes'
, childWorkflowExecutionFailedEventAttributes_workflowExecution
- The child workflow execution that failed.
$sel:workflowType:ChildWorkflowExecutionFailedEventAttributes'
, childWorkflowExecutionFailedEventAttributes_workflowType
- The type of the child workflow execution.
$sel:initiatedEventId:ChildWorkflowExecutionFailedEventAttributes'
, childWorkflowExecutionFailedEventAttributes_initiatedEventId
- 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.
$sel:startedEventId:ChildWorkflowExecutionFailedEventAttributes'
, childWorkflowExecutionFailedEventAttributes_startedEventId
- 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 the details of the ChildWorkflowExecutionStarted
event.
See: newChildWorkflowExecutionStartedEventAttributes
smart constructor.
Instances
newChildWorkflowExecutionStartedEventAttributes Source #
Create a value of ChildWorkflowExecutionStartedEventAttributes
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:workflowExecution:ChildWorkflowExecutionStartedEventAttributes'
, childWorkflowExecutionStartedEventAttributes_workflowExecution
- The child workflow execution that was started.
$sel:workflowType:ChildWorkflowExecutionStartedEventAttributes'
, childWorkflowExecutionStartedEventAttributes_workflowType
- The type of the child workflow execution.
$sel:initiatedEventId:ChildWorkflowExecutionStartedEventAttributes'
, childWorkflowExecutionStartedEventAttributes_initiatedEventId
- 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 the details of the ChildWorkflowExecutionTerminated
event.
See: newChildWorkflowExecutionTerminatedEventAttributes
smart constructor.
Instances
newChildWorkflowExecutionTerminatedEventAttributes Source #
Create a value of ChildWorkflowExecutionTerminatedEventAttributes
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:workflowExecution:ChildWorkflowExecutionTerminatedEventAttributes'
, childWorkflowExecutionTerminatedEventAttributes_workflowExecution
- The child workflow execution that was terminated.
$sel:workflowType:ChildWorkflowExecutionTerminatedEventAttributes'
, childWorkflowExecutionTerminatedEventAttributes_workflowType
- The type of the child workflow execution.
$sel:initiatedEventId:ChildWorkflowExecutionTerminatedEventAttributes'
, childWorkflowExecutionTerminatedEventAttributes_initiatedEventId
- 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.
$sel:startedEventId:ChildWorkflowExecutionTerminatedEventAttributes'
, childWorkflowExecutionTerminatedEventAttributes_startedEventId
- 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 the details of the ChildWorkflowExecutionTimedOut
event.
See: newChildWorkflowExecutionTimedOutEventAttributes
smart constructor.
ChildWorkflowExecutionTimedOutEventAttributes' WorkflowExecution WorkflowType WorkflowExecutionTimeoutType Integer Integer |
Instances
newChildWorkflowExecutionTimedOutEventAttributes Source #
Create a value of ChildWorkflowExecutionTimedOutEventAttributes
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:workflowExecution:ChildWorkflowExecutionTimedOutEventAttributes'
, childWorkflowExecutionTimedOutEventAttributes_workflowExecution
- The child workflow execution that timed out.
$sel:workflowType:ChildWorkflowExecutionTimedOutEventAttributes'
, childWorkflowExecutionTimedOutEventAttributes_workflowType
- The type of the child workflow execution.
$sel:timeoutType:ChildWorkflowExecutionTimedOutEventAttributes'
, childWorkflowExecutionTimedOutEventAttributes_timeoutType
- The type of the timeout that caused the child workflow execution to time
out.
$sel:initiatedEventId:ChildWorkflowExecutionTimedOutEventAttributes'
, childWorkflowExecutionTimedOutEventAttributes_initiatedEventId
- 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.
$sel:startedEventId:ChildWorkflowExecutionTimedOutEventAttributes'
, childWorkflowExecutionTimedOutEventAttributes_startedEventId
- 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: newCloseStatusFilter
smart constructor.
Instances
Create a value of CloseStatusFilter
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:status:CloseStatusFilter'
, closeStatusFilter_status
- 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 the 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 doesn't have sufficient permissions to invoke the action,
or the parameter values fall outside the specified constraints, the
action fails. The associated event attribute's cause
parameter is set
to OPERATION_NOT_PERMITTED
. For details and example IAM policies, see
Using IAM to Manage Access to Amazon SWF Workflows
in the Amazon SWF Developer Guide.
See: newCompleteWorkflowExecutionDecisionAttributes
smart constructor.
Instances
Eq CompleteWorkflowExecutionDecisionAttributes Source # | |
Read CompleteWorkflowExecutionDecisionAttributes Source # | |
Show CompleteWorkflowExecutionDecisionAttributes Source # | |
Generic CompleteWorkflowExecutionDecisionAttributes Source # | |
NFData CompleteWorkflowExecutionDecisionAttributes Source # | |
Hashable CompleteWorkflowExecutionDecisionAttributes Source # | |
ToJSON CompleteWorkflowExecutionDecisionAttributes Source # | |
type Rep CompleteWorkflowExecutionDecisionAttributes Source # | |
Defined in Amazonka.SWF.Types.CompleteWorkflowExecutionDecisionAttributes type Rep CompleteWorkflowExecutionDecisionAttributes = D1 ('MetaData "CompleteWorkflowExecutionDecisionAttributes" "Amazonka.SWF.Types.CompleteWorkflowExecutionDecisionAttributes" "libZSservicesZSamazonka-swfZSamazonka-swf" 'False) (C1 ('MetaCons "CompleteWorkflowExecutionDecisionAttributes'" 'PrefixI 'True) (S1 ('MetaSel ('Just "result") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) |
newCompleteWorkflowExecutionDecisionAttributes :: CompleteWorkflowExecutionDecisionAttributes Source #
Create a value of CompleteWorkflowExecutionDecisionAttributes
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:result:CompleteWorkflowExecutionDecisionAttributes'
, completeWorkflowExecutionDecisionAttributes_result
- The result of the workflow execution. The form of the result is
implementation defined.
CompleteWorkflowExecutionFailedEventAttributes
data CompleteWorkflowExecutionFailedEventAttributes Source #
Provides the details of the CompleteWorkflowExecutionFailed
event.
See: newCompleteWorkflowExecutionFailedEventAttributes
smart constructor.
Instances
newCompleteWorkflowExecutionFailedEventAttributes Source #
:: CompleteWorkflowExecutionFailedCause | |
-> Integer |
|
-> CompleteWorkflowExecutionFailedEventAttributes |
Create a value of CompleteWorkflowExecutionFailedEventAttributes
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:cause:CompleteWorkflowExecutionFailedEventAttributes'
, completeWorkflowExecutionFailedEventAttributes_cause
- The cause of the failure. This information is generated by the system
and can be useful for diagnostic purposes.
If cause
is set to OPERATION_NOT_PERMITTED
, the decision failed
because it lacked sufficient permissions. For details and example IAM
policies, see
Using IAM to Manage Access to Amazon SWF Workflows
in the Amazon SWF Developer Guide.
$sel:decisionTaskCompletedEventId:CompleteWorkflowExecutionFailedEventAttributes'
, completeWorkflowExecutionFailedEventAttributes_decisionTaskCompletedEventId
- 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 the 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
– A tag used to identify the workflow executiontaskList
– String constraint. The key isswf:taskList.name
.workflowType.version
– String constraint. The key isswf:workflowType.version
.
If the caller doesn't have sufficient permissions to invoke the action,
or the parameter values fall outside the specified constraints, the
action fails. The associated event attribute's cause
parameter is set
to OPERATION_NOT_PERMITTED
. For details and example IAM policies, see
Using IAM to Manage Access to Amazon SWF Workflows
in the Amazon SWF Developer Guide.
See: newContinueAsNewWorkflowExecutionDecisionAttributes
smart constructor.
ContinueAsNewWorkflowExecutionDecisionAttributes' (Maybe [Text]) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe TaskList) (Maybe Text) (Maybe ChildPolicy) |
Instances
newContinueAsNewWorkflowExecutionDecisionAttributes :: ContinueAsNewWorkflowExecutionDecisionAttributes Source #
Create a value of ContinueAsNewWorkflowExecutionDecisionAttributes
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:tagList:ContinueAsNewWorkflowExecutionDecisionAttributes'
, continueAsNewWorkflowExecutionDecisionAttributes_tagList
- 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.
$sel:taskStartToCloseTimeout:ContinueAsNewWorkflowExecutionDecisionAttributes'
, continueAsNewWorkflowExecutionDecisionAttributes_taskStartToCloseTimeout
- 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
. You can use NONE
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 is returned.
$sel:lambdaRole:ContinueAsNewWorkflowExecutionDecisionAttributes'
, continueAsNewWorkflowExecutionDecisionAttributes_lambdaRole
- The IAM role to attach to the new (continued) execution.
$sel:input:ContinueAsNewWorkflowExecutionDecisionAttributes'
, continueAsNewWorkflowExecutionDecisionAttributes_input
- The input provided to the new workflow execution.
$sel:workflowTypeVersion:ContinueAsNewWorkflowExecutionDecisionAttributes'
, continueAsNewWorkflowExecutionDecisionAttributes_workflowTypeVersion
- The version of the workflow to start.
$sel:executionStartToCloseTimeout:ContinueAsNewWorkflowExecutionDecisionAttributes'
, continueAsNewWorkflowExecutionDecisionAttributes_executionStartToCloseTimeout
- 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
. You can use NONE
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 is returned.
$sel:taskList:ContinueAsNewWorkflowExecutionDecisionAttributes'
, continueAsNewWorkflowExecutionDecisionAttributes_taskList
- The task list to use for the decisions of the new (continued) workflow
execution.
$sel:taskPriority:ContinueAsNewWorkflowExecutionDecisionAttributes'
, continueAsNewWorkflowExecutionDecisionAttributes_taskPriority
- 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 Integer.MIN_VALUE
(-2147483648) to Integer.MAX_VALUE
(2147483647). Higher numbers
indicate higher priority.
For more information about setting task priority, see Setting Task Priority in the Amazon SWF Developer Guide.
$sel:childPolicy:ContinueAsNewWorkflowExecutionDecisionAttributes'
, continueAsNewWorkflowExecutionDecisionAttributes_childPolicy
- 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 are terminated.REQUEST_CANCEL
– A request to cancel is attempted for each child execution by recording aWorkflowExecutionCancelRequested
event in its history. It is up to the decider to take appropriate actions when it receives an execution history with this event.ABANDON
– No action is taken. The child executions continue to run.
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 is returned.
ContinueAsNewWorkflowExecutionFailedEventAttributes
data ContinueAsNewWorkflowExecutionFailedEventAttributes Source #
Provides the details of the ContinueAsNewWorkflowExecutionFailed
event.
See: newContinueAsNewWorkflowExecutionFailedEventAttributes
smart constructor.
ContinueAsNewWorkflowExecutionFailedEventAttributes' ContinueAsNewWorkflowExecutionFailedCause Integer |
Instances
newContinueAsNewWorkflowExecutionFailedEventAttributes Source #
Create a value of ContinueAsNewWorkflowExecutionFailedEventAttributes
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:cause:ContinueAsNewWorkflowExecutionFailedEventAttributes'
, continueAsNewWorkflowExecutionFailedEventAttributes_cause
- The cause of the failure. This information is generated by the system
and can be useful for diagnostic purposes.
If cause
is set to OPERATION_NOT_PERMITTED
, the decision failed
because it lacked sufficient permissions. For details and example IAM
policies, see
Using IAM to Manage Access to Amazon SWF Workflows
in the Amazon SWF Developer Guide.
$sel:decisionTaskCompletedEventId:ContinueAsNewWorkflowExecutionFailedEventAttributes'
, continueAsNewWorkflowExecutionFailedEventAttributes_decisionTaskCompletedEventId
- 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 aTimerCanceled
event in the history.CancelWorkflowExecution
– Closes the workflow execution and records aWorkflowExecutionCanceled
event in the history.CompleteWorkflowExecution
– Closes the workflow execution and records aWorkflowExecutionCompleted
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. AWorkflowExecutionContinuedAsNew
event is recorded in the history.FailWorkflowExecution
– Closes the workflow execution and records aWorkflowExecutionFailed
event in the history.RecordMarker
– Records aMarkerRecorded
event in the history. Markers can be used for adding custom information in the history for instance to let deciders know that they don't 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 is canceled. If the activity task was already assigned to a worker, then the worker is 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 aRequestCancelExternalWorkflowExecutionInitiated
event in the history.ScheduleActivityTask
– Schedules an activity task.SignalExternalWorkflowExecution
– Requests a signal to be delivered to the specified external workflow execution and records aSignalExternalWorkflowExecutionInitiated
event in the history.StartChildWorkflowExecution
– Requests that a child workflow execution be started and records aStartChildWorkflowExecutionInitiated
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 aTimerStarted
event in the history. This timer fires 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
in the Amazon SWF Developer Guide.
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 therefore fails.
- 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
in the Amazon SWF Developer Guide.
ScheduleActivityTaskFailed
– AScheduleActivityTask
decision failed. This could happen if the activity type specified in the decision isn't registered, is in a deprecated state, or the decision isn't properly configured.RequestCancelActivityTaskFailed
– ARequestCancelActivityTask
decision failed. This could happen if there is no open activity task with the specified activityId.StartTimerFailed
– AStartTimer
decision failed. This could happen if there is another open timer with the same timerId.CancelTimerFailed
– ACancelTimer
decision failed. This could happen if there is no open timer with the specified timerId.StartChildWorkflowExecutionFailed
– AStartChildWorkflowExecution
decision failed. This could happen if the workflow type specified isn't registered, is deprecated, or the decision isn't properly configured.SignalExternalWorkflowExecutionFailed
– ASignalExternalWorkflowExecution
decision failed. This could happen if theworkflowID
specified in the decision was incorrect.RequestCancelExternalWorkflowExecutionFailed
– ARequestCancelExternalWorkflowExecution
decision failed. This could happen if theworkflowID
specified in the decision was incorrect.CancelWorkflowExecutionFailed
– ACancelWorkflowExecution
decision failed. This could happen if there is an unhandled decision task pending in the workflow execution.CompleteWorkflowExecutionFailed
– ACompleteWorkflowExecution
decision failed. This could happen if there is an unhandled decision task pending in the workflow execution.ContinueAsNewWorkflowExecutionFailed
– AContinueAsNewWorkflowExecution
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
– AFailWorkflowExecution
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 is 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
RequestCancelActivityTaskDecisionAttributes
CompleteWorkflowExecutionDecisionAttributes
FailWorkflowExecutionDecisionAttributes
CancelWorkflowExecutionDecisionAttributes
ContinueAsNewWorkflowExecutionDecisionAttributes
RecordMarkerDecisionAttributes
StartTimerDecisionAttributes
CancelTimerDecisionAttributes
SignalExternalWorkflowExecutionDecisionAttributes
RequestCancelExternalWorkflowExecutionDecisionAttributes
StartChildWorkflowExecutionDecisionAttributes
See: newDecision
smart constructor.
Instances
Create a value of Decision
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:requestCancelExternalWorkflowExecutionDecisionAttributes:Decision'
, decision_requestCancelExternalWorkflowExecutionDecisionAttributes
- Provides the details of the RequestCancelExternalWorkflowExecution
decision. It isn't set for other decision types.
$sel:scheduleActivityTaskDecisionAttributes:Decision'
, decision_scheduleActivityTaskDecisionAttributes
- Provides the details of the ScheduleActivityTask
decision. It isn't
set for other decision types.
$sel:signalExternalWorkflowExecutionDecisionAttributes:Decision'
, decision_signalExternalWorkflowExecutionDecisionAttributes
- Provides the details of the SignalExternalWorkflowExecution
decision.
It isn't set for other decision types.
$sel:startTimerDecisionAttributes:Decision'
, decision_startTimerDecisionAttributes
- Provides the details of the StartTimer
decision. It isn't set for
other decision types.
$sel:recordMarkerDecisionAttributes:Decision'
, decision_recordMarkerDecisionAttributes
- Provides the details of the RecordMarker
decision. It isn't set for
other decision types.
$sel:failWorkflowExecutionDecisionAttributes:Decision'
, decision_failWorkflowExecutionDecisionAttributes
- Provides the details of the FailWorkflowExecution
decision. It isn't
set for other decision types.
$sel:startChildWorkflowExecutionDecisionAttributes:Decision'
, decision_startChildWorkflowExecutionDecisionAttributes
- Provides the details of the StartChildWorkflowExecution
decision. It
isn't set for other decision types.
$sel:completeWorkflowExecutionDecisionAttributes:Decision'
, decision_completeWorkflowExecutionDecisionAttributes
- Provides the details of the CompleteWorkflowExecution
decision. It
isn't set for other decision types.
$sel:scheduleLambdaFunctionDecisionAttributes:Decision'
, decision_scheduleLambdaFunctionDecisionAttributes
- Provides the details of the ScheduleLambdaFunction
decision. It isn't
set for other decision types.
$sel:requestCancelActivityTaskDecisionAttributes:Decision'
, decision_requestCancelActivityTaskDecisionAttributes
- Provides the details of the RequestCancelActivityTask
decision. It
isn't set for other decision types.
$sel:cancelWorkflowExecutionDecisionAttributes:Decision'
, decision_cancelWorkflowExecutionDecisionAttributes
- Provides the details of the CancelWorkflowExecution
decision. It
isn't set for other decision types.
$sel:cancelTimerDecisionAttributes:Decision'
, decision_cancelTimerDecisionAttributes
- Provides the details of the CancelTimer
decision. It isn't set for
other decision types.
$sel:continueAsNewWorkflowExecutionDecisionAttributes:Decision'
, decision_continueAsNewWorkflowExecutionDecisionAttributes
- Provides the details of the ContinueAsNewWorkflowExecution
decision.
It isn't set for other decision types.
$sel:decisionType:Decision'
, decision_decisionType
- Specifies the type of the decision.
DecisionTaskCompletedEventAttributes
data DecisionTaskCompletedEventAttributes Source #
Provides the details of the DecisionTaskCompleted
event.
See: newDecisionTaskCompletedEventAttributes
smart constructor.
Instances
newDecisionTaskCompletedEventAttributes Source #
Create a value of DecisionTaskCompletedEventAttributes
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:executionContext:DecisionTaskCompletedEventAttributes'
, decisionTaskCompletedEventAttributes_executionContext
- User defined context for the workflow execution.
$sel:scheduledEventId:DecisionTaskCompletedEventAttributes'
, decisionTaskCompletedEventAttributes_scheduledEventId
- 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.
$sel:startedEventId:DecisionTaskCompletedEventAttributes'
, decisionTaskCompletedEventAttributes_startedEventId
- 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: newDecisionTaskScheduledEventAttributes
smart constructor.
Instances
newDecisionTaskScheduledEventAttributes Source #
Create a value of DecisionTaskScheduledEventAttributes
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:taskPriority:DecisionTaskScheduledEventAttributes'
, decisionTaskScheduledEventAttributes_taskPriority
- A task priority that, if set, specifies the priority for this decision
task. Valid values are integers that range from Java's
Integer.MIN_VALUE
(-2147483648) to Integer.MAX_VALUE
(2147483647).
Higher numbers indicate higher priority.
For more information about setting task priority, see Setting Task Priority in the Amazon SWF Developer Guide.
$sel:startToCloseTimeout:DecisionTaskScheduledEventAttributes'
, decisionTaskScheduledEventAttributes_startToCloseTimeout
- The maximum duration for this decision task. The task is considered
timed out if it doesn't completed within this duration.
The duration is specified in seconds, an integer greater than or equal
to 0
. You can use NONE
to specify unlimited duration.
$sel:taskList:DecisionTaskScheduledEventAttributes'
, decisionTaskScheduledEventAttributes_taskList
- The name of the task list in which the decision task was scheduled.
DecisionTaskStartedEventAttributes
data DecisionTaskStartedEventAttributes Source #
Provides the details of the DecisionTaskStarted
event.
See: newDecisionTaskStartedEventAttributes
smart constructor.
Instances
newDecisionTaskStartedEventAttributes Source #
Create a value of DecisionTaskStartedEventAttributes
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:identity:DecisionTaskStartedEventAttributes'
, decisionTaskStartedEventAttributes_identity
- Identity of the decider making the request. This enables diagnostic
tracing when problems arise. The form of this identity is user defined.
$sel:scheduledEventId:DecisionTaskStartedEventAttributes'
, decisionTaskStartedEventAttributes_scheduledEventId
- 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 the details of the DecisionTaskTimedOut
event.
See: newDecisionTaskTimedOutEventAttributes
smart constructor.
Instances
newDecisionTaskTimedOutEventAttributes Source #
Create a value of DecisionTaskTimedOutEventAttributes
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:timeoutType:DecisionTaskTimedOutEventAttributes'
, decisionTaskTimedOutEventAttributes_timeoutType
- The type of timeout that expired before the decision task could be
completed.
$sel:scheduledEventId:DecisionTaskTimedOutEventAttributes'
, decisionTaskTimedOutEventAttributes_scheduledEventId
- 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.
$sel:startedEventId:DecisionTaskTimedOutEventAttributes'
, decisionTaskTimedOutEventAttributes_startedEventId
- 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: newDomainConfiguration
smart constructor.
Instances
newDomainConfiguration Source #
Create a value of DomainConfiguration
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:workflowExecutionRetentionPeriodInDays:DomainConfiguration'
, domainConfiguration_workflowExecutionRetentionPeriodInDays
- The retention period for workflow executions in this domain.
DomainInfo
data DomainInfo Source #
Contains general information about a domain.
See: newDomainInfo
smart constructor.
Instances
Create a value of DomainInfo
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:arn:DomainInfo'
, domainInfo_arn
- The ARN of the domain.
$sel:description:DomainInfo'
, domainInfo_description
- The description of the domain provided through RegisterDomain.
$sel:name:DomainInfo'
, domainInfo_name
- The name of the domain. This name is unique within the account.
$sel:status:DomainInfo'
, domainInfo_status
- 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: newExecutionTimeFilter
smart constructor.
Instances
newExecutionTimeFilter Source #
Create a value of ExecutionTimeFilter
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:latestDate:ExecutionTimeFilter'
, executionTimeFilter_latestDate
- Specifies the latest start or close date and time to return.
$sel:oldestDate:ExecutionTimeFilter'
, executionTimeFilter_oldestDate
- Specifies the oldest start or close date and time to return.
ExternalWorkflowExecutionCancelRequestedEventAttributes
data ExternalWorkflowExecutionCancelRequestedEventAttributes Source #
Provides the details of the ExternalWorkflowExecutionCancelRequested
event.
See: newExternalWorkflowExecutionCancelRequestedEventAttributes
smart constructor.
Instances
newExternalWorkflowExecutionCancelRequestedEventAttributes Source #
Create a value of ExternalWorkflowExecutionCancelRequestedEventAttributes
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:workflowExecution:ExternalWorkflowExecutionCancelRequestedEventAttributes'
, externalWorkflowExecutionCancelRequestedEventAttributes_workflowExecution
- The external workflow execution to which the cancellation request was
delivered.
$sel:initiatedEventId:ExternalWorkflowExecutionCancelRequestedEventAttributes'
, externalWorkflowExecutionCancelRequestedEventAttributes_initiatedEventId
- 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 the details of the ExternalWorkflowExecutionSignaled
event.
See: newExternalWorkflowExecutionSignaledEventAttributes
smart constructor.
Instances
newExternalWorkflowExecutionSignaledEventAttributes Source #
Create a value of ExternalWorkflowExecutionSignaledEventAttributes
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:workflowExecution:ExternalWorkflowExecutionSignaledEventAttributes'
, externalWorkflowExecutionSignaledEventAttributes_workflowExecution
- The external workflow execution that the signal was delivered to.
$sel:initiatedEventId:ExternalWorkflowExecutionSignaledEventAttributes'
, externalWorkflowExecutionSignaledEventAttributes_initiatedEventId
- 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 the 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 doesn't have sufficient permissions to invoke the action,
or the parameter values fall outside the specified constraints, the
action fails. The associated event attribute's cause
parameter is set
to OPERATION_NOT_PERMITTED
. For details and example IAM policies, see
Using IAM to Manage Access to Amazon SWF Workflows
in the Amazon SWF Developer Guide.
See: newFailWorkflowExecutionDecisionAttributes
smart constructor.
Instances
newFailWorkflowExecutionDecisionAttributes :: FailWorkflowExecutionDecisionAttributes Source #
Create a value of FailWorkflowExecutionDecisionAttributes
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:reason:FailWorkflowExecutionDecisionAttributes'
, failWorkflowExecutionDecisionAttributes_reason
- A descriptive reason for the failure that may help in diagnostics.
$sel:details:FailWorkflowExecutionDecisionAttributes'
, failWorkflowExecutionDecisionAttributes_details
- Details of the failure.
FailWorkflowExecutionFailedEventAttributes
data FailWorkflowExecutionFailedEventAttributes Source #
Provides the details of the FailWorkflowExecutionFailed
event.
See: newFailWorkflowExecutionFailedEventAttributes
smart constructor.
Instances
newFailWorkflowExecutionFailedEventAttributes Source #
:: FailWorkflowExecutionFailedCause | |
-> Integer |
|
-> FailWorkflowExecutionFailedEventAttributes |
Create a value of FailWorkflowExecutionFailedEventAttributes
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:cause:FailWorkflowExecutionFailedEventAttributes'
, failWorkflowExecutionFailedEventAttributes_cause
- The cause of the failure. This information is generated by the system
and can be useful for diagnostic purposes.
If cause
is set to OPERATION_NOT_PERMITTED
, the decision failed
because it lacked sufficient permissions. For details and example IAM
policies, see
Using IAM to Manage Access to Amazon SWF Workflows
in the Amazon SWF Developer Guide.
$sel:decisionTaskCompletedEventId:FailWorkflowExecutionFailedEventAttributes'
, failWorkflowExecutionFailedEventAttributes_decisionTaskCompletedEventId
- 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:
ActivityTaskCancelRequested
– ARequestCancelActivityTask
decision was received by the system.ActivityTaskCanceled
– The activity task was successfully canceled.ActivityTaskCompleted
– An activity worker successfully completed an activity task by calling RespondActivityTaskCompleted.ActivityTaskFailed
– An activity worker failed an activity task by calling RespondActivityTaskFailed.ActivityTaskScheduled
– An activity task was scheduled for execution.ActivityTaskStarted
– The scheduled activity task was dispatched to a worker.ActivityTaskTimedOut
– The activity task timed out.CancelTimerFailed
– Failed to process CancelTimer decision. This happens when the decision isn't configured properly, for example no timer exists with the specified timer Id.CancelWorkflowExecutionFailed
– A request to cancel a workflow execution failed.ChildWorkflowExecutionCanceled
– A child workflow execution, started by this workflow execution, was canceled and closed.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.ChildWorkflowExecutionStarted
– A child workflow execution was successfully started.ChildWorkflowExecutionTerminated
– A child workflow execution, started by this workflow execution, was terminated.ChildWorkflowExecutionTimedOut
– A child workflow execution, started by this workflow execution, timed out and was closed.CompleteWorkflowExecutionFailed
– The workflow execution failed to complete.ContinueAsNewWorkflowExecutionFailed
– The workflow execution failed to complete after being continued as a new workflow execution.DecisionTaskCompleted
– The decider successfully completed a decision task by calling RespondDecisionTaskCompleted.DecisionTaskScheduled
– A decision task was scheduled for the workflow execution.DecisionTaskStarted
– The decision task was dispatched to a decider.DecisionTaskTimedOut
– The decision task timed out.ExternalWorkflowExecutionCancelRequested
– Request to cancel an external workflow execution was successfully delivered to the target execution.ExternalWorkflowExecutionSignaled
– A signal, requested by this workflow execution, was successfully delivered to the target external workflow execution.FailWorkflowExecutionFailed
– A request to mark a workflow execution as failed, itself failed.MarkerRecorded
– A marker was recorded in the workflow history as the result of aRecordMarker
decision.RecordMarkerFailed
– ARecordMarker
decision was returned as failed.RequestCancelActivityTaskFailed
– Failed to process RequestCancelActivityTask decision. This happens when the decision isn't configured properly.RequestCancelExternalWorkflowExecutionFailed
– Request to cancel an external workflow execution failed.RequestCancelExternalWorkflowExecutionInitiated
– A request was made to request the cancellation of an external workflow execution.ScheduleActivityTaskFailed
– Failed to process ScheduleActivityTask decision. This happens when the decision isn't configured properly, for example the activity type specified isn't registered.SignalExternalWorkflowExecutionFailed
– The request to signal an external workflow execution failed.SignalExternalWorkflowExecutionInitiated
– A request to signal an external workflow was made.StartActivityTaskFailed
– A scheduled activity task failed to start.StartChildWorkflowExecutionFailed
– Failed to process StartChildWorkflowExecution decision. This happens when the decision isn't configured properly, for example the workflow type specified isn't registered.StartChildWorkflowExecutionInitiated
– A request was made to start a child workflow execution.StartTimerFailed
– Failed to process StartTimer decision. This happens when the decision isn't configured properly, for example a timer already exists with the specified timer Id.TimerCanceled
– A timer, previously started for this workflow execution, was successfully canceled.TimerFired
– A timer, previously started for this workflow execution, fired.TimerStarted
– A timer was started for the workflow execution due to aStartTimer
decision.WorkflowExecutionCancelRequested
– A request to cancel this workflow execution was made.WorkflowExecutionCanceled
– The workflow execution was successfully canceled and closed.WorkflowExecutionCompleted
– The workflow execution was closed due to successful completion.WorkflowExecutionContinuedAsNew
– The workflow execution was closed and a new execution of the same type was created with the same workflowId.WorkflowExecutionFailed
– The workflow execution closed due to a failure.WorkflowExecutionSignaled
– An external signal was received for the workflow execution.WorkflowExecutionStarted
– The workflow execution was started.WorkflowExecutionTerminated
– The workflow execution was terminated.WorkflowExecutionTimedOut
– The workflow execution was closed because a time out was exceeded.
See: newHistoryEvent
smart constructor.
Instances
:: UTCTime | |
-> EventType | |
-> Integer | |
-> HistoryEvent |
Create a value of HistoryEvent
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:workflowExecutionCancelRequestedEventAttributes:HistoryEvent'
, historyEvent_workflowExecutionCancelRequestedEventAttributes
- If the event is of type WorkflowExecutionCancelRequested
then this
member is set and provides detailed information about the event. It
isn't set for other event types.
$sel:recordMarkerFailedEventAttributes:HistoryEvent'
, historyEvent_recordMarkerFailedEventAttributes
- If the event is of type DecisionTaskFailed
then this member is set and
provides detailed information about the event. It isn't set for other
event types.
$sel:requestCancelExternalWorkflowExecutionInitiatedEventAttributes:HistoryEvent'
, historyEvent_requestCancelExternalWorkflowExecutionInitiatedEventAttributes
- If the event is of type
RequestCancelExternalWorkflowExecutionInitiated
then this member is
set and provides detailed information about the event. It isn't set for
other event types.
$sel:lambdaFunctionStartedEventAttributes:HistoryEvent'
, historyEvent_lambdaFunctionStartedEventAttributes
- Provides the details of the LambdaFunctionStarted
event. It isn't set
for other event types.
$sel:decisionTaskScheduledEventAttributes:HistoryEvent'
, historyEvent_decisionTaskScheduledEventAttributes
- If the event is of type DecisionTaskScheduled
then this member is set
and provides detailed information about the event. It isn't set for
other event types.
$sel:workflowExecutionCompletedEventAttributes:HistoryEvent'
, historyEvent_workflowExecutionCompletedEventAttributes
- If the event is of type WorkflowExecutionCompleted
then this member is
set and provides detailed information about the event. It isn't set for
other event types.
$sel:startTimerFailedEventAttributes:HistoryEvent'
, historyEvent_startTimerFailedEventAttributes
- If the event is of type StartTimerFailed
then this member is set and
provides detailed information about the event. It isn't set for other
event types.
$sel:activityTaskScheduledEventAttributes:HistoryEvent'
, historyEvent_activityTaskScheduledEventAttributes
- If the event is of type ActivityTaskScheduled
then this member is set
and provides detailed information about the event. It isn't set for
other event types.
$sel:scheduleActivityTaskFailedEventAttributes:HistoryEvent'
, historyEvent_scheduleActivityTaskFailedEventAttributes
- If the event is of type ScheduleActivityTaskFailed
then this member is
set and provides detailed information about the event. It isn't set for
other event types.
$sel:childWorkflowExecutionCompletedEventAttributes:HistoryEvent'
, historyEvent_childWorkflowExecutionCompletedEventAttributes
- If the event is of type ChildWorkflowExecutionCompleted
then this
member is set and provides detailed information about the event. It
isn't set for other event types.
$sel:markerRecordedEventAttributes:HistoryEvent'
, historyEvent_markerRecordedEventAttributes
- If the event is of type MarkerRecorded
then this member is set and
provides detailed information about the event. It isn't set for other
event types.
$sel:scheduleLambdaFunctionFailedEventAttributes:HistoryEvent'
, historyEvent_scheduleLambdaFunctionFailedEventAttributes
- Provides the details of the ScheduleLambdaFunctionFailed
event. It
isn't set for other event types.
$sel:completeWorkflowExecutionFailedEventAttributes:HistoryEvent'
, historyEvent_completeWorkflowExecutionFailedEventAttributes
- If the event is of type CompleteWorkflowExecutionFailed
then this
member is set and provides detailed information about the event. It
isn't set for other event types.
$sel:lambdaFunctionCompletedEventAttributes:HistoryEvent'
, historyEvent_lambdaFunctionCompletedEventAttributes
- Provides the details of the LambdaFunctionCompleted
event. It isn't
set for other event types.
$sel:requestCancelExternalWorkflowExecutionFailedEventAttributes:HistoryEvent'
, historyEvent_requestCancelExternalWorkflowExecutionFailedEventAttributes
- If the event is of type RequestCancelExternalWorkflowExecutionFailed
then this member is set and provides detailed information about the
event. It isn't set for other event types.
$sel:timerCanceledEventAttributes:HistoryEvent'
, historyEvent_timerCanceledEventAttributes
- If the event is of type TimerCanceled
then this member is set and
provides detailed information about the event. It isn't set for other
event types.
$sel:workflowExecutionStartedEventAttributes:HistoryEvent'
, historyEvent_workflowExecutionStartedEventAttributes
- If the event is of type WorkflowExecutionStarted
then this member is
set and provides detailed information about the event. It isn't set for
other event types.
$sel:activityTaskCompletedEventAttributes:HistoryEvent'
, historyEvent_activityTaskCompletedEventAttributes
- If the event is of type ActivityTaskCompleted
then this member is set
and provides detailed information about the event. It isn't set for
other event types.
$sel:decisionTaskTimedOutEventAttributes:HistoryEvent'
, historyEvent_decisionTaskTimedOutEventAttributes
- If the event is of type DecisionTaskTimedOut
then this member is set
and provides detailed information about the event. It isn't set for
other event types.
$sel:cancelTimerFailedEventAttributes:HistoryEvent'
, historyEvent_cancelTimerFailedEventAttributes
- If the event is of type CancelTimerFailed
then this member is set and
provides detailed information about the event. It isn't set for other
event types.
$sel:childWorkflowExecutionStartedEventAttributes:HistoryEvent'
, historyEvent_childWorkflowExecutionStartedEventAttributes
- If the event is of type ChildWorkflowExecutionStarted
then this member
is set and provides detailed information about the event. It isn't set
for other event types.
$sel:activityTaskCanceledEventAttributes:HistoryEvent'
, historyEvent_activityTaskCanceledEventAttributes
- If the event is of type ActivityTaskCanceled
then this member is set
and provides detailed information about the event. It isn't set for
other event types.
$sel:activityTaskTimedOutEventAttributes:HistoryEvent'
, historyEvent_activityTaskTimedOutEventAttributes
- If the event is of type ActivityTaskTimedOut
then this member is set
and provides detailed information about the event. It isn't set for
other event types.
$sel:decisionTaskStartedEventAttributes:HistoryEvent'
, historyEvent_decisionTaskStartedEventAttributes
- If the event is of type DecisionTaskStarted
then this member is set
and provides detailed information about the event. It isn't set for
other event types.
$sel:workflowExecutionTerminatedEventAttributes:HistoryEvent'
, historyEvent_workflowExecutionTerminatedEventAttributes
- If the event is of type WorkflowExecutionTerminated
then this member
is set and provides detailed information about the event. It isn't set
for other event types.
$sel:childWorkflowExecutionCanceledEventAttributes:HistoryEvent'
, historyEvent_childWorkflowExecutionCanceledEventAttributes
- If the event is of type ChildWorkflowExecutionCanceled
then this
member is set and provides detailed information about the event. It
isn't set for other event types.
$sel:requestCancelActivityTaskFailedEventAttributes:HistoryEvent'
, historyEvent_requestCancelActivityTaskFailedEventAttributes
- If the event is of type RequestCancelActivityTaskFailed
then this
member is set and provides detailed information about the event. It
isn't set for other event types.
$sel:lambdaFunctionScheduledEventAttributes:HistoryEvent'
, historyEvent_lambdaFunctionScheduledEventAttributes
- Provides the details of the LambdaFunctionScheduled
event. It isn't
set for other event types.
$sel:childWorkflowExecutionTimedOutEventAttributes:HistoryEvent'
, historyEvent_childWorkflowExecutionTimedOutEventAttributes
- If the event is of type ChildWorkflowExecutionTimedOut
then this
member is set and provides detailed information about the event. It
isn't set for other event types.
$sel:cancelWorkflowExecutionFailedEventAttributes:HistoryEvent'
, historyEvent_cancelWorkflowExecutionFailedEventAttributes
- If the event is of type CancelWorkflowExecutionFailed
then this member
is set and provides detailed information about the event. It isn't set
for other event types.
$sel:startChildWorkflowExecutionInitiatedEventAttributes:HistoryEvent'
, historyEvent_startChildWorkflowExecutionInitiatedEventAttributes
- If the event is of type StartChildWorkflowExecutionInitiated
then this
member is set and provides detailed information about the event. It
isn't set for other event types.
$sel:signalExternalWorkflowExecutionFailedEventAttributes:HistoryEvent'
, historyEvent_signalExternalWorkflowExecutionFailedEventAttributes
- If the event is of type SignalExternalWorkflowExecutionFailed
then
this member is set and provides detailed information about the event. It
isn't set for other event types.
$sel:activityTaskStartedEventAttributes:HistoryEvent'
, historyEvent_activityTaskStartedEventAttributes
- If the event is of type ActivityTaskStarted
then this member is set
and provides detailed information about the event. It isn't set for
other event types.
$sel:startLambdaFunctionFailedEventAttributes:HistoryEvent'
, historyEvent_startLambdaFunctionFailedEventAttributes
- Provides the details of the StartLambdaFunctionFailed
event. It isn't
set for other event types.
$sel:childWorkflowExecutionTerminatedEventAttributes:HistoryEvent'
, historyEvent_childWorkflowExecutionTerminatedEventAttributes
- If the event is of type ChildWorkflowExecutionTerminated
then this
member is set and provides detailed information about the event. It
isn't set for other event types.
$sel:lambdaFunctionFailedEventAttributes:HistoryEvent'
, historyEvent_lambdaFunctionFailedEventAttributes
- Provides the details of the LambdaFunctionFailed
event. It isn't set
for other event types.
$sel:workflowExecutionCanceledEventAttributes:HistoryEvent'
, historyEvent_workflowExecutionCanceledEventAttributes
- If the event is of type WorkflowExecutionCanceled
then this member is
set and provides detailed information about the event. It isn't set for
other event types.
$sel:timerStartedEventAttributes:HistoryEvent'
, historyEvent_timerStartedEventAttributes
- If the event is of type TimerStarted
then this member is set and
provides detailed information about the event. It isn't set for other
event types.
$sel:activityTaskCancelRequestedEventAttributes:HistoryEvent'
, historyEvent_activityTaskCancelRequestedEventAttributes
- If the event is of type ActivityTaskcancelRequested
then this member
is set and provides detailed information about the event. It isn't set
for other event types.
$sel:workflowExecutionTimedOutEventAttributes:HistoryEvent'
, historyEvent_workflowExecutionTimedOutEventAttributes
- If the event is of type WorkflowExecutionTimedOut
then this member is
set and provides detailed information about the event. It isn't set for
other event types.
$sel:workflowExecutionSignaledEventAttributes:HistoryEvent'
, historyEvent_workflowExecutionSignaledEventAttributes
- If the event is of type WorkflowExecutionSignaled
then this member is
set and provides detailed information about the event. It isn't set for
other event types.
$sel:timerFiredEventAttributes:HistoryEvent'
, historyEvent_timerFiredEventAttributes
- If the event is of type TimerFired
then this member is set and
provides detailed information about the event. It isn't set for other
event types.
$sel:activityTaskFailedEventAttributes:HistoryEvent'
, historyEvent_activityTaskFailedEventAttributes
- If the event is of type ActivityTaskFailed
then this member is set and
provides detailed information about the event. It isn't set for other
event types.
$sel:externalWorkflowExecutionSignaledEventAttributes:HistoryEvent'
, historyEvent_externalWorkflowExecutionSignaledEventAttributes
- If the event is of type ExternalWorkflowExecutionSignaled
then this
member is set and provides detailed information about the event. It
isn't set for other event types.
$sel:decisionTaskCompletedEventAttributes:HistoryEvent'
, historyEvent_decisionTaskCompletedEventAttributes
- If the event is of type DecisionTaskCompleted
then this member is set
and provides detailed information about the event. It isn't set for
other event types.
$sel:startChildWorkflowExecutionFailedEventAttributes:HistoryEvent'
, historyEvent_startChildWorkflowExecutionFailedEventAttributes
- If the event is of type StartChildWorkflowExecutionFailed
then this
member is set and provides detailed information about the event. It
isn't set for other event types.
$sel:childWorkflowExecutionFailedEventAttributes:HistoryEvent'
, historyEvent_childWorkflowExecutionFailedEventAttributes
- If the event is of type ChildWorkflowExecutionFailed
then this member
is set and provides detailed information about the event. It isn't set
for other event types.
$sel:failWorkflowExecutionFailedEventAttributes:HistoryEvent'
, historyEvent_failWorkflowExecutionFailedEventAttributes
- If the event is of type FailWorkflowExecutionFailed
then this member
is set and provides detailed information about the event. It isn't set
for other event types.
$sel:continueAsNewWorkflowExecutionFailedEventAttributes:HistoryEvent'
, historyEvent_continueAsNewWorkflowExecutionFailedEventAttributes
- If the event is of type ContinueAsNewWorkflowExecutionFailed
then this
member is set and provides detailed information about the event. It
isn't set for other event types.
$sel:signalExternalWorkflowExecutionInitiatedEventAttributes:HistoryEvent'
, historyEvent_signalExternalWorkflowExecutionInitiatedEventAttributes
- If the event is of type SignalExternalWorkflowExecutionInitiated
then
this member is set and provides detailed information about the event. It
isn't set for other event types.
$sel:lambdaFunctionTimedOutEventAttributes:HistoryEvent'
, historyEvent_lambdaFunctionTimedOutEventAttributes
- Provides the details of the LambdaFunctionTimedOut
event. It isn't
set for other event types.
$sel:workflowExecutionFailedEventAttributes:HistoryEvent'
, historyEvent_workflowExecutionFailedEventAttributes
- If the event is of type WorkflowExecutionFailed
then this member is
set and provides detailed information about the event. It isn't set for
other event types.
$sel:workflowExecutionContinuedAsNewEventAttributes:HistoryEvent'
, historyEvent_workflowExecutionContinuedAsNewEventAttributes
- If the event is of type WorkflowExecutionContinuedAsNew
then this
member is set and provides detailed information about the event. It
isn't set for other event types.
$sel:externalWorkflowExecutionCancelRequestedEventAttributes:HistoryEvent'
, historyEvent_externalWorkflowExecutionCancelRequestedEventAttributes
- If the event is of type ExternalWorkflowExecutionCancelRequested
then
this member is set and provides detailed information about the event. It
isn't set for other event types.
$sel:eventTimestamp:HistoryEvent'
, historyEvent_eventTimestamp
- The date and time when the event occurred.
$sel:eventType:HistoryEvent'
, historyEvent_eventType
- The type of the history event.
$sel:eventId:HistoryEvent'
, historyEvent_eventId
- The system generated ID of the event. This ID uniquely identifies the
event with in the workflow execution history.
LambdaFunctionCompletedEventAttributes
data LambdaFunctionCompletedEventAttributes Source #
Provides the details of the LambdaFunctionCompleted
event. It isn't
set for other event types.
See: newLambdaFunctionCompletedEventAttributes
smart constructor.
Instances
newLambdaFunctionCompletedEventAttributes Source #
:: Integer |
|
-> Integer | |
-> LambdaFunctionCompletedEventAttributes |
Create a value of LambdaFunctionCompletedEventAttributes
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:result:LambdaFunctionCompletedEventAttributes'
, lambdaFunctionCompletedEventAttributes_result
- The results of the Lambda task.
$sel:scheduledEventId:LambdaFunctionCompletedEventAttributes'
, lambdaFunctionCompletedEventAttributes_scheduledEventId
- The ID of the LambdaFunctionScheduled
event that was recorded when
this Lambda task was scheduled. To help diagnose issues, use this
information to trace back the chain of events leading up to this event.
$sel:startedEventId:LambdaFunctionCompletedEventAttributes'
, lambdaFunctionCompletedEventAttributes_startedEventId
- The ID of the LambdaFunctionStarted
event recorded when this activity
task started. To help diagnose issues, use this information to trace
back the chain of events leading up to this event.
LambdaFunctionFailedEventAttributes
data LambdaFunctionFailedEventAttributes Source #
Provides the details of the LambdaFunctionFailed
event. It isn't set
for other event types.
See: newLambdaFunctionFailedEventAttributes
smart constructor.
Instances
newLambdaFunctionFailedEventAttributes Source #
Create a value of LambdaFunctionFailedEventAttributes
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:reason:LambdaFunctionFailedEventAttributes'
, lambdaFunctionFailedEventAttributes_reason
- The reason provided for the failure.
$sel:details:LambdaFunctionFailedEventAttributes'
, lambdaFunctionFailedEventAttributes_details
- The details of the failure.
$sel:scheduledEventId:LambdaFunctionFailedEventAttributes'
, lambdaFunctionFailedEventAttributes_scheduledEventId
- The ID of the LambdaFunctionScheduled
event that was recorded when
this activity task was scheduled. To help diagnose issues, use this
information to trace back the chain of events leading up to this event.
$sel:startedEventId:LambdaFunctionFailedEventAttributes'
, lambdaFunctionFailedEventAttributes_startedEventId
- The ID of the LambdaFunctionStarted
event recorded when this activity
task started. To help diagnose issues, use this information to trace
back the chain of events leading up to this event.
LambdaFunctionScheduledEventAttributes
data LambdaFunctionScheduledEventAttributes Source #
Provides the details of the LambdaFunctionScheduled
event. It isn't
set for other event types.
See: newLambdaFunctionScheduledEventAttributes
smart constructor.
Instances
newLambdaFunctionScheduledEventAttributes Source #
:: Text | |
-> Text | |
-> Integer |
|
-> LambdaFunctionScheduledEventAttributes |
Create a value of LambdaFunctionScheduledEventAttributes
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:control:LambdaFunctionScheduledEventAttributes'
, lambdaFunctionScheduledEventAttributes_control
- Data attached to the event that the decider can use in subsequent
workflow tasks. This data isn't sent to the Lambda task.
$sel:input:LambdaFunctionScheduledEventAttributes'
, lambdaFunctionScheduledEventAttributes_input
- The input provided to the Lambda task.
$sel:startToCloseTimeout:LambdaFunctionScheduledEventAttributes'
, lambdaFunctionScheduledEventAttributes_startToCloseTimeout
- The maximum amount of time a worker can take to process the Lambda task.
$sel:id:LambdaFunctionScheduledEventAttributes'
, lambdaFunctionScheduledEventAttributes_id
- The unique ID of the Lambda task.
$sel:name:LambdaFunctionScheduledEventAttributes'
, lambdaFunctionScheduledEventAttributes_name
- The name of the Lambda function.
$sel:decisionTaskCompletedEventId:LambdaFunctionScheduledEventAttributes'
, lambdaFunctionScheduledEventAttributes_decisionTaskCompletedEventId
- The ID of the LambdaFunctionCompleted
event corresponding to the
decision that resulted in scheduling this activity task. To help
diagnose issues, use this information to trace back the chain of events
leading up to this event.
LambdaFunctionStartedEventAttributes
data LambdaFunctionStartedEventAttributes Source #
Provides the details of the LambdaFunctionStarted
event. It isn't set
for other event types.
See: newLambdaFunctionStartedEventAttributes
smart constructor.
Instances
newLambdaFunctionStartedEventAttributes Source #
Create a value of LambdaFunctionStartedEventAttributes
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:scheduledEventId:LambdaFunctionStartedEventAttributes'
, lambdaFunctionStartedEventAttributes_scheduledEventId
- The ID of the LambdaFunctionScheduled
event that was recorded when
this activity task was scheduled. To help diagnose issues, use this
information to trace back the chain of events leading up to this event.
LambdaFunctionTimedOutEventAttributes
data LambdaFunctionTimedOutEventAttributes Source #
Provides details of the LambdaFunctionTimedOut
event.
See: newLambdaFunctionTimedOutEventAttributes
smart constructor.
Instances
newLambdaFunctionTimedOutEventAttributes Source #
:: Integer |
|
-> Integer | |
-> LambdaFunctionTimedOutEventAttributes |
Create a value of LambdaFunctionTimedOutEventAttributes
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:timeoutType:LambdaFunctionTimedOutEventAttributes'
, lambdaFunctionTimedOutEventAttributes_timeoutType
- The type of the timeout that caused this event.
$sel:scheduledEventId:LambdaFunctionTimedOutEventAttributes'
, lambdaFunctionTimedOutEventAttributes_scheduledEventId
- The ID of the LambdaFunctionScheduled
event that was recorded when
this activity task was scheduled. To help diagnose issues, use this
information to trace back the chain of events leading up to this event.
$sel:startedEventId:LambdaFunctionTimedOutEventAttributes'
, lambdaFunctionTimedOutEventAttributes_startedEventId
- The ID of the ActivityTaskStarted
event that was recorded when this
activity task started. To help diagnose issues, use this information to
trace back the chain of events leading up to this event.
MarkerRecordedEventAttributes
data MarkerRecordedEventAttributes Source #
Provides the details of the MarkerRecorded
event.
See: newMarkerRecordedEventAttributes
smart constructor.
Instances
newMarkerRecordedEventAttributes Source #
:: Text | |
-> Integer |
|
-> MarkerRecordedEventAttributes |
Create a value of MarkerRecordedEventAttributes
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:details:MarkerRecordedEventAttributes'
, markerRecordedEventAttributes_details
- The details of the marker.
$sel:markerName:MarkerRecordedEventAttributes'
, markerRecordedEventAttributes_markerName
- The name of the marker.
$sel:decisionTaskCompletedEventId:MarkerRecordedEventAttributes'
, markerRecordedEventAttributes_decisionTaskCompletedEventId
- 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: newPendingTaskCount
smart constructor.
Instances
Create a value of PendingTaskCount
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:truncated:PendingTaskCount'
, pendingTaskCount_truncated
- 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.
$sel:count:PendingTaskCount'
, pendingTaskCount_count
- The number of tasks in the task list.
RecordMarkerDecisionAttributes
data RecordMarkerDecisionAttributes Source #
Provides the 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 doesn't have sufficient permissions to invoke the action,
or the parameter values fall outside the specified constraints, the
action fails. The associated event attribute's cause
parameter is set
to OPERATION_NOT_PERMITTED
. For details and example IAM policies, see
Using IAM to Manage Access to Amazon SWF Workflows
in the Amazon SWF Developer Guide.
See: newRecordMarkerDecisionAttributes
smart constructor.
Instances
newRecordMarkerDecisionAttributes Source #
Create a value of RecordMarkerDecisionAttributes
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:details:RecordMarkerDecisionAttributes'
, recordMarkerDecisionAttributes_details
- The details of the marker.
$sel:markerName:RecordMarkerDecisionAttributes'
, recordMarkerDecisionAttributes_markerName
- The name of the marker.
RecordMarkerFailedEventAttributes
data RecordMarkerFailedEventAttributes Source #
Provides the details of the RecordMarkerFailed
event.
See: newRecordMarkerFailedEventAttributes
smart constructor.
Instances
newRecordMarkerFailedEventAttributes Source #
:: Text | |
-> RecordMarkerFailedCause | |
-> Integer |
|
-> RecordMarkerFailedEventAttributes |
Create a value of RecordMarkerFailedEventAttributes
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:markerName:RecordMarkerFailedEventAttributes'
, recordMarkerFailedEventAttributes_markerName
- The marker's name.
$sel:cause:RecordMarkerFailedEventAttributes'
, recordMarkerFailedEventAttributes_cause
- The cause of the failure. This information is generated by the system
and can be useful for diagnostic purposes.
If cause
is set to OPERATION_NOT_PERMITTED
, the decision failed
because it lacked sufficient permissions. For details and example IAM
policies, see
Using IAM to Manage Access to Amazon SWF Workflows
in the Amazon SWF Developer Guide.
$sel:decisionTaskCompletedEventId:RecordMarkerFailedEventAttributes'
, recordMarkerFailedEventAttributes_decisionTaskCompletedEventId
- 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 the 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 doesn't have sufficient permissions to invoke the action,
or the parameter values fall outside the specified constraints, the
action fails. The associated event attribute's cause
parameter is set
to OPERATION_NOT_PERMITTED
. For details and example IAM policies, see
Using IAM to Manage Access to Amazon SWF Workflows
in the Amazon SWF Developer Guide.
See: newRequestCancelActivityTaskDecisionAttributes
smart constructor.
Instances
Eq RequestCancelActivityTaskDecisionAttributes Source # | |
Read RequestCancelActivityTaskDecisionAttributes Source # | |
Show RequestCancelActivityTaskDecisionAttributes Source # | |
Generic RequestCancelActivityTaskDecisionAttributes Source # | |
NFData RequestCancelActivityTaskDecisionAttributes Source # | |
Hashable RequestCancelActivityTaskDecisionAttributes Source # | |
ToJSON RequestCancelActivityTaskDecisionAttributes Source # | |
type Rep RequestCancelActivityTaskDecisionAttributes Source # | |
Defined in Amazonka.SWF.Types.RequestCancelActivityTaskDecisionAttributes type Rep RequestCancelActivityTaskDecisionAttributes = D1 ('MetaData "RequestCancelActivityTaskDecisionAttributes" "Amazonka.SWF.Types.RequestCancelActivityTaskDecisionAttributes" "libZSservicesZSamazonka-swfZSamazonka-swf" 'False) (C1 ('MetaCons "RequestCancelActivityTaskDecisionAttributes'" 'PrefixI 'True) (S1 ('MetaSel ('Just "activityId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) |
newRequestCancelActivityTaskDecisionAttributes Source #
:: Text |
|
-> RequestCancelActivityTaskDecisionAttributes |
Create a value of RequestCancelActivityTaskDecisionAttributes
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:activityId:RequestCancelActivityTaskDecisionAttributes'
, requestCancelActivityTaskDecisionAttributes_activityId
- The activityId
of the activity task to be canceled.
RequestCancelActivityTaskFailedEventAttributes
data RequestCancelActivityTaskFailedEventAttributes Source #
Provides the details of the RequestCancelActivityTaskFailed
event.
See: newRequestCancelActivityTaskFailedEventAttributes
smart constructor.
Instances
newRequestCancelActivityTaskFailedEventAttributes Source #
Create a value of RequestCancelActivityTaskFailedEventAttributes
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:activityId:RequestCancelActivityTaskFailedEventAttributes'
, requestCancelActivityTaskFailedEventAttributes_activityId
- The activityId provided in the RequestCancelActivityTask
decision that
failed.
$sel:cause:RequestCancelActivityTaskFailedEventAttributes'
, requestCancelActivityTaskFailedEventAttributes_cause
- The cause of the failure. This information is generated by the system
and can be useful for diagnostic purposes.
If cause
is set to OPERATION_NOT_PERMITTED
, the decision failed
because it lacked sufficient permissions. For details and example IAM
policies, see
Using IAM to Manage Access to Amazon SWF Workflows
in the Amazon SWF Developer Guide.
$sel:decisionTaskCompletedEventId:RequestCancelActivityTaskFailedEventAttributes'
, requestCancelActivityTaskFailedEventAttributes_decisionTaskCompletedEventId
- 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 the 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 doesn't have sufficient permissions to invoke the action,
or the parameter values fall outside the specified constraints, the
action fails. The associated event attribute's cause
parameter is set
to OPERATION_NOT_PERMITTED
. For details and example IAM policies, see
Using IAM to Manage Access to Amazon SWF Workflows
in the Amazon SWF Developer Guide.
See: newRequestCancelExternalWorkflowExecutionDecisionAttributes
smart constructor.
Instances
newRequestCancelExternalWorkflowExecutionDecisionAttributes Source #
:: Text |
|
-> RequestCancelExternalWorkflowExecutionDecisionAttributes |
Create a value of RequestCancelExternalWorkflowExecutionDecisionAttributes
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:control:RequestCancelExternalWorkflowExecutionDecisionAttributes'
, requestCancelExternalWorkflowExecutionDecisionAttributes_control
- The data attached to the event that can be used by the decider in
subsequent workflow tasks.
$sel:runId:RequestCancelExternalWorkflowExecutionDecisionAttributes'
, requestCancelExternalWorkflowExecutionDecisionAttributes_runId
- The runId
of the external workflow execution to cancel.
$sel:workflowId:RequestCancelExternalWorkflowExecutionDecisionAttributes'
, requestCancelExternalWorkflowExecutionDecisionAttributes_workflowId
- The workflowId
of the external workflow execution to cancel.
RequestCancelExternalWorkflowExecutionFailedEventAttributes
data RequestCancelExternalWorkflowExecutionFailedEventAttributes Source #
Provides the details of the
RequestCancelExternalWorkflowExecutionFailed
event.
See: newRequestCancelExternalWorkflowExecutionFailedEventAttributes
smart constructor.
RequestCancelExternalWorkflowExecutionFailedEventAttributes' (Maybe Text) (Maybe Text) Text RequestCancelExternalWorkflowExecutionFailedCause Integer Integer |
Instances
newRequestCancelExternalWorkflowExecutionFailedEventAttributes Source #
Create a value of RequestCancelExternalWorkflowExecutionFailedEventAttributes
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:control:RequestCancelExternalWorkflowExecutionFailedEventAttributes'
, requestCancelExternalWorkflowExecutionFailedEventAttributes_control
- The data attached to the event that the decider can use in subsequent
workflow tasks. This data isn't sent to the workflow execution.
$sel:runId:RequestCancelExternalWorkflowExecutionFailedEventAttributes'
, requestCancelExternalWorkflowExecutionFailedEventAttributes_runId
- The runId
of the external workflow execution.
$sel:workflowId:RequestCancelExternalWorkflowExecutionFailedEventAttributes'
, requestCancelExternalWorkflowExecutionFailedEventAttributes_workflowId
- The workflowId
of the external workflow to which the cancel request
was to be delivered.
$sel:cause:RequestCancelExternalWorkflowExecutionFailedEventAttributes'
, requestCancelExternalWorkflowExecutionFailedEventAttributes_cause
- The cause of the failure. This information is generated by the system
and can be useful for diagnostic purposes.
If cause
is set to OPERATION_NOT_PERMITTED
, the decision failed
because it lacked sufficient permissions. For details and example IAM
policies, see
Using IAM to Manage Access to Amazon SWF Workflows
in the Amazon SWF Developer Guide.
$sel:initiatedEventId:RequestCancelExternalWorkflowExecutionFailedEventAttributes'
, requestCancelExternalWorkflowExecutionFailedEventAttributes_initiatedEventId
- 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.
$sel:decisionTaskCompletedEventId:RequestCancelExternalWorkflowExecutionFailedEventAttributes'
, requestCancelExternalWorkflowExecutionFailedEventAttributes_decisionTaskCompletedEventId
- 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 the details of the
RequestCancelExternalWorkflowExecutionInitiated
event.
See: newRequestCancelExternalWorkflowExecutionInitiatedEventAttributes
smart constructor.
RequestCancelExternalWorkflowExecutionInitiatedEventAttributes' (Maybe Text) (Maybe Text) Text Integer |
Instances
newRequestCancelExternalWorkflowExecutionInitiatedEventAttributes Source #
Create a value of RequestCancelExternalWorkflowExecutionInitiatedEventAttributes
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:control:RequestCancelExternalWorkflowExecutionInitiatedEventAttributes'
, requestCancelExternalWorkflowExecutionInitiatedEventAttributes_control
- Data attached to the event that can be used by the decider in subsequent
workflow tasks.
$sel:runId:RequestCancelExternalWorkflowExecutionInitiatedEventAttributes'
, requestCancelExternalWorkflowExecutionInitiatedEventAttributes_runId
- The runId
of the external workflow execution to be canceled.
$sel:workflowId:RequestCancelExternalWorkflowExecutionInitiatedEventAttributes'
, requestCancelExternalWorkflowExecutionInitiatedEventAttributes_workflowId
- The workflowId
of the external workflow execution to be canceled.
$sel:decisionTaskCompletedEventId:RequestCancelExternalWorkflowExecutionInitiatedEventAttributes'
, requestCancelExternalWorkflowExecutionInitiatedEventAttributes_decisionTaskCompletedEventId
- 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.
ResourceTag
data ResourceTag Source #
Tags are key-value pairs that can be associated with Amazon SWF state machines and activities.
Tags may only contain unicode letters, digits, whitespace, or these
symbols: _ . : / = + - @
.
See: newResourceTag
smart constructor.
Instances
Create a value of ResourceTag
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:value:ResourceTag'
, resourceTag_value
- The value of a tag.
$sel:key:ResourceTag'
, resourceTag_key
- The key of a tag.
ScheduleActivityTaskDecisionAttributes
data ScheduleActivityTaskDecisionAttributes Source #
Provides the 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 isswf:activityType.name
.activityType.version
– String constraint. The key isswf:activityType.version
.taskList
– String constraint. The key isswf:taskList.name
.
If the caller doesn't have sufficient permissions to invoke the action,
or the parameter values fall outside the specified constraints, the
action fails. The associated event attribute's cause
parameter is set
to OPERATION_NOT_PERMITTED
. For details and example IAM policies, see
Using IAM to Manage Access to Amazon SWF Workflows
in the Amazon SWF Developer Guide.
See: newScheduleActivityTaskDecisionAttributes
smart constructor.
ScheduleActivityTaskDecisionAttributes' (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe TaskList) (Maybe Text) (Maybe Text) (Maybe Text) ActivityType Text |
Instances
newScheduleActivityTaskDecisionAttributes Source #
Create a value of ScheduleActivityTaskDecisionAttributes
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:control:ScheduleActivityTaskDecisionAttributes'
, scheduleActivityTaskDecisionAttributes_control
- Data attached to the event that can be used by the decider in subsequent
workflow tasks. This data isn't sent to the activity.
$sel:heartbeatTimeout:ScheduleActivityTaskDecisionAttributes'
, scheduleActivityTaskDecisionAttributes_heartbeatTimeout
- 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 is 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
. You can use NONE
to specify unlimited duration.
$sel:scheduleToCloseTimeout:ScheduleActivityTaskDecisionAttributes'
, scheduleActivityTaskDecisionAttributes_scheduleToCloseTimeout
- The maximum duration for this activity task.
The duration is specified in seconds, an integer greater than or equal
to 0
. You can use NONE
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 is returned.
$sel:input:ScheduleActivityTaskDecisionAttributes'
, scheduleActivityTaskDecisionAttributes_input
- The input provided to the activity task.
$sel:taskList:ScheduleActivityTaskDecisionAttributes'
, scheduleActivityTaskDecisionAttributes_taskList
- 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 is 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 is 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 arn
.
$sel:taskPriority:ScheduleActivityTaskDecisionAttributes'
, scheduleActivityTaskDecisionAttributes_taskPriority
- 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 Integer.MIN_VALUE
(-2147483648) to Integer.MAX_VALUE
(2147483647). Higher numbers
indicate higher priority.
For more information about setting task priority, see Setting Task Priority in the Amazon SWF Developer Guide.
$sel:scheduleToStartTimeout:ScheduleActivityTaskDecisionAttributes'
, scheduleActivityTaskDecisionAttributes_scheduleToStartTimeout
- 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
. You can use NONE
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 is returned.
$sel:startToCloseTimeout:ScheduleActivityTaskDecisionAttributes'
, scheduleActivityTaskDecisionAttributes_startToCloseTimeout
- 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
. You can use NONE
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 is returned.
$sel:activityType:ScheduleActivityTaskDecisionAttributes'
, scheduleActivityTaskDecisionAttributes_activityType
- The type of the activity task to schedule.
$sel:activityId:ScheduleActivityTaskDecisionAttributes'
, scheduleActivityTaskDecisionAttributes_activityId
- 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 arn
.
ScheduleActivityTaskFailedEventAttributes
data ScheduleActivityTaskFailedEventAttributes Source #
Provides the details of the ScheduleActivityTaskFailed
event.
See: newScheduleActivityTaskFailedEventAttributes
smart constructor.
ScheduleActivityTaskFailedEventAttributes' ActivityType Text ScheduleActivityTaskFailedCause Integer |
Instances
newScheduleActivityTaskFailedEventAttributes Source #
Create a value of ScheduleActivityTaskFailedEventAttributes
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:activityType:ScheduleActivityTaskFailedEventAttributes'
, scheduleActivityTaskFailedEventAttributes_activityType
- The activity type provided in the ScheduleActivityTask
decision that
failed.
$sel:activityId:ScheduleActivityTaskFailedEventAttributes'
, scheduleActivityTaskFailedEventAttributes_activityId
- The activityId provided in the ScheduleActivityTask
decision that
failed.
$sel:cause:ScheduleActivityTaskFailedEventAttributes'
, scheduleActivityTaskFailedEventAttributes_cause
- The cause of the failure. This information is generated by the system
and can be useful for diagnostic purposes.
If cause
is set to OPERATION_NOT_PERMITTED
, the decision failed
because it lacked sufficient permissions. For details and example IAM
policies, see
Using IAM to Manage Access to Amazon SWF Workflows
in the Amazon SWF Developer Guide.
$sel:decisionTaskCompletedEventId:ScheduleActivityTaskFailedEventAttributes'
, scheduleActivityTaskFailedEventAttributes_decisionTaskCompletedEventId
- 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 #
Decision attributes specified in
scheduleLambdaFunctionDecisionAttributes
within the list of decisions
decisions
passed to RespondDecisionTaskCompleted.
See: newScheduleLambdaFunctionDecisionAttributes
smart constructor.
Instances
newScheduleLambdaFunctionDecisionAttributes Source #
Create a value of ScheduleLambdaFunctionDecisionAttributes
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:control:ScheduleLambdaFunctionDecisionAttributes'
, scheduleLambdaFunctionDecisionAttributes_control
- The data attached to the event that the decider can use in subsequent
workflow tasks. This data isn't sent to the Lambda task.
$sel:input:ScheduleLambdaFunctionDecisionAttributes'
, scheduleLambdaFunctionDecisionAttributes_input
- The optional input data to be supplied to the Lambda function.
$sel:startToCloseTimeout:ScheduleLambdaFunctionDecisionAttributes'
, scheduleLambdaFunctionDecisionAttributes_startToCloseTimeout
- The timeout value, in seconds, after which the Lambda function is
considered to be failed once it has started. This can be any integer
from 1-300 (1s-5m). If no value is supplied, than a default value of
300s is assumed.
$sel:id:ScheduleLambdaFunctionDecisionAttributes'
, scheduleLambdaFunctionDecisionAttributes_id
- A string that identifies the Lambda function execution in the event
history.
$sel:name:ScheduleLambdaFunctionDecisionAttributes'
, scheduleLambdaFunctionDecisionAttributes_name
- The name, or ARN, of the Lambda function to schedule.
ScheduleLambdaFunctionFailedEventAttributes
data ScheduleLambdaFunctionFailedEventAttributes Source #
Provides the details of the ScheduleLambdaFunctionFailed
event. It
isn't set for other event types.
See: newScheduleLambdaFunctionFailedEventAttributes
smart constructor.
Instances
newScheduleLambdaFunctionFailedEventAttributes Source #
:: Text | |
-> Text | |
-> ScheduleLambdaFunctionFailedCause | |
-> Integer |
|
-> ScheduleLambdaFunctionFailedEventAttributes |
Create a value of ScheduleLambdaFunctionFailedEventAttributes
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:id:ScheduleLambdaFunctionFailedEventAttributes'
, scheduleLambdaFunctionFailedEventAttributes_id
- The ID provided in the ScheduleLambdaFunction
decision that failed.
$sel:name:ScheduleLambdaFunctionFailedEventAttributes'
, scheduleLambdaFunctionFailedEventAttributes_name
- The name of the Lambda function.
$sel:cause:ScheduleLambdaFunctionFailedEventAttributes'
, scheduleLambdaFunctionFailedEventAttributes_cause
- The cause of the failure. To help diagnose issues, use this information
to trace back the chain of events leading up to this event.
If cause
is set to OPERATION_NOT_PERMITTED
, the decision failed
because it lacked sufficient permissions. For details and example IAM
policies, see
Using IAM to Manage Access to Amazon SWF Workflows
in the Amazon SWF Developer Guide.
$sel:decisionTaskCompletedEventId:ScheduleLambdaFunctionFailedEventAttributes'
, scheduleLambdaFunctionFailedEventAttributes_decisionTaskCompletedEventId
- The ID of the LambdaFunctionCompleted
event corresponding to the
decision that resulted in scheduling this Lambda task. To help diagnose
issues, use this information to trace back the chain of events leading
up to this event.
SignalExternalWorkflowExecutionDecisionAttributes
data SignalExternalWorkflowExecutionDecisionAttributes Source #
Provides the 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 doesn't have sufficient permissions to invoke the action,
or the parameter values fall outside the specified constraints, the
action fails. The associated event attribute's cause
parameter is set
to OPERATION_NOT_PERMITTED
. For details and example IAM policies, see
Using IAM to Manage Access to Amazon SWF Workflows
in the Amazon SWF Developer Guide.
See: newSignalExternalWorkflowExecutionDecisionAttributes
smart constructor.
Instances
newSignalExternalWorkflowExecutionDecisionAttributes Source #
:: Text |
|
-> Text |
|
-> SignalExternalWorkflowExecutionDecisionAttributes |
Create a value of SignalExternalWorkflowExecutionDecisionAttributes
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:control:SignalExternalWorkflowExecutionDecisionAttributes'
, signalExternalWorkflowExecutionDecisionAttributes_control
- The data attached to the event that can be used by the decider in
subsequent decision tasks.
$sel:input:SignalExternalWorkflowExecutionDecisionAttributes'
, signalExternalWorkflowExecutionDecisionAttributes_input
- The input data to be provided with the signal. The target workflow
execution uses the signal name and input data to process the signal.
$sel:runId:SignalExternalWorkflowExecutionDecisionAttributes'
, signalExternalWorkflowExecutionDecisionAttributes_runId
- The runId
of the workflow execution to be signaled.
$sel:workflowId:SignalExternalWorkflowExecutionDecisionAttributes'
, signalExternalWorkflowExecutionDecisionAttributes_workflowId
- The workflowId
of the workflow execution to be signaled.
$sel:signalName:SignalExternalWorkflowExecutionDecisionAttributes'
, signalExternalWorkflowExecutionDecisionAttributes_signalName
- The name of the signal.The target workflow execution uses the signal
name and input to process the signal.
SignalExternalWorkflowExecutionFailedEventAttributes
data SignalExternalWorkflowExecutionFailedEventAttributes Source #
Provides the details of the SignalExternalWorkflowExecutionFailed
event.
See: newSignalExternalWorkflowExecutionFailedEventAttributes
smart constructor.
SignalExternalWorkflowExecutionFailedEventAttributes' (Maybe Text) (Maybe Text) Text SignalExternalWorkflowExecutionFailedCause Integer Integer |
Instances
newSignalExternalWorkflowExecutionFailedEventAttributes Source #
Create a value of SignalExternalWorkflowExecutionFailedEventAttributes
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:control:SignalExternalWorkflowExecutionFailedEventAttributes'
, signalExternalWorkflowExecutionFailedEventAttributes_control
- The data attached to the event that the decider can use in subsequent
workflow tasks. This data isn't sent to the workflow execution.
$sel:runId:SignalExternalWorkflowExecutionFailedEventAttributes'
, signalExternalWorkflowExecutionFailedEventAttributes_runId
- The runId
of the external workflow execution that the signal was being
delivered to.
$sel:workflowId:SignalExternalWorkflowExecutionFailedEventAttributes'
, signalExternalWorkflowExecutionFailedEventAttributes_workflowId
- The workflowId
of the external workflow execution that the signal was
being delivered to.
$sel:cause:SignalExternalWorkflowExecutionFailedEventAttributes'
, signalExternalWorkflowExecutionFailedEventAttributes_cause
- The cause of the failure. This information is generated by the system
and can be useful for diagnostic purposes.
If cause
is set to OPERATION_NOT_PERMITTED
, the decision failed
because it lacked sufficient permissions. For details and example IAM
policies, see
Using IAM to Manage Access to Amazon SWF Workflows
in the Amazon SWF Developer Guide.
$sel:initiatedEventId:SignalExternalWorkflowExecutionFailedEventAttributes'
, signalExternalWorkflowExecutionFailedEventAttributes_initiatedEventId
- 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.
$sel:decisionTaskCompletedEventId:SignalExternalWorkflowExecutionFailedEventAttributes'
, signalExternalWorkflowExecutionFailedEventAttributes_decisionTaskCompletedEventId
- 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 the details of the SignalExternalWorkflowExecutionInitiated
event.
See: newSignalExternalWorkflowExecutionInitiatedEventAttributes
smart constructor.
SignalExternalWorkflowExecutionInitiatedEventAttributes' (Maybe Text) (Maybe Text) (Maybe Text) Text Text Integer |
Instances
newSignalExternalWorkflowExecutionInitiatedEventAttributes Source #
Create a value of SignalExternalWorkflowExecutionInitiatedEventAttributes
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:control:SignalExternalWorkflowExecutionInitiatedEventAttributes'
, signalExternalWorkflowExecutionInitiatedEventAttributes_control
- Data attached to the event that can be used by the decider in subsequent
decision tasks.
$sel:input:SignalExternalWorkflowExecutionInitiatedEventAttributes'
, signalExternalWorkflowExecutionInitiatedEventAttributes_input
- The input provided to the signal.
$sel:runId:SignalExternalWorkflowExecutionInitiatedEventAttributes'
, signalExternalWorkflowExecutionInitiatedEventAttributes_runId
- The runId
of the external workflow execution to send the signal to.
$sel:workflowId:SignalExternalWorkflowExecutionInitiatedEventAttributes'
, signalExternalWorkflowExecutionInitiatedEventAttributes_workflowId
- The workflowId
of the external workflow execution.
$sel:signalName:SignalExternalWorkflowExecutionInitiatedEventAttributes'
, signalExternalWorkflowExecutionInitiatedEventAttributes_signalName
- The name of the signal.
$sel:decisionTaskCompletedEventId:SignalExternalWorkflowExecutionInitiatedEventAttributes'
, signalExternalWorkflowExecutionInitiatedEventAttributes_decisionTaskCompletedEventId
- 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 the 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 isswf:taskList.name
.workflowType.name
– String constraint. The key isswf:workflowType.name
.workflowType.version
– String constraint. The key isswf:workflowType.version
.
If the caller doesn't have sufficient permissions to invoke the action,
or the parameter values fall outside the specified constraints, the
action fails. The associated event attribute's cause
parameter is set
to OPERATION_NOT_PERMITTED
. For details and example IAM policies, see
Using IAM to Manage Access to Amazon SWF Workflows
in the Amazon SWF Developer Guide.
See: newStartChildWorkflowExecutionDecisionAttributes
smart constructor.
StartChildWorkflowExecutionDecisionAttributes' (Maybe Text) (Maybe [Text]) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe TaskList) (Maybe Text) (Maybe ChildPolicy) WorkflowType Text |
Instances
newStartChildWorkflowExecutionDecisionAttributes Source #
:: WorkflowType |
|
-> Text |
|
-> StartChildWorkflowExecutionDecisionAttributes |
Create a value of StartChildWorkflowExecutionDecisionAttributes
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:control:StartChildWorkflowExecutionDecisionAttributes'
, startChildWorkflowExecutionDecisionAttributes_control
- The data attached to the event that can be used by the decider in
subsequent workflow tasks. This data isn't sent to the child workflow
execution.
$sel:tagList:StartChildWorkflowExecutionDecisionAttributes'
, startChildWorkflowExecutionDecisionAttributes_tagList
- 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.
$sel:taskStartToCloseTimeout:StartChildWorkflowExecutionDecisionAttributes'
, startChildWorkflowExecutionDecisionAttributes_taskStartToCloseTimeout
- 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
. You can use NONE
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 is returned.
$sel:lambdaRole:StartChildWorkflowExecutionDecisionAttributes'
, startChildWorkflowExecutionDecisionAttributes_lambdaRole
- The IAM role attached to the child workflow execution.
$sel:input:StartChildWorkflowExecutionDecisionAttributes'
, startChildWorkflowExecutionDecisionAttributes_input
- The input to be provided to the workflow execution.
$sel:executionStartToCloseTimeout:StartChildWorkflowExecutionDecisionAttributes'
, startChildWorkflowExecutionDecisionAttributes_executionStartToCloseTimeout
- 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
. You can use NONE
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 is returned.
$sel:taskList:StartChildWorkflowExecutionDecisionAttributes'
, startChildWorkflowExecutionDecisionAttributes_taskList
- 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 is 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 arn
.
$sel:taskPriority:StartChildWorkflowExecutionDecisionAttributes'
, startChildWorkflowExecutionDecisionAttributes_taskPriority
- 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 Integer.MIN_VALUE
(-2147483648) to
Integer.MAX_VALUE
(2147483647). Higher numbers indicate higher
priority.
For more information about setting task priority, see Setting Task Priority in the Amazon SWF Developer Guide.
$sel:childPolicy:StartChildWorkflowExecutionDecisionAttributes'
, startChildWorkflowExecutionDecisionAttributes_childPolicy
- 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 are terminated.REQUEST_CANCEL
– A request to cancel is attempted for each child execution by recording aWorkflowExecutionCancelRequested
event in its history. It is up to the decider to take appropriate actions when it receives an execution history with this event.ABANDON
– No action is taken. The child executions continue to run.
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 is returned.
$sel:workflowType:StartChildWorkflowExecutionDecisionAttributes'
, startChildWorkflowExecutionDecisionAttributes_workflowType
- The type of the workflow execution to be started.
$sel:workflowId:StartChildWorkflowExecutionDecisionAttributes'
, startChildWorkflowExecutionDecisionAttributes_workflowId
- 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 arn
.
StartChildWorkflowExecutionFailedEventAttributes
data StartChildWorkflowExecutionFailedEventAttributes Source #
Provides the details of the StartChildWorkflowExecutionFailed
event.
See: newStartChildWorkflowExecutionFailedEventAttributes
smart constructor.
StartChildWorkflowExecutionFailedEventAttributes' (Maybe Text) WorkflowType StartChildWorkflowExecutionFailedCause Text Integer Integer |
Instances
newStartChildWorkflowExecutionFailedEventAttributes Source #
Create a value of StartChildWorkflowExecutionFailedEventAttributes
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:control:StartChildWorkflowExecutionFailedEventAttributes'
, startChildWorkflowExecutionFailedEventAttributes_control
- The data attached to the event that the decider can use in subsequent
workflow tasks. This data isn't sent to the child workflow execution.
$sel:workflowType:StartChildWorkflowExecutionFailedEventAttributes'
, startChildWorkflowExecutionFailedEventAttributes_workflowType
- The workflow type provided in the StartChildWorkflowExecution
Decision
that failed.
$sel:cause:StartChildWorkflowExecutionFailedEventAttributes'
, startChildWorkflowExecutionFailedEventAttributes_cause
- The cause of the failure. This information is generated by the system
and can be useful for diagnostic purposes.
When cause
is set to OPERATION_NOT_PERMITTED
, the decision fails
because it lacks sufficient permissions. For details and example IAM
policies, see
Using IAM to Manage Access to Amazon SWF Workflows
in the Amazon SWF Developer Guide.
$sel:workflowId:StartChildWorkflowExecutionFailedEventAttributes'
, startChildWorkflowExecutionFailedEventAttributes_workflowId
- The workflowId
of the child workflow execution.
$sel:initiatedEventId:StartChildWorkflowExecutionFailedEventAttributes'
, startChildWorkflowExecutionFailedEventAttributes_initiatedEventId
- When the cause
is WORKFLOW_ALREADY_RUNNING
, initiatedEventId
is
the ID of the StartChildWorkflowExecutionInitiated
event that
corresponds to the StartChildWorkflowExecution
Decision to start the
workflow execution. You can use this information to diagnose problems by
tracing back the chain of events leading up to this event.
When the cause
isn't WORKFLOW_ALREADY_RUNNING
, initiatedEventId
is set to 0
because the StartChildWorkflowExecutionInitiated
event
doesn't exist.
$sel:decisionTaskCompletedEventId:StartChildWorkflowExecutionFailedEventAttributes'
, startChildWorkflowExecutionFailedEventAttributes_decisionTaskCompletedEventId
- The ID of the DecisionTaskCompleted
event corresponding to the
decision task that resulted in the StartChildWorkflowExecution
Decision to request this child workflow execution. This information can
be useful for diagnosing problems by tracing back the chain of events.
StartChildWorkflowExecutionInitiatedEventAttributes
data StartChildWorkflowExecutionInitiatedEventAttributes Source #
Provides the details of the StartChildWorkflowExecutionInitiated
event.
See: newStartChildWorkflowExecutionInitiatedEventAttributes
smart constructor.
StartChildWorkflowExecutionInitiatedEventAttributes' (Maybe Text) (Maybe [Text]) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) Text WorkflowType TaskList Integer ChildPolicy |
Instances
newStartChildWorkflowExecutionInitiatedEventAttributes Source #
Create a value of StartChildWorkflowExecutionInitiatedEventAttributes
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:control:StartChildWorkflowExecutionInitiatedEventAttributes'
, startChildWorkflowExecutionInitiatedEventAttributes_control
- Data attached to the event that can be used by the decider in subsequent
decision tasks. This data isn't sent to the activity.
$sel:tagList:StartChildWorkflowExecutionInitiatedEventAttributes'
, startChildWorkflowExecutionInitiatedEventAttributes_tagList
- The list of tags to associated with the child workflow execution.
$sel:taskStartToCloseTimeout:StartChildWorkflowExecutionInitiatedEventAttributes'
, startChildWorkflowExecutionInitiatedEventAttributes_taskStartToCloseTimeout
- The maximum duration allowed for the decision tasks for this workflow
execution.
The duration is specified in seconds, an integer greater than or equal
to 0
. You can use NONE
to specify unlimited duration.
$sel:lambdaRole:StartChildWorkflowExecutionInitiatedEventAttributes'
, startChildWorkflowExecutionInitiatedEventAttributes_lambdaRole
- The IAM role to attach to the child workflow execution.
$sel:input:StartChildWorkflowExecutionInitiatedEventAttributes'
, startChildWorkflowExecutionInitiatedEventAttributes_input
- The inputs provided to the child workflow execution.
$sel:executionStartToCloseTimeout:StartChildWorkflowExecutionInitiatedEventAttributes'
, startChildWorkflowExecutionInitiatedEventAttributes_executionStartToCloseTimeout
- The maximum duration for the child workflow execution. If the workflow
execution isn't closed within this duration, it is timed out and
force-terminated.
The duration is specified in seconds, an integer greater than or equal
to 0
. You can use NONE
to specify unlimited duration.
$sel:taskPriority:StartChildWorkflowExecutionInitiatedEventAttributes'
, startChildWorkflowExecutionInitiatedEventAttributes_taskPriority
- The priority assigned for the decision tasks for this workflow
execution. Valid values are integers that range from Java's
Integer.MIN_VALUE
(-2147483648) to Integer.MAX_VALUE
(2147483647).
Higher numbers indicate higher priority.
For more information about setting task priority, see Setting Task Priority in the Amazon SWF Developer Guide.
$sel:workflowId:StartChildWorkflowExecutionInitiatedEventAttributes'
, startChildWorkflowExecutionInitiatedEventAttributes_workflowId
- The workflowId
of the child workflow execution.
$sel:workflowType:StartChildWorkflowExecutionInitiatedEventAttributes'
, startChildWorkflowExecutionInitiatedEventAttributes_workflowType
- The type of the child workflow execution.
$sel:taskList:StartChildWorkflowExecutionInitiatedEventAttributes'
, startChildWorkflowExecutionInitiatedEventAttributes_taskList
- The name of the task list used for the decision tasks of the child
workflow execution.
$sel:decisionTaskCompletedEventId:StartChildWorkflowExecutionInitiatedEventAttributes'
, startChildWorkflowExecutionInitiatedEventAttributes_decisionTaskCompletedEventId
- 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.
$sel:childPolicy:StartChildWorkflowExecutionInitiatedEventAttributes'
, startChildWorkflowExecutionInitiatedEventAttributes_childPolicy
- The policy to use for the child workflow executions if this execution
gets terminated by explicitly calling the TerminateWorkflowExecution
action or due to an expired timeout.
The supported child policies are:
TERMINATE
– The child executions are terminated.REQUEST_CANCEL
– A request to cancel is attempted for each child execution by recording aWorkflowExecutionCancelRequested
event in its history. It is up to the decider to take appropriate actions when it receives an execution history with this event.ABANDON
– No action is taken. The child executions continue to run.
StartLambdaFunctionFailedEventAttributes
data StartLambdaFunctionFailedEventAttributes Source #
Provides the details of the StartLambdaFunctionFailed
event. It isn't
set for other event types.
See: newStartLambdaFunctionFailedEventAttributes
smart constructor.
StartLambdaFunctionFailedEventAttributes' (Maybe Integer) (Maybe StartLambdaFunctionFailedCause) (Maybe Text) |
Instances
newStartLambdaFunctionFailedEventAttributes :: StartLambdaFunctionFailedEventAttributes Source #
Create a value of StartLambdaFunctionFailedEventAttributes
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:scheduledEventId:StartLambdaFunctionFailedEventAttributes'
, startLambdaFunctionFailedEventAttributes_scheduledEventId
- The ID of the ActivityTaskScheduled
event that was recorded when this
activity task was scheduled. To help diagnose issues, use this
information to trace back the chain of events leading up to this event.
$sel:cause:StartLambdaFunctionFailedEventAttributes'
, startLambdaFunctionFailedEventAttributes_cause
- The cause of the failure. To help diagnose issues, use this information
to trace back the chain of events leading up to this event.
If cause
is set to OPERATION_NOT_PERMITTED
, the decision failed
because the IAM role attached to the execution lacked sufficient
permissions. For details and example IAM policies, see
Lambda Tasks
in the Amazon SWF Developer Guide.
$sel:message:StartLambdaFunctionFailedEventAttributes'
, startLambdaFunctionFailedEventAttributes_message
- A description that can help diagnose the cause of the fault.
StartTimerDecisionAttributes
data StartTimerDecisionAttributes Source #
Provides the 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 doesn't have sufficient permissions to invoke the action,
or the parameter values fall outside the specified constraints, the
action fails. The associated event attribute's cause
parameter is set
to OPERATION_NOT_PERMITTED
. For details and example IAM policies, see
Using IAM to Manage Access to Amazon SWF Workflows
in the Amazon SWF Developer Guide.
See: newStartTimerDecisionAttributes
smart constructor.
Instances
newStartTimerDecisionAttributes Source #
:: Text | |
-> Text | |
-> StartTimerDecisionAttributes |
Create a value of StartTimerDecisionAttributes
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:control:StartTimerDecisionAttributes'
, startTimerDecisionAttributes_control
- The data attached to the event that can be used by the decider in
subsequent workflow tasks.
$sel:timerId:StartTimerDecisionAttributes'
, startTimerDecisionAttributes_timerId
- 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 arn
.
$sel:startToFireTimeout:StartTimerDecisionAttributes'
, startTimerDecisionAttributes_startToFireTimeout
- 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 the details of the StartTimerFailed
event.
See: newStartTimerFailedEventAttributes
smart constructor.
Instances
newStartTimerFailedEventAttributes Source #
:: Text | |
-> StartTimerFailedCause | |
-> Integer |
|
-> StartTimerFailedEventAttributes |
Create a value of StartTimerFailedEventAttributes
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:timerId:StartTimerFailedEventAttributes'
, startTimerFailedEventAttributes_timerId
- The timerId provided in the StartTimer
decision that failed.
$sel:cause:StartTimerFailedEventAttributes'
, startTimerFailedEventAttributes_cause
- The cause of the failure. This information is generated by the system
and can be useful for diagnostic purposes.
If cause
is set to OPERATION_NOT_PERMITTED
, the decision failed
because it lacked sufficient permissions. For details and example IAM
policies, see
Using IAM to Manage Access to Amazon SWF Workflows
in the Amazon SWF Developer Guide.
$sel:decisionTaskCompletedEventId:StartTimerFailedEventAttributes'
, startTimerFailedEventAttributes_decisionTaskCompletedEventId
- 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: newTagFilter
smart constructor.
Instances
Eq TagFilter Source # | |
Read TagFilter Source # | |
Show TagFilter Source # | |
Generic TagFilter Source # | |
NFData TagFilter Source # | |
Defined in Amazonka.SWF.Types.TagFilter | |
Hashable TagFilter Source # | |
Defined in Amazonka.SWF.Types.TagFilter | |
ToJSON TagFilter Source # | |
Defined in Amazonka.SWF.Types.TagFilter | |
type Rep TagFilter Source # | |
Defined in Amazonka.SWF.Types.TagFilter |
Create a value of TagFilter
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:tag:TagFilter'
, tagFilter_tag
- Specifies the tag that must be associated with the execution for it to
meet the filter criteria.
Tags may only contain unicode letters, digits, whitespace, or these
symbols: _ . : / = + - @
.
TaskList
Represents a task list.
See: newTaskList
smart constructor.
Instances
Eq TaskList Source # | |
Read TaskList Source # | |
Show TaskList Source # | |
Generic TaskList Source # | |
NFData TaskList Source # | |
Defined in Amazonka.SWF.Types.TaskList | |
Hashable TaskList Source # | |
Defined in Amazonka.SWF.Types.TaskList | |
ToJSON TaskList Source # | |
Defined in Amazonka.SWF.Types.TaskList | |
FromJSON TaskList Source # | |
type Rep TaskList Source # | |
Defined in Amazonka.SWF.Types.TaskList |
Create a value of TaskList
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:name:TaskList'
, taskList_name
- The name of the task list.
TimerCanceledEventAttributes
data TimerCanceledEventAttributes Source #
Provides the details of the TimerCanceled
event.
See: newTimerCanceledEventAttributes
smart constructor.
Instances
newTimerCanceledEventAttributes Source #
:: Text | |
-> Integer | |
-> Integer |
|
-> TimerCanceledEventAttributes |
Create a value of TimerCanceledEventAttributes
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:timerId:TimerCanceledEventAttributes'
, timerCanceledEventAttributes_timerId
- The unique ID of the timer that was canceled.
$sel:startedEventId:TimerCanceledEventAttributes'
, timerCanceledEventAttributes_startedEventId
- 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.
$sel:decisionTaskCompletedEventId:TimerCanceledEventAttributes'
, timerCanceledEventAttributes_decisionTaskCompletedEventId
- 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 the details of the TimerFired
event.
See: newTimerFiredEventAttributes
smart constructor.
Instances
newTimerFiredEventAttributes Source #
:: Text | |
-> Integer | |
-> TimerFiredEventAttributes |
Create a value of TimerFiredEventAttributes
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:timerId:TimerFiredEventAttributes'
, timerFiredEventAttributes_timerId
- The unique ID of the timer that fired.
$sel:startedEventId:TimerFiredEventAttributes'
, timerFiredEventAttributes_startedEventId
- 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 the details of the TimerStarted
event.
See: newTimerStartedEventAttributes
smart constructor.
Instances
newTimerStartedEventAttributes Source #
:: Text | |
-> Text | |
-> Integer |
|
-> TimerStartedEventAttributes |
Create a value of TimerStartedEventAttributes
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:control:TimerStartedEventAttributes'
, timerStartedEventAttributes_control
- Data attached to the event that can be used by the decider in subsequent
workflow tasks.
$sel:timerId:TimerStartedEventAttributes'
, timerStartedEventAttributes_timerId
- The unique ID of the timer that was started.
$sel:startToFireTimeout:TimerStartedEventAttributes'
, timerStartedEventAttributes_startToFireTimeout
- The duration of time after which the timer fires.
The duration is specified in seconds, an integer greater than or equal
to 0
.
$sel:decisionTaskCompletedEventId:TimerStartedEventAttributes'
, timerStartedEventAttributes_decisionTaskCompletedEventId
- 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: newWorkflowExecution
smart constructor.
Instances
Create a value of WorkflowExecution
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:workflowId:WorkflowExecution'
, workflowExecution_workflowId
- The user defined identifier associated with the workflow execution.
$sel:runId:WorkflowExecution'
, workflowExecution_runId
- A system-generated unique identifier for the workflow execution.
WorkflowExecutionCancelRequestedEventAttributes
data WorkflowExecutionCancelRequestedEventAttributes Source #
Provides the details of the WorkflowExecutionCancelRequested
event.
See: newWorkflowExecutionCancelRequestedEventAttributes
smart constructor.
WorkflowExecutionCancelRequestedEventAttributes' (Maybe WorkflowExecution) (Maybe Integer) (Maybe WorkflowExecutionCancelRequestedCause) |
Instances
newWorkflowExecutionCancelRequestedEventAttributes :: WorkflowExecutionCancelRequestedEventAttributes Source #
Create a value of WorkflowExecutionCancelRequestedEventAttributes
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:externalWorkflowExecution:WorkflowExecutionCancelRequestedEventAttributes'
, workflowExecutionCancelRequestedEventAttributes_externalWorkflowExecution
- The external workflow execution for which the cancellation was
requested.
$sel:externalInitiatedEventId:WorkflowExecutionCancelRequestedEventAttributes'
, workflowExecutionCancelRequestedEventAttributes_externalInitiatedEventId
- 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.
$sel:cause:WorkflowExecutionCancelRequestedEventAttributes'
, workflowExecutionCancelRequestedEventAttributes_cause
- If set, indicates that the request to cancel the workflow execution was
automatically generated, and specifies the cause. This happens if the
parent workflow execution times out or is terminated, and the child
policy is set to cancel child executions.
WorkflowExecutionCanceledEventAttributes
data WorkflowExecutionCanceledEventAttributes Source #
Provides the details of the WorkflowExecutionCanceled
event.
See: newWorkflowExecutionCanceledEventAttributes
smart constructor.
Instances
newWorkflowExecutionCanceledEventAttributes Source #
:: Integer |
|
-> WorkflowExecutionCanceledEventAttributes |
Create a value of WorkflowExecutionCanceledEventAttributes
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:details:WorkflowExecutionCanceledEventAttributes'
, workflowExecutionCanceledEventAttributes_details
- The details of the cancellation.
$sel:decisionTaskCompletedEventId:WorkflowExecutionCanceledEventAttributes'
, workflowExecutionCanceledEventAttributes_decisionTaskCompletedEventId
- 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 the details of the WorkflowExecutionCompleted
event.
See: newWorkflowExecutionCompletedEventAttributes
smart constructor.
Instances
newWorkflowExecutionCompletedEventAttributes Source #
:: Integer |
|
-> WorkflowExecutionCompletedEventAttributes |
Create a value of WorkflowExecutionCompletedEventAttributes
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:result:WorkflowExecutionCompletedEventAttributes'
, workflowExecutionCompletedEventAttributes_result
- The result produced by the workflow execution upon successful
completion.
$sel:decisionTaskCompletedEventId:WorkflowExecutionCompletedEventAttributes'
, workflowExecutionCompletedEventAttributes_decisionTaskCompletedEventId
- 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: newWorkflowExecutionConfiguration
smart constructor.
Instances
newWorkflowExecutionConfiguration Source #
:: Text |
|
-> Text |
|
-> TaskList | |
-> ChildPolicy | |
-> WorkflowExecutionConfiguration |
Create a value of WorkflowExecutionConfiguration
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:lambdaRole:WorkflowExecutionConfiguration'
, workflowExecutionConfiguration_lambdaRole
- The IAM role attached to the child workflow execution.
$sel:taskPriority:WorkflowExecutionConfiguration'
, workflowExecutionConfiguration_taskPriority
- The priority assigned to decision tasks for this workflow execution.
Valid values are integers that range from Java's Integer.MIN_VALUE
(-2147483648) to Integer.MAX_VALUE
(2147483647). Higher numbers
indicate higher priority.
For more information about setting task priority, see Setting Task Priority in the Amazon SWF Developer Guide.
$sel:taskStartToCloseTimeout:WorkflowExecutionConfiguration'
, workflowExecutionConfiguration_taskStartToCloseTimeout
- 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
. You can use NONE
to specify unlimited duration.
$sel:executionStartToCloseTimeout:WorkflowExecutionConfiguration'
, workflowExecutionConfiguration_executionStartToCloseTimeout
- The total duration for this workflow execution.
The duration is specified in seconds, an integer greater than or equal
to 0
. You can use NONE
to specify unlimited duration.
$sel:taskList:WorkflowExecutionConfiguration'
, workflowExecutionConfiguration_taskList
- The task list used for the decision tasks generated for this workflow
execution.
$sel:childPolicy:WorkflowExecutionConfiguration'
, workflowExecutionConfiguration_childPolicy
- The policy to use for the child workflow executions if this workflow
execution is terminated, by calling the TerminateWorkflowExecution
action explicitly or due to an expired timeout.
The supported child policies are:
TERMINATE
– The child executions are terminated.REQUEST_CANCEL
– A request to cancel is attempted for each child execution by recording aWorkflowExecutionCancelRequested
event in its history. It is up to the decider to take appropriate actions when it receives an execution history with this event.ABANDON
– No action is taken. The child executions continue to run.
WorkflowExecutionContinuedAsNewEventAttributes
data WorkflowExecutionContinuedAsNewEventAttributes Source #
Provides the details of the WorkflowExecutionContinuedAsNew
event.
See: newWorkflowExecutionContinuedAsNewEventAttributes
smart constructor.
WorkflowExecutionContinuedAsNewEventAttributes' (Maybe [Text]) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) Integer Text TaskList ChildPolicy WorkflowType |
Instances
newWorkflowExecutionContinuedAsNewEventAttributes Source #
Create a value of WorkflowExecutionContinuedAsNewEventAttributes
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:tagList:WorkflowExecutionContinuedAsNewEventAttributes'
, workflowExecutionContinuedAsNewEventAttributes_tagList
- The list of tags associated with the new workflow execution.
$sel:taskStartToCloseTimeout:WorkflowExecutionContinuedAsNewEventAttributes'
, workflowExecutionContinuedAsNewEventAttributes_taskStartToCloseTimeout
- The maximum duration of decision tasks for the new workflow execution.
The duration is specified in seconds, an integer greater than or equal
to 0
. You can use NONE
to specify unlimited duration.
$sel:lambdaRole:WorkflowExecutionContinuedAsNewEventAttributes'
, workflowExecutionContinuedAsNewEventAttributes_lambdaRole
- The IAM role to attach to the new (continued) workflow execution.
$sel:input:WorkflowExecutionContinuedAsNewEventAttributes'
, workflowExecutionContinuedAsNewEventAttributes_input
- The input provided to the new workflow execution.
$sel:executionStartToCloseTimeout:WorkflowExecutionContinuedAsNewEventAttributes'
, workflowExecutionContinuedAsNewEventAttributes_executionStartToCloseTimeout
- The total duration allowed for the new workflow execution.
The duration is specified in seconds, an integer greater than or equal
to 0
. You can use NONE
to specify unlimited duration.
$sel:taskPriority:WorkflowExecutionContinuedAsNewEventAttributes'
, workflowExecutionContinuedAsNewEventAttributes_taskPriority
- The priority of the task to use for the decisions of the new (continued)
workflow execution.
$sel:decisionTaskCompletedEventId:WorkflowExecutionContinuedAsNewEventAttributes'
, workflowExecutionContinuedAsNewEventAttributes_decisionTaskCompletedEventId
- 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.
$sel:newExecutionRunId':WorkflowExecutionContinuedAsNewEventAttributes'
, workflowExecutionContinuedAsNewEventAttributes_newExecutionRunId
- The runId
of the new workflow execution.
$sel:taskList:WorkflowExecutionContinuedAsNewEventAttributes'
, workflowExecutionContinuedAsNewEventAttributes_taskList
- The task list to use for the decisions of the new (continued) workflow
execution.
$sel:childPolicy:WorkflowExecutionContinuedAsNewEventAttributes'
, workflowExecutionContinuedAsNewEventAttributes_childPolicy
- The policy to use for the child workflow executions of the new execution
if it is terminated by calling the TerminateWorkflowExecution action
explicitly or due to an expired timeout.
The supported child policies are:
TERMINATE
– The child executions are terminated.REQUEST_CANCEL
– A request to cancel is attempted for each child execution by recording aWorkflowExecutionCancelRequested
event in its history. It is up to the decider to take appropriate actions when it receives an execution history with this event.ABANDON
– No action is taken. The child executions continue to run.
$sel:workflowType:WorkflowExecutionContinuedAsNewEventAttributes'
, workflowExecutionContinuedAsNewEventAttributes_workflowType
- The workflow type of this execution.
WorkflowExecutionCount
data WorkflowExecutionCount Source #
Contains the count of workflow executions returned from CountOpenWorkflowExecutions or CountClosedWorkflowExecutions
See: newWorkflowExecutionCount
smart constructor.
Instances
newWorkflowExecutionCount Source #
Create a value of WorkflowExecutionCount
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:truncated:WorkflowExecutionCount'
, workflowExecutionCount_truncated
- 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.
$sel:count:WorkflowExecutionCount'
, workflowExecutionCount_count
- The number of workflow executions.
WorkflowExecutionFailedEventAttributes
data WorkflowExecutionFailedEventAttributes Source #
Provides the details of the WorkflowExecutionFailed
event.
See: newWorkflowExecutionFailedEventAttributes
smart constructor.
Instances
newWorkflowExecutionFailedEventAttributes Source #
:: Integer |
|
-> WorkflowExecutionFailedEventAttributes |
Create a value of WorkflowExecutionFailedEventAttributes
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:reason:WorkflowExecutionFailedEventAttributes'
, workflowExecutionFailedEventAttributes_reason
- The descriptive reason provided for the failure.
$sel:details:WorkflowExecutionFailedEventAttributes'
, workflowExecutionFailedEventAttributes_details
- The details of the failure.
$sel:decisionTaskCompletedEventId:WorkflowExecutionFailedEventAttributes'
, workflowExecutionFailedEventAttributes_decisionTaskCompletedEventId
- 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: newWorkflowExecutionFilter
smart constructor.
Instances
newWorkflowExecutionFilter Source #
Create a value of WorkflowExecutionFilter
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:workflowId:WorkflowExecutionFilter'
, workflowExecutionFilter_workflowId
- The workflowId to pass of match the criteria of this filter.
WorkflowExecutionInfo
data WorkflowExecutionInfo Source #
Contains information about a workflow execution.
See: newWorkflowExecutionInfo
smart constructor.
WorkflowExecutionInfo' (Maybe WorkflowExecution) (Maybe [Text]) (Maybe CloseStatus) (Maybe POSIX) (Maybe Bool) WorkflowExecution WorkflowType POSIX ExecutionStatus |
Instances
newWorkflowExecutionInfo Source #
Create a value of WorkflowExecutionInfo
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:parent:WorkflowExecutionInfo'
, workflowExecutionInfo_parent
- If this workflow execution is a child of another execution then contains
the workflow execution that started this execution.
$sel:tagList:WorkflowExecutionInfo'
, workflowExecutionInfo_tagList
- 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.
$sel:closeStatus:WorkflowExecutionInfo'
, workflowExecutionInfo_closeStatus
- 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.
$sel:closeTimestamp:WorkflowExecutionInfo'
, workflowExecutionInfo_closeTimestamp
- The time when the workflow execution was closed. Set only if the
execution status is CLOSED.
$sel:cancelRequested:WorkflowExecutionInfo'
, workflowExecutionInfo_cancelRequested
- Set to true if a cancellation is requested for this workflow execution.
$sel:execution:WorkflowExecutionInfo'
, workflowExecutionInfo_execution
- The workflow execution this information is about.
$sel:workflowType:WorkflowExecutionInfo'
, workflowExecutionInfo_workflowType
- The type of the workflow execution.
$sel:startTimestamp:WorkflowExecutionInfo'
, workflowExecutionInfo_startTimestamp
- The time when the execution was started.
$sel:executionStatus:WorkflowExecutionInfo'
, workflowExecutionInfo_executionStatus
- The current status of the execution.
WorkflowExecutionInfos
data WorkflowExecutionInfos Source #
Contains a paginated list of information about workflow executions.
See: newWorkflowExecutionInfos
smart constructor.
Instances
newWorkflowExecutionInfos :: WorkflowExecutionInfos Source #
Create a value of WorkflowExecutionInfos
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:nextPageToken:WorkflowExecutionInfos'
, workflowExecutionInfos_nextPageToken
- 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.
$sel:executionInfos:WorkflowExecutionInfos'
, workflowExecutionInfos_executionInfos
- 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: newWorkflowExecutionOpenCounts
smart constructor.
Instances
newWorkflowExecutionOpenCounts Source #
:: Natural | |
-> Natural | |
-> Natural | |
-> Natural |
|
-> WorkflowExecutionOpenCounts |
Create a value of WorkflowExecutionOpenCounts
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:openLambdaFunctions:WorkflowExecutionOpenCounts'
, workflowExecutionOpenCounts_openLambdaFunctions
- The count of Lambda tasks whose status is OPEN
.
$sel:openActivityTasks:WorkflowExecutionOpenCounts'
, workflowExecutionOpenCounts_openActivityTasks
- The count of activity tasks whose status is OPEN
.
$sel:openDecisionTasks:WorkflowExecutionOpenCounts'
, workflowExecutionOpenCounts_openDecisionTasks
- The count of decision tasks whose status is OPEN. A workflow execution
can have at most one open decision task.
$sel:openTimers:WorkflowExecutionOpenCounts'
, workflowExecutionOpenCounts_openTimers
- The count of timers started by this workflow execution that have not
fired yet.
$sel:openChildWorkflowExecutions:WorkflowExecutionOpenCounts'
, workflowExecutionOpenCounts_openChildWorkflowExecutions
- The count of child workflow executions whose status is OPEN
.
WorkflowExecutionSignaledEventAttributes
data WorkflowExecutionSignaledEventAttributes Source #
Provides the details of the WorkflowExecutionSignaled
event.
See: newWorkflowExecutionSignaledEventAttributes
smart constructor.
WorkflowExecutionSignaledEventAttributes' (Maybe WorkflowExecution) (Maybe Integer) (Maybe Text) Text |
Instances
newWorkflowExecutionSignaledEventAttributes Source #
Create a value of WorkflowExecutionSignaledEventAttributes
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:externalWorkflowExecution:WorkflowExecutionSignaledEventAttributes'
, workflowExecutionSignaledEventAttributes_externalWorkflowExecution
- The workflow execution that sent the signal. This is set only of the
signal was sent by another workflow execution.
$sel:externalInitiatedEventId:WorkflowExecutionSignaledEventAttributes'
, workflowExecutionSignaledEventAttributes_externalInitiatedEventId
- 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.
$sel:input:WorkflowExecutionSignaledEventAttributes'
, workflowExecutionSignaledEventAttributes_input
- The inputs provided with the signal. The decider can use the signal name
and inputs to determine how to process the signal.
$sel:signalName:WorkflowExecutionSignaledEventAttributes'
, workflowExecutionSignaledEventAttributes_signalName
- 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: newWorkflowExecutionStartedEventAttributes
smart constructor.
Instances
newWorkflowExecutionStartedEventAttributes Source #
Create a value of WorkflowExecutionStartedEventAttributes
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:parentInitiatedEventId:WorkflowExecutionStartedEventAttributes'
, workflowExecutionStartedEventAttributes_parentInitiatedEventId
- 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.
$sel:tagList:WorkflowExecutionStartedEventAttributes'
, workflowExecutionStartedEventAttributes_tagList
- The list of tags associated with this workflow execution. An execution
can have up to 5 tags.
$sel:taskStartToCloseTimeout:WorkflowExecutionStartedEventAttributes'
, workflowExecutionStartedEventAttributes_taskStartToCloseTimeout
- The maximum duration of decision tasks for this workflow type.
The duration is specified in seconds, an integer greater than or equal
to 0
. You can use NONE
to specify unlimited duration.
$sel:lambdaRole:WorkflowExecutionStartedEventAttributes'
, workflowExecutionStartedEventAttributes_lambdaRole
- The IAM role attached to the workflow execution.
$sel:input:WorkflowExecutionStartedEventAttributes'
, workflowExecutionStartedEventAttributes_input
- The input provided to the workflow execution.
$sel:executionStartToCloseTimeout:WorkflowExecutionStartedEventAttributes'
, workflowExecutionStartedEventAttributes_executionStartToCloseTimeout
- The maximum duration for this workflow execution.
The duration is specified in seconds, an integer greater than or equal
to 0
. You can use NONE
to specify unlimited duration.
$sel:taskPriority:WorkflowExecutionStartedEventAttributes'
, workflowExecutionStartedEventAttributes_taskPriority
- The priority of the decision tasks in the workflow execution.
$sel:parentWorkflowExecution:WorkflowExecutionStartedEventAttributes'
, workflowExecutionStartedEventAttributes_parentWorkflowExecution
- The source workflow execution that started this workflow execution. The
member isn't set if the workflow execution was not started by a
workflow.
$sel:continuedExecutionRunId:WorkflowExecutionStartedEventAttributes'
, workflowExecutionStartedEventAttributes_continuedExecutionRunId
- 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.
$sel:childPolicy:WorkflowExecutionStartedEventAttributes'
, workflowExecutionStartedEventAttributes_childPolicy
- The policy to use for the child workflow executions if this workflow
execution is terminated, by calling the TerminateWorkflowExecution
action explicitly or due to an expired timeout.
The supported child policies are:
TERMINATE
– The child executions are terminated.REQUEST_CANCEL
– A request to cancel is attempted for each child execution by recording aWorkflowExecutionCancelRequested
event in its history. It is up to the decider to take appropriate actions when it receives an execution history with this event.ABANDON
– No action is taken. The child executions continue to run.
$sel:taskList:WorkflowExecutionStartedEventAttributes'
, workflowExecutionStartedEventAttributes_taskList
- The name of the task list for scheduling the decision tasks for this
workflow execution.
$sel:workflowType:WorkflowExecutionStartedEventAttributes'
, workflowExecutionStartedEventAttributes_workflowType
- The workflow type of this execution.
WorkflowExecutionTerminatedEventAttributes
data WorkflowExecutionTerminatedEventAttributes Source #
Provides the details of the WorkflowExecutionTerminated
event.
See: newWorkflowExecutionTerminatedEventAttributes
smart constructor.
WorkflowExecutionTerminatedEventAttributes' (Maybe WorkflowExecutionTerminatedCause) (Maybe Text) (Maybe Text) ChildPolicy |
Instances
newWorkflowExecutionTerminatedEventAttributes Source #
:: ChildPolicy |
|
-> WorkflowExecutionTerminatedEventAttributes |
Create a value of WorkflowExecutionTerminatedEventAttributes
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:cause:WorkflowExecutionTerminatedEventAttributes'
, workflowExecutionTerminatedEventAttributes_cause
- If set, indicates that the workflow execution was automatically
terminated, and specifies the cause. This happens if the parent workflow
execution times out or is terminated and the child policy is set to
terminate child executions.
$sel:reason:WorkflowExecutionTerminatedEventAttributes'
, workflowExecutionTerminatedEventAttributes_reason
- The reason provided for the termination.
$sel:details:WorkflowExecutionTerminatedEventAttributes'
, workflowExecutionTerminatedEventAttributes_details
- The details provided for the termination.
$sel:childPolicy:WorkflowExecutionTerminatedEventAttributes'
, workflowExecutionTerminatedEventAttributes_childPolicy
- The policy used for the child workflow executions of this workflow
execution.
The supported child policies are:
TERMINATE
– The child executions are terminated.REQUEST_CANCEL
– A request to cancel is attempted for each child execution by recording aWorkflowExecutionCancelRequested
event in its history. It is up to the decider to take appropriate actions when it receives an execution history with this event.ABANDON
– No action is taken. The child executions continue to run.
WorkflowExecutionTimedOutEventAttributes
data WorkflowExecutionTimedOutEventAttributes Source #
Provides the details of the WorkflowExecutionTimedOut
event.
See: newWorkflowExecutionTimedOutEventAttributes
smart constructor.
Instances
newWorkflowExecutionTimedOutEventAttributes Source #
Create a value of WorkflowExecutionTimedOutEventAttributes
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:timeoutType:WorkflowExecutionTimedOutEventAttributes'
, workflowExecutionTimedOutEventAttributes_timeoutType
- The type of timeout that caused this event.
$sel:childPolicy:WorkflowExecutionTimedOutEventAttributes'
, workflowExecutionTimedOutEventAttributes_childPolicy
- The policy used for the child workflow executions of this workflow
execution.
The supported child policies are:
TERMINATE
– The child executions are terminated.REQUEST_CANCEL
– A request to cancel is attempted for each child execution by recording aWorkflowExecutionCancelRequested
event in its history. It is up to the decider to take appropriate actions when it receives an execution history with this event.ABANDON
– No action is taken. The child executions continue to run.
WorkflowType
data WorkflowType Source #
Represents a workflow type.
See: newWorkflowType
smart constructor.
Instances
Create a value of WorkflowType
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:name:WorkflowType'
, workflowType_name
- The name of the workflow type.
The combination of workflow type name and version must be unique with in a domain.
$sel:version:WorkflowType'
, workflowType_version
- 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: newWorkflowTypeConfiguration
smart constructor.
WorkflowTypeConfiguration' (Maybe Text) (Maybe ChildPolicy) (Maybe TaskList) (Maybe Text) (Maybe Text) (Maybe Text) |
Instances
newWorkflowTypeConfiguration :: WorkflowTypeConfiguration Source #
Create a value of WorkflowTypeConfiguration
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:defaultLambdaRole:WorkflowTypeConfiguration'
, workflowTypeConfiguration_defaultLambdaRole
- The default IAM role attached to this workflow type.
Executions of this workflow type need IAM roles to invoke Lambda functions. If you don't specify an IAM role when starting this workflow type, the default Lambda role is attached to the execution. For more information, see https://docs.aws.amazon.com/amazonswf/latest/developerguide/lambda-task.html in the Amazon SWF Developer Guide.
$sel:defaultChildPolicy:WorkflowTypeConfiguration'
, workflowTypeConfiguration_defaultChildPolicy
- 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 are terminated.REQUEST_CANCEL
– A request to cancel is attempted for each child execution by recording aWorkflowExecutionCancelRequested
event in its history. It is up to the decider to take appropriate actions when it receives an execution history with this event.ABANDON
– No action is taken. The child executions continue to run.
$sel:defaultTaskList:WorkflowTypeConfiguration'
, workflowTypeConfiguration_defaultTaskList
- 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.
$sel:defaultTaskPriority:WorkflowTypeConfiguration'
, workflowTypeConfiguration_defaultTaskPriority
- 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 Integer.MIN_VALUE
(-2147483648) to Integer.MAX_VALUE
(2147483647). Higher numbers
indicate higher priority.
For more information about setting task priority, see Setting Task Priority in the Amazon SWF Developer Guide.
$sel:defaultExecutionStartToCloseTimeout:WorkflowTypeConfiguration'
, workflowTypeConfiguration_defaultExecutionStartToCloseTimeout
- 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
. You can use NONE
to specify unlimited duration.
$sel:defaultTaskStartToCloseTimeout:WorkflowTypeConfiguration'
, workflowTypeConfiguration_defaultTaskStartToCloseTimeout
- 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 doesn'tdo
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
. You can use NONE
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: newWorkflowTypeFilter
smart constructor.
Instances
newWorkflowTypeFilter Source #
Create a value of WorkflowTypeFilter
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:version:WorkflowTypeFilter'
, workflowTypeFilter_version
- Version of the workflow type.
$sel:name:WorkflowTypeFilter'
, workflowTypeFilter_name
- Name of the workflow type.
WorkflowTypeInfo
data WorkflowTypeInfo Source #
Contains information about a workflow type.
See: newWorkflowTypeInfo
smart constructor.
Instances
Create a value of WorkflowTypeInfo
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:deprecationDate:WorkflowTypeInfo'
, workflowTypeInfo_deprecationDate
- If the type is in deprecated state, then it is set to the date when the
type was deprecated.
$sel:description:WorkflowTypeInfo'
, workflowTypeInfo_description
- The description of the type registered through RegisterWorkflowType.
$sel:workflowType:WorkflowTypeInfo'
, workflowTypeInfo_workflowType
- The workflow type this information is about.
$sel:status:WorkflowTypeInfo'
, workflowTypeInfo_status
- The current status of the workflow type.
$sel:creationDate:WorkflowTypeInfo'
, workflowTypeInfo_creationDate
- The date when this type was registered.