-- Hoogle documentation, generated by Haddock
-- See Hoogle, http://www.haskell.org/hoogle/


-- | Amazon Step Functions SDK.
--   
--   The types from this library are intended to be used with
--   <a>amazonka</a>, which provides mechanisms for specifying AuthN/AuthZ
--   information, sending requests, and receiving responses.
--   
--   Lenses are used for constructing and manipulating types, due to the
--   depth of nesting of AWS types and transparency regarding
--   de/serialisation into more palatable Haskell values. The provided
--   lenses should be compatible with any of the major lens libraries such
--   as <a>lens</a> or <a>lens-family-core</a>.
--   
--   See <a>Network.AWS.StepFunctions</a> or <a>the AWS documentation</a>
--   to get started.
@package amazonka-stepfunctions
@version 1.6.0


module Network.AWS.StepFunctions.Types

-- | API version <tt>2016-11-23</tt> of the Amazon Step Functions SDK
--   configuration.
stepFunctions :: Service

-- | The maximum number of running executions has been reached. Running
--   executions must end or be stopped before a new execution can be
--   started.
_ExecutionLimitExceeded :: AsError a => Getting (First ServiceError) a ServiceError

-- | The provided Amazon States Language definition is invalid.
_InvalidDefinition :: AsError a => Getting (First ServiceError) a ServiceError

-- | The maximum number of state machines has been reached. Existing state
--   machines must be deleted before a new state machine can be created.
_StateMachineLimitExceeded :: AsError a => Getting (First ServiceError) a ServiceError

-- | The execution has the same <tt>name</tt> as another execution (but a
--   different <tt>input</tt> ).
_ExecutionAlreadyExists :: AsError a => Getting (First ServiceError) a ServiceError

-- | A state machine with the same name but a different definition or role
--   ARN already exists.
_StateMachineAlreadyExists :: AsError a => Getting (First ServiceError) a ServiceError

-- | Prism for TaskTimedOut' errors.
_TaskTimedOut :: AsError a => Getting (First ServiceError) a ServiceError

-- | The provided JSON input data is invalid.
_InvalidExecutionInput :: AsError a => Getting (First ServiceError) a ServiceError

-- | The provided JSON output data is invalid.
_InvalidOutput :: AsError a => Getting (First ServiceError) a ServiceError

-- | The provided name is invalid.
_InvalidName :: AsError a => Getting (First ServiceError) a ServiceError

-- | Prism for TaskDoesNotExist' errors.
_TaskDoesNotExist :: AsError a => Getting (First ServiceError) a ServiceError

-- | The specified activity does not exist.
_ActivityDoesNotExist :: AsError a => Getting (First ServiceError) a ServiceError

-- | The specified state machine is being deleted.
_StateMachineDeleting :: AsError a => Getting (First ServiceError) a ServiceError

-- | Request is missing a required parameter. This error occurs if both
--   <tt>definition</tt> and <tt>roleArn</tt> are not specified.
_MissingRequiredParameter :: AsError a => Getting (First ServiceError) a ServiceError

-- | The provided Amazon Resource Name (ARN) is invalid.
_InvalidARN :: AsError a => Getting (First ServiceError) a ServiceError

-- | The provided token is invalid.
_InvalidToken :: AsError a => Getting (First ServiceError) a ServiceError

-- | The maximum number of workers concurrently polling for activity tasks
--   has been reached.
_ActivityWorkerLimitExceeded :: AsError a => Getting (First ServiceError) a ServiceError

-- | The maximum number of activities has been reached. Existing activities
--   must be deleted before a new activity can be created.
_ActivityLimitExceeded :: AsError a => Getting (First ServiceError) a ServiceError

-- | The specified execution does not exist.
_ExecutionDoesNotExist :: AsError a => Getting (First ServiceError) a ServiceError

-- | The specified state machine does not exist.
_StateMachineDoesNotExist :: AsError a => Getting (First ServiceError) a ServiceError
data ExecutionStatus
Aborted :: ExecutionStatus
Failed :: ExecutionStatus
Running :: ExecutionStatus
Succeeded :: ExecutionStatus
TimedOut :: ExecutionStatus
data HistoryEventType
ActivityFailed :: HistoryEventType
ActivityScheduleFailed :: HistoryEventType
ActivityScheduled :: HistoryEventType
ActivityStarted :: HistoryEventType
ActivitySucceeded :: HistoryEventType
ActivityTimedOut :: HistoryEventType
ChoiceStateEntered :: HistoryEventType
ChoiceStateExited :: HistoryEventType
ExecutionAborted :: HistoryEventType
ExecutionFailed :: HistoryEventType
ExecutionStarted :: HistoryEventType
ExecutionSucceeded :: HistoryEventType
ExecutionTimedOut :: HistoryEventType
FailStateEntered :: HistoryEventType
LambdaFunctionFailed :: HistoryEventType
LambdaFunctionScheduleFailed :: HistoryEventType
LambdaFunctionScheduled :: HistoryEventType
LambdaFunctionStartFailed :: HistoryEventType
LambdaFunctionStarted :: HistoryEventType
LambdaFunctionSucceeded :: HistoryEventType
LambdaFunctionTimedOut :: HistoryEventType
ParallelStateAborted :: HistoryEventType
ParallelStateEntered :: HistoryEventType
ParallelStateExited :: HistoryEventType
ParallelStateFailed :: HistoryEventType
ParallelStateStarted :: HistoryEventType
ParallelStateSucceeded :: HistoryEventType
PassStateEntered :: HistoryEventType
PassStateExited :: HistoryEventType
SucceedStateEntered :: HistoryEventType
SucceedStateExited :: HistoryEventType
TaskStateAborted :: HistoryEventType
TaskStateEntered :: HistoryEventType
TaskStateExited :: HistoryEventType
WaitStateAborted :: HistoryEventType
WaitStateEntered :: HistoryEventType
WaitStateExited :: HistoryEventType
data StateMachineStatus
Active :: StateMachineStatus
Deleting :: StateMachineStatus

-- | Contains details about an activity which failed during an execution.
--   
--   <i>See:</i> <a>activityFailedEventDetails</a> smart constructor.
data ActivityFailedEventDetails

-- | Creates a value of <a>ActivityFailedEventDetails</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>afedError</a> - The error code of the failure.</li>
--   <li><a>afedCause</a> - A more detailed explanation of the cause of the
--   failure.</li>
--   </ul>
activityFailedEventDetails :: ActivityFailedEventDetails

-- | The error code of the failure.
afedError :: Lens' ActivityFailedEventDetails (Maybe Text)

-- | A more detailed explanation of the cause of the failure.
afedCause :: Lens' ActivityFailedEventDetails (Maybe Text)

-- | Contains details about an activity.
--   
--   <i>See:</i> <a>activityListItem</a> smart constructor.
data ActivityListItem

-- | Creates a value of <a>ActivityListItem</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>aliActivityARN</a> - The Amazon Resource Name (ARN) that
--   identifies the activity.</li>
--   <li><a>aliName</a> - The name of the activity. A name must <i>not</i>
--   contain: * whitespace * brackets <tt><a></a> { } [ ]</tt> * wildcard
--   characters <tt>? *</tt> * special characters <tt>" # % ^ | ~ ` $ &amp;
--   , ; : /</tt> * control characters (<tt>U+0000-001F</tt> ,
--   <tt>U+007F-009F</tt> )</li>
--   <li><a>aliCreationDate</a> - The date the activity is created.</li>
--   </ul>
activityListItem :: Text -> Text -> UTCTime -> ActivityListItem

-- | The Amazon Resource Name (ARN) that identifies the activity.
aliActivityARN :: Lens' ActivityListItem Text

-- | The name of the activity. A name must <i>not</i> contain: * whitespace
--   * brackets <tt><a></a> { } [ ]</tt> * wildcard characters <tt>? *</tt>
--   * special characters <tt>" # % ^ | ~ ` $ &amp; , ; : /</tt> * control
--   characters (<tt>U+0000-001F</tt> , <tt>U+007F-009F</tt> )
aliName :: Lens' ActivityListItem Text

-- | The date the activity is created.
aliCreationDate :: Lens' ActivityListItem UTCTime

-- | Contains details about an activity schedule failure which occurred
--   during an execution.
--   
--   <i>See:</i> <a>activityScheduleFailedEventDetails</a> smart
--   constructor.
data ActivityScheduleFailedEventDetails

-- | Creates a value of <a>ActivityScheduleFailedEventDetails</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>asfedError</a> - The error code of the failure.</li>
--   <li><a>asfedCause</a> - A more detailed explanation of the cause of
--   the failure.</li>
--   </ul>
activityScheduleFailedEventDetails :: ActivityScheduleFailedEventDetails

-- | The error code of the failure.
asfedError :: Lens' ActivityScheduleFailedEventDetails (Maybe Text)

-- | A more detailed explanation of the cause of the failure.
asfedCause :: Lens' ActivityScheduleFailedEventDetails (Maybe Text)

-- | Contains details about an activity scheduled during an execution.
--   
--   <i>See:</i> <a>activityScheduledEventDetails</a> smart constructor.
data ActivityScheduledEventDetails

-- | Creates a value of <a>ActivityScheduledEventDetails</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>asedHeartbeatInSeconds</a> - The maximum allowed duration
--   between two heartbeats for the activity task.</li>
--   <li><a>asedInput</a> - The JSON data input to the activity task.</li>
--   <li><a>asedTimeoutInSeconds</a> - The maximum allowed duration of the
--   activity task.</li>
--   <li><a>asedResource</a> - The Amazon Resource Name (ARN) of the
--   scheduled activity.</li>
--   </ul>
activityScheduledEventDetails :: Text -> ActivityScheduledEventDetails

-- | The maximum allowed duration between two heartbeats for the activity
--   task.
asedHeartbeatInSeconds :: Lens' ActivityScheduledEventDetails (Maybe Integer)

-- | The JSON data input to the activity task.
asedInput :: Lens' ActivityScheduledEventDetails (Maybe Text)

-- | The maximum allowed duration of the activity task.
asedTimeoutInSeconds :: Lens' ActivityScheduledEventDetails (Maybe Integer)

-- | The Amazon Resource Name (ARN) of the scheduled activity.
asedResource :: Lens' ActivityScheduledEventDetails Text

-- | Contains details about the start of an activity during an execution.
--   
--   <i>See:</i> <a>activityStartedEventDetails</a> smart constructor.
data ActivityStartedEventDetails

-- | Creates a value of <a>ActivityStartedEventDetails</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>asedWorkerName</a> - The name of the worker that the task is
--   assigned to. These names are provided by the workers when calling
--   <tt>GetActivityTask</tt> .</li>
--   </ul>
activityStartedEventDetails :: ActivityStartedEventDetails

-- | The name of the worker that the task is assigned to. These names are
--   provided by the workers when calling <tt>GetActivityTask</tt> .
asedWorkerName :: Lens' ActivityStartedEventDetails (Maybe Text)

-- | Contains details about an activity which successfully terminated
--   during an execution.
--   
--   <i>See:</i> <a>activitySucceededEventDetails</a> smart constructor.
data ActivitySucceededEventDetails

-- | Creates a value of <a>ActivitySucceededEventDetails</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>asedOutput</a> - The JSON data output by the activity
--   task.</li>
--   </ul>
activitySucceededEventDetails :: ActivitySucceededEventDetails

-- | The JSON data output by the activity task.
asedOutput :: Lens' ActivitySucceededEventDetails (Maybe Text)

-- | Contains details about an activity timeout which occurred during an
--   execution.
--   
--   <i>See:</i> <a>activityTimedOutEventDetails</a> smart constructor.
data ActivityTimedOutEventDetails

-- | Creates a value of <a>ActivityTimedOutEventDetails</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>atoedError</a> - The error code of the failure.</li>
--   <li><a>atoedCause</a> - A more detailed explanation of the cause of
--   the timeout.</li>
--   </ul>
activityTimedOutEventDetails :: ActivityTimedOutEventDetails

-- | The error code of the failure.
atoedError :: Lens' ActivityTimedOutEventDetails (Maybe Text)

-- | A more detailed explanation of the cause of the timeout.
atoedCause :: Lens' ActivityTimedOutEventDetails (Maybe Text)

-- | Contains details about an abort of an execution.
--   
--   <i>See:</i> <a>executionAbortedEventDetails</a> smart constructor.
data ExecutionAbortedEventDetails

-- | Creates a value of <a>ExecutionAbortedEventDetails</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>eaedError</a> - The error code of the failure.</li>
--   <li><a>eaedCause</a> - A more detailed explanation of the cause of the
--   failure.</li>
--   </ul>
executionAbortedEventDetails :: ExecutionAbortedEventDetails

-- | The error code of the failure.
eaedError :: Lens' ExecutionAbortedEventDetails (Maybe Text)

-- | A more detailed explanation of the cause of the failure.
eaedCause :: Lens' ExecutionAbortedEventDetails (Maybe Text)

-- | Contains details about an execution failure event.
--   
--   <i>See:</i> <a>executionFailedEventDetails</a> smart constructor.
data ExecutionFailedEventDetails

-- | Creates a value of <a>ExecutionFailedEventDetails</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>efedError</a> - The error code of the failure.</li>
--   <li><a>efedCause</a> - A more detailed explanation of the cause of the
--   failure.</li>
--   </ul>
executionFailedEventDetails :: ExecutionFailedEventDetails

-- | The error code of the failure.
efedError :: Lens' ExecutionFailedEventDetails (Maybe Text)

-- | A more detailed explanation of the cause of the failure.
efedCause :: Lens' ExecutionFailedEventDetails (Maybe Text)

-- | Contains details about an execution.
--   
--   <i>See:</i> <a>executionListItem</a> smart constructor.
data ExecutionListItem

-- | Creates a value of <a>ExecutionListItem</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>eliStopDate</a> - If the execution already ended, the date the
--   execution stopped.</li>
--   <li><a>eliExecutionARN</a> - The Amazon Resource Name (ARN) that
--   identifies the execution.</li>
--   <li><a>eliStateMachineARN</a> - The Amazon Resource Name (ARN) of the
--   executed state machine.</li>
--   <li><a>eliName</a> - The name of the execution. A name must <i>not</i>
--   contain: * whitespace * brackets <tt><a></a> { } [ ]</tt> * wildcard
--   characters <tt>? *</tt> * special characters <tt>" # % ^ | ~ ` $ &amp;
--   , ; : /</tt> * control characters (<tt>U+0000-001F</tt> ,
--   <tt>U+007F-009F</tt> )</li>
--   <li><a>eliStatus</a> - The current status of the execution.</li>
--   <li><a>eliStartDate</a> - The date the execution started.</li>
--   </ul>
executionListItem :: Text -> Text -> Text -> ExecutionStatus -> UTCTime -> ExecutionListItem

-- | If the execution already ended, the date the execution stopped.
eliStopDate :: Lens' ExecutionListItem (Maybe UTCTime)

-- | The Amazon Resource Name (ARN) that identifies the execution.
eliExecutionARN :: Lens' ExecutionListItem Text

-- | The Amazon Resource Name (ARN) of the executed state machine.
eliStateMachineARN :: Lens' ExecutionListItem Text

-- | The name of the execution. A name must <i>not</i> contain: *
--   whitespace * brackets <tt><a></a> { } [ ]</tt> * wildcard characters
--   <tt>? *</tt> * special characters <tt>" # % ^ | ~ ` $ &amp; , ; :
--   /</tt> * control characters (<tt>U+0000-001F</tt> ,
--   <tt>U+007F-009F</tt> )
eliName :: Lens' ExecutionListItem Text

-- | The current status of the execution.
eliStatus :: Lens' ExecutionListItem ExecutionStatus

-- | The date the execution started.
eliStartDate :: Lens' ExecutionListItem UTCTime

-- | Contains details about the start of the execution.
--   
--   <i>See:</i> <a>executionStartedEventDetails</a> smart constructor.
data ExecutionStartedEventDetails

-- | Creates a value of <a>ExecutionStartedEventDetails</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>esedInput</a> - The JSON data input to the execution.</li>
--   <li><a>esedRoleARN</a> - The Amazon Resource Name (ARN) of the IAM
--   role used for executing AWS Lambda tasks.</li>
--   </ul>
executionStartedEventDetails :: ExecutionStartedEventDetails

-- | The JSON data input to the execution.
esedInput :: Lens' ExecutionStartedEventDetails (Maybe Text)

-- | The Amazon Resource Name (ARN) of the IAM role used for executing AWS
--   Lambda tasks.
esedRoleARN :: Lens' ExecutionStartedEventDetails (Maybe Text)

-- | Contains details about the successful termination of the execution.
--   
--   <i>See:</i> <a>executionSucceededEventDetails</a> smart constructor.
data ExecutionSucceededEventDetails

-- | Creates a value of <a>ExecutionSucceededEventDetails</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>esedOutput</a> - The JSON data output by the execution.</li>
--   </ul>
executionSucceededEventDetails :: ExecutionSucceededEventDetails

-- | The JSON data output by the execution.
esedOutput :: Lens' ExecutionSucceededEventDetails (Maybe Text)

-- | Contains details about the execution timeout which occurred during the
--   execution.
--   
--   <i>See:</i> <a>executionTimedOutEventDetails</a> smart constructor.
data ExecutionTimedOutEventDetails

-- | Creates a value of <a>ExecutionTimedOutEventDetails</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>etoedError</a> - The error code of the failure.</li>
--   <li><a>etoedCause</a> - A more detailed explanation of the cause of
--   the timeout.</li>
--   </ul>
executionTimedOutEventDetails :: ExecutionTimedOutEventDetails

-- | The error code of the failure.
etoedError :: Lens' ExecutionTimedOutEventDetails (Maybe Text)

-- | A more detailed explanation of the cause of the timeout.
etoedCause :: Lens' ExecutionTimedOutEventDetails (Maybe Text)

-- | Contains details about the events of an execution.
--   
--   <i>See:</i> <a>historyEvent</a> smart constructor.
data HistoryEvent

