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 DeleteCacheSecurityGroup action deletes a cache security group.

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

See: AWS API Reference for DeleteCacheSecurityGroup.


Creating a Request

deleteCacheSecurityGroup Source

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

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

Request Lenses

dcsgCacheSecurityGroupName :: Lens' DeleteCacheSecurityGroup Text Source

The name of the cache security group to delete.

You cannot delete the default security group.

Destructuring the Response

deleteCacheSecurityGroupResponse :: DeleteCacheSecurityGroupResponse Source

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