Skip to main content

model_card_export_jobs

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

Overview

Namemodel_card_export_jobs
TypeResource
Idaws.sagemaker.model_card_export_jobs

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
created_atstring (date-time)The date and time that the model export job was created.
export_artifactsobjectThe exported model card artifacts.
failure_reasonstringThe failure reason if the model export job fails.
last_modified_atstring (date-time)The date and time that the model export job was last modified.
model_card_export_job_arnstringThe Amazon Resource Name (ARN) of the model card export job. (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}/export-job/[a-zA-Z0-9](-*[a-zA-Z0-9]){0,62}</code>)
model_card_export_job_namestringThe name of the model card export job to describe. (pattern: <code>[a-zA-Z0-9](-*[a-zA-Z0-9]){0,62}</code>)
model_card_namestringThe name or Amazon Resource Name (ARN) of the model card that the model export job exports. (pattern: <code>[a-zA-Z0-9](-*[a-zA-Z0-9]){0,62}</code>)
model_card_versionintegerThe version of the model card that the model export job exports.
output_configobjectThe export output details for the model card.
statusstringThe completion status of the model card export job. InProgress: The model card export job is in progress. Completed: The model card export job is complete. Failed: The model card export job failed. To see the reason for the failure, see the FailureReason field in the response to a DescribeModelCardExportJob call. (InProgress, Completed, Failed)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
describe_model_card_export_jobselectregionDescribes an Amazon SageMaker Model Card export job.
list_model_card_export_jobsselectregionList the export jobs for the Amazon SageMaker Model Card.
create_model_card_export_jobinsertregion, ModelCardName, ModelCardExportJobName, OutputConfigCreates an Amazon SageMaker Model Card export job.

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

Describes an Amazon SageMaker Model Card export job.

SELECT
created_at,
export_artifacts,
failure_reason,
last_modified_at,
model_card_export_job_arn,
model_card_export_job_name,
model_card_name,
model_card_version,
output_config,
status
FROM aws.sagemaker.model_card_export_jobs
WHERE region = '{{ region }}' -- required
;

INSERT examples

Creates an Amazon SageMaker Model Card export job.

INSERT INTO aws.sagemaker.model_card_export_jobs (
ModelCardName,
ModelCardVersion,
ModelCardExportJobName,
OutputConfig,
region
)
SELECT
'{{ ModelCardName }}' /* required */,
{{ ModelCardVersion }},
'{{ ModelCardExportJobName }}' /* required */,
'{{ OutputConfig }}' /* required */,
'{{ region }}'
RETURNING
model_card_export_job_arn
;