describe_connector
(**kwargs)¶Returns summary information about the connector.
See also: AWS API Documentation
Request Syntax
response = client.describe_connector(
connectorArn='string'
)
[REQUIRED]
The Amazon Resource Name (ARN) of the connector that you want to describe.
{
'capacity': {
'autoScaling': {
'maxWorkerCount': 123,
'mcuCount': 123,
'minWorkerCount': 123,
'scaleInPolicy': {
'cpuUtilizationPercentage': 123
},
'scaleOutPolicy': {
'cpuUtilizationPercentage': 123
}
},
'provisionedCapacity': {
'mcuCount': 123,
'workerCount': 123
}
},
'connectorArn': 'string',
'connectorConfiguration': {
'string': 'string'
},
'connectorDescription': 'string',
'connectorName': 'string',
'connectorState': 'RUNNING'|'CREATING'|'UPDATING'|'DELETING'|'FAILED',
'creationTime': datetime(2015, 1, 1),
'currentVersion': 'string',
'kafkaCluster': {
'apacheKafkaCluster': {
'bootstrapServers': 'string',
'vpc': {
'securityGroups': [
'string',
],
'subnets': [
'string',
]
}
}
},
'kafkaClusterClientAuthentication': {
'authenticationType': 'NONE'|'IAM'
},
'kafkaClusterEncryptionInTransit': {
'encryptionType': 'PLAINTEXT'|'TLS'
},
'kafkaConnectVersion': 'string',
'logDelivery': {
'workerLogDelivery': {
'cloudWatchLogs': {
'enabled': True|False,
'logGroup': 'string'
},
'firehose': {
'deliveryStream': 'string',
'enabled': True|False
},
's3': {
'bucket': 'string',
'enabled': True|False,
'prefix': 'string'
}
}
},
'plugins': [
{
'customPlugin': {
'customPluginArn': 'string',
'revision': 123
}
},
],
'serviceExecutionRoleArn': 'string',
'stateDescription': {
'code': 'string',
'message': 'string'
},
'workerConfiguration': {
'revision': 123,
'workerConfigurationArn': 'string'
}
}
Response Structure
Information about the capacity of the connector, whether it is auto scaled or provisioned.
Describes the connector's auto scaling capacity.
The maximum number of workers allocated to the connector.
The number of microcontroller units (MCUs) allocated to each connector worker. The valid values are 1,2,4,8.
The minimum number of workers allocated to the connector.
The sacle-in policy for the connector.
Specifies the CPU utilization percentage threshold at which you want connector scale in to be triggered.
The sacle-out policy for the connector.>
The CPU utilization percentage threshold at which you want connector scale out to be triggered.
Describes a connector's provisioned capacity.
The number of microcontroller units (MCUs) allocated to each connector worker. The valid values are 1,2,4,8.
The number of workers that are allocated to the connector.
The Amazon Resource Name (ARN) of the connector.
A map of keys to values that represent the configuration for the connector.
A summary description of the connector.
The name of the connector.
The state of the connector.
The time the connector was created.
The current version of the connector.
The Apache Kafka cluster that the connector is connected to.
The Apache Kafka cluster to which the connector is connected.
The bootstrap servers of the cluster.
Details of an Amazon VPC which has network connectivity to the Apache Kafka cluster.
The security groups for the connector.
The subnets for the connector.
The type of client authentication used to connect to the Apache Kafka cluster. The value is NONE when no client authentication is used.
The type of client authentication used to connect to the Apache Kafka cluster. Value NONE means that no client authentication is used.
Details of encryption in transit to the Apache Kafka cluster.
The type of encryption in transit to the Apache Kafka cluster.
The version of Kafka Connect. It has to be compatible with both the Apache Kafka cluster's version and the plugins.
Details about delivering logs to Amazon CloudWatch Logs.
The workers can send worker logs to different destination types. This configuration specifies the details of these destinations.
Details about delivering logs to Amazon CloudWatch Logs.
Whether log delivery to Amazon CloudWatch Logs is enabled.
The name of the CloudWatch log group that is the destination for log delivery.
Details about delivering logs to Amazon Kinesis Data Firehose.
The name of the Kinesis Data Firehose delivery stream that is the destination for log delivery.
Specifies whether connector logs get delivered to Amazon Kinesis Data Firehose.
Details about delivering logs to Amazon S3.
The name of the S3 bucket that is the destination for log delivery.
Specifies whether connector logs get sent to the specified Amazon S3 destination.
The S3 prefix that is the destination for log delivery.
Specifies which plugins were used for this connector.
The description of the plugin.
Details about a custom plugin.
The Amazon Resource Name (ARN) of the custom plugin.
The revision of the custom plugin.
The Amazon Resource Name (ARN) of the IAM role used by the connector to access Amazon Web Services resources.
Details about the state of a connector.
A code that describes the state of a resource.
A message that describes the state of a resource.
Specifies which worker configuration was used for the connector.
The revision of the worker configuration.
The Amazon Resource Name (ARN) of the worker configuration.
Exceptions
KafkaConnect.Client.exceptions.NotFoundException
KafkaConnect.Client.exceptions.BadRequestException
KafkaConnect.Client.exceptions.ForbiddenException
KafkaConnect.Client.exceptions.ServiceUnavailableException
KafkaConnect.Client.exceptions.TooManyRequestsException
KafkaConnect.Client.exceptions.UnauthorizedException
KafkaConnect.Client.exceptions.InternalServerErrorException