amazonka-ec2-1.6.1: 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 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 # 
Instance details

Defined in Network.AWS.EC2.DisassociateVPCCidrBlock

Data DisassociateVPCCidrBlock Source # 
Instance details

Defined in Network.AWS.EC2.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 Source # 
Instance details

Defined in Network.AWS.EC2.DisassociateVPCCidrBlock

Show DisassociateVPCCidrBlock Source # 
Instance details

Defined in Network.AWS.EC2.DisassociateVPCCidrBlock

Generic DisassociateVPCCidrBlock Source # 
Instance details

Defined in Network.AWS.EC2.DisassociateVPCCidrBlock

Associated Types

type Rep DisassociateVPCCidrBlock :: Type -> Type #

Hashable DisassociateVPCCidrBlock Source # 
Instance details

Defined in Network.AWS.EC2.DisassociateVPCCidrBlock

AWSRequest DisassociateVPCCidrBlock Source # 
Instance details

Defined in Network.AWS.EC2.DisassociateVPCCidrBlock

Associated Types

type Rs DisassociateVPCCidrBlock :: Type #

ToHeaders DisassociateVPCCidrBlock Source # 
Instance details

Defined in Network.AWS.EC2.DisassociateVPCCidrBlock

ToPath DisassociateVPCCidrBlock Source # 
Instance details

Defined in Network.AWS.EC2.DisassociateVPCCidrBlock

ToQuery DisassociateVPCCidrBlock Source # 
Instance details

Defined in Network.AWS.EC2.DisassociateVPCCidrBlock

NFData DisassociateVPCCidrBlock Source # 
Instance details

Defined in Network.AWS.EC2.DisassociateVPCCidrBlock

type Rep DisassociateVPCCidrBlock Source # 
Instance details

Defined in Network.AWS.EC2.DisassociateVPCCidrBlock

type Rep DisassociateVPCCidrBlock = D1 (MetaData "DisassociateVPCCidrBlock" "Network.AWS.EC2.DisassociateVPCCidrBlock" "amazonka-ec2-1.6.1-GgG1M0FWcBrE5I5IM2QktE" True) (C1 (MetaCons "DisassociateVPCCidrBlock'" PrefixI True) (S1 (MetaSel (Just "_dvcbAssociationId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Rs DisassociateVPCCidrBlock Source # 
Instance details

Defined in Network.AWS.EC2.DisassociateVPCCidrBlock

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

Defined in Network.AWS.EC2.DisassociateVPCCidrBlock

Data DisassociateVPCCidrBlockResponse Source # 
Instance details

Defined in Network.AWS.EC2.DisassociateVPCCidrBlock

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

Defined in Network.AWS.EC2.DisassociateVPCCidrBlock

Show DisassociateVPCCidrBlockResponse Source # 
Instance details

Defined in Network.AWS.EC2.DisassociateVPCCidrBlock

Generic DisassociateVPCCidrBlockResponse Source # 
Instance details

Defined in Network.AWS.EC2.DisassociateVPCCidrBlock

Associated Types

type Rep DisassociateVPCCidrBlockResponse :: Type -> Type #

NFData DisassociateVPCCidrBlockResponse Source # 
Instance details

Defined in Network.AWS.EC2.DisassociateVPCCidrBlock

type Rep DisassociateVPCCidrBlockResponse Source # 
Instance details

Defined in Network.AWS.EC2.DisassociateVPCCidrBlock

type Rep DisassociateVPCCidrBlockResponse = D1 (MetaData "DisassociateVPCCidrBlockResponse" "Network.AWS.EC2.DisassociateVPCCidrBlock" "amazonka-ec2-1.6.1-GgG1M0FWcBrE5I5IM2QktE" False) (C1 (MetaCons "DisassociateVPCCidrBlockResponse'" PrefixI True) ((S1 (MetaSel (Just "_dvcbrsVPCId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_dvcbrsCidrBlockAssociation") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe VPCCidrBlockAssociation))) :*: (S1 (MetaSel (Just "_dvcbrsIPv6CidrBlockAssociation") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe VPCIPv6CidrBlockAssociation)) :*: S1 (MetaSel (Just "_dvcbrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses