amazonka-ec2-1.6.0: Amazon Elastic Compute Cloud 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.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 #

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 #

See: disassociateVPCCidrBlock smart constructor.

Instances

Eq DisassociateVPCCidrBlock # 
Data DisassociateVPCCidrBlock # 

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 # 
Show DisassociateVPCCidrBlock # 
Generic DisassociateVPCCidrBlock # 
Hashable DisassociateVPCCidrBlock # 
NFData DisassociateVPCCidrBlock # 
AWSRequest DisassociateVPCCidrBlock # 
ToHeaders DisassociateVPCCidrBlock # 
ToPath DisassociateVPCCidrBlock # 
ToQuery DisassociateVPCCidrBlock # 
type Rep DisassociateVPCCidrBlock # 
type Rep DisassociateVPCCidrBlock = D1 * (MetaData "DisassociateVPCCidrBlock" "Network.AWS.EC2.DisassociateVPCCidrBlock" "amazonka-ec2-1.6.0-Dm9BQRbqSOK72xbfLZMG4m" True) (C1 * (MetaCons "DisassociateVPCCidrBlock'" PrefixI True) (S1 * (MetaSel (Just Symbol "_dvcbAssociationId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Text)))
type Rs DisassociateVPCCidrBlock # 

Request Lenses

dvcbAssociationId :: Lens' DisassociateVPCCidrBlock Text #

The association ID for the CIDR block.

Destructuring the Response

disassociateVPCCidrBlockResponse #

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 #

See: disassociateVPCCidrBlockResponse smart constructor.

Instances

Eq DisassociateVPCCidrBlockResponse # 
Data DisassociateVPCCidrBlockResponse # 

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 # 
Show DisassociateVPCCidrBlockResponse # 
Generic DisassociateVPCCidrBlockResponse # 
NFData DisassociateVPCCidrBlockResponse # 
type Rep DisassociateVPCCidrBlockResponse # 
type Rep DisassociateVPCCidrBlockResponse = D1 * (MetaData "DisassociateVPCCidrBlockResponse" "Network.AWS.EC2.DisassociateVPCCidrBlock" "amazonka-ec2-1.6.0-Dm9BQRbqSOK72xbfLZMG4m" 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