/AWS1/IF_R5R=>CREATEFIREWALLRULEGROUP()¶
About CreateFirewallRuleGroup¶
Creates an empty DNS Firewall rule group for filtering DNS network traffic in a VPC. You can add rules to the new rule group by calling CreateFirewallRule.
Method Signature¶
METHODS /AWS1/IF_R5R~CREATEFIREWALLRULEGROUP
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_r5rcrefirewallrlgrrsp
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 defined by you to identify the request. This allows you to retry failed requests without the risk of running the operation twice. This can be any unique string, for example, a timestamp.
iv_name TYPE /AWS1/R5RNAME /AWS1/R5RNAME¶
A name that lets you identify the rule group, 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 rule group.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_r5rcrefirewallrlgrrsp /AWS1/CL_R5RCREFIREWALLRLGRRSP¶
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->createfirewallrulegroup(
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_firewallrulegroup = lo_result->get_firewallrulegroup( ).
IF lo_firewallrulegroup IS NOT INITIAL.
lv_resourceid = lo_firewallrulegroup->get_id( ).
lv_arn = lo_firewallrulegroup->get_arn( ).
lv_name = lo_firewallrulegroup->get_name( ).
lv_unsigned = lo_firewallrulegroup->get_rulecount( ).
lv_firewallrulegroupstatus = lo_firewallrulegroup->get_status( ).
lv_statusmessage = lo_firewallrulegroup->get_statusmessage( ).
lv_accountid = lo_firewallrulegroup->get_ownerid( ).
lv_creatorrequestid = lo_firewallrulegroup->get_creatorrequestid( ).
lv_sharestatus = lo_firewallrulegroup->get_sharestatus( ).
lv_rfc3339timestring = lo_firewallrulegroup->get_creationtime( ).
lv_rfc3339timestring = lo_firewallrulegroup->get_modificationtime( ).
ENDIF.
ENDIF.