amazonka-stepfunctions-1.4.5: Amazon Step Functions SDK.

Copyright(c) 2013-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.StepFunctions.StartExecution

Contents

Description

Starts a state machine execution.

Synopsis

Creating a Request

startExecution Source #

Creates a value of StartExecution with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • seInput - The JSON input data for the execution.
  • seName - The name of the execution. This name must be unique for your AWS account and region.
  • seStateMachineARN - The Amazon Resource Name (ARN) of the state machine to execute.

data StartExecution Source #

See: startExecution smart constructor.

Instances

Eq StartExecution Source # 
Data StartExecution Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> StartExecution -> c StartExecution #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c StartExecution #

toConstr :: StartExecution -> Constr #

dataTypeOf :: StartExecution -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c StartExecution) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c StartExecution) #

gmapT :: (forall b. Data b => b -> b) -> StartExecution -> StartExecution #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> StartExecution -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> StartExecution -> r #

gmapQ :: (forall d. Data d => d -> u) -> StartExecution -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> StartExecution -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> StartExecution -> m StartExecution #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> StartExecution -> m StartExecution #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> StartExecution -> m StartExecution #

Read StartExecution Source # 
Show StartExecution Source # 
Generic StartExecution Source # 

Associated Types

type Rep StartExecution :: * -> * #

Hashable StartExecution Source # 
ToJSON StartExecution Source # 
NFData StartExecution Source # 

Methods

rnf :: StartExecution -> () #

AWSRequest StartExecution Source # 
ToPath StartExecution Source # 
ToHeaders StartExecution Source # 
ToQuery StartExecution Source # 
type Rep StartExecution Source # 
type Rep StartExecution = D1 (MetaData "StartExecution" "Network.AWS.StepFunctions.StartExecution" "amazonka-stepfunctions-1.4.5-WXy4AxO2hM72RNEOsME5O" False) (C1 (MetaCons "StartExecution'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_seInput") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_seName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_seStateMachineARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Rs StartExecution Source # 

Request Lenses

seInput :: Lens' StartExecution (Maybe Text) Source #

The JSON input data for the execution.

seName :: Lens' StartExecution (Maybe Text) Source #

The name of the execution. This name must be unique for your AWS account and region.

seStateMachineARN :: Lens' StartExecution Text Source #

The Amazon Resource Name (ARN) of the state machine to execute.

Destructuring the Response

startExecutionResponse Source #

Creates a value of StartExecutionResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data StartExecutionResponse Source #

See: startExecutionResponse smart constructor.

Instances

Eq StartExecutionResponse Source # 
Data StartExecutionResponse Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> StartExecutionResponse -> c StartExecutionResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c StartExecutionResponse #

toConstr :: StartExecutionResponse -> Constr #

dataTypeOf :: StartExecutionResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c StartExecutionResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c StartExecutionResponse) #

gmapT :: (forall b. Data b => b -> b) -> StartExecutionResponse -> StartExecutionResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> StartExecutionResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> StartExecutionResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> StartExecutionResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> StartExecutionResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> StartExecutionResponse -> m StartExecutionResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> StartExecutionResponse -> m StartExecutionResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> StartExecutionResponse -> m StartExecutionResponse #

Read StartExecutionResponse Source # 
Show StartExecutionResponse Source # 
Generic StartExecutionResponse Source # 
NFData StartExecutionResponse Source # 

Methods

rnf :: StartExecutionResponse -> () #

type Rep StartExecutionResponse Source # 
type Rep StartExecutionResponse = D1 (MetaData "StartExecutionResponse" "Network.AWS.StepFunctions.StartExecution" "amazonka-stepfunctions-1.4.5-WXy4AxO2hM72RNEOsME5O" False) (C1 (MetaCons "StartExecutionResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_srsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int)) ((:*:) (S1 (MetaSel (Just Symbol "_srsExecutionARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_srsStartDate") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 POSIX)))))

Response Lenses

srsResponseStatus :: Lens' StartExecutionResponse Int Source #

  • - | The response status code.

srsExecutionARN :: Lens' StartExecutionResponse Text Source #

The Amazon Resource Name (ARN) that identifies the execution.

srsStartDate :: Lens' StartExecutionResponse UTCTime Source #

The date the execution was started.