UpdatePlaybackRestrictionPolicyRequest
¶
Source code in docs_src/capo_ivs/types/update_playback_restriction_policy_request.py
allowed_countries
instance-attribute
¶
allowed_countries: NotRequired[PlaybackRestrictionPolicyAllowedCountryList]
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).
allowed_origins
instance-attribute
¶
allowed_origins: NotRequired[PlaybackRestrictionPolicyAllowedOriginList]
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).
arn
instance-attribute
¶
ARN of the playback-restriction-policy to be updated.
enable_strict_origin_enforcement
instance-attribute
¶
enable_strict_origin_enforcement: NotRequired[
PlaybackRestrictionPolicyEnableStrictOriginEnforcement
]
Whether channel playback is constrained by origin site. Default: false.
name
instance-attribute
¶
name: NotRequired[PlaybackRestrictionPolicyName]
Playback-restriction-policy name. The value does not need to be unique.