-- | Creates a value of <a>HistoryEvent</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>heActivityStartedEventDetails</a> - Undocumented member.</li>
--   <li><a>heLambdaFunctionStartFailedEventDetails</a> - Contains details
--   about a lambda function which failed to start during an
--   execution.</li>
--   <li><a>heStateExitedEventDetails</a> - Undocumented member.</li>
--   <li><a>heLambdaFunctionSucceededEventDetails</a> - Contains details
--   about a lambda function which terminated successfully during an
--   execution.</li>
--   <li><a>heActivitySucceededEventDetails</a> - Undocumented member.</li>
--   <li><a>heLambdaFunctionTimedOutEventDetails</a> - Undocumented
--   member.</li>
--   <li><a>heActivityTimedOutEventDetails</a> - Undocumented member.</li>
--   <li><a>heExecutionFailedEventDetails</a> - Undocumented member.</li>
--   <li><a>heExecutionAbortedEventDetails</a> - Undocumented member.</li>
--   <li><a>heExecutionSucceededEventDetails</a> - Undocumented
--   member.</li>
--   <li><a>heLambdaFunctionScheduledEventDetails</a> - Undocumented
--   member.</li>
--   <li><a>heActivityScheduledEventDetails</a> - Undocumented member.</li>
--   <li><a>heExecutionStartedEventDetails</a> - Undocumented member.</li>
--   <li><a>heActivityScheduleFailedEventDetails</a> - Contains details
--   about an activity schedule event which failed during an
--   execution.</li>
--   <li><a>heLambdaFunctionScheduleFailedEventDetails</a> - Undocumented
--   member.</li>
--   <li><a>heStateEnteredEventDetails</a> - Undocumented member.</li>
--   <li><a>hePreviousEventId</a> - The id of the previous event.</li>
--   <li><a>heActivityFailedEventDetails</a> - Undocumented member.</li>
--   <li><a>heLambdaFunctionFailedEventDetails</a> - Undocumented
--   member.</li>
--   <li><a>heExecutionTimedOutEventDetails</a> - Undocumented member.</li>
--   <li><a>heTimestamp</a> - The date the event occurred.</li>
--   <li><a>heType</a> - The type of the event.</li>
--   <li><a>heId</a> - The id of the event. Events are numbered
--   sequentially, starting at one.</li>
--   </ul>
historyEvent :: UTCTime -> HistoryEventType -> Integer -> HistoryEvent

-- | Undocumented member.
heActivityStartedEventDetails :: Lens' HistoryEvent (Maybe ActivityStartedEventDetails)

-- | Contains details about a lambda function which failed to start during
--   an execution.
heLambdaFunctionStartFailedEventDetails :: Lens' HistoryEvent (Maybe LambdaFunctionStartFailedEventDetails)

-- | Undocumented member.
heStateExitedEventDetails :: Lens' HistoryEvent (Maybe StateExitedEventDetails)

-- | Contains details about a lambda function which terminated successfully
--   during an execution.
heLambdaFunctionSucceededEventDetails :: Lens' HistoryEvent (Maybe LambdaFunctionSucceededEventDetails)

-- | Undocumented member.
heActivitySucceededEventDetails :: Lens' HistoryEvent (Maybe ActivitySucceededEventDetails)

-- | Undocumented member.
heLambdaFunctionTimedOutEventDetails :: Lens' HistoryEvent (Maybe LambdaFunctionTimedOutEventDetails)

-- | Undocumented member.
heActivityTimedOutEventDetails :: Lens' HistoryEvent (Maybe ActivityTimedOutEventDetails)

-- | Undocumented member.
heExecutionFailedEventDetails :: Lens' HistoryEvent (Maybe ExecutionFailedEventDetails)

-- | Undocumented member.
heExecutionAbortedEventDetails :: Lens' HistoryEvent (Maybe ExecutionAbortedEventDetails)

-- | Undocumented member.
heExecutionSucceededEventDetails :: Lens' HistoryEvent (Maybe ExecutionSucceededEventDetails)

-- | Undocumented member.
heLambdaFunctionScheduledEventDetails :: Lens' HistoryEvent (Maybe LambdaFunctionScheduledEventDetails)

-- | Undocumented member.
heActivityScheduledEventDetails :: Lens' HistoryEvent (Maybe ActivityScheduledEventDetails)

-- | Undocumented member.
heExecutionStartedEventDetails :: Lens' HistoryEvent (Maybe ExecutionStartedEventDetails)

-- | Contains details about an activity schedule event which failed during
--   an execution.
heActivityScheduleFailedEventDetails :: Lens' HistoryEvent (Maybe ActivityScheduleFailedEventDetails)

-- | Undocumented member.
heLambdaFunctionScheduleFailedEventDetails :: Lens' HistoryEvent (Maybe LambdaFunctionScheduleFailedEventDetails)

-- | Undocumented member.
heStateEnteredEventDetails :: Lens' HistoryEvent (Maybe StateEnteredEventDetails)

-- | The id of the previous event.
hePreviousEventId :: Lens' HistoryEvent (Maybe Integer)

-- | Undocumented member.
heActivityFailedEventDetails :: Lens' HistoryEvent (Maybe ActivityFailedEventDetails)

-- | Undocumented member.
heLambdaFunctionFailedEventDetails :: Lens' HistoryEvent (Maybe LambdaFunctionFailedEventDetails)

-- | Undocumented member.
heExecutionTimedOutEventDetails :: Lens' HistoryEvent (Maybe ExecutionTimedOutEventDetails)

-- | The date the event occurred.
heTimestamp :: Lens' HistoryEvent UTCTime

-- | The type of the event.
heType :: Lens' HistoryEvent HistoryEventType

-- | The id of the event. Events are numbered sequentially, starting at
--   one.
heId :: Lens' HistoryEvent Integer

-- | Contains details about a lambda function which failed during an
--   execution.
--   
--   <i>See:</i> <a>lambdaFunctionFailedEventDetails</a> smart constructor.
data LambdaFunctionFailedEventDetails

-- | Creates a value of <a>LambdaFunctionFailedEventDetails</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>lffedError</a> - The error code of the failure.</li>
--   <li><a>lffedCause</a> - A more detailed explanation of the cause of
--   the failure.</li>
--   </ul>
lambdaFunctionFailedEventDetails :: LambdaFunctionFailedEventDetails

-- | The error code of the failure.
lffedError :: Lens' LambdaFunctionFailedEventDetails (Maybe Text)

-- | A more detailed explanation of the cause of the failure.
lffedCause :: Lens' LambdaFunctionFailedEventDetails (Maybe Text)

-- | Contains details about a failed lambda function schedule event which
--   occurred during an execution.
--   
--   <i>See:</i> <a>lambdaFunctionScheduleFailedEventDetails</a> smart
--   constructor.
data LambdaFunctionScheduleFailedEventDetails

-- | Creates a value of <a>LambdaFunctionScheduleFailedEventDetails</a>
--   with the minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>lError</a> - The error code of the failure.</li>
--   <li><a>lCause</a> - A more detailed explanation of the cause of the
--   failure.</li>
--   </ul>
lambdaFunctionScheduleFailedEventDetails :: LambdaFunctionScheduleFailedEventDetails

-- | The error code of the failure.
lError :: Lens' LambdaFunctionScheduleFailedEventDetails (Maybe Text)

-- | A more detailed explanation of the cause of the failure.
lCause :: Lens' LambdaFunctionScheduleFailedEventDetails (Maybe Text)

-- | Contains details about a lambda function scheduled during an
--   execution.
--   
--   <i>See:</i> <a>lambdaFunctionScheduledEventDetails</a> smart
--   constructor.
data LambdaFunctionScheduledEventDetails

-- | Creates a value of <a>LambdaFunctionScheduledEventDetails</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>lfsedInput</a> - The JSON data input to the lambda
--   function.</li>
--   <li><a>lfsedTimeoutInSeconds</a> - The maximum allowed duration of the
--   lambda function.</li>
--   <li><a>lfsedResource</a> - The Amazon Resource Name (ARN) of the
--   scheduled lambda function.</li>
--   </ul>
lambdaFunctionScheduledEventDetails :: Text -> LambdaFunctionScheduledEventDetails

-- | The JSON data input to the lambda function.
lfsedInput :: Lens' LambdaFunctionScheduledEventDetails (Maybe Text)

-- | The maximum allowed duration of the lambda function.
lfsedTimeoutInSeconds :: Lens' LambdaFunctionScheduledEventDetails (Maybe Integer)

-- | The Amazon Resource Name (ARN) of the scheduled lambda function.
lfsedResource :: Lens' LambdaFunctionScheduledEventDetails Text

-- | Contains details about a lambda function which failed to start during
--   an execution.
--   
--   <i>See:</i> <a>lambdaFunctionStartFailedEventDetails</a> smart
--   constructor.
data LambdaFunctionStartFailedEventDetails

-- | Creates a value of <a>LambdaFunctionStartFailedEventDetails</a> with
--   the minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>lfsfedError</a> - The error code of the failure.</li>
--   <li><a>lfsfedCause</a> - A more detailed explanation of the cause of
--   the failure.</li>
--   </ul>
lambdaFunctionStartFailedEventDetails :: LambdaFunctionStartFailedEventDetails

-- | The error code of the failure.
lfsfedError :: Lens' LambdaFunctionStartFailedEventDetails (Maybe Text)

-- | A more detailed explanation of the cause of the failure.
lfsfedCause :: Lens' LambdaFunctionStartFailedEventDetails (Maybe Text)

-- | Contains details about a lambda function which successfully terminated
--   during an execution.
--   
--   <i>See:</i> <a>lambdaFunctionSucceededEventDetails</a> smart
--   constructor.
data LambdaFunctionSucceededEventDetails

-- | Creates a value of <a>LambdaFunctionSucceededEventDetails</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>lfsedOutput</a> - The JSON data output by the lambda
--   function.</li>
--   </ul>
lambdaFunctionSucceededEventDetails :: LambdaFunctionSucceededEventDetails

-- | The JSON data output by the lambda function.
lfsedOutput :: Lens' LambdaFunctionSucceededEventDetails (Maybe Text)

-- | Contains details about a lambda function timeout which occurred during
--   an execution.
--   
--   <i>See:</i> <a>lambdaFunctionTimedOutEventDetails</a> smart
--   constructor.
data LambdaFunctionTimedOutEventDetails

-- | Creates a value of <a>LambdaFunctionTimedOutEventDetails</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>lftoedError</a> - The error code of the failure.</li>
--   <li><a>lftoedCause</a> - A more detailed explanation of the cause of
--   the timeout.</li>
--   </ul>
lambdaFunctionTimedOutEventDetails :: LambdaFunctionTimedOutEventDetails

-- | The error code of the failure.
lftoedError :: Lens' LambdaFunctionTimedOutEventDetails (Maybe Text)

-- | A more detailed explanation of the cause of the timeout.
lftoedCause :: Lens' LambdaFunctionTimedOutEventDetails (Maybe Text)

-- | Contains details about a state entered during an execution.
--   
--   <i>See:</i> <a>stateEnteredEventDetails</a> smart constructor.
data StateEnteredEventDetails

-- | Creates a value of <a>StateEnteredEventDetails</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>sInput</a> - The string that contains the JSON input data for
--   the state.</li>
--   <li><a>sName</a> - The name of the state.</li>
--   </ul>
stateEnteredEventDetails :: Text -> StateEnteredEventDetails

-- | The string that contains the JSON input data for the state.
sInput :: Lens' StateEnteredEventDetails (Maybe Text)

-- | The name of the state.
sName :: Lens' StateEnteredEventDetails Text

-- | Contains details about an exit from a state during an execution.
--   
--   <i>See:</i> <a>stateExitedEventDetails</a> smart constructor.
data StateExitedEventDetails

-- | Creates a value of <a>StateExitedEventDetails</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>seedOutput</a> - The JSON output data of the state.</li>
--   <li><a>seedName</a> - The name of the state. A name must <i>not</i>
--   contain: * whitespace * brackets <tt><a></a> { } [ ]</tt> * wildcard
--   characters <tt>? *</tt> * special characters <tt>" # % ^ | ~ ` $ &amp;
--   , ; : /</tt> * control characters (<tt>U+0000-001F</tt> ,
--   <tt>U+007F-009F</tt> )</li>
--   </ul>
stateExitedEventDetails :: Text -> StateExitedEventDetails

-- | The JSON output data of the state.
seedOutput :: Lens' StateExitedEventDetails (Maybe Text)

-- | The name of the state. A name must <i>not</i> contain: * whitespace *
--   brackets <tt><a></a> { } [ ]</tt> * wildcard characters <tt>? *</tt> *
--   special characters <tt>" # % ^ | ~ ` $ &amp; , ; : /</tt> * control
--   characters (<tt>U+0000-001F</tt> , <tt>U+007F-009F</tt> )
seedName :: Lens' StateExitedEventDetails Text

-- | Contains details about the state machine.
--   
--   <i>See:</i> <a>stateMachineListItem</a> smart constructor.
data StateMachineListItem

-- | Creates a value of <a>StateMachineListItem</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>smliStateMachineARN</a> - The Amazon Resource Name (ARN) that
--   identifies the state machine.</li>
--   <li><a>smliName</a> - The name of the state machine. A name must
--   <i>not</i> contain: * whitespace * brackets <tt><a></a> { } [ ]</tt> *
--   wildcard characters <tt>? *</tt> * special characters <tt>" # % ^ | ~
--   ` $ &amp; , ; : /</tt> * control characters (<tt>U+0000-001F</tt> ,
--   <tt>U+007F-009F</tt> )</li>
--   <li><a>smliCreationDate</a> - The date the state machine is
--   created.</li>
--   </ul>
stateMachineListItem :: Text -> Text -> UTCTime -> StateMachineListItem

-- | The Amazon Resource Name (ARN) that identifies the state machine.
smliStateMachineARN :: Lens' StateMachineListItem Text

-- | The name of the state machine. A name must <i>not</i> contain: *
--   whitespace * brackets <tt><a></a> { } [ ]</tt> * wildcard characters
--   <tt>? *</tt> * special characters <tt>" # % ^ | ~ ` $ &amp; , ; :
--   /</tt> * control characters (<tt>U+0000-001F</tt> ,
--   <tt>U+007F-009F</tt> )
smliName :: Lens' StateMachineListItem Text

-- | The date the state machine is created.
smliCreationDate :: Lens' StateMachineListItem UTCTime


-- | Stops an execution.
module Network.AWS.StepFunctions.StopExecution

-- | Creates a value of <a>StopExecution</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>seError</a> - An arbitrary error code that identifies the cause
--   of the termination.</li>
--   <li><a>seCause</a> - A more detailed explanation of the cause of the
--   termination.</li>
--   <li><a>seExecutionARN</a> - The Amazon Resource Name (ARN) of the
--   execution to stop.</li>
--   </ul>
stopExecution :: Text -> StopExecution

-- | <i>See:</i> <a>stopExecution</a> smart constructor.
data StopExecution

-- | An arbitrary error code that identifies the cause of the termination.
seError :: Lens' StopExecution (Maybe Text)

-- | A more detailed explanation of the cause of the termination.
seCause :: Lens' StopExecution (Maybe Text)

-- | The Amazon Resource Name (ARN) of the execution to stop.
seExecutionARN :: Lens' StopExecution Text

-- | Creates a value of <a>StopExecutionResponse</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>sersResponseStatus</a> - -- | The response status code.</li>
--   <li><a>sersStopDate</a> - The date the execution is stopped.</li>
--   </ul>
stopExecutionResponse :: Int -> UTCTime -> StopExecutionResponse

-- | <i>See:</i> <a>stopExecutionResponse</a> smart constructor.
data StopExecutionResponse

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
sersResponseStatus :: Lens' StopExecutionResponse Int

-- | The date the execution is stopped.
sersStopDate :: Lens' StopExecutionResponse UTCTime
instance GHC.Generics.Generic Network.AWS.StepFunctions.StopExecution.StopExecutionResponse
instance Data.Data.Data Network.AWS.StepFunctions.StopExecution.StopExecutionResponse
instance GHC.Show.Show Network.AWS.StepFunctions.StopExecution.StopExecutionResponse
instance GHC.Read.Read Network.AWS.StepFunctions.StopExecution.StopExecutionResponse
instance GHC.Classes.Eq Network.AWS.StepFunctions.StopExecution.StopExecutionResponse
instance GHC.Generics.Generic Network.AWS.StepFunctions.StopExecution.StopExecution
instance Data.Data.Data Network.AWS.StepFunctions.StopExecution.StopExecution
instance GHC.Show.Show Network.AWS.StepFunctions.StopExecution.StopExecution
instance GHC.Read.Read Network.AWS.StepFunctions.StopExecution.StopExecution
instance GHC.Classes.Eq Network.AWS.StepFunctions.StopExecution.StopExecution
instance Network.AWS.Types.AWSRequest Network.AWS.StepFunctions.StopExecution.StopExecution
instance Control.DeepSeq.NFData Network.AWS.StepFunctions.StopExecution.StopExecutionResponse
instance Data.Hashable.Class.Hashable Network.AWS.StepFunctions.StopExecution.StopExecution
instance Control.DeepSeq.NFData Network.AWS.StepFunctions.StopExecution.StopExecution
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.StepFunctions.StopExecution.StopExecution
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.StepFunctions.StopExecution.StopExecution
instance Network.AWS.Data.Path.ToPath Network.AWS.StepFunctions.StopExecution.StopExecution
instance Network.AWS.Data.Query.ToQuery Network.AWS.StepFunctions.StopExecution.StopExecution


-- | Starts a state machine execution.
module Network.AWS.StepFunctions.StartExecution

-- | Creates a value of <a>StartExecution</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>seInput</a> - The string that contains the JSON input data for
--   the execution, for example: <tt>"input": "{"first_name" :
--   "test"}"</tt></li>
--   <li><a>seName</a> - The name of the execution. This name must be
--   unique for your AWS account and region for 90 days. For more
--   information, see <a>Limits Related to State Machine Executions</a> in
--   the <i>AWS Step Functions Developer Guide</i> . <i>Important:</i> An
--   execution can't use the name of another execution for 90 days. When
--   you make multiple <tt>StartExecution</tt> calls with the same name,
--   the new execution doesn't run and the following rules apply: * When
--   the original execution is open and the execution input from the new
--   call is <i>different</i> , the <tt>ExecutionAlreadyExists</tt> message
--   is returned. * When the original execution is open and the execution
--   input from the new call is <i>identical</i> , the <tt>Success</tt>
--   message is returned. * When the original execution is closed, the
--   <tt>ExecutionAlreadyExists</tt> message is returned regardless of
--   input. A name must <i>not</i> contain: * whitespace * brackets
--   <tt><a></a> { } [ ]</tt> * wildcard characters <tt>? *</tt> * special
--   characters <tt>" # % ^ | ~ ` $ &amp; , ; : /</tt> * control characters
--   (<tt>U+0000-001F</tt> , <tt>U+007F-009F</tt> )</li>
--   <li><a>seStateMachineARN</a> - The Amazon Resource Name (ARN) of the
--   state machine to execute.</li>
--   </ul>
startExecution :: Text -> StartExecution

-- | <i>See:</i> <a>startExecution</a> smart constructor.
data StartExecution

