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

Contents

Description

Enables a VPC to support DNS hostname resolution for ClassicLink. 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

enableVPCClassicLinkDNSSupport :: EnableVPCClassicLinkDNSSupport Source #

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

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

data EnableVPCClassicLinkDNSSupport Source #

Contains the parameters for EnableVpcClassicLinkDnsSupport.

See: enableVPCClassicLinkDNSSupport smart constructor.

Instances

Eq EnableVPCClassicLinkDNSSupport Source # 
Data EnableVPCClassicLinkDNSSupport Source # 

Methods

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

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

toConstr :: EnableVPCClassicLinkDNSSupport -> Constr #

dataTypeOf :: EnableVPCClassicLinkDNSSupport -> DataType #

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

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

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

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

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

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

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

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

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

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

Read EnableVPCClassicLinkDNSSupport Source # 
Show EnableVPCClassicLinkDNSSupport Source # 
Generic EnableVPCClassicLinkDNSSupport Source # 
Hashable EnableVPCClassicLinkDNSSupport Source # 
NFData EnableVPCClassicLinkDNSSupport Source # 
AWSRequest EnableVPCClassicLinkDNSSupport Source # 
ToHeaders EnableVPCClassicLinkDNSSupport Source # 
ToPath EnableVPCClassicLinkDNSSupport Source # 
ToQuery EnableVPCClassicLinkDNSSupport Source # 
type Rep EnableVPCClassicLinkDNSSupport Source # 
type Rep EnableVPCClassicLinkDNSSupport = D1 * (MetaData "EnableVPCClassicLinkDNSSupport" "Network.AWS.EC2.EnableVPCClassicLinkDNSSupport" "amazonka-ec2-1.6.0-Kkew7Kpgof6EYi20Z0WOzs" True) (C1 * (MetaCons "EnableVPCClassicLinkDNSSupport'" PrefixI True) (S1 * (MetaSel (Just Symbol "_evcldsVPCId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * (Maybe Text))))
type Rs EnableVPCClassicLinkDNSSupport Source # 

Request Lenses

Destructuring the Response

enableVPCClassicLinkDNSSupportResponse Source #

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

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

data EnableVPCClassicLinkDNSSupportResponse Source #

Contains the output of EnableVpcClassicLinkDnsSupport.

See: enableVPCClassicLinkDNSSupportResponse smart constructor.

Instances

Eq EnableVPCClassicLinkDNSSupportResponse Source # 
Data EnableVPCClassicLinkDNSSupportResponse Source # 

Methods

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

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

toConstr :: EnableVPCClassicLinkDNSSupportResponse -> Constr #

dataTypeOf :: EnableVPCClassicLinkDNSSupportResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read EnableVPCClassicLinkDNSSupportResponse Source # 
Show EnableVPCClassicLinkDNSSupportResponse Source # 
Generic EnableVPCClassicLinkDNSSupportResponse Source # 
NFData EnableVPCClassicLinkDNSSupportResponse Source # 
type Rep EnableVPCClassicLinkDNSSupportResponse Source # 
type Rep EnableVPCClassicLinkDNSSupportResponse = D1 * (MetaData "EnableVPCClassicLinkDNSSupportResponse" "Network.AWS.EC2.EnableVPCClassicLinkDNSSupport" "amazonka-ec2-1.6.0-Kkew7Kpgof6EYi20Z0WOzs" False) (C1 * (MetaCons "EnableVPCClassicLinkDNSSupportResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_evcldsrsReturn") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Bool))) (S1 * (MetaSel (Just Symbol "_evcldsrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int))))

Response Lenses

evcldsrsReturn :: Lens' EnableVPCClassicLinkDNSSupportResponse (Maybe Bool) Source #

Returns true if the request succeeds; otherwise, it returns an error.