list_hubs
¶
list_hubs(
*,
config_overrides: Optional[SageMakerClientConfig] = None,
name_contains: Optional[NameContains] = None,
creation_time_before: Optional[Timestamp] = None,
creation_time_after: Optional[Timestamp] = None,
last_modified_time_before: Optional[Timestamp] = None,
last_modified_time_after: Optional[Timestamp] = None,
sort_by: Optional[HubSortBy] = None,
sort_order: Optional[SortOrder] = None,
max_results: Optional[MaxResults] = None,
next_token: Optional[NextToken] = None,
) -> ListHubsResponse
List all existing hubs.
Parameters:
-
name_contains(Optional[NameContains], default:None) –Only list hubs with names that contain the specified string.
-
creation_time_before(Optional[Timestamp], default:None) –Only list hubs that were created before the time specified.
-
creation_time_after(Optional[Timestamp], default:None) –Only list hubs that were created after the time specified.
-
last_modified_time_before(Optional[Timestamp], default:None) –Only list hubs that were last modified before the time specified.
-
last_modified_time_after(Optional[Timestamp], default:None) –Only list hubs that were last modified after the time specified.
-
sort_by(Optional[HubSortBy], default:None) –Sort hubs by either name or creation time.
-
sort_order(Optional[SortOrder], default:None) –Sort hubs by ascending or descending order.
-
max_results(Optional[MaxResults], default:None) –The maximum number of hubs to list.
-
next_token(Optional[NextToken], default:None) –If the response to a previous
ListHubsrequest was truncated, the response includes aNextToken. To retrieve the next set of hubs, use the token in the next request.
Raises:
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_sagemaker/_services/sage_maker.py
19793 19794 19795 19796 19797 19798 19799 19800 19801 19802 19803 19804 19805 19806 19807 19808 19809 19810 19811 19812 19813 19814 19815 19816 19817 19818 19819 19820 19821 19822 19823 19824 19825 19826 19827 19828 19829 19830 19831 19832 19833 19834 19835 19836 19837 19838 19839 19840 19841 19842 19843 19844 19845 19846 19847 19848 19849 19850 19851 19852 19853 19854 19855 19856 19857 19858 19859 19860 19861 19862 19863 19864 19865 19866 19867 19868 19869 19870 19871 19872 19873 19874 19875 19876 19877 | |