Skip to content

Update Connector

kafkaconnect_update_connector R Documentation

Updates the specified connector

Description

Updates the specified connector.

Usage

kafkaconnect_update_connector(capacity, connectorArn, currentVersion)

Arguments

capacity

[required] The target capacity.

connectorArn

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

currentVersion

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

Value

A list with the following syntax:

list(
  connectorArn = "string",
  connectorState = "RUNNING"|"CREATING"|"UPDATING"|"DELETING"|"FAILED"
)

Request syntax

svc$update_connector(
  capacity = list(
    autoScaling = list(
      maxWorkerCount = 123,
      mcuCount = 123,
      minWorkerCount = 123,
      scaleInPolicy = list(
        cpuUtilizationPercentage = 123
      ),
      scaleOutPolicy = list(
        cpuUtilizationPercentage = 123
      )
    ),
    provisionedCapacity = list(
      mcuCount = 123,
      workerCount = 123
    )
  ),
  connectorArn = "string",
  currentVersion = "string"
)