Skip to content

UpdateConnectorRequest

Source code in docs_src/capo_kafkaconnect/types/update_connector_request.py
class UpdateConnectorRequest(TypedDict, closed=True):
    capacity: NotRequired["capo_kafkaconnect.types.capacity_update.CapacityUpdate"]
    """<p>The target capacity.</p>"""
    connector_configuration: NotRequired[
        "capo_kafkaconnect.types.connector_configuration_update.ConnectorConfigurationUpdate"
    ]
    """<p>A map of keys to values that represent the configuration for the connector.</p>"""
    skip_health_validation: NotRequired["capo_kafkaconnect.types.__boolean.__boolean"]
    """<p>Specifies whether the update bypasses connector-level and task-level health checks. If <code>true</code>, the update skips the health checks. The update stays in effect even if the connector or its tasks are unhealthy, and Amazon MSK Connect doesn't roll it back. If <code>false</code> or not specified, the health checks run. If they fail, MSK Connect automatically rolls the connector back to its previous configuration, and the update doesn't take effect. To update a connector that is in the <code>PAUSED</code> state, you must set this parameter to <code>true</code>.</p>"""
    connector_arn: "capo_kafkaconnect.types.__string.__string"
    """<p>The Amazon Resource Name (ARN) of the connector that you want to update.</p>"""
    current_version: "capo_kafkaconnect.types.__string.__string"
    """<p>The current version of the connector that you want to update.</p>"""
    plugins: NotRequired[
        "capo_kafkaconnect.types.__list_of_plugin_update.__listOfPluginUpdate"
    ]
    """<important> <p>Amazon MSK Connect does not currently support specifying multiple plugins as a list. To use more than one plugin for your connector, you can create a single custom plugin using a ZIP file that bundles multiple plugins together.</p> </important> <p>Specifies which plugin to use for the connector. You must specify a single-element list containing one <code>customPlugin</code> object. If you don't specify this parameter, the connector keeps its current plugin.</p>"""
    worker_configuration: NotRequired[
        "capo_kafkaconnect.types.worker_configuration_update.WorkerConfigurationUpdate"
    ]
    """<p>The worker configuration to use with the connector. Specify the Amazon Resource Name (ARN) and the revision of the worker configuration. You can't specify both <code>workerConfiguration</code> and <code>useDefaultWorkerConfiguration</code> in the same request. If you specify neither parameter, the connector keeps its current worker configuration.</p>"""
    use_default_worker_configuration: NotRequired[
        "capo_kafkaconnect.types.__boolean.__boolean"
    ]
    """<p>Specifies whether to switch the connector to the default worker configuration that Amazon MSK Connect provides. If <code>true</code>, the connector stops using its custom worker configuration and uses the default worker configuration instead. If <code>false</code> or not specified, the connector keeps its current worker configuration. You can't specify both <code>useDefaultWorkerConfiguration</code> and <code>workerConfiguration</code> in the same request.</p>"""

capacity instance-attribute

capacity: NotRequired[CapacityUpdate]

The target capacity.

connector_arn instance-attribute

connector_arn: __string

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

connector_configuration instance-attribute

connector_configuration: NotRequired[ConnectorConfigurationUpdate]

A map of keys to values that represent the configuration for the connector.

current_version instance-attribute

current_version: __string

The current version of the connector that you want to update.

plugins instance-attribute

plugins: NotRequired[__listOfPluginUpdate]

Amazon MSK Connect does not currently support specifying multiple plugins as a list. To use more than one plugin for your connector, you can create a single custom plugin using a ZIP file that bundles multiple plugins together.

Specifies which plugin to use for the connector. You must specify a single-element list containing one customPlugin object. If you don't specify this parameter, the connector keeps its current plugin.

skip_health_validation instance-attribute

skip_health_validation: NotRequired[__boolean]

Specifies whether the update bypasses connector-level and task-level health checks. If true, the update skips the health checks. The update stays in effect even if the connector or its tasks are unhealthy, and Amazon MSK Connect doesn't roll it back. If false or not specified, the health checks run. If they fail, MSK Connect automatically rolls the connector back to its previous configuration, and the update doesn't take effect. To update a connector that is in the PAUSED state, you must set this parameter to true.

use_default_worker_configuration instance-attribute

use_default_worker_configuration: NotRequired[__boolean]

Specifies whether to switch the connector to the default worker configuration that Amazon MSK Connect provides. If true, the connector stops using its custom worker configuration and uses the default worker configuration instead. If false or not specified, the connector keeps its current worker configuration. You can't specify both useDefaultWorkerConfiguration and workerConfiguration in the same request.

worker_configuration instance-attribute

worker_configuration: NotRequired[WorkerConfigurationUpdate]

The worker configuration to use with the connector. Specify the Amazon Resource Name (ARN) and the revision of the worker configuration. You can't specify both workerConfiguration and useDefaultWorkerConfiguration in the same request. If you specify neither parameter, the connector keeps its current worker configuration.