Safe Haskell | None |
---|---|
Language | Haskell2010 |
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
- data AssociateVPCWithHostedZone
- associateVPCWithHostedZone :: Text -> VPC -> AssociateVPCWithHostedZone
- avpcwhzComment :: Lens' AssociateVPCWithHostedZone (Maybe Text)
- avpcwhzHostedZoneId :: Lens' AssociateVPCWithHostedZone Text
- avpcwhzVPC :: Lens' AssociateVPCWithHostedZone VPC
- data AssociateVPCWithHostedZoneResponse
- associateVPCWithHostedZoneResponse :: ChangeInfo -> AssociateVPCWithHostedZoneResponse
- avpcwhzrChangeInfo :: Lens' AssociateVPCWithHostedZoneResponse ChangeInfo
Request
data AssociateVPCWithHostedZone Source
Request constructor
associateVPCWithHostedZone Source
AssociateVPCWithHostedZone
constructor.
The fields accessible through corresponding lenses are:
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
associateVPCWithHostedZoneResponse Source
AssociateVPCWithHostedZoneResponse
constructor.
The fields accessible through corresponding lenses are:
Response lenses
avpcwhzrChangeInfo :: Lens' AssociateVPCWithHostedZoneResponse ChangeInfo Source
A complex type that contains the ID, the status, and the date and time of
your AssociateVPCWithHostedZoneRequest
.