associateWorkspaceAgenticConnectors

Associates agentic connectors with the specified WorkSpace. The operation ignores connectors that are already associated with the WorkSpace. The connectors must be activated for your account. To activate a connector, call UpdateAgenticConnectorActivationStatus. A WorkSpace can have up to 25 connectors. If the request would exceed this limit, the operation returns ServiceQuotaExceededException.

Samples

// The following example adds an activated connector to an agentic WorkSpace.
val resp = workSpacesClient.associateWorkspaceAgenticConnectors {
    workspaceId = "ws-dk1example1"
    agenticConnectorIds = listOf<String>(
        "wsacn-jira"
    )
}