Updates the specified connector¶
Description¶
Updates the specified connector. For request body, specify only one parameter: either capacity or connectorConfiguration.
Usage¶
Arguments¶
-
capacityThe target capacity.
-
connectorConfigurationA map of keys to values that represent the configuration for the connector.
-
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"|"RESTARTING",
connectorOperationArn = "string"
)
Request syntax¶
svc$update_connector(
capacity = list(
autoScaling = list(
maxWorkerCount = 123,
mcuCount = 123,
minWorkerCount = 123,
scaleInPolicy = list(
cpuUtilizationPercentage = 123
),
scaleOutPolicy = list(
cpuUtilizationPercentage = 123
),
maxAutoscalingTaskCount = 123
),
provisionedCapacity = list(
mcuCount = 123,
workerCount = 123
)
),
connectorConfiguration = list(
"string"
),
connectorArn = "string",
currentVersion = "string"
)