aws_sdk_deadline/client/copy_job_template.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 [`CopyJobTemplate`](crate::operation::copy_job_template::builders::CopyJobTemplateFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`farm_id(impl Into<String>)`](crate::operation::copy_job_template::builders::CopyJobTemplateFluentBuilder::farm_id) / [`set_farm_id(Option<String>)`](crate::operation::copy_job_template::builders::CopyJobTemplateFluentBuilder::set_farm_id):<br>required: **true**<br><p>The farm ID to copy.</p><br>
7 /// - [`job_id(impl Into<String>)`](crate::operation::copy_job_template::builders::CopyJobTemplateFluentBuilder::job_id) / [`set_job_id(Option<String>)`](crate::operation::copy_job_template::builders::CopyJobTemplateFluentBuilder::set_job_id):<br>required: **true**<br><p>The job ID to copy.</p><br>
8 /// - [`queue_id(impl Into<String>)`](crate::operation::copy_job_template::builders::CopyJobTemplateFluentBuilder::queue_id) / [`set_queue_id(Option<String>)`](crate::operation::copy_job_template::builders::CopyJobTemplateFluentBuilder::set_queue_id):<br>required: **true**<br><p>The queue ID to copy.</p><br>
9 /// - [`target_s3_location(S3Location)`](crate::operation::copy_job_template::builders::CopyJobTemplateFluentBuilder::target_s3_location) / [`set_target_s3_location(Option<S3Location>)`](crate::operation::copy_job_template::builders::CopyJobTemplateFluentBuilder::set_target_s3_location):<br>required: **true**<br><p>The Amazon S3 bucket name and key where you would like to add a copy of the job template.</p><br>
10 /// - On success, responds with [`CopyJobTemplateOutput`](crate::operation::copy_job_template::CopyJobTemplateOutput) with field(s):
11 /// - [`template_type(JobTemplateType)`](crate::operation::copy_job_template::CopyJobTemplateOutput::template_type): <p>The format of the job template, either <code>JSON</code> or <code>YAML</code>.</p>
12 /// - On failure, responds with [`SdkError<CopyJobTemplateError>`](crate::operation::copy_job_template::CopyJobTemplateError)
13 pub fn copy_job_template(&self) -> crate::operation::copy_job_template::builders::CopyJobTemplateFluentBuilder {
14 crate::operation::copy_job_template::builders::CopyJobTemplateFluentBuilder::new(self.handle.clone())
15 }
16}