amazonka-stepfunctions-1.6.0: 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.UpdateStateMachine

Contents

Description

Updates an existing state machine by modifying its definition and/or roleArn . Running executions will continue to use the previous definition and roleArn .

Synopsis

Creating a Request

updateStateMachine Source #

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

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

  • usmDefinition - The Amazon States Language definition of the state machine.
  • usmRoleARN - The Amazon Resource Name (ARN) of the IAM role of the state machine.
  • usmStateMachineARN - The Amazon Resource Name (ARN) of the state machine.

data UpdateStateMachine Source #

See: updateStateMachine smart constructor.

Instances

Eq UpdateStateMachine Source # 
Data UpdateStateMachine Source # 

Methods

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

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

toConstr :: UpdateStateMachine -> Constr #

dataTypeOf :: UpdateStateMachine -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Methods

rnf :: UpdateStateMachine -> () #

AWSRequest UpdateStateMachine Source # 
ToHeaders UpdateStateMachine Source # 
ToPath UpdateStateMachine Source # 
ToQuery UpdateStateMachine Source # 
type Rep UpdateStateMachine Source # 
type Rep UpdateStateMachine = D1 * (MetaData "UpdateStateMachine" "Network.AWS.StepFunctions.UpdateStateMachine" "amazonka-stepfunctions-1.6.0-9oIncLN4t9xDN3HGh7dGqV" False) (C1 * (MetaCons "UpdateStateMachine'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_usmDefinition") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_usmRoleARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_usmStateMachineARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)))))
type Rs UpdateStateMachine Source # 

Request Lenses

usmDefinition :: Lens' UpdateStateMachine (Maybe Text) Source #

The Amazon States Language definition of the state machine.

usmRoleARN :: Lens' UpdateStateMachine (Maybe Text) Source #

The Amazon Resource Name (ARN) of the IAM role of the state machine.

usmStateMachineARN :: Lens' UpdateStateMachine Text Source #

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

Destructuring the Response

updateStateMachineResponse Source #

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

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

data UpdateStateMachineResponse Source #

See: updateStateMachineResponse smart constructor.

Instances

Eq UpdateStateMachineResponse Source # 
Data UpdateStateMachineResponse Source # 

Methods

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

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

toConstr :: UpdateStateMachineResponse -> Constr #

dataTypeOf :: UpdateStateMachineResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read UpdateStateMachineResponse Source # 
Show UpdateStateMachineResponse Source # 
Generic UpdateStateMachineResponse Source # 
NFData UpdateStateMachineResponse Source # 
type Rep UpdateStateMachineResponse Source # 
type Rep UpdateStateMachineResponse = D1 * (MetaData "UpdateStateMachineResponse" "Network.AWS.StepFunctions.UpdateStateMachine" "amazonka-stepfunctions-1.6.0-9oIncLN4t9xDN3HGh7dGqV" False) (C1 * (MetaCons "UpdateStateMachineResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_usmrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int)) (S1 * (MetaSel (Just Symbol "_usmrsUpdateDate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * POSIX))))

Response Lenses

usmrsUpdateDate :: Lens' UpdateStateMachineResponse UTCTime Source #

The date and time the state machine was updated.