Skip to content

Create Assistant Association

connectwisdomservice_create_assistant_association R Documentation

Creates an association between an Amazon Connect Wisdom assistant and another resource

Description

Creates an association between an Amazon Connect Wisdom assistant and another resource. Currently, the only supported association is with a knowledge base. An assistant can have only a single association.

Usage

connectwisdomservice_create_assistant_association(assistantId,
  association, associationType, clientToken, tags)

Arguments

assistantId

[required] The identifier of the Wisdom assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.

association

[required] The identifier of the associated resource.

associationType

[required] The type of association.

clientToken

A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.

tags

The tags used to organize, track, or control access for this resource.

Value

A list with the following syntax:

list(
  assistantAssociation = list(
    assistantArn = "string",
    assistantAssociationArn = "string",
    assistantAssociationId = "string",
    assistantId = "string",
    associationData = list(
      knowledgeBaseAssociation = list(
        knowledgeBaseArn = "string",
        knowledgeBaseId = "string"
      )
    ),
    associationType = "KNOWLEDGE_BASE",
    tags = list(
      "string"
    )
  )
)

Request syntax

svc$create_assistant_association(
  assistantId = "string",
  association = list(
    knowledgeBaseId = "string"
  ),
  associationType = "KNOWLEDGE_BASE",
  clientToken = "string",
  tags = list(
    "string"
  )
)