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 the list of bundles that are available in Amazon Lightsail. A bundle describes the performance specifications for a database.
You can use a bundle ID to create a new database with explicit performance specifications.
This operation returns paginated results.
Synopsis
- data GetRelationalDatabaseBundles = GetRelationalDatabaseBundles' {}
- newGetRelationalDatabaseBundles :: GetRelationalDatabaseBundles
- getRelationalDatabaseBundles_pageToken :: Lens' GetRelationalDatabaseBundles (Maybe Text)
- data GetRelationalDatabaseBundlesResponse = GetRelationalDatabaseBundlesResponse' {}
- newGetRelationalDatabaseBundlesResponse :: Int -> GetRelationalDatabaseBundlesResponse
- getRelationalDatabaseBundlesResponse_nextPageToken :: Lens' GetRelationalDatabaseBundlesResponse (Maybe Text)
- getRelationalDatabaseBundlesResponse_bundles :: Lens' GetRelationalDatabaseBundlesResponse (Maybe [RelationalDatabaseBundle])
- getRelationalDatabaseBundlesResponse_httpStatus :: Lens' GetRelationalDatabaseBundlesResponse Int
Creating a Request
data GetRelationalDatabaseBundles Source #
See: newGetRelationalDatabaseBundles
smart constructor.
GetRelationalDatabaseBundles' | |
|
Instances
newGetRelationalDatabaseBundles :: GetRelationalDatabaseBundles Source #
Create a value of GetRelationalDatabaseBundles
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:GetRelationalDatabaseBundles'
, getRelationalDatabaseBundles_pageToken
- The token to advance to the next page of results from your request.
To get a page token, perform an initial GetRelationalDatabaseBundles
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
getRelationalDatabaseBundles_pageToken :: Lens' GetRelationalDatabaseBundles (Maybe Text) Source #
The token to advance to the next page of results from your request.
To get a page token, perform an initial GetRelationalDatabaseBundles
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 GetRelationalDatabaseBundlesResponse Source #
See: newGetRelationalDatabaseBundlesResponse
smart constructor.
GetRelationalDatabaseBundlesResponse' | |
|
Instances
newGetRelationalDatabaseBundlesResponse Source #
Create a value of GetRelationalDatabaseBundlesResponse
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:GetRelationalDatabaseBundlesResponse'
, getRelationalDatabaseBundlesResponse_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
GetRelationalDatabaseBundles
request and specify the next page token
using the pageToken
parameter.
$sel:bundles:GetRelationalDatabaseBundlesResponse'
, getRelationalDatabaseBundlesResponse_bundles
- An object describing the result of your get relational database bundles
request.
$sel:httpStatus:GetRelationalDatabaseBundlesResponse'
, getRelationalDatabaseBundlesResponse_httpStatus
- The response's http status code.
Response Lenses
getRelationalDatabaseBundlesResponse_nextPageToken :: Lens' GetRelationalDatabaseBundlesResponse (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
GetRelationalDatabaseBundles
request and specify the next page token
using the pageToken
parameter.
getRelationalDatabaseBundlesResponse_bundles :: Lens' GetRelationalDatabaseBundlesResponse (Maybe [RelationalDatabaseBundle]) Source #
An object describing the result of your get relational database bundles request.
getRelationalDatabaseBundlesResponse_httpStatus :: Lens' GetRelationalDatabaseBundlesResponse Int Source #
The response's http status code.