CmdID / aws / aws greengrass
aws greengrass delete-device-definition
Deletes a device definition. AWS CLI reference
1 example 1 option Its page in the AWS CLI reference
Examples
To delete a device definition
The following delete-device-definition example deletes the specified device definition, including all of its versions. If you delete a device definition version that is used by a group version, the group version cannot be deployed successfully.
aws greengrass delete-device-definition --device-definition-id "a1b2c3d4-5678-90ab-cdef-EXAMPLE11111"Identify--device-definition-idThe ID of the device definition.This command produces no output.
For more information, see Overview of the AWS IoT Greengrass group object model in the AWS IoT Greengrass Developer Guide.
Options
--device-definition-idThe ID of the device definition.