list_model_package_groups
async
¶
list_model_package_groups(
*,
config_overrides: Optional[AsyncSageMakerClientConfig] = None,
creation_time_after: Optional[CreationTime] = None,
creation_time_before: Optional[CreationTime] = None,
max_results: Optional[MaxResults] = None,
name_contains: Optional[NameContains] = None,
next_token: Optional[NextToken] = None,
sort_by: Optional[ModelPackageGroupSortBy] = None,
sort_order: Optional[SortOrder] = None,
cross_account_filter_option: Optional[CrossAccountFilterOption] = None,
) -> ListModelPackageGroupsOutput
Gets a list of the model groups in your Amazon Web Services account.
Parameters:
-
creation_time_after(Optional[CreationTime], default:None) –A filter that returns only model groups created after the specified time.
-
creation_time_before(Optional[CreationTime], default:None) –A filter that returns only model groups created before the specified time.
-
max_results(Optional[MaxResults], default:None) –The maximum number of results to return in the response.
-
name_contains(Optional[NameContains], default:None) –A string in the model group name. This filter returns only model groups whose name contains the specified string.
-
next_token(Optional[NextToken], default:None) –If the result of the previous
ListModelPackageGroupsrequest was truncated, the response includes aNextToken. To retrieve the next set of model groups, use the token in the next request. -
sort_by(Optional[ModelPackageGroupSortBy], default:None) –The field to sort results by. The default is
CreationTime. -
sort_order(Optional[SortOrder], default:None) –The sort order for results. The default is
Ascending. -
cross_account_filter_option(Optional[CrossAccountFilterOption], default:None) –A filter that returns either model groups shared with you or model groups in your own account. When the value is
CrossAccount, the results show the resources made discoverable to you from other accounts. When the value isSameAccountornull, the results show resources from your account. The default isSameAccount.
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
25645 25646 25647 25648 25649 25650 25651 25652 25653 25654 25655 25656 25657 25658 25659 25660 25661 25662 25663 25664 25665 25666 25667 25668 25669 25670 25671 25672 25673 25674 25675 25676 25677 25678 25679 25680 25681 25682 25683 25684 25685 25686 25687 25688 25689 25690 25691 25692 25693 25694 25695 25696 25697 25698 25699 25700 25701 25702 25703 25704 25705 25706 25707 25708 25709 25710 25711 25712 25713 25714 25715 25716 25717 25718 25719 25720 25721 25722 25723 25724 25725 25726 | |