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

Contents

Description

Associates a CIDR block with your subnet. You can only associate a single IPv6 CIDR block with your subnet. An IPv6 CIDR block must have a prefix length of /64.

Synopsis

Creating a Request

associateSubnetCidrBlock Source #

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

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

data AssociateSubnetCidrBlock Source #

See: associateSubnetCidrBlock smart constructor.

Instances

Eq AssociateSubnetCidrBlock Source # 
Data AssociateSubnetCidrBlock Source # 

Methods

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

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

toConstr :: AssociateSubnetCidrBlock -> Constr #

dataTypeOf :: AssociateSubnetCidrBlock -> DataType #

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

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

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

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

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

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

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

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

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

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

Read AssociateSubnetCidrBlock Source # 
Show AssociateSubnetCidrBlock Source # 
Generic AssociateSubnetCidrBlock Source # 
Hashable AssociateSubnetCidrBlock Source # 
NFData AssociateSubnetCidrBlock Source # 
AWSRequest AssociateSubnetCidrBlock Source # 
ToPath AssociateSubnetCidrBlock Source # 
ToHeaders AssociateSubnetCidrBlock Source # 
ToQuery AssociateSubnetCidrBlock Source # 
type Rep AssociateSubnetCidrBlock Source # 
type Rep AssociateSubnetCidrBlock = D1 (MetaData "AssociateSubnetCidrBlock" "Network.AWS.EC2.AssociateSubnetCidrBlock" "amazonka-ec2-1.4.5-4J1X1aohvSR7xjHvMmTrf6" False) (C1 (MetaCons "AssociateSubnetCidrBlock'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_ascbSubnetId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_ascbIPv6CidrBlock") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs AssociateSubnetCidrBlock Source # 

Request Lenses

ascbIPv6CidrBlock :: Lens' AssociateSubnetCidrBlock Text Source #

The IPv6 CIDR block for your subnet. The subnet must have a /64 prefix length.

Destructuring the Response

associateSubnetCidrBlockResponse Source #

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

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

data AssociateSubnetCidrBlockResponse Source #

See: associateSubnetCidrBlockResponse smart constructor.

Instances

Eq AssociateSubnetCidrBlockResponse Source # 
Data AssociateSubnetCidrBlockResponse Source # 

Methods

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

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

toConstr :: AssociateSubnetCidrBlockResponse -> Constr #

dataTypeOf :: AssociateSubnetCidrBlockResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read AssociateSubnetCidrBlockResponse Source # 
Show AssociateSubnetCidrBlockResponse Source # 
Generic AssociateSubnetCidrBlockResponse Source # 
NFData AssociateSubnetCidrBlockResponse Source # 
type Rep AssociateSubnetCidrBlockResponse Source # 
type Rep AssociateSubnetCidrBlockResponse = D1 (MetaData "AssociateSubnetCidrBlockResponse" "Network.AWS.EC2.AssociateSubnetCidrBlock" "amazonka-ec2-1.4.5-4J1X1aohvSR7xjHvMmTrf6" False) (C1 (MetaCons "AssociateSubnetCidrBlockResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_ascbrsSubnetId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_ascbrsIPv6CidrBlockAssociation") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe SubnetIPv6CidrBlockAssociation))) (S1 (MetaSel (Just Symbol "_ascbrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int)))))

Response Lenses