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 channel. You must stop the channel before it can be deleted.
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.
DeleteChannel' | |
|
Instances
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:
$sel:channelName:DeleteChannel'
, deleteChannel_channelName
- The identifier for the channel you are working on.
Request Lenses
deleteChannel_channelName :: Lens' DeleteChannel Text Source #
The identifier for the channel you are working on.
Destructuring the Response
data DeleteChannelResponse Source #
See: newDeleteChannelResponse
smart constructor.
DeleteChannelResponse' | |
|
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.