Class: Aws::SageMaker::Types::ListModelsInput
- Inherits:
-
Struct
- Object
- Struct
- Aws::SageMaker::Types::ListModelsInput
- Includes:
- Aws::Structure
- Defined in:
- lib/aws-sdk-sagemaker/types.rb
Overview
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
-
#creation_time_after ⇒ Time
A filter that returns only models created after the specified time (timestamp).
-
#creation_time_before ⇒ Time
A filter that returns only models created before the specified time (timestamp).
-
#max_results ⇒ Integer
The maximum number of models to return in the response.
-
#name_contains ⇒ String
A string in the training job name.
-
#next_token ⇒ String
If the response to a previous ‘ListModels` request was truncated, the response includes a `NextToken`.
-
#sort_by ⇒ String
Sorts the list of results.
-
#sort_order ⇒ String
The sort order for results.
Instance Attribute Details
#creation_time_after ⇒ Time
A filter that returns only models created after the specified time (timestamp).
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_before ⇒ Time
A filter that returns only models created before the specified time (timestamp).
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_results ⇒ Integer
The maximum number of models to return in the response.
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_contains ⇒ String
A string in the training job name. This filter returns only models in the training job whose name contains the specified 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_token ⇒ String
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.
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_by ⇒ String
Sorts the list of results. The default is ‘CreationTime`.
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_order ⇒ String
The sort order for results. The default is ‘Descending`.
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 |