create_edge_packaging_job
async
¶
create_edge_packaging_job(
*,
config_overrides: Optional[AsyncSageMakerClientConfig] = 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/async_sage_maker.py
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 4311 4312 4313 4314 4315 4316 4317 4318 4319 4320 4321 4322 4323 4324 4325 4326 4327 4328 4329 4330 4331 4332 4333 4334 4335 4336 4337 4338 4339 4340 4341 4342 4343 4344 4345 4346 4347 | |