You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::Glue::Types::GetMLTaskRunsRequest

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

Overview

Note:

When making an API call, you may pass GetMLTaskRunsRequest data as a hash:

{
  transform_id: "HashString", # required
  next_token: "PaginationToken",
  max_results: 1,
  filter: {
    task_run_type: "EVALUATION", # accepts EVALUATION, LABELING_SET_GENERATION, IMPORT_LABELS, EXPORT_LABELS, FIND_MATCHES
    status: "STARTING", # accepts STARTING, RUNNING, STOPPING, STOPPED, SUCCEEDED, FAILED, TIMEOUT
    started_before: Time.now,
    started_after: Time.now,
  },
  sort: {
    column: "TASK_RUN_TYPE", # required, accepts TASK_RUN_TYPE, STATUS, STARTED
    sort_direction: "DESCENDING", # required, accepts DESCENDING, ASCENDING
  },
}

Instance Attribute Summary collapse

Instance Attribute Details

#filterTypes::TaskRunFilterCriteria

The filter criteria, in the TaskRunFilterCriteria structure, for the task run.



5595
5596
5597
5598
5599
5600
5601
5602
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 5595

class GetMLTaskRunsRequest < Struct.new(
  :transform_id,
  :next_token,
  :max_results,
  :filter,
  :sort)
  include Aws::Structure
end

#max_resultsInteger

The maximum number of results to return.

Returns:

  • (Integer)


5595
5596
5597
5598
5599
5600
5601
5602
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 5595

class GetMLTaskRunsRequest < Struct.new(
  :transform_id,
  :next_token,
  :max_results,
  :filter,
  :sort)
  include Aws::Structure
end

#next_tokenString

A token for pagination of the results. The default is empty.

Returns:

  • (String)


5595
5596
5597
5598
5599
5600
5601
5602
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 5595

class GetMLTaskRunsRequest < Struct.new(
  :transform_id,
  :next_token,
  :max_results,
  :filter,
  :sort)
  include Aws::Structure
end

#sortTypes::TaskRunSortCriteria

The sorting criteria, in the TaskRunSortCriteria structure, for the task run.



5595
5596
5597
5598
5599
5600
5601
5602
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 5595

class GetMLTaskRunsRequest < Struct.new(
  :transform_id,
  :next_token,
  :max_results,
  :filter,
  :sort)
  include Aws::Structure
end

#transform_idString

The unique identifier of the machine learning transform.

Returns:

  • (String)


5595
5596
5597
5598
5599
5600
5601
5602
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 5595

class GetMLTaskRunsRequest < Struct.new(
  :transform_id,
  :next_token,
  :max_results,
  :filter,
  :sort)
  include Aws::Structure
end