KinesisVideo / Client / delete_edge_configuration

delete_edge_configuration#

KinesisVideo.Client.delete_edge_configuration(**kwargs)#

An asynchronous API that deletes a stream’s existing edge configuration, as well as the corresponding media from the Edge Agent.

When you invoke this API, the sync status is set to DELETING. A deletion process starts, in which active edge jobs are stopped and all media is deleted from the edge device. The time to delete varies, depending on the total amount of stored media. If the deletion process fails, the sync status changes to DELETE_FAILED. You will need to re-try the deletion.

When the deletion process has completed successfully, the edge configuration is no longer accessible.

See also: AWS API Documentation

Request Syntax

response = client.delete_edge_configuration(
    StreamName='string',
    StreamARN='string'
)
Parameters:
  • StreamName (string) – The name of the stream from which to delete the edge configuration. Specify either the StreamName or the StreamARN.

  • StreamARN (string) – The Amazon Resource Name (ARN) of the stream. Specify either the StreamName or the StreamARN.

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions

  • KinesisVideo.Client.exceptions.AccessDeniedException

  • KinesisVideo.Client.exceptions.ClientLimitExceededException

  • KinesisVideo.Client.exceptions.InvalidArgumentException

  • KinesisVideo.Client.exceptions.ResourceNotFoundException

  • KinesisVideo.Client.exceptions.StreamEdgeConfigurationNotFoundException