CloudWatchObservabilityAdminService / Client / list_connectors

list_connectors

CloudWatchObservabilityAdminService.Client.list_connectors(**kwargs)

Lists the connectors in the account and Region. This operation returns results in pages. To get the next page, pass the returned NextToken in the next call. We recommend that you use pagination to ensure that the operation returns quickly and successfully.

See also: AWS API Documentation

Request Syntax

response = client.list_connectors(
    MaxResults=123,
    NextToken='string'
)
Parameters:
  • MaxResults (integer) – The maximum number of connectors to return in one call. The default is 100.

  • NextToken (string) – The token for the next page of results, returned by a previous call.

Return type:

dict

Returns:

Response Syntax

{
    'ConnectorSummaries': [
        {
            'Arn': 'string',
            'Provider': 'AZURE',
            'Name': 'string',
            'CreatedTimeStamp': 123
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) –

    • ConnectorSummaries (list) –

      The connectors in the account and Region.

      • (dict) –

        Summary information about a connector.

        • Arn (string) –

          The Amazon Resource Name (ARN) of the connector.

        • Provider (string) –

          The cloud provider that the connector connects to.

        • Name (string) –

          The name of the connector.

        • CreatedTimeStamp (integer) –

          The time when the connector was created, in milliseconds since the Unix epoch.

    • NextToken (string) –

      The token to use in the next call to get the next page of results. Absent when there are no more results.

Exceptions