| 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.MediaConnect.DeleteFlow
Description
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_flowArn :: Lens' DeleteFlowResponse (Maybe Text)
- deleteFlowResponse_status :: Lens' DeleteFlowResponse (Maybe Status)
- deleteFlowResponse_httpStatus :: Lens' DeleteFlowResponse Int
Creating a Request
data DeleteFlow Source #
See: newDeleteFlow smart constructor.
Constructors
| DeleteFlow' | |
Instances
Arguments
| :: Text | |
| -> DeleteFlow |
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:
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.
Constructors
| DeleteFlowResponse' | |
Instances
newDeleteFlowResponse Source #
Arguments
| :: Int | |
| -> DeleteFlowResponse |
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:
DeleteFlow, deleteFlowResponse_flowArn - The ARN of the flow that was deleted.
DeleteFlowResponse, deleteFlowResponse_status - The status of the flow when the DeleteFlow process begins.
$sel:httpStatus:DeleteFlowResponse', deleteFlowResponse_httpStatus - The response's http status code.
Response Lenses
deleteFlowResponse_flowArn :: Lens' DeleteFlowResponse (Maybe Text) Source #
The ARN of the flow that was deleted.
deleteFlowResponse_status :: Lens' DeleteFlowResponse (Maybe Status) Source #
The status of the flow when the DeleteFlow process begins.
deleteFlowResponse_httpStatus :: Lens' DeleteFlowResponse Int Source #
The response's http status code.