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

Description

Returns all export snapshot records created as a result of the export snapshot operation.

An export snapshot record can be used to create a new Amazon EC2 instance and its related resources with the CreateCloudFormationStack action.

This operation returns paginated results.

Synopsis

Creating a Request

data GetExportSnapshotRecords Source #

See: newGetExportSnapshotRecords smart constructor.

Constructors

GetExportSnapshotRecords' 

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

Defined in Amazonka.Lightsail.GetExportSnapshotRecords

Read GetExportSnapshotRecords Source # 
Instance details

Defined in Amazonka.Lightsail.GetExportSnapshotRecords

Show GetExportSnapshotRecords Source # 
Instance details

Defined in Amazonka.Lightsail.GetExportSnapshotRecords

Generic GetExportSnapshotRecords Source # 
Instance details

Defined in Amazonka.Lightsail.GetExportSnapshotRecords

Associated Types

type Rep GetExportSnapshotRecords :: Type -> Type #

NFData GetExportSnapshotRecords Source # 
Instance details

Defined in Amazonka.Lightsail.GetExportSnapshotRecords

Hashable GetExportSnapshotRecords Source # 
Instance details

Defined in Amazonka.Lightsail.GetExportSnapshotRecords

ToJSON GetExportSnapshotRecords Source # 
Instance details

Defined in Amazonka.Lightsail.GetExportSnapshotRecords

AWSPager GetExportSnapshotRecords Source # 
Instance details

Defined in Amazonka.Lightsail.GetExportSnapshotRecords

AWSRequest GetExportSnapshotRecords Source # 
Instance details

Defined in Amazonka.Lightsail.GetExportSnapshotRecords

ToHeaders GetExportSnapshotRecords Source # 
Instance details

Defined in Amazonka.Lightsail.GetExportSnapshotRecords

ToPath GetExportSnapshotRecords Source # 
Instance details

Defined in Amazonka.Lightsail.GetExportSnapshotRecords

ToQuery GetExportSnapshotRecords Source # 
Instance details

Defined in Amazonka.Lightsail.GetExportSnapshotRecords

type Rep GetExportSnapshotRecords Source # 
Instance details

Defined in Amazonka.Lightsail.GetExportSnapshotRecords

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

Defined in Amazonka.Lightsail.GetExportSnapshotRecords

newGetExportSnapshotRecords :: GetExportSnapshotRecords Source #

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

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

getExportSnapshotRecords_pageToken :: Lens' GetExportSnapshotRecords (Maybe Text) Source #

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

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

See: newGetExportSnapshotRecordsResponse smart constructor.

Constructors

GetExportSnapshotRecordsResponse' 

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

  • exportSnapshotRecords :: Maybe [ExportSnapshotRecord]

    A list of objects describing the export snapshot records.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq GetExportSnapshotRecordsResponse Source # 
Instance details

Defined in Amazonka.Lightsail.GetExportSnapshotRecords

Read GetExportSnapshotRecordsResponse Source # 
Instance details

Defined in Amazonka.Lightsail.GetExportSnapshotRecords

Show GetExportSnapshotRecordsResponse Source # 
Instance details

Defined in Amazonka.Lightsail.GetExportSnapshotRecords

Generic GetExportSnapshotRecordsResponse Source # 
Instance details

Defined in Amazonka.Lightsail.GetExportSnapshotRecords

Associated Types

type Rep GetExportSnapshotRecordsResponse :: Type -> Type #

NFData GetExportSnapshotRecordsResponse Source # 
Instance details

Defined in Amazonka.Lightsail.GetExportSnapshotRecords

type Rep GetExportSnapshotRecordsResponse Source # 
Instance details

Defined in Amazonka.Lightsail.GetExportSnapshotRecords

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

newGetExportSnapshotRecordsResponse Source #

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

$sel:exportSnapshotRecords:GetExportSnapshotRecordsResponse', getExportSnapshotRecordsResponse_exportSnapshotRecords - A list of objects describing the export snapshot records.

$sel:httpStatus:GetExportSnapshotRecordsResponse', getExportSnapshotRecordsResponse_httpStatus - The response's http status code.

Response Lenses

getExportSnapshotRecordsResponse_nextPageToken :: Lens' GetExportSnapshotRecordsResponse (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 GetExportSnapshotRecords request and specify the next page token using the pageToken parameter.