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 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.
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:id: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.
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.