amazonka-ecs-1.3.3.1: 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.StopTask

Contents

Description

Stops a running task.

See: AWS API Reference for StopTask.

Synopsis

Creating a Request

stopTask Source

Arguments

:: Text

stTask

-> StopTask 

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

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

Request Lenses

stCluster :: Lens' StopTask (Maybe Text) Source

The short name or full Amazon Resource Name (ARN) of the cluster that hosts the task you want to stop. If you do not specify a cluster, the default cluster is assumed..

stTask :: Lens' StopTask Text Source

The task UUIDs or full Amazon Resource Name (ARN) entry of the task you would like to stop.

Destructuring the Response

stopTaskResponse Source

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

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

Response Lenses

srsTask :: Lens' StopTaskResponse (Maybe Task) Source

Undocumented member.

srsResponseStatus :: Lens' StopTaskResponse Int Source

The response status code.