amazonka-lightsail-1.6.0: Amazon Lightsail 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.Lightsail.GetLoadBalancer

Contents

Description

Returns information about the specified Lightsail load balancer.

Synopsis

Creating a Request

getLoadBalancer Source #

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

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

data GetLoadBalancer Source #

See: getLoadBalancer smart constructor.

Instances

Eq GetLoadBalancer Source # 
Data GetLoadBalancer Source # 

Methods

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

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

toConstr :: GetLoadBalancer -> Constr #

dataTypeOf :: GetLoadBalancer -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetLoadBalancer Source # 
Show GetLoadBalancer Source # 
Generic GetLoadBalancer Source # 
Hashable GetLoadBalancer Source # 
ToJSON GetLoadBalancer Source # 
NFData GetLoadBalancer Source # 

Methods

rnf :: GetLoadBalancer -> () #

AWSRequest GetLoadBalancer Source # 
ToHeaders GetLoadBalancer Source # 
ToPath GetLoadBalancer Source # 
ToQuery GetLoadBalancer Source # 
type Rep GetLoadBalancer Source # 
type Rep GetLoadBalancer = D1 * (MetaData "GetLoadBalancer" "Network.AWS.Lightsail.GetLoadBalancer" "amazonka-lightsail-1.6.0-ARMP2uYvcAnENqDU8iFIes" True) (C1 * (MetaCons "GetLoadBalancer'" PrefixI True) (S1 * (MetaSel (Just Symbol "_glbLoadBalancerName") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Text)))
type Rs GetLoadBalancer Source # 

Request Lenses

glbLoadBalancerName :: Lens' GetLoadBalancer Text Source #

The name of the load balancer.

Destructuring the Response

getLoadBalancerResponse Source #

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

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

data GetLoadBalancerResponse Source #

See: getLoadBalancerResponse smart constructor.

Instances

Eq GetLoadBalancerResponse Source # 
Data GetLoadBalancerResponse Source # 

Methods

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

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

toConstr :: GetLoadBalancerResponse -> Constr #

dataTypeOf :: GetLoadBalancerResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetLoadBalancerResponse Source # 
Show GetLoadBalancerResponse Source # 
Generic GetLoadBalancerResponse Source # 
NFData GetLoadBalancerResponse Source # 

Methods

rnf :: GetLoadBalancerResponse -> () #

type Rep GetLoadBalancerResponse Source # 
type Rep GetLoadBalancerResponse = D1 * (MetaData "GetLoadBalancerResponse" "Network.AWS.Lightsail.GetLoadBalancer" "amazonka-lightsail-1.6.0-ARMP2uYvcAnENqDU8iFIes" False) (C1 * (MetaCons "GetLoadBalancerResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_glbrsLoadBalancer") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe LoadBalancer))) (S1 * (MetaSel (Just Symbol "_glbrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int))))

Response Lenses

glbrsLoadBalancer :: Lens' GetLoadBalancerResponse (Maybe LoadBalancer) Source #

An object containing information about your load balancer.