list_hub_content_versions
¶
list_hub_content_versions(
*,
config_overrides: Optional[SageMakerClientConfig] = 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/sage_maker.py
22038 22039 22040 22041 22042 22043 22044 22045 22046 22047 22048 22049 22050 22051 22052 22053 22054 22055 22056 22057 22058 22059 22060 22061 22062 22063 22064 22065 22066 22067 22068 22069 22070 22071 22072 22073 22074 22075 22076 22077 22078 22079 22080 22081 22082 22083 22084 22085 22086 22087 22088 22089 22090 22091 22092 22093 22094 22095 22096 22097 22098 22099 22100 22101 22102 22103 22104 22105 22106 22107 22108 22109 22110 22111 22112 22113 22114 22115 22116 22117 22118 22119 22120 22121 22122 22123 22124 22125 22126 22127 22128 22129 22130 22131 22132 22133 22134 22135 | |