amazonka-elasticache-1.4.2: Amazon ElastiCache SDK.

Copyright(c) 2013-2016 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.ElastiCache.DeleteCacheSubnetGroup

Contents

Description

The DeleteCacheSubnetGroup action deletes a cache subnet group.

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

Synopsis

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:

data DeleteCacheSubnetGroup Source #

Represents the input of a DeleteCacheSubnetGroup action.

See: deleteCacheSubnetGroup smart constructor.

Instances

Eq DeleteCacheSubnetGroup Source # 
Data DeleteCacheSubnetGroup Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DeleteCacheSubnetGroup -> c DeleteCacheSubnetGroup #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DeleteCacheSubnetGroup #

toConstr :: DeleteCacheSubnetGroup -> Constr #

dataTypeOf :: DeleteCacheSubnetGroup -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c DeleteCacheSubnetGroup) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DeleteCacheSubnetGroup) #

gmapT :: (forall b. Data b => b -> b) -> DeleteCacheSubnetGroup -> DeleteCacheSubnetGroup #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DeleteCacheSubnetGroup -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DeleteCacheSubnetGroup -> r #

gmapQ :: (forall d. Data d => d -> u) -> DeleteCacheSubnetGroup -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DeleteCacheSubnetGroup -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DeleteCacheSubnetGroup -> m DeleteCacheSubnetGroup #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DeleteCacheSubnetGroup -> m DeleteCacheSubnetGroup #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DeleteCacheSubnetGroup -> m DeleteCacheSubnetGroup #

Read DeleteCacheSubnetGroup Source # 
Show DeleteCacheSubnetGroup Source # 
Generic DeleteCacheSubnetGroup Source # 
Hashable DeleteCacheSubnetGroup Source # 
NFData DeleteCacheSubnetGroup Source # 

Methods

rnf :: DeleteCacheSubnetGroup -> () #

AWSRequest DeleteCacheSubnetGroup Source # 
ToPath DeleteCacheSubnetGroup Source # 
ToHeaders DeleteCacheSubnetGroup Source # 
ToQuery DeleteCacheSubnetGroup Source # 
type Rep DeleteCacheSubnetGroup Source # 
type Rep DeleteCacheSubnetGroup = D1 (MetaData "DeleteCacheSubnetGroup" "Network.AWS.ElastiCache.DeleteCacheSubnetGroup" "amazonka-elasticache-1.4.2-Jpl6F5jrZ35HzhDeLVi6T" True) (C1 (MetaCons "DeleteCacheSubnetGroup'" PrefixI True) (S1 (MetaSel (Just Symbol "_dCacheSubnetGroupName") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Rs DeleteCacheSubnetGroup Source # 

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.

data DeleteCacheSubnetGroupResponse Source #

See: deleteCacheSubnetGroupResponse smart constructor.

Instances

Eq DeleteCacheSubnetGroupResponse Source # 
Data DeleteCacheSubnetGroupResponse Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DeleteCacheSubnetGroupResponse -> c DeleteCacheSubnetGroupResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DeleteCacheSubnetGroupResponse #

toConstr :: DeleteCacheSubnetGroupResponse -> Constr #

dataTypeOf :: DeleteCacheSubnetGroupResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c DeleteCacheSubnetGroupResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DeleteCacheSubnetGroupResponse) #

gmapT :: (forall b. Data b => b -> b) -> DeleteCacheSubnetGroupResponse -> DeleteCacheSubnetGroupResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DeleteCacheSubnetGroupResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DeleteCacheSubnetGroupResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> DeleteCacheSubnetGroupResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DeleteCacheSubnetGroupResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DeleteCacheSubnetGroupResponse -> m DeleteCacheSubnetGroupResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DeleteCacheSubnetGroupResponse -> m DeleteCacheSubnetGroupResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DeleteCacheSubnetGroupResponse -> m DeleteCacheSubnetGroupResponse #

Read DeleteCacheSubnetGroupResponse Source # 
Show DeleteCacheSubnetGroupResponse Source # 
Generic DeleteCacheSubnetGroupResponse Source # 
NFData DeleteCacheSubnetGroupResponse Source # 
type Rep DeleteCacheSubnetGroupResponse Source # 
type Rep DeleteCacheSubnetGroupResponse = D1 (MetaData "DeleteCacheSubnetGroupResponse" "Network.AWS.ElastiCache.DeleteCacheSubnetGroup" "amazonka-elasticache-1.4.2-Jpl6F5jrZ35HzhDeLVi6T" False) (C1 (MetaCons "DeleteCacheSubnetGroupResponse'" PrefixI False) U1)