aws_sdk_datasync/client/describe_discovery_job.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`DescribeDiscoveryJob`](crate::operation::describe_discovery_job::builders::DescribeDiscoveryJobFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`discovery_job_arn(impl Into<String>)`](crate::operation::describe_discovery_job::builders::DescribeDiscoveryJobFluentBuilder::discovery_job_arn) / [`set_discovery_job_arn(Option<String>)`](crate::operation::describe_discovery_job::builders::DescribeDiscoveryJobFluentBuilder::set_discovery_job_arn):<br>required: **true**<br><p>Specifies the Amazon Resource Name (ARN) of the discovery job that you want information about.</p><br>
/// - On success, responds with [`DescribeDiscoveryJobOutput`](crate::operation::describe_discovery_job::DescribeDiscoveryJobOutput) with field(s):
/// - [`storage_system_arn(Option<String>)`](crate::operation::describe_discovery_job::DescribeDiscoveryJobOutput::storage_system_arn): <p>The ARN of the on-premises storage system you're running the discovery job on.</p>
/// - [`discovery_job_arn(Option<String>)`](crate::operation::describe_discovery_job::DescribeDiscoveryJobOutput::discovery_job_arn): <p>The ARN of the discovery job.</p>
/// - [`collection_duration_minutes(Option<i32>)`](crate::operation::describe_discovery_job::DescribeDiscoveryJobOutput::collection_duration_minutes): <p>The number of minutes that the discovery job runs.</p>
/// - [`status(Option<DiscoveryJobStatus>)`](crate::operation::describe_discovery_job::DescribeDiscoveryJobOutput::status): <p>Indicates the status of a discovery job. For more information, see <a href="https://docs.aws.amazon.com/datasync/latest/userguide/discovery-job-statuses.html#discovery-job-statuses-table">Discovery job statuses</a>.</p>
/// - [`job_start_time(Option<DateTime>)`](crate::operation::describe_discovery_job::DescribeDiscoveryJobOutput::job_start_time): <p>The time when the discovery job started.</p>
/// - [`job_end_time(Option<DateTime>)`](crate::operation::describe_discovery_job::DescribeDiscoveryJobOutput::job_end_time): <p>The time when the discovery job ended.</p>
/// - On failure, responds with [`SdkError<DescribeDiscoveryJobError>`](crate::operation::describe_discovery_job::DescribeDiscoveryJobError)
pub fn describe_discovery_job(&self) -> crate::operation::describe_discovery_job::builders::DescribeDiscoveryJobFluentBuilder {
crate::operation::describe_discovery_job::builders::DescribeDiscoveryJobFluentBuilder::new(self.handle.clone())
}
}