/AWS1/IF_HLL=>LISTDATATRANSFORMATIONJOBS()¶
About ListDataTransformationJobs¶
Lists data transformation jobs for your AWS account. Results can be filtered by status, job name, and submit time window. Results are paginated. Use the NextToken parameter to retrieve additional results.
Method Signature¶
METHODS /AWS1/IF_HLL~LISTDATATRANSFORMATIONJOBS
IMPORTING
!IV_MAXRESULTS TYPE /AWS1/HLLMAXRESULTS OPTIONAL
!IV_NEXTTOKEN TYPE /AWS1/HLLDATAXFORMTNNEXTTOKEN OPTIONAL
!IV_JOBSTATUS TYPE /AWS1/HLLXFORMTNJOBSTATUS OPTIONAL
!IV_JOBNAME TYPE /AWS1/HLLDATAXFORMTNJOBNAME OPTIONAL
!IV_SUBMITTEDAFTER TYPE /AWS1/HLLDATETIME OPTIONAL
!IV_SUBMITTEDBEFORE TYPE /AWS1/HLLDATETIME OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_hlllstdatxfrmtnjbsrsp
RAISING
/AWS1/CX_HLLACCESSDENIEDEX
/AWS1/CX_HLLINTERNALSERVEREX
/AWS1/CX_HLLTHROTTLINGEX
/AWS1/CX_HLLVALIDATIONEX
/AWS1/CX_HLLCLIENTEXC
/AWS1/CX_HLLSERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Optional arguments:¶
iv_maxresults TYPE /AWS1/HLLMAXRESULTS /AWS1/HLLMAXRESULTS¶
The maximum number of jobs to return per page. If you don't specify a value, the service returns up to 100 results.
iv_nexttoken TYPE /AWS1/HLLDATAXFORMTNNEXTTOKEN /AWS1/HLLDATAXFORMTNNEXTTOKEN¶
The pagination token from a previous response. Pass this value to retrieve the next page of results.
iv_jobstatus TYPE /AWS1/HLLXFORMTNJOBSTATUS /AWS1/HLLXFORMTNJOBSTATUS¶
Filters the results to include only jobs with the specified status.
iv_jobname TYPE /AWS1/HLLDATAXFORMTNJOBNAME /AWS1/HLLDATAXFORMTNJOBNAME¶
Filters the results to include only jobs with the specified name.
iv_submittedafter TYPE /AWS1/HLLDATETIME /AWS1/HLLDATETIME¶
Filters the results to include only jobs submitted at or after this timestamp.
iv_submittedbefore TYPE /AWS1/HLLDATETIME /AWS1/HLLDATETIME¶
Filters the results to include only jobs submitted at or before this timestamp.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_hlllstdatxfrmtnjbsrsp /AWS1/CL_HLLLSTDATXFRMTNJBSRSP¶
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->listdatatransformationjobs(
iv_jobname = |string|
iv_jobstatus = |string|
iv_maxresults = 123
iv_nexttoken = |string|
iv_submittedafter = '20150101000000.0000000'
iv_submittedbefore = '20150101000000.0000000'
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
LOOP AT lo_result->get_items( ) into lo_row.
lo_row_1 = lo_row.
IF lo_row_1 IS NOT INITIAL.
lv_datatransformationjobid = lo_row_1->get_jobid( ).
lv_transformationjobstatus = lo_row_1->get_jobstatus( ).
lv_datetime = lo_row_1->get_submittime( ).
lv_datatransformationjobna = lo_row_1->get_jobname( ).
lv_datetime = lo_row_1->get_endtime( ).
lv_sourceformat = lo_row_1->get_sourceformat( ).
ENDIF.
ENDLOOP.
lv_datatransformationnextt = lo_result->get_nexttoken( ).
ENDIF.