Skip to main content

model_card_versions

Creates, updates, deletes, gets or lists a model_card_versions resource.

Overview

Namemodel_card_versions
TypeResource
Idaws.sagemaker.model_card_versions

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
creation_timestring (date-time)The date and time that the model card version was created.
last_modified_timestring (date-time)The time date and time that the model card version was last modified.
model_card_arnstringThe Amazon Resource Name (ARN) of the model card. (pattern: <code>arn:aws[a-z-]:sagemaker:[a-z0-9-]{9,16}:[0-9]{12}:model-card/[a-zA-Z0-9](-[a-zA-Z0-9]){0,62}</code>)
model_card_namestringThe name of the model card. (pattern: <code>[a-zA-Z0-9](-*[a-zA-Z0-9]){0,62}</code>)
model_card_statusstringThe approval status of the model card version 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. (Draft, PendingReview, Approved, Archived)
model_card_versionintegerA version of the model card.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_model_card_versionsselectregionList existing versions of an Amazon SageMaker Model Card.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples

List existing versions of an Amazon SageMaker Model Card.

SELECT
creation_time,
last_modified_time,
model_card_arn,
model_card_name,
model_card_status,
model_card_version
FROM aws.sagemaker.model_card_versions
WHERE region = '{{ region }}' -- required
;