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
22342 22343 22344 22345 22346 22347 22348 22349 22350 22351 22352 22353 22354 22355 22356 22357 22358 22359 22360 22361 22362 22363 22364 22365 22366 22367 22368 22369 22370 22371 22372 22373 22374 22375 22376 22377 22378 22379 22380 22381 22382 22383 22384 22385 22386 22387 22388 22389 22390 22391 22392 22393 22394 22395 22396 22397 22398 22399 22400 22401 22402 22403 22404 22405 22406 22407 22408 22409 22410 22411 22412 22413 22414 22415 22416 22417 22418 22419 22420 22421 22422 22423 22424 22425 22426 22427 22428 22429 22430 22431 22432 22433 22434 22435 22436 22437 22438 22439 22440 | |