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

Description

Returns information about all block storage disk snapshots in your AWS account and region.

This operation returns paginated results.

Synopsis

Creating a Request

data GetDiskSnapshots Source #

See: newGetDiskSnapshots smart constructor.

Constructors

GetDiskSnapshots' 

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

Defined in Amazonka.Lightsail.GetDiskSnapshots

Read GetDiskSnapshots Source # 
Instance details

Defined in Amazonka.Lightsail.GetDiskSnapshots

Show GetDiskSnapshots Source # 
Instance details

Defined in Amazonka.Lightsail.GetDiskSnapshots

Generic GetDiskSnapshots Source # 
Instance details

Defined in Amazonka.Lightsail.GetDiskSnapshots

Associated Types

type Rep GetDiskSnapshots :: Type -> Type #

NFData GetDiskSnapshots Source # 
Instance details

Defined in Amazonka.Lightsail.GetDiskSnapshots

Methods

rnf :: GetDiskSnapshots -> () #

Hashable GetDiskSnapshots Source # 
Instance details

Defined in Amazonka.Lightsail.GetDiskSnapshots

ToJSON GetDiskSnapshots Source # 
Instance details

Defined in Amazonka.Lightsail.GetDiskSnapshots

AWSPager GetDiskSnapshots Source # 
Instance details

Defined in Amazonka.Lightsail.GetDiskSnapshots

AWSRequest GetDiskSnapshots Source # 
Instance details

Defined in Amazonka.Lightsail.GetDiskSnapshots

Associated Types

type AWSResponse GetDiskSnapshots #

ToHeaders GetDiskSnapshots Source # 
Instance details

Defined in Amazonka.Lightsail.GetDiskSnapshots

ToPath GetDiskSnapshots Source # 
Instance details

Defined in Amazonka.Lightsail.GetDiskSnapshots

ToQuery GetDiskSnapshots Source # 
Instance details

Defined in Amazonka.Lightsail.GetDiskSnapshots

type Rep GetDiskSnapshots Source # 
Instance details

Defined in Amazonka.Lightsail.GetDiskSnapshots

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

Defined in Amazonka.Lightsail.GetDiskSnapshots

newGetDiskSnapshots :: GetDiskSnapshots Source #

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

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

getDiskSnapshots_pageToken :: Lens' GetDiskSnapshots (Maybe Text) Source #

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

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

See: newGetDiskSnapshotsResponse smart constructor.

Constructors

GetDiskSnapshotsResponse' 

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

  • diskSnapshots :: Maybe [DiskSnapshot]

    An array of objects containing information about all block storage disk snapshots.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq GetDiskSnapshotsResponse Source # 
Instance details

Defined in Amazonka.Lightsail.GetDiskSnapshots

Read GetDiskSnapshotsResponse Source # 
Instance details

Defined in Amazonka.Lightsail.GetDiskSnapshots

Show GetDiskSnapshotsResponse Source # 
Instance details

Defined in Amazonka.Lightsail.GetDiskSnapshots

Generic GetDiskSnapshotsResponse Source # 
Instance details

Defined in Amazonka.Lightsail.GetDiskSnapshots

Associated Types

type Rep GetDiskSnapshotsResponse :: Type -> Type #

NFData GetDiskSnapshotsResponse Source # 
Instance details

Defined in Amazonka.Lightsail.GetDiskSnapshots

type Rep GetDiskSnapshotsResponse Source # 
Instance details

Defined in Amazonka.Lightsail.GetDiskSnapshots

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

newGetDiskSnapshotsResponse Source #

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

$sel:diskSnapshots:GetDiskSnapshotsResponse', getDiskSnapshotsResponse_diskSnapshots - An array of objects containing information about all block storage disk snapshots.

$sel:httpStatus:GetDiskSnapshotsResponse', getDiskSnapshotsResponse_httpStatus - The response's http status code.

Response Lenses

getDiskSnapshotsResponse_nextPageToken :: Lens' GetDiskSnapshotsResponse (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 GetDiskSnapshots request and specify the next page token using the pageToken parameter.

getDiskSnapshotsResponse_diskSnapshots :: Lens' GetDiskSnapshotsResponse (Maybe [DiskSnapshot]) Source #

An array of objects containing information about all block storage disk snapshots.