amazonka-route53-1.6.1: 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.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 # 
Instance details

Defined in Network.AWS.Route53.CreateVPCAssociationAuthorization

Data CreateVPCAssociationAuthorization Source # 
Instance details

Defined in Network.AWS.Route53.CreateVPCAssociationAuthorization

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 # 
Instance details

Defined in Network.AWS.Route53.CreateVPCAssociationAuthorization

Show CreateVPCAssociationAuthorization Source # 
Instance details

Defined in Network.AWS.Route53.CreateVPCAssociationAuthorization

Generic CreateVPCAssociationAuthorization Source # 
Instance details

Defined in Network.AWS.Route53.CreateVPCAssociationAuthorization

Associated Types

type Rep CreateVPCAssociationAuthorization :: Type -> Type #

Hashable CreateVPCAssociationAuthorization Source # 
Instance details

Defined in Network.AWS.Route53.CreateVPCAssociationAuthorization

AWSRequest CreateVPCAssociationAuthorization Source # 
Instance details

Defined in Network.AWS.Route53.CreateVPCAssociationAuthorization

Associated Types

type Rs CreateVPCAssociationAuthorization :: Type #

ToElement CreateVPCAssociationAuthorization Source # 
Instance details

Defined in Network.AWS.Route53.CreateVPCAssociationAuthorization

ToXML CreateVPCAssociationAuthorization Source # 
Instance details

Defined in Network.AWS.Route53.CreateVPCAssociationAuthorization

ToHeaders CreateVPCAssociationAuthorization Source # 
Instance details

Defined in Network.AWS.Route53.CreateVPCAssociationAuthorization

ToPath CreateVPCAssociationAuthorization Source # 
Instance details

Defined in Network.AWS.Route53.CreateVPCAssociationAuthorization

ToQuery CreateVPCAssociationAuthorization Source # 
Instance details

Defined in Network.AWS.Route53.CreateVPCAssociationAuthorization

NFData CreateVPCAssociationAuthorization Source # 
Instance details

Defined in Network.AWS.Route53.CreateVPCAssociationAuthorization

type Rep CreateVPCAssociationAuthorization Source # 
Instance details

Defined in Network.AWS.Route53.CreateVPCAssociationAuthorization

type Rep CreateVPCAssociationAuthorization = D1 (MetaData "CreateVPCAssociationAuthorization" "Network.AWS.Route53.CreateVPCAssociationAuthorization" "amazonka-route53-1.6.1-FKj3w6bny4r4NCyL7bsSVl" False) (C1 (MetaCons "CreateVPCAssociationAuthorization'" PrefixI True) (S1 (MetaSel (Just "_cvaaHostedZoneId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 ResourceId) :*: S1 (MetaSel (Just "_cvaaVPC") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 VPC)))
type Rs CreateVPCAssociationAuthorization Source # 
Instance details

Defined in Network.AWS.Route53.CreateVPCAssociationAuthorization

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 # 
Instance details

Defined in Network.AWS.Route53.CreateVPCAssociationAuthorization

Data CreateVPCAssociationAuthorizationResponse Source # 
Instance details

Defined in Network.AWS.Route53.CreateVPCAssociationAuthorization

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 # 
Instance details

Defined in Network.AWS.Route53.CreateVPCAssociationAuthorization

Show CreateVPCAssociationAuthorizationResponse Source # 
Instance details

Defined in Network.AWS.Route53.CreateVPCAssociationAuthorization

Generic CreateVPCAssociationAuthorizationResponse Source # 
Instance details

Defined in Network.AWS.Route53.CreateVPCAssociationAuthorization

NFData CreateVPCAssociationAuthorizationResponse Source # 
Instance details

Defined in Network.AWS.Route53.CreateVPCAssociationAuthorization

type Rep CreateVPCAssociationAuthorizationResponse Source # 
Instance details

Defined in Network.AWS.Route53.CreateVPCAssociationAuthorization

type Rep CreateVPCAssociationAuthorizationResponse = D1 (MetaData "CreateVPCAssociationAuthorizationResponse" "Network.AWS.Route53.CreateVPCAssociationAuthorization" "amazonka-route53-1.6.1-FKj3w6bny4r4NCyL7bsSVl" False) (C1 (MetaCons "CreateVPCAssociationAuthorizationResponse'" PrefixI True) (S1 (MetaSel (Just "_cvaarsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int) :*: (S1 (MetaSel (Just "_cvaarsHostedZoneId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 ResourceId) :*: S1 (MetaSel (Just "_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.