amazonka-lightsail-2.0: Amazon Lightsail SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Lightsail.GetLoadBalancer

Description

Returns information about the specified Lightsail load balancer.

Synopsis

Creating a Request

data GetLoadBalancer Source #

See: newGetLoadBalancer smart constructor.

Constructors

GetLoadBalancer' 

Fields

Instances

Instances details
ToJSON GetLoadBalancer Source # 
Instance details

Defined in Amazonka.Lightsail.GetLoadBalancer

ToHeaders GetLoadBalancer Source # 
Instance details

Defined in Amazonka.Lightsail.GetLoadBalancer

ToPath GetLoadBalancer Source # 
Instance details

Defined in Amazonka.Lightsail.GetLoadBalancer

ToQuery GetLoadBalancer Source # 
Instance details

Defined in Amazonka.Lightsail.GetLoadBalancer

AWSRequest GetLoadBalancer Source # 
Instance details

Defined in Amazonka.Lightsail.GetLoadBalancer

Associated Types

type AWSResponse GetLoadBalancer #

Generic GetLoadBalancer Source # 
Instance details

Defined in Amazonka.Lightsail.GetLoadBalancer

Associated Types

type Rep GetLoadBalancer :: Type -> Type #

Read GetLoadBalancer Source # 
Instance details

Defined in Amazonka.Lightsail.GetLoadBalancer

Show GetLoadBalancer Source # 
Instance details

Defined in Amazonka.Lightsail.GetLoadBalancer

NFData GetLoadBalancer Source # 
Instance details

Defined in Amazonka.Lightsail.GetLoadBalancer

Methods

rnf :: GetLoadBalancer -> () #

Eq GetLoadBalancer Source # 
Instance details

Defined in Amazonka.Lightsail.GetLoadBalancer

Hashable GetLoadBalancer Source # 
Instance details

Defined in Amazonka.Lightsail.GetLoadBalancer

type AWSResponse GetLoadBalancer Source # 
Instance details

Defined in Amazonka.Lightsail.GetLoadBalancer

type Rep GetLoadBalancer Source # 
Instance details

Defined in Amazonka.Lightsail.GetLoadBalancer

type Rep GetLoadBalancer = D1 ('MetaData "GetLoadBalancer" "Amazonka.Lightsail.GetLoadBalancer" "amazonka-lightsail-2.0-77hvsZhtZFxFduYae8QaN0" 'False) (C1 ('MetaCons "GetLoadBalancer'" 'PrefixI 'True) (S1 ('MetaSel ('Just "loadBalancerName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newGetLoadBalancer Source #

Create a value of GetLoadBalancer with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

GetLoadBalancer, getLoadBalancer_loadBalancerName - The name of the load balancer.

Request Lenses

Destructuring the Response

data GetLoadBalancerResponse Source #

See: newGetLoadBalancerResponse smart constructor.

Constructors

GetLoadBalancerResponse' 

Fields

Instances

Instances details
Generic GetLoadBalancerResponse Source # 
Instance details

Defined in Amazonka.Lightsail.GetLoadBalancer

Associated Types

type Rep GetLoadBalancerResponse :: Type -> Type #

Read GetLoadBalancerResponse Source # 
Instance details

Defined in Amazonka.Lightsail.GetLoadBalancer

Show GetLoadBalancerResponse Source # 
Instance details

Defined in Amazonka.Lightsail.GetLoadBalancer

NFData GetLoadBalancerResponse Source # 
Instance details

Defined in Amazonka.Lightsail.GetLoadBalancer

Methods

rnf :: GetLoadBalancerResponse -> () #

Eq GetLoadBalancerResponse Source # 
Instance details

Defined in Amazonka.Lightsail.GetLoadBalancer

type Rep GetLoadBalancerResponse Source # 
Instance details

Defined in Amazonka.Lightsail.GetLoadBalancer

type Rep GetLoadBalancerResponse = D1 ('MetaData "GetLoadBalancerResponse" "Amazonka.Lightsail.GetLoadBalancer" "amazonka-lightsail-2.0-77hvsZhtZFxFduYae8QaN0" 'False) (C1 ('MetaCons "GetLoadBalancerResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "loadBalancer") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe LoadBalancer)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newGetLoadBalancerResponse Source #

Create a value of GetLoadBalancerResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:loadBalancer:GetLoadBalancerResponse', getLoadBalancerResponse_loadBalancer - An object containing information about your load balancer.

$sel:httpStatus:GetLoadBalancerResponse', getLoadBalancerResponse_httpStatus - The response's http status code.

Response Lenses

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

An object containing information about your load balancer.