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 |
List all available bundles.
This operation returns paginated results.
- listBundles :: ListBundles
- data ListBundles
- lbNextToken :: Lens' ListBundles (Maybe Text)
- lbMaxResults :: Lens' ListBundles (Maybe Int)
- listBundlesResponse :: Int -> ListBundlesResponse
- data ListBundlesResponse
- lbrsBundleList :: Lens' ListBundlesResponse [BundleDetails]
- lbrsNextToken :: Lens' ListBundlesResponse (Maybe Text)
- lbrsResponseStatus :: Lens' ListBundlesResponse Int
Creating a Request
listBundles :: ListBundles Source #
Creates a value of ListBundles
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lbNextToken
- Pagination token. Set to null to start listing bundles from start. If non-null pagination token is returned in a result, then pass its value in here in another request to list more bundles.lbMaxResults
- Maximum number of records to list in a single response.
data ListBundles Source #
Request structure to request all available bundles.
See: listBundles
smart constructor.
Request Lenses
lbNextToken :: Lens' ListBundles (Maybe Text) Source #
Pagination token. Set to null to start listing bundles from start. If non-null pagination token is returned in a result, then pass its value in here in another request to list more bundles.
lbMaxResults :: Lens' ListBundles (Maybe Int) Source #
Maximum number of records to list in a single response.
Destructuring the Response
Creates a value of ListBundlesResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lbrsBundleList
- A list of bundles.lbrsNextToken
- Pagination token. If non-null pagination token is returned in a result, then pass its value in another request to fetch more entries.lbrsResponseStatus
- -- | The response status code.
data ListBundlesResponse Source #
Result structure contains a list of all available bundles with details.
See: listBundlesResponse
smart constructor.
Response Lenses
lbrsBundleList :: Lens' ListBundlesResponse [BundleDetails] Source #
A list of bundles.
lbrsNextToken :: Lens' ListBundlesResponse (Maybe Text) Source #
Pagination token. If non-null pagination token is returned in a result, then pass its value in another request to fetch more entries.
lbrsResponseStatus :: Lens' ListBundlesResponse Int Source #
- - | The response status code.