DescribeModelCardResponse
¶
Source code in docs_src/capo_sagemaker/types/describe_model_card_response.py
content
instance-attribute
¶
content: NotRequired[ModelCardContent]
The content of the model card. Content is provided as a string in the model card JSON schema.
When you set IncludedData to MetadataOnly in the request, SageMaker returns a sanitized version of Content that includes only the following JSON paths, when present in the model card:
-
model_overview.model_id -
model_overview.model_name -
intended_uses.risk_rating -
model_package_details.model_package_group_name -
model_package_details.model_package_arn
All other fields are removed from Content when IncludedData is MetadataOnly, including model description, training details, evaluation details, business details, and additional information. To retrieve the complete Content, set IncludedData to AllData or omit the parameter.
creation_time
instance-attribute
¶
creation_time: NotRequired[Timestamp]
The date and time the model card was created.
last_modified_time
instance-attribute
¶
last_modified_time: NotRequired[Timestamp]
The date and time the model card was last modified.
model_card_arn
instance-attribute
¶
model_card_arn: NotRequired[ModelCardArn]
The Amazon Resource Name (ARN) of the model card.
model_card_name
instance-attribute
¶
model_card_name: NotRequired[EntityName]
The name of the model card.
model_card_processing_status
instance-attribute
¶
model_card_processing_status: NotRequired[ModelCardProcessingStatus]
The processing status of model card deletion. The ModelCardProcessingStatus updates throughout the different deletion steps.
-
DeletePending: Model card deletion request received. -
DeleteInProgress: Model card deletion is in progress. -
ContentDeleted: Deleted model card content. -
ExportJobsDeleted: Deleted all export jobs associated with the model card. -
DeleteCompleted: Successfully deleted the model card. -
DeleteFailed: The model card failed to delete.
model_card_status
instance-attribute
¶
model_card_status: NotRequired[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.
model_card_version
instance-attribute
¶
model_card_version: NotRequired[Integer]
The version of the model card.
security_config
instance-attribute
¶
security_config: NotRequired[ModelCardSecurityConfig]
The security configuration used to protect model card content.