describeAuditTask method
Gets information about a Device Defender audit.
Requires permission to access the DescribeAuditTask action.
May throw InternalFailureException.
May throw InvalidRequestException.
May throw ResourceNotFoundException.
May throw ThrottlingException.
Parameter taskId :
The ID of the audit whose information you want to get.
Implementation
Future<DescribeAuditTaskResponse> describeAuditTask({
required String taskId,
}) async {
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri: '/audit/tasks/${Uri.encodeComponent(taskId)}',
exceptionFnMap: _exceptionFns,
);
return DescribeAuditTaskResponse.fromJson(response);
}