libZSservicesZSamazonka-lightsailZSamazonka-lightsail
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Lightsail.GetLoadBalancers

Description

Returns information about all load balancers in an account.

This operation returns paginated results.

Synopsis

Creating a Request

data GetLoadBalancers Source #

See: newGetLoadBalancers smart constructor.

Constructors

GetLoadBalancers' 

Fields

  • pageToken :: Maybe Text

    The token to advance to the next page of results from your request.

    To get a page token, perform an initial GetLoadBalancers request. If your results are paginated, the response will return a next page token that you can specify as the page token in a subsequent request.

Instances

Instances details
Eq GetLoadBalancers Source # 
Instance details

Defined in Amazonka.Lightsail.GetLoadBalancers

Read GetLoadBalancers Source # 
Instance details

Defined in Amazonka.Lightsail.GetLoadBalancers

Show GetLoadBalancers Source # 
Instance details

Defined in Amazonka.Lightsail.GetLoadBalancers

Generic GetLoadBalancers Source # 
Instance details

Defined in Amazonka.Lightsail.GetLoadBalancers

Associated Types

type Rep GetLoadBalancers :: Type -> Type #

NFData GetLoadBalancers Source # 
Instance details

Defined in Amazonka.Lightsail.GetLoadBalancers

Methods

rnf :: GetLoadBalancers -> () #

Hashable GetLoadBalancers Source # 
Instance details

Defined in Amazonka.Lightsail.GetLoadBalancers

ToJSON GetLoadBalancers Source # 
Instance details

Defined in Amazonka.Lightsail.GetLoadBalancers

AWSPager GetLoadBalancers Source # 
Instance details

Defined in Amazonka.Lightsail.GetLoadBalancers

AWSRequest GetLoadBalancers Source # 
Instance details

Defined in Amazonka.Lightsail.GetLoadBalancers

Associated Types

type AWSResponse GetLoadBalancers #

ToHeaders GetLoadBalancers Source # 
Instance details

Defined in Amazonka.Lightsail.GetLoadBalancers

ToPath GetLoadBalancers Source # 
Instance details

Defined in Amazonka.Lightsail.GetLoadBalancers

ToQuery GetLoadBalancers Source # 
Instance details

Defined in Amazonka.Lightsail.GetLoadBalancers

type Rep GetLoadBalancers Source # 
Instance details

Defined in Amazonka.Lightsail.GetLoadBalancers

type Rep GetLoadBalancers = D1 ('MetaData "GetLoadBalancers" "Amazonka.Lightsail.GetLoadBalancers" "libZSservicesZSamazonka-lightsailZSamazonka-lightsail" 'False) (C1 ('MetaCons "GetLoadBalancers'" 'PrefixI 'True) (S1 ('MetaSel ('Just "pageToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))
type AWSResponse GetLoadBalancers Source # 
Instance details

Defined in Amazonka.Lightsail.GetLoadBalancers

newGetLoadBalancers :: GetLoadBalancers Source #

Create a value of GetLoadBalancers 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:pageToken:GetLoadBalancers', getLoadBalancers_pageToken - The token to advance to the next page of results from your request.

To get a page token, perform an initial GetLoadBalancers request. If your results are paginated, the response will return a next page token that you can specify as the page token in a subsequent request.

Request Lenses

getLoadBalancers_pageToken :: Lens' GetLoadBalancers (Maybe Text) Source #

The token to advance to the next page of results from your request.

To get a page token, perform an initial GetLoadBalancers request. If your results are paginated, the response will return a next page token that you can specify as the page token in a subsequent request.

Destructuring the Response

data GetLoadBalancersResponse Source #

See: newGetLoadBalancersResponse smart constructor.

Constructors

GetLoadBalancersResponse' 

Fields

  • nextPageToken :: Maybe Text

    The token to advance to the next page of results from your request.

    A next page token is not returned if there are no more results to display.

    To get the next page of results, perform another GetLoadBalancers request and specify the next page token using the pageToken parameter.

  • loadBalancers :: Maybe [LoadBalancer]

    An array of LoadBalancer objects describing your load balancers.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq GetLoadBalancersResponse Source # 
Instance details

Defined in Amazonka.Lightsail.GetLoadBalancers

Read GetLoadBalancersResponse Source # 
Instance details

Defined in Amazonka.Lightsail.GetLoadBalancers

Show GetLoadBalancersResponse Source # 
Instance details

Defined in Amazonka.Lightsail.GetLoadBalancers

Generic GetLoadBalancersResponse Source # 
Instance details

Defined in Amazonka.Lightsail.GetLoadBalancers

Associated Types

type Rep GetLoadBalancersResponse :: Type -> Type #

NFData GetLoadBalancersResponse Source # 
Instance details

Defined in Amazonka.Lightsail.GetLoadBalancers

type Rep GetLoadBalancersResponse Source # 
Instance details

Defined in Amazonka.Lightsail.GetLoadBalancers

type Rep GetLoadBalancersResponse = D1 ('MetaData "GetLoadBalancersResponse" "Amazonka.Lightsail.GetLoadBalancers" "libZSservicesZSamazonka-lightsailZSamazonka-lightsail" 'False) (C1 ('MetaCons "GetLoadBalancersResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextPageToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "loadBalancers") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [LoadBalancer])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newGetLoadBalancersResponse Source #

Create a value of GetLoadBalancersResponse 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:nextPageToken:GetLoadBalancersResponse', getLoadBalancersResponse_nextPageToken - The token to advance to the next page of results from your request.

A next page token is not returned if there are no more results to display.

To get the next page of results, perform another GetLoadBalancers request and specify the next page token using the pageToken parameter.

$sel:loadBalancers:GetLoadBalancersResponse', getLoadBalancersResponse_loadBalancers - An array of LoadBalancer objects describing your load balancers.

$sel:httpStatus:GetLoadBalancersResponse', getLoadBalancersResponse_httpStatus - The response's http status code.

Response Lenses

getLoadBalancersResponse_nextPageToken :: Lens' GetLoadBalancersResponse (Maybe Text) Source #

The token to advance to the next page of results from your request.

A next page token is not returned if there are no more results to display.

To get the next page of results, perform another GetLoadBalancers request and specify the next page token using the pageToken parameter.

getLoadBalancersResponse_loadBalancers :: Lens' GetLoadBalancersResponse (Maybe [LoadBalancer]) Source #

An array of LoadBalancer objects describing your load balancers.