Skip to content

Update Quick Response

connectwisdomservice_update_quick_response R Documentation

Updates an existing Wisdom quick response

Description

Updates an existing Wisdom quick response.

Usage

connectwisdomservice_update_quick_response(channels, content,
  contentType, description, groupingConfiguration, isActive,
  knowledgeBaseId, language, name, quickResponseId, removeDescription,
  removeGroupingConfiguration, removeShortcutKey, shortcutKey)

Arguments

channels

The Amazon Connect contact channels this quick response applies to. The supported contact channel types include Chat.

content

The updated content of the quick response.

contentType

The media type of the quick response content.

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

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

description

The updated description of the quick response.

groupingConfiguration

The updated grouping configuration of the quick response.

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

The name of the quick response.

quickResponseId

[required] The identifier of the quick response.

removeDescription

Whether to remove the description from the quick response.

removeGroupingConfiguration

Whether to remove the grouping configuration of the quick response.

removeShortcutKey

Whether to remove the shortcut key of the quick response.

shortcutKey

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

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$update_quick_response(
  channels = list(
    "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",
  quickResponseId = "string",
  removeDescription = TRUE|FALSE,
  removeGroupingConfiguration = TRUE|FALSE,
  removeShortcutKey = TRUE|FALSE,
  shortcutKey = "string"
)