list_model_cards
async
¶
list_model_cards(
*,
config_overrides: Optional[AsyncSageMakerClientConfig] = None,
creation_time_after: Optional[Timestamp] = None,
creation_time_before: Optional[Timestamp] = None,
max_results: Optional[MaxResults] = None,
name_contains: Optional[EntityName] = None,
model_card_status: Optional[ModelCardStatus] = None,
next_token: Optional[NextToken] = None,
sort_by: Optional[ModelCardSortBy] = None,
sort_order: Optional[ModelCardSortOrder] = None,
) -> ListModelCardsResponse
List existing model cards.
Parameters:
-
creation_time_after(Optional[Timestamp], default:None) –Only list model cards that were created after the time specified.
-
creation_time_before(Optional[Timestamp], default:None) –Only list model cards that were created before the time specified.
-
max_results(Optional[MaxResults], default:None) –The maximum number of model cards to list.
-
name_contains(Optional[EntityName], default:None) –Only list model cards with names that contain the specified string.
-
model_card_status(Optional[ModelCardStatus], default:None) –Only list model cards with the specified approval status.
-
next_token(Optional[NextToken], default:None) –If the response to a previous
ListModelCardsrequest was truncated, the response includes aNextToken. To retrieve the next set of model cards, use the token in the next request. -
sort_by(Optional[ModelCardSortBy], default:None) –Sort model cards by either name or creation time. Sorts by creation time by default.
-
sort_order(Optional[ModelCardSortOrder], default:None) –Sort model cards by ascending or descending order.
Raises:
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_sagemaker/_services/async_sage_maker.py
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 22441 22442 22443 22444 22445 22446 22447 22448 | |