amazonka-lightsail-1.6.1: 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 # 
Instance details

Defined in Network.AWS.Lightsail.GetLoadBalancer

Data GetLoadBalancer Source # 
Instance details

Defined in Network.AWS.Lightsail.GetLoadBalancer

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 # 
Instance details

Defined in Network.AWS.Lightsail.GetLoadBalancer

Show GetLoadBalancer Source # 
Instance details

Defined in Network.AWS.Lightsail.GetLoadBalancer

Generic GetLoadBalancer Source # 
Instance details

Defined in Network.AWS.Lightsail.GetLoadBalancer

Associated Types

type Rep GetLoadBalancer :: Type -> Type #

Hashable GetLoadBalancer Source # 
Instance details

Defined in Network.AWS.Lightsail.GetLoadBalancer

ToJSON GetLoadBalancer Source # 
Instance details

Defined in Network.AWS.Lightsail.GetLoadBalancer

AWSRequest GetLoadBalancer Source # 
Instance details

Defined in Network.AWS.Lightsail.GetLoadBalancer

Associated Types

type Rs GetLoadBalancer :: Type #

ToHeaders GetLoadBalancer Source # 
Instance details

Defined in Network.AWS.Lightsail.GetLoadBalancer

ToPath GetLoadBalancer Source # 
Instance details

Defined in Network.AWS.Lightsail.GetLoadBalancer

ToQuery GetLoadBalancer Source # 
Instance details

Defined in Network.AWS.Lightsail.GetLoadBalancer

NFData GetLoadBalancer Source # 
Instance details

Defined in Network.AWS.Lightsail.GetLoadBalancer

Methods

rnf :: GetLoadBalancer -> () #

type Rep GetLoadBalancer Source # 
Instance details

Defined in Network.AWS.Lightsail.GetLoadBalancer

type Rep GetLoadBalancer = D1 (MetaData "GetLoadBalancer" "Network.AWS.Lightsail.GetLoadBalancer" "amazonka-lightsail-1.6.1-1vuZhtZgkqE3h8gtLuAIA9" True) (C1 (MetaCons "GetLoadBalancer'" PrefixI True) (S1 (MetaSel (Just "_glbLoadBalancerName") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Rs GetLoadBalancer Source # 
Instance details

Defined in Network.AWS.Lightsail.GetLoadBalancer

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 # 
Instance details

Defined in Network.AWS.Lightsail.GetLoadBalancer

Data GetLoadBalancerResponse Source # 
Instance details

Defined in Network.AWS.Lightsail.GetLoadBalancer

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 # 
Instance details

Defined in Network.AWS.Lightsail.GetLoadBalancer

Show GetLoadBalancerResponse Source # 
Instance details

Defined in Network.AWS.Lightsail.GetLoadBalancer

Generic GetLoadBalancerResponse Source # 
Instance details

Defined in Network.AWS.Lightsail.GetLoadBalancer

Associated Types

type Rep GetLoadBalancerResponse :: Type -> Type #

NFData GetLoadBalancerResponse Source # 
Instance details

Defined in Network.AWS.Lightsail.GetLoadBalancer

Methods

rnf :: GetLoadBalancerResponse -> () #

type Rep GetLoadBalancerResponse Source # 
Instance details

Defined in Network.AWS.Lightsail.GetLoadBalancer

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

Response Lenses

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

An object containing information about your load balancer.