List Model Package Groups
| sagemaker_list_model_package_groups | R Documentation |
Gets a list of the model groups in your Amazon Web Services account¶
Description¶
Gets a list of the model groups in your Amazon Web Services account.
Usage¶
sagemaker_list_model_package_groups(CreationTimeAfter,
CreationTimeBefore, MaxResults, NameContains, NextToken, SortBy,
SortOrder, CrossAccountFilterOption)
Arguments¶
CreationTimeAfterA filter that returns only model groups created after the specified time.
CreationTimeBeforeA filter that returns only model groups created before the specified time.
MaxResultsThe maximum number of results to return in the response.
NameContainsA string in the model group name. This filter returns only model groups whose name contains the specified string.
NextTokenIf the result of the previous
list_model_package_groupsrequest was truncated, the response includes aNextToken. To retrieve the next set of model groups, use the token in the next request.SortByThe field to sort results by. The default is
CreationTime.SortOrderThe sort order for results. The default is
Ascending.CrossAccountFilterOptionA 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.
Value¶
A list with the following syntax:
list(
ModelPackageGroupSummaryList = list(
list(
ModelPackageGroupName = "string",
ModelPackageGroupArn = "string",
ModelPackageGroupDescription = "string",
CreationTime = as.POSIXct(
"2015-01-01"
),
ModelPackageGroupStatus = "Pending"|"InProgress"|"Completed"|"Failed"|"Deleting"|"DeleteFailed"
)
),
NextToken = "string"
)
Request syntax¶
svc$list_model_package_groups(
CreationTimeAfter = as.POSIXct(
"2015-01-01"
),
CreationTimeBefore = as.POSIXct(
"2015-01-01"
),
MaxResults = 123,
NameContains = "string",
NextToken = "string",
SortBy = "Name"|"CreationTime",
SortOrder = "Ascending"|"Descending",
CrossAccountFilterOption = "SameAccount"|"CrossAccount"
)