Copyright | (c) 2013-2021 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 |
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.
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:
$sel:flowName: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.
StartFlowResponse' | |
|
Instances
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:
$sel:executionId: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.
$sel:flowArn:StartFlowResponse'
, startFlowResponse_flowArn
- The flow's Amazon Resource Name (ARN).
$sel:flowStatus: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.