model_card_versions
Creates, updates, deletes, gets or lists a model_card_versions resource.
Overview
| Name | model_card_versions |
| Type | Resource |
| Id | aws.sagemaker.model_card_versions |
Fields
The following fields are returned by SELECT queries:
- list_model_card_versions
| Name | Datatype | Description |
|---|---|---|
creation_time | string (date-time) | The date and time that the model card version was created. |
last_modified_time | string (date-time) | The time date and time that the model card version was last modified. |
model_card_arn | string | The 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_name | string | The name of the model card. (pattern: <code>[a-zA-Z0-9](-*[a-zA-Z0-9]){0,62}</code>) |
model_card_status | string | The 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_version | integer | A version of the model card. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_model_card_versions | select | region | List 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.
| Name | Datatype | Description |
|---|---|---|
region | string | AWS region (default: us-east-1) |
SELECT examples
- list_model_card_versions
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
;