model_card
Gets an individual model_card
resource
Overview
Name | model_card |
Type | Resource |
Description | model_card |
Id | awscc.sagemaker.model_card |
Fields
Name | Datatype | Description |
---|---|---|
model_card_arn | string | The Amazon Resource Name (ARN) of the successfully created model card. |
model_card_version | integer | A version of the model card. |
model_card_name | string | The unique name of the model card. |
security_config | object | |
model_card_status | string | The approval status of the model card within your organization. Different organizations might have different criteria for model card review and approval. |
content | object | |
creation_time | string | The date and time the model card was created. |
created_by | object | Information about the user who created or modified an experiment, trial, trial component, lineage group, project, or model card. |
last_modified_time | string | The date and time the model card was last modified. |
last_modified_by | object | Information about the user who created or modified an experiment, trial, trial component, lineage group, project, or model card. |
model_card_processing_status | string | The processing status of model card deletion. The ModelCardProcessingStatus updates throughout the different deletion steps. |
tags | array | Key-value pairs used to manage metadata for model cards. |
region | string | AWS region. |
Methods
Currently only SELECT
is supported for this resource resource.
Example
SELECT
region,
model_card_arn,
model_card_version,
model_card_name,
security_config,
model_card_status,
content,
creation_time,
created_by,
last_modified_time,
last_modified_by,
model_card_processing_status,
tags
FROM awscc.sagemaker.model_card
WHERE data__Identifier = '<ModelCardName>';
Permissions
To operate on the model_card
resource, the following permissions are required:
Read
sagemaker:DescribeModelCard,
sagemaker:DescribeModelPackageGroup,
sagemaker:DescribeModelPackage,
kms:Decrypt,
sagemaker:ListTags
Update
sagemaker:UpdateModelCard,
sagemaker:DescribeModelCard,
kms:GenerateDataKey,
kms:Decrypt,
sagemaker:DescribeModelPackageGroup,
sagemaker:DescribeModelPackage,
sagemaker:ListTags,
sagemaker:AddTags,
sagemaker:DeleteTags
Delete
sagemaker:DescribeModelCard,
sagemaker:DeleteModelCard,
sagemaker:DescribeModelPackageGroup,
sagemaker:DescribeModelPackage,
kms:RetireGrant,
kms:Decrypt,
sagemaker:ListTags,
sagemaker:DeleteTags