amazonka-route53-1.3.4: Amazon Route 53 SDK.

Copyright(c) 2013-2015 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.DisassociateVPCFromHostedZone

Contents

Description

This action disassociates a VPC from an hosted zone.

To disassociate a VPC to a hosted zone, send a POST request to the '2013-04-01/hostedzone/hosted zone ID/disassociatevpc' resource. The request body must include an XML document with a DisassociateVPCFromHostedZoneRequest element. The response returns the DisassociateVPCFromHostedZoneResponse element that contains ChangeInfo for you to track the progress of the DisassociateVPCFromHostedZoneRequest you made. See GetChange operation for how to track the progress of your change.

See: AWS API Reference for DisassociateVPCFromHostedZone.

Synopsis

Creating a Request

disassociateVPCFromHostedZone Source

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

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

Request Lenses

dvfhzComment :: Lens' DisassociateVPCFromHostedZone (Maybe Text) Source

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

dvfhzHostedZoneId :: Lens' DisassociateVPCFromHostedZone Text Source

The ID of the hosted zone you want to disassociate your VPC from.

Note that you cannot disassociate the last VPC from a hosted zone.

dvfhzVPC :: Lens' DisassociateVPCFromHostedZone VPC Source

The VPC that you want your hosted zone to be disassociated from.

Destructuring the Response

disassociateVPCFromHostedZoneResponse Source

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

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

Response Lenses

dvfhzrsChangeInfo :: Lens' DisassociateVPCFromHostedZoneResponse ChangeInfo Source

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