/AWS1/CL_IOA=>DESCRIBEPIPELINE()
¶
About DescribePipeline¶
Retrieves information about a pipeline.
Method Signature¶
IMPORTING¶
Required arguments:¶
iv_pipelinename
TYPE /AWS1/IOAPIPELINENAME
/AWS1/IOAPIPELINENAME
¶
The name of the pipeline whose information is retrieved.
RETURNING¶
oo_output
TYPE REF TO /aws1/cl_ioadescrplinresponse
/AWS1/CL_IOADESCRPLINRESPONSE
¶
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->/aws1/if_ioa~describepipeline( |string| ).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
lo_pipeline = lo_result->get_pipeline( ).
IF lo_pipeline IS NOT INITIAL.
lv_pipelinename = lo_pipeline->get_name( ).
lv_pipelinearn = lo_pipeline->get_arn( ).
LOOP AT lo_pipeline->get_activities( ) into lo_row.
lo_row_1 = lo_row.
IF lo_row_1 IS NOT INITIAL.
lo_channelactivity = lo_row_1->get_channel( ).
IF lo_channelactivity IS NOT INITIAL.
lv_activityname = lo_channelactivity->get_name( ).
lv_channelname = lo_channelactivity->get_channelname( ).
lv_activityname = lo_channelactivity->get_next( ).
ENDIF.
lo_lambdaactivity = lo_row_1->get_lambda( ).
IF lo_lambdaactivity IS NOT INITIAL.
lv_activityname = lo_lambdaactivity->get_name( ).
lv_lambdaname = lo_lambdaactivity->get_lambdaname( ).
lv_activitybatchsize = lo_lambdaactivity->get_batchsize( ).
lv_activityname = lo_lambdaactivity->get_next( ).
ENDIF.
lo_datastoreactivity = lo_row_1->get_datastore( ).
IF lo_datastoreactivity IS NOT INITIAL.
lv_activityname = lo_datastoreactivity->get_name( ).
lv_datastorename = lo_datastoreactivity->get_datastorename( ).
ENDIF.
lo_addattributesactivity = lo_row_1->get_addattributes( ).
IF lo_addattributesactivity IS NOT INITIAL.
lv_activityname = lo_addattributesactivity->get_name( ).
LOOP AT lo_addattributesactivity->get_attributes( ) into ls_row_2.
lv_key = ls_row_2-key.
lo_value = ls_row_2-value.
IF lo_value IS NOT INITIAL.
lv_attributename = lo_value->get_value( ).
ENDIF.
ENDLOOP.
lv_activityname = lo_addattributesactivity->get_next( ).
ENDIF.
lo_removeattributesactivit = lo_row_1->get_removeattributes( ).
IF lo_removeattributesactivit IS NOT INITIAL.
lv_activityname = lo_removeattributesactivit->get_name( ).
LOOP AT lo_removeattributesactivit->get_attributes( ) into lo_row_3.
lo_row_4 = lo_row_3.
IF lo_row_4 IS NOT INITIAL.
lv_attributename = lo_row_4->get_value( ).
ENDIF.
ENDLOOP.
lv_activityname = lo_removeattributesactivit->get_next( ).
ENDIF.
lo_selectattributesactivit = lo_row_1->get_selectattributes( ).
IF lo_selectattributesactivit IS NOT INITIAL.
lv_activityname = lo_selectattributesactivit->get_name( ).
LOOP AT lo_selectattributesactivit->get_attributes( ) into lo_row_3.
lo_row_4 = lo_row_3.
IF lo_row_4 IS NOT INITIAL.
lv_attributename = lo_row_4->get_value( ).
ENDIF.
ENDLOOP.
lv_activityname = lo_selectattributesactivit->get_next( ).
ENDIF.
lo_filteractivity = lo_row_1->get_filter( ).
IF lo_filteractivity IS NOT INITIAL.
lv_activityname = lo_filteractivity->get_name( ).
lv_filterexpression = lo_filteractivity->get_filter( ).
lv_activityname = lo_filteractivity->get_next( ).
ENDIF.
lo_mathactivity = lo_row_1->get_math( ).
IF lo_mathactivity IS NOT INITIAL.
lv_activityname = lo_mathactivity->get_name( ).
lv_attributename = lo_mathactivity->get_attribute( ).
lv_mathexpression = lo_mathactivity->get_math( ).
lv_activityname = lo_mathactivity->get_next( ).
ENDIF.
lo_deviceregistryenrichact = lo_row_1->get_deviceregistryenrich( ).
IF lo_deviceregistryenrichact IS NOT INITIAL.
lv_activityname = lo_deviceregistryenrichact->get_name( ).
lv_attributename = lo_deviceregistryenrichact->get_attribute( ).
lv_attributename = lo_deviceregistryenrichact->get_thingname( ).
lv_rolearn = lo_deviceregistryenrichact->get_rolearn( ).
lv_activityname = lo_deviceregistryenrichact->get_next( ).
ENDIF.
lo_deviceshadowenrichactiv = lo_row_1->get_deviceshadowenrich( ).
IF lo_deviceshadowenrichactiv IS NOT INITIAL.
lv_activityname = lo_deviceshadowenrichactiv->get_name( ).
lv_attributename = lo_deviceshadowenrichactiv->get_attribute( ).
lv_attributename = lo_deviceshadowenrichactiv->get_thingname( ).
lv_rolearn = lo_deviceshadowenrichactiv->get_rolearn( ).
lv_activityname = lo_deviceshadowenrichactiv->get_next( ).
ENDIF.
ENDIF.
ENDLOOP.
LOOP AT lo_pipeline->get_reprocessingsummaries( ) into lo_row_5.
lo_row_6 = lo_row_5.
IF lo_row_6 IS NOT INITIAL.
lv_reprocessingid = lo_row_6->get_id( ).
lv_reprocessingstatus = lo_row_6->get_status( ).
lv_timestamp = lo_row_6->get_creationtime( ).
ENDIF.
ENDLOOP.
lv_timestamp = lo_pipeline->get_creationtime( ).
lv_timestamp = lo_pipeline->get_lastupdatetime( ).
ENDIF.
ENDIF.