Skip to content

List Model Cards

sagemaker_list_model_cards R Documentation

List existing model cards

Description

List existing model cards.

Usage

sagemaker_list_model_cards(CreationTimeAfter, CreationTimeBefore,
  MaxResults, NameContains, ModelCardStatus, NextToken, SortBy, SortOrder)

Arguments

CreationTimeAfter

Only list model cards that were created after the time specified.

CreationTimeBefore

Only list model cards that were created before the time specified.

MaxResults

The maximum number of model cards to list.

NameContains

Only list model cards with names that contain the specified string.

ModelCardStatus

Only list model cards with the specified approval status.

NextToken

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

SortBy

Sort model cards by either name or creation time. Sorts by creation time by default.

SortOrder

Sort model cards by ascending or descending order.

Value

A list with the following syntax:

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

Request syntax

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