Continuum / Client / list_integrations

list_integrations

Continuum.Client.list_integrations(**kwargs)

Lists the integrations in your account in descending integrationId order.

See also: AWS API Documentation

Request Syntax

response = client.list_integrations(
    maxResults=123,
    nextToken='string'
)
Parameters:
  • maxResults (integer) – The maximum number of results to return in a single call.

  • nextToken (string) – A pagination token returned by a previous call. Set to null for the first request; use the returned token for subsequent calls.

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 pagination token to retrieve the next page of results. Absent when there are no more results.

Exceptions