/AWS1/IF_R5G=>UPDATEACCESSSOURCE()¶
About UpdateAccessSource¶
Updates the configuration of an access source.
Method Signature¶
METHODS /AWS1/IF_R5G~UPDATEACCESSSOURCE
IMPORTING
!IV_ACCESSSOURCEID TYPE /AWS1/R5GRESOURCEID OPTIONAL
!IV_CIDR TYPE /AWS1/R5GCIDR OPTIONAL
!IV_IPADDRESSTYPE TYPE /AWS1/R5GIPADDRESSTYPE OPTIONAL
!IV_NAME TYPE /AWS1/R5GRESOURCENAMESHORT OPTIONAL
!IV_PROTOCOL TYPE /AWS1/R5GDNSPROTOCOL OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_r5gupdateaccsourceout
RAISING
/AWS1/CX_R5GACCESSDENIEDEX
/AWS1/CX_R5GCONFLICTEXCEPTION
/AWS1/CX_R5GINTERNALSERVEREX
/AWS1/CX_R5GRESOURCENOTFOUNDEX
/AWS1/CX_R5GSERVICEQUOTAEXCDEX
/AWS1/CX_R5GTHROTTLINGEX
/AWS1/CX_R5GVLDTNEXCEPTION
/AWS1/CX_R5GCLIENTEXC
/AWS1/CX_R5GSERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Required arguments:¶
iv_accesssourceid TYPE /AWS1/R5GRESOURCEID /AWS1/R5GRESOURCEID¶
The unique identifier of the access source to update.
Optional arguments:¶
iv_cidr TYPE /AWS1/R5GCIDR /AWS1/R5GCIDR¶
The CIDR block for the access source.
iv_ipaddresstype TYPE /AWS1/R5GIPADDRESSTYPE /AWS1/R5GIPADDRESSTYPE¶
The IP address type for the access source.
iv_name TYPE /AWS1/R5GRESOURCENAMESHORT /AWS1/R5GRESOURCENAMESHORT¶
The name of the access source.
iv_protocol TYPE /AWS1/R5GDNSPROTOCOL /AWS1/R5GDNSPROTOCOL¶
The protocol for the access source.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_r5gupdateaccsourceout /AWS1/CL_R5GUPDATEACCSOURCEOUT¶
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->updateaccesssource(
iv_accesssourceid = |string|
iv_cidr = |string|
iv_ipaddresstype = |string|
iv_name = |string|
iv_protocol = |string|
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
lv_resourcearn = lo_result->get_arn( ).
lv_cidr = lo_result->get_cidr( ).
lv_iso8601timestring = lo_result->get_createdat( ).
lv_resourceid = lo_result->get_id( ).
lv_ipaddresstype = lo_result->get_ipaddresstype( ).
lv_resourcenameshort = lo_result->get_name( ).
lv_resourceid = lo_result->get_dnsviewid( ).
lv_dnsprotocol = lo_result->get_protocol( ).
lv_crresourcestatus = lo_result->get_status( ).
lv_iso8601timestring = lo_result->get_updatedat( ).
ENDIF.