Class: Aws::DataSync::Types::ListTasksRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-datasync/lib/aws-sdk-datasync/types.rb

Overview

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
    },
  ],
}

ListTasksRequest

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#filtersArray<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.

Returns:



2157
2158
2159
2160
2161
2162
2163
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/types.rb', line 2157

class ListTasksRequest < Struct.new(
  :max_results,
  :next_token,
  :filters)
  SENSITIVE = []
  include Aws::Structure
end

#max_resultsInteger

The maximum number of tasks to return.

Returns:

  • (Integer)


2157
2158
2159
2160
2161
2162
2163
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/types.rb', line 2157

class ListTasksRequest < Struct.new(
  :max_results,
  :next_token,
  :filters)
  SENSITIVE = []
  include Aws::Structure
end

#next_tokenString

An opaque string that indicates the position at which to begin the next list of tasks.

Returns:

  • (String)


2157
2158
2159
2160
2161
2162
2163
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/types.rb', line 2157

class ListTasksRequest < Struct.new(
  :max_results,
  :next_token,
  :filters)
  SENSITIVE = []
  include Aws::Structure
end