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

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 #

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

Defined in Network.AWS.Route53.CreateVPCAssociationAuthorization

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

Defined in Network.AWS.Route53.CreateVPCAssociationAuthorization

Show CreateVPCAssociationAuthorization # 
Instance details

Defined in Network.AWS.Route53.CreateVPCAssociationAuthorization

Generic CreateVPCAssociationAuthorization # 
Instance details

Defined in Network.AWS.Route53.CreateVPCAssociationAuthorization

Associated Types

type Rep CreateVPCAssociationAuthorization :: * -> * #

Hashable CreateVPCAssociationAuthorization # 
Instance details

Defined in Network.AWS.Route53.CreateVPCAssociationAuthorization

AWSRequest CreateVPCAssociationAuthorization # 
Instance details

Defined in Network.AWS.Route53.CreateVPCAssociationAuthorization

Associated Types

type Rs CreateVPCAssociationAuthorization :: * #

ToElement CreateVPCAssociationAuthorization # 
Instance details

Defined in Network.AWS.Route53.CreateVPCAssociationAuthorization

ToXML CreateVPCAssociationAuthorization # 
Instance details

Defined in Network.AWS.Route53.CreateVPCAssociationAuthorization

ToHeaders CreateVPCAssociationAuthorization # 
Instance details

Defined in Network.AWS.Route53.CreateVPCAssociationAuthorization

ToPath CreateVPCAssociationAuthorization # 
Instance details

Defined in Network.AWS.Route53.CreateVPCAssociationAuthorization

ToQuery CreateVPCAssociationAuthorization # 
Instance details

Defined in Network.AWS.Route53.CreateVPCAssociationAuthorization

NFData CreateVPCAssociationAuthorization # 
Instance details

Defined in Network.AWS.Route53.CreateVPCAssociationAuthorization

type Rep CreateVPCAssociationAuthorization # 
Instance details

Defined in Network.AWS.Route53.CreateVPCAssociationAuthorization

type Rep CreateVPCAssociationAuthorization = D1 (MetaData "CreateVPCAssociationAuthorization" "Network.AWS.Route53.CreateVPCAssociationAuthorization" "amazonka-route53-1.6.0-P8x47gYAPqA73vX07XKxO" 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 # 
Instance details

Defined in Network.AWS.Route53.CreateVPCAssociationAuthorization

Request Lenses

cvaaHostedZoneId :: Lens' CreateVPCAssociationAuthorization ResourceId #

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

cvaaVPC :: Lens' CreateVPCAssociationAuthorization VPC #

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 #

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 #

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

See: createVPCAssociationAuthorizationResponse smart constructor.

Instances
Eq CreateVPCAssociationAuthorizationResponse # 
Instance details

Defined in Network.AWS.Route53.CreateVPCAssociationAuthorization

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

Defined in Network.AWS.Route53.CreateVPCAssociationAuthorization

Show CreateVPCAssociationAuthorizationResponse # 
Instance details

Defined in Network.AWS.Route53.CreateVPCAssociationAuthorization

Generic CreateVPCAssociationAuthorizationResponse # 
Instance details

Defined in Network.AWS.Route53.CreateVPCAssociationAuthorization

NFData CreateVPCAssociationAuthorizationResponse # 
Instance details

Defined in Network.AWS.Route53.CreateVPCAssociationAuthorization

type Rep CreateVPCAssociationAuthorizationResponse # 
Instance details

Defined in Network.AWS.Route53.CreateVPCAssociationAuthorization

type Rep CreateVPCAssociationAuthorizationResponse = D1 (MetaData "CreateVPCAssociationAuthorizationResponse" "Network.AWS.Route53.CreateVPCAssociationAuthorization" "amazonka-route53-1.6.0-P8x47gYAPqA73vX07XKxO" 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 #

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

cvaarsVPC :: Lens' CreateVPCAssociationAuthorizationResponse VPC #

The VPC that you authorized associating with a hosted zone.