CloudWatchOmni / Client / list_integrations

list_integrations

CloudWatchOmni.Client.list_integrations(**kwargs)

Lists the integrations in the account, optionally filtered by type, status, or name. Results are paginated.

See also: AWS API Documentation

Request Syntax

response = client.list_integrations(
    integrationType='AWS_CONFIG_SLREC'|'SLACK'|'EXTERNAL_AGENT'|'AWS_INTEGRATION',
    status='ACTIVE'|'DELETED'|'PENDING'|'PENDING_OAUTH'|'ERROR'|'FAILED',
    name='string',
    nextToken='string',
    maxResults=123
)
Parameters:
  • integrationType (string) – Returns only integrations of this provider type.

  • status (string) – Returns only integrations in this status.

  • name (string) – Returns only the integration with this exact name.

  • nextToken (string) – Pagination token from a previous response; omit for the first page.

  • maxResults (integer) – Maximum number of integrations to return in one page.

Return type:

dict

Returns:

Response Syntax

{
    'items': [
        {
            'integrationId': 'string',
            'integrationArn': 'string',
            'integrationType': 'AWS_CONFIG_SLREC'|'SLACK'|'EXTERNAL_AGENT'|'AWS_INTEGRATION',
            'name': 'string',
            'status': 'ACTIVE'|'DELETED'|'PENDING'|'PENDING_OAUTH'|'ERROR'|'FAILED',
            'authType': 'NONE'|'OAUTH2'|'API_KEY',
            'credentialArn': 'string',
            'roleArn': 'string',
            'integrationAttributes': {
                'string': 'string'
            },
            'authorizationUrl': 'string',
            'errorMessage': 'string',
            'createdAt': datetime(2015, 1, 1),
            'updatedAt': datetime(2015, 1, 1),
            'scope': 'ACCOUNT'|'ORGANIZATION'
        },
    ],
    'nextToken': 'string'
}

Response Structure

  • (dict) –

    The response containing a page of integrations.

    • items (list) –

      The page of integrations.

      • (dict) –

        A connection between CloudWatch and an external system — such as a source of telemetry or configuration data, a messaging destination, or a model provider.

        • integrationId (string) –

          The unique identifier of the integration.

        • integrationArn (string) –

          The Amazon Resource Name (ARN) of the integration.

        • integrationType (string) –

          The type of external system that an integration connects to, such as a source of configuration data, a messaging destination, or a model provider.

        • name (string) –

          The customer-provided name of the integration.

        • status (string) –

          The current lifecycle state of an integration.

        • authType (string) –

          The authentication method that an integration uses to connect to its external system.

        • credentialArn (string) –

          The Amazon Resource Name (ARN) of the secret that stores the integration’s credentials.

        • roleArn (string) –

          The Amazon Resource Name (ARN) of the IAM role that CloudWatch assumes to access the external system.

        • integrationAttributes (dict) –

          Provider-specific key/value attributes that configure the integration.

          • (string) –

            • (string) –

        • authorizationUrl (string) –

          The URL the customer visits to authorize the integration. Present while an OAuth authorization is pending.

        • errorMessage (string) –

          A human-readable description of why the integration is in an ERROR or FAILED state. Present only when the integration has failed.

        • createdAt (datetime) –

          The time at which the integration was created.

        • updatedAt (datetime) –

          The time at which the integration was last updated.

        • scope (string) –

          Whether this integration is account-scoped (ACCOUNT, customer-created) or organization-scoped (ORGANIZATION, created by an org-enablement rule). Absent on legacy records is treated as ACCOUNT.

    • nextToken (string) –

      Pagination token for the next page; absent when there are no more results.

Exceptions

  • CloudWatchOmni.Client.exceptions.ThrottlingException

  • CloudWatchOmni.Client.exceptions.ValidationException

  • CloudWatchOmni.Client.exceptions.AccessDeniedException

  • CloudWatchOmni.Client.exceptions.InternalServerException