amazonka-elasticache-1.6.1: Amazon ElastiCache SDK.

Copyright(c) 2013-2018 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.ElastiCache.DescribeCacheSubnetGroups

Contents

Description

Returns a list of cache subnet group descriptions. If a subnet group name is specified, the list contains only the description of that group.

This operation returns paginated results.

Synopsis

Creating a Request

describeCacheSubnetGroups :: DescribeCacheSubnetGroups #

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:

  • dcsgCacheSubnetGroupName - The name of the cache subnet group to return details for.
  • dcsgMarker - An optional marker returned from a prior request. Use this marker for pagination of results from this operation. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords .
  • dcsgMaxRecords - 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.

data DescribeCacheSubnetGroups #

Represents the input of a DescribeCacheSubnetGroups operation.

See: describeCacheSubnetGroups smart constructor.

Instances
Eq DescribeCacheSubnetGroups # 
Instance details

Defined in Network.AWS.ElastiCache.DescribeCacheSubnetGroups

Data DescribeCacheSubnetGroups # 
Instance details

Defined in Network.AWS.ElastiCache.DescribeCacheSubnetGroups

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 # 
Instance details

Defined in Network.AWS.ElastiCache.DescribeCacheSubnetGroups

Show DescribeCacheSubnetGroups # 
Instance details

Defined in Network.AWS.ElastiCache.DescribeCacheSubnetGroups

Generic DescribeCacheSubnetGroups # 
Instance details

Defined in Network.AWS.ElastiCache.DescribeCacheSubnetGroups

Associated Types

type Rep DescribeCacheSubnetGroups :: Type -> Type #

Hashable DescribeCacheSubnetGroups # 
Instance details

Defined in Network.AWS.ElastiCache.DescribeCacheSubnetGroups

AWSPager DescribeCacheSubnetGroups # 
Instance details

Defined in Network.AWS.ElastiCache.DescribeCacheSubnetGroups

AWSRequest DescribeCacheSubnetGroups # 
Instance details

Defined in Network.AWS.ElastiCache.DescribeCacheSubnetGroups

Associated Types

type Rs DescribeCacheSubnetGroups :: Type #

ToHeaders DescribeCacheSubnetGroups # 
Instance details

Defined in Network.AWS.ElastiCache.DescribeCacheSubnetGroups

ToPath DescribeCacheSubnetGroups # 
Instance details

Defined in Network.AWS.ElastiCache.DescribeCacheSubnetGroups

ToQuery DescribeCacheSubnetGroups # 
Instance details

Defined in Network.AWS.ElastiCache.DescribeCacheSubnetGroups

NFData DescribeCacheSubnetGroups # 
Instance details

Defined in Network.AWS.ElastiCache.DescribeCacheSubnetGroups

type Rep DescribeCacheSubnetGroups # 
Instance details

Defined in Network.AWS.ElastiCache.DescribeCacheSubnetGroups

type Rep DescribeCacheSubnetGroups = D1 (MetaData "DescribeCacheSubnetGroups" "Network.AWS.ElastiCache.DescribeCacheSubnetGroups" "amazonka-elasticache-1.6.1-HhHioXLo4Gu6dBQ6CbYXU2" False) (C1 (MetaCons "DescribeCacheSubnetGroups'" PrefixI True) (S1 (MetaSel (Just "_dcsgCacheSubnetGroupName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_dcsgMarker") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_dcsgMaxRecords") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int)))))
type Rs DescribeCacheSubnetGroups # 
Instance details

Defined in Network.AWS.ElastiCache.DescribeCacheSubnetGroups

Request Lenses

dcsgCacheSubnetGroupName :: Lens' DescribeCacheSubnetGroups (Maybe Text) #

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

dcsgMarker :: Lens' DescribeCacheSubnetGroups (Maybe Text) #

An optional marker returned from a prior request. Use this marker for pagination of results from this operation. 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) #

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 #

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 #

Represents the output of a DescribeCacheSubnetGroups operation.

See: describeCacheSubnetGroupsResponse smart constructor.

Instances
Eq DescribeCacheSubnetGroupsResponse # 
Instance details

Defined in Network.AWS.ElastiCache.DescribeCacheSubnetGroups

Data DescribeCacheSubnetGroupsResponse # 
Instance details

Defined in Network.AWS.ElastiCache.DescribeCacheSubnetGroups

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 # 
Instance details

Defined in Network.AWS.ElastiCache.DescribeCacheSubnetGroups

Show DescribeCacheSubnetGroupsResponse # 
Instance details

Defined in Network.AWS.ElastiCache.DescribeCacheSubnetGroups

Generic DescribeCacheSubnetGroupsResponse # 
Instance details

Defined in Network.AWS.ElastiCache.DescribeCacheSubnetGroups

Associated Types

type Rep DescribeCacheSubnetGroupsResponse :: Type -> Type #

NFData DescribeCacheSubnetGroupsResponse # 
Instance details

Defined in Network.AWS.ElastiCache.DescribeCacheSubnetGroups

type Rep DescribeCacheSubnetGroupsResponse # 
Instance details

Defined in Network.AWS.ElastiCache.DescribeCacheSubnetGroups

type Rep DescribeCacheSubnetGroupsResponse = D1 (MetaData "DescribeCacheSubnetGroupsResponse" "Network.AWS.ElastiCache.DescribeCacheSubnetGroups" "amazonka-elasticache-1.6.1-HhHioXLo4Gu6dBQ6CbYXU2" False) (C1 (MetaCons "DescribeCacheSubnetGroupsResponse'" PrefixI True) (S1 (MetaSel (Just "_dcsgrsMarker") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_dcsgrsCacheSubnetGroups") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [CacheSubnetGroup])) :*: S1 (MetaSel (Just "_dcsgrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses

dcsgrsMarker :: Lens' DescribeCacheSubnetGroupsResponse (Maybe Text) #

Provides an identifier to allow retrieval of paginated results.

dcsgrsCacheSubnetGroups :: Lens' DescribeCacheSubnetGroupsResponse [CacheSubnetGroup] #

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