create_model_card_export_job
async
¶
create_model_card_export_job(
*,
config_overrides: Optional[AsyncSageMakerClientConfig] = 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/async_sage_maker.py
5809 5810 5811 5812 5813 5814 5815 5816 5817 5818 5819 5820 5821 5822 5823 5824 5825 5826 5827 5828 5829 5830 5831 5832 5833 5834 5835 5836 5837 5838 5839 5840 5841 5842 5843 5844 5845 5846 5847 5848 5849 5850 5851 5852 5853 5854 5855 5856 5857 5858 5859 5860 5861 5862 5863 5864 5865 5866 5867 5868 5869 5870 5871 5872 5873 | |