-- | The string that contains the JSON input data for the execution, for
--   example: <tt>"input": "{"first_name" : "test"}"</tt>
seInput :: Lens' StartExecution (Maybe Text)

-- | The name of the execution. This name must be unique for your AWS
--   account and region for 90 days. For more information, see <a>Limits
--   Related to State Machine Executions</a> in the <i>AWS Step Functions
--   Developer Guide</i> . <i>Important:</i> An execution can't use the
--   name of another execution for 90 days. When you make multiple
--   <tt>StartExecution</tt> calls with the same name, the new execution
--   doesn't run and the following rules apply: * When the original
--   execution is open and the execution input from the new call is
--   <i>different</i> , the <tt>ExecutionAlreadyExists</tt> message is
--   returned. * When the original execution is open and the execution
--   input from the new call is <i>identical</i> , the <tt>Success</tt>
--   message is returned. * When the original execution is closed, the
--   <tt>ExecutionAlreadyExists</tt> message is returned regardless of
--   input. A name must <i>not</i> contain: * whitespace * brackets
--   <tt><a></a> { } [ ]</tt> * wildcard characters <tt>? *</tt> * special
--   characters <tt>" # % ^ | ~ ` $ &amp; , ; : /</tt> * control characters
--   (<tt>U+0000-001F</tt> , <tt>U+007F-009F</tt> )
seName :: Lens' StartExecution (Maybe Text)

-- | The Amazon Resource Name (ARN) of the state machine to execute.
seStateMachineARN :: Lens' StartExecution Text

-- | Creates a value of <a>StartExecutionResponse</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>srsResponseStatus</a> - -- | The response status code.</li>
--   <li><a>srsExecutionARN</a> - The Amazon Resource Name (ARN) that
--   identifies the execution.</li>
--   <li><a>srsStartDate</a> - The date the execution is started.</li>
--   </ul>
startExecutionResponse :: Int -> Text -> UTCTime -> StartExecutionResponse

-- | <i>See:</i> <a>startExecutionResponse</a> smart constructor.
data StartExecutionResponse

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
srsResponseStatus :: Lens' StartExecutionResponse Int

-- | The Amazon Resource Name (ARN) that identifies the execution.
srsExecutionARN :: Lens' StartExecutionResponse Text

-- | The date the execution is started.
srsStartDate :: Lens' StartExecutionResponse UTCTime
instance GHC.Generics.Generic Network.AWS.StepFunctions.StartExecution.StartExecutionResponse
instance Data.Data.Data Network.AWS.StepFunctions.StartExecution.StartExecutionResponse
instance GHC.Show.Show Network.AWS.StepFunctions.StartExecution.StartExecutionResponse
instance GHC.Read.Read Network.AWS.StepFunctions.StartExecution.StartExecutionResponse
instance GHC.Classes.Eq Network.AWS.StepFunctions.StartExecution.StartExecutionResponse
instance GHC.Generics.Generic Network.AWS.StepFunctions.StartExecution.StartExecution
instance Data.Data.Data Network.AWS.StepFunctions.StartExecution.StartExecution
instance GHC.Show.Show Network.AWS.StepFunctions.StartExecution.StartExecution
instance GHC.Read.Read Network.AWS.StepFunctions.StartExecution.StartExecution
instance GHC.Classes.Eq Network.AWS.StepFunctions.StartExecution.StartExecution
instance Network.AWS.Types.AWSRequest Network.AWS.StepFunctions.StartExecution.StartExecution
instance Control.DeepSeq.NFData Network.AWS.StepFunctions.StartExecution.StartExecutionResponse
instance Data.Hashable.Class.Hashable Network.AWS.StepFunctions.StartExecution.StartExecution
instance Control.DeepSeq.NFData Network.AWS.StepFunctions.StartExecution.StartExecution
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.StepFunctions.StartExecution.StartExecution
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.StepFunctions.StartExecution.StartExecution
instance Network.AWS.Data.Path.ToPath Network.AWS.StepFunctions.StartExecution.StartExecution
instance Network.AWS.Data.Query.ToQuery Network.AWS.StepFunctions.StartExecution.StartExecution


-- | Used by workers to report that the task identified by the
--   <tt>taskToken</tt> completed successfully.
module Network.AWS.StepFunctions.SendTaskSuccess

-- | Creates a value of <a>SendTaskSuccess</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>stsTaskToken</a> - The token that represents this task. Task
--   tokens are generated by the service when the tasks are assigned to a
--   worker (see 'GetActivityTaskOutput$taskToken' ).</li>
--   <li><a>stsOutput</a> - The JSON output of the task.</li>
--   </ul>
sendTaskSuccess :: Text -> Text -> SendTaskSuccess

-- | <i>See:</i> <a>sendTaskSuccess</a> smart constructor.
data SendTaskSuccess

-- | The token that represents this task. Task tokens are generated by the
--   service when the tasks are assigned to a worker (see
--   'GetActivityTaskOutput$taskToken' ).
stsTaskToken :: Lens' SendTaskSuccess Text

-- | The JSON output of the task.
stsOutput :: Lens' SendTaskSuccess Text

-- | Creates a value of <a>SendTaskSuccessResponse</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>stsrsResponseStatus</a> - -- | The response status code.</li>
--   </ul>
sendTaskSuccessResponse :: Int -> SendTaskSuccessResponse

-- | <i>See:</i> <a>sendTaskSuccessResponse</a> smart constructor.
data SendTaskSuccessResponse

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
stsrsResponseStatus :: Lens' SendTaskSuccessResponse Int
instance GHC.Generics.Generic Network.AWS.StepFunctions.SendTaskSuccess.SendTaskSuccessResponse
instance Data.Data.Data Network.AWS.StepFunctions.SendTaskSuccess.SendTaskSuccessResponse
instance GHC.Show.Show Network.AWS.StepFunctions.SendTaskSuccess.SendTaskSuccessResponse
instance GHC.Read.Read Network.AWS.StepFunctions.SendTaskSuccess.SendTaskSuccessResponse
instance GHC.Classes.Eq Network.AWS.StepFunctions.SendTaskSuccess.SendTaskSuccessResponse
instance GHC.Generics.Generic Network.AWS.StepFunctions.SendTaskSuccess.SendTaskSuccess
instance Data.Data.Data Network.AWS.StepFunctions.SendTaskSuccess.SendTaskSuccess
instance GHC.Show.Show Network.AWS.StepFunctions.SendTaskSuccess.SendTaskSuccess
instance GHC.Read.Read Network.AWS.StepFunctions.SendTaskSuccess.SendTaskSuccess
instance GHC.Classes.Eq Network.AWS.StepFunctions.SendTaskSuccess.SendTaskSuccess
instance Network.AWS.Types.AWSRequest Network.AWS.StepFunctions.SendTaskSuccess.SendTaskSuccess
instance Control.DeepSeq.NFData Network.AWS.StepFunctions.SendTaskSuccess.SendTaskSuccessResponse
instance Data.Hashable.Class.Hashable Network.AWS.StepFunctions.SendTaskSuccess.SendTaskSuccess
instance Control.DeepSeq.NFData Network.AWS.StepFunctions.SendTaskSuccess.SendTaskSuccess
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.StepFunctions.SendTaskSuccess.SendTaskSuccess
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.StepFunctions.SendTaskSuccess.SendTaskSuccess
instance Network.AWS.Data.Path.ToPath Network.AWS.StepFunctions.SendTaskSuccess.SendTaskSuccess
instance Network.AWS.Data.Query.ToQuery Network.AWS.StepFunctions.SendTaskSuccess.SendTaskSuccess


-- | Used by workers to report to the service that the task represented by
--   the specified <tt>taskToken</tt> is still making progress. This action
--   resets the <tt>Heartbeat</tt> clock. The <tt>Heartbeat</tt> threshold
--   is specified in the state machine's Amazon States Language definition.
--   This action does not in itself create an event in the execution
--   history. However, if the task times out, the execution history
--   contains an <tt>ActivityTimedOut</tt> event.
module Network.AWS.StepFunctions.SendTaskHeartbeat

-- | Creates a value of <a>SendTaskHeartbeat</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>sthTaskToken</a> - The token that represents this task. Task
--   tokens are generated by the service when the tasks are assigned to a
--   worker (see 'GetActivityTaskOutput$taskToken' ).</li>
--   </ul>
sendTaskHeartbeat :: Text -> SendTaskHeartbeat

-- | <i>See:</i> <a>sendTaskHeartbeat</a> smart constructor.
data SendTaskHeartbeat

-- | The token that represents this task. Task tokens are generated by the
--   service when the tasks are assigned to a worker (see
--   'GetActivityTaskOutput$taskToken' ).
sthTaskToken :: Lens' SendTaskHeartbeat Text

-- | Creates a value of <a>SendTaskHeartbeatResponse</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>sthrsResponseStatus</a> - -- | The response status code.</li>
--   </ul>
sendTaskHeartbeatResponse :: Int -> SendTaskHeartbeatResponse

-- | <i>See:</i> <a>sendTaskHeartbeatResponse</a> smart constructor.
data SendTaskHeartbeatResponse

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
sthrsResponseStatus :: Lens' SendTaskHeartbeatResponse Int
instance GHC.Generics.Generic Network.AWS.StepFunctions.SendTaskHeartbeat.SendTaskHeartbeatResponse
instance Data.Data.Data Network.AWS.StepFunctions.SendTaskHeartbeat.SendTaskHeartbeatResponse
instance GHC.Show.Show Network.AWS.StepFunctions.SendTaskHeartbeat.SendTaskHeartbeatResponse
instance GHC.Read.Read Network.AWS.StepFunctions.SendTaskHeartbeat.SendTaskHeartbeatResponse
instance GHC.Classes.Eq Network.AWS.StepFunctions.SendTaskHeartbeat.SendTaskHeartbeatResponse
instance GHC.Generics.Generic Network.AWS.StepFunctions.SendTaskHeartbeat.SendTaskHeartbeat
instance Data.Data.Data Network.AWS.StepFunctions.SendTaskHeartbeat.SendTaskHeartbeat
instance GHC.Show.Show Network.AWS.StepFunctions.SendTaskHeartbeat.SendTaskHeartbeat
instance GHC.Read.Read Network.AWS.StepFunctions.SendTaskHeartbeat.SendTaskHeartbeat
instance GHC.Classes.Eq Network.AWS.StepFunctions.SendTaskHeartbeat.SendTaskHeartbeat
instance Network.AWS.Types.AWSRequest Network.AWS.StepFunctions.SendTaskHeartbeat.SendTaskHeartbeat
instance Control.DeepSeq.NFData Network.AWS.StepFunctions.SendTaskHeartbeat.SendTaskHeartbeatResponse
instance Data.Hashable.Class.Hashable Network.AWS.StepFunctions.SendTaskHeartbeat.SendTaskHeartbeat
instance Control.DeepSeq.NFData Network.AWS.StepFunctions.SendTaskHeartbeat.SendTaskHeartbeat
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.StepFunctions.SendTaskHeartbeat.SendTaskHeartbeat
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.StepFunctions.SendTaskHeartbeat.SendTaskHeartbeat
instance Network.AWS.Data.Path.ToPath Network.AWS.StepFunctions.SendTaskHeartbeat.SendTaskHeartbeat
instance Network.AWS.Data.Query.ToQuery Network.AWS.StepFunctions.SendTaskHeartbeat.SendTaskHeartbeat


-- | Used by workers to report that the task identified by the
--   <tt>taskToken</tt> failed.
module Network.AWS.StepFunctions.SendTaskFailure

-- | Creates a value of <a>SendTaskFailure</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>stfError</a> - An arbitrary error code that identifies the
--   cause of the failure.</li>
--   <li><a>stfCause</a> - A more detailed explanation of the cause of the
--   failure.</li>
--   <li><a>stfTaskToken</a> - The token that represents this task. Task
--   tokens are generated by the service when the tasks are assigned to a
--   worker (see GetActivityTask::taskToken).</li>
--   </ul>
sendTaskFailure :: Text -> SendTaskFailure

-- | <i>See:</i> <a>sendTaskFailure</a> smart constructor.
data SendTaskFailure

-- | An arbitrary error code that identifies the cause of the failure.
stfError :: Lens' SendTaskFailure (Maybe Text)

-- | A more detailed explanation of the cause of the failure.
stfCause :: Lens' SendTaskFailure (Maybe Text)

-- | The token that represents this task. Task tokens are generated by the
--   service when the tasks are assigned to a worker (see
--   GetActivityTask::taskToken).
stfTaskToken :: Lens' SendTaskFailure Text

-- | Creates a value of <a>SendTaskFailureResponse</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>stfrsResponseStatus</a> - -- | The response status code.</li>
--   </ul>
sendTaskFailureResponse :: Int -> SendTaskFailureResponse

-- | <i>See:</i> <a>sendTaskFailureResponse</a> smart constructor.
data SendTaskFailureResponse

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
stfrsResponseStatus :: Lens' SendTaskFailureResponse Int
instance GHC.Generics.Generic Network.AWS.StepFunctions.SendTaskFailure.SendTaskFailureResponse
instance Data.Data.Data Network.AWS.StepFunctions.SendTaskFailure.SendTaskFailureResponse
instance GHC.Show.Show Network.AWS.StepFunctions.SendTaskFailure.SendTaskFailureResponse
instance GHC.Read.Read Network.AWS.StepFunctions.SendTaskFailure.SendTaskFailureResponse
instance GHC.Classes.Eq Network.AWS.StepFunctions.SendTaskFailure.SendTaskFailureResponse
instance GHC.Generics.Generic Network.AWS.StepFunctions.SendTaskFailure.SendTaskFailure
instance Data.Data.Data Network.AWS.StepFunctions.SendTaskFailure.SendTaskFailure
instance GHC.Show.Show Network.AWS.StepFunctions.SendTaskFailure.SendTaskFailure
instance GHC.Read.Read Network.AWS.StepFunctions.SendTaskFailure.SendTaskFailure
instance GHC.Classes.Eq Network.AWS.StepFunctions.SendTaskFailure.SendTaskFailure
instance Network.AWS.Types.AWSRequest Network.AWS.StepFunctions.SendTaskFailure.SendTaskFailure
instance Control.DeepSeq.NFData Network.AWS.StepFunctions.SendTaskFailure.SendTaskFailureResponse
instance Data.Hashable.Class.Hashable Network.AWS.StepFunctions.SendTaskFailure.SendTaskFailure
instance Control.DeepSeq.NFData Network.AWS.StepFunctions.SendTaskFailure.SendTaskFailure
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.StepFunctions.SendTaskFailure.SendTaskFailure
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.StepFunctions.SendTaskFailure.SendTaskFailure
instance Network.AWS.Data.Path.ToPath Network.AWS.StepFunctions.SendTaskFailure.SendTaskFailure
instance Network.AWS.Data.Query.ToQuery Network.AWS.StepFunctions.SendTaskFailure.SendTaskFailure


-- | Lists the existing state machines.
--   
--   If a <tt>nextToken</tt> is 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 <tt>nextToken</tt> . Keep all other
--   arguments unchanged.
--   
--   This operation returns paginated results.
module Network.AWS.StepFunctions.ListStateMachines

-- | Creates a value of <a>ListStateMachines</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>lsmNextToken</a> - If a <tt>nextToken</tt> is 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
--   <tt>nextToken</tt> . Keep all other arguments unchanged. The
--   configured <tt>maxResults</tt> determines how many results can be
--   returned in a single call.</li>
--   <li><a>lsmMaxResults</a> - The maximum number of results that are
--   returned per call. You can use <tt>nextToken</tt> to obtain further
--   pages of results. The default is 100 and the maximum allowed page size
--   is 100. A value of 0 uses the default. This is only an upper limit.
--   The actual number of results returned per call might be fewer than the
--   specified maximum.</li>
--   </ul>
listStateMachines :: ListStateMachines

-- | <i>See:</i> <a>listStateMachines</a> smart constructor.
data ListStateMachines

-- | If a <tt>nextToken</tt> is 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 <tt>nextToken</tt> . Keep all other
--   arguments unchanged. The configured <tt>maxResults</tt> determines how
--   many results can be returned in a single call.
lsmNextToken :: Lens' ListStateMachines (Maybe Text)

-- | The maximum number of results that are returned per call. You can use
--   <tt>nextToken</tt> to obtain further pages of results. The default is
--   100 and the maximum allowed page size is 100. A value of 0 uses the
--   default. This is only an upper limit. The actual number of results
--   returned per call might be fewer than the specified maximum.
lsmMaxResults :: Lens' ListStateMachines (Maybe Natural)

-- | Creates a value of <a>ListStateMachinesResponse</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>lsmrsNextToken</a> - If a <tt>nextToken</tt> is 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
--   <tt>nextToken</tt> . Keep all other arguments unchanged. The
--   configured <tt>maxResults</tt> determines how many results can be
--   returned in a single call.</li>
--   <li><a>lsmrsResponseStatus</a> - -- | The response status code.</li>
--   <li><a>lsmrsStateMachines</a> - Undocumented member.</li>
--   </ul>
listStateMachinesResponse :: Int -> ListStateMachinesResponse

-- | <i>See:</i> <a>listStateMachinesResponse</a> smart constructor.
data ListStateMachinesResponse

-- | If a <tt>nextToken</tt> is 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 <tt>nextToken</tt> . Keep all other
--   arguments unchanged. The configured <tt>maxResults</tt> determines how
--   many results can be returned in a single call.
lsmrsNextToken :: Lens' ListStateMachinesResponse (Maybe Text)

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
lsmrsResponseStatus :: Lens' ListStateMachinesResponse Int

-- | Undocumented member.
lsmrsStateMachines :: Lens' ListStateMachinesResponse [StateMachineListItem]
instance GHC.Generics.Generic Network.AWS.StepFunctions.ListStateMachines.ListStateMachinesResponse
instance Data.Data.Data Network.AWS.StepFunctions.ListStateMachines.ListStateMachinesResponse
instance GHC.Show.Show Network.AWS.StepFunctions.ListStateMachines.ListStateMachinesResponse
instance GHC.Read.Read Network.AWS.StepFunctions.ListStateMachines.ListStateMachinesResponse
instance GHC.Classes.Eq Network.AWS.StepFunctions.ListStateMachines.ListStateMachinesResponse
instance GHC.Generics.Generic Network.AWS.StepFunctions.ListStateMachines.ListStateMachines
instance Data.Data.Data Network.AWS.StepFunctions.ListStateMachines.ListStateMachines
instance GHC.Show.Show Network.AWS.StepFunctions.ListStateMachines.ListStateMachines
instance GHC.Read.Read Network.AWS.StepFunctions.ListStateMachines.ListStateMachines
instance GHC.Classes.Eq Network.AWS.StepFunctions.ListStateMachines.ListStateMachines
instance Network.AWS.Types.AWSRequest Network.AWS.StepFunctions.ListStateMachines.ListStateMachines
instance Control.DeepSeq.NFData Network.AWS.StepFunctions.ListStateMachines.ListStateMachinesResponse
instance Network.AWS.Pager.AWSPager Network.AWS.StepFunctions.ListStateMachines.ListStateMachines
instance Data.Hashable.Class.Hashable Network.AWS.StepFunctions.ListStateMachines.ListStateMachines
instance Control.DeepSeq.NFData Network.AWS.StepFunctions.ListStateMachines.ListStateMachines
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.StepFunctions.ListStateMachines.ListStateMachines
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.StepFunctions.ListStateMachines.ListStateMachines
instance Network.AWS.Data.Path.ToPath Network.AWS.StepFunctions.ListStateMachines.ListStateMachines
instance Network.AWS.Data.Query.ToQuery Network.AWS.StepFunctions.ListStateMachines.ListStateMachines


