/AWS1/IF_BUP=>GETPITRMALWARESCANRESULTS()¶
About GetPITRMalwareScanResults¶
Returns the malware scan results for a specified point in time within a continuous (point-in-time recovery) backup.
Method Signature¶
METHODS /AWS1/IF_BUP~GETPITRMALWARESCANRESULTS
IMPORTING
!IV_RECOVERYPOINTARN TYPE /AWS1/BUPSTRING00 OPTIONAL
!IV_BACKUPVAULTNAME TYPE /AWS1/BUPSTRING00 OPTIONAL
!IV_SCANENDTIME TYPE /AWS1/BUPTIMESTAMP00 OPTIONAL
!IV_MALWARESCANNER TYPE /AWS1/BUPMALWARESCANNER OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_bupgtpitrmalscanrsout
RAISING
/AWS1/CX_BUPINVPARAMVALUEEX
/AWS1/CX_BUPMISSINGPARAMVALEX
/AWS1/CX_BUPRESOURCENOTFOUNDEX
/AWS1/CX_BUPSERVICEUNAVAILEX
/AWS1/CX_BUPCLIENTEXC
/AWS1/CX_BUPSERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Required arguments:¶
iv_recoverypointarn TYPE /AWS1/BUPSTRING00 /AWS1/BUPSTRING00¶
An ARN that uniquely identifies the target recovery point for scanning; for example,
arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45.
iv_backupvaultname TYPE /AWS1/BUPSTRING00 /AWS1/BUPSTRING00¶
The name of a logical container where backups are stored. Backup vaults are identified by names that are unique to the account used to create them and the Amazon Web Services Region where they are created.
iv_scanendtime TYPE /AWS1/BUPTIMESTAMP00 /AWS1/BUPTIMESTAMP00¶
The point in time within the continuous backup to examine for malware scan results.
iv_malwarescanner TYPE /AWS1/BUPMALWARESCANNER /AWS1/BUPMALWARESCANNER¶
The scanning engine used for the corresponding scan job. Currently only
GUARDDUTYis supported.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_bupgtpitrmalscanrsout /AWS1/CL_BUPGTPITRMALSCANRSOUT¶
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->getpitrmalwarescanresults(
iv_backupvaultname = |string|
iv_malwarescanner = |string|
iv_recoverypointarn = |string|
iv_scanendtime = '20150101000000.0000000'
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
lv_timestamp = lo_result->get_scanendtime( ).
lo_scanresultinfo = lo_result->get_scanresult( ).
IF lo_scanresultinfo IS NOT INITIAL.
lv_scanresultstatus = lo_scanresultinfo->get_scanresultstatus( ).
ENDIF.
lv_timestamp = lo_result->get_lastscanjobtime( ).
lv_string = lo_result->get_scanid( ).
lv_scanmode = lo_result->get_scanmode( ).
ENDIF.