amazonka-route53-1.5.0: Amazon Route 53 SDK.

Copyright(c) 2013-2017 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.CreateVPCAssociationAuthorization

Contents

Description

Authorizes the AWS account that created a specified VPC to submit an AssociateVPCWithHostedZone request to associate the VPC with a specified hosted zone that was created by a different account. To submit a CreateVPCAssociationAuthorization request, you must use the account that created the hosted zone. After you authorize the association, use the account that created the VPC to submit an AssociateVPCWithHostedZone request.

Synopsis

Creating a Request

createVPCAssociationAuthorization Source #

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

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

  • cvaaHostedZoneId - The ID of the private hosted zone that you want to authorize associating a VPC with.
  • cvaaVPC - A complex type that contains the VPC ID and region for the VPC that you want to authorize associating with your hosted zone.

data CreateVPCAssociationAuthorization Source #

A complex type that contains information about the request to authorize associating a VPC with your private hosted zone. Authorization is only required when a private hosted zone and a VPC were created by using different accounts.

See: createVPCAssociationAuthorization smart constructor.

Instances

Eq CreateVPCAssociationAuthorization Source # 
Data CreateVPCAssociationAuthorization Source # 

Methods

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

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

toConstr :: CreateVPCAssociationAuthorization -> Constr #

dataTypeOf :: CreateVPCAssociationAuthorization -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CreateVPCAssociationAuthorization Source # 
Show CreateVPCAssociationAuthorization Source # 
Generic CreateVPCAssociationAuthorization Source # 
Hashable CreateVPCAssociationAuthorization Source # 
NFData CreateVPCAssociationAuthorization Source # 
AWSRequest CreateVPCAssociationAuthorization Source # 
ToElement CreateVPCAssociationAuthorization Source # 
ToXML CreateVPCAssociationAuthorization Source # 
ToQuery CreateVPCAssociationAuthorization Source # 
ToPath CreateVPCAssociationAuthorization Source # 
ToHeaders CreateVPCAssociationAuthorization Source # 
type Rep CreateVPCAssociationAuthorization Source # 
type Rep CreateVPCAssociationAuthorization = D1 (MetaData "CreateVPCAssociationAuthorization" "Network.AWS.Route53.CreateVPCAssociationAuthorization" "amazonka-route53-1.5.0-A9em4xt2RK07uc01kiXLe0" False) (C1 (MetaCons "CreateVPCAssociationAuthorization'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_cvaaHostedZoneId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 ResourceId)) (S1 (MetaSel (Just Symbol "_cvaaVPC") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 VPC))))
type Rs CreateVPCAssociationAuthorization Source # 

Request Lenses

cvaaHostedZoneId :: Lens' CreateVPCAssociationAuthorization ResourceId Source #

The ID of the private hosted zone that you want to authorize associating a VPC with.

cvaaVPC :: Lens' CreateVPCAssociationAuthorization VPC Source #

A complex type that contains the VPC ID and region for the VPC that you want to authorize associating with your hosted zone.

Destructuring the Response

createVPCAssociationAuthorizationResponse Source #

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

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

data CreateVPCAssociationAuthorizationResponse Source #

A complex type that contains the response information from a CreateVPCAssociationAuthorization request.

See: createVPCAssociationAuthorizationResponse smart constructor.

Instances

Eq CreateVPCAssociationAuthorizationResponse Source # 
Data CreateVPCAssociationAuthorizationResponse Source # 

Methods

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

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

toConstr :: CreateVPCAssociationAuthorizationResponse -> Constr #

dataTypeOf :: CreateVPCAssociationAuthorizationResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CreateVPCAssociationAuthorizationResponse Source # 
Show CreateVPCAssociationAuthorizationResponse Source # 
Generic CreateVPCAssociationAuthorizationResponse Source # 
NFData CreateVPCAssociationAuthorizationResponse Source # 
type Rep CreateVPCAssociationAuthorizationResponse Source # 
type Rep CreateVPCAssociationAuthorizationResponse = D1 (MetaData "CreateVPCAssociationAuthorizationResponse" "Network.AWS.Route53.CreateVPCAssociationAuthorization" "amazonka-route53-1.5.0-A9em4xt2RK07uc01kiXLe0" False) (C1 (MetaCons "CreateVPCAssociationAuthorizationResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_cvaarsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)) ((:*:) (S1 (MetaSel (Just Symbol "_cvaarsHostedZoneId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 ResourceId)) (S1 (MetaSel (Just Symbol "_cvaarsVPC") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 VPC)))))

Response Lenses

cvaarsHostedZoneId :: Lens' CreateVPCAssociationAuthorizationResponse ResourceId Source #

The ID of the hosted zone that you authorized associating a VPC with.

cvaarsVPC :: Lens' CreateVPCAssociationAuthorizationResponse VPC Source #

The VPC that you authorized associating with a hosted zone.