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

Description

Returns the list of available instance images, or blueprints. You can use a blueprint to create a new instance already running a specific operating system, as well as a preinstalled app or development stack. The software each instance is running depends on the blueprint image you choose.

Use active blueprints when creating new instances. Inactive blueprints are listed to support customers with existing instances and are not necessarily available to create new instances. Blueprints are marked inactive when they become outdated due to operating system updates or new application releases.

This operation returns paginated results.

Synopsis

Creating a Request

data GetBlueprints Source #

See: newGetBlueprints smart constructor.

Constructors

GetBlueprints' 

Fields

  • includeInactive :: Maybe Bool

    A Boolean value indicating whether to include inactive results in your request.

  • pageToken :: Maybe Text

    The token to advance to the next page of results from your request.

    To get a page token, perform an initial GetBlueprints 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 GetBlueprints Source # 
Instance details

Defined in Amazonka.Lightsail.GetBlueprints

Read GetBlueprints Source # 
Instance details

Defined in Amazonka.Lightsail.GetBlueprints

Show GetBlueprints Source # 
Instance details

Defined in Amazonka.Lightsail.GetBlueprints

Generic GetBlueprints Source # 
Instance details

Defined in Amazonka.Lightsail.GetBlueprints

Associated Types

type Rep GetBlueprints :: Type -> Type #

NFData GetBlueprints Source # 
Instance details

Defined in Amazonka.Lightsail.GetBlueprints

Methods

rnf :: GetBlueprints -> () #

Hashable GetBlueprints Source # 
Instance details

Defined in Amazonka.Lightsail.GetBlueprints

ToJSON GetBlueprints Source # 
Instance details

Defined in Amazonka.Lightsail.GetBlueprints

AWSPager GetBlueprints Source # 
Instance details

Defined in Amazonka.Lightsail.GetBlueprints

AWSRequest GetBlueprints Source # 
Instance details

Defined in Amazonka.Lightsail.GetBlueprints

Associated Types

type AWSResponse GetBlueprints #

ToHeaders GetBlueprints Source # 
Instance details

Defined in Amazonka.Lightsail.GetBlueprints

ToPath GetBlueprints Source # 
Instance details

Defined in Amazonka.Lightsail.GetBlueprints

ToQuery GetBlueprints Source # 
Instance details

Defined in Amazonka.Lightsail.GetBlueprints

type Rep GetBlueprints Source # 
Instance details

Defined in Amazonka.Lightsail.GetBlueprints

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

Defined in Amazonka.Lightsail.GetBlueprints

newGetBlueprints :: GetBlueprints Source #

Create a value of GetBlueprints 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:includeInactive:GetBlueprints', getBlueprints_includeInactive - A Boolean value indicating whether to include inactive results in your request.

$sel:pageToken:GetBlueprints', getBlueprints_pageToken - The token to advance to the next page of results from your request.

To get a page token, perform an initial GetBlueprints 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

getBlueprints_includeInactive :: Lens' GetBlueprints (Maybe Bool) Source #

A Boolean value indicating whether to include inactive results in your request.

getBlueprints_pageToken :: Lens' GetBlueprints (Maybe Text) Source #

The token to advance to the next page of results from your request.

To get a page token, perform an initial GetBlueprints 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 GetBlueprintsResponse Source #

See: newGetBlueprintsResponse smart constructor.

Constructors

GetBlueprintsResponse' 

Fields

  • blueprints :: Maybe [Blueprint]

    An array of key-value pairs that contains information about the available blueprints.

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

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq GetBlueprintsResponse Source # 
Instance details

Defined in Amazonka.Lightsail.GetBlueprints

Read GetBlueprintsResponse Source # 
Instance details

Defined in Amazonka.Lightsail.GetBlueprints

Show GetBlueprintsResponse Source # 
Instance details

Defined in Amazonka.Lightsail.GetBlueprints

Generic GetBlueprintsResponse Source # 
Instance details

Defined in Amazonka.Lightsail.GetBlueprints

Associated Types

type Rep GetBlueprintsResponse :: Type -> Type #

NFData GetBlueprintsResponse Source # 
Instance details

Defined in Amazonka.Lightsail.GetBlueprints

Methods

rnf :: GetBlueprintsResponse -> () #

type Rep GetBlueprintsResponse Source # 
Instance details

Defined in Amazonka.Lightsail.GetBlueprints

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

newGetBlueprintsResponse Source #

Create a value of GetBlueprintsResponse 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:GetBlueprintsResponse', getBlueprintsResponse_blueprints - An array of key-value pairs that contains information about the available blueprints.

$sel:nextPageToken:GetBlueprintsResponse', getBlueprintsResponse_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 GetBlueprints request and specify the next page token using the pageToken parameter.

$sel:httpStatus:GetBlueprintsResponse', getBlueprintsResponse_httpStatus - The response's http status code.

Response Lenses

getBlueprintsResponse_blueprints :: Lens' GetBlueprintsResponse (Maybe [Blueprint]) Source #

An array of key-value pairs that contains information about the available blueprints.

getBlueprintsResponse_nextPageToken :: Lens' GetBlueprintsResponse (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 GetBlueprints request and specify the next page token using the pageToken parameter.