Inspector2 / Client / list_code_security_integrations

list_code_security_integrations

Inspector2.Client.list_code_security_integrations(**kwargs)

Lists all code security integrations in your account.

See also: AWS API Documentation

Request Syntax

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

  • nextToken (string) – A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request. For subsequent calls, use the NextToken value returned from the previous request to continue listing results after the first page.

Return type:

dict

Returns:

Response Syntax

{
    'integrations': [
        {
            'createdOn': datetime(2015, 1, 1),
            'integrationArn': 'string',
            'lastUpdateOn': datetime(2015, 1, 1),
            'name': 'string',
            'status': 'PENDING'|'IN_PROGRESS'|'ACTIVE'|'INACTIVE'|'DISABLING',
            'statusReason': 'string',
            'tags': {
                'string': 'string'
            },
            'type': 'GITLAB_SELF_MANAGED'|'GITHUB'
        },
    ],
    'nextToken': 'string'
}

Response Structure

  • (dict) –

    • integrations (list) –

      A list of code security integration summaries.

      • (dict) –

        A summary of information about a code security integration.

        • createdOn (datetime) –

          The timestamp when the code security integration was created.

        • integrationArn (string) –

          The Amazon Resource Name (ARN) of the code security integration.

        • lastUpdateOn (datetime) –

          The timestamp when the code security integration was last updated.

        • name (string) –

          The name of the code security integration.

        • status (string) –

          The current status of the code security integration.

        • statusReason (string) –

          The reason for the current status of the code security integration.

        • tags (dict) –

          The tags associated with the code security integration.

          • (string) –

            • (string) –

        • type (string) –

          The type of repository provider for the integration.

    • nextToken (string) –

      A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request. For subsequent calls, use the NextToken value returned from the previous request to continue listing results after the first page.

Exceptions

  • Inspector2.Client.exceptions.AccessDeniedException

  • Inspector2.Client.exceptions.ValidationException

  • Inspector2.Client.exceptions.ThrottlingException

  • Inspector2.Client.exceptions.InternalServerException