/AWS1/IF_CRL=>LISTAUDIENCEEXPORTJOBS()¶
About ListAudienceExportJobs¶
Returns a list of the audience export jobs.
Method Signature¶
METHODS /AWS1/IF_CRL~LISTAUDIENCEEXPORTJOBS
IMPORTING
!IV_NEXTTOKEN TYPE /AWS1/CRLNEXTTOKEN OPTIONAL
!IV_MAXRESULTS TYPE /AWS1/CRLMAXRESULTS OPTIONAL
!IV_AUDIENCEGENERATIONJOBARN TYPE /AWS1/CRLAUDIENCEGENERATIONJ00 OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_crllstaudienceexpjo01
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_audiencegenerationjobarn TYPE /AWS1/CRLAUDIENCEGENERATIONJ00 /AWS1/CRLAUDIENCEGENERATIONJ00¶
The Amazon Resource Name (ARN) of the audience generation job that you are interested in.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_crllstaudienceexpjo01 /AWS1/CL_CRLLSTAUDIENCEEXPJO01¶
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->listaudienceexportjobs(
iv_audiencegenerationjobarn = |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_audienceexportjobs( ) 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_namestring = lo_row_1->get_name( ).
lv_audiencegenerationjobar = lo_row_1->get_audiencegenerationjobarn( ).
lo_audiencesize = lo_row_1->get_audiencesize( ).
IF lo_audiencesize IS NOT INITIAL.
lv_audiencesizetype = lo_audiencesize->get_type( ).
lv_audiencesizevalue = lo_audiencesize->get_value( ).
ENDIF.
lv_resourcedescription = lo_row_1->get_description( ).
lv_audienceexportjobstatus = lo_row_1->get_status( ).
lo_statusdetails = lo_row_1->get_statusdetails( ).
IF lo_statusdetails IS NOT INITIAL.
lv_string = lo_statusdetails->get_statuscode( ).
lv_string = lo_statusdetails->get_message( ).
ENDIF.
lv_s3path = lo_row_1->get_outputlocation( ).
ENDIF.
ENDLOOP.
ENDIF.