amazonka-ecs-1.3.0: Amazon EC2 Container Service SDK.

Copyright(c) 2013-2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.ECS.UpdateContainerAgent

Contents

Description

Updates the Amazon ECS container agent on a specified container instance. Updating the Amazon ECS container agent does not interrupt running tasks or services on the container instance. The process for updating the agent differs depending on whether your container instance was launched with the Amazon ECS-optimized AMI or another operating system.

UpdateContainerAgent requires the Amazon ECS-optimized AMI or Amazon Linux with the 'ecs-init' service installed and running. For help updating the Amazon ECS container agent on other operating systems, see Manually Updating the Amazon ECS Container Agent in the Amazon EC2 Container Service Developer Guide.

See: AWS API Reference for UpdateContainerAgent.

Synopsis

Creating a Request

updateContainerAgent Source

Creates a value of UpdateContainerAgent with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Request Lenses

ucaCluster :: Lens' UpdateContainerAgent (Maybe Text) Source

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.

ucaContainerInstance :: Lens' UpdateContainerAgent Text Source

The container instance UUID or full Amazon Resource Name (ARN) entries for the container instance on which you would like to update the Amazon ECS container agent.

Destructuring the Response

updateContainerAgentResponse Source

Creates a value of UpdateContainerAgentResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Response Lenses