aws_sdk_ecs/client/update_container_agent.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 [`UpdateContainerAgent`](crate::operation::update_container_agent::builders::UpdateContainerAgentFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`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>
7 /// - [`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>
8 /// - On success, responds with [`UpdateContainerAgentOutput`](crate::operation::update_container_agent::UpdateContainerAgentOutput) with field(s):
9 /// - [`container_instance(Option<ContainerInstance>)`](crate::operation::update_container_agent::UpdateContainerAgentOutput::container_instance): <p>The container instance that the container agent was updated for.</p>
10 /// - On failure, responds with [`SdkError<UpdateContainerAgentError>`](crate::operation::update_container_agent::UpdateContainerAgentError)
11 pub fn update_container_agent(&self) -> crate::operation::update_container_agent::builders::UpdateContainerAgentFluentBuilder {
12 crate::operation::update_container_agent::builders::UpdateContainerAgentFluentBuilder::new(self.handle.clone())
13 }
14}