/AWS1/IF_MD2=>UPDATEORIGINENDPOINT()¶
About UpdateOriginEndpoint¶
Update the specified origin endpoint. Edit the packaging preferences on an endpoint to optimize the viewing experience. You can't edit the name of the endpoint.
Any edits you make that impact the video output may not be reflected for a few minutes.
Method Signature¶
METHODS /AWS1/IF_MD2~UPDATEORIGINENDPOINT
IMPORTING
!IV_CHANNELGROUPNAME TYPE /AWS1/MD2RESOURCENAME OPTIONAL
!IV_CHANNELNAME TYPE /AWS1/MD2RESOURCENAME OPTIONAL
!IV_ORIGINENDPOINTNAME TYPE /AWS1/MD2RESOURCENAME OPTIONAL
!IV_CONTAINERTYPE TYPE /AWS1/MD2CONTAINERTYPE OPTIONAL
!IO_SEGMENT TYPE REF TO /AWS1/CL_MD2SEGMENT OPTIONAL
!IV_DESCRIPTION TYPE /AWS1/MD2RESOURCEDESCRIPTION OPTIONAL
!IV_STARTOVERWINDOWSECONDS TYPE /AWS1/MD2INTEGER OPTIONAL
!IT_HLSMANIFESTS TYPE /AWS1/CL_MD2CREHLSMANIFESTCONF=>TT_CREATEHLSMANIFESTS OPTIONAL
!IT_LOWLATENCYHLSMANIFESTS TYPE /AWS1/CL_MD2CRELOWLATENCYHLS00=>TT_CRELOWLATENCYHLSMANIFESTS OPTIONAL
!IT_DASHMANIFESTS TYPE /AWS1/CL_MD2CREDASHMANIFESTC00=>TT_CREATEDASHMANIFESTS OPTIONAL
!IT_MSSMANIFESTS TYPE /AWS1/CL_MD2CREMSSMANIFESTCONF=>TT_CREATEMSSMANIFESTS OPTIONAL
!IO_FORCEENDPOINTERRORCONF TYPE REF TO /AWS1/CL_MD2FORCEENDPTERRCONF OPTIONAL
!IV_ETAG TYPE /AWS1/MD2ENTITYTAG OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_md2updoriginendptrsp
RAISING
/AWS1/CX_MD2ACCESSDENIEDEX
/AWS1/CX_MD2CONFLICTEXCEPTION
/AWS1/CX_MD2INTERNALSERVEREX
/AWS1/CX_MD2RESOURCENOTFOUNDEX
/AWS1/CX_MD2SERVICEQUOTAEXCDEX
/AWS1/CX_MD2THROTTLINGEX
/AWS1/CX_MD2VALIDATIONEX
/AWS1/CX_MD2CLIENTEXC
/AWS1/CX_MD2SERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Required arguments:¶
iv_channelgroupname TYPE /AWS1/MD2RESOURCENAME /AWS1/MD2RESOURCENAME¶
The name that describes the channel group. The name is the primary identifier for the channel group, and must be unique for your account in the AWS Region.
iv_channelname TYPE /AWS1/MD2RESOURCENAME /AWS1/MD2RESOURCENAME¶
The name that describes the channel. The name is the primary identifier for the channel, and must be unique for your account in the AWS Region and channel group.
iv_originendpointname TYPE /AWS1/MD2RESOURCENAME /AWS1/MD2RESOURCENAME¶
The name that describes the origin endpoint. The name is the primary identifier for the origin endpoint, and and must be unique for your account in the AWS Region and channel.
iv_containertype TYPE /AWS1/MD2CONTAINERTYPE /AWS1/MD2CONTAINERTYPE¶
The type of container attached to this origin endpoint. A container type is a file format that encapsulates one or more media streams, such as audio and video, into a single file.
Optional arguments:¶
io_segment TYPE REF TO /AWS1/CL_MD2SEGMENT /AWS1/CL_MD2SEGMENT¶
The segment configuration, including the segment name, duration, and other configuration values.
iv_description TYPE /AWS1/MD2RESOURCEDESCRIPTION /AWS1/MD2RESOURCEDESCRIPTION¶
Any descriptive information that you want to add to the origin endpoint for future identification purposes.
iv_startoverwindowseconds TYPE /AWS1/MD2INTEGER /AWS1/MD2INTEGER¶
The size of the window (in seconds) to create a window of the live stream that's available for on-demand viewing. Viewers can start-over or catch-up on content that falls within the window. The maximum startover window is 1,209,600 seconds (14 days).
it_hlsmanifests TYPE /AWS1/CL_MD2CREHLSMANIFESTCONF=>TT_CREATEHLSMANIFESTS TT_CREATEHLSMANIFESTS¶
An HTTP live streaming (HLS) manifest configuration.
it_lowlatencyhlsmanifests TYPE /AWS1/CL_MD2CRELOWLATENCYHLS00=>TT_CRELOWLATENCYHLSMANIFESTS TT_CRELOWLATENCYHLSMANIFESTS¶
A low-latency HLS manifest configuration.
it_dashmanifests TYPE /AWS1/CL_MD2CREDASHMANIFESTC00=>TT_CREATEDASHMANIFESTS TT_CREATEDASHMANIFESTS¶
A DASH manifest configuration.
it_mssmanifests TYPE /AWS1/CL_MD2CREMSSMANIFESTCONF=>TT_CREATEMSSMANIFESTS TT_CREATEMSSMANIFESTS¶
A list of Microsoft Smooth Streaming (MSS) manifest configurations to update for the origin endpoint. This replaces the existing MSS manifest configurations.
io_forceendpointerrorconf TYPE REF TO /AWS1/CL_MD2FORCEENDPTERRCONF /AWS1/CL_MD2FORCEENDPTERRCONF¶
The failover settings for the endpoint.
iv_etag TYPE /AWS1/MD2ENTITYTAG /AWS1/MD2ENTITYTAG¶
The expected current Entity Tag (ETag) for the resource. If the specified ETag does not match the resource's current entity tag, the update request will be rejected.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_md2updoriginendptrsp /AWS1/CL_MD2UPDORIGINENDPTRSP¶
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->updateoriginendpoint(
io_forceendpointerrorconf = new /aws1/cl_md2forceendpterrconf(
it_endpointerrorconditions = VALUE /aws1/cl_md2endpterrorconds_w=>tt_endpointerrorconditions(
( new /aws1/cl_md2endpterrorconds_w( |string| ) )
)
)
io_segment = new /aws1/cl_md2segment(
io_encryption = new /aws1/cl_md2encryption(
io_encryptionmethod = new /aws1/cl_md2encryptionmethod(
iv_cmafencryptionmethod = |string|
iv_ismencryptionmethod = |string|
iv_tsencryptionmethod = |string|
)
io_spekekeyprovider = new /aws1/cl_md2spekekeyprovider(
io_encryptioncontractconf = new /aws1/cl_md2enccontractconf(
iv_presetspeke20audio = |string|
iv_presetspeke20video = |string|
)
it_drmsystems = VALUE /aws1/cl_md2drmsystems_w=>tt_drmsystems(
( new /aws1/cl_md2drmsystems_w( |string| ) )
)
iv_resourceid = |string|
iv_rolearn = |string|
iv_url = |string|
)
iv_cmafexcludesegmentdrmmet = ABAP_TRUE
iv_constantinitializationv00 = |string|
iv_keyrotationintervalsecs = 123
)
io_scte = new /aws1/cl_md2scte(
it_sctefilter = VALUE /aws1/cl_md2sctefilterlist_w=>tt_sctefilterlist(
( new /aws1/cl_md2sctefilterlist_w( |string| ) )
)
)
iv_includeiframeonlystreams = ABAP_TRUE
iv_segmentdurationseconds = 123
iv_segmentname = |string|
iv_tsincludedvbsubtitles = ABAP_TRUE
iv_tsuseaudiorenditiongroup = ABAP_TRUE
)
it_dashmanifests = VALUE /aws1/cl_md2credashmanifestc00=>tt_createdashmanifests(
(
new /aws1/cl_md2credashmanifestc00(
io_dvbsettings = new /aws1/cl_md2dashdvbsettings(
io_fontdownload = new /aws1/cl_md2dashdvbfontdownl00(
iv_fontfamily = |string|
iv_mimetype = |string|
iv_url = |string|
)
it_errormetrics = VALUE /aws1/cl_md2dashdvbmetrpting=>tt_dashdvberrormetrics(
(
new /aws1/cl_md2dashdvbmetrpting(
iv_probability = 123
iv_reportingurl = |string|
)
)
)
)
io_filterconfiguration = new /aws1/cl_md2filterconf(
iv_clipstarttime = '20150101000000.0000000'
iv_end = '20150101000000.0000000'
iv_manifestfilter = |string|
iv_start = '20150101000000.0000000'
iv_timedelayseconds = 123
)
io_programinformation = new /aws1/cl_md2dashprograminfmt00(
iv_copyright = |string|
iv_languagecode = |string|
iv_moreinformationurl = |string|
iv_source = |string|
iv_title = |string|
)
io_sctedash = new /aws1/cl_md2sctedash( |string| )
io_subtitleconfiguration = new /aws1/cl_md2dashsubtitleconf( new /aws1/cl_md2dashttmlconf( |string| ) )
io_utctiming = new /aws1/cl_md2dashutctiming(
iv_timingmode = |string|
iv_timingsource = |string|
)
it_baseurls = VALUE /aws1/cl_md2dashbaseurl=>tt_dashbaseurls(
(
new /aws1/cl_md2dashbaseurl(
iv_dvbpriority = 123
iv_dvbweight = 123
iv_servicelocation = |string|
iv_url = |string|
)
)
)
it_periodtriggers = VALUE /aws1/cl_md2dashpertriggers_w=>tt_dashperiodtriggers(
( new /aws1/cl_md2dashpertriggers_w( |string| ) )
)
it_profiles = VALUE /aws1/cl_md2dashprofiles_w=>tt_dashprofiles(
( new /aws1/cl_md2dashprofiles_w( |string| ) )
)
iv_compactness = |string|
iv_drmsignaling = |string|
iv_manifestname = |string|
iv_manifestwindowseconds = 123
iv_minbuffertimeseconds = 123
iv_minupdateperiodseconds = 123
iv_segmenttemplateformat = |string|
iv_suggestedpresentationde00 = 123
)
)
)
it_hlsmanifests = VALUE /aws1/cl_md2crehlsmanifestconf=>tt_createhlsmanifests(
(
new /aws1/cl_md2crehlsmanifestconf(
io_filterconfiguration = new /aws1/cl_md2filterconf(
iv_clipstarttime = '20150101000000.0000000'
iv_end = '20150101000000.0000000'
iv_manifestfilter = |string|
iv_start = '20150101000000.0000000'
iv_timedelayseconds = 123
)
io_sctehls = new /aws1/cl_md2sctehls( |string| )
io_starttag = new /aws1/cl_md2starttag(
iv_precise = ABAP_TRUE
iv_timeoffset = '0.1'
)
iv_childmanifestname = |string|
iv_manifestname = |string|
iv_manifestwindowseconds = 123
iv_programdatetimeinterval00 = 123
iv_urlencodechildmanifest = ABAP_TRUE
)
)
)
it_lowlatencyhlsmanifests = VALUE /aws1/cl_md2crelowlatencyhls00=>tt_crelowlatencyhlsmanifests(
(
new /aws1/cl_md2crelowlatencyhls00(
io_filterconfiguration = new /aws1/cl_md2filterconf(
iv_clipstarttime = '20150101000000.0000000'
iv_end = '20150101000000.0000000'
iv_manifestfilter = |string|
iv_start = '20150101000000.0000000'
iv_timedelayseconds = 123
)
io_sctehls = new /aws1/cl_md2sctehls( |string| )
io_starttag = new /aws1/cl_md2starttag(
iv_precise = ABAP_TRUE
iv_timeoffset = '0.1'
)
iv_childmanifestname = |string|
iv_manifestname = |string|
iv_manifestwindowseconds = 123
iv_programdatetimeinterval00 = 123
iv_urlencodechildmanifest = ABAP_TRUE
)
)
)
it_mssmanifests = VALUE /aws1/cl_md2cremssmanifestconf=>tt_createmssmanifests(
(
new /aws1/cl_md2cremssmanifestconf(
io_filterconfiguration = new /aws1/cl_md2filterconf(
iv_clipstarttime = '20150101000000.0000000'
iv_end = '20150101000000.0000000'
iv_manifestfilter = |string|
iv_start = '20150101000000.0000000'
iv_timedelayseconds = 123
)
iv_manifestlayout = |string|
iv_manifestname = |string|
iv_manifestwindowseconds = 123
)
)
)
iv_channelgroupname = |string|
iv_channelname = |string|
iv_containertype = |string|
iv_description = |string|
iv_etag = |string|
iv_originendpointname = |string|
iv_startoverwindowseconds = 123
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
lv_string = lo_result->get_arn( ).
lv_resourcename = lo_result->get_channelgroupname( ).
lv_resourcename = lo_result->get_channelname( ).
lv_resourcename = lo_result->get_originendpointname( ).
lv_containertype = lo_result->get_containertype( ).
lo_segment = lo_result->get_segment( ).
IF lo_segment IS NOT INITIAL.
lv_integer = lo_segment->get_segmentdurationseconds( ).
lv_string = lo_segment->get_segmentname( ).
lv_boolean = lo_segment->get_tsuseaudiorenditiongroup( ).
lv_boolean = lo_segment->get_includeiframeonlystreams( ).
lv_boolean = lo_segment->get_tsincludedvbsubtitles( ).
lo_scte = lo_segment->get_scte( ).
IF lo_scte IS NOT INITIAL.
LOOP AT lo_scte->get_sctefilter( ) into lo_row.
lo_row_1 = lo_row.
IF lo_row_1 IS NOT INITIAL.
lv_sctefilter = lo_row_1->get_value( ).
ENDIF.
ENDLOOP.
ENDIF.
lo_encryption = lo_segment->get_encryption( ).
IF lo_encryption IS NOT INITIAL.
lv_string = lo_encryption->get_constantinitialization00( ).
lo_encryptionmethod = lo_encryption->get_encryptionmethod( ).
IF lo_encryptionmethod IS NOT INITIAL.
lv_tsencryptionmethod = lo_encryptionmethod->get_tsencryptionmethod( ).
lv_cmafencryptionmethod = lo_encryptionmethod->get_cmafencryptionmethod( ).
lv_ismencryptionmethod = lo_encryptionmethod->get_ismencryptionmethod( ).
ENDIF.
lv_integer = lo_encryption->get_keyrotationintervalsecs( ).
lv_boolean = lo_encryption->get_cmafexcludesegmentdrmmet( ).
lo_spekekeyprovider = lo_encryption->get_spekekeyprovider( ).
IF lo_spekekeyprovider IS NOT INITIAL.
lo_encryptioncontractconfi = lo_spekekeyprovider->get_encryptioncontractconf( ).
IF lo_encryptioncontractconfi IS NOT INITIAL.
lv_presetspeke20audio = lo_encryptioncontractconfi->get_presetspeke20audio( ).
lv_presetspeke20video = lo_encryptioncontractconfi->get_presetspeke20video( ).
ENDIF.
lv_string = lo_spekekeyprovider->get_resourceid( ).
LOOP AT lo_spekekeyprovider->get_drmsystems( ) into lo_row_2.
lo_row_3 = lo_row_2.
IF lo_row_3 IS NOT INITIAL.
lv_drmsystem = lo_row_3->get_value( ).
ENDIF.
ENDLOOP.
lv_string = lo_spekekeyprovider->get_rolearn( ).
lv_string = lo_spekekeyprovider->get_url( ).
ENDIF.
ENDIF.
ENDIF.
lv_timestamp = lo_result->get_createdat( ).
lv_timestamp = lo_result->get_modifiedat( ).
lv_resourcedescription = lo_result->get_description( ).
lv_integer = lo_result->get_startoverwindowseconds( ).
LOOP AT lo_result->get_hlsmanifests( ) into lo_row_4.
lo_row_5 = lo_row_4.
IF lo_row_5 IS NOT INITIAL.
lv_resourcename = lo_row_5->get_manifestname( ).
lv_string = lo_row_5->get_url( ).
lv_resourcename = lo_row_5->get_childmanifestname( ).
lv_integer = lo_row_5->get_manifestwindowseconds( ).
lv_integer = lo_row_5->get_programdatetimeinterva00( ).
lo_sctehls = lo_row_5->get_sctehls( ).
IF lo_sctehls IS NOT INITIAL.
lv_admarkerhls = lo_sctehls->get_admarkerhls( ).
ENDIF.
lo_filterconfiguration = lo_row_5->get_filterconfiguration( ).
IF lo_filterconfiguration IS NOT INITIAL.
lv_string = lo_filterconfiguration->get_manifestfilter( ).
lv_timestamp = lo_filterconfiguration->get_start( ).
lv_timestamp = lo_filterconfiguration->get_end( ).
lv_integer = lo_filterconfiguration->get_timedelayseconds( ).
lv_timestamp = lo_filterconfiguration->get_clipstarttime( ).
ENDIF.
lo_starttag = lo_row_5->get_starttag( ).
IF lo_starttag IS NOT INITIAL.
lv_float = lo_starttag->get_timeoffset( ).
lv_boolean = lo_starttag->get_precise( ).
ENDIF.
lv_boolean = lo_row_5->get_urlencodechildmanifest( ).
ENDIF.
ENDLOOP.
LOOP AT lo_result->get_lowlatencyhlsmanifests( ) into lo_row_6.
lo_row_7 = lo_row_6.
IF lo_row_7 IS NOT INITIAL.
lv_resourcename = lo_row_7->get_manifestname( ).
lv_string = lo_row_7->get_url( ).
lv_resourcename = lo_row_7->get_childmanifestname( ).
lv_integer = lo_row_7->get_manifestwindowseconds( ).
lv_integer = lo_row_7->get_programdatetimeinterva00( ).
lo_sctehls = lo_row_7->get_sctehls( ).
IF lo_sctehls IS NOT INITIAL.
lv_admarkerhls = lo_sctehls->get_admarkerhls( ).
ENDIF.
lo_filterconfiguration = lo_row_7->get_filterconfiguration( ).
IF lo_filterconfiguration IS NOT INITIAL.
lv_string = lo_filterconfiguration->get_manifestfilter( ).
lv_timestamp = lo_filterconfiguration->get_start( ).
lv_timestamp = lo_filterconfiguration->get_end( ).
lv_integer = lo_filterconfiguration->get_timedelayseconds( ).
lv_timestamp = lo_filterconfiguration->get_clipstarttime( ).
ENDIF.
lo_starttag = lo_row_7->get_starttag( ).
IF lo_starttag IS NOT INITIAL.
lv_float = lo_starttag->get_timeoffset( ).
lv_boolean = lo_starttag->get_precise( ).
ENDIF.
lv_boolean = lo_row_7->get_urlencodechildmanifest( ).
ENDIF.
ENDLOOP.
LOOP AT lo_result->get_mssmanifests( ) into lo_row_8.
lo_row_9 = lo_row_8.
IF lo_row_9 IS NOT INITIAL.
lv_manifestname = lo_row_9->get_manifestname( ).
lv_string = lo_row_9->get_url( ).
lo_filterconfiguration = lo_row_9->get_filterconfiguration( ).
IF lo_filterconfiguration IS NOT INITIAL.
lv_string = lo_filterconfiguration->get_manifestfilter( ).
lv_timestamp = lo_filterconfiguration->get_start( ).
lv_timestamp = lo_filterconfiguration->get_end( ).
lv_integer = lo_filterconfiguration->get_timedelayseconds( ).
lv_timestamp = lo_filterconfiguration->get_clipstarttime( ).
ENDIF.
lv_integer = lo_row_9->get_manifestwindowseconds( ).
lv_mssmanifestlayout = lo_row_9->get_manifestlayout( ).
ENDIF.
ENDLOOP.
lo_forceendpointerrorconfi = lo_result->get_forceendpointerrorconf( ).
IF lo_forceendpointerrorconfi IS NOT INITIAL.
LOOP AT lo_forceendpointerrorconfi->get_endpointerrorconditions( ) into lo_row_10.
lo_row_11 = lo_row_10.
IF lo_row_11 IS NOT INITIAL.
lv_endpointerrorcondition = lo_row_11->get_value( ).
ENDIF.
ENDLOOP.
ENDIF.
lv_entitytag = lo_result->get_etag( ).
LOOP AT lo_result->get_tags( ) into ls_row_12.
lv_key = ls_row_12-key.
lo_value = ls_row_12-value.
IF lo_value IS NOT INITIAL.
lv_tagvalue = lo_value->get_value( ).
ENDIF.
ENDLOOP.
LOOP AT lo_result->get_dashmanifests( ) into lo_row_13.
lo_row_14 = lo_row_13.
IF lo_row_14 IS NOT INITIAL.
lv_resourcename = lo_row_14->get_manifestname( ).
lv_string = lo_row_14->get_url( ).
lv_integer = lo_row_14->get_manifestwindowseconds( ).
lo_filterconfiguration = lo_row_14->get_filterconfiguration( ).
IF lo_filterconfiguration IS NOT INITIAL.
lv_string = lo_filterconfiguration->get_manifestfilter( ).
lv_timestamp = lo_filterconfiguration->get_start( ).
lv_timestamp = lo_filterconfiguration->get_end( ).
lv_integer = lo_filterconfiguration->get_timedelayseconds( ).
lv_timestamp = lo_filterconfiguration->get_clipstarttime( ).
ENDIF.
lv_integer = lo_row_14->get_minupdateperiodseconds( ).
lv_integer = lo_row_14->get_minbuffertimeseconds( ).
lv_integer = lo_row_14->get_suggestedpresentationd00( ).
lv_dashsegmenttemplateform = lo_row_14->get_segmenttemplateformat( ).
LOOP AT lo_row_14->get_periodtriggers( ) into lo_row_15.
lo_row_16 = lo_row_15.
IF lo_row_16 IS NOT INITIAL.
lv_dashperiodtrigger = lo_row_16->get_value( ).
ENDIF.
ENDLOOP.
lo_sctedash = lo_row_14->get_sctedash( ).
IF lo_sctedash IS NOT INITIAL.
lv_admarkerdash = lo_sctedash->get_admarkerdash( ).
ENDIF.
lv_dashdrmsignaling = lo_row_14->get_drmsignaling( ).
lo_dashutctiming = lo_row_14->get_utctiming( ).
IF lo_dashutctiming IS NOT INITIAL.
lv_dashutctimingmode = lo_dashutctiming->get_timingmode( ).
lv_string = lo_dashutctiming->get_timingsource( ).
ENDIF.
LOOP AT lo_row_14->get_profiles( ) into lo_row_17.
lo_row_18 = lo_row_17.
IF lo_row_18 IS NOT INITIAL.
lv_dashprofile = lo_row_18->get_value( ).
ENDIF.
ENDLOOP.
LOOP AT lo_row_14->get_baseurls( ) into lo_row_19.
lo_row_20 = lo_row_19.
IF lo_row_20 IS NOT INITIAL.
lv_string = lo_row_20->get_url( ).
lv_string = lo_row_20->get_servicelocation( ).
lv_integer = lo_row_20->get_dvbpriority( ).
lv_integer = lo_row_20->get_dvbweight( ).
ENDIF.
ENDLOOP.
lo_dashprograminformation = lo_row_14->get_programinformation( ).
IF lo_dashprograminformation IS NOT INITIAL.
lv_string = lo_dashprograminformation->get_title( ).
lv_string = lo_dashprograminformation->get_source( ).
lv_string = lo_dashprograminformation->get_copyright( ).
lv_string = lo_dashprograminformation->get_languagecode( ).
lv_string = lo_dashprograminformation->get_moreinformationurl( ).
ENDIF.
lo_dashdvbsettings = lo_row_14->get_dvbsettings( ).
IF lo_dashdvbsettings IS NOT INITIAL.
lo_dashdvbfontdownload = lo_dashdvbsettings->get_fontdownload( ).
IF lo_dashdvbfontdownload IS NOT INITIAL.
lv_string = lo_dashdvbfontdownload->get_url( ).
lv_string = lo_dashdvbfontdownload->get_mimetype( ).
lv_string = lo_dashdvbfontdownload->get_fontfamily( ).
ENDIF.
LOOP AT lo_dashdvbsettings->get_errormetrics( ) into lo_row_21.
lo_row_22 = lo_row_21.
IF lo_row_22 IS NOT INITIAL.
lv_string = lo_row_22->get_reportingurl( ).
lv_integer = lo_row_22->get_probability( ).
ENDIF.
ENDLOOP.
ENDIF.
lv_dashcompactness = lo_row_14->get_compactness( ).
lo_dashsubtitleconfigurati = lo_row_14->get_subtitleconfiguration( ).
IF lo_dashsubtitleconfigurati IS NOT INITIAL.
lo_dashttmlconfiguration = lo_dashsubtitleconfigurati->get_ttmlconfiguration( ).
IF lo_dashttmlconfiguration IS NOT INITIAL.
lv_dashttmlprofile = lo_dashttmlconfiguration->get_ttmlprofile( ).
ENDIF.
ENDIF.
ENDIF.
ENDLOOP.
ENDIF.
Updating an OriginEndpoint¶
Updating an OriginEndpoint
DATA(lo_result) = lo_client->updateoriginendpoint(
io_forceendpointerrorconf = new /aws1/cl_md2forceendpterrconf(
it_endpointerrorconditions = VALUE /aws1/cl_md2endpterrorconds_w=>tt_endpointerrorconditions(
( new /aws1/cl_md2endpterrorconds_w( |STALE_MANIFEST| ) )
( new /aws1/cl_md2endpterrorconds_w( |INCOMPLETE_MANIFEST| ) )
( new /aws1/cl_md2endpterrorconds_w( |MISSING_DRM_KEY| ) )
( new /aws1/cl_md2endpterrorconds_w( |SLATE_INPUT| ) )
)
)
io_segment = new /aws1/cl_md2segment(
io_encryption = new /aws1/cl_md2encryption(
io_encryptionmethod = new /aws1/cl_md2encryptionmethod( iv_tsencryptionmethod = |AES_128| )
io_spekekeyprovider = new /aws1/cl_md2spekekeyprovider(
io_encryptioncontractconf = new /aws1/cl_md2enccontractconf(
iv_presetspeke20audio = |SHARED|
iv_presetspeke20video = |SHARED|
)
it_drmsystems = VALUE /aws1/cl_md2drmsystems_w=>tt_drmsystems(
( new /aws1/cl_md2drmsystems_w( |CLEAR_KEY_AES_128| ) )
)
iv_resourceid = |ResourceId|
iv_rolearn = |arn:aws:iam::123456789012:role/empRole|
iv_url = |https://foo.com|
)
iv_constantinitializationv00 = |A382A901F3C1F7718512266CFFBB0B7E|
iv_keyrotationintervalsecs = 300
)
io_scte = new /aws1/cl_md2scte(
it_sctefilter = VALUE /aws1/cl_md2sctefilterlist_w=>tt_sctefilterlist(
( new /aws1/cl_md2sctefilterlist_w( |SPLICE_INSERT| ) )
)
)
iv_includeiframeonlystreams = ABAP_FALSE
iv_segmentdurationseconds = 7
iv_segmentname = |segmentName2|
iv_tsincludedvbsubtitles = ABAP_FALSE
iv_tsuseaudiorenditiongroup = ABAP_TRUE
)
it_hlsmanifests = VALUE /aws1/cl_md2crehlsmanifestconf=>tt_createhlsmanifests(
(
new /aws1/cl_md2crehlsmanifestconf(
io_sctehls = new /aws1/cl_md2sctehls( |DATERANGE| )
iv_childmanifestname = |exampleChildManifest1|
iv_manifestname = |exampleManifest1|
iv_manifestwindowseconds = 30
iv_programdatetimeinterval00 = 60
)
)
(
new /aws1/cl_md2crehlsmanifestconf(
io_sctehls = new /aws1/cl_md2sctehls( |DATERANGE| )
iv_childmanifestname = |exampleManifest2|
iv_manifestname = |exampleManifest2|
iv_manifestwindowseconds = 30
iv_programdatetimeinterval00 = 60
)
)
)
it_lowlatencyhlsmanifests = VALUE /aws1/cl_md2crelowlatencyhls00=>tt_crelowlatencyhlsmanifests(
(
new /aws1/cl_md2crelowlatencyhls00(
io_sctehls = new /aws1/cl_md2sctehls( |DATERANGE| )
iv_childmanifestname = |exampleLLChildManifest1|
iv_manifestname = |exampleLLManifest1|
iv_manifestwindowseconds = 30
iv_programdatetimeinterval00 = 60
)
)
(
new /aws1/cl_md2crelowlatencyhls00(
io_sctehls = new /aws1/cl_md2sctehls( |DATERANGE| )
iv_childmanifestname = |exampleLLManifest2|
iv_manifestname = |exampleLLManifest2|
iv_manifestwindowseconds = 30
iv_programdatetimeinterval00 = 60
)
)
)
iv_channelgroupname = |exampleChannelGroup|
iv_channelname = |exampleChannel|
iv_containertype = |TS|
iv_description = |Updated description for exampleOriginEndpointTS|
iv_originendpointname = |exampleOriginEndpointTS|
iv_startoverwindowseconds = 600
).
Updating an OriginEndpoint with ISM container¶
Updating an OriginEndpoint with ISM container
DATA(lo_result) = lo_client->updateoriginendpoint(
io_forceendpointerrorconf = new /aws1/cl_md2forceendpterrconf(
it_endpointerrorconditions = VALUE /aws1/cl_md2endpterrorconds_w=>tt_endpointerrorconditions(
( new /aws1/cl_md2endpterrorconds_w( |STALE_MANIFEST| ) )
( new /aws1/cl_md2endpterrorconds_w( |INCOMPLETE_MANIFEST| ) )
( new /aws1/cl_md2endpterrorconds_w( |MISSING_DRM_KEY| ) )
( new /aws1/cl_md2endpterrorconds_w( |SLATE_INPUT| ) )
)
)
io_segment = new /aws1/cl_md2segment(
io_encryption = new /aws1/cl_md2encryption(
io_encryptionmethod = new /aws1/cl_md2encryptionmethod( iv_ismencryptionmethod = |CENC| )
io_spekekeyprovider = new /aws1/cl_md2spekekeyprovider(
io_encryptioncontractconf = new /aws1/cl_md2enccontractconf(
iv_presetspeke20audio = |SHARED|
iv_presetspeke20video = |SHARED|
)
it_drmsystems = VALUE /aws1/cl_md2drmsystems_w=>tt_drmsystems(
( new /aws1/cl_md2drmsystems_w( |PLAYREADY| ) )
)
iv_resourceid = |ResourceId|
iv_rolearn = |arn:aws:iam::123456789012:role/empRole|
iv_url = |https://speke-key-provider.example.com|
)
)
iv_segmentdurationseconds = 2
iv_segmentname = |segmentName2|
)
it_mssmanifests = VALUE /aws1/cl_md2cremssmanifestconf=>tt_createmssmanifests(
(
new /aws1/cl_md2cremssmanifestconf(
iv_manifestlayout = |FULL|
iv_manifestname = |exampleMssManifest1|
iv_manifestwindowseconds = 60
)
)
(
new /aws1/cl_md2cremssmanifestconf(
iv_manifestlayout = |COMPACT|
iv_manifestname = |exampleMssManifest2|
iv_manifestwindowseconds = 30
)
)
)
iv_channelgroupname = |exampleChannelGroup|
iv_channelname = |exampleChannel|
iv_containertype = |ISM|
iv_description = |Updated description for exampleOriginEndpointISM|
iv_originendpointname = |exampleOriginEndpointISM|
iv_startoverwindowseconds = 600
).