deleteCommand method
Delete a command resource.
May throw ConflictException.
May throw InternalServerException.
May throw ThrottlingException.
May throw ValidationException.
Parameter commandId :
The unique identifier of the command to be deleted.
Implementation
Future<DeleteCommandResponse> deleteCommand({
required String commandId,
}) async {
final response = await _protocol.send(
payload: null,
method: 'DELETE',
requestUri: '/commands/${Uri.encodeComponent(commandId)}',
exceptionFnMap: _exceptionFns,
);
return DeleteCommandResponse.fromJson(response);
}