create_edge_packaging_job
¶
create_edge_packaging_job(
*,
config_overrides: Optional[SageMakerClientConfig] = None,
edge_packaging_job_name: Optional[EntityName] = None,
compilation_job_name: Optional[EntityName] = None,
model_name: Optional[EntityName] = None,
model_version: Optional[EdgeVersion] = None,
role_arn: Optional[RoleArn] = None,
output_config: Optional[EdgeOutputConfig] = None,
resource_key: Optional[KmsKeyId] = None,
tags: Optional[TagList] = None,
) -> None
Starts a SageMaker Edge Manager model packaging job. Edge Manager will use the model artifacts from the Amazon Simple Storage Service bucket that you specify. After the model has been packaged, Amazon SageMaker saves the resulting artifacts to an S3 bucket that you specify.
Parameters:
-
edge_packaging_job_name(Optional[EntityName], default:None) –The name of the edge packaging job.
-
compilation_job_name(Optional[EntityName], default:None) –The name of the SageMaker Neo compilation job that will be used to locate model artifacts for packaging.
-
model_name(Optional[EntityName], default:None) –The name of the model.
-
model_version(Optional[EdgeVersion], default:None) –The version of the model.
-
role_arn(Optional[RoleArn], default:None) –The Amazon Resource Name (ARN) of an IAM role that enables Amazon SageMaker to download and upload the model, and to contact SageMaker Neo.
-
output_config(Optional[EdgeOutputConfig], default:None) –Provides information about the output location for the packaged model.
-
resource_key(Optional[KmsKeyId], default:None) –The Amazon Web Services KMS key to use when encrypting the EBS volume the edge packaging job runs on.
-
tags(Optional[TagList], default:None) –Creates tags for the packaging job.
Raises:
-
ResourceLimitExceeded–You have exceeded an SageMaker resource limit. For example, you might have too many training jobs created.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_sagemaker/_services/sage_maker.py
3836 3837 3838 3839 3840 3841 3842 3843 3844 3845 3846 3847 3848 3849 3850 3851 3852 3853 3854 3855 3856 3857 3858 3859 3860 3861 3862 3863 3864 3865 3866 3867 3868 3869 3870 3871 3872 3873 3874 3875 3876 3877 3878 3879 3880 3881 3882 3883 3884 3885 3886 3887 3888 3889 3890 3891 3892 3893 3894 3895 3896 3897 3898 3899 3900 3901 3902 3903 3904 3905 3906 3907 3908 3909 3910 3911 | |