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.DeleteService

Contents

Description

Deletes a specified service within a cluster.

See: AWS API Reference for DeleteService.

Synopsis

Creating a Request

deleteService Source

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

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

Request Lenses

dsCluster :: Lens' DeleteService (Maybe Text) Source

The name of the cluster that hosts the service to delete. If you do not specify a cluster, the default cluster is assumed.

dsService :: Lens' DeleteService Text Source

The name of the service to delete.

Destructuring the Response

deleteServiceResponse Source

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

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

Response Lenses

dsrsService :: Lens' DeleteServiceResponse (Maybe ContainerService) Source

The full description of the deleted service.