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 a list of available database blueprints in Amazon Lightsail. A blueprint describes the major engine version of a database.
You can use a blueprint ID to create a new database that runs a specific database engine.
This operation returns paginated results.
Synopsis
- data GetRelationalDatabaseBlueprints = GetRelationalDatabaseBlueprints' {}
- newGetRelationalDatabaseBlueprints :: GetRelationalDatabaseBlueprints
- getRelationalDatabaseBlueprints_pageToken :: Lens' GetRelationalDatabaseBlueprints (Maybe Text)
- data GetRelationalDatabaseBlueprintsResponse = GetRelationalDatabaseBlueprintsResponse' {}
- newGetRelationalDatabaseBlueprintsResponse :: Int -> GetRelationalDatabaseBlueprintsResponse
- getRelationalDatabaseBlueprintsResponse_blueprints :: Lens' GetRelationalDatabaseBlueprintsResponse (Maybe [RelationalDatabaseBlueprint])
- getRelationalDatabaseBlueprintsResponse_nextPageToken :: Lens' GetRelationalDatabaseBlueprintsResponse (Maybe Text)
- getRelationalDatabaseBlueprintsResponse_httpStatus :: Lens' GetRelationalDatabaseBlueprintsResponse Int
Creating a Request
data GetRelationalDatabaseBlueprints Source #
See: newGetRelationalDatabaseBlueprints
smart constructor.
GetRelationalDatabaseBlueprints' | |
|
Instances
newGetRelationalDatabaseBlueprints :: GetRelationalDatabaseBlueprints Source #
Create a value of GetRelationalDatabaseBlueprints
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:GetRelationalDatabaseBlueprints'
, getRelationalDatabaseBlueprints_pageToken
- The token to advance to the next page of results from your request.
To get a page token, perform an initial
GetRelationalDatabaseBlueprints
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
getRelationalDatabaseBlueprints_pageToken :: Lens' GetRelationalDatabaseBlueprints (Maybe Text) Source #
The token to advance to the next page of results from your request.
To get a page token, perform an initial
GetRelationalDatabaseBlueprints
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 GetRelationalDatabaseBlueprintsResponse Source #
See: newGetRelationalDatabaseBlueprintsResponse
smart constructor.
GetRelationalDatabaseBlueprintsResponse' | |
|
Instances
newGetRelationalDatabaseBlueprintsResponse Source #
Create a value of GetRelationalDatabaseBlueprintsResponse
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:blueprints:GetRelationalDatabaseBlueprintsResponse'
, getRelationalDatabaseBlueprintsResponse_blueprints
- An object describing the result of your get relational database
blueprints request.
$sel:nextPageToken:GetRelationalDatabaseBlueprintsResponse'
, getRelationalDatabaseBlueprintsResponse_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
GetRelationalDatabaseBlueprints
request and specify the next page
token using the pageToken
parameter.
$sel:httpStatus:GetRelationalDatabaseBlueprintsResponse'
, getRelationalDatabaseBlueprintsResponse_httpStatus
- The response's http status code.
Response Lenses
getRelationalDatabaseBlueprintsResponse_blueprints :: Lens' GetRelationalDatabaseBlueprintsResponse (Maybe [RelationalDatabaseBlueprint]) Source #
An object describing the result of your get relational database blueprints request.
getRelationalDatabaseBlueprintsResponse_nextPageToken :: Lens' GetRelationalDatabaseBlueprintsResponse (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
GetRelationalDatabaseBlueprints
request and specify the next page
token using the pageToken
parameter.
getRelationalDatabaseBlueprintsResponse_httpStatus :: Lens' GetRelationalDatabaseBlueprintsResponse Int Source #
The response's http status code.