/AWS1/IF_CHP=>CREATEMEDIACONCATENATIONPLIN()¶
About CreateMediaConcatenationPipeline¶
Creates a media concatenation pipeline.
Method Signature¶
METHODS /AWS1/IF_CHP~CREATEMEDIACONCATENATIONPLIN
IMPORTING
!IT_SOURCES TYPE /AWS1/CL_CHPCONCATENATIONSRC=>TT_CONCATENATIONSOURCELIST OPTIONAL
!IT_SINKS TYPE /AWS1/CL_CHPCONCATENATIONSINK=>TT_CONCATENATIONSINKLIST OPTIONAL
!IV_CLIENTREQUESTTOKEN TYPE /AWS1/CHPCLIENTREQUESTTOKEN OPTIONAL
!IT_TAGS TYPE /AWS1/CL_CHPTAG=>TT_TAGLIST OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_chpcremediaconcaten01
RAISING
/AWS1/CX_CHPBADREQUESTEX
/AWS1/CX_CHPFORBIDDENEXCEPTION
/AWS1/CX_CHPRESRCLIMITEXCDEX
/AWS1/CX_CHPSERVICEFAILUREEX
/AWS1/CX_CHPSERVICEUNAVAILEX
/AWS1/CX_CHPTHROTTLEDCLIENTEX
/AWS1/CX_CHPUNAUTHDCLIENTEX
/AWS1/CX_CHPCLIENTEXC
/AWS1/CX_CHPSERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Required arguments:¶
it_sources TYPE /AWS1/CL_CHPCONCATENATIONSRC=>TT_CONCATENATIONSOURCELIST TT_CONCATENATIONSOURCELIST¶
An object that specifies the sources for the media concatenation pipeline.
it_sinks TYPE /AWS1/CL_CHPCONCATENATIONSINK=>TT_CONCATENATIONSINKLIST TT_CONCATENATIONSINKLIST¶
An object that specifies the data sinks for the media concatenation pipeline.
Optional arguments:¶
iv_clientrequesttoken TYPE /AWS1/CHPCLIENTREQUESTTOKEN /AWS1/CHPCLIENTREQUESTTOKEN¶
The unique identifier for the client request. The token makes the API request idempotent. Use a unique token for each media concatenation pipeline request.
it_tags TYPE /AWS1/CL_CHPTAG=>TT_TAGLIST TT_TAGLIST¶
The tags associated with the media concatenation pipeline.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_chpcremediaconcaten01 /AWS1/CL_CHPCREMEDIACONCATEN01¶
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->createmediaconcatenationplin(
it_sinks = VALUE /aws1/cl_chpconcatenationsink=>tt_concatenationsinklist(
(
new /aws1/cl_chpconcatenationsink(
io_s3bucketsinkconfiguration = new /aws1/cl_chps3bucketsinkconf( |string| )
iv_type = |string|
)
)
)
it_sources = VALUE /aws1/cl_chpconcatenationsrc=>tt_concatenationsourcelist(
(
new /aws1/cl_chpconcatenationsrc(
io_mediacaptureplinsrcconf = new /aws1/cl_chpmediacaptureplsr00(
io_chimesdkmeetingconf = new /aws1/cl_chpchimesdkmeetingc01(
io_artifactsconfiguration = new /aws1/cl_chpartifactsconcate00(
io_audio = new /aws1/cl_chpaudioconcatenati00( |string| )
io_compositedvideo = new /aws1/cl_chpcompositedvideoc00( |string| )
io_content = new /aws1/cl_chpcontconcatenatio00( |string| )
io_datachannel = new /aws1/cl_chpdatachannelconca00( |string| )
io_meetingevents = new /aws1/cl_chpmeetingevtsconca00( |string| )
io_transcriptionmessages = new /aws1/cl_chptranscriptionmsg00( |string| )
io_video = new /aws1/cl_chpvideoconcatenati00( |string| )
)
)
iv_mediapipelinearn = |string|
)
iv_type = |string|
)
)
)
it_tags = VALUE /aws1/cl_chptag=>tt_taglist(
(
new /aws1/cl_chptag(
iv_key = |string|
iv_value = |string|
)
)
)
iv_clientrequesttoken = |string|
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
lo_mediaconcatenationpipel = lo_result->get_mediaconcatenationplin( ).
IF lo_mediaconcatenationpipel IS NOT INITIAL.
lv_guidstring = lo_mediaconcatenationpipel->get_mediapipelineid( ).
lv_amazonresourcename = lo_mediaconcatenationpipel->get_mediapipelinearn( ).
LOOP AT lo_mediaconcatenationpipel->get_sources( ) into lo_row.
lo_row_1 = lo_row.
IF lo_row_1 IS NOT INITIAL.
lv_concatenationsourcetype = lo_row_1->get_type( ).
lo_mediacapturepipelinesou = lo_row_1->get_mediacaptureplinsrcconf( ).
IF lo_mediacapturepipelinesou IS NOT INITIAL.
lv_arn = lo_mediacapturepipelinesou->get_mediapipelinearn( ).
lo_chimesdkmeetingconcaten = lo_mediacapturepipelinesou->get_chimesdkmeetingconf( ).
IF lo_chimesdkmeetingconcaten IS NOT INITIAL.
lo_artifactsconcatenationc = lo_chimesdkmeetingconcaten->get_artifactsconfiguration( ).
IF lo_artifactsconcatenationc IS NOT INITIAL.
lo_audioconcatenationconfi = lo_artifactsconcatenationc->get_audio( ).
IF lo_audioconcatenationconfi IS NOT INITIAL.
lv_audioartifactsconcatena = lo_audioconcatenationconfi->get_state( ).
ENDIF.
lo_videoconcatenationconfi = lo_artifactsconcatenationc->get_video( ).
IF lo_videoconcatenationconfi IS NOT INITIAL.
lv_artifactsconcatenations = lo_videoconcatenationconfi->get_state( ).
ENDIF.
lo_contentconcatenationcon = lo_artifactsconcatenationc->get_content( ).
IF lo_contentconcatenationcon IS NOT INITIAL.
lv_artifactsconcatenations = lo_contentconcatenationcon->get_state( ).
ENDIF.
lo_datachannelconcatenatio = lo_artifactsconcatenationc->get_datachannel( ).
IF lo_datachannelconcatenatio IS NOT INITIAL.
lv_artifactsconcatenations = lo_datachannelconcatenatio->get_state( ).
ENDIF.
lo_transcriptionmessagesco = lo_artifactsconcatenationc->get_transcriptionmessages( ).
IF lo_transcriptionmessagesco IS NOT INITIAL.
lv_artifactsconcatenations = lo_transcriptionmessagesco->get_state( ).
ENDIF.
lo_meetingeventsconcatenat = lo_artifactsconcatenationc->get_meetingevents( ).
IF lo_meetingeventsconcatenat IS NOT INITIAL.
lv_artifactsconcatenations = lo_meetingeventsconcatenat->get_state( ).
ENDIF.
lo_compositedvideoconcaten = lo_artifactsconcatenationc->get_compositedvideo( ).
IF lo_compositedvideoconcaten IS NOT INITIAL.
lv_artifactsconcatenations = lo_compositedvideoconcaten->get_state( ).
ENDIF.
ENDIF.
ENDIF.
ENDIF.
ENDIF.
ENDLOOP.
LOOP AT lo_mediaconcatenationpipel->get_sinks( ) into lo_row_2.
lo_row_3 = lo_row_2.
IF lo_row_3 IS NOT INITIAL.
lv_concatenationsinktype = lo_row_3->get_type( ).
lo_s3bucketsinkconfigurati = lo_row_3->get_s3bucketsinkconf( ).
IF lo_s3bucketsinkconfigurati IS NOT INITIAL.
lv_arn = lo_s3bucketsinkconfigurati->get_destination( ).
ENDIF.
ENDIF.
ENDLOOP.
lv_mediapipelinestatus = lo_mediaconcatenationpipel->get_status( ).
lv_iso8601timestamp = lo_mediaconcatenationpipel->get_createdtimestamp( ).
lv_iso8601timestamp = lo_mediaconcatenationpipel->get_updatedtimestamp( ).
ENDIF.
ENDIF.