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 #

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 #

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 # 
Data DeleteVPCAssociationAuthorization # 

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 # 
Show DeleteVPCAssociationAuthorization # 
Generic DeleteVPCAssociationAuthorization # 
Hashable DeleteVPCAssociationAuthorization # 
NFData DeleteVPCAssociationAuthorization # 
AWSRequest DeleteVPCAssociationAuthorization # 
ToElement DeleteVPCAssociationAuthorization # 
ToXML DeleteVPCAssociationAuthorization # 
ToQuery DeleteVPCAssociationAuthorization # 
ToPath DeleteVPCAssociationAuthorization # 
ToHeaders DeleteVPCAssociationAuthorization # 
type Rep DeleteVPCAssociationAuthorization # 
type Rep DeleteVPCAssociationAuthorization = D1 (MetaData "DeleteVPCAssociationAuthorization" "Network.AWS.Route53.DeleteVPCAssociationAuthorization" "amazonka-route53-1.4.5-1GBIEWLx4PAkG5NoOOGoJ" 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 # 

Request Lenses

dvaaHostedZoneId :: Lens' DeleteVPCAssociationAuthorization ResourceId #

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 #

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 #

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 #

Empty response for the request.

See: deleteVPCAssociationAuthorizationResponse smart constructor.

Instances

Eq DeleteVPCAssociationAuthorizationResponse # 
Data DeleteVPCAssociationAuthorizationResponse # 

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 # 
Show DeleteVPCAssociationAuthorizationResponse # 
Generic DeleteVPCAssociationAuthorizationResponse # 
NFData DeleteVPCAssociationAuthorizationResponse # 
type Rep DeleteVPCAssociationAuthorizationResponse # 
type Rep DeleteVPCAssociationAuthorizationResponse = D1 (MetaData "DeleteVPCAssociationAuthorizationResponse" "Network.AWS.Route53.DeleteVPCAssociationAuthorization" "amazonka-route53-1.4.5-1GBIEWLx4PAkG5NoOOGoJ" True) (C1 (MetaCons "DeleteVPCAssociationAuthorizationResponse'" PrefixI True) (S1 (MetaSel (Just Symbol "_dvaarsResponseStatus") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int)))

Response Lenses