Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Starts a state machine execution.
- startExecution :: Text -> StartExecution
- data StartExecution
- seInput :: Lens' StartExecution (Maybe Text)
- seName :: Lens' StartExecution (Maybe Text)
- seStateMachineARN :: Lens' StartExecution Text
- startExecutionResponse :: Int -> Text -> UTCTime -> StartExecutionResponse
- data StartExecutionResponse
- srsResponseStatus :: Lens' StartExecutionResponse Int
- srsExecutionARN :: Lens' StartExecutionResponse Text
- srsStartDate :: Lens' StartExecutionResponse UTCTime
Creating a Request
Creates a value of StartExecution
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
seInput
- The JSON input data for the execution.seName
- The name of the execution. This name must be unique for your AWS account and region.seStateMachineARN
- The Amazon Resource Name (ARN) of the state machine to execute.
data StartExecution Source #
See: startExecution
smart constructor.
Request Lenses
seName :: Lens' StartExecution (Maybe Text) Source #
The name of the execution. This name must be unique for your AWS account and region.
seStateMachineARN :: Lens' StartExecution Text Source #
The Amazon Resource Name (ARN) of the state machine to execute.
Destructuring the Response
startExecutionResponse Source #
Creates a value of StartExecutionResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
srsResponseStatus
- -- | The response status code.srsExecutionARN
- The Amazon Resource Name (ARN) that identifies the execution.srsStartDate
- The date the execution was started.
data StartExecutionResponse Source #
See: startExecutionResponse
smart constructor.
Response Lenses
srsResponseStatus :: Lens' StartExecutionResponse Int Source #
- - | The response status code.
srsExecutionARN :: Lens' StartExecutionResponse Text Source #
The Amazon Resource Name (ARN) that identifies the execution.
srsStartDate :: Lens' StartExecutionResponse UTCTime Source #
The date the execution was started.