amazonka-route53-1.4.1: 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.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 '/Route 53 API version/hostedzone/hosted zone ID/disassociatevpc' resource. The request body must include a 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.

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:

data DisassociateVPCFromHostedZone Source #

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

See: disassociateVPCFromHostedZone smart constructor.

Instances

Eq DisassociateVPCFromHostedZone Source # 
Data DisassociateVPCFromHostedZone Source # 

Methods

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

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

toConstr :: DisassociateVPCFromHostedZone -> Constr #

dataTypeOf :: DisassociateVPCFromHostedZone -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DisassociateVPCFromHostedZone Source # 
Show DisassociateVPCFromHostedZone Source # 
Generic DisassociateVPCFromHostedZone Source # 
Hashable DisassociateVPCFromHostedZone Source # 
NFData DisassociateVPCFromHostedZone Source # 
AWSRequest DisassociateVPCFromHostedZone Source # 
ToElement DisassociateVPCFromHostedZone Source # 
ToXML DisassociateVPCFromHostedZone Source # 
ToQuery DisassociateVPCFromHostedZone Source # 
ToPath DisassociateVPCFromHostedZone Source # 
ToHeaders DisassociateVPCFromHostedZone Source # 
type Rep DisassociateVPCFromHostedZone Source # 
type Rep DisassociateVPCFromHostedZone = D1 (MetaData "DisassociateVPCFromHostedZone" "Network.AWS.Route53.DisassociateVPCFromHostedZone" "amazonka-route53-1.4.1-7tbQwgQHkMc6ifX3UPZcPu" False) (C1 (MetaCons "DisassociateVPCFromHostedZone'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_dvfhzComment") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_dvfhzHostedZoneId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_dvfhzVPC") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 VPC)))))
type Rs DisassociateVPCFromHostedZone Source # 

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:

data DisassociateVPCFromHostedZoneResponse Source #

A complex type containing the response information for the request.

See: disassociateVPCFromHostedZoneResponse smart constructor.

Instances

Eq DisassociateVPCFromHostedZoneResponse Source # 
Data DisassociateVPCFromHostedZoneResponse Source # 

Methods

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

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

toConstr :: DisassociateVPCFromHostedZoneResponse -> Constr #

dataTypeOf :: DisassociateVPCFromHostedZoneResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DisassociateVPCFromHostedZoneResponse Source # 
Show DisassociateVPCFromHostedZoneResponse Source # 
Generic DisassociateVPCFromHostedZoneResponse Source # 
NFData DisassociateVPCFromHostedZoneResponse Source # 
type Rep DisassociateVPCFromHostedZoneResponse Source # 
type Rep DisassociateVPCFromHostedZoneResponse = D1 (MetaData "DisassociateVPCFromHostedZoneResponse" "Network.AWS.Route53.DisassociateVPCFromHostedZone" "amazonka-route53-1.4.1-7tbQwgQHkMc6ifX3UPZcPu" False) (C1 (MetaCons "DisassociateVPCFromHostedZoneResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_dvfhzrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)) (S1 (MetaSel (Just Symbol "_dvfhzrsChangeInfo") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 ChangeInfo))))

Response Lenses

dvfhzrsChangeInfo :: Lens' DisassociateVPCFromHostedZoneResponse ChangeInfo Source #

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