You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::DataSync::Types::ListTasksRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::DataSync::Types::ListTasksRequest
- Defined in:
- (unknown)
Overview
When passing ListTasksRequest as input to an Aws::Client method, you can use a vanilla 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
},
],
}
ListTasksRequest
Instance Attribute Summary collapse
-
#filters ⇒ Array<Types::TaskFilter>
You can use API filters to narrow down the list of resources returned by
ListTasks
. -
#max_results ⇒ Integer
The maximum number of tasks to return.
-
#next_token ⇒ String
An opaque string that indicates the position at which to begin the next list of tasks.
Instance Attribute Details
#filters ⇒ Array<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 specific source
location, you can use ListTasks
with filter name LocationId
and
Operator Equals
with the ARN for the location.
#max_results ⇒ Integer
The maximum number of tasks to return.
#next_token ⇒ String
An opaque string that indicates the position at which to begin the next list of tasks.