CmdID / aws / aws greengrass
aws greengrass update-device-definition
Updates a device definition. AWS CLI reference
1 example 2 options Its page in the AWS CLI reference
Examples
To update a device definition
The following update-device-definition example changes the name of the specified device definition. You can only update the name property of a device definition.
aws greengrass update-device-definition --device-definition-id "a1b2c3d4-5678-90ab-cdef-EXAMPLE11111" --name "TemperatureSensors"Identify--device-definition-idThe ID of the device definition.--nameThe name of the definition.This command produces no output.
For more information, see Overview of the AWS IoT Greengrass group object model in the AWS IoT Greengrass Version 1 Developer Guide.
Options
--device-definition-idThe ID of the device definition.--nameThe name of the definition.