| 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.MediaPackage.DeleteChannel
Description
Deletes an existing Channel.
Synopsis
- data DeleteChannel = DeleteChannel' {}
- newDeleteChannel :: Text -> DeleteChannel
- deleteChannel_id :: Lens' DeleteChannel Text
- data DeleteChannelResponse = DeleteChannelResponse' {
- httpStatus :: Int
- newDeleteChannelResponse :: Int -> DeleteChannelResponse
- deleteChannelResponse_httpStatus :: Lens' DeleteChannelResponse Int
Creating a Request
data DeleteChannel Source #
See: newDeleteChannel smart constructor.
Constructors
| DeleteChannel' | |
Instances
Arguments
| :: Text | |
| -> DeleteChannel |
Create a value of DeleteChannel 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:
DeleteChannel, deleteChannel_id - The ID of the Channel to delete.
Request Lenses
deleteChannel_id :: Lens' DeleteChannel Text Source #
The ID of the Channel to delete.
Destructuring the Response
data DeleteChannelResponse Source #
See: newDeleteChannelResponse smart constructor.
Constructors
| DeleteChannelResponse' | |
Fields
| |
Instances
newDeleteChannelResponse Source #
Create a value of DeleteChannelResponse 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:DeleteChannelResponse', deleteChannelResponse_httpStatus - The response's http status code.
Response Lenses
deleteChannelResponse_httpStatus :: Lens' DeleteChannelResponse Int Source #
The response's http status code.