amazonka-route53-1.4.3: Amazon Route 53 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.Route53.AssociateVPCWithHostedZone

Contents

Description

This action associates a VPC with an hosted zone.

To associate a VPC with an hosted zone, send a POST request to the '/Route 53 API version/hostedzone/hosted zone ID/associatevpc' resource. The request body must include a document with a AssociateVPCWithHostedZoneRequest element. The response returns the AssociateVPCWithHostedZoneResponse element that contains ChangeInfo for you to track the progress of the AssociateVPCWithHostedZoneRequest you made. See GetChange operation for how to track the progress of your change.

Synopsis

Creating a Request

associateVPCWithHostedZone Source #

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

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

data AssociateVPCWithHostedZone Source #

A complex type that contains information about the request to associate a VPC with an hosted zone.

See: associateVPCWithHostedZone smart constructor.

Instances

Eq AssociateVPCWithHostedZone Source # 
Data AssociateVPCWithHostedZone Source # 

Methods

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

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

toConstr :: AssociateVPCWithHostedZone -> Constr #

dataTypeOf :: AssociateVPCWithHostedZone -> DataType #

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

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

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

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

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

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

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

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

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

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

Read AssociateVPCWithHostedZone Source # 
Show AssociateVPCWithHostedZone Source # 
Generic AssociateVPCWithHostedZone Source # 
Hashable AssociateVPCWithHostedZone Source # 
NFData AssociateVPCWithHostedZone Source # 
AWSRequest AssociateVPCWithHostedZone Source # 
ToPath AssociateVPCWithHostedZone Source # 
ToHeaders AssociateVPCWithHostedZone Source # 
ToElement AssociateVPCWithHostedZone Source # 
ToXML AssociateVPCWithHostedZone Source # 
ToQuery AssociateVPCWithHostedZone Source # 
type Rep AssociateVPCWithHostedZone Source # 
type Rep AssociateVPCWithHostedZone = D1 (MetaData "AssociateVPCWithHostedZone" "Network.AWS.Route53.AssociateVPCWithHostedZone" "amazonka-route53-1.4.3-GVCZrM1VgYbI4WdWSABHKg" False) (C1 (MetaCons "AssociateVPCWithHostedZone'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_avwhzComment") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_avwhzHostedZoneId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_avwhzVPC") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 VPC)))))
type Rs AssociateVPCWithHostedZone Source # 

Request Lenses

avwhzComment :: Lens' AssociateVPCWithHostedZone (Maybe Text) Source #

Optional: Any comments you want to include about a AssociateVPCWithHostedZoneRequest.

avwhzHostedZoneId :: Lens' AssociateVPCWithHostedZone Text Source #

The ID of the hosted zone you want to associate your VPC with.

Note that you cannot associate a VPC with a hosted zone that doesn't have an existing VPC association.

avwhzVPC :: Lens' AssociateVPCWithHostedZone VPC Source #

The VPC that you want your hosted zone to be associated with.

Destructuring the Response

associateVPCWithHostedZoneResponse Source #

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

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

data AssociateVPCWithHostedZoneResponse Source #

A complex type containing the response information for the request.

See: associateVPCWithHostedZoneResponse smart constructor.

Instances

Eq AssociateVPCWithHostedZoneResponse Source # 
Data AssociateVPCWithHostedZoneResponse Source # 

Methods

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

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

toConstr :: AssociateVPCWithHostedZoneResponse -> Constr #

dataTypeOf :: AssociateVPCWithHostedZoneResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read AssociateVPCWithHostedZoneResponse Source # 
Show AssociateVPCWithHostedZoneResponse Source # 
Generic AssociateVPCWithHostedZoneResponse Source # 
NFData AssociateVPCWithHostedZoneResponse Source # 
type Rep AssociateVPCWithHostedZoneResponse Source # 
type Rep AssociateVPCWithHostedZoneResponse = D1 (MetaData "AssociateVPCWithHostedZoneResponse" "Network.AWS.Route53.AssociateVPCWithHostedZone" "amazonka-route53-1.4.3-GVCZrM1VgYbI4WdWSABHKg" False) (C1 (MetaCons "AssociateVPCWithHostedZoneResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_avwhzrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)) (S1 (MetaSel (Just Symbol "_avwhzrsChangeInfo") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 ChangeInfo))))

Response Lenses

avwhzrsChangeInfo :: Lens' AssociateVPCWithHostedZoneResponse ChangeInfo Source #

A complex type that contains the ID, the status, and the date and time of your AssociateVPCWithHostedZoneRequest.