amazonka-lightsail-1.5.0: Amazon Lightsail SDK.

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

Network.AWS.Lightsail.GetBlueprints

Contents

Description

Returns the list of available instance images, or blueprints . You can use a blueprint to create a new virtual private server 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.

This operation returns paginated results.

Synopsis

Creating a Request

getBlueprints :: GetBlueprints Source #

Creates a value of GetBlueprints with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • gbIncludeInactive - A Boolean value indicating whether to include inactive results in your request.
  • gbPageToken - A token used for advancing to the next page of results from your get blueprints request.

data GetBlueprints Source #

See: getBlueprints smart constructor.

Instances

Eq GetBlueprints Source # 
Data GetBlueprints Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> GetBlueprints -> c GetBlueprints #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c GetBlueprints #

toConstr :: GetBlueprints -> Constr #

dataTypeOf :: GetBlueprints -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c GetBlueprints) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c GetBlueprints) #

gmapT :: (forall b. Data b => b -> b) -> GetBlueprints -> GetBlueprints #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> GetBlueprints -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> GetBlueprints -> r #

gmapQ :: (forall d. Data d => d -> u) -> GetBlueprints -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> GetBlueprints -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> GetBlueprints -> m GetBlueprints #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> GetBlueprints -> m GetBlueprints #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> GetBlueprints -> m GetBlueprints #

Read GetBlueprints Source # 
Show GetBlueprints Source # 
Generic GetBlueprints Source # 

Associated Types

type Rep GetBlueprints :: * -> * #

Hashable GetBlueprints Source # 
ToJSON GetBlueprints Source # 
NFData GetBlueprints Source # 

Methods

rnf :: GetBlueprints -> () #

AWSPager GetBlueprints Source # 
AWSRequest GetBlueprints Source # 
ToQuery GetBlueprints Source # 
ToPath GetBlueprints Source # 
ToHeaders GetBlueprints Source # 
type Rep GetBlueprints Source # 
type Rep GetBlueprints = D1 (MetaData "GetBlueprints" "Network.AWS.Lightsail.GetBlueprints" "amazonka-lightsail-1.5.0-E35HA2Q1qxxGaFNVAGVi4N" False) (C1 (MetaCons "GetBlueprints'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_gbIncludeInactive") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) (S1 (MetaSel (Just Symbol "_gbPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))
type Rs GetBlueprints Source # 

Request Lenses

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

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

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

A token used for advancing to the next page of results from your get blueprints request.

Destructuring the Response

getBlueprintsResponse Source #

Creates a value of GetBlueprintsResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • gbsrsBlueprints - An array of key-value pairs that contains information about the available blueprints.
  • gbsrsNextPageToken - A token used for advancing to the next page of results from your get blueprints request.
  • gbsrsResponseStatus - -- | The response status code.

data GetBlueprintsResponse Source #

See: getBlueprintsResponse smart constructor.

Instances

Eq GetBlueprintsResponse Source # 
Data GetBlueprintsResponse Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> GetBlueprintsResponse -> c GetBlueprintsResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c GetBlueprintsResponse #

toConstr :: GetBlueprintsResponse -> Constr #

dataTypeOf :: GetBlueprintsResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c GetBlueprintsResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c GetBlueprintsResponse) #

gmapT :: (forall b. Data b => b -> b) -> GetBlueprintsResponse -> GetBlueprintsResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> GetBlueprintsResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> GetBlueprintsResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> GetBlueprintsResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> GetBlueprintsResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> GetBlueprintsResponse -> m GetBlueprintsResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> GetBlueprintsResponse -> m GetBlueprintsResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> GetBlueprintsResponse -> m GetBlueprintsResponse #

Read GetBlueprintsResponse Source # 
Show GetBlueprintsResponse Source # 
Generic GetBlueprintsResponse Source # 
NFData GetBlueprintsResponse Source # 

Methods

rnf :: GetBlueprintsResponse -> () #

type Rep GetBlueprintsResponse Source # 
type Rep GetBlueprintsResponse = D1 (MetaData "GetBlueprintsResponse" "Network.AWS.Lightsail.GetBlueprints" "amazonka-lightsail-1.5.0-E35HA2Q1qxxGaFNVAGVi4N" False) (C1 (MetaCons "GetBlueprintsResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_gbsrsBlueprints") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Blueprint]))) ((:*:) (S1 (MetaSel (Just Symbol "_gbsrsNextPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_gbsrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))))

Response Lenses

gbsrsBlueprints :: Lens' GetBlueprintsResponse [Blueprint] Source #

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

gbsrsNextPageToken :: Lens' GetBlueprintsResponse (Maybe Text) Source #

A token used for advancing to the next page of results from your get blueprints request.

gbsrsResponseStatus :: Lens' GetBlueprintsResponse Int Source #

  • - | The response status code.