Copyright | (c) 2013-2017 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 |
Language | Haskell2010 |
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.
- getBlueprints :: GetBlueprints
- data GetBlueprints
- gbIncludeInactive :: Lens' GetBlueprints (Maybe Bool)
- gbPageToken :: Lens' GetBlueprints (Maybe Text)
- getBlueprintsResponse :: Int -> GetBlueprintsResponse
- data GetBlueprintsResponse
- gbsrsBlueprints :: Lens' GetBlueprintsResponse [Blueprint]
- gbsrsNextPageToken :: Lens' GetBlueprintsResponse (Maybe Text)
- gbsrsResponseStatus :: Lens' GetBlueprintsResponse Int
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.
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.
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.