/AWS1/IF_CHI=>UPDATEAPPINSTANCEUSERENDPT()¶
About UpdateAppInstanceUserEndpoint¶
Updates the details of an AppInstanceUserEndpoint. You can update the name and AllowMessage values.
Method Signature¶
METHODS /AWS1/IF_CHI~UPDATEAPPINSTANCEUSERENDPT
IMPORTING
!IV_APPINSTANCEUSERARN TYPE /AWS1/CHICHIMEARN OPTIONAL
!IV_ENDPOINTID TYPE /AWS1/CHISTRING64 OPTIONAL
!IV_NAME TYPE /AWS1/CHISENSITIVESTRING1600 OPTIONAL
!IV_ALLOWMESSAGES TYPE /AWS1/CHIALLOWMESSAGES OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_chiupappinstuserend01
RAISING
/AWS1/CX_CHIBADREQUESTEX
/AWS1/CX_CHICONFLICTEXCEPTION
/AWS1/CX_CHIFORBIDDENEXCEPTION
/AWS1/CX_CHISERVICEFAILUREEX
/AWS1/CX_CHISERVICEUNAVAILEX
/AWS1/CX_CHITHROTTLEDCLIENTEX
/AWS1/CX_CHIUNAUTHDCLIENTEX
/AWS1/CX_CHICLIENTEXC
/AWS1/CX_CHISERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Required arguments:¶
iv_appinstanceuserarn TYPE /AWS1/CHICHIMEARN /AWS1/CHICHIMEARN¶
The ARN of the
AppInstanceUser.
iv_endpointid TYPE /AWS1/CHISTRING64 /AWS1/CHISTRING64¶
The unique identifier of the
AppInstanceUserEndpoint.
Optional arguments:¶
iv_name TYPE /AWS1/CHISENSITIVESTRING1600 /AWS1/CHISENSITIVESTRING1600¶
The name of the
AppInstanceUserEndpoint.
iv_allowmessages TYPE /AWS1/CHIALLOWMESSAGES /AWS1/CHIALLOWMESSAGES¶
Boolean that controls whether the
AppInstanceUserEndpointis opted in to receive messages.ALLindicates the endpoint will receive all messages.NONEindicates the endpoint will receive no messages.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_chiupappinstuserend01 /AWS1/CL_CHIUPAPPINSTUSEREND01¶
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->updateappinstanceuserendpt(
iv_allowmessages = |string|
iv_appinstanceuserarn = |string|
iv_endpointid = |string|
iv_name = |string|
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
lv_chimearn = lo_result->get_appinstanceuserarn( ).
lv_string64 = lo_result->get_endpointid( ).
ENDIF.