/AWS1/IF_R5R=>CREATEFIREWALLDOMAINLIST()¶
About CreateFirewallDomainList¶
Creates an empty firewall domain list for use in DNS Firewall rules. You can populate the domains for the new list with a file, using ImportFirewallDomains, or with domain strings, using UpdateFirewallDomains.
Method Signature¶
METHODS /AWS1/IF_R5R~CREATEFIREWALLDOMAINLIST
IMPORTING
!IV_CREATORREQUESTID TYPE /AWS1/R5RCREATORREQUESTID OPTIONAL
!IV_NAME TYPE /AWS1/R5RNAME OPTIONAL
!IT_TAGS TYPE /AWS1/CL_R5RTAG=>TT_TAGLIST OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_r5rcrefirewalldomls01
RAISING
/AWS1/CX_R5RACCESSDENIEDEX
/AWS1/CX_R5RINTERNALSVCERROREX
/AWS1/CX_R5RLIMITEXCEEDEDEX
/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_creatorrequestid TYPE /AWS1/R5RCREATORREQUESTID /AWS1/R5RCREATORREQUESTID¶
A unique string that identifies the request and that allows you to retry failed requests without the risk of running the operation twice.
CreatorRequestIdcan be any unique string, for example, a date/time stamp.
iv_name TYPE /AWS1/R5RNAME /AWS1/R5RNAME¶
A name that lets you identify the domain list to manage and use it.
Optional arguments:¶
it_tags TYPE /AWS1/CL_R5RTAG=>TT_TAGLIST TT_TAGLIST¶
A list of the tag keys and values that you want to associate with the domain list.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_r5rcrefirewalldomls01 /AWS1/CL_R5RCREFIREWALLDOMLS01¶
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->createfirewalldomainlist(
it_tags = VALUE /aws1/cl_r5rtag=>tt_taglist(
(
new /aws1/cl_r5rtag(
iv_key = |string|
iv_value = |string|
)
)
)
iv_creatorrequestid = |string|
iv_name = |string|
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
lo_firewalldomainlist = lo_result->get_firewalldomainlist( ).
IF lo_firewalldomainlist IS NOT INITIAL.
lv_resourceid = lo_firewalldomainlist->get_id( ).
lv_arn = lo_firewalldomainlist->get_arn( ).
lv_name = lo_firewalldomainlist->get_name( ).
lv_unsigned = lo_firewalldomainlist->get_domaincount( ).
lv_firewalldomainliststatu = lo_firewalldomainlist->get_status( ).
lv_statusmessage = lo_firewalldomainlist->get_statusmessage( ).
lv_serviceprinciple = lo_firewalldomainlist->get_managedownername( ).
lv_creatorrequestid = lo_firewalldomainlist->get_creatorrequestid( ).
lv_rfc3339timestring = lo_firewalldomainlist->get_creationtime( ).
lv_rfc3339timestring = lo_firewalldomainlist->get_modificationtime( ).
ENDIF.
ENDIF.