Skip to content

Create Assistant

connectwisdomservice_create_assistant R Documentation

Creates an Amazon Connect Wisdom assistant

Description

Creates an Amazon Connect Wisdom assistant.

Usage

connectwisdomservice_create_assistant(clientToken, description, name,
  serverSideEncryptionConfiguration, tags, type)

Arguments

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.

description

The description of the assistant.

name

[required] The name of the assistant.

serverSideEncryptionConfiguration

The configuration information for the customer managed key used for encryption.

The customer managed key must have a policy that allows kms:CreateGrant, kms:DescribeKey, and kms:Decrypt/kms:GenerateDataKey permissions to the IAM identity using the key to invoke Wisdom. To use Wisdom with chat, the key policy must also allow kms:Decrypt, ⁠kms:GenerateDataKey*⁠, and kms:DescribeKey permissions to the connect.amazonaws.com service principal.

For more information about setting up a customer managed key for Wisdom, see Enable Amazon Connect Wisdom for your instance.

tags

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

type

[required] The type of assistant.

Value

A list with the following syntax:

list(
  assistant = list(
    assistantArn = "string",
    assistantId = "string",
    description = "string",
    integrationConfiguration = list(
      topicIntegrationArn = "string"
    ),
    name = "string",
    serverSideEncryptionConfiguration = list(
      kmsKeyId = "string"
    ),
    status = "CREATE_IN_PROGRESS"|"CREATE_FAILED"|"ACTIVE"|"DELETE_IN_PROGRESS"|"DELETE_FAILED"|"DELETED",
    tags = list(
      "string"
    ),
    type = "AGENT"
  )
)

Request syntax

svc$create_assistant(
  clientToken = "string",
  description = "string",
  name = "string",
  serverSideEncryptionConfiguration = list(
    kmsKeyId = "string"
  ),
  tags = list(
    "string"
  ),
  type = "AGENT"
)