Copyright | (c) 2013-2017 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 |
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 string that contains the JSON input data for the execution, for example:"input": "{"first_name" : "test"}"
seName
- The name of the execution. This name must be unique for your AWS account and region for 90 days. For more information, see Limits Related to State Machine Executions in the AWS Step Functions Developer Guide . A name must not contain: * whitespace * brackets{ } [ ]
* wildcard characters? *
* special characters" # % ^ | ~ ` $ & , ; : /
* control characters (U+0000-001F
,U+007F-009F
)seStateMachineARN
- The Amazon Resource Name (ARN) of the state machine to execute.
data StartExecution Source #
See: startExecution
smart constructor.
Request Lenses
seInput :: Lens' StartExecution (Maybe Text) Source #
The string that contains the JSON input data for the execution, for example: "input": "{"first_name" : "test"}"
seName :: Lens' StartExecution (Maybe Text) Source #
The name of the execution. This name must be unique for your AWS account and region for 90 days. For more information, see Limits Related to State Machine Executions in the AWS Step Functions Developer Guide . A name must not contain: * whitespace * brackets { } [ ]
* wildcard characters ? *
* special characters " # % ^ | ~ ` $ & , ; : /
* control characters (U+0000-001F
, U+007F-009F
)
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.