Skip to main content

assistants

Creates, updates, deletes or gets an assistant resource or lists assistants in a region

Overview

Nameassistants
TypeResource
DescriptionDefinition of AWS::Wisdom::Assistant Resource Type
Idawscc.wisdom.assistants

Fields

NameDatatypeDescription
typestring
descriptionstring
assistant_arnstring
assistant_idstring
server_side_encryption_configurationobject
tagsarray
namestring
regionstringAWS region.

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

Methods

NameResourceAccessible byRequired Params
create_resourceassistantsINSERTName, Type, region
delete_resourceassistantsDELETEIdentifier, region
update_resourceassistantsUPDATEIdentifier, PatchDocument, region
list_resourcesassistants_list_onlySELECTregion
get_resourceassistantsSELECTIdentifier, region

SELECT examples

Gets all properties from an individual assistant.

SELECT
region,
type,
description,
assistant_arn,
assistant_id,
server_side_encryption_configuration,
tags,
name
FROM awscc.wisdom.assistants
WHERE
region = 'us-east-1' AND
Identifier = '{{ assistant_id }}';

INSERT example

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

/*+ create */
INSERT INTO awscc.wisdom.assistants (
Type,
Name,
region
)
SELECT
'{{ type }}',
'{{ name }}',
'{{ region }}';

DELETE example

/*+ delete */
DELETE FROM awscc.wisdom.assistants
WHERE
Identifier = '{{ assistant_id }}' AND
region = 'us-east-1';

Permissions

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

kms:CreateGrant,
kms:DescribeKey,
wisdom:CreateAssistant,
wisdom:TagResource