/AWS1/IF_R5R=>UPDATEFIREWALLDOMAINS()¶
About UpdateFirewallDomains¶
Updates the firewall domain list from an array of domain specifications.
Method Signature¶
METHODS /AWS1/IF_R5R~UPDATEFIREWALLDOMAINS
IMPORTING
!IV_FIREWALLDOMAINLISTID TYPE /AWS1/R5RRESOURCEID OPTIONAL
!IV_OPERATION TYPE /AWS1/R5RFIREWALLDOMUPDATEOP OPTIONAL
!IT_DOMAINS TYPE /AWS1/CL_R5RFIREWALLDOMAINS_W=>TT_FIREWALLDOMAINS OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_r5rupdfirewalldomsrsp
RAISING
/AWS1/CX_R5RACCESSDENIEDEX
/AWS1/CX_R5RCONFLICTEXCEPTION
/AWS1/CX_R5RINTERNALSVCERROREX
/AWS1/CX_R5RLIMITEXCEEDEDEX
/AWS1/CX_R5RRESOURCENOTFOUNDEX
/AWS1/CX_R5RTHROTTLINGEX
/AWS1/CX_R5RVALIDATIONEX
/AWS1/CX_R5RCLIENTEXC
/AWS1/CX_R5RSERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Required arguments:¶
iv_firewalldomainlistid TYPE /AWS1/R5RRESOURCEID /AWS1/R5RRESOURCEID¶
The ID of the domain list whose domains you want to update.
iv_operation TYPE /AWS1/R5RFIREWALLDOMUPDATEOP /AWS1/R5RFIREWALLDOMUPDATEOP¶
What you want DNS Firewall to do with the domains that you are providing:
ADD- Add the domains to the ones that are already in the domain list.
REMOVE- Search the domain list for the domains and remove them from the list.
REPLACE- Update the domain list to exactly match the list that you are providing.
it_domains TYPE /AWS1/CL_R5RFIREWALLDOMAINS_W=>TT_FIREWALLDOMAINS TT_FIREWALLDOMAINS¶
A list of domains to use in the update operation.
There is a limit of 1000 domains per request.
Each domain specification in your domain list must satisfy the following requirements:
It can optionally start with
*(asterisk).With the exception of the optional starting asterisk, it must only contain the following characters:
A-Z,a-z,0-9,-(hyphen).It must be from 1-255 characters in length.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_r5rupdfirewalldomsrsp /AWS1/CL_R5RUPDFIREWALLDOMSRSP¶
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->updatefirewalldomains(
it_domains = VALUE /aws1/cl_r5rfirewalldomains_w=>tt_firewalldomains(
( new /aws1/cl_r5rfirewalldomains_w( |string| ) )
)
iv_firewalldomainlistid = |string|
iv_operation = |string|
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
lv_resourceid = lo_result->get_id( ).
lv_name = lo_result->get_name( ).
lv_firewalldomainliststatu = lo_result->get_status( ).
lv_statusmessage = lo_result->get_statusmessage( ).
ENDIF.