-- | Lists the executions of a state machine that meet the filtering
--   criteria.
--   
--   If a <tt>nextToken</tt> is 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 <tt>nextToken</tt> . Keep all other
--   arguments unchanged.
--   
--   This operation returns paginated results.
module Network.AWS.StepFunctions.ListExecutions

-- | Creates a value of <a>ListExecutions</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>leStatusFilter</a> - If specified, only list the executions
--   whose current execution status matches the given filter.</li>
--   <li><a>leNextToken</a> - If a <tt>nextToken</tt> is 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
--   <tt>nextToken</tt> . Keep all other arguments unchanged. The
--   configured <tt>maxResults</tt> determines how many results can be
--   returned in a single call.</li>
--   <li><a>leMaxResults</a> - The maximum number of results that are
--   returned per call. You can use <tt>nextToken</tt> to obtain further
--   pages of results. The default is 100 and the maximum allowed page size
--   is 100. A value of 0 uses the default. This is only an upper limit.
--   The actual number of results returned per call might be fewer than the
--   specified maximum.</li>
--   <li><a>leStateMachineARN</a> - The Amazon Resource Name (ARN) of the
--   state machine whose executions is listed.</li>
--   </ul>
listExecutions :: Text -> ListExecutions

-- | <i>See:</i> <a>listExecutions</a> smart constructor.
data ListExecutions

-- | If specified, only list the executions whose current execution status
--   matches the given filter.
leStatusFilter :: Lens' ListExecutions (Maybe ExecutionStatus)

-- | If a <tt>nextToken</tt> is 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 <tt>nextToken</tt> . Keep all other
--   arguments unchanged. The configured <tt>maxResults</tt> determines how
--   many results can be returned in a single call.
leNextToken :: Lens' ListExecutions (Maybe Text)

-- | The maximum number of results that are returned per call. You can use
--   <tt>nextToken</tt> to obtain further pages of results. The default is
--   100 and the maximum allowed page size is 100. A value of 0 uses the
--   default. This is only an upper limit. The actual number of results
--   returned per call might be fewer than the specified maximum.
leMaxResults :: Lens' ListExecutions (Maybe Natural)

-- | The Amazon Resource Name (ARN) of the state machine whose executions
--   is listed.
leStateMachineARN :: Lens' ListExecutions Text

-- | Creates a value of <a>ListExecutionsResponse</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>lersNextToken</a> - If a <tt>nextToken</tt> is 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
--   <tt>nextToken</tt> . Keep all other arguments unchanged. The
--   configured <tt>maxResults</tt> determines how many results can be
--   returned in a single call.</li>
--   <li><a>lersResponseStatus</a> - -- | The response status code.</li>
--   <li><a>lersExecutions</a> - The list of matching executions.</li>
--   </ul>
listExecutionsResponse :: Int -> ListExecutionsResponse

-- | <i>See:</i> <a>listExecutionsResponse</a> smart constructor.
data ListExecutionsResponse

-- | If a <tt>nextToken</tt> is 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 <tt>nextToken</tt> . Keep all other
--   arguments unchanged. The configured <tt>maxResults</tt> determines how
--   many results can be returned in a single call.
lersNextToken :: Lens' ListExecutionsResponse (Maybe Text)

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
lersResponseStatus :: Lens' ListExecutionsResponse Int

-- | The list of matching executions.
lersExecutions :: Lens' ListExecutionsResponse [ExecutionListItem]
instance GHC.Generics.Generic Network.AWS.StepFunctions.ListExecutions.ListExecutionsResponse
instance Data.Data.Data Network.AWS.StepFunctions.ListExecutions.ListExecutionsResponse
instance GHC.Show.Show Network.AWS.StepFunctions.ListExecutions.ListExecutionsResponse
instance GHC.Read.Read Network.AWS.StepFunctions.ListExecutions.ListExecutionsResponse
instance GHC.Classes.Eq Network.AWS.StepFunctions.ListExecutions.ListExecutionsResponse
instance GHC.Generics.Generic Network.AWS.StepFunctions.ListExecutions.ListExecutions
instance Data.Data.Data Network.AWS.StepFunctions.ListExecutions.ListExecutions
instance GHC.Show.Show Network.AWS.StepFunctions.ListExecutions.ListExecutions
instance GHC.Read.Read Network.AWS.StepFunctions.ListExecutions.ListExecutions
instance GHC.Classes.Eq Network.AWS.StepFunctions.ListExecutions.ListExecutions
instance Network.AWS.Types.AWSRequest Network.AWS.StepFunctions.ListExecutions.ListExecutions
instance Control.DeepSeq.NFData Network.AWS.StepFunctions.ListExecutions.ListExecutionsResponse
instance Network.AWS.Pager.AWSPager Network.AWS.StepFunctions.ListExecutions.ListExecutions
instance Data.Hashable.Class.Hashable Network.AWS.StepFunctions.ListExecutions.ListExecutions
instance Control.DeepSeq.NFData Network.AWS.StepFunctions.ListExecutions.ListExecutions
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.StepFunctions.ListExecutions.ListExecutions
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.StepFunctions.ListExecutions.ListExecutions
instance Network.AWS.Data.Path.ToPath Network.AWS.StepFunctions.ListExecutions.ListExecutions
instance Network.AWS.Data.Query.ToQuery Network.AWS.StepFunctions.ListExecutions.ListExecutions


-- | Lists the existing activities.
--   
--   If a <tt>nextToken</tt> is 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 <tt>nextToken</tt> . Keep all other
--   arguments unchanged.
--   
--   This operation returns paginated results.
module Network.AWS.StepFunctions.ListActivities

-- | Creates a value of <a>ListActivities</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>laNextToken</a> - If a <tt>nextToken</tt> is 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
--   <tt>nextToken</tt> . Keep all other arguments unchanged. The
--   configured <tt>maxResults</tt> determines how many results can be
--   returned in a single call.</li>
--   <li><a>laMaxResults</a> - The maximum number of results that are
--   returned per call. You can use <tt>nextToken</tt> to obtain further
--   pages of results. The default is 100 and the maximum allowed page size
--   is 100. A value of 0 uses the default. This is only an upper limit.
--   The actual number of results returned per call might be fewer than the
--   specified maximum.</li>
--   </ul>
listActivities :: ListActivities

-- | <i>See:</i> <a>listActivities</a> smart constructor.
data ListActivities

-- | If a <tt>nextToken</tt> is 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 <tt>nextToken</tt> . Keep all other
--   arguments unchanged. The configured <tt>maxResults</tt> determines how
--   many results can be returned in a single call.
laNextToken :: Lens' ListActivities (Maybe Text)

-- | The maximum number of results that are returned per call. You can use
--   <tt>nextToken</tt> to obtain further pages of results. The default is
--   100 and the maximum allowed page size is 100. A value of 0 uses the
--   default. This is only an upper limit. The actual number of results
--   returned per call might be fewer than the specified maximum.
laMaxResults :: Lens' ListActivities (Maybe Natural)

-- | Creates a value of <a>ListActivitiesResponse</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>larsNextToken</a> - If a <tt>nextToken</tt> is 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
--   <tt>nextToken</tt> . Keep all other arguments unchanged. The
--   configured <tt>maxResults</tt> determines how many results can be
--   returned in a single call.</li>
--   <li><a>larsResponseStatus</a> - -- | The response status code.</li>
--   <li><a>larsActivities</a> - The list of activities.</li>
--   </ul>
listActivitiesResponse :: Int -> ListActivitiesResponse

-- | <i>See:</i> <a>listActivitiesResponse</a> smart constructor.
data ListActivitiesResponse

-- | If a <tt>nextToken</tt> is 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 <tt>nextToken</tt> . Keep all other
--   arguments unchanged. The configured <tt>maxResults</tt> determines how
--   many results can be returned in a single call.
larsNextToken :: Lens' ListActivitiesResponse (Maybe Text)

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
larsResponseStatus :: Lens' ListActivitiesResponse Int

-- | The list of activities.
larsActivities :: Lens' ListActivitiesResponse [ActivityListItem]
instance GHC.Generics.Generic Network.AWS.StepFunctions.ListActivities.ListActivitiesResponse
instance Data.Data.Data Network.AWS.StepFunctions.ListActivities.ListActivitiesResponse
instance GHC.Show.Show Network.AWS.StepFunctions.ListActivities.ListActivitiesResponse
instance GHC.Read.Read Network.AWS.StepFunctions.ListActivities.ListActivitiesResponse
instance GHC.Classes.Eq Network.AWS.StepFunctions.ListActivities.ListActivitiesResponse
instance GHC.Generics.Generic Network.AWS.StepFunctions.ListActivities.ListActivities
instance Data.Data.Data Network.AWS.StepFunctions.ListActivities.ListActivities
instance GHC.Show.Show Network.AWS.StepFunctions.ListActivities.ListActivities
instance GHC.Read.Read Network.AWS.StepFunctions.ListActivities.ListActivities
instance GHC.Classes.Eq Network.AWS.StepFunctions.ListActivities.ListActivities
instance Network.AWS.Types.AWSRequest Network.AWS.StepFunctions.ListActivities.ListActivities
instance Control.DeepSeq.NFData Network.AWS.StepFunctions.ListActivities.ListActivitiesResponse
instance Network.AWS.Pager.AWSPager Network.AWS.StepFunctions.ListActivities.ListActivities
instance Data.Hashable.Class.Hashable Network.AWS.StepFunctions.ListActivities.ListActivities
instance Control.DeepSeq.NFData Network.AWS.StepFunctions.ListActivities.ListActivities
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.StepFunctions.ListActivities.ListActivities
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.StepFunctions.ListActivities.ListActivities
instance Network.AWS.Data.Path.ToPath Network.AWS.StepFunctions.ListActivities.ListActivities
instance Network.AWS.Data.Query.ToQuery Network.AWS.StepFunctions.ListActivities.ListActivities


-- | Returns the history of the specified execution as a list of events. By
--   default, the results are returned in ascending order of the
--   <tt>timeStamp</tt> of the events. Use the <tt>reverseOrder</tt>
--   parameter to get the latest events first.
--   
--   If a <tt>nextToken</tt> is 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 <tt>nextToken</tt> . Keep all other
--   arguments unchanged.
--   
--   This operation returns paginated results.
module Network.AWS.StepFunctions.GetExecutionHistory

-- | Creates a value of <a>GetExecutionHistory</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>gehReverseOrder</a> - Lists events in descending order of their
--   <tt>timeStamp</tt> .</li>
--   <li><a>gehNextToken</a> - If a <tt>nextToken</tt> is 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
--   <tt>nextToken</tt> . Keep all other arguments unchanged. The
--   configured <tt>maxResults</tt> determines how many results can be
--   returned in a single call.</li>
--   <li><a>gehMaxResults</a> - The maximum number of results that are
--   returned per call. You can use <tt>nextToken</tt> to obtain further
--   pages of results. The default is 100 and the maximum allowed page size
--   is 100. A value of 0 uses the default. This is only an upper limit.
--   The actual number of results returned per call might be fewer than the
--   specified maximum.</li>
--   <li><a>gehExecutionARN</a> - The Amazon Resource Name (ARN) of the
--   execution.</li>
--   </ul>
getExecutionHistory :: Text -> GetExecutionHistory

-- | <i>See:</i> <a>getExecutionHistory</a> smart constructor.
data GetExecutionHistory

-- | Lists events in descending order of their <tt>timeStamp</tt> .
gehReverseOrder :: Lens' GetExecutionHistory (Maybe Bool)

-- | If a <tt>nextToken</tt> is 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 <tt>nextToken</tt> . Keep all other
--   arguments unchanged. The configured <tt>maxResults</tt> determines how
--   many results can be returned in a single call.
gehNextToken :: Lens' GetExecutionHistory (Maybe Text)

-- | The maximum number of results that are returned per call. You can use
--   <tt>nextToken</tt> to obtain further pages of results. The default is
--   100 and the maximum allowed page size is 100. A value of 0 uses the
--   default. This is only an upper limit. The actual number of results
--   returned per call might be fewer than the specified maximum.
gehMaxResults :: Lens' GetExecutionHistory (Maybe Natural)

-- | The Amazon Resource Name (ARN) of the execution.
gehExecutionARN :: Lens' GetExecutionHistory Text

-- | Creates a value of <a>GetExecutionHistoryResponse</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>gehrsNextToken</a> - If a <tt>nextToken</tt> is 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
--   <tt>nextToken</tt> . Keep all other arguments unchanged. The
--   configured <tt>maxResults</tt> determines how many results can be
--   returned in a single call.</li>
--   <li><a>gehrsResponseStatus</a> - -- | The response status code.</li>
--   <li><a>gehrsEvents</a> - The list of events that occurred in the
--   execution.</li>
--   </ul>
getExecutionHistoryResponse :: Int -> GetExecutionHistoryResponse

-- | <i>See:</i> <a>getExecutionHistoryResponse</a> smart constructor.
data GetExecutionHistoryResponse

-- | If a <tt>nextToken</tt> is 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 <tt>nextToken</tt> . Keep all other
--   arguments unchanged. The configured <tt>maxResults</tt> determines how
--   many results can be returned in a single call.
gehrsNextToken :: Lens' GetExecutionHistoryResponse (Maybe Text)

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
gehrsResponseStatus :: Lens' GetExecutionHistoryResponse Int

-- | The list of events that occurred in the execution.
gehrsEvents :: Lens' GetExecutionHistoryResponse [HistoryEvent]
instance GHC.Generics.Generic Network.AWS.StepFunctions.GetExecutionHistory.GetExecutionHistoryResponse
instance Data.Data.Data Network.AWS.StepFunctions.GetExecutionHistory.GetExecutionHistoryResponse
instance GHC.Show.Show Network.AWS.StepFunctions.GetExecutionHistory.GetExecutionHistoryResponse
instance GHC.Read.Read Network.AWS.StepFunctions.GetExecutionHistory.GetExecutionHistoryResponse
instance GHC.Classes.Eq Network.AWS.StepFunctions.GetExecutionHistory.GetExecutionHistoryResponse
instance GHC.Generics.Generic Network.AWS.StepFunctions.GetExecutionHistory.GetExecutionHistory
instance Data.Data.Data Network.AWS.StepFunctions.GetExecutionHistory.GetExecutionHistory
instance GHC.Show.Show Network.AWS.StepFunctions.GetExecutionHistory.GetExecutionHistory
instance GHC.Read.Read Network.AWS.StepFunctions.GetExecutionHistory.GetExecutionHistory
instance GHC.Classes.Eq Network.AWS.StepFunctions.GetExecutionHistory.GetExecutionHistory
instance Network.AWS.Types.AWSRequest Network.AWS.StepFunctions.GetExecutionHistory.GetExecutionHistory
instance Control.DeepSeq.NFData Network.AWS.StepFunctions.GetExecutionHistory.GetExecutionHistoryResponse
instance Network.AWS.Pager.AWSPager Network.AWS.StepFunctions.GetExecutionHistory.GetExecutionHistory
instance Data.Hashable.Class.Hashable Network.AWS.StepFunctions.GetExecutionHistory.GetExecutionHistory
instance Control.DeepSeq.NFData Network.AWS.StepFunctions.GetExecutionHistory.GetExecutionHistory
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.StepFunctions.GetExecutionHistory.GetExecutionHistory
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.StepFunctions.GetExecutionHistory.GetExecutionHistory
instance Network.AWS.Data.Path.ToPath Network.AWS.StepFunctions.GetExecutionHistory.GetExecutionHistory
instance Network.AWS.Data.Query.ToQuery Network.AWS.StepFunctions.GetExecutionHistory.GetExecutionHistory


-- | Used by workers to retrieve a task (with the specified activity ARN)
--   which has been scheduled for execution by a running state machine.
--   This initiates a long poll, where the service holds the HTTP
--   connection open and responds as soon as a task becomes available (i.e.
--   an execution of a task of this type is needed.) The maximum time the
--   service holds on to the request before responding is 60 seconds. If no
--   task is available within 60 seconds, the poll returns a
--   <tt>taskToken</tt> with a null string.
--   
--   <i>Important:</i> Workers should set their client side socket timeout
--   to at least 65 seconds (5 seconds higher than the maximum time the
--   service may hold the poll request).
module Network.AWS.StepFunctions.GetActivityTask

-- | Creates a value of <a>GetActivityTask</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>gatWorkerName</a> - You can provide an arbitrary name in order
--   to identify the worker that the task is assigned to. This name is used
--   when it is logged in the execution history.</li>
--   <li><a>gatActivityARN</a> - The Amazon Resource Name (ARN) of the
--   activity to retrieve tasks from (assigned when you create the task
--   using <tt>CreateActivity</tt> .)</li>
--   </ul>
getActivityTask :: Text -> GetActivityTask

-- | <i>See:</i> <a>getActivityTask</a> smart constructor.
data GetActivityTask

-- | You can provide an arbitrary name in order to identify the worker that
--   the task is assigned to. This name is used when it is logged in the
--   execution history.
gatWorkerName :: Lens' GetActivityTask (Maybe Text)

-- | The Amazon Resource Name (ARN) of the activity to retrieve tasks from
--   (assigned when you create the task using <tt>CreateActivity</tt> .)
gatActivityARN :: Lens' GetActivityTask Text

-- | Creates a value of <a>GetActivityTaskResponse</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>gatrsInput</a> - The string that contains the JSON input data
--   for the task.</li>
--   <li><a>gatrsTaskToken</a> - A token that identifies the scheduled
--   task. This token must be copied and included in subsequent calls to
--   <tt>SendTaskHeartbeat</tt> , <tt>SendTaskSuccess</tt> or
--   <tt>SendTaskFailure</tt> in order to report the progress or completion
--   of the task.</li>
--   <li><a>gatrsResponseStatus</a> - -- | The response status code.</li>
--   </ul>
getActivityTaskResponse :: Int -> GetActivityTaskResponse

