Skip to content

List existing versions of an Amazon SageMaker Model Card

Description

List existing versions of an Amazon SageMaker Model Card.

Usage

sagemaker_list_model_card_versions(CreationTimeAfter,
  CreationTimeBefore, MaxResults, ModelCardName, ModelCardStatus,
  NextToken, SortBy, SortOrder)

Arguments

  • CreationTimeAfter

    Only list model card versions that were created after the time specified.

  • CreationTimeBefore

    Only list model card versions that were created before the time specified.

  • MaxResults

    The maximum number of model card versions to list.

  • ModelCardName

    [required] List model card versions for the model card with the specified name or Amazon Resource Name (ARN).

  • ModelCardStatus

    Only list model card versions with the specified approval status.

  • NextToken

    If the response to a previous list_model_card_versions request was truncated, the response includes a NextToken. To retrieve the next set of model card versions, use the token in the next request.

  • SortBy

    Sort listed model card versions by version. Sorts by version by default.

  • SortOrder

    Sort model card versions by ascending or descending order.

Value

A list with the following syntax:

list(
  ModelCardVersionSummaryList = list(
    list(
      ModelCardName = "string",
      ModelCardArn = "string",
      ModelCardStatus = "Draft"|"PendingReview"|"Approved"|"Archived",
      ModelCardVersion = 123,
      CreationTime = as.POSIXct(
        "2015-01-01"
      ),
      LastModifiedTime = as.POSIXct(
        "2015-01-01"
      )
    )
  ),
  NextToken = "string"
)

Request syntax

svc$list_model_card_versions(
  CreationTimeAfter = as.POSIXct(
    "2015-01-01"
  ),
  CreationTimeBefore = as.POSIXct(
    "2015-01-01"
  ),
  MaxResults = 123,
  ModelCardName = "string",
  ModelCardStatus = "Draft"|"PendingReview"|"Approved"|"Archived",
  NextToken = "string",
  SortBy = "Version",
  SortOrder = "Ascending"|"Descending"
)