| 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.MediaTailor.DeleteChannel
Description
Deletes a channel. For information about MediaTailor channels, see Working with channels in the MediaTailor User Guide.
Synopsis
- data DeleteChannel = DeleteChannel' {
- channelName :: Text
- newDeleteChannel :: Text -> DeleteChannel
- deleteChannel_channelName :: 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' | |
Fields
| |
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_channelName - The name of the channel.
Request Lenses
deleteChannel_channelName :: Lens' DeleteChannel Text Source #
The name of the channel.
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.