---
title: "PUT /v1/connectors/{connectorArn}#currentVersion"
method: PUT
path: "/v1/connectors/{connectorArn}#currentVersion"
---

# PUT /v1/connectors/{connectorArn}#currentVersion

`PUT /v1/connectors/{connectorArn}#currentVersion`

Updates the specified connector. For request body, specify only one parameter: either <code>capacity</code> or <code>connectorConfiguration</code>.

## Path parameters

- `connectorArn` string, required

## Query parameters

- `currentVersion` string, required

## Request body

- object
  - `capacity` object — The target capacity for the connector. The capacity can be auto scaled or provisioned.
    - `autoScaling` object — The target auto scaling setting.
      - `maxWorkerCount` integer, required — The target maximum number of workers allocated to the connector.
      - `mcuCount` integer, required — The target number of microcontroller units (MCUs) allocated to each connector worker. The valid values are 1,2,4,8.
      - `minWorkerCount` integer, required — The target minimum number of workers allocated to the connector.
      - `scaleInPolicy` object, required — The target scale-in policy for the connector.
        - `cpuUtilizationPercentage` integer, required — The target CPU utilization percentage threshold at which you want connector scale in to be triggered.
      - `scaleOutPolicy` object, required — The target scale-out policy for the connector.
        - `cpuUtilizationPercentage` integer, required — The target CPU utilization percentage threshold at which you want connector scale out to be triggered.
      - `maxAutoscalingTaskCount` integer — The maximum number of tasks allocated to the connector during autoscaling operations. Must be at least equal to maxWorkerCount.
    - `provisionedCapacity` object — The target settings for provisioned capacity.
      - `mcuCount` integer, required — The number of microcontroller units (MCUs) allocated to each connector worker. The valid values are 1,2,4,8.
      - `workerCount` integer, required — The number of workers that are allocated to the connector.
  - `connectorConfiguration` object — A map of keys to values that represent the configuration for the connector.

## Response `200`

Success

- UpdateConnectorResponse
  - `connectorArn` string — The Amazon Resource Name (ARN) of the connector.
  - `connectorState` 'RUNNING' | 'CREATING' | 'UPDATING' | 'DELETING' | 'FAILED' — The state of the connector.
  - `connectorOperationArn` string — The Amazon Resource Name (ARN) of the connector operation.

## Other responses

- `480` — NotFoundException
- `481` — BadRequestException
- `482` — ForbiddenException
- `483` — ServiceUnavailableException
- `484` — TooManyRequestsException
- `485` — UnauthorizedException
- `486` — InternalServerErrorException

---

[API](https://skmtc.net/aws/apis/kafkaconnect.md) · [All operations](https://skmtc.net/aws/apis/kafkaconnect/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/kafkaconnect/versions/bf394e0acb7e/schema)
