Skip to content

RestartConnectorRequest

Source code in docs_src/capo_kafkaconnect/types/restart_connector_request.py
class RestartConnectorRequest(TypedDict, closed=True):
    connector_arn: "capo_kafkaconnect.types.__string.__string"
    """<p>The Amazon Resource Name (ARN) of the connector that you want to restart.</p>"""
    only_failed_tasks: "capo_kafkaconnect.types.__boolean.__boolean"
    """<p>Specifies whether to restart only the connector's failed tasks. If <code>true</code>, the operation restarts only the tasks that are currently in a failed state, and healthy tasks continue running. If <code>false</code> or not specified, the operation restarts the connector and all of its tasks.</p>"""

connector_arn instance-attribute

connector_arn: __string

The Amazon Resource Name (ARN) of the connector that you want to restart.

only_failed_tasks instance-attribute

only_failed_tasks: __boolean

Specifies whether to restart only the connector's failed tasks. If true, the operation restarts only the tasks that are currently in a failed state, and healthy tasks continue running. If false or not specified, the operation restarts the connector and all of its tasks.