:doc:`Connect <../../connect>` / Client / delete_view

***********
delete_view
***********



.. py:method:: Connect.Client.delete_view(**kwargs)

  

  Deletes the view entirely. It deletes the view and all associated qualifiers (versions and aliases).

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DeleteView>`_  


  **Request Syntax**
  ::

    response = client.delete_view(
        InstanceId='string',
        ViewId='string'
    )
    
  :type InstanceId: string
  :param InstanceId: **[REQUIRED]** 

    The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.

    

  
  :type ViewId: string
  :param ViewId: **[REQUIRED]** 

    The identifier of the view. Both ``ViewArn`` and ``ViewId`` can be used.

    

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

    
    ::

      {}
      
    **Response Structure**

    

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

  
  *   :py:class:`Connect.Client.exceptions.InvalidRequestException`

  
  *   :py:class:`Connect.Client.exceptions.InvalidParameterException`

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

  
  *   :py:class:`Connect.Client.exceptions.InternalServiceException`

  
  *   :py:class:`Connect.Client.exceptions.TooManyRequestsException`

  
  *   :py:class:`Connect.Client.exceptions.ResourceInUseException`

  