Copyright | (c) 2013-2015 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
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.
- updateContainerAgent :: Text -> UpdateContainerAgent
- data UpdateContainerAgent
- ucaCluster :: Lens' UpdateContainerAgent (Maybe Text)
- ucaContainerInstance :: Lens' UpdateContainerAgent Text
- updateContainerAgentResponse :: Int -> UpdateContainerAgentResponse
- data UpdateContainerAgentResponse
- ucarsContainerInstance :: Lens' UpdateContainerAgentResponse (Maybe ContainerInstance)
- ucarsStatus :: Lens' UpdateContainerAgentResponse Int
Creating a Request
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:
data UpdateContainerAgent Source
See: updateContainerAgent
smart constructor.
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:
data UpdateContainerAgentResponse Source
See: updateContainerAgentResponse
smart constructor.
Response Lenses
ucarsContainerInstance :: Lens' UpdateContainerAgentResponse (Maybe ContainerInstance) Source
Undocumented member.
ucarsStatus :: Lens' UpdateContainerAgentResponse Int Source
The response status code.