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 #

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 #

See: getLoadBalancer smart constructor.

Instances
Eq GetLoadBalancer # 
Instance details

Defined in Network.AWS.Lightsail.GetLoadBalancer

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

Defined in Network.AWS.Lightsail.GetLoadBalancer

Show GetLoadBalancer # 
Instance details

Defined in Network.AWS.Lightsail.GetLoadBalancer

Generic GetLoadBalancer # 
Instance details

Defined in Network.AWS.Lightsail.GetLoadBalancer

Associated Types

type Rep GetLoadBalancer :: Type -> Type #

Hashable GetLoadBalancer # 
Instance details

Defined in Network.AWS.Lightsail.GetLoadBalancer

ToJSON GetLoadBalancer # 
Instance details

Defined in Network.AWS.Lightsail.GetLoadBalancer

AWSRequest GetLoadBalancer # 
Instance details

Defined in Network.AWS.Lightsail.GetLoadBalancer

Associated Types

type Rs GetLoadBalancer :: Type #

ToHeaders GetLoadBalancer # 
Instance details

Defined in Network.AWS.Lightsail.GetLoadBalancer

ToPath GetLoadBalancer # 
Instance details

Defined in Network.AWS.Lightsail.GetLoadBalancer

ToQuery GetLoadBalancer # 
Instance details

Defined in Network.AWS.Lightsail.GetLoadBalancer

NFData GetLoadBalancer # 
Instance details

Defined in Network.AWS.Lightsail.GetLoadBalancer

Methods

rnf :: GetLoadBalancer -> () #

type Rep GetLoadBalancer # 
Instance details

Defined in Network.AWS.Lightsail.GetLoadBalancer

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

Defined in Network.AWS.Lightsail.GetLoadBalancer

Request Lenses

glbLoadBalancerName :: Lens' GetLoadBalancer Text #

The name of the load balancer.

Destructuring the Response

getLoadBalancerResponse #

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 #

See: getLoadBalancerResponse smart constructor.

Instances
Eq GetLoadBalancerResponse # 
Instance details

Defined in Network.AWS.Lightsail.GetLoadBalancer

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

Defined in Network.AWS.Lightsail.GetLoadBalancer

Show GetLoadBalancerResponse # 
Instance details

Defined in Network.AWS.Lightsail.GetLoadBalancer

Generic GetLoadBalancerResponse # 
Instance details

Defined in Network.AWS.Lightsail.GetLoadBalancer

Associated Types

type Rep GetLoadBalancerResponse :: Type -> Type #

NFData GetLoadBalancerResponse # 
Instance details

Defined in Network.AWS.Lightsail.GetLoadBalancer

Methods

rnf :: GetLoadBalancerResponse -> () #

type Rep GetLoadBalancerResponse # 
Instance details

Defined in Network.AWS.Lightsail.GetLoadBalancer

type Rep GetLoadBalancerResponse = D1 (MetaData "GetLoadBalancerResponse" "Network.AWS.Lightsail.GetLoadBalancer" "amazonka-lightsail-1.6.1-DK54tD67vqE2dEuVa43WK0" 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) #

An object containing information about your load balancer.

glbrsResponseStatus :: Lens' GetLoadBalancerResponse Int #

  • - | The response status code.