amazonka-ec2-1.6.1: 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 Source #

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 Source #

Contains the parameters for DescribePrefixLists.

See: describePrefixLists smart constructor.

Instances
Eq DescribePrefixLists Source # 
Instance details

Defined in Network.AWS.EC2.DescribePrefixLists

Data DescribePrefixLists Source # 
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 Source # 
Instance details

Defined in Network.AWS.EC2.DescribePrefixLists

Show DescribePrefixLists Source # 
Instance details

Defined in Network.AWS.EC2.DescribePrefixLists

Generic DescribePrefixLists Source # 
Instance details

Defined in Network.AWS.EC2.DescribePrefixLists

Associated Types

type Rep DescribePrefixLists :: Type -> Type #

Hashable DescribePrefixLists Source # 
Instance details

Defined in Network.AWS.EC2.DescribePrefixLists

AWSRequest DescribePrefixLists Source # 
Instance details

Defined in Network.AWS.EC2.DescribePrefixLists

Associated Types

type Rs DescribePrefixLists :: Type #

ToHeaders DescribePrefixLists Source # 
Instance details

Defined in Network.AWS.EC2.DescribePrefixLists

ToPath DescribePrefixLists Source # 
Instance details

Defined in Network.AWS.EC2.DescribePrefixLists

ToQuery DescribePrefixLists Source # 
Instance details

Defined in Network.AWS.EC2.DescribePrefixLists

NFData DescribePrefixLists Source # 
Instance details

Defined in Network.AWS.EC2.DescribePrefixLists

Methods

rnf :: DescribePrefixLists -> () #

type Rep DescribePrefixLists Source # 
Instance details

Defined in Network.AWS.EC2.DescribePrefixLists

type Rep DescribePrefixLists = D1 (MetaData "DescribePrefixLists" "Network.AWS.EC2.DescribePrefixLists" "amazonka-ec2-1.6.1-GgG1M0FWcBrE5I5IM2QktE" 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 Source # 
Instance details

Defined in Network.AWS.EC2.DescribePrefixLists

Request Lenses

dplFilters :: Lens' DescribePrefixLists [Filter] Source #

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] Source #

One or more prefix list IDs.

dplNextToken :: Lens' DescribePrefixLists (Maybe Text) Source #

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

dplDryRun :: Lens' DescribePrefixLists (Maybe Bool) Source #

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) Source #

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 Source #

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 Source #

Contains the output of DescribePrefixLists.

See: describePrefixListsResponse smart constructor.

Instances
Eq DescribePrefixListsResponse Source # 
Instance details

Defined in Network.AWS.EC2.DescribePrefixLists

Data DescribePrefixListsResponse Source # 
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 Source # 
Instance details

Defined in Network.AWS.EC2.DescribePrefixLists

Show DescribePrefixListsResponse Source # 
Instance details

Defined in Network.AWS.EC2.DescribePrefixLists

Generic DescribePrefixListsResponse Source # 
Instance details

Defined in Network.AWS.EC2.DescribePrefixLists

Associated Types

type Rep DescribePrefixListsResponse :: Type -> Type #

NFData DescribePrefixListsResponse Source # 
Instance details

Defined in Network.AWS.EC2.DescribePrefixLists

type Rep DescribePrefixListsResponse Source # 
Instance details

Defined in Network.AWS.EC2.DescribePrefixLists

type Rep DescribePrefixListsResponse = D1 (MetaData "DescribePrefixListsResponse" "Network.AWS.EC2.DescribePrefixLists" "amazonka-ec2-1.6.1-GgG1M0FWcBrE5I5IM2QktE" 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) Source #

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