Skip to content

Create Quick Response

connectwisdomservice_create_quick_response R Documentation

Creates a Wisdom quick response

Description

Creates a Wisdom quick response.

Usage

connectwisdomservice_create_quick_response(channels, clientToken,
  content, contentType, description, groupingConfiguration, isActive,
  knowledgeBaseId, language, name, shortcutKey, tags)

Arguments

channels

The Amazon Connect channels this quick response applies to.

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.

content

[required] The content of the quick response.

contentType

The media type of the quick response content.

  • Use ⁠application/x.quickresponse;format=plain⁠ for a quick response written in plain text.

  • Use ⁠application/x.quickresponse;format=markdown⁠ for a quick response written in richtext.

description

The description of the quick response.

groupingConfiguration

The configuration information of the user groups that the quick response is accessible to.

isActive

Whether the quick response is active.

knowledgeBaseId

[required] The identifier of the knowledge base. This should not be a QUICK_RESPONSES type knowledge base if you're storing Wisdom Content resource to it. Can be either the ID or the ARN. URLs cannot contain the ARN.

language

The language code value for the language in which the quick response is written. The supported language codes include de_DE, en_US, es_ES, fr_FR, id_ID, it_IT, ja_JP, ko_KR, pt_BR, zh_CN, zh_TW

name

[required] The name of the quick response.

shortcutKey

The shortcut key of the quick response. The value should be unique across the knowledge base.

tags

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

Value

A list with the following syntax:

list(
  quickResponse = list(
    channels = list(
      "string"
    ),
    contentType = "string",
    contents = list(
      markdown = list(
        content = "string"
      ),
      plainText = list(
        content = "string"
      )
    ),
    createdTime = as.POSIXct(
      "2015-01-01"
    ),
    description = "string",
    groupingConfiguration = list(
      criteria = "string",
      values = list(
        "string"
      )
    ),
    isActive = TRUE|FALSE,
    knowledgeBaseArn = "string",
    knowledgeBaseId = "string",
    language = "string",
    lastModifiedBy = "string",
    lastModifiedTime = as.POSIXct(
      "2015-01-01"
    ),
    name = "string",
    quickResponseArn = "string",
    quickResponseId = "string",
    shortcutKey = "string",
    status = "CREATE_IN_PROGRESS"|"CREATE_FAILED"|"CREATED"|"DELETE_IN_PROGRESS"|"DELETE_FAILED"|"DELETED"|"UPDATE_IN_PROGRESS"|"UPDATE_FAILED",
    tags = list(
      "string"
    )
  )
)

Request syntax

svc$create_quick_response(
  channels = list(
    "string"
  ),
  clientToken = "string",
  content = list(
    content = "string"
  ),
  contentType = "string",
  description = "string",
  groupingConfiguration = list(
    criteria = "string",
    values = list(
      "string"
    )
  ),
  isActive = TRUE|FALSE,
  knowledgeBaseId = "string",
  language = "string",
  name = "string",
  shortcutKey = "string",
  tags = list(
    "string"
  )
)