/AWS1/IF_GDY=>UPDATEMALWAREPROTECTIONPLAN()¶
About UpdateMalwareProtectionPlan¶
Updates an existing Malware Protection plan resource.
Method Signature¶
METHODS /AWS1/IF_GDY~UPDATEMALWAREPROTECTIONPLAN
IMPORTING
!IV_MALWAREPROTECTIONPLANID TYPE /AWS1/GDYSTRING OPTIONAL
!IV_ROLE TYPE /AWS1/GDYSTRING OPTIONAL
!IO_ACTIONS TYPE REF TO /AWS1/CL_GDYMALWAREPROTECTIO04 OPTIONAL
!IO_PROTECTEDRESOURCE TYPE REF TO /AWS1/CL_GDYUPDPROTECTEDRESRC OPTIONAL
RAISING
/AWS1/CX_GDYACCESSDENIEDEX
/AWS1/CX_GDYBADREQUESTEX
/AWS1/CX_GDYINTERNALSERVERER00
/AWS1/CX_GDYRESOURCENOTFOUNDEX
/AWS1/CX_GDYCLIENTEXC
/AWS1/CX_GDYSERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Required arguments:¶
iv_malwareprotectionplanid TYPE /AWS1/GDYSTRING /AWS1/GDYSTRING¶
A unique identifier associated with the Malware Protection plan.
Optional arguments:¶
iv_role TYPE /AWS1/GDYSTRING /AWS1/GDYSTRING¶
Amazon Resource Name (ARN) of the IAM role with permissions to scan and add tags to the associated protected resource.
io_actions TYPE REF TO /AWS1/CL_GDYMALWAREPROTECTIO04 /AWS1/CL_GDYMALWAREPROTECTIO04¶
Information about whether the tags will be added to the S3 object after scanning.
io_protectedresource TYPE REF TO /AWS1/CL_GDYUPDPROTECTEDRESRC /AWS1/CL_GDYUPDPROTECTEDRESRC¶
Information about the protected resource that is associated with the created Malware Protection plan. Presently,
S3Bucketis the only supported protected resource.
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->updatemalwareprotectionplan(
io_actions = new /aws1/cl_gdymalwareprotectio04( new /aws1/cl_gdymalwareprotectio05( |string| ) )
io_protectedresource = new /aws1/cl_gdyupdprotectedresrc(
io_s3bucket = new /aws1/cl_gdyupdates3bktresrc(
it_objectprefixes = VALUE /aws1/cl_gdymalwareprotectio03=>tt_malwareprotectionplanobjp00(
( new /aws1/cl_gdymalwareprotectio03( |string| ) )
)
)
)
iv_malwareprotectionplanid = |string|
iv_role = |string|
).