-- | <i>See:</i> <a>getActivityTaskResponse</a> smart constructor.
data GetActivityTaskResponse

-- | The string that contains the JSON input data for the task.
gatrsInput :: Lens' GetActivityTaskResponse (Maybe Text)

-- | A token that identifies the scheduled task. This token must be copied
--   and included in subsequent calls to <tt>SendTaskHeartbeat</tt> ,
--   <tt>SendTaskSuccess</tt> or <tt>SendTaskFailure</tt> in order to
--   report the progress or completion of the task.
gatrsTaskToken :: Lens' GetActivityTaskResponse (Maybe Text)

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
gatrsResponseStatus :: Lens' GetActivityTaskResponse Int
instance GHC.Generics.Generic Network.AWS.StepFunctions.GetActivityTask.GetActivityTaskResponse
instance Data.Data.Data Network.AWS.StepFunctions.GetActivityTask.GetActivityTaskResponse
instance GHC.Show.Show Network.AWS.StepFunctions.GetActivityTask.GetActivityTaskResponse
instance GHC.Read.Read Network.AWS.StepFunctions.GetActivityTask.GetActivityTaskResponse
instance GHC.Classes.Eq Network.AWS.StepFunctions.GetActivityTask.GetActivityTaskResponse
instance GHC.Generics.Generic Network.AWS.StepFunctions.GetActivityTask.GetActivityTask
instance Data.Data.Data Network.AWS.StepFunctions.GetActivityTask.GetActivityTask
instance GHC.Show.Show Network.AWS.StepFunctions.GetActivityTask.GetActivityTask
instance GHC.Read.Read Network.AWS.StepFunctions.GetActivityTask.GetActivityTask
instance GHC.Classes.Eq Network.AWS.StepFunctions.GetActivityTask.GetActivityTask
instance Network.AWS.Types.AWSRequest Network.AWS.StepFunctions.GetActivityTask.GetActivityTask
instance Control.DeepSeq.NFData Network.AWS.StepFunctions.GetActivityTask.GetActivityTaskResponse
instance Data.Hashable.Class.Hashable Network.AWS.StepFunctions.GetActivityTask.GetActivityTask
instance Control.DeepSeq.NFData Network.AWS.StepFunctions.GetActivityTask.GetActivityTask
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.StepFunctions.GetActivityTask.GetActivityTask
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.StepFunctions.GetActivityTask.GetActivityTask
instance Network.AWS.Data.Path.ToPath Network.AWS.StepFunctions.GetActivityTask.GetActivityTask
instance Network.AWS.Data.Query.ToQuery Network.AWS.StepFunctions.GetActivityTask.GetActivityTask


-- | Describes the state machine associated with a specific execution.
module Network.AWS.StepFunctions.DescribeStateMachineForExecution

-- | Creates a value of <a>DescribeStateMachineForExecution</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>dsmfeExecutionARN</a> - The Amazon Resource Name (ARN) of the
--   execution you want state machine information for.</li>
--   </ul>
describeStateMachineForExecution :: Text -> DescribeStateMachineForExecution

-- | <i>See:</i> <a>describeStateMachineForExecution</a> smart constructor.
data DescribeStateMachineForExecution

-- | The Amazon Resource Name (ARN) of the execution you want state machine
--   information for.
dsmfeExecutionARN :: Lens' DescribeStateMachineForExecution Text

-- | Creates a value of <a>DescribeStateMachineForExecutionResponse</a>
--   with the minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>dsmfersResponseStatus</a> - -- | The response status code.</li>
--   <li><a>dsmfersStateMachineARN</a> - The Amazon Resource Name (ARN) of
--   the state machine associated with the execution.</li>
--   <li><a>dsmfersName</a> - The name of the state machine associated with
--   the execution.</li>
--   <li><a>dsmfersDefinition</a> - The Amazon States Language definition
--   of the state machine.</li>
--   <li><a>dsmfersRoleARN</a> - The Amazon Resource Name (ARN) of the IAM
--   role of the State Machine for the execution.</li>
--   <li><a>dsmfersUpdateDate</a> - The date and time the state machine
--   associated with an execution was updated. For a newly created state
--   machine, this is the creation date.</li>
--   </ul>
describeStateMachineForExecutionResponse :: Int -> Text -> Text -> Text -> Text -> UTCTime -> DescribeStateMachineForExecutionResponse

-- | <i>See:</i> <a>describeStateMachineForExecutionResponse</a> smart
--   constructor.
data DescribeStateMachineForExecutionResponse

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
dsmfersResponseStatus :: Lens' DescribeStateMachineForExecutionResponse Int

-- | The Amazon Resource Name (ARN) of the state machine associated with
--   the execution.
dsmfersStateMachineARN :: Lens' DescribeStateMachineForExecutionResponse Text

-- | The name of the state machine associated with the execution.
dsmfersName :: Lens' DescribeStateMachineForExecutionResponse Text

-- | The Amazon States Language definition of the state machine.
dsmfersDefinition :: Lens' DescribeStateMachineForExecutionResponse Text

-- | The Amazon Resource Name (ARN) of the IAM role of the State Machine
--   for the execution.
dsmfersRoleARN :: Lens' DescribeStateMachineForExecutionResponse Text

-- | The date and time the state machine associated with an execution was
--   updated. For a newly created state machine, this is the creation date.
dsmfersUpdateDate :: Lens' DescribeStateMachineForExecutionResponse UTCTime
instance GHC.Generics.Generic Network.AWS.StepFunctions.DescribeStateMachineForExecution.DescribeStateMachineForExecutionResponse
instance Data.Data.Data Network.AWS.StepFunctions.DescribeStateMachineForExecution.DescribeStateMachineForExecutionResponse
instance GHC.Show.Show Network.AWS.StepFunctions.DescribeStateMachineForExecution.DescribeStateMachineForExecutionResponse
instance GHC.Read.Read Network.AWS.StepFunctions.DescribeStateMachineForExecution.DescribeStateMachineForExecutionResponse
instance GHC.Classes.Eq Network.AWS.StepFunctions.DescribeStateMachineForExecution.DescribeStateMachineForExecutionResponse
instance GHC.Generics.Generic Network.AWS.StepFunctions.DescribeStateMachineForExecution.DescribeStateMachineForExecution
instance Data.Data.Data Network.AWS.StepFunctions.DescribeStateMachineForExecution.DescribeStateMachineForExecution
instance GHC.Show.Show Network.AWS.StepFunctions.DescribeStateMachineForExecution.DescribeStateMachineForExecution
instance GHC.Read.Read Network.AWS.StepFunctions.DescribeStateMachineForExecution.DescribeStateMachineForExecution
instance GHC.Classes.Eq Network.AWS.StepFunctions.DescribeStateMachineForExecution.DescribeStateMachineForExecution
instance Network.AWS.Types.AWSRequest Network.AWS.StepFunctions.DescribeStateMachineForExecution.DescribeStateMachineForExecution
instance Control.DeepSeq.NFData Network.AWS.StepFunctions.DescribeStateMachineForExecution.DescribeStateMachineForExecutionResponse
instance Data.Hashable.Class.Hashable Network.AWS.StepFunctions.DescribeStateMachineForExecution.DescribeStateMachineForExecution
instance Control.DeepSeq.NFData Network.AWS.StepFunctions.DescribeStateMachineForExecution.DescribeStateMachineForExecution
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.StepFunctions.DescribeStateMachineForExecution.DescribeStateMachineForExecution
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.StepFunctions.DescribeStateMachineForExecution.DescribeStateMachineForExecution
instance Network.AWS.Data.Path.ToPath Network.AWS.StepFunctions.DescribeStateMachineForExecution.DescribeStateMachineForExecution
instance Network.AWS.Data.Query.ToQuery Network.AWS.StepFunctions.DescribeStateMachineForExecution.DescribeStateMachineForExecution


-- | Describes a state machine.
module Network.AWS.StepFunctions.DescribeStateMachine

-- | Creates a value of <a>DescribeStateMachine</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>dsmStateMachineARN</a> - The Amazon Resource Name (ARN) of the
--   state machine to describe.</li>
--   </ul>
describeStateMachine :: Text -> DescribeStateMachine

-- | <i>See:</i> <a>describeStateMachine</a> smart constructor.
data DescribeStateMachine

-- | The Amazon Resource Name (ARN) of the state machine to describe.
dsmStateMachineARN :: Lens' DescribeStateMachine Text

-- | Creates a value of <a>DescribeStateMachineResponse</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>dsmrsStatus</a> - The current status of the state machine.</li>
--   <li><a>dsmrsResponseStatus</a> - -- | The response status code.</li>
--   <li><a>dsmrsStateMachineARN</a> - The Amazon Resource Name (ARN) that
--   identifies the state machine.</li>
--   <li><a>dsmrsName</a> - The name of the state machine. A name must
--   <i>not</i> contain: * whitespace * brackets <tt><a></a> { } [ ]</tt> *
--   wildcard characters <tt>? *</tt> * special characters <tt>" # % ^ | ~
--   ` $ &amp; , ; : /</tt> * control characters (<tt>U+0000-001F</tt> ,
--   <tt>U+007F-009F</tt> )</li>
--   <li><a>dsmrsDefinition</a> - The Amazon States Language definition of
--   the state machine.</li>
--   <li><a>dsmrsRoleARN</a> - The Amazon Resource Name (ARN) of the IAM
--   role used when creating this state machine. (The IAM role maintains
--   security by granting Step Functions access to AWS resources.)</li>
--   <li><a>dsmrsCreationDate</a> - The date the state machine is
--   created.</li>
--   </ul>
describeStateMachineResponse :: Int -> Text -> Text -> Text -> Text -> UTCTime -> DescribeStateMachineResponse

-- | <i>See:</i> <a>describeStateMachineResponse</a> smart constructor.
data DescribeStateMachineResponse

-- | The current status of the state machine.
dsmrsStatus :: Lens' DescribeStateMachineResponse (Maybe StateMachineStatus)

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
dsmrsResponseStatus :: Lens' DescribeStateMachineResponse Int

-- | The Amazon Resource Name (ARN) that identifies the state machine.
dsmrsStateMachineARN :: Lens' DescribeStateMachineResponse Text

-- | The name of the state machine. A name must <i>not</i> contain: *
--   whitespace * brackets <tt><a></a> { } [ ]</tt> * wildcard characters
--   <tt>? *</tt> * special characters <tt>" # % ^ | ~ ` $ &amp; , ; :
--   /</tt> * control characters (<tt>U+0000-001F</tt> ,
--   <tt>U+007F-009F</tt> )
dsmrsName :: Lens' DescribeStateMachineResponse Text

-- | The Amazon States Language definition of the state machine.
dsmrsDefinition :: Lens' DescribeStateMachineResponse Text

-- | The Amazon Resource Name (ARN) of the IAM role used when creating this
--   state machine. (The IAM role maintains security by granting Step
--   Functions access to AWS resources.)
dsmrsRoleARN :: Lens' DescribeStateMachineResponse Text

-- | The date the state machine is created.
dsmrsCreationDate :: Lens' DescribeStateMachineResponse UTCTime
instance GHC.Generics.Generic Network.AWS.StepFunctions.DescribeStateMachine.DescribeStateMachineResponse
instance Data.Data.Data Network.AWS.StepFunctions.DescribeStateMachine.DescribeStateMachineResponse
instance GHC.Show.Show Network.AWS.StepFunctions.DescribeStateMachine.DescribeStateMachineResponse
instance GHC.Read.Read Network.AWS.StepFunctions.DescribeStateMachine.DescribeStateMachineResponse
instance GHC.Classes.Eq Network.AWS.StepFunctions.DescribeStateMachine.DescribeStateMachineResponse
instance GHC.Generics.Generic Network.AWS.StepFunctions.DescribeStateMachine.DescribeStateMachine
instance Data.Data.Data Network.AWS.StepFunctions.DescribeStateMachine.DescribeStateMachine
instance GHC.Show.Show Network.AWS.StepFunctions.DescribeStateMachine.DescribeStateMachine
instance GHC.Read.Read Network.AWS.StepFunctions.DescribeStateMachine.DescribeStateMachine
instance GHC.Classes.Eq Network.AWS.StepFunctions.DescribeStateMachine.DescribeStateMachine
instance Network.AWS.Types.AWSRequest Network.AWS.StepFunctions.DescribeStateMachine.DescribeStateMachine
instance Control.DeepSeq.NFData Network.AWS.StepFunctions.DescribeStateMachine.DescribeStateMachineResponse
instance Data.Hashable.Class.Hashable Network.AWS.StepFunctions.DescribeStateMachine.DescribeStateMachine
instance Control.DeepSeq.NFData Network.AWS.StepFunctions.DescribeStateMachine.DescribeStateMachine
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.StepFunctions.DescribeStateMachine.DescribeStateMachine
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.StepFunctions.DescribeStateMachine.DescribeStateMachine
instance Network.AWS.Data.Path.ToPath Network.AWS.StepFunctions.DescribeStateMachine.DescribeStateMachine
instance Network.AWS.Data.Query.ToQuery Network.AWS.StepFunctions.DescribeStateMachine.DescribeStateMachine


-- | Describes an execution.
module Network.AWS.StepFunctions.DescribeExecution

-- | Creates a value of <a>DescribeExecution</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>deExecutionARN</a> - The Amazon Resource Name (ARN) of the
--   execution to describe.</li>
--   </ul>
describeExecution :: Text -> DescribeExecution

-- | <i>See:</i> <a>describeExecution</a> smart constructor.
data DescribeExecution

-- | The Amazon Resource Name (ARN) of the execution to describe.
deExecutionARN :: Lens' DescribeExecution Text

-- | Creates a value of <a>DescribeExecutionResponse</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>dersStopDate</a> - If the execution has already ended, the date
--   the execution stopped.</li>
--   <li><a>dersName</a> - The name of the execution. A name must
--   <i>not</i> contain: * whitespace * brackets <tt><a></a> { } [ ]</tt> *
--   wildcard characters <tt>? *</tt> * special characters <tt>" # % ^ | ~
--   ` $ &amp; , ; : /</tt> * control characters (<tt>U+0000-001F</tt> ,
--   <tt>U+007F-009F</tt> )</li>
--   <li><a>dersOutput</a> - The JSON output data of the execution.</li>
--   <li><a>dersResponseStatus</a> - -- | The response status code.</li>
--   <li><a>dersExecutionARN</a> - The Amazon Resource Name (ARN) that
--   identifies the execution.</li>
--   <li><a>dersStateMachineARN</a> - The Amazon Resource Name (ARN) of the
--   executed stated machine.</li>
--   <li><a>dersStatus</a> - The current status of the execution.</li>
--   <li><a>dersStartDate</a> - The date the execution is started.</li>
--   <li><a>dersInput</a> - The string that contains the JSON input data of
--   the execution.</li>
--   </ul>
describeExecutionResponse :: Int -> Text -> Text -> ExecutionStatus -> UTCTime -> Text -> DescribeExecutionResponse

-- | <i>See:</i> <a>describeExecutionResponse</a> smart constructor.
data DescribeExecutionResponse

-- | If the execution has already ended, the date the execution stopped.
dersStopDate :: Lens' DescribeExecutionResponse (Maybe UTCTime)

-- | The name of the execution. A name must <i>not</i> contain: *
--   whitespace * brackets <tt><a></a> { } [ ]</tt> * wildcard characters
--   <tt>? *</tt> * special characters <tt>" # % ^ | ~ ` $ &amp; , ; :
--   /</tt> * control characters (<tt>U+0000-001F</tt> ,
--   <tt>U+007F-009F</tt> )
dersName :: Lens' DescribeExecutionResponse (Maybe Text)

-- | The JSON output data of the execution.
dersOutput :: Lens' DescribeExecutionResponse (Maybe Text)

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
dersResponseStatus :: Lens' DescribeExecutionResponse Int

-- | The Amazon Resource Name (ARN) that identifies the execution.
dersExecutionARN :: Lens' DescribeExecutionResponse Text

-- | The Amazon Resource Name (ARN) of the executed stated machine.
dersStateMachineARN :: Lens' DescribeExecutionResponse Text

-- | The current status of the execution.
dersStatus :: Lens' DescribeExecutionResponse ExecutionStatus

-- | The date the execution is started.
dersStartDate :: Lens' DescribeExecutionResponse UTCTime

-- | The string that contains the JSON input data of the execution.
dersInput :: Lens' DescribeExecutionResponse Text
instance GHC.Generics.Generic Network.AWS.StepFunctions.DescribeExecution.DescribeExecutionResponse
instance Data.Data.Data Network.AWS.StepFunctions.DescribeExecution.DescribeExecutionResponse
instance GHC.Show.Show Network.AWS.StepFunctions.DescribeExecution.DescribeExecutionResponse
instance GHC.Read.Read Network.AWS.StepFunctions.DescribeExecution.DescribeExecutionResponse
instance GHC.Classes.Eq Network.AWS.StepFunctions.DescribeExecution.DescribeExecutionResponse
instance GHC.Generics.Generic Network.AWS.StepFunctions.DescribeExecution.DescribeExecution
instance Data.Data.Data Network.AWS.StepFunctions.DescribeExecution.DescribeExecution
instance GHC.Show.Show Network.AWS.StepFunctions.DescribeExecution.DescribeExecution
instance GHC.Read.Read Network.AWS.StepFunctions.DescribeExecution.DescribeExecution
instance GHC.Classes.Eq Network.AWS.StepFunctions.DescribeExecution.DescribeExecution
instance Network.AWS.Types.AWSRequest Network.AWS.StepFunctions.DescribeExecution.DescribeExecution
instance Control.DeepSeq.NFData Network.AWS.StepFunctions.DescribeExecution.DescribeExecutionResponse
instance Data.Hashable.Class.Hashable Network.AWS.StepFunctions.DescribeExecution.DescribeExecution
instance Control.DeepSeq.NFData Network.AWS.StepFunctions.DescribeExecution.DescribeExecution
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.StepFunctions.DescribeExecution.DescribeExecution
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.StepFunctions.DescribeExecution.DescribeExecution
instance Network.AWS.Data.Path.ToPath Network.AWS.StepFunctions.DescribeExecution.DescribeExecution
instance Network.AWS.Data.Query.ToQuery Network.AWS.StepFunctions.DescribeExecution.DescribeExecution


-- | Describes an activity.
module Network.AWS.StepFunctions.DescribeActivity

