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 |
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.
Instances
Eq StopFlow Source # | |
Read StopFlow Source # | |
Show StopFlow Source # | |
Generic StopFlow Source # | |
NFData StopFlow Source # | |
Defined in Amazonka.AppFlow.StopFlow | |
Hashable StopFlow Source # | |
Defined in Amazonka.AppFlow.StopFlow | |
ToJSON StopFlow Source # | |
Defined in Amazonka.AppFlow.StopFlow | |
AWSRequest StopFlow Source # | |
Defined in Amazonka.AppFlow.StopFlow type AWSResponse StopFlow # request :: StopFlow -> Request StopFlow # response :: MonadResource m => Logger -> Service -> Proxy StopFlow -> ClientResponse ClientBody -> m (Either Error (ClientResponse (AWSResponse StopFlow))) # | |
ToHeaders StopFlow Source # | |
Defined in Amazonka.AppFlow.StopFlow | |
ToPath StopFlow Source # | |
Defined in Amazonka.AppFlow.StopFlow toPath :: StopFlow -> ByteString # | |
ToQuery StopFlow Source # | |
Defined in Amazonka.AppFlow.StopFlow toQuery :: StopFlow -> QueryString # | |
type Rep StopFlow Source # | |
Defined in Amazonka.AppFlow.StopFlow | |
type AWSResponse StopFlow Source # | |
Defined in Amazonka.AppFlow.StopFlow |
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:flowName: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.
StopFlowResponse' | |
|
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:flowArn:StopFlowResponse'
, stopFlowResponse_flowArn
- The flow's Amazon Resource Name (ARN).
$sel:flowStatus: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.