amazonka-elb-1.4.3: Amazon Elastic Load Balancing 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.ELB.AttachLoadBalancerToSubnets

Contents

Description

Adds one or more subnets to the set of configured subnets for the specified load balancer.

The load balancer evenly distributes requests across all registered subnets. For more information, see Add or Remove Subnets for Your Load Balancer in a VPC in the Elastic Load Balancing Developer Guide.

Synopsis

Creating a Request

attachLoadBalancerToSubnets Source #

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

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

data AttachLoadBalancerToSubnets Source #

See: attachLoadBalancerToSubnets smart constructor.

Instances

Eq AttachLoadBalancerToSubnets Source # 
Data AttachLoadBalancerToSubnets Source # 

Methods

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

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

toConstr :: AttachLoadBalancerToSubnets -> Constr #

dataTypeOf :: AttachLoadBalancerToSubnets -> DataType #

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

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

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

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

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

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

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

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

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

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

Read AttachLoadBalancerToSubnets Source # 
Show AttachLoadBalancerToSubnets Source # 
Generic AttachLoadBalancerToSubnets Source # 
Hashable AttachLoadBalancerToSubnets Source # 
NFData AttachLoadBalancerToSubnets Source # 
AWSRequest AttachLoadBalancerToSubnets Source # 
ToQuery AttachLoadBalancerToSubnets Source # 
ToPath AttachLoadBalancerToSubnets Source # 
ToHeaders AttachLoadBalancerToSubnets Source # 
type Rep AttachLoadBalancerToSubnets Source # 
type Rep AttachLoadBalancerToSubnets = D1 (MetaData "AttachLoadBalancerToSubnets" "Network.AWS.ELB.AttachLoadBalancerToSubnets" "amazonka-elb-1.4.3-6wINoQT12eC34de0iF28rP" False) (C1 (MetaCons "AttachLoadBalancerToSubnets'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_albtsLoadBalancerName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_albtsSubnets") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 [Text]))))
type Rs AttachLoadBalancerToSubnets Source # 

Request Lenses

albtsSubnets :: Lens' AttachLoadBalancerToSubnets [Text] Source #

The IDs of the subnets to add for the load balancer. You can add only one subnet per Availability Zone.

Destructuring the Response

attachLoadBalancerToSubnetsResponse Source #

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

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

data AttachLoadBalancerToSubnetsResponse Source #

See: attachLoadBalancerToSubnetsResponse smart constructor.

Instances

Eq AttachLoadBalancerToSubnetsResponse Source # 
Data AttachLoadBalancerToSubnetsResponse Source # 

Methods

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

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

toConstr :: AttachLoadBalancerToSubnetsResponse -> Constr #

dataTypeOf :: AttachLoadBalancerToSubnetsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read AttachLoadBalancerToSubnetsResponse Source # 
Show AttachLoadBalancerToSubnetsResponse Source # 
Generic AttachLoadBalancerToSubnetsResponse Source # 
NFData AttachLoadBalancerToSubnetsResponse Source # 
type Rep AttachLoadBalancerToSubnetsResponse Source # 
type Rep AttachLoadBalancerToSubnetsResponse = D1 (MetaData "AttachLoadBalancerToSubnetsResponse" "Network.AWS.ELB.AttachLoadBalancerToSubnets" "amazonka-elb-1.4.3-6wINoQT12eC34de0iF28rP" False) (C1 (MetaCons "AttachLoadBalancerToSubnetsResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_albtsrsSubnets") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))) (S1 (MetaSel (Just Symbol "_albtsrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses

albtsrsSubnets :: Lens' AttachLoadBalancerToSubnetsResponse [Text] Source #

The IDs of the subnets attached to the load balancer.