-- | Creates a value of <a>DescribeActivity</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>dActivityARN</a> - The Amazon Resource Name (ARN) of the
--   activity to describe.</li>
--   </ul>
describeActivity :: Text -> DescribeActivity

-- | <i>See:</i> <a>describeActivity</a> smart constructor.
data DescribeActivity

-- | The Amazon Resource Name (ARN) of the activity to describe.
dActivityARN :: Lens' DescribeActivity Text

-- | Creates a value of <a>DescribeActivityResponse</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>desrsResponseStatus</a> - -- | The response status code.</li>
--   <li><a>desrsActivityARN</a> - The Amazon Resource Name (ARN) that
--   identifies the activity.</li>
--   <li><a>desrsName</a> - The name of the activity. A name must
--   <i>not</i> contain: * whitespace * brackets <tt><a></a> { } [ ]</tt> *
--   wildcard characters <tt>? *</tt> * special characters <tt>" # % ^ | ~
--   ` $ &amp; , ; : /</tt> * control characters (<tt>U+0000-001F</tt> ,
--   <tt>U+007F-009F</tt> )</li>
--   <li><a>desrsCreationDate</a> - The date the activity is created.</li>
--   </ul>
describeActivityResponse :: Int -> Text -> Text -> UTCTime -> DescribeActivityResponse

-- | <i>See:</i> <a>describeActivityResponse</a> smart constructor.
data DescribeActivityResponse

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
desrsResponseStatus :: Lens' DescribeActivityResponse Int

-- | The Amazon Resource Name (ARN) that identifies the activity.
desrsActivityARN :: Lens' DescribeActivityResponse Text

-- | The name of the activity. A name must <i>not</i> contain: * whitespace
--   * brackets <tt><a></a> { } [ ]</tt> * wildcard characters <tt>? *</tt>
--   * special characters <tt>" # % ^ | ~ ` $ &amp; , ; : /</tt> * control
--   characters (<tt>U+0000-001F</tt> , <tt>U+007F-009F</tt> )
desrsName :: Lens' DescribeActivityResponse Text

-- | The date the activity is created.
desrsCreationDate :: Lens' DescribeActivityResponse UTCTime
instance GHC.Generics.Generic Network.AWS.StepFunctions.DescribeActivity.DescribeActivityResponse
instance Data.Data.Data Network.AWS.StepFunctions.DescribeActivity.DescribeActivityResponse
instance GHC.Show.Show Network.AWS.StepFunctions.DescribeActivity.DescribeActivityResponse
instance GHC.Read.Read Network.AWS.StepFunctions.DescribeActivity.DescribeActivityResponse
instance GHC.Classes.Eq Network.AWS.StepFunctions.DescribeActivity.DescribeActivityResponse
instance GHC.Generics.Generic Network.AWS.StepFunctions.DescribeActivity.DescribeActivity
instance Data.Data.Data Network.AWS.StepFunctions.DescribeActivity.DescribeActivity
instance GHC.Show.Show Network.AWS.StepFunctions.DescribeActivity.DescribeActivity
instance GHC.Read.Read Network.AWS.StepFunctions.DescribeActivity.DescribeActivity
instance GHC.Classes.Eq Network.AWS.StepFunctions.DescribeActivity.DescribeActivity
instance Network.AWS.Types.AWSRequest Network.AWS.StepFunctions.DescribeActivity.DescribeActivity
instance Control.DeepSeq.NFData Network.AWS.StepFunctions.DescribeActivity.DescribeActivityResponse
instance Data.Hashable.Class.Hashable Network.AWS.StepFunctions.DescribeActivity.DescribeActivity
instance Control.DeepSeq.NFData Network.AWS.StepFunctions.DescribeActivity.DescribeActivity
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.StepFunctions.DescribeActivity.DescribeActivity
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.StepFunctions.DescribeActivity.DescribeActivity
instance Network.AWS.Data.Path.ToPath Network.AWS.StepFunctions.DescribeActivity.DescribeActivity
instance Network.AWS.Data.Query.ToQuery Network.AWS.StepFunctions.DescribeActivity.DescribeActivity


-- | Deletes a state machine. This is an asynchronous operation: It sets
--   the state machine's status to <tt>DELETING</tt> and begins the
--   deletion process. Each state machine execution is deleted the next
--   time it makes a state transition.
module Network.AWS.StepFunctions.DeleteStateMachine

-- | Creates a value of <a>DeleteStateMachine</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>dStateMachineARN</a> - The Amazon Resource Name (ARN) of the
--   state machine to delete.</li>
--   </ul>
deleteStateMachine :: Text -> DeleteStateMachine

-- | <i>See:</i> <a>deleteStateMachine</a> smart constructor.
data DeleteStateMachine

-- | The Amazon Resource Name (ARN) of the state machine to delete.
dStateMachineARN :: Lens' DeleteStateMachine Text

-- | Creates a value of <a>DeleteStateMachineResponse</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>drsResponseStatus</a> - -- | The response status code.</li>
--   </ul>
deleteStateMachineResponse :: Int -> DeleteStateMachineResponse

-- | <i>See:</i> <a>deleteStateMachineResponse</a> smart constructor.
data DeleteStateMachineResponse

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
drsResponseStatus :: Lens' DeleteStateMachineResponse Int
instance GHC.Generics.Generic Network.AWS.StepFunctions.DeleteStateMachine.DeleteStateMachineResponse
instance Data.Data.Data Network.AWS.StepFunctions.DeleteStateMachine.DeleteStateMachineResponse
instance GHC.Show.Show Network.AWS.StepFunctions.DeleteStateMachine.DeleteStateMachineResponse
instance GHC.Read.Read Network.AWS.StepFunctions.DeleteStateMachine.DeleteStateMachineResponse
instance GHC.Classes.Eq Network.AWS.StepFunctions.DeleteStateMachine.DeleteStateMachineResponse
instance GHC.Generics.Generic Network.AWS.StepFunctions.DeleteStateMachine.DeleteStateMachine
instance Data.Data.Data Network.AWS.StepFunctions.DeleteStateMachine.DeleteStateMachine
instance GHC.Show.Show Network.AWS.StepFunctions.DeleteStateMachine.DeleteStateMachine
instance GHC.Read.Read Network.AWS.StepFunctions.DeleteStateMachine.DeleteStateMachine
instance GHC.Classes.Eq Network.AWS.StepFunctions.DeleteStateMachine.DeleteStateMachine
instance Network.AWS.Types.AWSRequest Network.AWS.StepFunctions.DeleteStateMachine.DeleteStateMachine
instance Control.DeepSeq.NFData Network.AWS.StepFunctions.DeleteStateMachine.DeleteStateMachineResponse
instance Data.Hashable.Class.Hashable Network.AWS.StepFunctions.DeleteStateMachine.DeleteStateMachine
instance Control.DeepSeq.NFData Network.AWS.StepFunctions.DeleteStateMachine.DeleteStateMachine
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.StepFunctions.DeleteStateMachine.DeleteStateMachine
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.StepFunctions.DeleteStateMachine.DeleteStateMachine
instance Network.AWS.Data.Path.ToPath Network.AWS.StepFunctions.DeleteStateMachine.DeleteStateMachine
instance Network.AWS.Data.Query.ToQuery Network.AWS.StepFunctions.DeleteStateMachine.DeleteStateMachine


-- | Deletes an activity.
module Network.AWS.StepFunctions.DeleteActivity

-- | Creates a value of <a>DeleteActivity</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>daActivityARN</a> - The Amazon Resource Name (ARN) of the
--   activity to delete.</li>
--   </ul>
deleteActivity :: Text -> DeleteActivity

-- | <i>See:</i> <a>deleteActivity</a> smart constructor.
data DeleteActivity

-- | The Amazon Resource Name (ARN) of the activity to delete.
daActivityARN :: Lens' DeleteActivity Text

-- | Creates a value of <a>DeleteActivityResponse</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>darsResponseStatus</a> - -- | The response status code.</li>
--   </ul>
deleteActivityResponse :: Int -> DeleteActivityResponse

-- | <i>See:</i> <a>deleteActivityResponse</a> smart constructor.
data DeleteActivityResponse

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
darsResponseStatus :: Lens' DeleteActivityResponse Int
instance GHC.Generics.Generic Network.AWS.StepFunctions.DeleteActivity.DeleteActivityResponse
instance Data.Data.Data Network.AWS.StepFunctions.DeleteActivity.DeleteActivityResponse
instance GHC.Show.Show Network.AWS.StepFunctions.DeleteActivity.DeleteActivityResponse
instance GHC.Read.Read Network.AWS.StepFunctions.DeleteActivity.DeleteActivityResponse
instance GHC.Classes.Eq Network.AWS.StepFunctions.DeleteActivity.DeleteActivityResponse
instance GHC.Generics.Generic Network.AWS.StepFunctions.DeleteActivity.DeleteActivity
instance Data.Data.Data Network.AWS.StepFunctions.DeleteActivity.DeleteActivity
instance GHC.Show.Show Network.AWS.StepFunctions.DeleteActivity.DeleteActivity
instance GHC.Read.Read Network.AWS.StepFunctions.DeleteActivity.DeleteActivity
instance GHC.Classes.Eq Network.AWS.StepFunctions.DeleteActivity.DeleteActivity
instance Network.AWS.Types.AWSRequest Network.AWS.StepFunctions.DeleteActivity.DeleteActivity
instance Control.DeepSeq.NFData Network.AWS.StepFunctions.DeleteActivity.DeleteActivityResponse
instance Data.Hashable.Class.Hashable Network.AWS.StepFunctions.DeleteActivity.DeleteActivity
instance Control.DeepSeq.NFData Network.AWS.StepFunctions.DeleteActivity.DeleteActivity
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.StepFunctions.DeleteActivity.DeleteActivity
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.StepFunctions.DeleteActivity.DeleteActivity
instance Network.AWS.Data.Path.ToPath Network.AWS.StepFunctions.DeleteActivity.DeleteActivity
instance Network.AWS.Data.Query.ToQuery Network.AWS.StepFunctions.DeleteActivity.DeleteActivity


-- | Creates a state machine. A state machine consists of a collection of
--   states that can do work (<tt>Task</tt> states), determine to which
--   states to transition next (<tt>Choice</tt> states), stop an execution
--   with an error (<tt>Fail</tt> states), and so on. State machines are
--   specified using a JSON-based, structured language.
module Network.AWS.StepFunctions.CreateStateMachine

-- | Creates a value of <a>CreateStateMachine</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>csmName</a> - The name of the state machine. This name must be
--   unique for your AWS account and region for 90 days. For more
--   information, see <a>Limits Related to State Machine Executions</a> in
--   the <i>AWS Step Functions Developer Guide</i> . A name must <i>not</i>
--   contain: * whitespace * brackets <tt><a></a> { } [ ]</tt> * wildcard
--   characters <tt>? *</tt> * special characters <tt>" # % ^ | ~ ` $ &amp;
--   , ; : /</tt> * control characters (<tt>U+0000-001F</tt> ,
--   <tt>U+007F-009F</tt> )</li>
--   <li><a>csmDefinition</a> - The Amazon States Language definition of
--   the state machine.</li>
--   <li><a>csmRoleARN</a> - The Amazon Resource Name (ARN) of the IAM role
--   to use for this state machine.</li>
--   </ul>
createStateMachine :: Text -> Text -> Text -> CreateStateMachine

-- | <i>See:</i> <a>createStateMachine</a> smart constructor.
data CreateStateMachine

-- | The name of the state machine. This name must be unique for your AWS
--   account and region for 90 days. For more information, see <a>Limits
--   Related to State Machine Executions</a> in the <i>AWS Step Functions
--   Developer Guide</i> . A name must <i>not</i> contain: * whitespace *
--   brackets <tt><a></a> { } [ ]</tt> * wildcard characters <tt>? *</tt> *
--   special characters <tt>" # % ^ | ~ ` $ &amp; , ; : /</tt> * control
--   characters (<tt>U+0000-001F</tt> , <tt>U+007F-009F</tt> )
csmName :: Lens' CreateStateMachine Text

-- | The Amazon States Language definition of the state machine.
csmDefinition :: Lens' CreateStateMachine Text

-- | The Amazon Resource Name (ARN) of the IAM role to use for this state
--   machine.
csmRoleARN :: Lens' CreateStateMachine Text

-- | Creates a value of <a>CreateStateMachineResponse</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>csmrsResponseStatus</a> - -- | The response status code.</li>
--   <li><a>csmrsStateMachineARN</a> - The Amazon Resource Name (ARN) that
--   identifies the created state machine.</li>
--   <li><a>csmrsCreationDate</a> - The date the state machine is
--   created.</li>
--   </ul>
createStateMachineResponse :: Int -> Text -> UTCTime -> CreateStateMachineResponse

-- | <i>See:</i> <a>createStateMachineResponse</a> smart constructor.
data CreateStateMachineResponse

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
csmrsResponseStatus :: Lens' CreateStateMachineResponse Int

-- | The Amazon Resource Name (ARN) that identifies the created state
--   machine.
csmrsStateMachineARN :: Lens' CreateStateMachineResponse Text

-- | The date the state machine is created.
csmrsCreationDate :: Lens' CreateStateMachineResponse UTCTime
instance GHC.Generics.Generic Network.AWS.StepFunctions.CreateStateMachine.CreateStateMachineResponse
instance Data.Data.Data Network.AWS.StepFunctions.CreateStateMachine.CreateStateMachineResponse
instance GHC.Show.Show Network.AWS.StepFunctions.CreateStateMachine.CreateStateMachineResponse
instance GHC.Read.Read Network.AWS.StepFunctions.CreateStateMachine.CreateStateMachineResponse
instance GHC.Classes.Eq Network.AWS.StepFunctions.CreateStateMachine.CreateStateMachineResponse
instance GHC.Generics.Generic Network.AWS.StepFunctions.CreateStateMachine.CreateStateMachine
instance Data.Data.Data Network.AWS.StepFunctions.CreateStateMachine.CreateStateMachine
instance GHC.Show.Show Network.AWS.StepFunctions.CreateStateMachine.CreateStateMachine
instance GHC.Read.Read Network.AWS.StepFunctions.CreateStateMachine.CreateStateMachine
instance GHC.Classes.Eq Network.AWS.StepFunctions.CreateStateMachine.CreateStateMachine
instance Network.AWS.Types.AWSRequest Network.AWS.StepFunctions.CreateStateMachine.CreateStateMachine
instance Control.DeepSeq.NFData Network.AWS.StepFunctions.CreateStateMachine.CreateStateMachineResponse
instance Data.Hashable.Class.Hashable Network.AWS.StepFunctions.CreateStateMachine.CreateStateMachine
instance Control.DeepSeq.NFData Network.AWS.StepFunctions.CreateStateMachine.CreateStateMachine
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.StepFunctions.CreateStateMachine.CreateStateMachine
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.StepFunctions.CreateStateMachine.CreateStateMachine
instance Network.AWS.Data.Path.ToPath Network.AWS.StepFunctions.CreateStateMachine.CreateStateMachine
instance Network.AWS.Data.Query.ToQuery Network.AWS.StepFunctions.CreateStateMachine.CreateStateMachine


-- | Creates an activity. An activity is a task which you write in any
--   programming language and host on any machine which has access to AWS
--   Step Functions. Activities must poll Step Functions using the
--   <tt>GetActivityTask</tt> API action and respond using
--   <tt>SendTask*</tt> API actions. This function lets Step Functions know
--   the existence of your activity and returns an identifier for use in a
--   state machine and when polling from the activity.
module Network.AWS.StepFunctions.CreateActivity

-- | Creates a value of <a>CreateActivity</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>caName</a> - The name of the activity to create. This name must
--   be unique for your AWS account and region for 90 days. For more
--   information, see <a>Limits Related to State Machine Executions</a> in
--   the <i>AWS Step Functions Developer Guide</i> . A name must <i>not</i>
--   contain: * whitespace * brackets <tt><a></a> { } [ ]</tt> * wildcard
--   characters <tt>? *</tt> * special characters <tt>" # % ^ | ~ ` $ &amp;
--   , ; : /</tt> * control characters (<tt>U+0000-001F</tt> ,
--   <tt>U+007F-009F</tt> )</li>
--   </ul>
createActivity :: Text -> CreateActivity

-- | <i>See:</i> <a>createActivity</a> smart constructor.
data CreateActivity

-- | The name of the activity to create. This name must be unique for your
--   AWS account and region for 90 days. For more information, see
--   <a>Limits Related to State Machine Executions</a> in the <i>AWS Step
--   Functions Developer Guide</i> . A name must <i>not</i> contain: *
--   whitespace * brackets <tt><a></a> { } [ ]</tt> * wildcard characters
--   <tt>? *</tt> * special characters <tt>" # % ^ | ~ ` $ &amp; , ; :
--   /</tt> * control characters (<tt>U+0000-001F</tt> ,
--   <tt>U+007F-009F</tt> )
caName :: Lens' CreateActivity Text

-- | Creates a value of <a>CreateActivityResponse</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>carsResponseStatus</a> - -- | The response status code.</li>
--   <li><a>carsActivityARN</a> - The Amazon Resource Name (ARN) that
--   identifies the created activity.</li>
--   <li><a>carsCreationDate</a> - The date the activity is created.</li>
--   </ul>
createActivityResponse :: Int -> Text -> UTCTime -> CreateActivityResponse

-- | <i>See:</i> <a>createActivityResponse</a> smart constructor.
data CreateActivityResponse

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
carsResponseStatus :: Lens' CreateActivityResponse Int

-- | The Amazon Resource Name (ARN) that identifies the created activity.
carsActivityARN :: Lens' CreateActivityResponse Text

-- | The date the activity is created.
carsCreationDate :: Lens' CreateActivityResponse UTCTime
instance GHC.Generics.Generic Network.AWS.StepFunctions.CreateActivity.CreateActivityResponse
instance Data.Data.Data Network.AWS.StepFunctions.CreateActivity.CreateActivityResponse
instance GHC.Show.Show Network.AWS.StepFunctions.CreateActivity.CreateActivityResponse
instance GHC.Read.Read Network.AWS.StepFunctions.CreateActivity.CreateActivityResponse
instance GHC.Classes.Eq Network.AWS.StepFunctions.CreateActivity.CreateActivityResponse
instance GHC.Generics.Generic Network.AWS.StepFunctions.CreateActivity.CreateActivity
instance Data.Data.Data Network.AWS.StepFunctions.CreateActivity.CreateActivity
instance GHC.Show.Show Network.AWS.StepFunctions.CreateActivity.CreateActivity
instance GHC.Read.Read Network.AWS.StepFunctions.CreateActivity.CreateActivity
instance GHC.Classes.Eq Network.AWS.StepFunctions.CreateActivity.CreateActivity
instance Network.AWS.Types.AWSRequest Network.AWS.StepFunctions.CreateActivity.CreateActivity
instance Control.DeepSeq.NFData Network.AWS.StepFunctions.CreateActivity.CreateActivityResponse
instance Data.Hashable.Class.Hashable Network.AWS.StepFunctions.CreateActivity.CreateActivity
instance Control.DeepSeq.NFData Network.AWS.StepFunctions.CreateActivity.CreateActivity
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.StepFunctions.CreateActivity.CreateActivity
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.StepFunctions.CreateActivity.CreateActivity
instance Network.AWS.Data.Path.ToPath Network.AWS.StepFunctions.CreateActivity.CreateActivity
instance Network.AWS.Data.Query.ToQuery Network.AWS.StepFunctions.CreateActivity.CreateActivity


