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.AssociateVPCWithHostedZone

Contents

Description

Associates an Amazon VPC with a private hosted zone.

Important: To perform the association, the VPC and the private hosted zone must already exist. You can't convert a public hosted zone into a private hosted zone.

Synopsis

Creating a Request

associateVPCWithHostedZone Source #

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

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

  • avwhzComment - Optional: A comment about the association request.
  • avwhzHostedZoneId - The ID of the private hosted zone that you want to associate an Amazon VPC with. Note that you can't associate a VPC with a hosted zone that doesn't have an existing VPC association.
  • avwhzVPC - A complex type that contains information about the VPC that you want to associate with a private hosted zone.

data AssociateVPCWithHostedZone Source #

A complex type that contains information about the request to associate a VPC with a private hosted zone.

See: associateVPCWithHostedZone smart constructor.

Instances

Eq AssociateVPCWithHostedZone Source # 
Data AssociateVPCWithHostedZone Source # 

Methods

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

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

toConstr :: AssociateVPCWithHostedZone -> Constr #

dataTypeOf :: AssociateVPCWithHostedZone -> DataType #

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

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

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

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

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

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

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

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

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

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

Read AssociateVPCWithHostedZone Source # 
Show AssociateVPCWithHostedZone Source # 
Generic AssociateVPCWithHostedZone Source # 
Hashable AssociateVPCWithHostedZone Source # 
NFData AssociateVPCWithHostedZone Source # 
AWSRequest AssociateVPCWithHostedZone Source # 
ToElement AssociateVPCWithHostedZone Source # 
ToXML AssociateVPCWithHostedZone Source # 
ToHeaders AssociateVPCWithHostedZone Source # 
ToPath AssociateVPCWithHostedZone Source # 
ToQuery AssociateVPCWithHostedZone Source # 
type Rep AssociateVPCWithHostedZone Source # 
type Rep AssociateVPCWithHostedZone = D1 * (MetaData "AssociateVPCWithHostedZone" "Network.AWS.Route53.AssociateVPCWithHostedZone" "amazonka-route53-1.6.0-Ak5sZypnFS3AFXHlAYIveI" False) (C1 * (MetaCons "AssociateVPCWithHostedZone'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_avwhzComment") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_avwhzHostedZoneId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * ResourceId)) (S1 * (MetaSel (Just Symbol "_avwhzVPC") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * VPC)))))
type Rs AssociateVPCWithHostedZone Source # 

Request Lenses

avwhzComment :: Lens' AssociateVPCWithHostedZone (Maybe Text) Source #

Optional: A comment about the association request.

avwhzHostedZoneId :: Lens' AssociateVPCWithHostedZone ResourceId Source #

The ID of the private hosted zone that you want to associate an Amazon VPC with. Note that you can't associate a VPC with a hosted zone that doesn't have an existing VPC association.

avwhzVPC :: Lens' AssociateVPCWithHostedZone VPC Source #

A complex type that contains information about the VPC that you want to associate with a private hosted zone.

Destructuring the Response

associateVPCWithHostedZoneResponse Source #

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

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

data AssociateVPCWithHostedZoneResponse Source #

A complex type that contains the response information for the AssociateVPCWithHostedZone request.

See: associateVPCWithHostedZoneResponse smart constructor.

Instances

Eq AssociateVPCWithHostedZoneResponse Source # 
Data AssociateVPCWithHostedZoneResponse Source # 

Methods

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

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

toConstr :: AssociateVPCWithHostedZoneResponse -> Constr #

dataTypeOf :: AssociateVPCWithHostedZoneResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read AssociateVPCWithHostedZoneResponse Source # 
Show AssociateVPCWithHostedZoneResponse Source # 
Generic AssociateVPCWithHostedZoneResponse Source # 
NFData AssociateVPCWithHostedZoneResponse Source # 
type Rep AssociateVPCWithHostedZoneResponse Source # 
type Rep AssociateVPCWithHostedZoneResponse = D1 * (MetaData "AssociateVPCWithHostedZoneResponse" "Network.AWS.Route53.AssociateVPCWithHostedZone" "amazonka-route53-1.6.0-Ak5sZypnFS3AFXHlAYIveI" False) (C1 * (MetaCons "AssociateVPCWithHostedZoneResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_avwhzrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int)) (S1 * (MetaSel (Just Symbol "_avwhzrsChangeInfo") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * ChangeInfo))))

Response Lenses

avwhzrsChangeInfo :: Lens' AssociateVPCWithHostedZoneResponse ChangeInfo Source #

A complex type that describes the changes made to your hosted zone.