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

Description

Returns the names of all active (not deleted) resources.

This operation returns paginated results.

Synopsis

Creating a Request

data GetActiveNames Source #

See: newGetActiveNames smart constructor.

Constructors

GetActiveNames' 

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

Defined in Amazonka.Lightsail.GetActiveNames

Read GetActiveNames Source # 
Instance details

Defined in Amazonka.Lightsail.GetActiveNames

Show GetActiveNames Source # 
Instance details

Defined in Amazonka.Lightsail.GetActiveNames

Generic GetActiveNames Source # 
Instance details

Defined in Amazonka.Lightsail.GetActiveNames

Associated Types

type Rep GetActiveNames :: Type -> Type #

NFData GetActiveNames Source # 
Instance details

Defined in Amazonka.Lightsail.GetActiveNames

Methods

rnf :: GetActiveNames -> () #

Hashable GetActiveNames Source # 
Instance details

Defined in Amazonka.Lightsail.GetActiveNames

ToJSON GetActiveNames Source # 
Instance details

Defined in Amazonka.Lightsail.GetActiveNames

AWSPager GetActiveNames Source # 
Instance details

Defined in Amazonka.Lightsail.GetActiveNames

AWSRequest GetActiveNames Source # 
Instance details

Defined in Amazonka.Lightsail.GetActiveNames

Associated Types

type AWSResponse GetActiveNames #

ToHeaders GetActiveNames Source # 
Instance details

Defined in Amazonka.Lightsail.GetActiveNames

ToPath GetActiveNames Source # 
Instance details

Defined in Amazonka.Lightsail.GetActiveNames

ToQuery GetActiveNames Source # 
Instance details

Defined in Amazonka.Lightsail.GetActiveNames

type Rep GetActiveNames Source # 
Instance details

Defined in Amazonka.Lightsail.GetActiveNames

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

Defined in Amazonka.Lightsail.GetActiveNames

newGetActiveNames :: GetActiveNames Source #

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

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

getActiveNames_pageToken :: Lens' GetActiveNames (Maybe Text) Source #

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

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

See: newGetActiveNamesResponse smart constructor.

Constructors

GetActiveNamesResponse' 

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

  • activeNames :: Maybe [Text]

    The list of active names returned by the get active names request.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq GetActiveNamesResponse Source # 
Instance details

Defined in Amazonka.Lightsail.GetActiveNames

Read GetActiveNamesResponse Source # 
Instance details

Defined in Amazonka.Lightsail.GetActiveNames

Show GetActiveNamesResponse Source # 
Instance details

Defined in Amazonka.Lightsail.GetActiveNames

Generic GetActiveNamesResponse Source # 
Instance details

Defined in Amazonka.Lightsail.GetActiveNames

Associated Types

type Rep GetActiveNamesResponse :: Type -> Type #

NFData GetActiveNamesResponse Source # 
Instance details

Defined in Amazonka.Lightsail.GetActiveNames

Methods

rnf :: GetActiveNamesResponse -> () #

type Rep GetActiveNamesResponse Source # 
Instance details

Defined in Amazonka.Lightsail.GetActiveNames

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

newGetActiveNamesResponse Source #

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

$sel:activeNames:GetActiveNamesResponse', getActiveNamesResponse_activeNames - The list of active names returned by the get active names request.

$sel:httpStatus:GetActiveNamesResponse', getActiveNamesResponse_httpStatus - The response's http status code.

Response Lenses

getActiveNamesResponse_nextPageToken :: Lens' GetActiveNamesResponse (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 GetActiveNames request and specify the next page token using the pageToken parameter.

getActiveNamesResponse_activeNames :: Lens' GetActiveNamesResponse (Maybe [Text]) Source #

The list of active names returned by the get active names request.