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.GetRelationalDatabaseBlueprints

Description

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

Creating a Request

data GetRelationalDatabaseBlueprints Source #

See: newGetRelationalDatabaseBlueprints smart constructor.

Constructors

GetRelationalDatabaseBlueprints' 

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 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.

Instances

Instances details
Eq GetRelationalDatabaseBlueprints Source # 
Instance details

Defined in Amazonka.Lightsail.GetRelationalDatabaseBlueprints

Read GetRelationalDatabaseBlueprints Source # 
Instance details

Defined in Amazonka.Lightsail.GetRelationalDatabaseBlueprints

Show GetRelationalDatabaseBlueprints Source # 
Instance details

Defined in Amazonka.Lightsail.GetRelationalDatabaseBlueprints

Generic GetRelationalDatabaseBlueprints Source # 
Instance details

Defined in Amazonka.Lightsail.GetRelationalDatabaseBlueprints

Associated Types

type Rep GetRelationalDatabaseBlueprints :: Type -> Type #

NFData GetRelationalDatabaseBlueprints Source # 
Instance details

Defined in Amazonka.Lightsail.GetRelationalDatabaseBlueprints

Hashable GetRelationalDatabaseBlueprints Source # 
Instance details

Defined in Amazonka.Lightsail.GetRelationalDatabaseBlueprints

ToJSON GetRelationalDatabaseBlueprints Source # 
Instance details

Defined in Amazonka.Lightsail.GetRelationalDatabaseBlueprints

AWSPager GetRelationalDatabaseBlueprints Source # 
Instance details

Defined in Amazonka.Lightsail.GetRelationalDatabaseBlueprints

AWSRequest GetRelationalDatabaseBlueprints Source # 
Instance details

Defined in Amazonka.Lightsail.GetRelationalDatabaseBlueprints

ToHeaders GetRelationalDatabaseBlueprints Source # 
Instance details

Defined in Amazonka.Lightsail.GetRelationalDatabaseBlueprints

ToPath GetRelationalDatabaseBlueprints Source # 
Instance details

Defined in Amazonka.Lightsail.GetRelationalDatabaseBlueprints

ToQuery GetRelationalDatabaseBlueprints Source # 
Instance details

Defined in Amazonka.Lightsail.GetRelationalDatabaseBlueprints

type Rep GetRelationalDatabaseBlueprints Source # 
Instance details

Defined in Amazonka.Lightsail.GetRelationalDatabaseBlueprints

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

Defined in Amazonka.Lightsail.GetRelationalDatabaseBlueprints

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 #

Constructors

GetRelationalDatabaseBlueprintsResponse' 

Fields

  • blueprints :: Maybe [RelationalDatabaseBlueprint]

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

  • 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 GetRelationalDatabaseBlueprints request and specify the next page token using the pageToken parameter.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq GetRelationalDatabaseBlueprintsResponse Source # 
Instance details

Defined in Amazonka.Lightsail.GetRelationalDatabaseBlueprints

Read GetRelationalDatabaseBlueprintsResponse Source # 
Instance details

Defined in Amazonka.Lightsail.GetRelationalDatabaseBlueprints

Show GetRelationalDatabaseBlueprintsResponse Source # 
Instance details

Defined in Amazonka.Lightsail.GetRelationalDatabaseBlueprints

Generic GetRelationalDatabaseBlueprintsResponse Source # 
Instance details

Defined in Amazonka.Lightsail.GetRelationalDatabaseBlueprints

NFData GetRelationalDatabaseBlueprintsResponse Source # 
Instance details

Defined in Amazonka.Lightsail.GetRelationalDatabaseBlueprints

type Rep GetRelationalDatabaseBlueprintsResponse Source # 
Instance details

Defined in Amazonka.Lightsail.GetRelationalDatabaseBlueprints

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

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.