/AWS1/IF_QST=>UPDATECUSTOMPERMISSIONS()¶
About UpdateCustomPermissions¶
Updates a custom permissions profile.
Method Signature¶
METHODS /AWS1/IF_QST~UPDATECUSTOMPERMISSIONS
IMPORTING
!IV_AWSACCOUNTID TYPE /AWS1/QSTAWSACCOUNTID OPTIONAL
!IV_CUSTOMPERMISSIONSNAME TYPE /AWS1/QSTCUSTOMPERMISSIONSNAME OPTIONAL
!IO_CAPABILITIES TYPE REF TO /AWS1/CL_QSTCAPABILITIES OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_qstupdcustompermsrsp
RAISING
/AWS1/CX_QSTACCESSDENIEDEX
/AWS1/CX_QSTCONFLICTEXCEPTION
/AWS1/CX_QSTINTERNALFAILUREEX
/AWS1/CX_QSTINVPARAMVALUEEX
/AWS1/CX_QSTPRECONDNOTMETEX
/AWS1/CX_QSTRESOURCENOTFOUNDEX
/AWS1/CX_QSTRESOURCEUNAVAILEX
/AWS1/CX_QSTTHROTTLINGEX
/AWS1/CX_QSTCLIENTEXC
/AWS1/CX_QSTSERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Required arguments:¶
iv_awsaccountid TYPE /AWS1/QSTAWSACCOUNTID /AWS1/QSTAWSACCOUNTID¶
The ID of the Amazon Web Services account that contains the custom permissions profile that you want to update.
iv_custompermissionsname TYPE /AWS1/QSTCUSTOMPERMISSIONSNAME /AWS1/QSTCUSTOMPERMISSIONSNAME¶
The name of the custom permissions profile that you want to update.
Optional arguments:¶
io_capabilities TYPE REF TO /AWS1/CL_QSTCAPABILITIES /AWS1/CL_QSTCAPABILITIES¶
A set of actions to include in the custom permissions profile.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_qstupdcustompermsrsp /AWS1/CL_QSTUPDCUSTOMPERMSRSP¶
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->updatecustompermissions(
io_capabilities = new /aws1/cl_qstcapabilities(
iv_action = |string|
iv_addorrunanomalydetforan00 = |string|
iv_analysis = |string|
iv_automate = |string|
iv_chatagent = |string|
iv_creandupddashboardemail00 = |string|
iv_createandupdatedatasets = |string|
iv_createandupdatedatasrcs = |string|
iv_createandupdatethemes = |string|
iv_createandupdthreshalerts = |string|
iv_createchatagents = |string|
iv_createsharedfolders = |string|
iv_createspicedataset = |string|
iv_dashboard = |string|
iv_exporttocsv = |string|
iv_exporttocsvinschddreports = |string|
iv_exporttoexcel = |string|
iv_exporttopdf = |string|
iv_exporttopdfinschddreports = |string|
iv_exptoexcelinschddreports = |string|
iv_flow = |string|
iv_inclcontinschddrptsemail = |string|
iv_knowledgebase = |string|
iv_performflowuitask = |string|
iv_printreports = |string|
iv_publishwithoutapproval = |string|
iv_renamesharedfolders = |string|
iv_research = |string|
iv_shareanalyses = |string|
iv_sharedashboards = |string|
iv_sharedatasets = |string|
iv_sharedatasources = |string|
iv_space00 = |string|
iv_subdashboardemailreports = |string|
iv_useagentwebsearch = |string|
iv_usebedrockmodels = |string|
iv_viewaccountspicecapacity = |string|
)
iv_awsaccountid = |string|
iv_custompermissionsname = |string|
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
lv_statuscode = lo_result->get_status( ).
lv_arn = lo_result->get_arn( ).
lv_string = lo_result->get_requestid( ).
ENDIF.