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

Amazonka.Mobile.ListBundles

Description

List all available bundles.

This operation returns paginated results.

Synopsis

Creating a Request

data ListBundles Source #

Request structure to request all available bundles.

See: newListBundles smart constructor.

Constructors

ListBundles' 

Fields

  • nextToken :: Maybe Text

    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.

  • maxResults :: Maybe Int

    Maximum number of records to list in a single response.

Instances

Instances details
Eq ListBundles Source # 
Instance details

Defined in Amazonka.Mobile.ListBundles

Read ListBundles Source # 
Instance details

Defined in Amazonka.Mobile.ListBundles

Show ListBundles Source # 
Instance details

Defined in Amazonka.Mobile.ListBundles

Generic ListBundles Source # 
Instance details

Defined in Amazonka.Mobile.ListBundles

Associated Types

type Rep ListBundles :: Type -> Type #

NFData ListBundles Source # 
Instance details

Defined in Amazonka.Mobile.ListBundles

Methods

rnf :: ListBundles -> () #

Hashable ListBundles Source # 
Instance details

Defined in Amazonka.Mobile.ListBundles

AWSPager ListBundles Source # 
Instance details

Defined in Amazonka.Mobile.ListBundles

AWSRequest ListBundles Source # 
Instance details

Defined in Amazonka.Mobile.ListBundles

Associated Types

type AWSResponse ListBundles #

ToHeaders ListBundles Source # 
Instance details

Defined in Amazonka.Mobile.ListBundles

Methods

toHeaders :: ListBundles -> [Header] #

ToPath ListBundles Source # 
Instance details

Defined in Amazonka.Mobile.ListBundles

ToQuery ListBundles Source # 
Instance details

Defined in Amazonka.Mobile.ListBundles

type Rep ListBundles Source # 
Instance details

Defined in Amazonka.Mobile.ListBundles

type Rep ListBundles = D1 ('MetaData "ListBundles" "Amazonka.Mobile.ListBundles" "libZSservicesZSamazonka-mobileZSamazonka-mobile" 'False) (C1 ('MetaCons "ListBundles'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))))
type AWSResponse ListBundles Source # 
Instance details

Defined in Amazonka.Mobile.ListBundles

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:nextToken: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.

$sel:maxResults:ListBundles', listBundles_maxResults - Maximum number of records to list in a single response.

Request Lenses

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.

listBundles_maxResults :: Lens' ListBundles (Maybe Int) Source #

Maximum number of records to list in a single response.

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

Instances details
Eq ListBundlesResponse Source # 
Instance details

Defined in Amazonka.Mobile.ListBundles

Read ListBundlesResponse Source # 
Instance details

Defined in Amazonka.Mobile.ListBundles

Show ListBundlesResponse Source # 
Instance details

Defined in Amazonka.Mobile.ListBundles

Generic ListBundlesResponse Source # 
Instance details

Defined in Amazonka.Mobile.ListBundles

Associated Types

type Rep ListBundlesResponse :: Type -> Type #

NFData ListBundlesResponse Source # 
Instance details

Defined in Amazonka.Mobile.ListBundles

Methods

rnf :: ListBundlesResponse -> () #

type Rep ListBundlesResponse Source # 
Instance details

Defined in Amazonka.Mobile.ListBundles

type Rep ListBundlesResponse = D1 ('MetaData "ListBundlesResponse" "Amazonka.Mobile.ListBundles" "libZSservicesZSamazonka-mobileZSamazonka-mobile" 'False) (C1 ('MetaCons "ListBundlesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "bundleList") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [BundleDetails])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListBundlesResponse Source #

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.

$sel:nextToken: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_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.