deleteDeviceDefinition method
Deletes a device definition.
May throw BadRequestException.
Parameter deviceDefinitionId
:
The ID of the device definition.
Implementation
Future<void> deleteDeviceDefinition({
required String deviceDefinitionId,
}) async {
ArgumentError.checkNotNull(deviceDefinitionId, 'deviceDefinitionId');
final response = await _protocol.send(
payload: null,
method: 'DELETE',
requestUri:
'/greengrass/definition/devices/${Uri.encodeComponent(deviceDefinitionId)}',
exceptionFnMap: _exceptionFns,
);
}