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 |
Stops a flow.
Synopsis
- data StopFlow = StopFlow' {}
- newStopFlow :: Text -> StopFlow
- stopFlow_flowArn :: Lens' StopFlow Text
- data StopFlowResponse = StopFlowResponse' {}
- newStopFlowResponse :: Int -> StopFlowResponse
- stopFlowResponse_status :: Lens' StopFlowResponse (Maybe Status)
- stopFlowResponse_flowArn :: Lens' StopFlowResponse (Maybe Text)
- stopFlowResponse_httpStatus :: Lens' StopFlowResponse Int
Creating a Request
See: newStopFlow
smart constructor.
Instances
Create a value of StopFlow
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:StopFlow'
, stopFlow_flowArn
- The ARN of the flow that you want to stop.
Request Lenses
Destructuring the Response
data StopFlowResponse Source #
See: newStopFlowResponse
smart constructor.
Instances
Create a value of StopFlowResponse
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:StopFlowResponse'
, stopFlowResponse_status
- The status of the flow when the StopFlow process begins.
$sel:flowArn:StopFlow'
, stopFlowResponse_flowArn
- The ARN of the flow that you stopped.
$sel:httpStatus:StopFlowResponse'
, stopFlowResponse_httpStatus
- The response's http status code.
Response Lenses
stopFlowResponse_status :: Lens' StopFlowResponse (Maybe Status) Source #
The status of the flow when the StopFlow process begins.
stopFlowResponse_flowArn :: Lens' StopFlowResponse (Maybe Text) Source #
The ARN of the flow that you stopped.
stopFlowResponse_httpStatus :: Lens' StopFlowResponse Int Source #
The response's http status code.