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
24988 24989 24990 24991 24992 24993 24994 24995 24996 24997 24998 24999 25000 25001 25002 25003 25004 25005 25006 25007 25008 25009 25010 25011 25012 25013 25014 25015 25016 25017 25018 25019 25020 25021 25022 25023 25024 25025 25026 25027 25028 25029 25030 25031 25032 25033 25034 25035 25036 25037 25038 25039 25040 25041 25042 25043 25044 25045 25046 25047 25048 25049 25050 25051 25052 25053 25054 25055 25056 25057 25058 25059 25060 25061 25062 25063 25064 25065 25066 25067 25068 25069 | |