amazonka-ec2-1.4.5: Amazon Elastic Compute Cloud 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.EC2.DescribePrefixLists

Contents

Description

Describes available AWS services in a prefix list format, which includes the prefix list name and prefix list ID of the service and the IP address range for the service. A prefix list ID is required for creating an outbound security group rule that allows traffic from a VPC to access an AWS service through a VPC endpoint.

Synopsis

Creating a Request

describePrefixLists :: DescribePrefixLists #

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

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

  • dplFilters - One or more filters. * prefix-list-id : The ID of a prefix list. * prefix-list-name : The name of a prefix list.
  • dplPrefixListIds - One or more prefix list IDs.
  • dplNextToken - The token for the next set of items to return. (You received this token from a prior call.)
  • dplDryRun - Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation . Otherwise, it is UnauthorizedOperation .
  • dplMaxResults - The maximum number of items to return for this request. The request returns a token that you can specify in a subsequent call to get the next set of results. Constraint: If the value specified is greater than 1000, we return only 1000 items.

data DescribePrefixLists #

Contains the parameters for DescribePrefixLists.

See: describePrefixLists smart constructor.

Instances

Eq DescribePrefixLists # 
Data DescribePrefixLists # 

Methods

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

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

toConstr :: DescribePrefixLists -> Constr #

dataTypeOf :: DescribePrefixLists -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DescribePrefixLists # 
Show DescribePrefixLists # 
Generic DescribePrefixLists # 
Hashable DescribePrefixLists # 
NFData DescribePrefixLists # 

Methods

rnf :: DescribePrefixLists -> () #

AWSRequest DescribePrefixLists # 
ToQuery DescribePrefixLists # 
ToPath DescribePrefixLists # 
ToHeaders DescribePrefixLists # 
type Rep DescribePrefixLists # 
type Rep DescribePrefixLists = D1 (MetaData "DescribePrefixLists" "Network.AWS.EC2.DescribePrefixLists" "amazonka-ec2-1.4.5-C4CR35JggG2GhWFrIiKGhu" False) (C1 (MetaCons "DescribePrefixLists'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_dplFilters") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Filter]))) (S1 (MetaSel (Just Symbol "_dplPrefixListIds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text])))) ((:*:) (S1 (MetaSel (Just Symbol "_dplNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_dplDryRun") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) (S1 (MetaSel (Just Symbol "_dplMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int)))))))
type Rs DescribePrefixLists # 

Request Lenses

dplFilters :: Lens' DescribePrefixLists [Filter] #

One or more filters. * prefix-list-id : The ID of a prefix list. * prefix-list-name : The name of a prefix list.

dplPrefixListIds :: Lens' DescribePrefixLists [Text] #

One or more prefix list IDs.

dplNextToken :: Lens' DescribePrefixLists (Maybe Text) #

The token for the next set of items to return. (You received this token from a prior call.)

dplDryRun :: Lens' DescribePrefixLists (Maybe Bool) #

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation . Otherwise, it is UnauthorizedOperation .

dplMaxResults :: Lens' DescribePrefixLists (Maybe Int) #

The maximum number of items to return for this request. The request returns a token that you can specify in a subsequent call to get the next set of results. Constraint: If the value specified is greater than 1000, we return only 1000 items.

Destructuring the Response

describePrefixListsResponse #

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

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

data DescribePrefixListsResponse #

Contains the output of DescribePrefixLists.

See: describePrefixListsResponse smart constructor.

Instances

Eq DescribePrefixListsResponse # 
Data DescribePrefixListsResponse # 

Methods

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

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

toConstr :: DescribePrefixListsResponse -> Constr #

dataTypeOf :: DescribePrefixListsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DescribePrefixListsResponse # 
Show DescribePrefixListsResponse # 
Generic DescribePrefixListsResponse # 
NFData DescribePrefixListsResponse # 
type Rep DescribePrefixListsResponse # 
type Rep DescribePrefixListsResponse = D1 (MetaData "DescribePrefixListsResponse" "Network.AWS.EC2.DescribePrefixLists" "amazonka-ec2-1.4.5-C4CR35JggG2GhWFrIiKGhu" False) (C1 (MetaCons "DescribePrefixListsResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_dplrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_dplrsPrefixLists") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [PrefixList]))) (S1 (MetaSel (Just Symbol "_dplrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int)))))

Response Lenses

dplrsNextToken :: Lens' DescribePrefixListsResponse (Maybe Text) #

The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.