Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

TaskFilter

import type { TaskFilter } from "https://aws-api.deno.dev/v0.3/services/datasync.ts?docs=full";

You can use API filters to narrow down the list of resources returned by ListTasks. For example, to retrieve all tasks on a source location, you can use ListTasks with filter name LocationId and Operator Equals with the ARN for the location.

interface TaskFilter {
Operator: Operator;
Values: string[];
}

§Properties

§

The name of the filter being used. Each API call supports a list of filters that are available for it. For example, LocationId for ListTasks.

§
Operator: Operator
[src]

The operator that is used to compare filter values (for example, Equals or Contains). For more about API filtering operators, see API filters for ListTasks and ListLocations.

§
Values: string[]
[src]

The values that you want to filter for. For example, you might want to display only tasks for a specific destination location.