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

Contents

Description

Creates a state machine.

Synopsis

Creating a Request

createStateMachine Source #

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

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

  • csmName - The name of the state machine. This name must be unique for your AWS account and region.
  • csmDefinition - The Amazon States Language definition of the state machine.
  • csmRoleARN - The Amazon Resource Name (ARN) of the IAM role to use for this state machine.

data CreateStateMachine Source #

See: createStateMachine smart constructor.

Instances

Eq CreateStateMachine Source # 
Data CreateStateMachine Source # 

Methods

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

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

toConstr :: CreateStateMachine -> Constr #

dataTypeOf :: CreateStateMachine -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CreateStateMachine Source # 
Show CreateStateMachine Source # 
Generic CreateStateMachine Source # 
Hashable CreateStateMachine Source # 
ToJSON CreateStateMachine Source # 
NFData CreateStateMachine Source # 

Methods

rnf :: CreateStateMachine -> () #

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

Request Lenses

csmName :: Lens' CreateStateMachine Text Source #

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

csmDefinition :: Lens' CreateStateMachine Text Source #

The Amazon States Language definition of the state machine.

csmRoleARN :: Lens' CreateStateMachine Text Source #

The Amazon Resource Name (ARN) of the IAM role to use for this state machine.

Destructuring the Response

createStateMachineResponse Source #

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

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

data CreateStateMachineResponse Source #

See: createStateMachineResponse smart constructor.

Instances

Eq CreateStateMachineResponse Source # 
Data CreateStateMachineResponse Source # 

Methods

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

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

toConstr :: CreateStateMachineResponse -> Constr #

dataTypeOf :: CreateStateMachineResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CreateStateMachineResponse Source # 
Show CreateStateMachineResponse Source # 
Generic CreateStateMachineResponse Source # 
NFData CreateStateMachineResponse Source # 
type Rep CreateStateMachineResponse Source # 
type Rep CreateStateMachineResponse = D1 (MetaData "CreateStateMachineResponse" "Network.AWS.StepFunctions.CreateStateMachine" "amazonka-stepfunctions-1.4.5-WXy4AxO2hM72RNEOsME5O" False) (C1 (MetaCons "CreateStateMachineResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_csmrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int)) ((:*:) (S1 (MetaSel (Just Symbol "_csmrsStateMachineARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_csmrsCreationDate") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 POSIX)))))

Response Lenses

csmrsStateMachineARN :: Lens' CreateStateMachineResponse Text Source #

The Amazon Resource Name (ARN) that identifies the created state machine.

csmrsCreationDate :: Lens' CreateStateMachineResponse UTCTime Source #

The date the state machine was created.