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
4235 4236 4237 4238 4239 4240 4241 4242 4243 4244 4245 4246 4247 4248 4249 4250 4251 4252 4253 4254 4255 4256 4257 4258 4259 4260 4261 4262 4263 4264 4265 4266 4267 4268 4269 4270 4271 4272 4273 4274 4275 4276 4277 4278 4279 4280 4281 4282 4283 4284 4285 4286 4287 4288 4289 4290 4291 4292 4293 4294 4295 4296 4297 4298 4299 4300 4301 4302 4303 4304 4305 4306 4307 4308 4309 4310 | |