Copyright | (c) 2013-2018 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 bundles that are available for purchase. A bundle describes the specs for your virtual private server (or instance ).
This operation returns paginated results.
Synopsis
- getBundles :: GetBundles
- data GetBundles
- gbsIncludeInactive :: Lens' GetBundles (Maybe Bool)
- gbsPageToken :: Lens' GetBundles (Maybe Text)
- getBundlesResponse :: Int -> GetBundlesResponse
- data GetBundlesResponse
- gbrsNextPageToken :: Lens' GetBundlesResponse (Maybe Text)
- gbrsBundles :: Lens' GetBundlesResponse [Bundle]
- gbrsResponseStatus :: Lens' GetBundlesResponse Int
Creating a Request
getBundles :: GetBundles Source #
Creates a value of GetBundles
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gbsIncludeInactive
- A Boolean value that indicates whether to include inactive bundle results in your request.gbsPageToken
- A token used for advancing to the next page of results from your get bundles request.
data GetBundles Source #
See: getBundles
smart constructor.
Instances
Request Lenses
gbsIncludeInactive :: Lens' GetBundles (Maybe Bool) Source #
A Boolean value that indicates whether to include inactive bundle results in your request.
gbsPageToken :: Lens' GetBundles (Maybe Text) Source #
A token used for advancing to the next page of results from your get bundles request.
Destructuring the Response
Creates a value of GetBundlesResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gbrsNextPageToken
- A token used for advancing to the next page of results from your get active names request.gbrsBundles
- An array of key-value pairs that contains information about the available bundles.gbrsResponseStatus
- -- | The response status code.
data GetBundlesResponse Source #
See: getBundlesResponse
smart constructor.
Instances
Response Lenses
gbrsNextPageToken :: Lens' GetBundlesResponse (Maybe Text) Source #
A token used for advancing to the next page of results from your get active names request.
gbrsBundles :: Lens' GetBundlesResponse [Bundle] Source #
An array of key-value pairs that contains information about the available bundles.
gbrsResponseStatus :: Lens' GetBundlesResponse Int Source #
- - | The response status code.