Skip to main content

experiences

Creates, updates, deletes, gets or lists an experiences resource.

Overview

Nameexperiences
TypeResource
Idaws.kendra.experiences

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
configurationobjectShows the configuration information for your Amazon Kendra experience. This includes ContentSourceConfiguration, which specifies the data source IDs and/or FAQ IDs, and UserIdentityConfiguration, which specifies the user or group information to grant access to your Amazon Kendra experience.
created_atstring (date-time)The Unix timestamp when your Amazon Kendra experience was created.
descriptionstringShows the description for your Amazon Kendra experience. (pattern: <code>^\P{C}*$</code>)
endpointsarrayShows the endpoint URLs for your Amazon Kendra experiences. The URLs are unique and fully hosted by Amazon Web Services.
error_messagestringThe reason your Amazon Kendra experience could not properly process. (pattern: <code>^\P{C}*$</code>)
idstringShows the identifier of your Amazon Kendra experience. (pattern: <code>[a-zA-Z0-9][a-zA-Z0-9_-]*</code>)
index_idstringShows the identifier of the index for your Amazon Kendra experience. (pattern: <code>[a-zA-Z0-9][a-zA-Z0-9-]*</code>)
namestringShows the name of your Amazon Kendra experience. (pattern: <code>[a-zA-Z0-9][a-zA-Z0-9_-]*</code>)
role_arnstringThe Amazon Resource Name (ARN) of the IAM role with permission to access the Query API, QuerySuggestions API, SubmitFeedback API, and IAM Identity Center that stores your users and groups information. (pattern: <code>arn:[a-z0-9-.]{1,63}:[a-z0-9-.]{0,63}:[a-z0-9-.]{0,63}:[a-z0-9-.]{0,63}:[^/].{0,1023}</code>)
statusstringThe current processing status of your Amazon Kendra experience. When the status is ACTIVE, your Amazon Kendra experience is ready to use. When the status is FAILED, the ErrorMessage field contains the reason that this failed. (CREATING, ACTIVE, DELETING, FAILED)
updated_atstring (date-time)The Unix timestamp when your Amazon Kendra experience was last updated.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
describe_experienceselectregionGets information about your Amazon Kendra experience such as a search application. For more information on creating a search application experience, see Building a search experience with no code.
create_experienceinsertregion, IndexIdCreates an Amazon Kendra experience such as a search application. For more information on creating a search application experience, including using the Python and Java SDKs, see Building a search experience with no code.
associate_entities_to_experienceupdateregion, IndexId, EntityListGrants users or groups in your IAM Identity Center identity source access to your Amazon Kendra experience. You can create an Amazon Kendra experience such as a search application. For more information on creating a search application experience, see Building a search experience with no code.
update_experienceupdateregion, IndexIdUpdates your Amazon Kendra experience such as a search application. For more information on creating a search application experience, see Building a search experience with no code.
delete_experiencedeleteregionDeletes your Amazon Kendra experience such as a search application. For more information on creating a search application experience, see Building a search experience with no code.
disassociate_entities_from_experienceexecregion, IndexId, EntityListPrevents users or groups in your IAM Identity Center identity source from accessing your Amazon Kendra experience. You can create an Amazon Kendra experience such as a search application. For more information on creating a search application experience, see Building a search experience with no code.
list_experiencesexecregion, IndexIdLists one or more Amazon Kendra experiences. You can create an Amazon Kendra experience such as a search application. For more information on creating a search application experience, see Building a search experience with no code.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples

Gets information about your Amazon Kendra experience such as a search application. For more information on creating a search application experience, see Building a search experience with no code.

SELECT
configuration,
created_at,
description,
endpoints,
error_message,
id,
index_id,
name,
role_arn,
status,
updated_at
FROM aws.kendra.experiences
WHERE region = '{{ region }}' -- required
;

INSERT examples

Creates an Amazon Kendra experience such as a search application. For more information on creating a search application experience, including using the Python and Java SDKs, see Building a search experience with no code.

INSERT INTO aws.kendra.experiences (
Name,
IndexId,
RoleArn,
Configuration,
Description,
ClientToken,
region
)
SELECT
'{{ Name }}',
'{{ IndexId }}' /* required */,
'{{ RoleArn }}',
'{{ Configuration }}',
'{{ Description }}',
'{{ ClientToken }}',
'{{ region }}'
RETURNING
id
;

UPDATE examples

Grants users or groups in your IAM Identity Center identity source access to your Amazon Kendra experience. You can create an Amazon Kendra experience such as a search application. For more information on creating a search application experience, see Building a search experience with no code.

UPDATE aws.kendra.experiences
SET
Id = '{{ Id }}',
IndexId = '{{ IndexId }}',
EntityList = '{{ EntityList }}'
WHERE
region = '{{ region }}' --required
AND IndexId = '{{ IndexId }}' --required
AND EntityList = '{{ EntityList }}' --required
RETURNING
failed_entity_list;

DELETE examples

Deletes your Amazon Kendra experience such as a search application. For more information on creating a search application experience, see Building a search experience with no code.

DELETE FROM aws.kendra.experiences
WHERE region = '{{ region }}' --required
;

Lifecycle Methods

Prevents users or groups in your IAM Identity Center identity source from accessing your Amazon Kendra experience. You can create an Amazon Kendra experience such as a search application. For more information on creating a search application experience, see Building a search experience with no code.

EXEC aws.kendra.experiences.disassociate_entities_from_experience
@region='{{ region }}' --required
@@json=
'{
"Id": "{{ Id }}",
"IndexId": "{{ IndexId }}",
"EntityList": "{{ EntityList }}"
}'
;