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

Defined in Network.AWS.StepFunctions.UpdateStateMachine

Data UpdateStateMachine Source # 
Instance details

Defined in Network.AWS.StepFunctions.UpdateStateMachine

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

Defined in Network.AWS.StepFunctions.UpdateStateMachine

Show UpdateStateMachine Source # 
Instance details

Defined in Network.AWS.StepFunctions.UpdateStateMachine

Generic UpdateStateMachine Source # 
Instance details

Defined in Network.AWS.StepFunctions.UpdateStateMachine

Associated Types

type Rep UpdateStateMachine :: Type -> Type #

Hashable UpdateStateMachine Source # 
Instance details

Defined in Network.AWS.StepFunctions.UpdateStateMachine

ToJSON UpdateStateMachine Source # 
Instance details

Defined in Network.AWS.StepFunctions.UpdateStateMachine

AWSRequest UpdateStateMachine Source # 
Instance details

Defined in Network.AWS.StepFunctions.UpdateStateMachine

Associated Types

type Rs UpdateStateMachine :: Type #

ToHeaders UpdateStateMachine Source # 
Instance details

Defined in Network.AWS.StepFunctions.UpdateStateMachine

ToPath UpdateStateMachine Source # 
Instance details

Defined in Network.AWS.StepFunctions.UpdateStateMachine

ToQuery UpdateStateMachine Source # 
Instance details

Defined in Network.AWS.StepFunctions.UpdateStateMachine

NFData UpdateStateMachine Source # 
Instance details

Defined in Network.AWS.StepFunctions.UpdateStateMachine

Methods

rnf :: UpdateStateMachine -> () #

type Rep UpdateStateMachine Source # 
Instance details

Defined in Network.AWS.StepFunctions.UpdateStateMachine

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

Defined in Network.AWS.StepFunctions.UpdateStateMachine

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

Defined in Network.AWS.StepFunctions.UpdateStateMachine

Data UpdateStateMachineResponse Source # 
Instance details

Defined in Network.AWS.StepFunctions.UpdateStateMachine

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

Defined in Network.AWS.StepFunctions.UpdateStateMachine

Show UpdateStateMachineResponse Source # 
Instance details

Defined in Network.AWS.StepFunctions.UpdateStateMachine

Generic UpdateStateMachineResponse Source # 
Instance details

Defined in Network.AWS.StepFunctions.UpdateStateMachine

Associated Types

type Rep UpdateStateMachineResponse :: Type -> Type #

NFData UpdateStateMachineResponse Source # 
Instance details

Defined in Network.AWS.StepFunctions.UpdateStateMachine

type Rep UpdateStateMachineResponse Source # 
Instance details

Defined in Network.AWS.StepFunctions.UpdateStateMachine

type Rep UpdateStateMachineResponse = D1 (MetaData "UpdateStateMachineResponse" "Network.AWS.StepFunctions.UpdateStateMachine" "amazonka-stepfunctions-1.6.1-2PTLha96w99Qwy2XlD0kq" False) (C1 (MetaCons "UpdateStateMachineResponse'" PrefixI True) (S1 (MetaSel (Just "_usmrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int) :*: S1 (MetaSel (Just "_usmrsUpdateDate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 POSIX)))

Response Lenses

usmrsUpdateDate :: Lens' UpdateStateMachineResponse UTCTime Source #

The date and time the state machine was updated.