| 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.IVS.DeleteChannel
Description
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.
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_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.
Constructors
| DeleteChannelResponse' | |
Instances
newDeleteChannelResponse :: DeleteChannelResponse Source #
Create a value of DeleteChannelResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.