ConfigService / Client / list_connectors

list_connectors

ConfigService.Client.list_connectors(**kwargs)

Returns a list of connectors depending on the filters you specify.

See also: AWS API Documentation

Request Syntax

response = client.list_connectors(
    MaxResults=123,
    NextToken='string',
    Filters=[
        {
            'filterName': 'provider',
            'filterValues': [
                'string',
            ]
        },
    ]
)
Parameters:
  • MaxResults (integer) – The maximum number of results to include in the response.

  • NextToken (string) – The NextToken string returned on a previous page that you use to get the next page of results in a paginated response.

  • Filters (list) –

    Filters the results based on a list of ConnectorFilter objects that you specify.

    • (dict) –

      Filters connectors based on the connector provider.

      • filterName (string) –

        The name of the filter. Currently, only provider is supported.

      • filterValues (list) –

        The value of the filter. For provider, valid values include: AZURE.

        • (string) –

Return type:

dict

Returns:

Response Syntax

{
    'ConnectorSummaries': [
        {
            'arn': 'string',
            'name': 'string',
            'provider': 'AZURE',
            'tenantIdentifier': 'string',
            'createdTime': datetime(2015, 1, 1)
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) –

    • ConnectorSummaries (list) –

      A list of ConnectorSummary objects.

      • (dict) –

        A summary of a connector.

        • arn (string) –

          The Amazon Resource Name (ARN) of the connector.

        • name (string) –

          The name of the connector.

        • provider (string) –

          The third-party cloud service provider. Currently, AZURE is supported.

        • tenantIdentifier (string) –

          The Azure tenant identifier for the connector.

        • createdTime (datetime) –

          The date and time that the connector was created.

    • NextToken (string) –

      The NextToken string returned on a previous page that you use to get the next page of results in a paginated response.

Exceptions