amazonka-ec2-1.5.0: Amazon Elastic Compute Cloud 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.EC2.DisassociateVPCCidrBlock

Contents

Description

Disassociates a CIDR block from a VPC. To disassociate the CIDR block, you must specify its association ID. You can get the association ID by using DescribeVpcs . You must detach or delete all gateways and resources that are associated with the CIDR block before you can disassociate it.

You cannot disassociate the CIDR block with which you originally created the VPC (the primary CIDR block).

Synopsis

Creating a Request

disassociateVPCCidrBlock Source #

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

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

data DisassociateVPCCidrBlock Source #

See: disassociateVPCCidrBlock smart constructor.

Instances

Eq DisassociateVPCCidrBlock Source # 
Data DisassociateVPCCidrBlock Source # 

Methods

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

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

toConstr :: DisassociateVPCCidrBlock -> Constr #

dataTypeOf :: DisassociateVPCCidrBlock -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DisassociateVPCCidrBlock Source # 
Show DisassociateVPCCidrBlock Source # 
Generic DisassociateVPCCidrBlock Source # 
Hashable DisassociateVPCCidrBlock Source # 
NFData DisassociateVPCCidrBlock Source # 
AWSRequest DisassociateVPCCidrBlock Source # 
ToQuery DisassociateVPCCidrBlock Source # 
ToPath DisassociateVPCCidrBlock Source # 
ToHeaders DisassociateVPCCidrBlock Source # 
type Rep DisassociateVPCCidrBlock Source # 
type Rep DisassociateVPCCidrBlock = D1 (MetaData "DisassociateVPCCidrBlock" "Network.AWS.EC2.DisassociateVPCCidrBlock" "amazonka-ec2-1.5.0-8IdXK3SzsETDMW2aFpANS9" True) (C1 (MetaCons "DisassociateVPCCidrBlock'" PrefixI True) (S1 (MetaSel (Just Symbol "_dvcbAssociationId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Rs DisassociateVPCCidrBlock Source # 

Request Lenses

dvcbAssociationId :: Lens' DisassociateVPCCidrBlock Text Source #

The association ID for the CIDR block.

Destructuring the Response

disassociateVPCCidrBlockResponse Source #

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

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

data DisassociateVPCCidrBlockResponse Source #

See: disassociateVPCCidrBlockResponse smart constructor.

Instances

Eq DisassociateVPCCidrBlockResponse Source # 
Data DisassociateVPCCidrBlockResponse Source # 

Methods

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

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

toConstr :: DisassociateVPCCidrBlockResponse -> Constr #

dataTypeOf :: DisassociateVPCCidrBlockResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DisassociateVPCCidrBlockResponse Source # 
Show DisassociateVPCCidrBlockResponse Source # 
Generic DisassociateVPCCidrBlockResponse Source # 
NFData DisassociateVPCCidrBlockResponse Source # 
type Rep DisassociateVPCCidrBlockResponse Source # 
type Rep DisassociateVPCCidrBlockResponse = D1 (MetaData "DisassociateVPCCidrBlockResponse" "Network.AWS.EC2.DisassociateVPCCidrBlock" "amazonka-ec2-1.5.0-8IdXK3SzsETDMW2aFpANS9" False) (C1 (MetaCons "DisassociateVPCCidrBlockResponse'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_dvcbrsVPCId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_dvcbrsCidrBlockAssociation") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe VPCCidrBlockAssociation)))) ((:*:) (S1 (MetaSel (Just Symbol "_dvcbrsIPv6CidrBlockAssociation") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe VPCIPv6CidrBlockAssociation))) (S1 (MetaSel (Just Symbol "_dvcbrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))))

Response Lenses