create_model_card_export_job

create_model_card_export_job(**kwargs)

Creates an Amazon SageMaker Model Card export job.

See also: AWS API Documentation

Request Syntax

response = client.create_model_card_export_job(
    ModelCardName='string',
    ModelCardVersion=123,
    ModelCardExportJobName='string',
    OutputConfig={
        'S3OutputPath': 'string'
    }
)
Parameters
  • ModelCardName (string) --

    [REQUIRED]

    The name of the model card to export.

  • ModelCardVersion (integer) -- The version of the model card to export. If a version is not provided, then the latest version of the model card is exported.
  • ModelCardExportJobName (string) --

    [REQUIRED]

    The name of the model card export job.

  • OutputConfig (dict) --

    [REQUIRED]

    The model card output configuration that specifies the Amazon S3 path for exporting.

    • S3OutputPath (string) -- [REQUIRED]

      The Amazon S3 output path to export your model card PDF.

Return type

dict

Returns

Response Syntax

{
    'ModelCardExportJobArn': 'string'
}

Response Structure

  • (dict) --

    • ModelCardExportJobArn (string) --

      The Amazon Resource Name (ARN) of the model card export job.

Exceptions

  • SageMaker.Client.exceptions.ResourceNotFound
  • SageMaker.Client.exceptions.ResourceLimitExceeded
  • SageMaker.Client.exceptions.ConflictException