list_bundles

list_bundles(**kwargs)

List all available bundles.

See also: AWS API Documentation

Request Syntax

response = client.list_bundles(
    maxResults=123,
    nextToken='string'
)
Parameters
  • maxResults (integer) -- Maximum number of records to list in a single response.
  • nextToken (string) -- 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.
Return type

dict

Returns

Response Syntax

{
    'bundleList': [
        {
            'bundleId': 'string',
            'title': 'string',
            'version': 'string',
            'description': 'string',
            'iconUrl': 'string',
            'availablePlatforms': [
                'OSX'|'WINDOWS'|'LINUX'|'OBJC'|'SWIFT'|'ANDROID'|'JAVASCRIPT',
            ]
        },
    ],
    'nextToken': 'string'
}

Response Structure

  • (dict) --

    Result structure contains a list of all available bundles with details.

    • bundleList (list) --

      A list of bundles.

      • (dict) --

        The details of the bundle.

        • bundleId (string) --

          Unique bundle identifier.

        • title (string) --

          Title of the download bundle.

        • version (string) --

          Version of the download bundle.

        • description (string) --

          Description of the download bundle.

        • iconUrl (string) --

          Icon for the download bundle.

        • availablePlatforms (list) --

          Developer desktop or mobile app or website platforms.

          • (string) --

            Developer desktop or target mobile app or website platform.

    • nextToken (string) --

      Pagination token. If non-null pagination token is returned in a result, then pass its value in another request to fetch more entries.

Exceptions

  • Mobile.Client.exceptions.InternalFailureException
  • Mobile.Client.exceptions.ServiceUnavailableException
  • Mobile.Client.exceptions.UnauthorizedException
  • Mobile.Client.exceptions.TooManyRequestsException
  • Mobile.Client.exceptions.BadRequestException