-- 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.4.5


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

-- | An execution with the same name already exists.
_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

-- | 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
ParallelStateEntered :: HistoryEventType
ParallelStateExited :: HistoryEventType
PassStateEntered :: HistoryEventType
PassStateExited :: HistoryEventType
SucceedStateEntered :: HistoryEventType
SucceedStateExited :: HistoryEventType
TaskStateEntered :: HistoryEventType
TaskStateExited :: HistoryEventType
WaitStateEntered :: HistoryEventType
WaitStateExited :: HistoryEventType
data StateMachineStatus
Active :: StateMachineStatus
Deleting :: StateMachineStatus

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

-- | <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.</li>
--   <li><a>aliCreationDate</a> - The date the activity was 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.
aliName :: Lens' ActivityListItem Text

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

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

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

-- | <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 was
--   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 was assigned to. These names are
--   provided by the workers when calling <tt>GetActivityTask</tt> .
asedWorkerName :: Lens' ActivityStartedEventDetails (Maybe Text)

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

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

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

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

-- | <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.</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.
eliName :: Lens' ExecutionListItem Text

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

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

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

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

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

-- | <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> - Undocumented
--   member.</li>
--   <li><a>heStateExitedEventDetails</a> - Undocumented member.</li>
--   <li><a>heLambdaFunctionSucceededEventDetails</a> - Undocumented
--   member.</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> - Undocumented
--   member.</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 occured.</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)

-- | Undocumented member.
heLambdaFunctionStartFailedEventDetails :: Lens' HistoryEvent (Maybe LambdaFunctionStartFailedEventDetails)

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

-- | Undocumented member.
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)

-- | Undocumented member.
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 occured.
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

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

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

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

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

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

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

-- | <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 JSON input data to the state.</li>
--   <li><a>sName</a> - The name of the state.</li>
--   </ul>
stateEnteredEventDetails :: Text -> StateEnteredEventDetails

-- | The JSON input data to the state.
sInput :: Lens' StateEnteredEventDetails (Maybe Text)

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

-- | <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.</li>
--   </ul>
stateExitedEventDetails :: Text -> StateExitedEventDetails

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

-- | The name of the state.
seedName :: Lens' StateExitedEventDetails Text

-- | <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.</li>
--   <li><a>smliCreationDate</a> - The date the state machine was
--   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.
smliName :: Lens' StateMachineListItem Text

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


module Network.AWS.StepFunctions.Waiters


-- | 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 was 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 was 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 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
instance Control.DeepSeq.NFData Network.AWS.StepFunctions.StopExecution.StopExecutionResponse


-- | 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 JSON input data for the execution.</li>
--   <li><a>seName</a> - The name of the execution. This name must be
--   unique for your AWS account and region.</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 JSON input data for the execution.
seInput :: Lens' StartExecution (Maybe Text)

-- | The name of the execution. This name must be unique for your AWS
--   account and region.
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 was 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 was 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 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
instance Control.DeepSeq.NFData Network.AWS.StepFunctions.StartExecution.StartExecutionResponse


-- | 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 GetActivityTask::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
--   GetActivityTask::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 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
instance Control.DeepSeq.NFData Network.AWS.StepFunctions.SendTaskSuccess.SendTaskSuccessResponse


-- | 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 will
--   contain 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 GetActivityTask::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
--   GetActivityTask::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 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
instance Control.DeepSeq.NFData Network.AWS.StepFunctions.SendTaskHeartbeat.SendTaskHeartbeatResponse


-- | 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 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
instance Control.DeepSeq.NFData Network.AWS.StepFunctions.SendTaskFailure.SendTaskFailureResponse


-- | Lists the existing state machines. The results may be split into
--   multiple pages. To retrieve subsequent pages, make the call again
--   using the <tt>nextToken</tt> returned by the previous call.
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> was returned by a
--   previous call, there are more results available. To retrieve the next
--   page of results, make the call again using the returned token in
--   <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 will be
--   returned per call. <tt>nextToken</tt> can be used to obtain further
--   pages of results. The default is 100 and the maximum allowed page size
--   is 1000. This is an upper limit only; the actual number of results
--   returned per call may 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> was returned by a previous call, there are
--   more results available. To retrieve the next page of results, make the
--   call again using the returned token in <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 will be returned per call.
--   <tt>nextToken</tt> can be used to obtain further pages of results. The
--   default is 100 and the maximum allowed page size is 1000. This is an
--   upper limit only; the actual number of results returned per call may
--   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, 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, 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 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
instance Control.DeepSeq.NFData Network.AWS.StepFunctions.ListStateMachines.ListStateMachinesResponse


