SageMaker.Client.
list_model_package_groups
(**kwargs)¶Gets a list of the model groups in your Amazon Web Services account.
See also: AWS API Documentation
Request Syntax
response = client.list_model_package_groups(
CreationTimeAfter=datetime(2015, 1, 1),
CreationTimeBefore=datetime(2015, 1, 1),
MaxResults=123,
NameContains='string',
NextToken='string',
SortBy='Name'|'CreationTime',
SortOrder='Ascending'|'Descending'
)
ListModelPackageGroups
request was truncated, the response includes a NextToken
. To retrieve the next set of model groups, use the token in the next request.CreationTime
.Ascending
.dict
Response Syntax
{
'ModelPackageGroupSummaryList': [
{
'ModelPackageGroupName': 'string',
'ModelPackageGroupArn': 'string',
'ModelPackageGroupDescription': 'string',
'CreationTime': datetime(2015, 1, 1),
'ModelPackageGroupStatus': 'Pending'|'InProgress'|'Completed'|'Failed'|'Deleting'|'DeleteFailed'
},
],
'NextToken': 'string'
}
Response Structure
(dict) --
ModelPackageGroupSummaryList (list) --
A list of summaries of the model groups in your Amazon Web Services account.
(dict) --
Summary information about a model group.
ModelPackageGroupName (string) --
The name of the model group.
ModelPackageGroupArn (string) --
The Amazon Resource Name (ARN) of the model group.
ModelPackageGroupDescription (string) --
A description of the model group.
CreationTime (datetime) --
The time that the model group was created.
ModelPackageGroupStatus (string) --
The status of the model group.
NextToken (string) --
If the response is truncated, SageMaker returns this token. To retrieve the next set of model groups, use it in the subsequent request.