/AWS1/CL_AUM=>GETEVIDENCE()
¶
About GetEvidence¶
Gets information about a specified evidence item.
Method Signature¶
IMPORTING¶
Required arguments:¶
iv_assessmentid
TYPE /AWS1/AUMUUID
/AWS1/AUMUUID
¶
The unique identifier for the assessment.
iv_controlsetid
TYPE /AWS1/AUMCONTROLSETID
/AWS1/AUMCONTROLSETID
¶
The unique identifier for the control set.
iv_evidencefolderid
TYPE /AWS1/AUMUUID
/AWS1/AUMUUID
¶
The unique identifier for the folder that the evidence is stored in.
iv_evidenceid
TYPE /AWS1/AUMUUID
/AWS1/AUMUUID
¶
The unique identifier for the evidence.
RETURNING¶
oo_output
TYPE REF TO /aws1/cl_aumgetevidencersp
/AWS1/CL_AUMGETEVIDENCERSP
¶
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_aum~getevidence(
iv_assessmentid = |string|
iv_controlsetid = |string|
iv_evidencefolderid = |string|
iv_evidenceid = |string|
).
This is an example of reading all possible response values
lv_string = lo_evidence->get_datasource( ).
lv_accountid = lo_evidence->get_evidenceawsaccountid( ).
lv_timestamp = lo_evidence->get_time( ).
lv_awsservicename = lo_evidence->get_eventsource( ).
lv_eventname = lo_evidence->get_eventname( ).
lv_string = lo_evidence->get_evidencebytype( ).
LOOP AT lo_evidence->get_resourcesincluded( ) into lo_row.
lv_genericarn = lo_row_1->get_arn( ).
lv_string = lo_row_1->get_value( ).
lv_string = lo_row_1->get_compliancecheck( ).
ENDLOOP.
LOOP AT lo_evidence->get_attributes( ) into ls_row_2.
lv_key = ls_row_2-key.
lv_evidenceattributevalue = lo_value->get_value( ).
ENDLOOP.
lv_iamarn = lo_evidence->get_iamid( ).
lv_string = lo_evidence->get_compliancecheck( ).
lv_string = lo_evidence->get_awsorganization( ).
lv_accountid = lo_evidence->get_awsaccountid( ).
lv_uuid = lo_evidence->get_evidencefolderid( ).
lv_uuid = lo_evidence->get_id( ).
lv_string = lo_evidence->get_assessmentreportselion( ).