aws_sdk_sagemaker/client/create_edge_packaging_job.rs
1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3 /// Constructs a fluent builder for the [`CreateEdgePackagingJob`](crate::operation::create_edge_packaging_job::builders::CreateEdgePackagingJobFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`edge_packaging_job_name(impl Into<String>)`](crate::operation::create_edge_packaging_job::builders::CreateEdgePackagingJobFluentBuilder::edge_packaging_job_name) / [`set_edge_packaging_job_name(Option<String>)`](crate::operation::create_edge_packaging_job::builders::CreateEdgePackagingJobFluentBuilder::set_edge_packaging_job_name):<br>required: **true**<br><p>The name of the edge packaging job.</p><br>
7 /// - [`compilation_job_name(impl Into<String>)`](crate::operation::create_edge_packaging_job::builders::CreateEdgePackagingJobFluentBuilder::compilation_job_name) / [`set_compilation_job_name(Option<String>)`](crate::operation::create_edge_packaging_job::builders::CreateEdgePackagingJobFluentBuilder::set_compilation_job_name):<br>required: **true**<br><p>The name of the SageMaker Neo compilation job that will be used to locate model artifacts for packaging.</p><br>
8 /// - [`model_name(impl Into<String>)`](crate::operation::create_edge_packaging_job::builders::CreateEdgePackagingJobFluentBuilder::model_name) / [`set_model_name(Option<String>)`](crate::operation::create_edge_packaging_job::builders::CreateEdgePackagingJobFluentBuilder::set_model_name):<br>required: **true**<br><p>The name of the model.</p><br>
9 /// - [`model_version(impl Into<String>)`](crate::operation::create_edge_packaging_job::builders::CreateEdgePackagingJobFluentBuilder::model_version) / [`set_model_version(Option<String>)`](crate::operation::create_edge_packaging_job::builders::CreateEdgePackagingJobFluentBuilder::set_model_version):<br>required: **true**<br><p>The version of the model.</p><br>
10 /// - [`role_arn(impl Into<String>)`](crate::operation::create_edge_packaging_job::builders::CreateEdgePackagingJobFluentBuilder::role_arn) / [`set_role_arn(Option<String>)`](crate::operation::create_edge_packaging_job::builders::CreateEdgePackagingJobFluentBuilder::set_role_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of an IAM role that enables Amazon SageMaker to download and upload the model, and to contact SageMaker Neo.</p><br>
11 /// - [`output_config(EdgeOutputConfig)`](crate::operation::create_edge_packaging_job::builders::CreateEdgePackagingJobFluentBuilder::output_config) / [`set_output_config(Option<EdgeOutputConfig>)`](crate::operation::create_edge_packaging_job::builders::CreateEdgePackagingJobFluentBuilder::set_output_config):<br>required: **true**<br><p>Provides information about the output location for the packaged model.</p><br>
12 /// - [`resource_key(impl Into<String>)`](crate::operation::create_edge_packaging_job::builders::CreateEdgePackagingJobFluentBuilder::resource_key) / [`set_resource_key(Option<String>)`](crate::operation::create_edge_packaging_job::builders::CreateEdgePackagingJobFluentBuilder::set_resource_key):<br>required: **false**<br><p>The Amazon Web Services KMS key to use when encrypting the EBS volume the edge packaging job runs on.</p><br>
13 /// - [`tags(Tag)`](crate::operation::create_edge_packaging_job::builders::CreateEdgePackagingJobFluentBuilder::tags) / [`set_tags(Option<Vec::<Tag>>)`](crate::operation::create_edge_packaging_job::builders::CreateEdgePackagingJobFluentBuilder::set_tags):<br>required: **false**<br><p>Creates tags for the packaging job.</p><br>
14 /// - On success, responds with [`CreateEdgePackagingJobOutput`](crate::operation::create_edge_packaging_job::CreateEdgePackagingJobOutput)
15 /// - On failure, responds with [`SdkError<CreateEdgePackagingJobError>`](crate::operation::create_edge_packaging_job::CreateEdgePackagingJobError)
16 pub fn create_edge_packaging_job(&self) -> crate::operation::create_edge_packaging_job::builders::CreateEdgePackagingJobFluentBuilder {
17 crate::operation::create_edge_packaging_job::builders::CreateEdgePackagingJobFluentBuilder::new(self.handle.clone())
18 }
19}