Module Values.UpdatePlaybackRestrictionPolicyRequestSource

Updates a specified playback restriction policy.

Sourcetype nonrec t = {
  1. arn : PlaybackRestrictionPolicyArn.t;
    (*

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

    *)
  2. allowedCountries : PlaybackRestrictionPolicyAllowedCountryList.t option;
    (*

    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).

    *)
  3. allowedOrigins : PlaybackRestrictionPolicyAllowedOriginList.t option;
    (*

    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).

    *)
  4. enableStrictOriginEnforcement : PlaybackRestrictionPolicyEnableStrictOriginEnforcement.t option;
    (*

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

    *)
  5. name : PlaybackRestrictionPolicyName.t option;
    (*

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

    *)
}
Sourceval context_ : string
Sourceval make : ?allowedCountries:??? -> ?allowedOrigins:??? -> ?enableStrictOriginEnforcement:??? -> ?name:??? -> arn:PlaybackRestrictionPolicyArn.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of PlaybackRestrictionPolicyEnableStrictOriginEnforcement.t | `List of [> `String of PlaybackRestrictionPolicyAllowedCountry.t ] list | `String of PlaybackRestrictionPolicyArn.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t