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 |
Deletes a flow. Before you can delete a flow, you must stop the flow.
Synopsis
- data DeleteFlow = DeleteFlow' {}
- newDeleteFlow :: Text -> DeleteFlow
- deleteFlow_flowArn :: Lens' DeleteFlow Text
- data DeleteFlowResponse = DeleteFlowResponse' {}
- newDeleteFlowResponse :: Int -> DeleteFlowResponse
- deleteFlowResponse_status :: Lens' DeleteFlowResponse (Maybe Status)
- deleteFlowResponse_flowArn :: Lens' DeleteFlowResponse (Maybe Text)
- deleteFlowResponse_httpStatus :: Lens' DeleteFlowResponse Int
Creating a Request
data DeleteFlow Source #
See: newDeleteFlow
smart constructor.
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:flowArn:DeleteFlow'
, deleteFlow_flowArn
- The ARN of the flow that you want to delete.
Request Lenses
deleteFlow_flowArn :: Lens' DeleteFlow Text Source #
The ARN of the flow that you want to delete.
Destructuring the Response
data DeleteFlowResponse Source #
See: newDeleteFlowResponse
smart constructor.
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:status:DeleteFlowResponse'
, deleteFlowResponse_status
- The status of the flow when the DeleteFlow process begins.
$sel:flowArn:DeleteFlow'
, deleteFlowResponse_flowArn
- The ARN of the flow that was deleted.
$sel:httpStatus:DeleteFlowResponse'
, deleteFlowResponse_httpStatus
- The response's http status code.
Response Lenses
deleteFlowResponse_status :: Lens' DeleteFlowResponse (Maybe Status) Source #
The status of the flow when the DeleteFlow process begins.
deleteFlowResponse_flowArn :: Lens' DeleteFlowResponse (Maybe Text) Source #
The ARN of the flow that was deleted.
deleteFlowResponse_httpStatus :: Lens' DeleteFlowResponse Int Source #
The response's http status code.