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 #

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 #

See: createStateMachine smart constructor.

Instances

Eq CreateStateMachine # 
Data CreateStateMachine # 

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 # 
Show CreateStateMachine # 
Generic CreateStateMachine # 
Hashable CreateStateMachine # 
ToJSON CreateStateMachine # 
NFData CreateStateMachine # 

Methods

rnf :: CreateStateMachine -> () #

AWSRequest CreateStateMachine # 
ToQuery CreateStateMachine # 
ToPath CreateStateMachine # 
ToHeaders CreateStateMachine # 
type Rep CreateStateMachine # 
type Rep CreateStateMachine = D1 (MetaData "CreateStateMachine" "Network.AWS.StepFunctions.CreateStateMachine" "amazonka-stepfunctions-1.4.5-Jw6S5ByJLFY5UX1mivZUjA" 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 # 

Request Lenses

csmName :: Lens' CreateStateMachine Text #

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

csmDefinition :: Lens' CreateStateMachine Text #

The Amazon States Language definition of the state machine.

csmRoleARN :: Lens' CreateStateMachine Text #

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

Destructuring the Response

createStateMachineResponse #

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 #

See: createStateMachineResponse smart constructor.

Instances

Eq CreateStateMachineResponse # 
Data CreateStateMachineResponse # 

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 # 
Show CreateStateMachineResponse # 
Generic CreateStateMachineResponse # 
NFData CreateStateMachineResponse # 
type Rep CreateStateMachineResponse # 
type Rep CreateStateMachineResponse = D1 (MetaData "CreateStateMachineResponse" "Network.AWS.StepFunctions.CreateStateMachine" "amazonka-stepfunctions-1.4.5-Jw6S5ByJLFY5UX1mivZUjA" 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

csmrsResponseStatus :: Lens' CreateStateMachineResponse Int #

  • - | The response status code.

csmrsStateMachineARN :: Lens' CreateStateMachineResponse Text #

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

csmrsCreationDate :: Lens' CreateStateMachineResponse UTCTime #

The date the state machine was created.