-- | Updates an existing state machine by modifying its <tt>definition</tt>
--   and/or <tt>roleArn</tt> . Running executions will continue to use the
--   previous <tt>definition</tt> and <tt>roleArn</tt> .
module Network.AWS.StepFunctions.UpdateStateMachine

-- | Creates a value of <a>UpdateStateMachine</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>usmDefinition</a> - The Amazon States Language definition of
--   the state machine.</li>
--   <li><a>usmRoleARN</a> - The Amazon Resource Name (ARN) of the IAM role
--   of the state machine.</li>
--   <li><a>usmStateMachineARN</a> - The Amazon Resource Name (ARN) of the
--   state machine.</li>
--   </ul>
updateStateMachine :: Text -> UpdateStateMachine

-- | <i>See:</i> <a>updateStateMachine</a> smart constructor.
data UpdateStateMachine

-- | The Amazon States Language definition of the state machine.
usmDefinition :: Lens' UpdateStateMachine (Maybe Text)

-- | The Amazon Resource Name (ARN) of the IAM role of the state machine.
usmRoleARN :: Lens' UpdateStateMachine (Maybe Text)

-- | The Amazon Resource Name (ARN) of the state machine.
usmStateMachineARN :: Lens' UpdateStateMachine Text

-- | Creates a value of <a>UpdateStateMachineResponse</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>usmrsResponseStatus</a> - -- | The response status code.</li>
--   <li><a>usmrsUpdateDate</a> - The date and time the state machine was
--   updated.</li>
--   </ul>
updateStateMachineResponse :: Int -> UTCTime -> UpdateStateMachineResponse

-- | <i>See:</i> <a>updateStateMachineResponse</a> smart constructor.
data UpdateStateMachineResponse

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
usmrsResponseStatus :: Lens' UpdateStateMachineResponse Int

-- | The date and time the state machine was updated.
usmrsUpdateDate :: Lens' UpdateStateMachineResponse UTCTime
instance GHC.Generics.Generic Network.AWS.StepFunctions.UpdateStateMachine.UpdateStateMachineResponse
instance Data.Data.Data Network.AWS.StepFunctions.UpdateStateMachine.UpdateStateMachineResponse
instance GHC.Show.Show Network.AWS.StepFunctions.UpdateStateMachine.UpdateStateMachineResponse
instance GHC.Read.Read Network.AWS.StepFunctions.UpdateStateMachine.UpdateStateMachineResponse
instance GHC.Classes.Eq Network.AWS.StepFunctions.UpdateStateMachine.UpdateStateMachineResponse
instance GHC.Generics.Generic Network.AWS.StepFunctions.UpdateStateMachine.UpdateStateMachine
instance Data.Data.Data Network.AWS.StepFunctions.UpdateStateMachine.UpdateStateMachine
instance GHC.Show.Show Network.AWS.StepFunctions.UpdateStateMachine.UpdateStateMachine
instance GHC.Read.Read Network.AWS.StepFunctions.UpdateStateMachine.UpdateStateMachine
instance GHC.Classes.Eq Network.AWS.StepFunctions.UpdateStateMachine.UpdateStateMachine
instance Network.AWS.Types.AWSRequest Network.AWS.StepFunctions.UpdateStateMachine.UpdateStateMachine
instance Control.DeepSeq.NFData Network.AWS.StepFunctions.UpdateStateMachine.UpdateStateMachineResponse
instance Data.Hashable.Class.Hashable Network.AWS.StepFunctions.UpdateStateMachine.UpdateStateMachine
instance Control.DeepSeq.NFData Network.AWS.StepFunctions.UpdateStateMachine.UpdateStateMachine
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.StepFunctions.UpdateStateMachine.UpdateStateMachine
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.StepFunctions.UpdateStateMachine.UpdateStateMachine
instance Network.AWS.Data.Path.ToPath Network.AWS.StepFunctions.UpdateStateMachine.UpdateStateMachine
instance Network.AWS.Data.Query.ToQuery Network.AWS.StepFunctions.UpdateStateMachine.UpdateStateMachine


module Network.AWS.StepFunctions.Waiters


-- | <b>AWS Step Functions</b>
--   
--   AWS Step Functions is a service that lets you coordinate the
--   components of distributed applications and microservices using visual
--   workflows.
--   
--   You can use Step Functions to build applications from individual
--   components, each of which performs a discrete function, or <i>task</i>
--   , allowing you to scale and change applications quickly. Step
--   Functions provides a console that helps visualize the components of
--   your application as a series of steps. Step Functions automatically
--   triggers and tracks each step, and retries steps when there are
--   errors, so your application executes predictably and in the right
--   order every time. Step Functions logs the state of each step, so you
--   can quickly diagnose and debug any issues.
--   
--   Step Functions manages operations and underlying infrastructure to
--   ensure your application is available at any scale. You can run tasks
--   on AWS, your own servers, or any system that has access to AWS. You
--   can access and use Step Functions using the console, the AWS SDKs, or
--   an HTTP API. For more information about Step Functions, see the
--   <i><a>AWS Step Functions Developer Guide</a> </i> .
module Network.AWS.StepFunctions

-- | API version <tt>2016-11-23</tt> of the Amazon Step Functions SDK
--   configuration.
stepFunctions :: Service

-- | The maximum number of running executions has been reached. Running
--   executions must end or be stopped before a new execution can be
--   started.
_ExecutionLimitExceeded :: AsError a => Getting (First ServiceError) a ServiceError

-- | The provided Amazon States Language definition is invalid.
_InvalidDefinition :: AsError a => Getting (First ServiceError) a ServiceError

-- | The maximum number of state machines has been reached. Existing state
--   machines must be deleted before a new state machine can be created.
_StateMachineLimitExceeded :: AsError a => Getting (First ServiceError) a ServiceError

-- | The execution has the same <tt>name</tt> as another execution (but a
--   different <tt>input</tt> ).
_ExecutionAlreadyExists :: AsError a => Getting (First ServiceError) a ServiceError

-- | A state machine with the same name but a different definition or role
--   ARN already exists.
_StateMachineAlreadyExists :: AsError a => Getting (First ServiceError) a ServiceError

-- | Prism for TaskTimedOut' errors.
_TaskTimedOut :: AsError a => Getting (First ServiceError) a ServiceError

-- | The provided JSON input data is invalid.
_InvalidExecutionInput :: AsError a => Getting (First ServiceError) a ServiceError

-- | The provided JSON output data is invalid.
_InvalidOutput :: AsError a => Getting (First ServiceError) a ServiceError

-- | The provided name is invalid.
_InvalidName :: AsError a => Getting (First ServiceError) a ServiceError

-- | Prism for TaskDoesNotExist' errors.
_TaskDoesNotExist :: AsError a => Getting (First ServiceError) a ServiceError

-- | The specified activity does not exist.
_ActivityDoesNotExist :: AsError a => Getting (First ServiceError) a ServiceError

-- | The specified state machine is being deleted.
_StateMachineDeleting :: AsError a => Getting (First ServiceError) a ServiceError

-- | Request is missing a required parameter. This error occurs if both
--   <tt>definition</tt> and <tt>roleArn</tt> are not specified.
_MissingRequiredParameter :: AsError a => Getting (First ServiceError) a ServiceError

-- | The provided Amazon Resource Name (ARN) is invalid.
_InvalidARN :: AsError a => Getting (First ServiceError) a ServiceError

-- | The provided token is invalid.
_InvalidToken :: AsError a => Getting (First ServiceError) a ServiceError

-- | The maximum number of workers concurrently polling for activity tasks
--   has been reached.
_ActivityWorkerLimitExceeded :: AsError a => Getting (First ServiceError) a ServiceError

-- | The maximum number of activities has been reached. Existing activities
--   must be deleted before a new activity can be created.
_ActivityLimitExceeded :: AsError a => Getting (First ServiceError) a ServiceError

-- | The specified execution does not exist.
_ExecutionDoesNotExist :: AsError a => Getting (First ServiceError) a ServiceError

-- | The specified state machine does not exist.
_StateMachineDoesNotExist :: AsError a => Getting (First ServiceError) a ServiceError
data ExecutionStatus
Aborted :: ExecutionStatus
Failed :: ExecutionStatus
Running :: ExecutionStatus
Succeeded :: ExecutionStatus
TimedOut :: ExecutionStatus
data HistoryEventType
ActivityFailed :: HistoryEventType
ActivityScheduleFailed :: HistoryEventType
ActivityScheduled :: HistoryEventType
ActivityStarted :: HistoryEventType
ActivitySucceeded :: HistoryEventType
ActivityTimedOut :: HistoryEventType
ChoiceStateEntered :: HistoryEventType
ChoiceStateExited :: HistoryEventType
ExecutionAborted :: HistoryEventType
ExecutionFailed :: HistoryEventType
ExecutionStarted :: HistoryEventType
ExecutionSucceeded :: HistoryEventType
ExecutionTimedOut :: HistoryEventType
FailStateEntered :: HistoryEventType
LambdaFunctionFailed :: HistoryEventType
LambdaFunctionScheduleFailed :: HistoryEventType
LambdaFunctionScheduled :: HistoryEventType
LambdaFunctionStartFailed :: HistoryEventType
LambdaFunctionStarted :: HistoryEventType
LambdaFunctionSucceeded :: HistoryEventType
LambdaFunctionTimedOut :: HistoryEventType
ParallelStateAborted :: HistoryEventType
ParallelStateEntered :: HistoryEventType
ParallelStateExited :: HistoryEventType
ParallelStateFailed :: HistoryEventType
ParallelStateStarted :: HistoryEventType
ParallelStateSucceeded :: HistoryEventType
PassStateEntered :: HistoryEventType
PassStateExited :: HistoryEventType
SucceedStateEntered :: HistoryEventType
SucceedStateExited :: HistoryEventType
TaskStateAborted :: HistoryEventType
TaskStateEntered :: HistoryEventType
TaskStateExited :: HistoryEventType
WaitStateAborted :: HistoryEventType
WaitStateEntered :: HistoryEventType
WaitStateExited :: HistoryEventType
data StateMachineStatus
Active :: StateMachineStatus
Deleting :: StateMachineStatus

-- | Contains details about an activity which failed during an execution.
--   
--   <i>See:</i> <a>activityFailedEventDetails</a> smart constructor.
data ActivityFailedEventDetails

-- | Creates a value of <a>ActivityFailedEventDetails</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>afedError</a> - The error code of the failure.</li>
--   <li><a>afedCause</a> - A more detailed explanation of the cause of the
--   failure.</li>
--   </ul>
activityFailedEventDetails :: ActivityFailedEventDetails

-- | The error code of the failure.
afedError :: Lens' ActivityFailedEventDetails (Maybe Text)

-- | A more detailed explanation of the cause of the failure.
afedCause :: Lens' ActivityFailedEventDetails (Maybe Text)

-- | Contains details about an activity.
--   
--   <i>See:</i> <a>activityListItem</a> smart constructor.
data ActivityListItem

-- | Creates a value of <a>ActivityListItem</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>aliActivityARN</a> - The Amazon Resource Name (ARN) that
--   identifies the activity.</li>
--   <li><a>aliName</a> - The name of the activity. A name must <i>not</i>
--   contain: * whitespace * brackets <tt><a></a> { } [ ]</tt> * wildcard
--   characters <tt>? *</tt> * special characters <tt>" # % ^ | ~ ` $ &amp;
--   , ; : /</tt> * control characters (<tt>U+0000-001F</tt> ,
--   <tt>U+007F-009F</tt> )</li>
--   <li><a>aliCreationDate</a> - The date the activity is created.</li>
--   </ul>
activityListItem :: Text -> Text -> UTCTime -> ActivityListItem

-- | The Amazon Resource Name (ARN) that identifies the activity.
aliActivityARN :: Lens' ActivityListItem Text

-- | The name of the activity. A name must <i>not</i> contain: * whitespace
--   * brackets <tt><a></a> { } [ ]</tt> * wildcard characters <tt>? *</tt>
--   * special characters <tt>" # % ^ | ~ ` $ &amp; , ; : /</tt> * control
--   characters (<tt>U+0000-001F</tt> , <tt>U+007F-009F</tt> )
aliName :: Lens' ActivityListItem Text

-- | The date the activity is created.
aliCreationDate :: Lens' ActivityListItem UTCTime

-- | Contains details about an activity schedule failure which occurred
--   during an execution.
--   
--   <i>See:</i> <a>activityScheduleFailedEventDetails</a> smart
--   constructor.
data ActivityScheduleFailedEventDetails

-- | Creates a value of <a>ActivityScheduleFailedEventDetails</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>asfedError</a> - The error code of the failure.</li>
--   <li><a>asfedCause</a> - A more detailed explanation of the cause of
--   the failure.</li>
--   </ul>
activityScheduleFailedEventDetails :: ActivityScheduleFailedEventDetails

-- | The error code of the failure.
asfedError :: Lens' ActivityScheduleFailedEventDetails (Maybe Text)

-- | A more detailed explanation of the cause of the failure.
asfedCause :: Lens' ActivityScheduleFailedEventDetails (Maybe Text)

-- | Contains details about an activity scheduled during an execution.
--   
--   <i>See:</i> <a>activityScheduledEventDetails</a> smart constructor.
data ActivityScheduledEventDetails

-- | Creates a value of <a>ActivityScheduledEventDetails</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>asedHeartbeatInSeconds</a> - The maximum allowed duration
--   between two heartbeats for the activity task.</li>
--   <li><a>asedInput</a> - The JSON data input to the activity task.</li>
--   <li><a>asedTimeoutInSeconds</a> - The maximum allowed duration of the
--   activity task.</li>
--   <li><a>asedResource</a> - The Amazon Resource Name (ARN) of the
--   scheduled activity.</li>
--   </ul>
activityScheduledEventDetails :: Text -> ActivityScheduledEventDetails

-- | The maximum allowed duration between two heartbeats for the activity
--   task.
asedHeartbeatInSeconds :: Lens' ActivityScheduledEventDetails (Maybe Integer)

-- | The JSON data input to the activity task.
asedInput :: Lens' ActivityScheduledEventDetails (Maybe Text)

-- | The maximum allowed duration of the activity task.
asedTimeoutInSeconds :: Lens' ActivityScheduledEventDetails (Maybe Integer)

-- | The Amazon Resource Name (ARN) of the scheduled activity.
asedResource :: Lens' ActivityScheduledEventDetails Text

-- | Contains details about the start of an activity during an execution.
--   
--   <i>See:</i> <a>activityStartedEventDetails</a> smart constructor.
data ActivityStartedEventDetails

-- | Creates a value of <a>ActivityStartedEventDetails</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>asedWorkerName</a> - The name of the worker that the task is
--   assigned to. These names are provided by the workers when calling
--   <tt>GetActivityTask</tt> .</li>
--   </ul>
activityStartedEventDetails :: ActivityStartedEventDetails

-- | The name of the worker that the task is assigned to. These names are
--   provided by the workers when calling <tt>GetActivityTask</tt> .
asedWorkerName :: Lens' ActivityStartedEventDetails (Maybe Text)

-- | Contains details about an activity which successfully terminated
--   during an execution.
--   
--   <i>See:</i> <a>activitySucceededEventDetails</a> smart constructor.
data ActivitySucceededEventDetails

-- | Creates a value of <a>ActivitySucceededEventDetails</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>asedOutput</a> - The JSON data output by the activity
--   task.</li>
--   </ul>
activitySucceededEventDetails :: ActivitySucceededEventDetails

-- | The JSON data output by the activity task.
asedOutput :: Lens' ActivitySucceededEventDetails (Maybe Text)

-- | Contains details about an activity timeout which occurred during an
--   execution.
--   
--   <i>See:</i> <a>activityTimedOutEventDetails</a> smart constructor.
data ActivityTimedOutEventDetails

-- | Creates a value of <a>ActivityTimedOutEventDetails</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>atoedError</a> - The error code of the failure.</li>
--   <li><a>atoedCause</a> - A more detailed explanation of the cause of
--   the timeout.</li>
--   </ul>
activityTimedOutEventDetails :: ActivityTimedOutEventDetails

-- | The error code of the failure.
atoedError :: Lens' ActivityTimedOutEventDetails (Maybe Text)

-- | A more detailed explanation of the cause of the timeout.
atoedCause :: Lens' ActivityTimedOutEventDetails (Maybe Text)

-- | Contains details about an abort of an execution.
--   
--   <i>See:</i> <a>executionAbortedEventDetails</a> smart constructor.
data ExecutionAbortedEventDetails

-- | Creates a value of <a>ExecutionAbortedEventDetails</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>eaedError</a> - The error code of the failure.</li>
--   <li><a>eaedCause</a> - A more detailed explanation of the cause of the
--   failure.</li>
--   </ul>
executionAbortedEventDetails :: ExecutionAbortedEventDetails

-- | The error code of the failure.
eaedError :: Lens' ExecutionAbortedEventDetails (Maybe Text)

-- | A more detailed explanation of the cause of the failure.
eaedCause :: Lens' ExecutionAbortedEventDetails (Maybe Text)

-- | Contains details about an execution failure event.
--   
--   <i>See:</i> <a>executionFailedEventDetails</a> smart constructor.
data ExecutionFailedEventDetails

-- | Creates a value of <a>ExecutionFailedEventDetails</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>efedError</a> - The error code of the failure.</li>
--   <li><a>efedCause</a> - A more detailed explanation of the cause of the
--   failure.</li>
--   </ul>
executionFailedEventDetails :: ExecutionFailedEventDetails

-- | The error code of the failure.
efedError :: Lens' ExecutionFailedEventDetails (Maybe Text)

-- | A more detailed explanation of the cause of the failure.
efedCause :: Lens' ExecutionFailedEventDetails (Maybe Text)

-- | Contains details about an execution.
--   
--   <i>See:</i> <a>executionListItem</a> smart constructor.
data ExecutionListItem

