List Audit Tasks

GET {{aws_internet_of_things_base_url}}/audit/tasks?endTime&maxResults&nextToken&startTime&taskStatus&taskType

Request Params

KeyDatatypeRequiredDescription
endTimenullThe end of the time period.
maxResultsnullThe maximum number of results to return at one time. The default is 25.
nextTokennullThe token for the next set of results.
startTimenullThe beginning of the time period. Audit information is retained for a limited time (180 days). Requesting a start time prior to what is retained results in an InvalidRequestException.
taskStatusnullA filter to limit the output to audits with the specified completion status: can be one of IN_PROGRESS, COMPLETED, FAILED, or CANCELED.
taskTypenullA filter to limit the output to the specified type of audit: can be one of ON_DEMAND_AUDIT_TASK or SCHEDULED__AUDIT_TASK.