/AWS1/IF_PZZ=>DESCRIBEDATASETEXPORTJOB()¶
About DescribeDatasetExportJob¶
Describes the dataset export job created by CreateDatasetExportJob, including the export job status.
Method Signature¶
METHODS /AWS1/IF_PZZ~DESCRIBEDATASETEXPORTJOB
IMPORTING
!IV_DATASETEXPORTJOBARN TYPE /AWS1/PZZARN OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_pzzdescrdsexpjobrsp
RAISING
/AWS1/CX_PZZINVALIDINPUTEX
/AWS1/CX_PZZRESOURCENOTFOUNDEX
/AWS1/CX_PZZCLIENTEXC
/AWS1/CX_PZZSERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Required arguments:¶
iv_datasetexportjobarn TYPE /AWS1/PZZARN /AWS1/PZZARN¶
The Amazon Resource Name (ARN) of the dataset export job to describe.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_pzzdescrdsexpjobrsp /AWS1/CL_PZZDESCRDSEXPJOBRSP¶
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->describedatasetexportjob( |string| ).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
lo_datasetexportjob = lo_result->get_datasetexportjob( ).
IF lo_datasetexportjob IS NOT INITIAL.
lv_name = lo_datasetexportjob->get_jobname( ).
lv_arn = lo_datasetexportjob->get_datasetexportjobarn( ).
lv_arn = lo_datasetexportjob->get_datasetarn( ).
lv_ingestionmode = lo_datasetexportjob->get_ingestionmode( ).
lv_arn = lo_datasetexportjob->get_rolearn( ).
lv_status = lo_datasetexportjob->get_status( ).
lo_datasetexportjoboutput = lo_datasetexportjob->get_joboutput( ).
IF lo_datasetexportjoboutput IS NOT INITIAL.
lo_s3dataconfig = lo_datasetexportjoboutput->get_s3datadestination( ).
IF lo_s3dataconfig IS NOT INITIAL.
lv_s3location = lo_s3dataconfig->get_path( ).
lv_kmskeyarn = lo_s3dataconfig->get_kmskeyarn( ).
ENDIF.
ENDIF.
lv_date = lo_datasetexportjob->get_creationdatetime( ).
lv_date = lo_datasetexportjob->get_lastupdateddatetime( ).
lv_failurereason = lo_datasetexportjob->get_failurereason( ).
ENDIF.
ENDIF.