Continuum / Client / get_collector

get_collector

Continuum.Client.get_collector(**kwargs)

Retrieves the current state of the Collector for the caller’s account.

See also: AWS API Documentation

Request Syntax

response = client.get_collector(
    collectorId='string'
)
Parameters:

collectorId (string) –

[REQUIRED]

The unique identifier of the Collector to retrieve.

Return type:

dict

Returns:

Response Syntax

{
    'collectorId': 'string',
    'collectorArn': 'string',
    'type': 'AWS_COLLECTOR',
    'status': 'ACTIVE'|'PENDING_DELETION',
    'configRecorderArn': 'string',
    'kubernetesClusterRoleArn': 'string',
    'createdAt': datetime(2015, 1, 1),
    'updatedAt': datetime(2015, 1, 1)
}

Response Structure

  • (dict) –

    Contains the current state of the Collector.

    • collectorId (string) –

      The unique identifier of the Collector.

    • collectorArn (string) –

      The ARN of the Collector.

    • type (string) –

      The source collected by this Collector.

    • status (string) –

      The current lifecycle status.

    • configRecorderArn (string) –

      The ARN of the provisioned AWS Config Recorder.

    • kubernetesClusterRoleArn (string) –

      IAM role used to collect Kubernetes cluster metadata.

    • createdAt (datetime) –

      The timestamp when the Collector was created.

    • updatedAt (datetime) –

      The time of the last successful UpdateCollector call, returned at whole-second precision in the same date-time format as createdAt.

Exceptions