:doc:`Panorama <../../panorama>` / Client / update_device_metadata

**********************
update_device_metadata
**********************



.. py:method:: Panorama.Client.update_device_metadata(**kwargs)

  

  Updates a device's metadata.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/panorama-2019-07-24/UpdateDeviceMetadata>`_  


  **Request Syntax**
  ::

    response = client.update_device_metadata(
        Description='string',
        DeviceId='string'
    )
    
  :type Description: string
  :param Description: 

    A description for the device.

    

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

    The device's ID.

    

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

    
    ::

      {
          'DeviceId': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **DeviceId** *(string) --* 

        The device's ID.

        
  
  **Exceptions**
  
  *   :py:class:`Panorama.Client.exceptions.ConflictException`

  
  *   :py:class:`Panorama.Client.exceptions.ValidationException`

  
  *   :py:class:`Panorama.Client.exceptions.AccessDeniedException`

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

  
  *   :py:class:`Panorama.Client.exceptions.InternalServerException`

  