AmplifyGen3 / Paginator / ListApps

ListApps

class AmplifyGen3.Paginator.ListApps
paginator = client.get_paginator('list_apps')
paginate(**kwargs)

Creates an iterator that will paginate through responses from AmplifyGen3.Client.list_apps().

See also: AWS API Documentation

Request Syntax

response_iterator = paginator.paginate(
    PaginationConfig={
        'MaxItems': 123,
        'PageSize': 123,
        'StartingToken': 'string'
    }
)
Parameters:

PaginationConfig (dict) –

A dictionary that provides parameters to control pagination.

  • MaxItems (integer) –

    The total number of items to return. If the total number of items available is more than the value specified in max-items then a NextToken will be provided in the output that you can use to resume pagination.

  • PageSize (integer) –

    The size of each page.

  • StartingToken (string) –

    A token to specify where to start paginating. This is the NextToken from a previous response.

Return type:

dict

Returns:

Response Syntax

{
    'Apps': [
        {
            'AppName': 'string',
            'AppArn': 'string',
            'SourceConfig': {
                'GitHubSource': {
                    'RepositoryUrl': 'string'
                },
                'GitLabSource': {
                    'RepositoryUrl': 'string',
                    'Owner': 'string'
                }
            },
            'CreatedAt': datetime(2015, 1, 1),
            'UpdatedAt': datetime(2015, 1, 1)
        },
    ],

}

Response Structure

  • (dict) –

    • Apps (list) –

      The Gen 3 apps.

      • (dict) –

        Summary information for a Gen 3 app.

        • AppName (string) –

          The name of the app.

        • AppArn (string) –

          The Amazon Resource Name (ARN) of the app.

        • SourceConfig (dict) –

          The source configuration for the app.

          Note

          This is a Tagged Union structure. Only one of the following top level keys will be set: GitHubSource, GitLabSource. If a client receives an unknown member it will set SDK_UNKNOWN_MEMBER as the top level key, which maps to the name or tag of the unknown member. The structure of SDK_UNKNOWN_MEMBER is as follows:

          'SDK_UNKNOWN_MEMBER': {'name': 'UnknownMemberName'}
          
          • GitHubSource (dict) –

            The GitHub source repository settings.

            • RepositoryUrl (string) –

              The URL of the source repository.

          • GitLabSource (dict) –

            The GitLab source repository settings.

            • RepositoryUrl (string) –

              The URL of the source repository.

            • Owner (string) –

              The owner of the repository in the Git provider.

        • CreatedAt (datetime) –

          The time at which the app was created. The value is in ISO-8601 format.

        • UpdatedAt (datetime) –

          The time at which the app was last updated. The value is in ISO-8601 format.