Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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
- data GetExportSnapshotRecords = GetExportSnapshotRecords' {}
- newGetExportSnapshotRecords :: GetExportSnapshotRecords
- getExportSnapshotRecords_pageToken :: Lens' GetExportSnapshotRecords (Maybe Text)
- data GetExportSnapshotRecordsResponse = GetExportSnapshotRecordsResponse' {}
- newGetExportSnapshotRecordsResponse :: Int -> GetExportSnapshotRecordsResponse
- getExportSnapshotRecordsResponse_nextPageToken :: Lens' GetExportSnapshotRecordsResponse (Maybe Text)
- getExportSnapshotRecordsResponse_exportSnapshotRecords :: Lens' GetExportSnapshotRecordsResponse (Maybe [ExportSnapshotRecord])
- getExportSnapshotRecordsResponse_httpStatus :: Lens' GetExportSnapshotRecordsResponse Int
Creating a Request
data GetExportSnapshotRecords Source #
See: newGetExportSnapshotRecords
smart constructor.
GetExportSnapshotRecords' | |
|
Instances
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.
GetExportSnapshotRecordsResponse' | |
|
Instances
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.
getExportSnapshotRecordsResponse_exportSnapshotRecords :: Lens' GetExportSnapshotRecordsResponse (Maybe [ExportSnapshotRecord]) Source #
A list of objects describing the export snapshot records.
getExportSnapshotRecordsResponse_httpStatus :: Lens' GetExportSnapshotRecordsResponse Int Source #
The response's http status code.