amazonka-route53-1.6.0: Amazon Route 53 SDK.

Copyright(c) 2013-2018 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.Route53.DisassociateVPCFromHostedZone

Contents

Description

Disassociates a VPC from a Amazon Route 53 private hosted zone.

Important: You can't disassociate a VPC from a private hosted zone when only one VPC is associated with the hosted zone. You also can't convert a private hosted zone into a public hosted zone.

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:

  • dvfhzComment - Optional: A comment about the disassociation request.
  • dvfhzHostedZoneId - The ID of the private hosted zone that you want to disassociate a VPC from.
  • dvfhzVPC - A complex type that contains information about the VPC that you're disassociating from the specified hosted zone.

data DisassociateVPCFromHostedZone Source #

A complex type that contains information about the VPC that you want to disassociate from a specified private 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 # 
ToHeaders DisassociateVPCFromHostedZone Source # 
ToPath DisassociateVPCFromHostedZone Source # 
ToQuery DisassociateVPCFromHostedZone Source # 
type Rep DisassociateVPCFromHostedZone Source # 
type Rep DisassociateVPCFromHostedZone = D1 * (MetaData "DisassociateVPCFromHostedZone" "Network.AWS.Route53.DisassociateVPCFromHostedZone" "amazonka-route53-1.6.0-Ak5sZypnFS3AFXHlAYIveI" 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 * ResourceId)) (S1 * (MetaSel (Just Symbol "_dvfhzVPC") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * VPC)))))
type Rs DisassociateVPCFromHostedZone Source # 

Request Lenses

dvfhzComment :: Lens' DisassociateVPCFromHostedZone (Maybe Text) Source #

Optional: A comment about the disassociation request.

dvfhzHostedZoneId :: Lens' DisassociateVPCFromHostedZone ResourceId Source #

The ID of the private hosted zone that you want to disassociate a VPC from.

dvfhzVPC :: Lens' DisassociateVPCFromHostedZone VPC Source #

A complex type that contains information about the VPC that you're disassociating from the specified hosted zone.

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 that contains the response information for the disassociate 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.6.0-Ak5sZypnFS3AFXHlAYIveI" 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 describes the changes made to the specified private hosted zone.