/AWS1/CL_WSW=>ASSOCIATESESSIONLOGGER()
¶
About AssociateSessionLogger¶
Associates a session logger with a portal.
Method Signature¶
IMPORTING¶
Required arguments:¶
iv_portalarn
TYPE /AWS1/WSWARN
/AWS1/WSWARN
¶
The ARN of the portal to associate to the session logger ARN.
iv_sessionloggerarn
TYPE /AWS1/WSWARN
/AWS1/WSWARN
¶
The ARN of the session logger to associate to the portal ARN.
RETURNING¶
oo_output
TYPE REF TO /aws1/cl_wswassocsessloggerrsp
/AWS1/CL_WSWASSOCSESSLOGGERRSP
¶
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->/aws1/if_wsw~associatesessionlogger(
iv_portalarn = |string|
iv_sessionloggerarn = |string|
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
lv_arn = lo_result->get_portalarn( ).
lv_arn = lo_result->get_sessionloggerarn( ).
ENDIF.
Associate Session Logger with Portal¶
Associates a session logger with a portal
DATA(lo_result) = lo_client->/aws1/if_wsw~associatesessionlogger(
iv_portalarn = |arn:aws:workspaces-web:us-west-2:123456789012:portal/12345678-1234-1234-1234-123456789012|
iv_sessionloggerarn = |arn:aws:workspaces-web:us-west-2:123456789012:sessionLogger/11111111-1111-1111-1111-111111111111|
).