amazonka-elasticache-1.4.5: 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.DescribeCacheSecurityGroups

Contents

Description

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

This operation returns paginated results.

Synopsis

Creating a Request

describeCacheSecurityGroups :: DescribeCacheSecurityGroups #

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

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

  • dcsgsCacheSecurityGroupName - The name of the cache security group to return details for.
  • dcsgsMarker - 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 .
  • dcsgsMaxRecords - 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 DescribeCacheSecurityGroups #

Represents the input of a DescribeCacheSecurityGroups operation.

See: describeCacheSecurityGroups smart constructor.

Instances

Eq DescribeCacheSecurityGroups # 
Data DescribeCacheSecurityGroups # 

Methods

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

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

toConstr :: DescribeCacheSecurityGroups -> Constr #

dataTypeOf :: DescribeCacheSecurityGroups -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DescribeCacheSecurityGroups # 
Show DescribeCacheSecurityGroups # 
Generic DescribeCacheSecurityGroups # 
Hashable DescribeCacheSecurityGroups # 
NFData DescribeCacheSecurityGroups # 
AWSPager DescribeCacheSecurityGroups # 
AWSRequest DescribeCacheSecurityGroups # 
ToQuery DescribeCacheSecurityGroups # 
ToPath DescribeCacheSecurityGroups # 
ToHeaders DescribeCacheSecurityGroups # 
type Rep DescribeCacheSecurityGroups # 
type Rep DescribeCacheSecurityGroups = D1 (MetaData "DescribeCacheSecurityGroups" "Network.AWS.ElastiCache.DescribeCacheSecurityGroups" "amazonka-elasticache-1.4.5-Ai9oTU2RTbj2M0sGqfSNp8" False) (C1 (MetaCons "DescribeCacheSecurityGroups'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_dcsgsCacheSecurityGroupName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_dcsgsMarker") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_dcsgsMaxRecords") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int))))))
type Rs DescribeCacheSecurityGroups # 

Request Lenses

dcsgsCacheSecurityGroupName :: Lens' DescribeCacheSecurityGroups (Maybe Text) #

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

dcsgsMarker :: Lens' DescribeCacheSecurityGroups (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 .

dcsgsMaxRecords :: Lens' DescribeCacheSecurityGroups (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

describeCacheSecurityGroupsResponse #

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

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

data DescribeCacheSecurityGroupsResponse #

Represents the output of a DescribeCacheSecurityGroups operation.

See: describeCacheSecurityGroupsResponse smart constructor.

Instances

Eq DescribeCacheSecurityGroupsResponse # 
Data DescribeCacheSecurityGroupsResponse # 

Methods

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

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

toConstr :: DescribeCacheSecurityGroupsResponse -> Constr #

dataTypeOf :: DescribeCacheSecurityGroupsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DescribeCacheSecurityGroupsResponse # 
Show DescribeCacheSecurityGroupsResponse # 
Generic DescribeCacheSecurityGroupsResponse # 
NFData DescribeCacheSecurityGroupsResponse # 
type Rep DescribeCacheSecurityGroupsResponse # 
type Rep DescribeCacheSecurityGroupsResponse = D1 (MetaData "DescribeCacheSecurityGroupsResponse" "Network.AWS.ElastiCache.DescribeCacheSecurityGroups" "amazonka-elasticache-1.4.5-Ai9oTU2RTbj2M0sGqfSNp8" False) (C1 (MetaCons "DescribeCacheSecurityGroupsResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_dcsgsrsCacheSecurityGroups") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [CacheSecurityGroup]))) ((:*:) (S1 (MetaSel (Just Symbol "_dcsgsrsMarker") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_dcsgsrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int)))))

Response Lenses

dcsgsrsCacheSecurityGroups :: Lens' DescribeCacheSecurityGroupsResponse [CacheSecurityGroup] #

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

dcsgsrsMarker :: Lens' DescribeCacheSecurityGroupsResponse (Maybe Text) #

Provides an identifier to allow retrieval of paginated results.