amazonka-stepfunctions-1.6.1: Amazon Step Functions SDK.

Copyright(c) 2013-2018 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@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 string that contains the JSON input data for the execution, for example: "input": "{"first_name" : "test"}"
  • seName - The name of the execution. This name must be unique for your AWS account and region for 90 days. For more information, see Limits Related to State Machine Executions in the AWS Step Functions Developer Guide . Important: An execution can't use the name of another execution for 90 days. When you make multiple StartExecution calls with the same name, the new execution doesn't run and the following rules apply: * When the original execution is open and the execution input from the new call is different , the ExecutionAlreadyExists message is returned. * When the original execution is open and the execution input from the new call is identical , the Success message is returned. * When the original execution is closed, the ExecutionAlreadyExists message is returned regardless of input. A name must not contain: * whitespace * brackets { } [ ] * wildcard characters ? * * special characters " # % ^ | ~ ` $ & , ; : / * control characters (U+0000-001F , U+007F-009F )
  • seStateMachineARN - The Amazon Resource Name (ARN) of the state machine to execute.

data StartExecution Source #

See: startExecution smart constructor.

Instances
Eq StartExecution Source # 
Instance details

Defined in Network.AWS.StepFunctions.StartExecution

Data StartExecution Source # 
Instance details

Defined in Network.AWS.StepFunctions.StartExecution

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 # 
Instance details

Defined in Network.AWS.StepFunctions.StartExecution

Show StartExecution Source # 
Instance details

Defined in Network.AWS.StepFunctions.StartExecution

Generic StartExecution Source # 
Instance details

Defined in Network.AWS.StepFunctions.StartExecution

Associated Types

type Rep StartExecution :: Type -> Type #

Hashable StartExecution Source # 
Instance details

Defined in Network.AWS.StepFunctions.StartExecution

ToJSON StartExecution Source # 
Instance details

Defined in Network.AWS.StepFunctions.StartExecution

AWSRequest StartExecution Source # 
Instance details

Defined in Network.AWS.StepFunctions.StartExecution

Associated Types

type Rs StartExecution :: Type #

ToHeaders StartExecution Source # 
Instance details

Defined in Network.AWS.StepFunctions.StartExecution

ToPath StartExecution Source # 
Instance details

Defined in Network.AWS.StepFunctions.StartExecution

ToQuery StartExecution Source # 
Instance details

Defined in Network.AWS.StepFunctions.StartExecution

NFData StartExecution Source # 
Instance details

Defined in Network.AWS.StepFunctions.StartExecution

Methods

rnf :: StartExecution -> () #

type Rep StartExecution Source # 
Instance details

Defined in Network.AWS.StepFunctions.StartExecution

type Rep StartExecution = D1 (MetaData "StartExecution" "Network.AWS.StepFunctions.StartExecution" "amazonka-stepfunctions-1.6.1-2PTLha96w99Qwy2XlD0kq" False) (C1 (MetaCons "StartExecution'" PrefixI True) (S1 (MetaSel (Just "_seInput") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_seName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_seStateMachineARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs StartExecution Source # 
Instance details

Defined in Network.AWS.StepFunctions.StartExecution

Request Lenses

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

The string that contains the JSON input data for the execution, for example: "input": "{"first_name" : "test"}"

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

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

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 # 
Instance details

Defined in Network.AWS.StepFunctions.StartExecution

Data StartExecutionResponse Source # 
Instance details

Defined in Network.AWS.StepFunctions.StartExecution

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 # 
Instance details

Defined in Network.AWS.StepFunctions.StartExecution

Show StartExecutionResponse Source # 
Instance details

Defined in Network.AWS.StepFunctions.StartExecution

Generic StartExecutionResponse Source # 
Instance details

Defined in Network.AWS.StepFunctions.StartExecution

Associated Types

type Rep StartExecutionResponse :: Type -> Type #

NFData StartExecutionResponse Source # 
Instance details

Defined in Network.AWS.StepFunctions.StartExecution

Methods

rnf :: StartExecutionResponse -> () #

type Rep StartExecutionResponse Source # 
Instance details

Defined in Network.AWS.StepFunctions.StartExecution

type Rep StartExecutionResponse = D1 (MetaData "StartExecutionResponse" "Network.AWS.StepFunctions.StartExecution" "amazonka-stepfunctions-1.6.1-2PTLha96w99Qwy2XlD0kq" False) (C1 (MetaCons "StartExecutionResponse'" PrefixI True) (S1 (MetaSel (Just "_srsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int) :*: (S1 (MetaSel (Just "_srsExecutionARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_srsStartDate") NoSourceUnpackedness SourceStrict DecidedStrict) (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 is started.