create_model_card_export_job
¶
create_model_card_export_job(
*,
config_overrides: Optional[SageMakerClientConfig] = None,
model_card_name: Optional[ModelCardNameOrArn] = None,
model_card_version: Optional[Integer] = None,
model_card_export_job_name: Optional[EntityName] = None,
output_config: Optional[ModelCardExportOutputConfig] = None,
) -> CreateModelCardExportJobResponse
Creates an Amazon SageMaker Model Card export job.
Parameters:
-
model_card_name(Optional[ModelCardNameOrArn], default:None) –The name or Amazon Resource Name (ARN) of the model card to export.
-
model_card_version(Optional[Integer], default:None) –The version of the model card to export. If a version is not provided, then the latest version of the model card is exported.
-
model_card_export_job_name(Optional[EntityName], default:None) –The name of the model card export job.
-
output_config(Optional[ModelCardExportOutputConfig], default:None) –The model card output configuration that specifies the Amazon S3 path for exporting.
Raises:
-
ConflictException–There was a conflict when you attempted to modify a SageMaker entity such as an
ExperimentorArtifact. -
ResourceLimitExceeded–You have exceeded an SageMaker resource limit. For example, you might have too many training jobs created.
-
ResourceNotFound–Resource being access is not found.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_sagemaker/_services/sage_maker.py
5753 5754 5755 5756 5757 5758 5759 5760 5761 5762 5763 5764 5765 5766 5767 5768 5769 5770 5771 5772 5773 5774 5775 5776 5777 5778 5779 5780 5781 5782 5783 5784 5785 5786 5787 5788 5789 5790 5791 5792 5793 5794 5795 5796 5797 5798 5799 5800 5801 5802 5803 5804 5805 5806 5807 5808 5809 5810 5811 5812 5813 5814 5815 5816 | |