/AWS1/IF_NWF=>UPDPROXYRULEGROUPPRIORITIES()¶
About UpdateProxyRuleGroupPriorities¶
Updates proxy rule group priorities within a proxy configuration.
Method Signature¶
METHODS /AWS1/IF_NWF~UPDPROXYRULEGROUPPRIORITIES
IMPORTING
!IV_PROXYCONFIGURATIONNAME TYPE /AWS1/NWFRESOURCENAME OPTIONAL
!IV_PROXYCONFIGURATIONARN TYPE /AWS1/NWFRESOURCEARN OPTIONAL
!IT_RULEGROUPS TYPE /AWS1/CL_NWFPROXYRLGRPPRIORITY=>TT_PROXYRULEGROUPPRIORITYLIST OPTIONAL
!IV_UPDATETOKEN TYPE /AWS1/NWFUPDATETOKEN OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_nwfupproxyrlgrprior01
RAISING
/AWS1/CX_NWFINTERNALSERVERERR
/AWS1/CX_NWFINVALIDREQUESTEX
/AWS1/CX_NWFRESOURCENOTFOUNDEX
/AWS1/CX_NWFTHROTTLINGEX
/AWS1/CX_NWFCLIENTEXC
/AWS1/CX_NWFSERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Required arguments:¶
it_rulegroups TYPE /AWS1/CL_NWFPROXYRLGRPPRIORITY=>TT_PROXYRULEGROUPPRIORITYLIST TT_PROXYRULEGROUPPRIORITYLIST¶
proxy rule group resources to update to new positions.
iv_updatetoken TYPE /AWS1/NWFUPDATETOKEN /AWS1/NWFUPDATETOKEN¶
A token used for optimistic locking. Network Firewall returns a token to your requests that access the proxy configuration. The token marks the state of the proxy configuration resource at the time of the request.
To make changes to the proxy configuration, you provide the token in your request. Network Firewall uses the token to ensure that the proxy configuration hasn't changed since you last retrieved it. If it has changed, the operation fails with an
InvalidTokenException. If this happens, retrieve the proxy configuration again to get a current copy of it with a current token. Reapply your changes as needed, then try the operation again using the new token.
Optional arguments:¶
iv_proxyconfigurationname TYPE /AWS1/NWFRESOURCENAME /AWS1/NWFRESOURCENAME¶
The descriptive name of the proxy configuration. You can't change the name of a proxy configuration after you create it.
You must specify the ARN or the name, and you can specify both.
iv_proxyconfigurationarn TYPE /AWS1/NWFRESOURCEARN /AWS1/NWFRESOURCEARN¶
The Amazon Resource Name (ARN) of a proxy configuration.
You must specify the ARN or the name, and you can specify both.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_nwfupproxyrlgrprior01 /AWS1/CL_NWFUPPROXYRLGRPRIOR01¶
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->updproxyrulegrouppriorities(
it_rulegroups = VALUE /aws1/cl_nwfproxyrlgrppriority=>tt_proxyrulegroupprioritylist(
(
new /aws1/cl_nwfproxyrlgrppriority(
iv_newposition = 123
iv_proxyrulegroupname = |string|
)
)
)
iv_proxyconfigurationarn = |string|
iv_proxyconfigurationname = |string|
iv_updatetoken = |string|
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
LOOP AT lo_result->get_proxyrulegroups( ) into lo_row.
lo_row_1 = lo_row.
IF lo_row_1 IS NOT INITIAL.
lv_resourcename = lo_row_1->get_proxyrulegroupname( ).
lv_proxyrulegrouppriorityr = lo_row_1->get_priority( ).
ENDIF.
ENDLOOP.
lv_updatetoken = lo_result->get_updatetoken( ).
ENDIF.