list_projects

Mobile.Client.list_projects(**kwargs)

Lists projects in AWS Mobile Hub.

See also: AWS API Documentation

Request Syntax

response = client.list_projects(
    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 projects from start. If non-null pagination token is returned in a result, then pass its value in here in another request to list more projects.
Return type

dict

Returns

Response Syntax

{
    'projects': [
        {
            'name': 'string',
            'projectId': 'string'
        },
    ],
    'nextToken': 'string'
}

Response Structure

  • (dict) --

    Result structure used for requests to list projects in AWS Mobile Hub.

    • projects (list) --

      List of projects.

      • (dict) --

        Summary information about an AWS Mobile Hub project.

        • name (string) --

          Name of the project.

        • projectId (string) --

          Unique project identifier.

    • nextToken (string) --

      Pagination token. Set to null to start listing records from start. If non-null pagination token is returned in a result, then pass its value in here in another request to list more entries.

Exceptions

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