Skip to content

Create Model Card

sagemaker_create_model_card R Documentation

Creates an Amazon SageMaker Model Card

Description

Creates an Amazon SageMaker Model Card.

For information about how to use model cards, see Amazon SageMaker Model Card.

Usage

sagemaker_create_model_card(ModelCardName, SecurityConfig, Content,
  ModelCardStatus, Tags)

Arguments

ModelCardName

[required] The unique name of the model card.

SecurityConfig

An optional Key Management Service key to encrypt, decrypt, and re-encrypt model card content for regulated workloads with highly sensitive data.

Content

[required] The content of the model card. Content must be in model card JSON schema and provided as a string.

ModelCardStatus

[required] 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.

Tags

Key-value pairs used to manage metadata for model cards.

Value

A list with the following syntax:

list(
  ModelCardArn = "string"
)

Request syntax

svc$create_model_card(
  ModelCardName = "string",
  SecurityConfig = list(
    KmsKeyId = "string"
  ),
  Content = "string",
  ModelCardStatus = "Draft"|"PendingReview"|"Approved"|"Archived",
  Tags = list(
    list(
      Key = "string",
      Value = "string"
    )
  )
)