| Copyright | (c) 2013-2018 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.AWS.StepFunctions.UpdateStateMachine
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
- updateStateMachine :: Text -> UpdateStateMachine
- data UpdateStateMachine
- usmDefinition :: Lens' UpdateStateMachine (Maybe Text)
- usmRoleARN :: Lens' UpdateStateMachine (Maybe Text)
- usmStateMachineARN :: Lens' UpdateStateMachine Text
- updateStateMachineResponse :: Int -> UTCTime -> UpdateStateMachineResponse
- data UpdateStateMachineResponse
- usmrsResponseStatus :: Lens' UpdateStateMachineResponse Int
- usmrsUpdateDate :: Lens' UpdateStateMachineResponse UTCTime
Creating a Request
Arguments
| :: Text | |
| -> UpdateStateMachine |
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
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 #
Arguments
| :: Int | |
| -> UTCTime | |
| -> UpdateStateMachineResponse |
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:
usmrsResponseStatus- -- | The response status code.usmrsUpdateDate- The date and time the state machine was updated.
data UpdateStateMachineResponse Source #
See: updateStateMachineResponse smart constructor.
Instances
Response Lenses
usmrsResponseStatus :: Lens' UpdateStateMachineResponse Int Source #
- - | The response status code.
usmrsUpdateDate :: Lens' UpdateStateMachineResponse UTCTime Source #
The date and time the state machine was updated.