/AWS1/IF_HLL=>LISTFHIREXPORTJOBS()¶
About ListFHIRExportJobs¶
Lists all FHIR export jobs associated with an account and their statuses.
Method Signature¶
METHODS /AWS1/IF_HLL~LISTFHIREXPORTJOBS
IMPORTING
!IV_DATASTOREID TYPE /AWS1/HLLDATASTOREID OPTIONAL
!IV_NEXTTOKEN TYPE /AWS1/HLLNEXTTOKEN OPTIONAL
!IV_MAXRESULTS TYPE /AWS1/HLLMAXRESULTSINTEGER OPTIONAL
!IV_JOBNAME TYPE /AWS1/HLLJOBNAME OPTIONAL
!IV_JOBSTATUS TYPE /AWS1/HLLJOBSTATUS OPTIONAL
!IV_SUBMITTEDBEFORE TYPE /AWS1/HLLTIMESTAMP OPTIONAL
!IV_SUBMITTEDAFTER TYPE /AWS1/HLLTIMESTAMP OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_hlllistfhirexpjobsrsp
RAISING
/AWS1/CX_HLLACCESSDENIEDEX
/AWS1/CX_HLLINTERNALSERVEREX
/AWS1/CX_HLLRESOURCENOTFOUNDEX
/AWS1/CX_HLLTHROTTLINGEX
/AWS1/CX_HLLVALIDATIONEX
/AWS1/CX_HLLCLIENTEXC
/AWS1/CX_HLLSERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Required arguments:¶
iv_datastoreid TYPE /AWS1/HLLDATASTOREID /AWS1/HLLDATASTOREID¶
Limits the response to the export job with the specified data store ID.
Optional arguments:¶
iv_nexttoken TYPE /AWS1/HLLNEXTTOKEN /AWS1/HLLNEXTTOKEN¶
A pagination token used to identify the next page of results to return.
iv_maxresults TYPE /AWS1/HLLMAXRESULTSINTEGER /AWS1/HLLMAXRESULTSINTEGER¶
Limits the number of results returned for a ListFHIRExportJobs to a maximum quantity specified by the user.
iv_jobname TYPE /AWS1/HLLJOBNAME /AWS1/HLLJOBNAME¶
Limits the response to the export job with the specified job name.
iv_jobstatus TYPE /AWS1/HLLJOBSTATUS /AWS1/HLLJOBSTATUS¶
Limits the response to export jobs with the specified job status.
iv_submittedbefore TYPE /AWS1/HLLTIMESTAMP /AWS1/HLLTIMESTAMP¶
Limits the response to FHIR export jobs submitted before a user- specified date.
iv_submittedafter TYPE /AWS1/HLLTIMESTAMP /AWS1/HLLTIMESTAMP¶
Limits the response to FHIR export jobs submitted after a user-specified date.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_hlllistfhirexpjobsrsp /AWS1/CL_HLLLISTFHIREXPJOBSRSP¶
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->listfhirexportjobs(
iv_datastoreid = |string|
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_exportjobpropertieslist( ) into lo_row.
lo_row_1 = lo_row.
IF lo_row_1 IS NOT INITIAL.
lv_jobid = lo_row_1->get_jobid( ).
lv_jobname = lo_row_1->get_jobname( ).
lv_jobstatus = lo_row_1->get_jobstatus( ).
lv_timestamp = lo_row_1->get_submittime( ).
lv_timestamp = lo_row_1->get_endtime( ).
lv_datastoreid = lo_row_1->get_datastoreid( ).
lo_outputdataconfig = lo_row_1->get_outputdataconfig( ).
IF lo_outputdataconfig IS NOT INITIAL.
lo_s3configuration = lo_outputdataconfig->get_s3configuration( ).
IF lo_s3configuration IS NOT INITIAL.
lv_s3uri = lo_s3configuration->get_s3uri( ).
lv_encryptionkeyid = lo_s3configuration->get_kmskeyid( ).
ENDIF.
ENDIF.
lv_iamrolearn = lo_row_1->get_dataaccessrolearn( ).
lv_message = lo_row_1->get_message( ).
ENDIF.
ENDLOOP.
lv_nexttoken = lo_result->get_nexttoken( ).
ENDIF.