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

********************
update_view_metadata
********************



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

  

  Updates the view metadata. Note that either ``Name`` or ``Description`` must be provided.

  

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


  **Request Syntax**
  ::

    response = client.update_view_metadata(
        InstanceId='string',
        ViewId='string',
        Name='string',
        Description='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.

    

  
  :type Name: string
  :param Name: 

    The name of the view.

    

  
  :type Description: string
  :param Description: 

    The description of the view.

    

  
  
  :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.DuplicateResourceException`

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

  