/AWS1/IF_LIC=>UPDATESERVICESETTINGS()¶
About UpdateServiceSettings¶
Updates License Manager settings for the current Region.
Method Signature¶
METHODS /AWS1/IF_LIC~UPDATESERVICESETTINGS
IMPORTING
!IV_S3BUCKETARN TYPE /AWS1/LICSTRING OPTIONAL
!IV_SNSTOPICARN TYPE /AWS1/LICSTRING OPTIONAL
!IO_ORGANIZATIONCONFIGURATION TYPE REF TO /AWS1/CL_LICORGANIZATIONCONF OPTIONAL
!IV_ENABLECROSSACCTSDISCOVERY TYPE /AWS1/LICBOXBOOLEAN OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_licupdatesvcstgsrsp
RAISING
/AWS1/CX_LICACCESSDENIEDEX
/AWS1/CX_LICAUTHEXCEPTION
/AWS1/CX_LICINVPARAMVALUEEX
/AWS1/CX_LICRLIMEXCEEDEDEX
/AWS1/CX_LICSERVERINTERNALEX
/AWS1/CX_LICCLIENTEXC
/AWS1/CX_LICSERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Optional arguments:¶
iv_s3bucketarn TYPE /AWS1/LICSTRING /AWS1/LICSTRING¶
Amazon Resource Name (ARN) of the Amazon S3 bucket where the License Manager information is stored.
iv_snstopicarn TYPE /AWS1/LICSTRING /AWS1/LICSTRING¶
Amazon Resource Name (ARN) of the Amazon SNS topic used for License Manager alerts.
io_organizationconfiguration TYPE REF TO /AWS1/CL_LICORGANIZATIONCONF /AWS1/CL_LICORGANIZATIONCONF¶
Enables integration with Organizations for cross-account discovery.
iv_enablecrossacctsdiscovery TYPE /AWS1/LICBOXBOOLEAN /AWS1/LICBOXBOOLEAN¶
Activates cross-account discovery.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_licupdatesvcstgsrsp /AWS1/CL_LICUPDATESVCSTGSRSP¶
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->updateservicesettings(
io_organizationconfiguration = new /aws1/cl_licorganizationconf( ABAP_TRUE )
iv_enablecrossacctsdiscovery = ABAP_TRUE
iv_s3bucketarn = |string|
iv_snstopicarn = |string|
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
ENDIF.