/AWS1/CL_DPI=>LISTPIPELINES()
¶
About ListPipelines¶
Lists the pipeline identifiers for all active pipelines that you have permission to access.
POST / HTTP/1.1 Content-Type: application/x-amz-json-1.1 X-Amz-Target: DataPipeline.ListPipelines Content-Length: 14 Host: datapipeline.us-east-1.amazonaws.com X-Amz-Date: Mon, 12 Nov 2012 17:49:52 GMT Authorization: AuthParams
{}
Status: x-amzn-RequestId: b3104dc5-0734-11e2-af6f-6bc7a6be60d9 Content-Type: application/x-amz-json-1.1 Content-Length: 39 Date: Mon, 12 Nov 2012 17:50:53 GMT
{"PipelineIdList": [ {"id": "df-08785951KAKJEXAMPLE", "name": "MyPipeline"}, {"id": "df-08662578ISYEXAMPLE", "name": "MySecondPipeline"} ] }
Method Signature¶
IMPORTING¶
Optional arguments:¶
iv_marker
TYPE /AWS1/DPISTRING
/AWS1/DPISTRING
¶
The starting point for the results to be returned. For the first call, this value should be empty. As long as there are more results, continue to call
ListPipelines
with the marker value from the previous call to retrieve the next set of results.
RETURNING¶
oo_output
TYPE REF TO /aws1/cl_dpilistplinsoutput
/AWS1/CL_DPILISTPLINSOUTPUT
¶
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_dpi~listpipelines( |string| ).
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_pipelineidlist( ) into lo_row.
lo_row_1 = lo_row.
IF lo_row_1 IS NOT INITIAL.
lv_id = lo_row_1->get_id( ).
lv_id = lo_row_1->get_name( ).
ENDIF.
ENDLOOP.
lv_string = lo_result->get_marker( ).
lv_boolean = lo_result->get_hasmoreresults( ).
ENDIF.