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

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.

http://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_SubmitTaskStateChange.html

Synopsis

Request

Request constructor

Request lenses

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.

stscStatus :: Lens' SubmitTaskStateChange (Maybe Text) Source

The status of 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.

Response

Response constructor

Response lenses

stscrAcknowledgment :: Lens' SubmitTaskStateChangeResponse (Maybe Text) Source

Acknowledgement of the state change.