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

Inherits:
Struct
  • Object
show all
Includes:
Aws::Structure
Defined in:
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)


7358
7359
7360
7361
7362
7363
7364
7365
7366
7367
# File 'lib/aws-sdk-sagemaker/types.rb', line 7358

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)


7358
7359
7360
7361
7362
7363
7364
7365
7366
7367
# File 'lib/aws-sdk-sagemaker/types.rb', line 7358

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)


7358
7359
7360
7361
7362
7363
7364
7365
7366
7367
# File 'lib/aws-sdk-sagemaker/types.rb', line 7358

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)


7358
7359
7360
7361
7362
7363
7364
7365
7366
7367
# File 'lib/aws-sdk-sagemaker/types.rb', line 7358

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)


7358
7359
7360
7361
7362
7363
7364
7365
7366
7367
# File 'lib/aws-sdk-sagemaker/types.rb', line 7358

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)


7358
7359
7360
7361
7362
7363
7364
7365
7366
7367
# File 'lib/aws-sdk-sagemaker/types.rb', line 7358

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 ‘Descending`.

Returns:

  • (String)


7358
7359
7360
7361
7362
7363
7364
7365
7366
7367
# File 'lib/aws-sdk-sagemaker/types.rb', line 7358

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