amazonka-autoscaling-1.6.1: Amazon Auto Scaling 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.AutoScaling.DescribeLoadBalancers

Contents

Description

Describes the load balancers for the specified Auto Scaling group.

Note that this operation describes only Classic Load Balancers. If you have Application Load Balancers, use DescribeLoadBalancerTargetGroups instead.

Synopsis

Creating a Request

describeLoadBalancers Source #

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

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

  • dlbNextToken - The token for the next set of items to return. (You received this token from a previous call.)
  • dlbMaxRecords - The maximum number of items to return with this call. The default value is 100 and the maximum value is 100.
  • dlbAutoScalingGroupName - The name of the Auto Scaling group.

data DescribeLoadBalancers Source #

See: describeLoadBalancers smart constructor.

Instances
Eq DescribeLoadBalancers Source # 
Instance details

Defined in Network.AWS.AutoScaling.DescribeLoadBalancers

Data DescribeLoadBalancers Source # 
Instance details

Defined in Network.AWS.AutoScaling.DescribeLoadBalancers

Methods

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

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

toConstr :: DescribeLoadBalancers -> Constr #

dataTypeOf :: DescribeLoadBalancers -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DescribeLoadBalancers Source # 
Instance details

Defined in Network.AWS.AutoScaling.DescribeLoadBalancers

Show DescribeLoadBalancers Source # 
Instance details

Defined in Network.AWS.AutoScaling.DescribeLoadBalancers

Generic DescribeLoadBalancers Source # 
Instance details

Defined in Network.AWS.AutoScaling.DescribeLoadBalancers

Associated Types

type Rep DescribeLoadBalancers :: Type -> Type #

Hashable DescribeLoadBalancers Source # 
Instance details

Defined in Network.AWS.AutoScaling.DescribeLoadBalancers

AWSRequest DescribeLoadBalancers Source # 
Instance details

Defined in Network.AWS.AutoScaling.DescribeLoadBalancers

Associated Types

type Rs DescribeLoadBalancers :: Type #

ToHeaders DescribeLoadBalancers Source # 
Instance details

Defined in Network.AWS.AutoScaling.DescribeLoadBalancers

ToPath DescribeLoadBalancers Source # 
Instance details

Defined in Network.AWS.AutoScaling.DescribeLoadBalancers

ToQuery DescribeLoadBalancers Source # 
Instance details

Defined in Network.AWS.AutoScaling.DescribeLoadBalancers

NFData DescribeLoadBalancers Source # 
Instance details

Defined in Network.AWS.AutoScaling.DescribeLoadBalancers

Methods

rnf :: DescribeLoadBalancers -> () #

type Rep DescribeLoadBalancers Source # 
Instance details

Defined in Network.AWS.AutoScaling.DescribeLoadBalancers

type Rep DescribeLoadBalancers = D1 (MetaData "DescribeLoadBalancers" "Network.AWS.AutoScaling.DescribeLoadBalancers" "amazonka-autoscaling-1.6.1-AbdWdH026wCXAk2CK79vG" False) (C1 (MetaCons "DescribeLoadBalancers'" PrefixI True) (S1 (MetaSel (Just "_dlbNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_dlbMaxRecords") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int)) :*: S1 (MetaSel (Just "_dlbAutoScalingGroupName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs DescribeLoadBalancers Source # 
Instance details

Defined in Network.AWS.AutoScaling.DescribeLoadBalancers

Request Lenses

dlbNextToken :: Lens' DescribeLoadBalancers (Maybe Text) Source #

The token for the next set of items to return. (You received this token from a previous call.)

dlbMaxRecords :: Lens' DescribeLoadBalancers (Maybe Int) Source #

The maximum number of items to return with this call. The default value is 100 and the maximum value is 100.

dlbAutoScalingGroupName :: Lens' DescribeLoadBalancers Text Source #

The name of the Auto Scaling group.

Destructuring the Response

describeLoadBalancersResponse Source #

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

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

data DescribeLoadBalancersResponse Source #

See: describeLoadBalancersResponse smart constructor.

Instances
Eq DescribeLoadBalancersResponse Source # 
Instance details

Defined in Network.AWS.AutoScaling.DescribeLoadBalancers

Data DescribeLoadBalancersResponse Source # 
Instance details

Defined in Network.AWS.AutoScaling.DescribeLoadBalancers

Methods

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

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

toConstr :: DescribeLoadBalancersResponse -> Constr #

dataTypeOf :: DescribeLoadBalancersResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DescribeLoadBalancersResponse Source # 
Instance details

Defined in Network.AWS.AutoScaling.DescribeLoadBalancers

Show DescribeLoadBalancersResponse Source # 
Instance details

Defined in Network.AWS.AutoScaling.DescribeLoadBalancers

Generic DescribeLoadBalancersResponse Source # 
Instance details

Defined in Network.AWS.AutoScaling.DescribeLoadBalancers

Associated Types

type Rep DescribeLoadBalancersResponse :: Type -> Type #

NFData DescribeLoadBalancersResponse Source # 
Instance details

Defined in Network.AWS.AutoScaling.DescribeLoadBalancers

type Rep DescribeLoadBalancersResponse Source # 
Instance details

Defined in Network.AWS.AutoScaling.DescribeLoadBalancers

type Rep DescribeLoadBalancersResponse = D1 (MetaData "DescribeLoadBalancersResponse" "Network.AWS.AutoScaling.DescribeLoadBalancers" "amazonka-autoscaling-1.6.1-AbdWdH026wCXAk2CK79vG" False) (C1 (MetaCons "DescribeLoadBalancersResponse'" PrefixI True) (S1 (MetaSel (Just "_dlbrsLoadBalancers") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [LoadBalancerState])) :*: (S1 (MetaSel (Just "_dlbrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_dlbrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses

dlbrsNextToken :: Lens' DescribeLoadBalancersResponse (Maybe Text) Source #

The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.