amazonka-route53-1.4.5: Amazon Route 53 SDK.

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

Network.AWS.Route53.DeleteVPCAssociationAuthorization

Contents

Description

Removes authorization to submit an AssociateVPCWithHostedZone request to associate a specified VPC with a hosted zone that was created by a different account. You must use the account that created the hosted zone to submit a DeleteVPCAssociationAuthorization request.

Important: Sending this request only prevents the AWS account that created the VPC from associating the VPC with the Amazon Route 53 hosted zone in the future. If the VPC is already associated with the hosted zone, DeleteVPCAssociationAuthorization won't disassociate the VPC from the hosted zone. If you want to delete an existing association, use DisassociateVPCFromHostedZone .

Send a DELETE request to the 2013-04-01hostedzone/hosted zone ID /deauthorizevpcassociation resource. The request body must include a document with a DeleteVPCAssociationAuthorizationRequest element.

Synopsis

Creating a Request

deleteVPCAssociationAuthorization Source #

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

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

  • dvaaHostedZoneId - When removing authorization to associate a VPC that was created by one AWS account with a hosted zone that was created with a different AWS account, the ID of the hosted zone.
  • dvaaVPC - When removing authorization to associate a VPC that was created by one AWS account with a hosted zone that was created with a different AWS account, a complex type that includes the ID and region of the VPC.

data DeleteVPCAssociationAuthorization Source #

A complex type that contains information about the request to remove authorization to associate a VPC that was created by one AWS account with a hosted zone that was created with a different AWS account.

See: deleteVPCAssociationAuthorization smart constructor.

Instances

Eq DeleteVPCAssociationAuthorization Source # 
Data DeleteVPCAssociationAuthorization Source # 

Methods

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

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

toConstr :: DeleteVPCAssociationAuthorization -> Constr #

dataTypeOf :: DeleteVPCAssociationAuthorization -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Request Lenses

dvaaHostedZoneId :: Lens' DeleteVPCAssociationAuthorization ResourceId Source #

When removing authorization to associate a VPC that was created by one AWS account with a hosted zone that was created with a different AWS account, the ID of the hosted zone.

dvaaVPC :: Lens' DeleteVPCAssociationAuthorization VPC Source #

When removing authorization to associate a VPC that was created by one AWS account with a hosted zone that was created with a different AWS account, a complex type that includes the ID and region of the VPC.

Destructuring the Response

deleteVPCAssociationAuthorizationResponse Source #

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

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

data DeleteVPCAssociationAuthorizationResponse Source #

Empty response for the request.

See: deleteVPCAssociationAuthorizationResponse smart constructor.

Instances

Eq DeleteVPCAssociationAuthorizationResponse Source # 
Data DeleteVPCAssociationAuthorizationResponse Source # 

Methods

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

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

toConstr :: DeleteVPCAssociationAuthorizationResponse -> Constr #

dataTypeOf :: DeleteVPCAssociationAuthorizationResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeleteVPCAssociationAuthorizationResponse Source # 
Show DeleteVPCAssociationAuthorizationResponse Source # 
Generic DeleteVPCAssociationAuthorizationResponse Source # 
NFData DeleteVPCAssociationAuthorizationResponse Source # 
type Rep DeleteVPCAssociationAuthorizationResponse Source # 
type Rep DeleteVPCAssociationAuthorizationResponse = D1 (MetaData "DeleteVPCAssociationAuthorizationResponse" "Network.AWS.Route53.DeleteVPCAssociationAuthorization" "amazonka-route53-1.4.5-DoQ7bXPvDC1HwWocjSAILy" True) (C1 (MetaCons "DeleteVPCAssociationAuthorizationResponse'" PrefixI True) (S1 (MetaSel (Just Symbol "_dvaarsResponseStatus") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int)))

Response Lenses