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 |
Starts a flow.
Synopsis
- data StartFlow = StartFlow' {}
- newStartFlow :: Text -> StartFlow
- startFlow_flowArn :: Lens' StartFlow Text
- data StartFlowResponse = StartFlowResponse' {}
- newStartFlowResponse :: Int -> StartFlowResponse
- startFlowResponse_status :: Lens' StartFlowResponse (Maybe Status)
- startFlowResponse_flowArn :: Lens' StartFlowResponse (Maybe Text)
- 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:flowArn:StartFlow'
, startFlow_flowArn
- The ARN of the flow that you want to start.
Request Lenses
Destructuring the Response
data StartFlowResponse Source #
See: newStartFlowResponse
smart constructor.
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:status:StartFlowResponse'
, startFlowResponse_status
- The status of the flow when the StartFlow process begins.
$sel:flowArn:StartFlow'
, startFlowResponse_flowArn
- The ARN of the flow that you started.
$sel:httpStatus:StartFlowResponse'
, startFlowResponse_httpStatus
- The response's http status code.
Response Lenses
startFlowResponse_status :: Lens' StartFlowResponse (Maybe Status) Source #
The status of the flow when the StartFlow process begins.
startFlowResponse_flowArn :: Lens' StartFlowResponse (Maybe Text) Source #
The ARN of the flow that you started.
startFlowResponse_httpStatus :: Lens' StartFlowResponse Int Source #
The response's http status code.