/AWS1/IF_KDR=>UPDATERESCOREEXECUTIONPLAN()¶
About UpdateRescoreExecutionPlan¶
Updates a rescore execution plan. A rescore execution plan
is an Amazon Kendra Intelligent Ranking resource used for
provisioning the Rescore API. You can update the
number of capacity units you require for Amazon Kendra
Intelligent Ranking to rescore or re-rank a search service's
results.
Method Signature¶
METHODS /AWS1/IF_KDR~UPDATERESCOREEXECUTIONPLAN
IMPORTING
!IV_ID TYPE /AWS1/KDRRESCOREEXECPLANID OPTIONAL
!IV_NAME TYPE /AWS1/KDRRESCOREEXECPLANNAME OPTIONAL
!IV_DESCRIPTION TYPE /AWS1/KDRDESCRIPTION OPTIONAL
!IO_CAPACITYUNITS TYPE REF TO /AWS1/CL_KDRCAPACITYUNITSCONF OPTIONAL
RAISING
/AWS1/CX_KDRACCESSDENIEDEX
/AWS1/CX_KDRCONFLICTEXCEPTION
/AWS1/CX_KDRINTERNALSERVEREX
/AWS1/CX_KDRRESOURCENOTFOUNDEX
/AWS1/CX_KDRSERVICEQUOTAEXCDEX
/AWS1/CX_KDRTHROTTLINGEX
/AWS1/CX_KDRVALIDATIONEX
/AWS1/CX_KDRCLIENTEXC
/AWS1/CX_KDRSERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Required arguments:¶
iv_id TYPE /AWS1/KDRRESCOREEXECPLANID /AWS1/KDRRESCOREEXECPLANID¶
The identifier of the rescore execution plan that you want to update.
Optional arguments:¶
iv_name TYPE /AWS1/KDRRESCOREEXECPLANNAME /AWS1/KDRRESCOREEXECPLANNAME¶
A new name for the rescore execution plan.
iv_description TYPE /AWS1/KDRDESCRIPTION /AWS1/KDRDESCRIPTION¶
A new description for the rescore execution plan.
io_capacityunits TYPE REF TO /AWS1/CL_KDRCAPACITYUNITSCONF /AWS1/CL_KDRCAPACITYUNITSCONF¶
You can set additional capacity units to meet the needs of your rescore execution plan. You are given a single capacity unit by default. If you want to use the default capacity, you don't set additional capacity units. For more information on the default capacity and additional capacity units, see Adjusting capacity.
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->updaterescoreexecutionplan(
io_capacityunits = new /aws1/cl_kdrcapacityunitsconf( 123 )
iv_description = |string|
iv_id = |string|
iv_name = |string|
).