| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.Mobile.ListBundles
Description
List all available bundles.
This operation returns paginated results.
Synopsis
- data ListBundles = ListBundles' {}
- newListBundles :: ListBundles
- listBundles_maxResults :: Lens' ListBundles (Maybe Int)
- listBundles_nextToken :: Lens' ListBundles (Maybe Text)
- data ListBundlesResponse = ListBundlesResponse' {
- bundleList :: Maybe [BundleDetails]
- nextToken :: Maybe Text
- httpStatus :: Int
- newListBundlesResponse :: Int -> ListBundlesResponse
- listBundlesResponse_bundleList :: Lens' ListBundlesResponse (Maybe [BundleDetails])
- listBundlesResponse_nextToken :: Lens' ListBundlesResponse (Maybe Text)
- listBundlesResponse_httpStatus :: Lens' ListBundlesResponse Int
Creating a Request
data ListBundles Source #
Request structure to request all available bundles.
See: newListBundles smart constructor.
Constructors
| ListBundles' | |
Instances
newListBundles :: ListBundles Source #
Create a value of ListBundles 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:maxResults:ListBundles', listBundles_maxResults - Maximum number of records to list in a single response.
ListBundles, listBundles_nextToken - 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.
Request Lenses
listBundles_maxResults :: Lens' ListBundles (Maybe Int) Source #
Maximum number of records to list in a single response.
listBundles_nextToken :: 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.
Destructuring the Response
data ListBundlesResponse Source #
Result structure contains a list of all available bundles with details.
See: newListBundlesResponse smart constructor.
Constructors
| ListBundlesResponse' | |
Fields
| |
Instances
newListBundlesResponse Source #
Arguments
| :: Int | |
| -> ListBundlesResponse |
Create a value of ListBundlesResponse 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:bundleList:ListBundlesResponse', listBundlesResponse_bundleList - A list of bundles.
ListBundles, listBundlesResponse_nextToken - Pagination token. If non-null pagination token is returned in a result,
then pass its value in another request to fetch more entries.
$sel:httpStatus:ListBundlesResponse', listBundlesResponse_httpStatus - The response's http status code.
Response Lenses
listBundlesResponse_bundleList :: Lens' ListBundlesResponse (Maybe [BundleDetails]) Source #
A list of bundles.
listBundlesResponse_nextToken :: 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.
listBundlesResponse_httpStatus :: Lens' ListBundlesResponse Int Source #
The response's http status code.