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 databases in Amazon Lightsail.
This operation returns paginated results.
Synopsis
- data GetRelationalDatabases = GetRelationalDatabases' {}
- newGetRelationalDatabases :: GetRelationalDatabases
- getRelationalDatabases_pageToken :: Lens' GetRelationalDatabases (Maybe Text)
- data GetRelationalDatabasesResponse = GetRelationalDatabasesResponse' {}
- newGetRelationalDatabasesResponse :: Int -> GetRelationalDatabasesResponse
- getRelationalDatabasesResponse_nextPageToken :: Lens' GetRelationalDatabasesResponse (Maybe Text)
- getRelationalDatabasesResponse_relationalDatabases :: Lens' GetRelationalDatabasesResponse (Maybe [RelationalDatabase])
- getRelationalDatabasesResponse_httpStatus :: Lens' GetRelationalDatabasesResponse Int
Creating a Request
data GetRelationalDatabases Source #
See: newGetRelationalDatabases
smart constructor.
Instances
newGetRelationalDatabases :: GetRelationalDatabases Source #
Create a value of GetRelationalDatabases
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:GetRelationalDatabases'
, getRelationalDatabases_pageToken
- The token to advance to the next page of results from your request.
To get a page token, perform an initial GetRelationalDatabases
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
getRelationalDatabases_pageToken :: Lens' GetRelationalDatabases (Maybe Text) Source #
The token to advance to the next page of results from your request.
To get a page token, perform an initial GetRelationalDatabases
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 GetRelationalDatabasesResponse Source #
See: newGetRelationalDatabasesResponse
smart constructor.
GetRelationalDatabasesResponse' | |
|
Instances
newGetRelationalDatabasesResponse Source #
Create a value of GetRelationalDatabasesResponse
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:GetRelationalDatabasesResponse'
, getRelationalDatabasesResponse_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
GetRelationalDatabases
request and specify the next page token using
the pageToken
parameter.
$sel:relationalDatabases:GetRelationalDatabasesResponse'
, getRelationalDatabasesResponse_relationalDatabases
- An object describing the result of your get relational databases
request.
$sel:httpStatus:GetRelationalDatabasesResponse'
, getRelationalDatabasesResponse_httpStatus
- The response's http status code.
Response Lenses
getRelationalDatabasesResponse_nextPageToken :: Lens' GetRelationalDatabasesResponse (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
GetRelationalDatabases
request and specify the next page token using
the pageToken
parameter.
getRelationalDatabasesResponse_relationalDatabases :: Lens' GetRelationalDatabasesResponse (Maybe [RelationalDatabase]) Source #
An object describing the result of your get relational databases request.
getRelationalDatabasesResponse_httpStatus :: Lens' GetRelationalDatabasesResponse Int Source #
The response's http status code.