-- | Creates a value of <a>ExecutionListItem</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>eliStopDate</a> - If the execution already ended, the date the
--   execution stopped.</li>
--   <li><a>eliExecutionARN</a> - The Amazon Resource Name (ARN) that
--   identifies the execution.</li>
--   <li><a>eliStateMachineARN</a> - The Amazon Resource Name (ARN) of the
--   executed state machine.</li>
--   <li><a>eliName</a> - The name of the execution. A name must <i>not</i>
--   contain: * whitespace * brackets <tt><a></a> { } [ ]</tt> * wildcard
--   characters <tt>? *</tt> * special characters <tt>" # % ^ | ~ ` $ &amp;
--   , ; : /</tt> * control characters (<tt>U+0000-001F</tt> ,
--   <tt>U+007F-009F</tt> )</li>
--   <li><a>eliStatus</a> - The current status of the execution.</li>
--   <li><a>eliStartDate</a> - The date the execution started.</li>
--   </ul>
executionListItem :: Text -> Text -> Text -> ExecutionStatus -> UTCTime -> ExecutionListItem

-- | If the execution already ended, the date the execution stopped.
eliStopDate :: Lens' ExecutionListItem (Maybe UTCTime)

-- | The Amazon Resource Name (ARN) that identifies the execution.
eliExecutionARN :: Lens' ExecutionListItem Text

-- | The Amazon Resource Name (ARN) of the executed state machine.
eliStateMachineARN :: Lens' ExecutionListItem Text

-- | The name of the execution. A name must <i>not</i> contain: *
--   whitespace * brackets <tt><a></a> { } [ ]</tt> * wildcard characters
--   <tt>? *</tt> * special characters <tt>" # % ^ | ~ ` $ &amp; , ; :
--   /</tt> * control characters (<tt>U+0000-001F</tt> ,
--   <tt>U+007F-009F</tt> )
eliName :: Lens' ExecutionListItem Text

-- | The current status of the execution.
eliStatus :: Lens' ExecutionListItem ExecutionStatus

-- | The date the execution started.
eliStartDate :: Lens' ExecutionListItem UTCTime

-- | Contains details about the start of the execution.
--   
--   <i>See:</i> <a>executionStartedEventDetails</a> smart constructor.
data ExecutionStartedEventDetails

-- | Creates a value of <a>ExecutionStartedEventDetails</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>esedInput</a> - The JSON data input to the execution.</li>
--   <li><a>esedRoleARN</a> - The Amazon Resource Name (ARN) of the IAM
--   role used for executing AWS Lambda tasks.</li>
--   </ul>
executionStartedEventDetails :: ExecutionStartedEventDetails

-- | The JSON data input to the execution.
esedInput :: Lens' ExecutionStartedEventDetails (Maybe Text)

-- | The Amazon Resource Name (ARN) of the IAM role used for executing AWS
--   Lambda tasks.
esedRoleARN :: Lens' ExecutionStartedEventDetails (Maybe Text)

-- | Contains details about the successful termination of the execution.
--   
--   <i>See:</i> <a>executionSucceededEventDetails</a> smart constructor.
data ExecutionSucceededEventDetails

-- | Creates a value of <a>ExecutionSucceededEventDetails</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>esedOutput</a> - The JSON data output by the execution.</li>
--   </ul>
executionSucceededEventDetails :: ExecutionSucceededEventDetails

-- | The JSON data output by the execution.
esedOutput :: Lens' ExecutionSucceededEventDetails (Maybe Text)

-- | Contains details about the execution timeout which occurred during the
--   execution.
--   
--   <i>See:</i> <a>executionTimedOutEventDetails</a> smart constructor.
data ExecutionTimedOutEventDetails

-- | Creates a value of <a>ExecutionTimedOutEventDetails</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>etoedError</a> - The error code of the failure.</li>
--   <li><a>etoedCause</a> - A more detailed explanation of the cause of
--   the timeout.</li>
--   </ul>
executionTimedOutEventDetails :: ExecutionTimedOutEventDetails

-- | The error code of the failure.
etoedError :: Lens' ExecutionTimedOutEventDetails (Maybe Text)

-- | A more detailed explanation of the cause of the timeout.
etoedCause :: Lens' ExecutionTimedOutEventDetails (Maybe Text)

-- | Contains details about the events of an execution.
--   
--   <i>See:</i> <a>historyEvent</a> smart constructor.
data HistoryEvent

-- | Creates a value of <a>HistoryEvent</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>heActivityStartedEventDetails</a> - Undocumented member.</li>
--   <li><a>heLambdaFunctionStartFailedEventDetails</a> - Contains details
--   about a lambda function which failed to start during an
--   execution.</li>
--   <li><a>heStateExitedEventDetails</a> - Undocumented member.</li>
--   <li><a>heLambdaFunctionSucceededEventDetails</a> - Contains details
--   about a lambda function which terminated successfully during an
--   execution.</li>
--   <li><a>heActivitySucceededEventDetails</a> - Undocumented member.</li>
--   <li><a>heLambdaFunctionTimedOutEventDetails</a> - Undocumented
--   member.</li>
--   <li><a>heActivityTimedOutEventDetails</a> - Undocumented member.</li>
--   <li><a>heExecutionFailedEventDetails</a> - Undocumented member.</li>
--   <li><a>heExecutionAbortedEventDetails</a> - Undocumented member.</li>
--   <li><a>heExecutionSucceededEventDetails</a> - Undocumented
--   member.</li>
--   <li><a>heLambdaFunctionScheduledEventDetails</a> - Undocumented
--   member.</li>
--   <li><a>heActivityScheduledEventDetails</a> - Undocumented member.</li>
--   <li><a>heExecutionStartedEventDetails</a> - Undocumented member.</li>
--   <li><a>heActivityScheduleFailedEventDetails</a> - Contains details
--   about an activity schedule event which failed during an
--   execution.</li>
--   <li><a>heLambdaFunctionScheduleFailedEventDetails</a> - Undocumented
--   member.</li>
--   <li><a>heStateEnteredEventDetails</a> - Undocumented member.</li>
--   <li><a>hePreviousEventId</a> - The id of the previous event.</li>
--   <li><a>heActivityFailedEventDetails</a> - Undocumented member.</li>
--   <li><a>heLambdaFunctionFailedEventDetails</a> - Undocumented
--   member.</li>
--   <li><a>heExecutionTimedOutEventDetails</a> - Undocumented member.</li>
--   <li><a>heTimestamp</a> - The date the event occurred.</li>
--   <li><a>heType</a> - The type of the event.</li>
--   <li><a>heId</a> - The id of the event. Events are numbered
--   sequentially, starting at one.</li>
--   </ul>
historyEvent :: UTCTime -> HistoryEventType -> Integer -> HistoryEvent

-- | Undocumented member.
heActivityStartedEventDetails :: Lens' HistoryEvent (Maybe ActivityStartedEventDetails)

-- | Contains details about a lambda function which failed to start during
--   an execution.
heLambdaFunctionStartFailedEventDetails :: Lens' HistoryEvent (Maybe LambdaFunctionStartFailedEventDetails)

-- | Undocumented member.
heStateExitedEventDetails :: Lens' HistoryEvent (Maybe StateExitedEventDetails)

-- | Contains details about a lambda function which terminated successfully
--   during an execution.
heLambdaFunctionSucceededEventDetails :: Lens' HistoryEvent (Maybe LambdaFunctionSucceededEventDetails)

-- | Undocumented member.
heActivitySucceededEventDetails :: Lens' HistoryEvent (Maybe ActivitySucceededEventDetails)

-- | Undocumented member.
heLambdaFunctionTimedOutEventDetails :: Lens' HistoryEvent (Maybe LambdaFunctionTimedOutEventDetails)

-- | Undocumented member.
heActivityTimedOutEventDetails :: Lens' HistoryEvent (Maybe ActivityTimedOutEventDetails)

-- | Undocumented member.
heExecutionFailedEventDetails :: Lens' HistoryEvent (Maybe ExecutionFailedEventDetails)

-- | Undocumented member.
heExecutionAbortedEventDetails :: Lens' HistoryEvent (Maybe ExecutionAbortedEventDetails)

-- | Undocumented member.
heExecutionSucceededEventDetails :: Lens' HistoryEvent (Maybe ExecutionSucceededEventDetails)

-- | Undocumented member.
heLambdaFunctionScheduledEventDetails :: Lens' HistoryEvent (Maybe LambdaFunctionScheduledEventDetails)

-- | Undocumented member.
heActivityScheduledEventDetails :: Lens' HistoryEvent (Maybe ActivityScheduledEventDetails)

-- | Undocumented member.
heExecutionStartedEventDetails :: Lens' HistoryEvent (Maybe ExecutionStartedEventDetails)

-- | Contains details about an activity schedule event which failed during
--   an execution.
heActivityScheduleFailedEventDetails :: Lens' HistoryEvent (Maybe ActivityScheduleFailedEventDetails)

-- | Undocumented member.
heLambdaFunctionScheduleFailedEventDetails :: Lens' HistoryEvent (Maybe LambdaFunctionScheduleFailedEventDetails)

-- | Undocumented member.
heStateEnteredEventDetails :: Lens' HistoryEvent (Maybe StateEnteredEventDetails)

-- | The id of the previous event.
hePreviousEventId :: Lens' HistoryEvent (Maybe Integer)

-- | Undocumented member.
heActivityFailedEventDetails :: Lens' HistoryEvent (Maybe ActivityFailedEventDetails)

-- | Undocumented member.
heLambdaFunctionFailedEventDetails :: Lens' HistoryEvent (Maybe LambdaFunctionFailedEventDetails)

-- | Undocumented member.
heExecutionTimedOutEventDetails :: Lens' HistoryEvent (Maybe ExecutionTimedOutEventDetails)

-- | The date the event occurred.
heTimestamp :: Lens' HistoryEvent UTCTime

-- | The type of the event.
heType :: Lens' HistoryEvent HistoryEventType

-- | The id of the event. Events are numbered sequentially, starting at
--   one.
heId :: Lens' HistoryEvent Integer

-- | Contains details about a lambda function which failed during an
--   execution.
--   
--   <i>See:</i> <a>lambdaFunctionFailedEventDetails</a> smart constructor.
data LambdaFunctionFailedEventDetails

-- | Creates a value of <a>LambdaFunctionFailedEventDetails</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>lffedError</a> - The error code of the failure.</li>
--   <li><a>lffedCause</a> - A more detailed explanation of the cause of
--   the failure.</li>
--   </ul>
lambdaFunctionFailedEventDetails :: LambdaFunctionFailedEventDetails

-- | The error code of the failure.
lffedError :: Lens' LambdaFunctionFailedEventDetails (Maybe Text)

-- | A more detailed explanation of the cause of the failure.
lffedCause :: Lens' LambdaFunctionFailedEventDetails (Maybe Text)

-- | Contains details about a failed lambda function schedule event which
--   occurred during an execution.
--   
--   <i>See:</i> <a>lambdaFunctionScheduleFailedEventDetails</a> smart
--   constructor.
data LambdaFunctionScheduleFailedEventDetails

-- | Creates a value of <a>LambdaFunctionScheduleFailedEventDetails</a>
--   with the minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>lError</a> - The error code of the failure.</li>
--   <li><a>lCause</a> - A more detailed explanation of the cause of the
--   failure.</li>
--   </ul>
lambdaFunctionScheduleFailedEventDetails :: LambdaFunctionScheduleFailedEventDetails

-- | The error code of the failure.
lError :: Lens' LambdaFunctionScheduleFailedEventDetails (Maybe Text)

-- | A more detailed explanation of the cause of the failure.
lCause :: Lens' LambdaFunctionScheduleFailedEventDetails (Maybe Text)

-- | Contains details about a lambda function scheduled during an
--   execution.
--   
--   <i>See:</i> <a>lambdaFunctionScheduledEventDetails</a> smart
--   constructor.
data LambdaFunctionScheduledEventDetails

-- | Creates a value of <a>LambdaFunctionScheduledEventDetails</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>lfsedInput</a> - The JSON data input to the lambda
--   function.</li>
--   <li><a>lfsedTimeoutInSeconds</a> - The maximum allowed duration of the
--   lambda function.</li>
--   <li><a>lfsedResource</a> - The Amazon Resource Name (ARN) of the
--   scheduled lambda function.</li>
--   </ul>
lambdaFunctionScheduledEventDetails :: Text -> LambdaFunctionScheduledEventDetails

-- | The JSON data input to the lambda function.
lfsedInput :: Lens' LambdaFunctionScheduledEventDetails (Maybe Text)

-- | The maximum allowed duration of the lambda function.
lfsedTimeoutInSeconds :: Lens' LambdaFunctionScheduledEventDetails (Maybe Integer)

-- | The Amazon Resource Name (ARN) of the scheduled lambda function.
lfsedResource :: Lens' LambdaFunctionScheduledEventDetails Text

-- | Contains details about a lambda function which failed to start during
--   an execution.
--   
--   <i>See:</i> <a>lambdaFunctionStartFailedEventDetails</a> smart
--   constructor.
data LambdaFunctionStartFailedEventDetails

-- | Creates a value of <a>LambdaFunctionStartFailedEventDetails</a> with
--   the minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>lfsfedError</a> - The error code of the failure.</li>
--   <li><a>lfsfedCause</a> - A more detailed explanation of the cause of
--   the failure.</li>
--   </ul>
lambdaFunctionStartFailedEventDetails :: LambdaFunctionStartFailedEventDetails

-- | The error code of the failure.
lfsfedError :: Lens' LambdaFunctionStartFailedEventDetails (Maybe Text)

-- | A more detailed explanation of the cause of the failure.
lfsfedCause :: Lens' LambdaFunctionStartFailedEventDetails (Maybe Text)

-- | Contains details about a lambda function which successfully terminated
--   during an execution.
--   
--   <i>See:</i> <a>lambdaFunctionSucceededEventDetails</a> smart
--   constructor.
data LambdaFunctionSucceededEventDetails

-- | Creates a value of <a>LambdaFunctionSucceededEventDetails</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>lfsedOutput</a> - The JSON data output by the lambda
--   function.</li>
--   </ul>
lambdaFunctionSucceededEventDetails :: LambdaFunctionSucceededEventDetails

-- | The JSON data output by the lambda function.
lfsedOutput :: Lens' LambdaFunctionSucceededEventDetails (Maybe Text)

-- | Contains details about a lambda function timeout which occurred during
--   an execution.
--   
--   <i>See:</i> <a>lambdaFunctionTimedOutEventDetails</a> smart
--   constructor.
data LambdaFunctionTimedOutEventDetails

-- | Creates a value of <a>LambdaFunctionTimedOutEventDetails</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>lftoedError</a> - The error code of the failure.</li>
--   <li><a>lftoedCause</a> - A more detailed explanation of the cause of
--   the timeout.</li>
--   </ul>
lambdaFunctionTimedOutEventDetails :: LambdaFunctionTimedOutEventDetails

-- | The error code of the failure.
lftoedError :: Lens' LambdaFunctionTimedOutEventDetails (Maybe Text)

-- | A more detailed explanation of the cause of the timeout.
lftoedCause :: Lens' LambdaFunctionTimedOutEventDetails (Maybe Text)

-- | Contains details about a state entered during an execution.
--   
--   <i>See:</i> <a>stateEnteredEventDetails</a> smart constructor.
data StateEnteredEventDetails

-- | Creates a value of <a>StateEnteredEventDetails</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>sInput</a> - The string that contains the JSON input data for
--   the state.</li>
--   <li><a>sName</a> - The name of the state.</li>
--   </ul>
stateEnteredEventDetails :: Text -> StateEnteredEventDetails

-- | The string that contains the JSON input data for the state.
sInput :: Lens' StateEnteredEventDetails (Maybe Text)

-- | The name of the state.
sName :: Lens' StateEnteredEventDetails Text

-- | Contains details about an exit from a state during an execution.
--   
--   <i>See:</i> <a>stateExitedEventDetails</a> smart constructor.
data StateExitedEventDetails

-- | Creates a value of <a>StateExitedEventDetails</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>seedOutput</a> - The JSON output data of the state.</li>
--   <li><a>seedName</a> - The name of the state. A name must <i>not</i>
--   contain: * whitespace * brackets <tt><a></a> { } [ ]</tt> * wildcard
--   characters <tt>? *</tt> * special characters <tt>" # % ^ | ~ ` $ &amp;
--   , ; : /</tt> * control characters (<tt>U+0000-001F</tt> ,
--   <tt>U+007F-009F</tt> )</li>
--   </ul>
stateExitedEventDetails :: Text -> StateExitedEventDetails

-- | The JSON output data of the state.
seedOutput :: Lens' StateExitedEventDetails (Maybe Text)

-- | The name of the state. A name must <i>not</i> contain: * whitespace *
--   brackets <tt><a></a> { } [ ]</tt> * wildcard characters <tt>? *</tt> *
--   special characters <tt>" # % ^ | ~ ` $ &amp; , ; : /</tt> * control
--   characters (<tt>U+0000-001F</tt> , <tt>U+007F-009F</tt> )
seedName :: Lens' StateExitedEventDetails Text

-- | Contains details about the state machine.
--   
--   <i>See:</i> <a>stateMachineListItem</a> smart constructor.
data StateMachineListItem

-- | Creates a value of <a>StateMachineListItem</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>smliStateMachineARN</a> - The Amazon Resource Name (ARN) that
--   identifies the state machine.</li>
--   <li><a>smliName</a> - The name of the state machine. A name must
--   <i>not</i> contain: * whitespace * brackets <tt><a></a> { } [ ]</tt> *
--   wildcard characters <tt>? *</tt> * special characters <tt>" # % ^ | ~
--   ` $ &amp; , ; : /</tt> * control characters (<tt>U+0000-001F</tt> ,
--   <tt>U+007F-009F</tt> )</li>
--   <li><a>smliCreationDate</a> - The date the state machine is
--   created.</li>
--   </ul>
stateMachineListItem :: Text -> Text -> UTCTime -> StateMachineListItem

-- | The Amazon Resource Name (ARN) that identifies the state machine.
smliStateMachineARN :: Lens' StateMachineListItem Text

-- | The name of the state machine. A name must <i>not</i> contain: *
--   whitespace * brackets <tt><a></a> { } [ ]</tt> * wildcard characters
--   <tt>? *</tt> * special characters <tt>" # % ^ | ~ ` $ &amp; , ; :
--   /</tt> * control characters (<tt>U+0000-001F</tt> ,
--   <tt>U+007F-009F</tt> )
smliName :: Lens' StateMachineListItem Text

-- | The date the state machine is created.
smliCreationDate :: Lens' StateMachineListItem UTCTime
