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 information about all of your database snapshots in Amazon Lightsail.
This operation returns paginated results.
Synopsis
- data GetRelationalDatabaseSnapshots = GetRelationalDatabaseSnapshots' {}
- newGetRelationalDatabaseSnapshots :: GetRelationalDatabaseSnapshots
- getRelationalDatabaseSnapshots_pageToken :: Lens' GetRelationalDatabaseSnapshots (Maybe Text)
- data GetRelationalDatabaseSnapshotsResponse = GetRelationalDatabaseSnapshotsResponse' {}
- newGetRelationalDatabaseSnapshotsResponse :: Int -> GetRelationalDatabaseSnapshotsResponse
- getRelationalDatabaseSnapshotsResponse_nextPageToken :: Lens' GetRelationalDatabaseSnapshotsResponse (Maybe Text)
- getRelationalDatabaseSnapshotsResponse_relationalDatabaseSnapshots :: Lens' GetRelationalDatabaseSnapshotsResponse (Maybe [RelationalDatabaseSnapshot])
- getRelationalDatabaseSnapshotsResponse_httpStatus :: Lens' GetRelationalDatabaseSnapshotsResponse Int
Creating a Request
data GetRelationalDatabaseSnapshots Source #
See: newGetRelationalDatabaseSnapshots
smart constructor.
GetRelationalDatabaseSnapshots' | |
|
Instances
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 #
See: newGetRelationalDatabaseSnapshotsResponse
smart constructor.
GetRelationalDatabaseSnapshotsResponse' | |
|
Instances
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.
getRelationalDatabaseSnapshotsResponse_relationalDatabaseSnapshots :: Lens' GetRelationalDatabaseSnapshotsResponse (Maybe [RelationalDatabaseSnapshot]) Source #
An object describing the result of your get relational database snapshots request.
getRelationalDatabaseSnapshotsResponse_httpStatus :: Lens' GetRelationalDatabaseSnapshotsResponse Int Source #
The response's http status code.