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¶
channelsThe Amazon Connect channels this quick response applies to.
clientTokenA 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.
contentTypeThe media type of the quick response content.
Use
application/x.quickresponse;format=plainfor a quick response written in plain text.Use
application/x.quickresponse;format=markdownfor a quick response written in richtext.
descriptionThe description of the quick response.
groupingConfigurationThe configuration information of the user groups that the quick response is accessible to.
isActiveWhether 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.
languageThe 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_TWname[required] The name of the quick response.
shortcutKeyThe shortcut key of the quick response. The value should be unique across the knowledge base.
tagsThe 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"
)
)