Skip to content

Update Model Card

sagemaker_update_model_card R Documentation

Update an Amazon SageMaker Model Card

Description

Update an Amazon SageMaker Model Card.

You cannot update both model card content and model card status in a single call.

Usage

sagemaker_update_model_card(ModelCardName, Content, ModelCardStatus)

Arguments

ModelCardName

[required] The name or Amazon Resource Name (ARN) of the model card to update.

Content

The updated model card content. Content must be in model card JSON schema and provided as a string.

When updating model card content, be sure to include the full content and not just updated content.

ModelCardStatus

The approval status of the model card within your organization. Different organizations might have different criteria for model card review and approval.

  • Draft: The model card is a work in progress.

  • PendingReview: The model card is pending review.

  • Approved: The model card is approved.

  • Archived: The model card is archived. No more updates should be made to the model card, but it can still be exported.

Value

A list with the following syntax:

list(
  ModelCardArn = "string"
)

Request syntax

svc$update_model_card(
  ModelCardName = "string",
  Content = "string",
  ModelCardStatus = "Draft"|"PendingReview"|"Approved"|"Archived"
)