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

Class: Aws::SageMaker::Types::ListTrainingJobsRequest

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

Overview

Note:

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

{
  next_token: "NextToken",
  max_results: 1,
  creation_time_after: Time.now,
  creation_time_before: Time.now,
  last_modified_time_after: Time.now,
  last_modified_time_before: Time.now,
  name_contains: "NameContains",
  status_equals: "InProgress", # accepts InProgress, Completed, Failed, Stopping, Stopped
  sort_by: "Name", # accepts Name, CreationTime, Status
  sort_order: "Ascending", # accepts Ascending, Descending
}

Instance Attribute Summary collapse

Instance Attribute Details

#creation_time_afterTime

A filter that only training jobs created after the specified time (timestamp).

Returns:

  • (Time)


1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 1842

class ListTrainingJobsRequest < Struct.new(
  :next_token,
  :max_results,
  :creation_time_after,
  :creation_time_before,
  :last_modified_time_after,
  :last_modified_time_before,
  :name_contains,
  :status_equals,
  :sort_by,
  :sort_order)
  include Aws::Structure
end

#creation_time_beforeTime

A filter that returns only training jobs created before the specified time (timestamp).

Returns:

  • (Time)


1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 1842

class ListTrainingJobsRequest < Struct.new(
  :next_token,
  :max_results,
  :creation_time_after,
  :creation_time_before,
  :last_modified_time_after,
  :last_modified_time_before,
  :name_contains,
  :status_equals,
  :sort_by,
  :sort_order)
  include Aws::Structure
end

#last_modified_time_afterTime

A filter that returns only training jobs modified after the specified time (timestamp).

Returns:

  • (Time)


1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 1842

class ListTrainingJobsRequest < Struct.new(
  :next_token,
  :max_results,
  :creation_time_after,
  :creation_time_before,
  :last_modified_time_after,
  :last_modified_time_before,
  :name_contains,
  :status_equals,
  :sort_by,
  :sort_order)
  include Aws::Structure
end

#last_modified_time_beforeTime

A filter that returns only training jobs modified before the specified time (timestamp).

Returns:

  • (Time)


1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 1842

class ListTrainingJobsRequest < Struct.new(
  :next_token,
  :max_results,
  :creation_time_after,
  :creation_time_before,
  :last_modified_time_after,
  :last_modified_time_before,
  :name_contains,
  :status_equals,
  :sort_by,
  :sort_order)
  include Aws::Structure
end

#max_resultsInteger

The maximum number of training jobs to return in the response.

Returns:

  • (Integer)


1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 1842

class ListTrainingJobsRequest < Struct.new(
  :next_token,
  :max_results,
  :creation_time_after,
  :creation_time_before,
  :last_modified_time_after,
  :last_modified_time_before,
  :name_contains,
  :status_equals,
  :sort_by,
  :sort_order)
  include Aws::Structure
end

#name_containsString

A string in the training job name. This filter returns only models whose name contains the specified string.

Returns:

  • (String)


1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 1842

class ListTrainingJobsRequest < Struct.new(
  :next_token,
  :max_results,
  :creation_time_after,
  :creation_time_before,
  :last_modified_time_after,
  :last_modified_time_before,
  :name_contains,
  :status_equals,
  :sort_by,
  :sort_order)
  include Aws::Structure
end

#next_tokenString

If the result of the previous ListTrainingJobs request was truncated, the response includes a NextToken. To retrieve the next set of training jobs, use the token in the next request.

Returns:

  • (String)


1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 1842

class ListTrainingJobsRequest < Struct.new(
  :next_token,
  :max_results,
  :creation_time_after,
  :creation_time_before,
  :last_modified_time_after,
  :last_modified_time_before,
  :name_contains,
  :status_equals,
  :sort_by,
  :sort_order)
  include Aws::Structure
end

#sort_byString

The field to sort results by. The default is CreationTime.

Returns:

  • (String)


1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 1842

class ListTrainingJobsRequest < Struct.new(
  :next_token,
  :max_results,
  :creation_time_after,
  :creation_time_before,
  :last_modified_time_after,
  :last_modified_time_before,
  :name_contains,
  :status_equals,
  :sort_by,
  :sort_order)
  include Aws::Structure
end

#sort_orderString

The sort order for results. The default is Ascending.

Returns:

  • (String)


1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 1842

class ListTrainingJobsRequest < Struct.new(
  :next_token,
  :max_results,
  :creation_time_after,
  :creation_time_before,
  :last_modified_time_after,
  :last_modified_time_before,
  :name_contains,
  :status_equals,
  :sort_by,
  :sort_order)
  include Aws::Structure
end

#status_equalsString

A filter that retrieves only training jobs with a specific status.

Returns:

  • (String)


1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 1842

class ListTrainingJobsRequest < Struct.new(
  :next_token,
  :max_results,
  :creation_time_after,
  :creation_time_before,
  :last_modified_time_after,
  :last_modified_time_before,
  :name_contains,
  :status_equals,
  :sort_by,
  :sort_order)
  include Aws::Structure
end