:doc:`Greengrass <../../greengrass>` / Client / update_device_definition

************************
update_device_definition
************************



.. py:method:: Greengrass.Client.update_device_definition(**kwargs)

  Updates a device definition.

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/UpdateDeviceDefinition>`_  


  **Request Syntax**
  ::

    response = client.update_device_definition(
        DeviceDefinitionId='string',
        Name='string'
    )
    
  :type DeviceDefinitionId: string
  :param DeviceDefinitionId: **[REQUIRED]** The ID of the device definition.

  
  :type Name: string
  :param Name: The name of the definition.

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

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* success
  
  **Exceptions**
  
  *   :py:class:`Greengrass.Client.exceptions.BadRequestException`

  