-- | Lists the executions of a state machine that meet the filtering
--   criteria. The results may be split into multiple pages. To retrieve
--   subsequent pages, make the call again using the <tt>nextToken</tt>
--   returned by the previous call.
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> was returned by a
--   previous call, there are more results available. To retrieve the next
--   page of results, make the call again using the returned token in
--   <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 will be
--   returned per call. <tt>nextToken</tt> can be used to obtain further
--   pages of results. The default is 100 and the maximum allowed page size
--   is 1000. This is an upper limit only; the actual number of results
--   returned per call may be fewer than the specified maximum.</li>
--   <li><a>leStateMachineARN</a> - The Amazon Resource Name (ARN) of the
--   state machine whose executions will be 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> was returned by a previous call, there are
--   more results available. To retrieve the next page of results, make the
--   call again using the returned token in <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 will be returned per call.
--   <tt>nextToken</tt> can be used to obtain further pages of results. The
--   default is 100 and the maximum allowed page size is 1000. This is an
--   upper limit only; the actual number of results returned per call may
--   be fewer than the specified maximum.
leMaxResults :: Lens' ListExecutions (Maybe Natural)

-- | The Amazon Resource Name (ARN) of the state machine whose executions
--   will be 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, 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, 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 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
instance Control.DeepSeq.NFData Network.AWS.StepFunctions.ListExecutions.ListExecutionsResponse


-- | Lists the existing activities. The results may be split into multiple
--   pages. To retrieve subsequent pages, make the call again using the
--   <tt>nextToken</tt> returned by the previous call.
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> was returned by a
--   previous call, there are more results available. To retrieve the next
--   page of results, make the call again using the returned token in
--   <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 will be
--   returned per call. <tt>nextToken</tt> can be used to obtain further
--   pages of results. The default is 100 and the maximum allowed page size
--   is 1000. This is an upper limit only; the actual number of results
--   returned per call may 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> was returned by a previous call, there are
--   more results available. To retrieve the next page of results, make the
--   call again using the returned token in <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 will be returned per call.
--   <tt>nextToken</tt> can be used to obtain further pages of results. The
--   default is 100 and the maximum allowed page size is 1000. This is an
--   upper limit only; the actual number of results returned per call may
--   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, 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, 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 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
instance Control.DeepSeq.NFData Network.AWS.StepFunctions.ListActivities.ListActivitiesResponse


-- | 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. The results may be split
--   into multiple pages. To retrieve subsequent pages, make the call again
--   using the <tt>nextToken</tt> returned by the previous call.
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> was returned by a
--   previous call, there are more results available. To retrieve the next
--   page of results, make the call again using the returned token in
--   <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 will be
--   returned per call. <tt>nextToken</tt> can be used to obtain further
--   pages of results. The default is 100 and the maximum allowed page size
--   is 1000. This is an upper limit only; the actual number of results
--   returned per call may 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> was returned by a previous call, there are
--   more results available. To retrieve the next page of results, make the
--   call again using the returned token in <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 will be returned per call.
--   <tt>nextToken</tt> can be used to obtain further pages of results. The
--   default is 100 and the maximum allowed page size is 1000. This is an
--   upper limit only; the actual number of results returned per call may
--   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, 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, 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 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
instance Control.DeepSeq.NFData Network.AWS.StepFunctions.GetExecutionHistory.GetExecutionHistoryResponse


-- | Used by workers to retrieve a task (with the specified activity ARN)
--   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 will return an empty result, that is, the
--   <tt>taskToken</tt> returned is an empty 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> - An arbitrary name may be provided in order
--   to identify the worker that the task is assigned to. This name will be
--   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.</li>
--   </ul>
getActivityTask :: Text -> GetActivityTask

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

-- | An arbitrary name may be provided in order to identify the worker that
--   the task is assigned to. This name will be 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.
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 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 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 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
instance Control.DeepSeq.NFData Network.AWS.StepFunctions.GetActivityTask.GetActivityTaskResponse


-- | 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.</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 for executing this state machine.</li>
--   <li><a>dsmrsCreationDate</a> - The date the state machine was
--   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.
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 for executing this
--   state machine.
dsmrsRoleARN :: Lens' DescribeStateMachineResponse Text

-- | The date the state machine was 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 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
instance Control.DeepSeq.NFData Network.AWS.StepFunctions.DescribeStateMachine.DescribeStateMachineResponse


-- | 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.</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 was started.</li>
--   <li><a>dersInput</a> - 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.
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 was started.
dersStartDate :: Lens' DescribeExecutionResponse UTCTime

