list_hub_contents
async
¶
list_hub_contents(
*,
config_overrides: Optional[AsyncSageMakerClientConfig] = None,
hub_name: Optional[HubNameOrArn] = None,
hub_content_type: Optional[HubContentType] = None,
name_contains: Optional[NameContains] = None,
max_schema_version: Optional[DocumentSchemaVersion] = None,
creation_time_before: Optional[Timestamp] = None,
creation_time_after: Optional[Timestamp] = None,
sort_by: Optional[HubContentSortBy] = None,
sort_order: Optional[SortOrder] = None,
max_results: Optional[MaxResults] = None,
next_token: Optional[NextToken] = None,
) -> ListHubContentsResponse
List the contents of a hub.
Parameters:
-
hub_name(Optional[HubNameOrArn], default:None) –The name of the hub to list the contents of.
-
hub_content_type(Optional[HubContentType], default:None) –The type of hub content to list.
-
name_contains(Optional[NameContains], default:None) –Only list hub content if the name contains the specified string.
-
max_schema_version(Optional[DocumentSchemaVersion], default:None) –The upper bound of the hub content schema verion.
-
creation_time_before(Optional[Timestamp], default:None) –Only list hub content that was created before the time specified.
-
creation_time_after(Optional[Timestamp], default:None) –Only list hub content that was created after the time specified.
-
sort_by(Optional[HubContentSortBy], default:None) –Sort hub content versions 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 amount of hub content to list.
-
next_token(Optional[NextToken], default:None) –If the response to a previous
ListHubContentsrequest was truncated, the response includes aNextToken. To retrieve the next set of hub content, use the token in the next request.
Raises:
-
ResourceNotFound–Resource being access is not found.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_sagemaker/_services/async_sage_maker.py
19872 19873 19874 19875 19876 19877 19878 19879 19880 19881 19882 19883 19884 19885 19886 19887 19888 19889 19890 19891 19892 19893 19894 19895 19896 19897 19898 19899 19900 19901 19902 19903 19904 19905 19906 19907 19908 19909 19910 19911 19912 19913 19914 19915 19916 19917 19918 19919 19920 19921 19922 19923 19924 19925 19926 19927 19928 19929 19930 19931 19932 19933 19934 19935 19936 19937 19938 19939 19940 19941 19942 19943 19944 19945 19946 19947 19948 19949 19950 19951 19952 19953 19954 19955 19956 19957 19958 19959 19960 19961 19962 19963 19964 | |