list_hub_content_versions
async
¶
list_hub_content_versions(
*,
config_overrides: Optional[AsyncSageMakerClientConfig] = None,
hub_name: Optional[HubNameOrArn] = None,
hub_content_type: Optional[HubContentType] = None,
hub_content_name: Optional[HubContentName] = None,
min_version: Optional[HubContentVersion] = 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,
) -> ListHubContentVersionsResponse
List hub content versions.
Parameters:
-
hub_name(Optional[HubNameOrArn], default:None) –The name of the hub to list the content versions of.
-
hub_content_type(Optional[HubContentType], default:None) –The type of hub content to list versions of.
-
hub_content_name(Optional[HubContentName], default:None) –The name of the hub content.
-
min_version(Optional[HubContentVersion], default:None) –The lower bound of the hub content versions to list.
-
max_schema_version(Optional[DocumentSchemaVersion], default:None) –The upper bound of the hub content schema version.
-
creation_time_before(Optional[Timestamp], default:None) –Only list hub content versions that were created before the time specified.
-
creation_time_after(Optional[Timestamp], default:None) –Only list hub content versions that were 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 hub content versions by ascending or descending order.
-
max_results(Optional[MaxResults], default:None) –The maximum number of hub content versions to list.
-
next_token(Optional[NextToken], default:None) –If the response to a previous
ListHubContentVersionsrequest was truncated, the response includes aNextToken. To retrieve the next set of hub content versions, 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
19966 19967 19968 19969 19970 19971 19972 19973 19974 19975 19976 19977 19978 19979 19980 19981 19982 19983 19984 19985 19986 19987 19988 19989 19990 19991 19992 19993 19994 19995 19996 19997 19998 19999 20000 20001 20002 20003 20004 20005 20006 20007 20008 20009 20010 20011 20012 20013 20014 20015 20016 20017 20018 20019 20020 20021 20022 20023 20024 20025 20026 20027 20028 20029 20030 20031 20032 20033 20034 20035 20036 20037 20038 20039 20040 20041 20042 20043 20044 20045 20046 20047 20048 20049 20050 20051 20052 20053 20054 20055 20056 20057 20058 20059 20060 20061 20062 20063 20064 | |