Select your cookie preferences

We use cookies and similar tools to enhance your experience, provide our services, deliver relevant advertising, and make improvements. Approved third parties also use these tools to help us deliver advertising and provide certain site features.

list_projects

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