Skip to content

ListHubsRequest

Source code in docs_src/capo_sagemaker/types/list_hubs_request.py
class ListHubsRequest(TypedDict, closed=True):
    name_contains: NotRequired["capo_sagemaker.types.name_contains.NameContains"]
    """<p>Only list hubs with names that contain the specified string.</p>"""
    creation_time_before: NotRequired["capo_sagemaker.types.timestamp.Timestamp"]
    """<p>Only list hubs that were created before the time specified.</p>"""
    creation_time_after: NotRequired["capo_sagemaker.types.timestamp.Timestamp"]
    """<p>Only list hubs that were created after the time specified.</p>"""
    last_modified_time_before: NotRequired["capo_sagemaker.types.timestamp.Timestamp"]
    """<p>Only list hubs that were last modified before the time specified.</p>"""
    last_modified_time_after: NotRequired["capo_sagemaker.types.timestamp.Timestamp"]
    """<p>Only list hubs that were last modified after the time specified.</p>"""
    sort_by: NotRequired["capo_sagemaker.types.hub_sort_by.HubSortBy"]
    """<p>Sort hubs by either name or creation time.</p>"""
    sort_order: NotRequired["capo_sagemaker.types.sort_order.SortOrder"]
    """<p>Sort hubs by ascending or descending order.</p>"""
    max_results: NotRequired["capo_sagemaker.types.max_results.MaxResults"]
    """<p>The maximum number of hubs to list.</p>"""
    next_token: NotRequired["capo_sagemaker.types.next_token.NextToken"]
    """<p>If the response to a previous <code>ListHubs</code> request was truncated, the response includes a <code>NextToken</code>. To retrieve the next set of hubs, use the token in the next request.</p>"""

creation_time_after instance-attribute

creation_time_after: NotRequired[Timestamp]

Only list hubs that were created after the time specified.

creation_time_before instance-attribute

creation_time_before: NotRequired[Timestamp]

Only list hubs that were created before the time specified.

last_modified_time_after instance-attribute

last_modified_time_after: NotRequired[Timestamp]

Only list hubs that were last modified after the time specified.

last_modified_time_before instance-attribute

last_modified_time_before: NotRequired[Timestamp]

Only list hubs that were last modified before the time specified.

max_results instance-attribute

max_results: NotRequired[MaxResults]

The maximum number of hubs to list.

name_contains instance-attribute

name_contains: NotRequired[NameContains]

Only list hubs with names that contain the specified string.

next_token instance-attribute

next_token: NotRequired[NextToken]

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

sort_by instance-attribute

sort_by: NotRequired[HubSortBy]

Sort hubs by either name or creation time.

sort_order instance-attribute

sort_order: NotRequired[SortOrder]

Sort hubs by ascending or descending order.