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

Contents

Description

The DescribeCacheSubnetGroups action returns a list of cache subnet group descriptions. If a subnet group name is specified, the list will contain only the description of that group.

This operation returns paginated results.

Synopsis

Creating a Request

describeCacheSubnetGroups :: DescribeCacheSubnetGroups Source #

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

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

data DescribeCacheSubnetGroups Source #

Represents the input of a DescribeCacheSubnetGroups action.

See: describeCacheSubnetGroups smart constructor.

Instances

Eq DescribeCacheSubnetGroups Source # 
Data DescribeCacheSubnetGroups Source # 

Methods

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

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

toConstr :: DescribeCacheSubnetGroups -> Constr #

dataTypeOf :: DescribeCacheSubnetGroups -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DescribeCacheSubnetGroups Source # 
Show DescribeCacheSubnetGroups Source # 
Generic DescribeCacheSubnetGroups Source # 
Hashable DescribeCacheSubnetGroups Source # 
NFData DescribeCacheSubnetGroups Source # 
AWSPager DescribeCacheSubnetGroups Source # 
AWSRequest DescribeCacheSubnetGroups Source # 
ToPath DescribeCacheSubnetGroups Source # 
ToHeaders DescribeCacheSubnetGroups Source # 
ToQuery DescribeCacheSubnetGroups Source # 
type Rep DescribeCacheSubnetGroups Source # 
type Rep DescribeCacheSubnetGroups = D1 (MetaData "DescribeCacheSubnetGroups" "Network.AWS.ElastiCache.DescribeCacheSubnetGroups" "amazonka-elasticache-1.4.2-Jpl6F5jrZ35HzhDeLVi6T" False) (C1 (MetaCons "DescribeCacheSubnetGroups'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_dcsgCacheSubnetGroupName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_dcsgMarker") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_dcsgMaxRecords") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int))))))
type Rs DescribeCacheSubnetGroups Source # 

Request Lenses

dcsgCacheSubnetGroupName :: Lens' DescribeCacheSubnetGroups (Maybe Text) Source #

The name of the cache subnet group to return details for.

dcsgMarker :: Lens' DescribeCacheSubnetGroups (Maybe Text) Source #

An optional marker returned from a prior request. Use this marker for pagination of results from this action. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

dcsgMaxRecords :: Lens' DescribeCacheSubnetGroups (Maybe Int) Source #

The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a marker is included in the response so that the remaining results can be retrieved.

Default: 100

Constraints: minimum 20; maximum 100.

Destructuring the Response

describeCacheSubnetGroupsResponse Source #

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

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

data DescribeCacheSubnetGroupsResponse Source #

Represents the output of a DescribeCacheSubnetGroups action.

See: describeCacheSubnetGroupsResponse smart constructor.

Instances

Eq DescribeCacheSubnetGroupsResponse Source # 
Data DescribeCacheSubnetGroupsResponse Source # 

Methods

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

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

toConstr :: DescribeCacheSubnetGroupsResponse -> Constr #

dataTypeOf :: DescribeCacheSubnetGroupsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DescribeCacheSubnetGroupsResponse Source # 
Show DescribeCacheSubnetGroupsResponse Source # 
Generic DescribeCacheSubnetGroupsResponse Source # 
NFData DescribeCacheSubnetGroupsResponse Source # 
type Rep DescribeCacheSubnetGroupsResponse Source # 
type Rep DescribeCacheSubnetGroupsResponse = D1 (MetaData "DescribeCacheSubnetGroupsResponse" "Network.AWS.ElastiCache.DescribeCacheSubnetGroups" "amazonka-elasticache-1.4.2-Jpl6F5jrZ35HzhDeLVi6T" False) (C1 (MetaCons "DescribeCacheSubnetGroupsResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_dcsgrsMarker") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_dcsgrsCacheSubnetGroups") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [CacheSubnetGroup]))) (S1 (MetaSel (Just Symbol "_dcsgrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))))

Response Lenses

dcsgrsMarker :: Lens' DescribeCacheSubnetGroupsResponse (Maybe Text) Source #

Provides an identifier to allow retrieval of paginated results.

dcsgrsCacheSubnetGroups :: Lens' DescribeCacheSubnetGroupsResponse [CacheSubnetGroup] Source #

A list of cache subnet groups. Each element in the list contains detailed information about one group.