class Aws::DataSync::Types::TaskFilter
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.
@note When making an API call, you may pass TaskFilter
data as a hash: { name: "LocationId", # required, accepts LocationId, CreationTime values: ["FilterAttributeValue"], # required operator: "Equals", # required, accepts Equals, NotEquals, In, LessThanOrEqual, LessThan, GreaterThanOrEqual, GreaterThan, Contains, NotContains, BeginsWith }
@!attribute [rw] name
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`. @return [String]
@!attribute [rw] values
The values that you want to filter for. For example, you might want to display only tasks for a specific destination location. @return [Array<String>]
@!attribute [rw] operator
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][1]. [1]: https://docs.aws.amazon.com/datasync/latest/userguide/query-resources.html @return [String]
@see docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/TaskFilter AWS API Documentation
Constants
- SENSITIVE