aws_sdk_backup/client/
describe_copy_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 [`DescribeCopyJob`](crate::operation::describe_copy_job::builders::DescribeCopyJobFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`copy_job_id(impl Into<String>)`](crate::operation::describe_copy_job::builders::DescribeCopyJobFluentBuilder::copy_job_id) / [`set_copy_job_id(Option<String>)`](crate::operation::describe_copy_job::builders::DescribeCopyJobFluentBuilder::set_copy_job_id):<br>required: **true**<br><p>Uniquely identifies a copy job.</p><br>
7    /// - On success, responds with [`DescribeCopyJobOutput`](crate::operation::describe_copy_job::DescribeCopyJobOutput) with field(s):
8    ///   - [`copy_job(Option<CopyJob>)`](crate::operation::describe_copy_job::DescribeCopyJobOutput::copy_job): <p>Contains detailed information about a copy job.</p>
9    /// - On failure, responds with [`SdkError<DescribeCopyJobError>`](crate::operation::describe_copy_job::DescribeCopyJobError)
10    pub fn describe_copy_job(&self) -> crate::operation::describe_copy_job::builders::DescribeCopyJobFluentBuilder {
11        crate::operation::describe_copy_job::builders::DescribeCopyJobFluentBuilder::new(self.handle.clone())
12    }
13}