amazonka-autoscaling-1.4.5: Amazon Auto Scaling 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.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 #

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 #

Contains the parameters for AttachLoadBalancers.

See: attachLoadBalancers smart constructor.

Instances

Eq AttachLoadBalancers # 
Data AttachLoadBalancers # 

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 # 
Show AttachLoadBalancers # 
Generic AttachLoadBalancers # 
Hashable AttachLoadBalancers # 
NFData AttachLoadBalancers # 

Methods

rnf :: AttachLoadBalancers -> () #

AWSRequest AttachLoadBalancers # 
ToQuery AttachLoadBalancers # 
ToPath AttachLoadBalancers # 
ToHeaders AttachLoadBalancers # 
type Rep AttachLoadBalancers # 
type Rep AttachLoadBalancers = D1 (MetaData "AttachLoadBalancers" "Network.AWS.AutoScaling.AttachLoadBalancers" "amazonka-autoscaling-1.4.5-7eWJWM4Di3O2fihmLpacNP" 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 # 

Request Lenses

albLoadBalancerNames :: Lens' AttachLoadBalancers [Text] #

One or more load balancer names.

Destructuring the Response

attachLoadBalancersResponse #

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 #

Contains the output of AttachLoadBalancers.

See: attachLoadBalancersResponse smart constructor.

Instances

Eq AttachLoadBalancersResponse # 
Data AttachLoadBalancersResponse # 

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 # 
Show AttachLoadBalancersResponse # 
Generic AttachLoadBalancersResponse # 
NFData AttachLoadBalancersResponse # 
type Rep AttachLoadBalancersResponse # 
type Rep AttachLoadBalancersResponse = D1 (MetaData "AttachLoadBalancersResponse" "Network.AWS.AutoScaling.AttachLoadBalancers" "amazonka-autoscaling-1.4.5-7eWJWM4Di3O2fihmLpacNP" True) (C1 (MetaCons "AttachLoadBalancersResponse'" PrefixI True) (S1 (MetaSel (Just Symbol "_albrsResponseStatus") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int)))

Response Lenses