amazonka-ec2-1.6.0: Amazon Elastic Compute Cloud 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.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 gateway 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 # 
Instance details

Defined in Network.AWS.EC2.DescribePrefixLists

Data DescribePrefixLists # 
Instance details

Defined in Network.AWS.EC2.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 # 
Instance details

Defined in Network.AWS.EC2.DescribePrefixLists

Show DescribePrefixLists # 
Instance details

Defined in Network.AWS.EC2.DescribePrefixLists

Generic DescribePrefixLists # 
Instance details

Defined in Network.AWS.EC2.DescribePrefixLists

Associated Types

type Rep DescribePrefixLists :: * -> * #

Hashable DescribePrefixLists # 
Instance details

Defined in Network.AWS.EC2.DescribePrefixLists

AWSRequest DescribePrefixLists # 
Instance details

Defined in Network.AWS.EC2.DescribePrefixLists

Associated Types

type Rs DescribePrefixLists :: * #

ToHeaders DescribePrefixLists # 
Instance details

Defined in Network.AWS.EC2.DescribePrefixLists

ToPath DescribePrefixLists # 
Instance details

Defined in Network.AWS.EC2.DescribePrefixLists

ToQuery DescribePrefixLists # 
Instance details

Defined in Network.AWS.EC2.DescribePrefixLists

NFData DescribePrefixLists # 
Instance details

Defined in Network.AWS.EC2.DescribePrefixLists

Methods

rnf :: DescribePrefixLists -> () #

type Rep DescribePrefixLists # 
Instance details

Defined in Network.AWS.EC2.DescribePrefixLists

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

Defined in Network.AWS.EC2.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 # 
Instance details

Defined in Network.AWS.EC2.DescribePrefixLists

Data DescribePrefixListsResponse # 
Instance details

Defined in Network.AWS.EC2.DescribePrefixLists

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

Defined in Network.AWS.EC2.DescribePrefixLists

Show DescribePrefixListsResponse # 
Instance details

Defined in Network.AWS.EC2.DescribePrefixLists

Generic DescribePrefixListsResponse # 
Instance details

Defined in Network.AWS.EC2.DescribePrefixLists

Associated Types

type Rep DescribePrefixListsResponse :: * -> * #

NFData DescribePrefixListsResponse # 
Instance details

Defined in Network.AWS.EC2.DescribePrefixLists

type Rep DescribePrefixListsResponse # 
Instance details

Defined in Network.AWS.EC2.DescribePrefixLists

type Rep DescribePrefixListsResponse = D1 (MetaData "DescribePrefixListsResponse" "Network.AWS.EC2.DescribePrefixLists" "amazonka-ec2-1.6.0-G6ppxISnQxeI7PhDx9p8Zy" False) (C1 (MetaCons "DescribePrefixListsResponse'" PrefixI True) (S1 (MetaSel (Just "_dplrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_dplrsPrefixLists") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [PrefixList])) :*: S1 (MetaSel (Just "_dplrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (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.