amazonka-elasticache-1.3.1: Amazon ElastiCache SDK.

Copyright(c) 2013-2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <>
Portabilitynon-portable (GHC extensions)
Safe HaskellNone




The DeleteCacheSubnetGroup action deletes a cache subnet group.

You cannot delete a cache subnet group if it is associated with any cache clusters.

See: AWS API Reference for DeleteCacheSubnetGroup.


Creating a Request

deleteCacheSubnetGroup Source

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

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

Request Lenses

dCacheSubnetGroupName :: Lens' DeleteCacheSubnetGroup Text Source

The name of the cache subnet group to delete.

Constraints: Must contain no more than 255 alphanumeric characters or hyphens.

Destructuring the Response

deleteCacheSubnetGroupResponse :: DeleteCacheSubnetGroupResponse Source

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