amazonka-dynamodb-dax-1.6.0: Amazon DynamoDB Accelerator (DAX) 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.DAX.DescribeSubnetGroups

Contents

Description

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

Synopsis

Creating a Request

describeSubnetGroups :: DescribeSubnetGroups Source #

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

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

  • dsgSubnetGroupNames - The name of the subnet group.
  • dsgNextToken - An optional token returned from a prior request. Use this token for pagination of results from this action. If this parameter is specified, the response includes only results beyond the token, up to the value specified by MaxResults .
  • dsgMaxResults - The maximum number of results to include in the response. If more results exist than the specified MaxResults value, a token is included in the response so that the remaining results can be retrieved. The value for MaxResults must be between 20 and 100.

data DescribeSubnetGroups Source #

See: describeSubnetGroups smart constructor.

Instances

Eq DescribeSubnetGroups Source # 
Data DescribeSubnetGroups Source # 

Methods

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

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

toConstr :: DescribeSubnetGroups -> Constr #

dataTypeOf :: DescribeSubnetGroups -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DescribeSubnetGroups Source # 
Show DescribeSubnetGroups Source # 
Generic DescribeSubnetGroups Source # 
Hashable DescribeSubnetGroups Source # 
ToJSON DescribeSubnetGroups Source # 
NFData DescribeSubnetGroups Source # 

Methods

rnf :: DescribeSubnetGroups -> () #

AWSRequest DescribeSubnetGroups Source # 
ToHeaders DescribeSubnetGroups Source # 
ToPath DescribeSubnetGroups Source # 
ToQuery DescribeSubnetGroups Source # 
type Rep DescribeSubnetGroups Source # 
type Rep DescribeSubnetGroups = D1 * (MetaData "DescribeSubnetGroups" "Network.AWS.DAX.DescribeSubnetGroups" "amazonka-dynamodb-dax-1.6.0-31oAZKJCCRq6sH266jsUP" False) (C1 * (MetaCons "DescribeSubnetGroups'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_dsgSubnetGroupNames") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [Text]))) ((:*:) * (S1 * (MetaSel (Just Symbol "_dsgNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_dsgMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Int))))))
type Rs DescribeSubnetGroups Source # 

Request Lenses

dsgSubnetGroupNames :: Lens' DescribeSubnetGroups [Text] Source #

The name of the subnet group.

dsgNextToken :: Lens' DescribeSubnetGroups (Maybe Text) Source #

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

dsgMaxResults :: Lens' DescribeSubnetGroups (Maybe Int) Source #

The maximum number of results to include in the response. If more results exist than the specified MaxResults value, a token is included in the response so that the remaining results can be retrieved. The value for MaxResults must be between 20 and 100.

Destructuring the Response

describeSubnetGroupsResponse Source #

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

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

data DescribeSubnetGroupsResponse Source #

See: describeSubnetGroupsResponse smart constructor.

Instances

Eq DescribeSubnetGroupsResponse Source # 
Data DescribeSubnetGroupsResponse Source # 

Methods

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

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

toConstr :: DescribeSubnetGroupsResponse -> Constr #

dataTypeOf :: DescribeSubnetGroupsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DescribeSubnetGroupsResponse Source # 
Show DescribeSubnetGroupsResponse Source # 
Generic DescribeSubnetGroupsResponse Source # 
NFData DescribeSubnetGroupsResponse Source # 
type Rep DescribeSubnetGroupsResponse Source # 
type Rep DescribeSubnetGroupsResponse = D1 * (MetaData "DescribeSubnetGroupsResponse" "Network.AWS.DAX.DescribeSubnetGroups" "amazonka-dynamodb-dax-1.6.0-31oAZKJCCRq6sH266jsUP" False) (C1 * (MetaCons "DescribeSubnetGroupsResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_dsgsrsSubnetGroups") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [SubnetGroup]))) ((:*:) * (S1 * (MetaSel (Just Symbol "_dsgsrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_dsgsrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int)))))

Response Lenses

dsgsrsSubnetGroups :: Lens' DescribeSubnetGroupsResponse [SubnetGroup] Source #

An array of subnet groups. Each element in the array represents a single subnet group.

dsgsrsNextToken :: Lens' DescribeSubnetGroupsResponse (Maybe Text) Source #

Provides an identifier to allow retrieval of paginated results.