| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.AppFlow.StartFlow
Description
Activates an existing flow. For on-demand flows, this operation runs the flow immediately. For schedule and event-triggered flows, this operation activates the flow.
Synopsis
- data StartFlow = StartFlow' {}
- newStartFlow :: Text -> StartFlow
- startFlow_flowName :: Lens' StartFlow Text
- data StartFlowResponse = StartFlowResponse' {
- executionId :: Maybe Text
- flowArn :: Maybe Text
- flowStatus :: Maybe FlowStatus
- httpStatus :: Int
- newStartFlowResponse :: Int -> StartFlowResponse
- startFlowResponse_executionId :: Lens' StartFlowResponse (Maybe Text)
- startFlowResponse_flowArn :: Lens' StartFlowResponse (Maybe Text)
- startFlowResponse_flowStatus :: Lens' StartFlowResponse (Maybe FlowStatus)
- startFlowResponse_httpStatus :: Lens' StartFlowResponse Int
Creating a Request
See: newStartFlow smart constructor.
Constructors
| StartFlow' | |
Instances
Create a value of StartFlow with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
StartFlow, startFlow_flowName - The specified name of the flow. Spaces are not allowed. Use underscores
(_) or hyphens (-) only.
Request Lenses
startFlow_flowName :: Lens' StartFlow Text Source #
The specified name of the flow. Spaces are not allowed. Use underscores (_) or hyphens (-) only.
Destructuring the Response
data StartFlowResponse Source #
See: newStartFlowResponse smart constructor.
Constructors
| StartFlowResponse' | |
Fields
| |
Instances
Arguments
| :: Int | |
| -> StartFlowResponse |
Create a value of StartFlowResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
StartFlowResponse, startFlowResponse_executionId - Returns the internal execution ID of an on-demand flow when the flow is
started. For scheduled or event-triggered flows, this value is null.
StartFlowResponse, startFlowResponse_flowArn - The flow's Amazon Resource Name (ARN).
StartFlowResponse, startFlowResponse_flowStatus - Indicates the current status of the flow.
$sel:httpStatus:StartFlowResponse', startFlowResponse_httpStatus - The response's http status code.
Response Lenses
startFlowResponse_executionId :: Lens' StartFlowResponse (Maybe Text) Source #
Returns the internal execution ID of an on-demand flow when the flow is started. For scheduled or event-triggered flows, this value is null.
startFlowResponse_flowArn :: Lens' StartFlowResponse (Maybe Text) Source #
The flow's Amazon Resource Name (ARN).
startFlowResponse_flowStatus :: Lens' StartFlowResponse (Maybe FlowStatus) Source #
Indicates the current status of the flow.
startFlowResponse_httpStatus :: Lens' StartFlowResponse Int Source #
The response's http status code.