/AWS1/IF_CRL=>LISTAUDIENCEGENERATIONJOBS()¶
About ListAudienceGenerationJobs¶
Returns a list of audience generation jobs.
Method Signature¶
METHODS /AWS1/IF_CRL~LISTAUDIENCEGENERATIONJOBS
IMPORTING
!IV_NEXTTOKEN TYPE /AWS1/CRLNEXTTOKEN OPTIONAL
!IV_MAXRESULTS TYPE /AWS1/CRLMAXRESULTS OPTIONAL
!IV_CFGUREDAUDIENCEMODELARN TYPE /AWS1/CRLCFGUREDAUDIENCEMDEL00 OPTIONAL
!IV_COLLABORATIONID TYPE /AWS1/CRLUUID OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_crllstaudiencegener01
RAISING
/AWS1/CX_CRLACCESSDENIEDEX
/AWS1/CX_CRLVALIDATIONEX
/AWS1/CX_CRLCLIENTEXC
/AWS1/CX_CRLSERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Optional arguments:¶
iv_nexttoken TYPE /AWS1/CRLNEXTTOKEN /AWS1/CRLNEXTTOKEN¶
The token value retrieved from a previous call to access the next page of results.
iv_maxresults TYPE /AWS1/CRLMAXRESULTS /AWS1/CRLMAXRESULTS¶
The maximum size of the results that is returned per call.
iv_cfguredaudiencemodelarn TYPE /AWS1/CRLCFGUREDAUDIENCEMDEL00 /AWS1/CRLCFGUREDAUDIENCEMDEL00¶
The Amazon Resource Name (ARN) of the configured audience model that was used for the audience generation jobs that you are interested in.
iv_collaborationid TYPE /AWS1/CRLUUID /AWS1/CRLUUID¶
The identifier of the collaboration that contains the audience generation jobs that you are interested in.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_crllstaudiencegener01 /AWS1/CL_CRLLSTAUDIENCEGENER01¶
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->listaudiencegenerationjobs(
iv_cfguredaudiencemodelarn = |string|
iv_collaborationid = |string|
iv_maxresults = 123
iv_nexttoken = |string|
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
lv_nexttoken = lo_result->get_nexttoken( ).
LOOP AT lo_result->get_audiencegenerationjobs( ) into lo_row.
lo_row_1 = lo_row.
IF lo_row_1 IS NOT INITIAL.
lv_timestamp = lo_row_1->get_createtime( ).
lv_timestamp = lo_row_1->get_updatetime( ).
lv_audiencegenerationjobar = lo_row_1->get_audiencegenerationjobarn( ).
lv_namestring = lo_row_1->get_name( ).
lv_resourcedescription = lo_row_1->get_description( ).
lv_audiencegenerationjobst = lo_row_1->get_status( ).
lv_configuredaudiencemodel = lo_row_1->get_cfguredaudiencemodelarn( ).
lv_uuid = lo_row_1->get_collaborationid( ).
lv_accountid = lo_row_1->get_startedby( ).
ENDIF.
ENDLOOP.
ENDIF.