/AWS1/CL_ETC=>LISTPIPELINES()
¶
About ListPipelines¶
The ListPipelines operation gets a list of the pipelines associated with the current AWS account.
Method Signature¶
IMPORTING¶
Optional arguments:¶
iv_ascending
TYPE /AWS1/ETCASCENDING
/AWS1/ETCASCENDING
¶
To list pipelines in chronological order by the date and time that they were created, enter
true
. To list pipelines in reverse chronological order, enterfalse
.
iv_pagetoken
TYPE /AWS1/ETCID
/AWS1/ETCID
¶
When Elastic Transcoder returns more than one page of results, use
pageToken
in subsequentGET
requests to get each successive page of results.
RETURNING¶
oo_output
TYPE REF TO /aws1/cl_etclistplinsresponse
/AWS1/CL_ETCLISTPLINSRESPONSE
¶
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_etc~listpipelines(
iv_ascending = |string|
iv_pagetoken = |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_pipelines( ) into lo_row.
lo_row_1 = lo_row.
IF lo_row_1 IS NOT INITIAL.
lv_id = lo_row_1->get_id( ).
lv_string = lo_row_1->get_arn( ).
lv_name = lo_row_1->get_name( ).
lv_pipelinestatus = lo_row_1->get_status( ).
lv_bucketname = lo_row_1->get_inputbucket( ).
lv_bucketname = lo_row_1->get_outputbucket( ).
lv_role = lo_row_1->get_role( ).
lv_keyarn = lo_row_1->get_awskmskeyarn( ).
lo_notifications = lo_row_1->get_notifications( ).
IF lo_notifications IS NOT INITIAL.
lv_snstopic = lo_notifications->get_progressing( ).
lv_snstopic = lo_notifications->get_completed( ).
lv_snstopic = lo_notifications->get_warning( ).
lv_snstopic = lo_notifications->get_error( ).
ENDIF.
lo_pipelineoutputconfig = lo_row_1->get_contentconfig( ).
IF lo_pipelineoutputconfig IS NOT INITIAL.
lv_bucketname = lo_pipelineoutputconfig->get_bucket( ).
lv_storageclass = lo_pipelineoutputconfig->get_storageclass( ).
LOOP AT lo_pipelineoutputconfig->get_permissions( ) into lo_row_2.
lo_row_3 = lo_row_2.
IF lo_row_3 IS NOT INITIAL.
lv_granteetype = lo_row_3->get_granteetype( ).
lv_grantee = lo_row_3->get_grantee( ).
LOOP AT lo_row_3->get_access( ) into lo_row_4.
lo_row_5 = lo_row_4.
IF lo_row_5 IS NOT INITIAL.
lv_accesscontrol = lo_row_5->get_value( ).
ENDIF.
ENDLOOP.
ENDIF.
ENDLOOP.
ENDIF.
lo_pipelineoutputconfig = lo_row_1->get_thumbnailconfig( ).
IF lo_pipelineoutputconfig IS NOT INITIAL.
lv_bucketname = lo_pipelineoutputconfig->get_bucket( ).
lv_storageclass = lo_pipelineoutputconfig->get_storageclass( ).
LOOP AT lo_pipelineoutputconfig->get_permissions( ) into lo_row_2.
lo_row_3 = lo_row_2.
IF lo_row_3 IS NOT INITIAL.
lv_granteetype = lo_row_3->get_granteetype( ).
lv_grantee = lo_row_3->get_grantee( ).
LOOP AT lo_row_3->get_access( ) into lo_row_4.
lo_row_5 = lo_row_4.
IF lo_row_5 IS NOT INITIAL.
lv_accesscontrol = lo_row_5->get_value( ).
ENDIF.
ENDLOOP.
ENDIF.
ENDLOOP.
ENDIF.
ENDIF.
ENDLOOP.
lv_id = lo_result->get_nextpagetoken( ).
ENDIF.