amazonka-ecs-1.3.4: 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.SubmitContainerStateChange

Contents

Description

This action is only used by the Amazon EC2 Container Service agent, and it is not intended for use outside of the agent.

Sent to acknowledge that a container changed states.

See: AWS API Reference for SubmitContainerStateChange.

Synopsis

Creating a Request

submitContainerStateChange :: SubmitContainerStateChange Source

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

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

Request Lenses

scscNetworkBindings :: Lens' SubmitContainerStateChange [NetworkBinding] Source

The network bindings of the container.

scscStatus :: Lens' SubmitContainerStateChange (Maybe Text) Source

The status of the state change request.

scscCluster :: Lens' SubmitContainerStateChange (Maybe Text) Source

The short name or full Amazon Resource Name (ARN) of the cluster that hosts the container.

scscReason :: Lens' SubmitContainerStateChange (Maybe Text) Source

The reason for the state change request.

scscExitCode :: Lens' SubmitContainerStateChange (Maybe Int) Source

The exit code returned for the state change request.

scscTask :: Lens' SubmitContainerStateChange (Maybe Text) Source

The task ID or full Amazon Resource Name (ARN) of the task that hosts the container.

Destructuring the Response

submitContainerStateChangeResponse Source

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

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

Response Lenses