/AWS1/IF_KND=>UPDATEEXPERIENCE()¶
About UpdateExperience¶
Updates 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.
Method Signature¶
METHODS /AWS1/IF_KND~UPDATEEXPERIENCE
IMPORTING
!IV_ID TYPE /AWS1/KNDEXPERIENCEID OPTIONAL
!IV_NAME TYPE /AWS1/KNDEXPERIENCENAME OPTIONAL
!IV_INDEXID TYPE /AWS1/KNDINDEXID OPTIONAL
!IV_ROLEARN TYPE /AWS1/KNDROLEARN OPTIONAL
!IO_CONFIGURATION TYPE REF TO /AWS1/CL_KNDEXPERIENCECONF OPTIONAL
!IV_DESCRIPTION TYPE /AWS1/KNDDESCRIPTION OPTIONAL
RAISING
/AWS1/CX_KNDACCESSDENIEDEX
/AWS1/CX_KNDCONFLICTEXCEPTION
/AWS1/CX_KNDINTERNALSERVEREX
/AWS1/CX_KNDRESOURCENOTFOUNDEX
/AWS1/CX_KNDTHROTTLINGEX
/AWS1/CX_KNDVALIDATIONEX
/AWS1/CX_KNDCLIENTEXC
/AWS1/CX_KNDSERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Required arguments:¶
iv_id TYPE /AWS1/KNDEXPERIENCEID /AWS1/KNDEXPERIENCEID¶
The identifier of your Amazon Kendra experience you want to update.
iv_indexid TYPE /AWS1/KNDINDEXID /AWS1/KNDINDEXID¶
The identifier of the index for your Amazon Kendra experience.
Optional arguments:¶
iv_name TYPE /AWS1/KNDEXPERIENCENAME /AWS1/KNDEXPERIENCENAME¶
A new name for your Amazon Kendra experience.
iv_rolearn TYPE /AWS1/KNDROLEARN /AWS1/KNDROLEARN¶
The Amazon Resource Name (ARN) of an IAM role with permission to access the
QueryAPI,QuerySuggestionsAPI,SubmitFeedbackAPI, and IAM Identity Center that stores your users and groups information. For more information, see IAM roles for Amazon Kendra.
io_configuration TYPE REF TO /AWS1/CL_KNDEXPERIENCECONF /AWS1/CL_KNDEXPERIENCECONF¶
Configuration information you want to update for your Amazon Kendra experience.
iv_description TYPE /AWS1/KNDDESCRIPTION /AWS1/KNDDESCRIPTION¶
A new description for your Amazon Kendra experience.
Examples¶
Syntax Example¶
This is an example of the syntax for calling the method. It includes every possible argument and initializes every possible value. The data provided is not necessarily semantically accurate (for example the value "string" may be provided for something that is intended to be an instance ID, or in some cases two arguments may be mutually exclusive). The syntax shows the ABAP syntax for creating the various data structures.
lo_client->updateexperience(
io_configuration = new /aws1/cl_kndexperienceconf(
io_contentsourceconf = new /aws1/cl_kndcontentsourceconf(
it_datasourceids = VALUE /aws1/cl_knddatasourceidlist_w=>tt_datasourceidlist(
( new /aws1/cl_knddatasourceidlist_w( |string| ) )
)
it_faqids = VALUE /aws1/cl_kndfaqidslist_w=>tt_faqidslist(
( new /aws1/cl_kndfaqidslist_w( |string| ) )
)
iv_directputcontent = ABAP_TRUE
)
io_useridentityconfiguration = new /aws1/cl_knduseridentityconf( |string| )
)
iv_description = |string|
iv_id = |string|
iv_indexid = |string|
iv_name = |string|
iv_rolearn = |string|
).