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.GetStaticIps

Description

Returns information about all static IPs in the user's account.

This operation returns paginated results.

Synopsis

Creating a Request

data GetStaticIps Source #

See: newGetStaticIps smart constructor.

Constructors

GetStaticIps' 

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

Defined in Amazonka.Lightsail.GetStaticIps

Read GetStaticIps Source # 
Instance details

Defined in Amazonka.Lightsail.GetStaticIps

Show GetStaticIps Source # 
Instance details

Defined in Amazonka.Lightsail.GetStaticIps

Generic GetStaticIps Source # 
Instance details

Defined in Amazonka.Lightsail.GetStaticIps

Associated Types

type Rep GetStaticIps :: Type -> Type #

NFData GetStaticIps Source # 
Instance details

Defined in Amazonka.Lightsail.GetStaticIps

Methods

rnf :: GetStaticIps -> () #

Hashable GetStaticIps Source # 
Instance details

Defined in Amazonka.Lightsail.GetStaticIps

ToJSON GetStaticIps Source # 
Instance details

Defined in Amazonka.Lightsail.GetStaticIps

AWSPager GetStaticIps Source # 
Instance details

Defined in Amazonka.Lightsail.GetStaticIps

AWSRequest GetStaticIps Source # 
Instance details

Defined in Amazonka.Lightsail.GetStaticIps

Associated Types

type AWSResponse GetStaticIps #

ToHeaders GetStaticIps Source # 
Instance details

Defined in Amazonka.Lightsail.GetStaticIps

ToPath GetStaticIps Source # 
Instance details

Defined in Amazonka.Lightsail.GetStaticIps

ToQuery GetStaticIps Source # 
Instance details

Defined in Amazonka.Lightsail.GetStaticIps

type Rep GetStaticIps Source # 
Instance details

Defined in Amazonka.Lightsail.GetStaticIps

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

Defined in Amazonka.Lightsail.GetStaticIps

newGetStaticIps :: GetStaticIps Source #

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

To get a page token, perform an initial GetStaticIps 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

getStaticIps_pageToken :: Lens' GetStaticIps (Maybe Text) Source #

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

To get a page token, perform an initial GetStaticIps 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 GetStaticIpsResponse Source #

See: newGetStaticIpsResponse smart constructor.

Constructors

GetStaticIpsResponse' 

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 GetStaticIps request and specify the next page token using the pageToken parameter.

  • staticIps :: Maybe [StaticIp]

    An array of key-value pairs containing information about your get static IPs request.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq GetStaticIpsResponse Source # 
Instance details

Defined in Amazonka.Lightsail.GetStaticIps

Read GetStaticIpsResponse Source # 
Instance details

Defined in Amazonka.Lightsail.GetStaticIps

Show GetStaticIpsResponse Source # 
Instance details

Defined in Amazonka.Lightsail.GetStaticIps

Generic GetStaticIpsResponse Source # 
Instance details

Defined in Amazonka.Lightsail.GetStaticIps

Associated Types

type Rep GetStaticIpsResponse :: Type -> Type #

NFData GetStaticIpsResponse Source # 
Instance details

Defined in Amazonka.Lightsail.GetStaticIps

Methods

rnf :: GetStaticIpsResponse -> () #

type Rep GetStaticIpsResponse Source # 
Instance details

Defined in Amazonka.Lightsail.GetStaticIps

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

newGetStaticIpsResponse Source #

Create a value of GetStaticIpsResponse 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:GetStaticIpsResponse', getStaticIpsResponse_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 GetStaticIps request and specify the next page token using the pageToken parameter.

$sel:staticIps:GetStaticIpsResponse', getStaticIpsResponse_staticIps - An array of key-value pairs containing information about your get static IPs request.

$sel:httpStatus:GetStaticIpsResponse', getStaticIpsResponse_httpStatus - The response's http status code.

Response Lenses

getStaticIpsResponse_nextPageToken :: Lens' GetStaticIpsResponse (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 GetStaticIps request and specify the next page token using the pageToken parameter.

getStaticIpsResponse_staticIps :: Lens' GetStaticIpsResponse (Maybe [StaticIp]) Source #

An array of key-value pairs containing information about your get static IPs request.