-- | 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 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
instance Control.DeepSeq.NFData Network.AWS.StepFunctions.DescribeExecution.DescribeExecutionResponse


-- | 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.</li>
--   <li><a>desrsCreationDate</a> - The date the activity was 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.
desrsName :: Lens' DescribeActivityResponse Text

-- | The date the activity was 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 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
instance Control.DeepSeq.NFData Network.AWS.StepFunctions.DescribeActivity.DescribeActivityResponse


-- | Deletes a state machine. This is an asynchronous operation-- it sets
--   the state machine's status to <a>DELETING</a> and begins the delete
--   process.
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 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
instance Control.DeepSeq.NFData Network.AWS.StepFunctions.DeleteStateMachine.DeleteStateMachineResponse


-- | 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 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
instance Control.DeepSeq.NFData Network.AWS.StepFunctions.DeleteActivity.DeleteActivityResponse


-- | Creates a state machine.
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.</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.
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 was
--   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 was 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 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
instance Control.DeepSeq.NFData Network.AWS.StepFunctions.CreateStateMachine.CreateStateMachineResponse


-- | Creates an 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.</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.
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 was 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 was 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 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
instance Control.DeepSeq.NFData Network.AWS.StepFunctions.CreateActivity.CreateActivityResponse


-- | <b>AWS Step Functions</b>
--   
--   AWS Step Functions is a web service that enables you to coordinate the
--   components of distributed applications and microservices using visual
--   workflows. You build applications from individual components that each
--   perform a discrete function, or <i>task</i> , allowing you to scale
--   and change applications quickly. Step Functions provides a graphical
--   console to visualize the components of your application as a series of
--   steps. It automatically triggers and tracks each step, and retries
--   when there are errors, so your application executes in order and as
--   expected, every time. Step Functions logs the state of each step, so
--   when things do go wrong, you can diagnose and debug problems quickly.
--   
--   Step Functions manages the operations and underlying infrastructure
--   for you to ensure your application is available at any scale. You can
--   run tasks on the AWS cloud, on your own servers, or an any system that
--   has access to AWS. Step Functions can be accessed and used with the
--   Step Functions console, the AWS SDKs (included with your Beta release
--   invitation email), or an HTTP API (the subject of this document).
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

-- | An execution with the same name already exists.
_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

-- | 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
ParallelStateEntered :: HistoryEventType
ParallelStateExited :: HistoryEventType
PassStateEntered :: HistoryEventType
PassStateExited :: HistoryEventType
SucceedStateEntered :: HistoryEventType
SucceedStateExited :: HistoryEventType
TaskStateEntered :: HistoryEventType
TaskStateExited :: HistoryEventType
WaitStateEntered :: HistoryEventType
WaitStateExited :: HistoryEventType
data StateMachineStatus
Active :: StateMachineStatus
Deleting :: StateMachineStatus

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

-- | <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.</li>
--   <li><a>aliCreationDate</a> - The date the activity was 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.
aliName :: Lens' ActivityListItem Text

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

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

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

-- | <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 was
--   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 was assigned to. These names are
--   provided by the workers when calling <tt>GetActivityTask</tt> .
asedWorkerName :: Lens' ActivityStartedEventDetails (Maybe Text)

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

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

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

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

-- | <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.</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.
eliName :: Lens' ExecutionListItem Text

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

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

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

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

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

-- | <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> - Undocumented
--   member.</li>
--   <li><a>heStateExitedEventDetails</a> - Undocumented member.</li>
--   <li><a>heLambdaFunctionSucceededEventDetails</a> - Undocumented
--   member.</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> - Undocumented
--   member.</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 occured.</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)

-- | Undocumented member.
heLambdaFunctionStartFailedEventDetails :: Lens' HistoryEvent (Maybe LambdaFunctionStartFailedEventDetails)

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

-- | Undocumented member.
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)

-- | Undocumented member.
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 occured.
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

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

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

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

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

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

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

-- | <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 JSON input data to the state.</li>
--   <li><a>sName</a> - The name of the state.</li>
--   </ul>
stateEnteredEventDetails :: Text -> StateEnteredEventDetails

-- | The JSON input data to the state.
sInput :: Lens' StateEnteredEventDetails (Maybe Text)

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

-- | <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.</li>
--   </ul>
stateExitedEventDetails :: Text -> StateExitedEventDetails

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

-- | The name of the state.
seedName :: Lens' StateExitedEventDetails Text

-- | <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.</li>
--   <li><a>smliCreationDate</a> - The date the state machine was
--   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.
smliName :: Lens' StateMachineListItem Text

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