Select your cookie preferences

We use cookies and similar tools to enhance your experience, provide our services, deliver relevant advertising, and make improvements. Approved third parties also use these tools to help us deliver advertising and provide certain site features.

delete_channel

delete_channel(**kwargs)

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.)

See also: AWS API Documentation

Request Syntax

response = client.delete_channel(
    arn='string'
)
Parameters
arn (string) --

[REQUIRED]

ARN of the channel to be deleted.

Returns
None

Exceptions

  • IVS.Client.exceptions.ResourceNotFoundException
  • IVS.Client.exceptions.AccessDeniedException
  • IVS.Client.exceptions.ValidationException
  • IVS.Client.exceptions.PendingVerification
  • IVS.Client.exceptions.ConflictException