aws_sdk_ecs/client/update_container_agent.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`UpdateContainerAgent`](crate::operation::update_container_agent::builders::UpdateContainerAgentFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`cluster(impl Into<String>)`](crate::operation::update_container_agent::builders::UpdateContainerAgentFluentBuilder::cluster) / [`set_cluster(Option<String>)`](crate::operation::update_container_agent::builders::UpdateContainerAgentFluentBuilder::set_cluster):<br>required: **false**<br><p>The short name or full Amazon Resource Name (ARN) of the cluster that your container instance is running on. If you do not specify a cluster, the default cluster is assumed.</p><br>
/// - [`container_instance(impl Into<String>)`](crate::operation::update_container_agent::builders::UpdateContainerAgentFluentBuilder::container_instance) / [`set_container_instance(Option<String>)`](crate::operation::update_container_agent::builders::UpdateContainerAgentFluentBuilder::set_container_instance):<br>required: **true**<br><p>The container instance ID or full ARN entries for the container instance where you would like to update the Amazon ECS container agent.</p><br>
/// - On success, responds with [`UpdateContainerAgentOutput`](crate::operation::update_container_agent::UpdateContainerAgentOutput) with field(s):
/// - [`container_instance(Option<ContainerInstance>)`](crate::operation::update_container_agent::UpdateContainerAgentOutput::container_instance): <p>The container instance that the container agent was updated for.</p>
/// - On failure, responds with [`SdkError<UpdateContainerAgentError>`](crate::operation::update_container_agent::UpdateContainerAgentError)
pub fn update_container_agent(&self) -> crate::operation::update_container_agent::builders::UpdateContainerAgentFluentBuilder {
crate::operation::update_container_agent::builders::UpdateContainerAgentFluentBuilder::new(self.handle.clone())
}
}