:doc:`KinesisVideo <../../kinesisvideo>` / Client / delete_edge_configuration

*************************
delete_edge_configuration
*************************



.. py:method:: 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 <https://docs.aws.amazon.com/goto/WebAPI/kinesisvideo-2017-09-30/DeleteEdgeConfiguration>`_  


  **Request Syntax**
  ::

    response = client.delete_edge_configuration(
        StreamName='string',
        StreamARN='string'
    )
    
  :type StreamName: string
  :param StreamName: 

    The name of the stream from which to delete the edge configuration. Specify either the ``StreamName`` or the ``StreamARN``.

    

  
  :type StreamARN: string
  :param StreamARN: 

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

    

  
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 
  
  **Exceptions**
  
  *   :py:class:`KinesisVideo.Client.exceptions.AccessDeniedException`

  
  *   :py:class:`KinesisVideo.Client.exceptions.ClientLimitExceededException`

  
  *   :py:class:`KinesisVideo.Client.exceptions.InvalidArgumentException`

  
  *   :py:class:`KinesisVideo.Client.exceptions.ResourceNotFoundException`

  
  *   :py:class:`KinesisVideo.Client.exceptions.StreamEdgeConfigurationNotFoundException`

  