Skip to content

/AWS1/CL_IVS=>UPDATEPLAYBACKRESTRICTIONPLY()

About UpdatePlaybackRestrictionPolicy

Updates a specified playback restriction policy.

Method Signature

IMPORTING

Required arguments:

IV_ARN TYPE /AWS1/IVSPLAYBACKRESTRICTION04 /AWS1/IVSPLAYBACKRESTRICTION04

ARN of the playback-restriction-policy to be updated.

Optional arguments:

IT_ALLOWEDCOUNTRIES TYPE /AWS1/CL_IVSPLAYBACKRESTRICT00=>TT_PLAYBACKRESTRICTIONPLYALW00 TT_PLAYBACKRESTRICTIONPLYALW00

A list of country codes that control geoblocking restriction. Allowed values are the officially assigned ISO 3166-1 alpha-2 codes. Default: All countries (an empty array).

IT_ALLOWEDORIGINS TYPE /AWS1/CL_IVSPLAYBACKRESTRICT01=>TT_PLAYBACKRESTRICTIONPLYALW01 TT_PLAYBACKRESTRICTIONPLYALW01

A list of origin sites that control CORS restriction. Allowed values are the same as valid values of the Origin header defined at https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin. Default: All origins (an empty array).

IV_ENBSTRICTORIGINENFORCEM00 TYPE /AWS1/IVSPLAYBACKRESTRICTION02 /AWS1/IVSPLAYBACKRESTRICTION02

Whether channel playback is constrained by origin site. Default: false.

IV_NAME TYPE /AWS1/IVSPLAYBACKRESTRICTION03 /AWS1/IVSPLAYBACKRESTRICTION03

Playback-restriction-policy name. The value does not need to be unique.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_IVSUPPLAYBACKRESTRI01 /AWS1/CL_IVSUPPLAYBACKRESTRI01