amazonka-elb-1.6.0: Amazon Elastic Load Balancing 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.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 Classic Load Balancer Guide .

Synopsis

Creating a Request

attachLoadBalancerToSubnets #

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 #

Contains the parameters for AttachLoaBalancerToSubnets.

See: attachLoadBalancerToSubnets smart constructor.

Instances

Eq AttachLoadBalancerToSubnets # 
Data AttachLoadBalancerToSubnets # 

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 # 
Show AttachLoadBalancerToSubnets # 
Generic AttachLoadBalancerToSubnets # 
Hashable AttachLoadBalancerToSubnets # 
NFData AttachLoadBalancerToSubnets # 
AWSRequest AttachLoadBalancerToSubnets # 
ToHeaders AttachLoadBalancerToSubnets # 
ToPath AttachLoadBalancerToSubnets # 
ToQuery AttachLoadBalancerToSubnets # 
type Rep AttachLoadBalancerToSubnets # 
type Rep AttachLoadBalancerToSubnets = D1 * (MetaData "AttachLoadBalancerToSubnets" "Network.AWS.ELB.AttachLoadBalancerToSubnets" "amazonka-elb-1.6.0-AOAnHslRpzcHbl5E6mmVU1" 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 # 

Request Lenses

albtsSubnets :: Lens' AttachLoadBalancerToSubnets [Text] #

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

Destructuring the Response

attachLoadBalancerToSubnetsResponse #

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 #

Contains the output of AttachLoadBalancerToSubnets.

See: attachLoadBalancerToSubnetsResponse smart constructor.

Instances

Eq AttachLoadBalancerToSubnetsResponse # 
Data AttachLoadBalancerToSubnetsResponse # 

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 # 
Show AttachLoadBalancerToSubnetsResponse # 
Generic AttachLoadBalancerToSubnetsResponse # 
NFData AttachLoadBalancerToSubnetsResponse # 
type Rep AttachLoadBalancerToSubnetsResponse # 
type Rep AttachLoadBalancerToSubnetsResponse = D1 * (MetaData "AttachLoadBalancerToSubnetsResponse" "Network.AWS.ELB.AttachLoadBalancerToSubnets" "amazonka-elb-1.6.0-AOAnHslRpzcHbl5E6mmVU1" 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] #

The IDs of the subnets attached to the load balancer.