| 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.StopFlow
Description
Deactivates the existing flow. For on-demand flows, this operation
returns an unsupportedOperationException error message. For schedule
and event-triggered flows, this operation deactivates the flow.
Synopsis
- data StopFlow = StopFlow' {}
- newStopFlow :: Text -> StopFlow
- stopFlow_flowName :: Lens' StopFlow Text
- data StopFlowResponse = StopFlowResponse' {
- flowArn :: Maybe Text
- flowStatus :: Maybe FlowStatus
- httpStatus :: Int
- newStopFlowResponse :: Int -> StopFlowResponse
- stopFlowResponse_flowArn :: Lens' StopFlowResponse (Maybe Text)
- stopFlowResponse_flowStatus :: Lens' StopFlowResponse (Maybe FlowStatus)
- stopFlowResponse_httpStatus :: Lens' StopFlowResponse Int
Creating a Request
See: newStopFlow smart constructor.
Constructors
| StopFlow' | |
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:
StopFlow, stopFlow_flowName - The specified name of the flow. Spaces are not allowed. Use underscores
(_) or hyphens (-) only.
Request Lenses
stopFlow_flowName :: Lens' StopFlow Text Source #
The specified name of the flow. Spaces are not allowed. Use underscores (_) or hyphens (-) only.
Destructuring the Response
data StopFlowResponse Source #
See: newStopFlowResponse smart constructor.
Constructors
| StopFlowResponse' | |
Fields
| |
Instances
Arguments
| :: Int | |
| -> StopFlowResponse |
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:
StopFlowResponse, stopFlowResponse_flowArn - The flow's Amazon Resource Name (ARN).
StopFlowResponse, stopFlowResponse_flowStatus - Indicates the current status of the flow.
$sel:httpStatus:StopFlowResponse', stopFlowResponse_httpStatus - The response's http status code.
Response Lenses
stopFlowResponse_flowArn :: Lens' StopFlowResponse (Maybe Text) Source #
The flow's Amazon Resource Name (ARN).
stopFlowResponse_flowStatus :: Lens' StopFlowResponse (Maybe FlowStatus) Source #
Indicates the current status of the flow.
stopFlowResponse_httpStatus :: Lens' StopFlowResponse Int Source #
The response's http status code.