class Aws::DataSync::Types::ListTasksRequest

ListTasksRequest

@note When making an API call, you may pass ListTasksRequest

data as a hash:

    {
      max_results: 1,
      next_token: "NextToken",
      filters: [
        {
          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] max_results

The maximum number of tasks to return.
@return [Integer]

@!attribute [rw] next_token

An opaque string that indicates the position at which to begin the
next list of tasks.
@return [String]

@!attribute [rw] filters

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.
@return [Array<Types::TaskFilter>]

@see docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/ListTasksRequest AWS API Documentation

Constants

SENSITIVE