aws_sdk_datasync/client/update_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 [`UpdateDiscoveryJob`](crate::operation::update_discovery_job::builders::UpdateDiscoveryJobFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`discovery_job_arn(impl Into<String>)`](crate::operation::update_discovery_job::builders::UpdateDiscoveryJobFluentBuilder::discovery_job_arn) / [`set_discovery_job_arn(Option<String>)`](crate::operation::update_discovery_job::builders::UpdateDiscoveryJobFluentBuilder::set_discovery_job_arn):<br>required: **true**<br><p>Specifies the Amazon Resource Name (ARN) of the discovery job that you want to update.</p><br>
/// - [`collection_duration_minutes(i32)`](crate::operation::update_discovery_job::builders::UpdateDiscoveryJobFluentBuilder::collection_duration_minutes) / [`set_collection_duration_minutes(Option<i32>)`](crate::operation::update_discovery_job::builders::UpdateDiscoveryJobFluentBuilder::set_collection_duration_minutes):<br>required: **true**<br><p>Specifies in minutes how long that you want the discovery job to run. (You can't set this parameter to less than the number of minutes that the job has already run for.)</p><br>
/// - On success, responds with [`UpdateDiscoveryJobOutput`](crate::operation::update_discovery_job::UpdateDiscoveryJobOutput)
/// - On failure, responds with [`SdkError<UpdateDiscoveryJobError>`](crate::operation::update_discovery_job::UpdateDiscoveryJobError)
pub fn update_discovery_job(&self) -> crate::operation::update_discovery_job::builders::UpdateDiscoveryJobFluentBuilder {
crate::operation::update_discovery_job::builders::UpdateDiscoveryJobFluentBuilder::new(self.handle.clone())
}
}