You can use API filters to narrow down the list of resources returned by ListTasks.
For example, to retrieve all tasks on a specific source location, you can use ListTasks
with filter name LocationId and Operator Equals with the ARN for the
location.
Optional MaxResults
MaxResults:undefined | number
The maximum number of tasks to return.
Optional NextToken
NextToken:undefined | string
An opaque string that indicates the position at which to begin the next list of
tasks.
You can use API filters to narrow down the list of resources returned by
ListTasks
. For example, to retrieve all tasks on a specific source location, you can useListTasks
with filter nameLocationId
andOperator Equals
with the ARN for the location.