Skip to content

ListModelsInput

Source code in docs_src/capo_sagemaker/types/list_models_input.py
class ListModelsInput(TypedDict, closed=True):
    sort_by: NotRequired["capo_sagemaker.types.model_sort_key.ModelSortKey"]
    """<p>Sorts the list of results. The default is <code>CreationTime</code>.</p>"""
    sort_order: NotRequired["capo_sagemaker.types.order_key.OrderKey"]
    """<p>The sort order for results. The default is <code>Descending</code>.</p>"""
    next_token: NotRequired["capo_sagemaker.types.pagination_token.PaginationToken"]
    """<p>If the response to a previous <code>ListModels</code> request was truncated, the response includes a <code>NextToken</code>. To retrieve the next set of models, use the token in the next request.</p>"""
    max_results: NotRequired["capo_sagemaker.types.max_results.MaxResults"]
    """<p>The maximum number of models to return in the response.</p>"""
    name_contains: NotRequired[
        "capo_sagemaker.types.model_name_contains.ModelNameContains"
    ]
    """<p>A string in the model name. This filter returns only models whose name contains the specified string.</p>"""
    creation_time_before: NotRequired["capo_sagemaker.types.timestamp.Timestamp"]
    """<p>A filter that returns only models created before the specified time (timestamp).</p>"""
    creation_time_after: NotRequired["capo_sagemaker.types.timestamp.Timestamp"]
    """<p>A filter that returns only models with a creation time greater than or equal to the specified time (timestamp).</p>"""

creation_time_after instance-attribute

creation_time_after: NotRequired[Timestamp]

A filter that returns only models with a creation time greater than or equal to the specified time (timestamp).

creation_time_before instance-attribute

creation_time_before: NotRequired[Timestamp]

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

max_results instance-attribute

max_results: NotRequired[MaxResults]

The maximum number of models to return in the response.

name_contains instance-attribute

name_contains: NotRequired[ModelNameContains]

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

next_token instance-attribute

next_token: NotRequired[PaginationToken]

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.

sort_by instance-attribute

sort_by: NotRequired[ModelSortKey]

Sorts the list of results. The default is CreationTime.

sort_order instance-attribute

sort_order: NotRequired[OrderKey]

The sort order for results. The default is Descending.