Skip to content

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

CreationTimeAfter

A filter that returns only model groups created after the specified time.

CreationTimeBefore

A filter that returns only model groups created before the specified time.

MaxResults

The maximum number of results to return in the response.

NameContains

A string in the model group name. This filter returns only model groups whose name contains the specified string.

NextToken

If the result of the previous list_model_package_groups request was truncated, the response includes a NextToken. To retrieve the next set of model groups, use the token in the next request.

SortBy

The field to sort results by. The default is CreationTime.

SortOrder

The sort order for results. The default is Ascending.

CrossAccountFilterOption

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 is SameAccount or null, the results show resources from your account. The default is SameAccount.

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"
)