aws_sdk_s3control/client/
describe_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 [`DescribeJob`](crate::operation::describe_job::builders::DescribeJobFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`account_id(impl Into<String>)`](crate::operation::describe_job::builders::DescribeJobFluentBuilder::account_id) / [`set_account_id(Option<String>)`](crate::operation::describe_job::builders::DescribeJobFluentBuilder::set_account_id):<br>required: **true**<br><p>The Amazon Web Services account ID associated with the S3 Batch Operations job.</p><br>
7    ///   - [`job_id(impl Into<String>)`](crate::operation::describe_job::builders::DescribeJobFluentBuilder::job_id) / [`set_job_id(Option<String>)`](crate::operation::describe_job::builders::DescribeJobFluentBuilder::set_job_id):<br>required: **true**<br><p>The ID for the job whose information you want to retrieve.</p><br>
8    /// - On success, responds with [`DescribeJobOutput`](crate::operation::describe_job::DescribeJobOutput) with field(s):
9    ///   - [`job(Option<JobDescriptor>)`](crate::operation::describe_job::DescribeJobOutput::job): <p>Contains the configuration parameters and status for the job specified in the <code>Describe Job</code> request.</p>
10    /// - On failure, responds with [`SdkError<DescribeJobError>`](crate::operation::describe_job::DescribeJobError)
11    pub fn describe_job(&self) -> crate::operation::describe_job::builders::DescribeJobFluentBuilder {
12        crate::operation::describe_job::builders::DescribeJobFluentBuilder::new(self.handle.clone())
13    }
14}