list_model_package_groups
¶
list_model_package_groups(
*,
config_overrides: Optional[SageMakerClientConfig] = 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/sage_maker.py
22533 22534 22535 22536 22537 22538 22539 22540 22541 22542 22543 22544 22545 22546 22547 22548 22549 22550 22551 22552 22553 22554 22555 22556 22557 22558 22559 22560 22561 22562 22563 22564 22565 22566 22567 22568 22569 22570 22571 22572 22573 22574 22575 22576 22577 22578 22579 22580 22581 22582 22583 22584 22585 22586 22587 22588 22589 22590 22591 22592 22593 22594 22595 22596 22597 22598 22599 22600 22601 22602 22603 22604 22605 22606 22607 22608 22609 22610 22611 22612 22613 | |