Continuum / Paginator / ListIntegrations

ListIntegrations

class Continuum.Paginator.ListIntegrations
paginator = client.get_paginator('list_integrations')
paginate(**kwargs)

Creates an iterator that will paginate through responses from Continuum.Client.list_integrations().

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

{
    'items': [
        {
            'integrationId': 'string',
            'integrationArn': 'string',
            'name': 'string',
            'integrationType': 'GITHUB'|'GITLAB'|'S3',
            'providerDetails': {
                'github': {
                    'organizationName': 'string'
                },
                'gitlab': {
                    'instanceUrl': 'string',
                    'targetType': 'GROUP'|'PROJECT',
                    'targetPath': 'string',
                    'tokenRotation': 'AUTOMATIC'|'NONE',
                    'expiresAt': datetime(2015, 1, 1)
                },
                's3': {
                    'bucket': 'string',
                    'roleArn': 'string'
                }
            },
            'createdAt': datetime(2015, 1, 1),
            'updatedAt': datetime(2015, 1, 1)
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) –

    Contains the list of integration summaries and an optional pagination token.

    • items (list) –

      The integrations in the account, ordered by integrationId descending.

      • (dict) –

        A summary of an integration returned in list responses.

        • integrationId (string) –

          The unique identifier of the integration.

        • integrationArn (string) –

          The ARN of the integration.

        • name (string) –

          The name of the integration.

        • integrationType (string) –

          The immutable provider type for the integration.

        • providerDetails (dict) –

          Provider-specific details for the integration.

          Note

          This is a Tagged Union structure. Only one of the following top level keys will be set: github, gitlab, s3. 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'}
          
          • github (dict) –

            Details for a GitHub.com integration.

            • organizationName (string) –

              The name of the GitHub organization associated with the integration.

          • gitlab (dict) –

            Details for a GitLab integration.

            • instanceUrl (string) –

              The HTTPS base URL of the GitLab instance.

            • targetType (string) –

              Whether the integration targets a group or a single project.

            • targetPath (string) –

              The group or project path the integration targets.

            • tokenRotation (string) –

              How the integration’s access token is rotated. AUTOMATIC only when the pasted token had the self-rotate scope and rotation was opted in at installation time.

            • expiresAt (datetime) –

              The expiry of the stored access token, for non-rotating tokens only. A rotated token’s original expiry is stale, so this is omitted when tokenRotation is AUTOMATIC.

          • s3 (dict) –

            Public details for a customer-managed S3 integration.

            • bucket (string) –

              Customer-managed S3 bucket name.

            • roleArn (string) –

              IAM role assumed by Continuum to read a customer-managed S3 integration.

        • createdAt (datetime) –

          The timestamp when the integration was created.

        • updatedAt (datetime) –

          The timestamp when the integration was last updated.

    • NextToken (string) –

      A token to resume pagination.