libZSservicesZSamazonka-lightsailZSamazonka-lightsail
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Lightsail.GetRelationalDatabaseBundles

Description

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

Creating a Request

data GetRelationalDatabaseBundles Source #

See: newGetRelationalDatabaseBundles smart constructor.

Constructors

GetRelationalDatabaseBundles' 

Fields

  • pageToken :: Maybe Text

    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.

Instances

Instances details
Eq GetRelationalDatabaseBundles Source # 
Instance details

Defined in Amazonka.Lightsail.GetRelationalDatabaseBundles

Read GetRelationalDatabaseBundles Source # 
Instance details

Defined in Amazonka.Lightsail.GetRelationalDatabaseBundles

Show GetRelationalDatabaseBundles Source # 
Instance details

Defined in Amazonka.Lightsail.GetRelationalDatabaseBundles

Generic GetRelationalDatabaseBundles Source # 
Instance details

Defined in Amazonka.Lightsail.GetRelationalDatabaseBundles

Associated Types

type Rep GetRelationalDatabaseBundles :: Type -> Type #

NFData GetRelationalDatabaseBundles Source # 
Instance details

Defined in Amazonka.Lightsail.GetRelationalDatabaseBundles

Hashable GetRelationalDatabaseBundles Source # 
Instance details

Defined in Amazonka.Lightsail.GetRelationalDatabaseBundles

ToJSON GetRelationalDatabaseBundles Source # 
Instance details

Defined in Amazonka.Lightsail.GetRelationalDatabaseBundles

AWSPager GetRelationalDatabaseBundles Source # 
Instance details

Defined in Amazonka.Lightsail.GetRelationalDatabaseBundles

AWSRequest GetRelationalDatabaseBundles Source # 
Instance details

Defined in Amazonka.Lightsail.GetRelationalDatabaseBundles

ToHeaders GetRelationalDatabaseBundles Source # 
Instance details

Defined in Amazonka.Lightsail.GetRelationalDatabaseBundles

ToPath GetRelationalDatabaseBundles Source # 
Instance details

Defined in Amazonka.Lightsail.GetRelationalDatabaseBundles

ToQuery GetRelationalDatabaseBundles Source # 
Instance details

Defined in Amazonka.Lightsail.GetRelationalDatabaseBundles

type Rep GetRelationalDatabaseBundles Source # 
Instance details

Defined in Amazonka.Lightsail.GetRelationalDatabaseBundles

type Rep GetRelationalDatabaseBundles = D1 ('MetaData "GetRelationalDatabaseBundles" "Amazonka.Lightsail.GetRelationalDatabaseBundles" "libZSservicesZSamazonka-lightsailZSamazonka-lightsail" 'False) (C1 ('MetaCons "GetRelationalDatabaseBundles'" 'PrefixI 'True) (S1 ('MetaSel ('Just "pageToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))
type AWSResponse GetRelationalDatabaseBundles Source # 
Instance details

Defined in Amazonka.Lightsail.GetRelationalDatabaseBundles

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 #

Constructors

GetRelationalDatabaseBundlesResponse' 

Fields

  • nextPageToken :: Maybe Text

    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.

  • bundles :: Maybe [RelationalDatabaseBundle]

    An object describing the result of your get relational database bundles request.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq GetRelationalDatabaseBundlesResponse Source # 
Instance details

Defined in Amazonka.Lightsail.GetRelationalDatabaseBundles

Read GetRelationalDatabaseBundlesResponse Source # 
Instance details

Defined in Amazonka.Lightsail.GetRelationalDatabaseBundles

Show GetRelationalDatabaseBundlesResponse Source # 
Instance details

Defined in Amazonka.Lightsail.GetRelationalDatabaseBundles

Generic GetRelationalDatabaseBundlesResponse Source # 
Instance details

Defined in Amazonka.Lightsail.GetRelationalDatabaseBundles

NFData GetRelationalDatabaseBundlesResponse Source # 
Instance details

Defined in Amazonka.Lightsail.GetRelationalDatabaseBundles

type Rep GetRelationalDatabaseBundlesResponse Source # 
Instance details

Defined in Amazonka.Lightsail.GetRelationalDatabaseBundles

type Rep GetRelationalDatabaseBundlesResponse = D1 ('MetaData "GetRelationalDatabaseBundlesResponse" "Amazonka.Lightsail.GetRelationalDatabaseBundles" "libZSservicesZSamazonka-lightsailZSamazonka-lightsail" 'False) (C1 ('MetaCons "GetRelationalDatabaseBundlesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextPageToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "bundles") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [RelationalDatabaseBundle])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

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.