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 the specified channel and its associated stream keys.
If you try to delete a live channel, you will get an error (409 ConflictException). To delete a channel that is live, call StopStream, wait for the Amazon EventBridge "Stream End" event (to verify that the stream's state was changed from Live to Offline), then call DeleteChannel. (See Using EventBridge with Amazon IVS.)
Synopsis
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:arn:DeleteChannel'
, deleteChannel_arn
- ARN of the channel to be deleted.
Request Lenses
deleteChannel_arn :: Lens' DeleteChannel Text Source #
ARN of the channel to be deleted.
Destructuring the Response
data DeleteChannelResponse Source #
See: newDeleteChannelResponse
smart constructor.
Instances
Eq DeleteChannelResponse Source # | |
Defined in Amazonka.IVS.DeleteChannel (==) :: DeleteChannelResponse -> DeleteChannelResponse -> Bool # (/=) :: DeleteChannelResponse -> DeleteChannelResponse -> Bool # | |
Read DeleteChannelResponse Source # | |
Show DeleteChannelResponse Source # | |
Defined in Amazonka.IVS.DeleteChannel showsPrec :: Int -> DeleteChannelResponse -> ShowS # show :: DeleteChannelResponse -> String # showList :: [DeleteChannelResponse] -> ShowS # | |
Generic DeleteChannelResponse Source # | |
Defined in Amazonka.IVS.DeleteChannel type Rep DeleteChannelResponse :: Type -> Type # | |
NFData DeleteChannelResponse Source # | |
Defined in Amazonka.IVS.DeleteChannel rnf :: DeleteChannelResponse -> () # | |
type Rep DeleteChannelResponse Source # | |
newDeleteChannelResponse :: DeleteChannelResponse Source #
Create a value of DeleteChannelResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.