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

Description

Returns information about all of your database snapshots in Amazon Lightsail.

This operation returns paginated results.

Synopsis

Creating a Request

data GetRelationalDatabaseSnapshots Source #

See: newGetRelationalDatabaseSnapshots smart constructor.

Constructors

GetRelationalDatabaseSnapshots' 

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

Defined in Amazonka.Lightsail.GetRelationalDatabaseSnapshots

Read GetRelationalDatabaseSnapshots Source # 
Instance details

Defined in Amazonka.Lightsail.GetRelationalDatabaseSnapshots

Show GetRelationalDatabaseSnapshots Source # 
Instance details

Defined in Amazonka.Lightsail.GetRelationalDatabaseSnapshots

Generic GetRelationalDatabaseSnapshots Source # 
Instance details

Defined in Amazonka.Lightsail.GetRelationalDatabaseSnapshots

Associated Types

type Rep GetRelationalDatabaseSnapshots :: Type -> Type #

NFData GetRelationalDatabaseSnapshots Source # 
Instance details

Defined in Amazonka.Lightsail.GetRelationalDatabaseSnapshots

Hashable GetRelationalDatabaseSnapshots Source # 
Instance details

Defined in Amazonka.Lightsail.GetRelationalDatabaseSnapshots

ToJSON GetRelationalDatabaseSnapshots Source # 
Instance details

Defined in Amazonka.Lightsail.GetRelationalDatabaseSnapshots

AWSPager GetRelationalDatabaseSnapshots Source # 
Instance details

Defined in Amazonka.Lightsail.GetRelationalDatabaseSnapshots

AWSRequest GetRelationalDatabaseSnapshots Source # 
Instance details

Defined in Amazonka.Lightsail.GetRelationalDatabaseSnapshots

ToHeaders GetRelationalDatabaseSnapshots Source # 
Instance details

Defined in Amazonka.Lightsail.GetRelationalDatabaseSnapshots

ToPath GetRelationalDatabaseSnapshots Source # 
Instance details

Defined in Amazonka.Lightsail.GetRelationalDatabaseSnapshots

ToQuery GetRelationalDatabaseSnapshots Source # 
Instance details

Defined in Amazonka.Lightsail.GetRelationalDatabaseSnapshots

type Rep GetRelationalDatabaseSnapshots Source # 
Instance details

Defined in Amazonka.Lightsail.GetRelationalDatabaseSnapshots

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

Defined in Amazonka.Lightsail.GetRelationalDatabaseSnapshots

newGetRelationalDatabaseSnapshots :: GetRelationalDatabaseSnapshots Source #

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

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

getRelationalDatabaseSnapshots_pageToken :: Lens' GetRelationalDatabaseSnapshots (Maybe Text) Source #

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

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

Constructors

GetRelationalDatabaseSnapshotsResponse' 

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

  • relationalDatabaseSnapshots :: Maybe [RelationalDatabaseSnapshot]

    An object describing the result of your get relational database snapshots request.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq GetRelationalDatabaseSnapshotsResponse Source # 
Instance details

Defined in Amazonka.Lightsail.GetRelationalDatabaseSnapshots

Read GetRelationalDatabaseSnapshotsResponse Source # 
Instance details

Defined in Amazonka.Lightsail.GetRelationalDatabaseSnapshots

Show GetRelationalDatabaseSnapshotsResponse Source # 
Instance details

Defined in Amazonka.Lightsail.GetRelationalDatabaseSnapshots

Generic GetRelationalDatabaseSnapshotsResponse Source # 
Instance details

Defined in Amazonka.Lightsail.GetRelationalDatabaseSnapshots

NFData GetRelationalDatabaseSnapshotsResponse Source # 
Instance details

Defined in Amazonka.Lightsail.GetRelationalDatabaseSnapshots

type Rep GetRelationalDatabaseSnapshotsResponse Source # 
Instance details

Defined in Amazonka.Lightsail.GetRelationalDatabaseSnapshots

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

newGetRelationalDatabaseSnapshotsResponse Source #

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

$sel:relationalDatabaseSnapshots:GetRelationalDatabaseSnapshotsResponse', getRelationalDatabaseSnapshotsResponse_relationalDatabaseSnapshots - An object describing the result of your get relational database snapshots request.

$sel:httpStatus:GetRelationalDatabaseSnapshotsResponse', getRelationalDatabaseSnapshotsResponse_httpStatus - The response's http status code.

Response Lenses

getRelationalDatabaseSnapshotsResponse_nextPageToken :: Lens' GetRelationalDatabaseSnapshotsResponse (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 GetRelationalDatabaseSnapshots request and specify the next page token using the pageToken parameter.