/AWS1/IF_BDK=>UPAUTOMATEDRSNINGPLYANNOTA00()
¶
About UpdateAutomatedReasoningPolicyAnnotations¶
Updates the annotations for an Automated Reasoning policy build workflow. This allows you to modify extracted rules, variables, and types before finalizing the policy.
Method Signature¶
IMPORTING¶
Required arguments:¶
iv_policyarn
TYPE /AWS1/BDKAUTOMATEDRSNINGPLYARN
/AWS1/BDKAUTOMATEDRSNINGPLYARN
¶
The Amazon Resource Name (ARN) of the Automated Reasoning policy whose annotations you want to update.
iv_buildworkflowid
TYPE /AWS1/BDKAUTOMATEDRSNINGPLYB00
/AWS1/BDKAUTOMATEDRSNINGPLYB00
¶
The unique identifier of the build workflow whose annotations you want to update.
it_annotations
TYPE /AWS1/CL_BDKAUTOMATEDRSNINGP09=>TT_AUTOMATEDRSNINGPLYANNOTAT00
TT_AUTOMATEDRSNINGPLYANNOTAT00
¶
The updated annotations containing modified rules, variables, and types for the policy.
iv_lastupddannotationsethash
TYPE /AWS1/BDKAUTOMATEDRSNINGPLYH00
/AWS1/BDKAUTOMATEDRSNINGPLYH00
¶
The hash value of the annotation set that you're updating. This is used for optimistic concurrency control to prevent conflicting updates.
RETURNING¶
oo_output
TYPE REF TO /aws1/cl_bdkupautomatedrsnin01
/AWS1/CL_BDKUPAUTOMATEDRSNIN01
¶
Domain /AWS1/RT_ACCOUNT_ID Primitive Type NUMC
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.
DATA(lo_result) = lo_client->/aws1/if_bdk~upautomatedrsningplyannota00(
it_annotations = VALUE /aws1/cl_bdkautomatedrsningp09=>tt_automatedrsningplyannotat00(
(
new /aws1/cl_bdkautomatedrsningp09(
io_addrlfromnaturallanguage = new /aws1/cl_bdkautomatedrsningp23( |string| )
io_addrule = new /aws1/cl_bdkautomatedrsningp20( |string| )
io_addtype = new /aws1/cl_bdkautomatedrsningp10(
it_values = VALUE /aws1/cl_bdkautomatedrsningp02=>tt_automatedrsningplydeftype01(
(
new /aws1/cl_bdkautomatedrsningp02(
iv_description = |string|
iv_value = |string|
)
)
)
iv_description = |string|
iv_name = |string|
)
io_addvariable = new /aws1/cl_bdkautomatedrsningp17(
iv_description = |string|
iv_name = |string|
iv_type = |string|
)
io_deleterule = new /aws1/cl_bdkautomatedrsningp22( |string| )
io_deletetype = new /aws1/cl_bdkautomatedrsningp16( |string| )
io_deletevariable = new /aws1/cl_bdkautomatedrsningp19( |string| )
io_ingestcontent = new /aws1/cl_bdkautomatedrsningp27( |string| )
io_updatefromrulesfeedback = new /aws1/cl_bdkautomatedrsningp24(
it_ruleids = VALUE /aws1/cl_bdkautomatedrsningp25=>tt_automatedrsningplydefrlid00(
( new /aws1/cl_bdkautomatedrsningp25( |string| ) )
)
iv_feedback = |string|
)
io_updaterule = new /aws1/cl_bdkautomatedrsningp21(
iv_expression = |string|
iv_ruleid = |string|
)
io_updatetype = new /aws1/cl_bdkautomatedrsningp11(
it_values = VALUE /aws1/cl_bdkautomatedrsningp12=>tt_automatedrsningplytypeval00(
(
new /aws1/cl_bdkautomatedrsningp12(
io_addtypevalue = new /aws1/cl_bdkautomatedrsningp13(
iv_description = |string|
iv_value = |string|
)
io_deletetypevalue = new /aws1/cl_bdkautomatedrsningp15( |string| )
io_updatetypevalue = new /aws1/cl_bdkautomatedrsningp14(
iv_description = |string|
iv_newvalue = |string|
iv_value = |string|
)
)
)
)
iv_description = |string|
iv_name = |string|
iv_newname = |string|
)
io_updatevariable = new /aws1/cl_bdkautomatedrsningp18(
iv_description = |string|
iv_name = |string|
iv_newname = |string|
)
io_updfromscenariofeedback = new /aws1/cl_bdkautomatedrsningp26(
it_ruleids = VALUE /aws1/cl_bdkautomatedrsningp25=>tt_automatedrsningplydefrlid00(
( new /aws1/cl_bdkautomatedrsningp25( |string| ) )
)
iv_feedback = |string|
iv_scenarioexpression = |string|
)
)
)
)
iv_buildworkflowid = |string|
iv_lastupddannotationsethash = |string|
iv_policyarn = |string|
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
lv_automatedreasoningpolic = lo_result->get_policyarn( ).
lv_automatedreasoningpolic_1 = lo_result->get_buildworkflowid( ).
lv_automatedreasoningpolic_2 = lo_result->get_annotationsethash( ).
lv_timestamp = lo_result->get_updatedat( ).
ENDIF.