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 |
Enables your application to delete an existing flow. Before deleting the flow, Amazon AppFlow validates the request by checking the flow configuration and status. You can delete flows one at a time.
Synopsis
- data DeleteFlow = DeleteFlow' {
- forceDelete :: Maybe Bool
- flowName :: Text
- newDeleteFlow :: Text -> DeleteFlow
- deleteFlow_forceDelete :: Lens' DeleteFlow (Maybe Bool)
- deleteFlow_flowName :: Lens' DeleteFlow Text
- data DeleteFlowResponse = DeleteFlowResponse' {
- httpStatus :: Int
- newDeleteFlowResponse :: Int -> DeleteFlowResponse
- deleteFlowResponse_httpStatus :: Lens' DeleteFlowResponse Int
Creating a Request
data DeleteFlow Source #
See: newDeleteFlow
smart constructor.
DeleteFlow' | |
|
Instances
Create a value of DeleteFlow
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:forceDelete:DeleteFlow'
, deleteFlow_forceDelete
- Indicates whether Amazon AppFlow should delete the flow, even if it is
currently in use.
$sel:flowName:DeleteFlow'
, deleteFlow_flowName
- The specified name of the flow. Spaces are not allowed. Use underscores
(_) or hyphens (-) only.
Request Lenses
deleteFlow_forceDelete :: Lens' DeleteFlow (Maybe Bool) Source #
Indicates whether Amazon AppFlow should delete the flow, even if it is currently in use.
deleteFlow_flowName :: Lens' DeleteFlow Text Source #
The specified name of the flow. Spaces are not allowed. Use underscores (_) or hyphens (-) only.
Destructuring the Response
data DeleteFlowResponse Source #
See: newDeleteFlowResponse
smart constructor.
DeleteFlowResponse' | |
|
Instances
newDeleteFlowResponse Source #
Create a value of DeleteFlowResponse
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:httpStatus:DeleteFlowResponse'
, deleteFlowResponse_httpStatus
- The response's http status code.
Response Lenses
deleteFlowResponse_httpStatus :: Lens' DeleteFlowResponse Int Source #
The response's http status code.