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

Description

Returns all instance snapshots for the user's account.

This operation returns paginated results.

Synopsis

Creating a Request

data GetInstanceSnapshots Source #

See: newGetInstanceSnapshots smart constructor.

Constructors

GetInstanceSnapshots' 

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

Defined in Amazonka.Lightsail.GetInstanceSnapshots

Read GetInstanceSnapshots Source # 
Instance details

Defined in Amazonka.Lightsail.GetInstanceSnapshots

Show GetInstanceSnapshots Source # 
Instance details

Defined in Amazonka.Lightsail.GetInstanceSnapshots

Generic GetInstanceSnapshots Source # 
Instance details

Defined in Amazonka.Lightsail.GetInstanceSnapshots

Associated Types

type Rep GetInstanceSnapshots :: Type -> Type #

NFData GetInstanceSnapshots Source # 
Instance details

Defined in Amazonka.Lightsail.GetInstanceSnapshots

Methods

rnf :: GetInstanceSnapshots -> () #

Hashable GetInstanceSnapshots Source # 
Instance details

Defined in Amazonka.Lightsail.GetInstanceSnapshots

ToJSON GetInstanceSnapshots Source # 
Instance details

Defined in Amazonka.Lightsail.GetInstanceSnapshots

AWSPager GetInstanceSnapshots Source # 
Instance details

Defined in Amazonka.Lightsail.GetInstanceSnapshots

AWSRequest GetInstanceSnapshots Source # 
Instance details

Defined in Amazonka.Lightsail.GetInstanceSnapshots

Associated Types

type AWSResponse GetInstanceSnapshots #

ToHeaders GetInstanceSnapshots Source # 
Instance details

Defined in Amazonka.Lightsail.GetInstanceSnapshots

ToPath GetInstanceSnapshots Source # 
Instance details

Defined in Amazonka.Lightsail.GetInstanceSnapshots

ToQuery GetInstanceSnapshots Source # 
Instance details

Defined in Amazonka.Lightsail.GetInstanceSnapshots

type Rep GetInstanceSnapshots Source # 
Instance details

Defined in Amazonka.Lightsail.GetInstanceSnapshots

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

Defined in Amazonka.Lightsail.GetInstanceSnapshots

newGetInstanceSnapshots :: GetInstanceSnapshots Source #

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

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

getInstanceSnapshots_pageToken :: Lens' GetInstanceSnapshots (Maybe Text) Source #

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

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

See: newGetInstanceSnapshotsResponse smart constructor.

Constructors

GetInstanceSnapshotsResponse' 

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

  • instanceSnapshots :: Maybe [InstanceSnapshot]

    An array of key-value pairs containing information about the results of your get instance snapshots request.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq GetInstanceSnapshotsResponse Source # 
Instance details

Defined in Amazonka.Lightsail.GetInstanceSnapshots

Read GetInstanceSnapshotsResponse Source # 
Instance details

Defined in Amazonka.Lightsail.GetInstanceSnapshots

Show GetInstanceSnapshotsResponse Source # 
Instance details

Defined in Amazonka.Lightsail.GetInstanceSnapshots

Generic GetInstanceSnapshotsResponse Source # 
Instance details

Defined in Amazonka.Lightsail.GetInstanceSnapshots

Associated Types

type Rep GetInstanceSnapshotsResponse :: Type -> Type #

NFData GetInstanceSnapshotsResponse Source # 
Instance details

Defined in Amazonka.Lightsail.GetInstanceSnapshots

type Rep GetInstanceSnapshotsResponse Source # 
Instance details

Defined in Amazonka.Lightsail.GetInstanceSnapshots

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

newGetInstanceSnapshotsResponse Source #

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

$sel:instanceSnapshots:GetInstanceSnapshotsResponse', getInstanceSnapshotsResponse_instanceSnapshots - An array of key-value pairs containing information about the results of your get instance snapshots request.

$sel:httpStatus:GetInstanceSnapshotsResponse', getInstanceSnapshotsResponse_httpStatus - The response's http status code.

Response Lenses

getInstanceSnapshotsResponse_nextPageToken :: Lens' GetInstanceSnapshotsResponse (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 GetInstanceSnapshots request and specify the next page token using the pageToken parameter.

getInstanceSnapshotsResponse_instanceSnapshots :: Lens' GetInstanceSnapshotsResponse (Maybe [InstanceSnapshot]) Source #

An array of key-value pairs containing information about the results of your get instance snapshots request.