amazonka-autoscaling-1.5.0: Amazon Auto Scaling SDK.

Copyright(c) 2013-2017 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.AutoScaling.AttachLoadBalancers

Contents

Description

Attaches one or more Classic Load Balancers to the specified Auto Scaling group.

To attach an Application Load Balancer instead, see AttachLoadBalancerTargetGroups .

To describe the load balancers for an Auto Scaling group, use DescribeLoadBalancers . To detach the load balancer from the Auto Scaling group, use DetachLoadBalancers .

For more information, see Attach a Load Balancer to Your Auto Scaling Group in the Auto Scaling User Guide .

Synopsis

Creating a Request

attachLoadBalancers Source #

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

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

data AttachLoadBalancers Source #

See: attachLoadBalancers smart constructor.

Instances

Eq AttachLoadBalancers Source # 
Data AttachLoadBalancers Source # 

Methods

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

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

toConstr :: AttachLoadBalancers -> Constr #

dataTypeOf :: AttachLoadBalancers -> DataType #

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

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

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

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

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

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

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

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

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

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

Read AttachLoadBalancers Source # 
Show AttachLoadBalancers Source # 
Generic AttachLoadBalancers Source # 
Hashable AttachLoadBalancers Source # 
NFData AttachLoadBalancers Source # 

Methods

rnf :: AttachLoadBalancers -> () #

AWSRequest AttachLoadBalancers Source # 
ToQuery AttachLoadBalancers Source # 
ToPath AttachLoadBalancers Source # 
ToHeaders AttachLoadBalancers Source # 
type Rep AttachLoadBalancers Source # 
type Rep AttachLoadBalancers = D1 (MetaData "AttachLoadBalancers" "Network.AWS.AutoScaling.AttachLoadBalancers" "amazonka-autoscaling-1.5.0-3uSQ7rugLSPKBh89f6b4aY" False) (C1 (MetaCons "AttachLoadBalancers'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_albAutoScalingGroupName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_albLoadBalancerNames") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 [Text]))))
type Rs AttachLoadBalancers Source # 

Request Lenses

albLoadBalancerNames :: Lens' AttachLoadBalancers [Text] Source #

One or more load balancer names.

Destructuring the Response

attachLoadBalancersResponse Source #

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

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

data AttachLoadBalancersResponse Source #

See: attachLoadBalancersResponse smart constructor.

Instances

Eq AttachLoadBalancersResponse Source # 
Data AttachLoadBalancersResponse Source # 

Methods

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

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

toConstr :: AttachLoadBalancersResponse -> Constr #

dataTypeOf :: AttachLoadBalancersResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read AttachLoadBalancersResponse Source # 
Show AttachLoadBalancersResponse Source # 
Generic AttachLoadBalancersResponse Source # 
NFData AttachLoadBalancersResponse Source # 
type Rep AttachLoadBalancersResponse Source # 
type Rep AttachLoadBalancersResponse = D1 (MetaData "AttachLoadBalancersResponse" "Network.AWS.AutoScaling.AttachLoadBalancers" "amazonka-autoscaling-1.5.0-3uSQ7rugLSPKBh89f6b4aY" True) (C1 (MetaCons "AttachLoadBalancersResponse'" PrefixI True) (S1 (MetaSel (Just Symbol "_albrsResponseStatus") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int)))

Response Lenses