/AWS1/IF_FIS=>UPDATETARGETACCOUNTCONF()¶
About UpdateTargetAccountConfiguration¶
Updates the target account configuration for the specified experiment template.
Method Signature¶
METHODS /AWS1/IF_FIS~UPDATETARGETACCOUNTCONF
IMPORTING
!IV_EXPERIMENTTEMPLATEID TYPE /AWS1/FISEXPERIMENTTEMPLATEID OPTIONAL
!IV_ACCOUNTID TYPE /AWS1/FISTARGETACCOUNTID OPTIONAL
!IV_ROLEARN TYPE /AWS1/FISROLEARN OPTIONAL
!IV_DESCRIPTION TYPE /AWS1/FISTARGETACCOUNTCONFDESC OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_fisupdtgtacctconfrsp
RAISING
/AWS1/CX_FISRESOURCENOTFOUNDEX
/AWS1/CX_FISVALIDATIONEX
/AWS1/CX_FISCLIENTEXC
/AWS1/CX_FISSERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Required arguments:¶
iv_experimenttemplateid TYPE /AWS1/FISEXPERIMENTTEMPLATEID /AWS1/FISEXPERIMENTTEMPLATEID¶
The ID of the experiment template.
iv_accountid TYPE /AWS1/FISTARGETACCOUNTID /AWS1/FISTARGETACCOUNTID¶
The Amazon Web Services account ID of the target account.
Optional arguments:¶
iv_rolearn TYPE /AWS1/FISROLEARN /AWS1/FISROLEARN¶
The Amazon Resource Name (ARN) of an IAM role for the target account.
iv_description TYPE /AWS1/FISTARGETACCOUNTCONFDESC /AWS1/FISTARGETACCOUNTCONFDESC¶
The description of the target account.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_fisupdtgtacctconfrsp /AWS1/CL_FISUPDTGTACCTCONFRSP¶
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->updatetargetaccountconf(
iv_accountid = |string|
iv_description = |string|
iv_experimenttemplateid = |string|
iv_rolearn = |string|
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
lo_targetaccountconfigurat = lo_result->get_targetaccountconf( ).
IF lo_targetaccountconfigurat IS NOT INITIAL.
lv_rolearn = lo_targetaccountconfigurat->get_rolearn( ).
lv_targetaccountid = lo_targetaccountconfigurat->get_accountid( ).
lv_targetaccountconfigurat_1 = lo_targetaccountconfigurat->get_description( ).
ENDIF.
ENDIF.