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

Class: Aws::SageMaker::Types::ListModelsInput

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 ListModelsInput data as a hash:

{
  sort_by: "Name", # accepts Name, CreationTime
  sort_order: "Ascending", # accepts Ascending, Descending
  next_token: "PaginationToken",
  max_results: 1,
  name_contains: "ModelNameContains",
  creation_time_before: Time.now,
  creation_time_after: Time.now,
}

Instance Attribute Summary collapse

Instance Attribute Details

#creation_time_afterTime

A filter that returns only models created after the specified time (timestamp).

Returns:

  • (Time)


1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 1591

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

#creation_time_beforeTime

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

Returns:

  • (Time)


1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 1591

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

#max_resultsInteger

The maximum number of models to return in the response.

Returns:

  • (Integer)


1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 1591

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

#name_containsString

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

Returns:

  • (String)


1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 1591

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

#next_tokenString

If the response to a previous ListModels request was truncated, the response includes a NextToken. To retrieve the next set of models, use the token in the next request.

Returns:

  • (String)


1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 1591

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

#sort_byString

Sorts the list of results. The default is CreationTime.

Returns:

  • (String)


1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 1591

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

#sort_orderString

The sort order for results. The default is Ascending.

Returns:

  • (String)


1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 1591

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