aws_sdk_datasync/client/update_agent.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`UpdateAgent`](crate::operation::update_agent::builders::UpdateAgentFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`agent_arn(impl Into<String>)`](crate::operation::update_agent::builders::UpdateAgentFluentBuilder::agent_arn) / [`set_agent_arn(Option<String>)`](crate::operation::update_agent::builders::UpdateAgentFluentBuilder::set_agent_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the agent to update.</p><br>
/// - [`name(impl Into<String>)`](crate::operation::update_agent::builders::UpdateAgentFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::update_agent::builders::UpdateAgentFluentBuilder::set_name):<br>required: **false**<br><p>The name that you want to use to configure the agent.</p><br>
/// - On success, responds with [`UpdateAgentOutput`](crate::operation::update_agent::UpdateAgentOutput)
/// - On failure, responds with [`SdkError<UpdateAgentError>`](crate::operation::update_agent::UpdateAgentError)
pub fn update_agent(&self) -> crate::operation::update_agent::builders::UpdateAgentFluentBuilder {
crate::operation::update_agent::builders::UpdateAgentFluentBuilder::new(self.handle.clone())
}
}