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

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

Overview

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:



3871
3872
3873
3874
3875
3876
3877
# File 'lib/aws-sdk-datasync/types.rb', line 3871

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)


3871
3872
3873
3874
3875
3876
3877
# File 'lib/aws-sdk-datasync/types.rb', line 3871

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)


3871
3872
3873
3874
3875
3876
3877
# File 'lib/aws-sdk-datasync/types.rb', line 3871

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