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

Description

Returns information about all of your databases in Amazon Lightsail.

This operation returns paginated results.

Synopsis

Creating a Request

data GetRelationalDatabases Source #

See: newGetRelationalDatabases smart constructor.

Constructors

GetRelationalDatabases' 

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

Defined in Amazonka.Lightsail.GetRelationalDatabases

Read GetRelationalDatabases Source # 
Instance details

Defined in Amazonka.Lightsail.GetRelationalDatabases

Show GetRelationalDatabases Source # 
Instance details

Defined in Amazonka.Lightsail.GetRelationalDatabases

Generic GetRelationalDatabases Source # 
Instance details

Defined in Amazonka.Lightsail.GetRelationalDatabases

Associated Types

type Rep GetRelationalDatabases :: Type -> Type #

NFData GetRelationalDatabases Source # 
Instance details

Defined in Amazonka.Lightsail.GetRelationalDatabases

Methods

rnf :: GetRelationalDatabases -> () #

Hashable GetRelationalDatabases Source # 
Instance details

Defined in Amazonka.Lightsail.GetRelationalDatabases

ToJSON GetRelationalDatabases Source # 
Instance details

Defined in Amazonka.Lightsail.GetRelationalDatabases

AWSPager GetRelationalDatabases Source # 
Instance details

Defined in Amazonka.Lightsail.GetRelationalDatabases

AWSRequest GetRelationalDatabases Source # 
Instance details

Defined in Amazonka.Lightsail.GetRelationalDatabases

Associated Types

type AWSResponse GetRelationalDatabases #

ToHeaders GetRelationalDatabases Source # 
Instance details

Defined in Amazonka.Lightsail.GetRelationalDatabases

ToPath GetRelationalDatabases Source # 
Instance details

Defined in Amazonka.Lightsail.GetRelationalDatabases

ToQuery GetRelationalDatabases Source # 
Instance details

Defined in Amazonka.Lightsail.GetRelationalDatabases

type Rep GetRelationalDatabases Source # 
Instance details

Defined in Amazonka.Lightsail.GetRelationalDatabases

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

Defined in Amazonka.Lightsail.GetRelationalDatabases

newGetRelationalDatabases :: GetRelationalDatabases Source #

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

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

getRelationalDatabases_pageToken :: Lens' GetRelationalDatabases (Maybe Text) Source #

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

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

See: newGetRelationalDatabasesResponse smart constructor.

Constructors

GetRelationalDatabasesResponse' 

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

  • relationalDatabases :: Maybe [RelationalDatabase]

    An object describing the result of your get relational databases request.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq GetRelationalDatabasesResponse Source # 
Instance details

Defined in Amazonka.Lightsail.GetRelationalDatabases

Read GetRelationalDatabasesResponse Source # 
Instance details

Defined in Amazonka.Lightsail.GetRelationalDatabases

Show GetRelationalDatabasesResponse Source # 
Instance details

Defined in Amazonka.Lightsail.GetRelationalDatabases

Generic GetRelationalDatabasesResponse Source # 
Instance details

Defined in Amazonka.Lightsail.GetRelationalDatabases

Associated Types

type Rep GetRelationalDatabasesResponse :: Type -> Type #

NFData GetRelationalDatabasesResponse Source # 
Instance details

Defined in Amazonka.Lightsail.GetRelationalDatabases

type Rep GetRelationalDatabasesResponse Source # 
Instance details

Defined in Amazonka.Lightsail.GetRelationalDatabases

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

newGetRelationalDatabasesResponse Source #

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

$sel:relationalDatabases:GetRelationalDatabasesResponse', getRelationalDatabasesResponse_relationalDatabases - An object describing the result of your get relational databases request.

$sel:httpStatus:GetRelationalDatabasesResponse', getRelationalDatabasesResponse_httpStatus - The response's http status code.

Response Lenses

getRelationalDatabasesResponse_nextPageToken :: Lens' GetRelationalDatabasesResponse (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 GetRelationalDatabases request and specify the next page token using the pageToken parameter.

getRelationalDatabasesResponse_relationalDatabases :: Lens' GetRelationalDatabasesResponse (Maybe [RelationalDatabase]) Source #

An object describing the result of your get relational databases request.