amazonka-ecs-1.3.3: 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.SubmitTaskStateChange

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 task changed states.

See: AWS API Reference for SubmitTaskStateChange.

Synopsis

Creating a Request

submitTaskStateChange :: SubmitTaskStateChange Source

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

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

Request Lenses

stscStatus :: Lens' SubmitTaskStateChange (Maybe Text) Source

The status of the state change request.

stscCluster :: Lens' SubmitTaskStateChange (Maybe Text) Source

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

stscReason :: Lens' SubmitTaskStateChange (Maybe Text) Source

The reason for the state change request.

stscTask :: Lens' SubmitTaskStateChange (Maybe Text) Source

The task UUID or full Amazon Resource Name (ARN) of the task in the state change request.

Destructuring the Response

submitTaskStateChangeResponse Source

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

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

Response Lenses

stscrsAcknowledgment :: Lens' SubmitTaskStateChangeResponse (Maybe Text) Source

Acknowledgement of the state change.