Updates a specified playback restriction policy
Source:R/ivs_operations.R
ivs_update_playback_restriction_policy.RdUpdates a specified playback restriction policy.
See https://www.paws-r-sdk.com/docs/ivs_update_playback_restriction_policy/ for full documentation.
Usage
ivs_update_playback_restriction_policy(
arn,
allowedCountries = NULL,
allowedOrigins = NULL,
enableStrictOriginEnforcement = NULL,
name = NULL
)Arguments
- arn
[required] ARN of the playback-restriction-policy to be updated.
- allowedCountries
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).
- allowedOrigins
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).
- enableStrictOriginEnforcement
Whether channel playback is constrained by origin site. Default:
false.- name
Playback-restriction-policy name. The value does not need to be unique.