amazonka-route53-0.1.3: Amazon Route 53 SDK.

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 '2013-04-01hostedzonehosted zone ID/associatevpc resource. The request body must include an XML 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.

http://docs.aws.amazon.com/Route53/latest/APIReference/API_AssociateVPCWithHostedZone.html

Synopsis

Request

Request constructor

Request lenses

avpcwhzComment :: Lens' AssociateVPCWithHostedZone (Maybe Text) Source

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

avpcwhzHostedZoneId :: 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.

avpcwhzVPC :: Lens' AssociateVPCWithHostedZone VPC Source

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

Response

Response constructor

Response lenses

avpcwhzrChangeInfo :: Lens' AssociateVPCWithHostedZoneResponse ChangeInfo Source

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