Skip to main content

quick_responses

Creates, updates, deletes or gets a quick_response resource or lists quick_responses in a region

Overview

Namequick_responses
TypeResource
DescriptionDefinition of AWS::Wisdom::QuickResponse Resource Type.
Idawscc.wisdom.quick_responses

Fields

NameDatatypeDescription
content_typestringThe media type of the quick response content.<br />- Use application/x.quickresponse;format=plain for quick response written in plain text.<br />- Use application/x.quickresponse;format=markdown for quick response written in richtext.
knowledge_base_arnstringThe Amazon Resource Name (ARN) of the knowledge base.
namestringThe name of the quick response.
quick_response_arnstringThe Amazon Resource Name (ARN) of the quick response.
quick_response_idstringThe identifier of the quick response.
channelsarrayThe Amazon Connect contact channels this quick response applies to.
contentobjectThe container of quick response content.
contentsobjectThe content of the quick response stored in different media types.
descriptionstringThe description of the quick response.
grouping_configurationobjectThe configuration information of the user groups that the quick response is accessible to.
is_activebooleanWhether the quick response is active.
languagestringThe language code value for the language in which the quick response is written. The supported language codes include de&#95;DE, en&#95;US, es&#95;ES, fr&#95;FR, id&#95;ID, it&#95;IT, ja&#95;JP, ko&#95;KR, pt&#95;BR, zh&#95;CN, zh&#95;TW
shortcut_keystringThe shortcut key of the quick response. The value should be unique across the knowledge base.
statusstringThe status of the quick response data.
tagsarrayAn array of key-value pairs to apply to this resource.
regionstringAWS region.

For more information, see AWS::Wisdom::QuickResponse.

Methods

NameAccessible byRequired Params
create_resourceINSERTKnowledgeBaseArn, Content, Name, region
delete_resourceDELETEdata__Identifier, region
update_resourceUPDATEdata__Identifier, data__PatchDocument, region
list_resourcesSELECTregion
get_resourceSELECTdata__Identifier, region

SELECT examples

Gets all properties from an individual quick_response.

SELECT
region,
content_type,
knowledge_base_arn,
name,
quick_response_arn,
quick_response_id,
channels,
content,
contents,
description,
grouping_configuration,
is_active,
language,
shortcut_key,
status,
tags
FROM awscc.wisdom.quick_responses
WHERE region = 'us-east-1' AND data__Identifier = '<QuickResponseArn>';

INSERT example

Use the following StackQL query and manifest file to create a new quick_response resource, using stack-deploy.

/*+ create */
INSERT INTO awscc.wisdom.quick_responses (
KnowledgeBaseArn,
Name,
Content,
region
)
SELECT
'{{ KnowledgeBaseArn }}',
'{{ Name }}',
'{{ Content }}',
'{{ region }}';

DELETE example

/*+ delete */
DELETE FROM awscc.wisdom.quick_responses
WHERE data__Identifier = '<QuickResponseArn>'
AND region = 'us-east-1';

Permissions

To operate on the quick_responses resource, the following permissions are required:

Create

wisdom:CreateQuickResponse,
wisdom:GetQuickResponse,
wisdom:TagResource,
connect:SearchRoutingProfiles,
connect:DescribeRoutingProfile

Update

wisdom:UpdateQuickResponse,
wisdom:GetQuickResponse,
wisdom:TagResource,
wisdom:UntagResource,
connect:SearchRoutingProfiles,
connect:DescribeRoutingProfile

Delete

wisdom:DeleteQuickResponse,
wisdom:UntagResource

List

wisdom:ListQuickResponses

Read

wisdom:GetQuickResponse