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.DescribeVPCClassicLinkDNSSupport

Contents

Description

Describes the ClassicLink DNS support status of one or more VPCs. If enabled, the DNS hostname of a linked EC2-Classic instance resolves to its private IP address when addressed from an instance in the VPC to which it's linked. Similarly, the DNS hostname of an instance in a VPC resolves to its private IP address when addressed from a linked EC2-Classic instance. For more information about ClassicLink, see ClassicLink in the Amazon Elastic Compute Cloud User Guide.

Synopsis

Creating a Request

describeVPCClassicLinkDNSSupport :: DescribeVPCClassicLinkDNSSupport #

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

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

  • dvcldsNextToken - The token for the next set of items to return. (You received this token from a prior call.)
  • dvcldsVPCIds - One or more VPC IDs.
  • dvcldsMaxResults - 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.

data DescribeVPCClassicLinkDNSSupport #

Contains the parameters for DescribeVpcClassicLinkDnsSupport.

See: describeVPCClassicLinkDNSSupport smart constructor.

Instances

Eq DescribeVPCClassicLinkDNSSupport # 
Data DescribeVPCClassicLinkDNSSupport # 

Methods

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

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

toConstr :: DescribeVPCClassicLinkDNSSupport -> Constr #

dataTypeOf :: DescribeVPCClassicLinkDNSSupport -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DescribeVPCClassicLinkDNSSupport # 
Show DescribeVPCClassicLinkDNSSupport # 
Generic DescribeVPCClassicLinkDNSSupport # 
Hashable DescribeVPCClassicLinkDNSSupport # 
NFData DescribeVPCClassicLinkDNSSupport # 
AWSRequest DescribeVPCClassicLinkDNSSupport # 
ToQuery DescribeVPCClassicLinkDNSSupport # 
ToPath DescribeVPCClassicLinkDNSSupport # 
ToHeaders DescribeVPCClassicLinkDNSSupport # 
type Rep DescribeVPCClassicLinkDNSSupport # 
type Rep DescribeVPCClassicLinkDNSSupport = D1 (MetaData "DescribeVPCClassicLinkDNSSupport" "Network.AWS.EC2.DescribeVPCClassicLinkDNSSupport" "amazonka-ec2-1.4.5-C4CR35JggG2GhWFrIiKGhu" False) (C1 (MetaCons "DescribeVPCClassicLinkDNSSupport'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_dvcldsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_dvcldsVPCIds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))) (S1 (MetaSel (Just Symbol "_dvcldsMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat))))))
type Rs DescribeVPCClassicLinkDNSSupport # 

Request Lenses

dvcldsNextToken :: Lens' DescribeVPCClassicLinkDNSSupport (Maybe Text) #

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

dvcldsMaxResults :: Lens' DescribeVPCClassicLinkDNSSupport (Maybe Natural) #

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.

Destructuring the Response

describeVPCClassicLinkDNSSupportResponse #

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

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

data DescribeVPCClassicLinkDNSSupportResponse #

Contains the output of DescribeVpcClassicLinkDnsSupport.

See: describeVPCClassicLinkDNSSupportResponse smart constructor.

Instances

Eq DescribeVPCClassicLinkDNSSupportResponse # 
Data DescribeVPCClassicLinkDNSSupportResponse # 

Methods

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

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

toConstr :: DescribeVPCClassicLinkDNSSupportResponse -> Constr #

dataTypeOf :: DescribeVPCClassicLinkDNSSupportResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DescribeVPCClassicLinkDNSSupportResponse # 
Show DescribeVPCClassicLinkDNSSupportResponse # 
Generic DescribeVPCClassicLinkDNSSupportResponse # 
NFData DescribeVPCClassicLinkDNSSupportResponse # 
type Rep DescribeVPCClassicLinkDNSSupportResponse # 
type Rep DescribeVPCClassicLinkDNSSupportResponse = D1 (MetaData "DescribeVPCClassicLinkDNSSupportResponse" "Network.AWS.EC2.DescribeVPCClassicLinkDNSSupport" "amazonka-ec2-1.4.5-C4CR35JggG2GhWFrIiKGhu" False) (C1 (MetaCons "DescribeVPCClassicLinkDNSSupportResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_dvpccldnssrsVPCs") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [ClassicLinkDNSSupport]))) ((:*:) (S1 (MetaSel (Just Symbol "_dvpccldnssrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_dvpccldnssrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int)))))

Response Lenses

dvpccldnssrsVPCs :: Lens' DescribeVPCClassicLinkDNSSupportResponse [ClassicLinkDNSSupport] #

Information about the ClassicLink DNS support status of the VPCs.

dvpccldnssrsNextToken :: Lens' DescribeVPCClassicLinkDNSSupportResponse (Maybe Text) #

The token to use when requesting the next set of items.