/AWS1/IF_BDK=>STRTAUTOMATEDRSNINGPLYTSTW00()
¶
About StartAutomatedReasoningPolicyTestWorkflow¶
Initiates a test workflow to validate Automated Reasoning policy tests. The workflow executes the specified tests against the policy and generates validation results.
Method Signature¶
IMPORTING¶
Required arguments:¶
iv_policyarn
TYPE /AWS1/BDKAUTOMATEDRSNINGPLYARN
/AWS1/BDKAUTOMATEDRSNINGPLYARN
¶
The Amazon Resource Name (ARN) of the Automated Reasoning policy to test.
iv_buildworkflowid
TYPE /AWS1/BDKAUTOMATEDRSNINGPLYB00
/AWS1/BDKAUTOMATEDRSNINGPLYB00
¶
The build workflow identifier. The build workflow must show a
COMPLETED
status before running tests.
Optional arguments:¶
it_testcaseids
TYPE /AWS1/CL_BDKAUTOMATEDRSNINGP29=>TT_AUTOMATEDRSNINGPLYTSTCASE00
TT_AUTOMATEDRSNINGPLYTSTCASE00
¶
The list of test identifiers to run. If not provided, all tests for the policy are run.
iv_clientrequesttoken
TYPE /AWS1/BDKIDEMPOTENCYTOKEN
/AWS1/BDKIDEMPOTENCYTOKEN
¶
A unique, case-sensitive identifier to ensure that the operation completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request but doesn't return an error.
RETURNING¶
oo_output
TYPE REF TO /aws1/cl_bdkstrtautomatedrsn03
/AWS1/CL_BDKSTRTAUTOMATEDRSN03
¶
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~strtautomatedrsningplytstw00(
it_testcaseids = VALUE /aws1/cl_bdkautomatedrsningp29=>tt_automatedrsningplytstcase00(
( new /aws1/cl_bdkautomatedrsningp29( |string| ) )
)
iv_buildworkflowid = |string|
iv_clientrequesttoken = |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( ).
ENDIF.