Module Values.CreatePlaybackRestrictionPolicyResponseSource

Creates a new playback restriction policy, for constraining playback by countries and/or origins.

Sourcetype nonrec t = {
  1. playbackRestrictionPolicy : PlaybackRestrictionPolicy.t option;
}
Sourcetype nonrec error = [
  1. | `AccessDeniedException of AccessDeniedException.t
  2. | `PendingVerification of PendingVerification.t
  3. | `ServiceQuotaExceededException of ServiceQuotaExceededException.t
  4. | `ThrottlingException of ThrottlingException.t
  5. | `ValidationException of ValidationException.t
  6. | `Unknown_operation_error of string * string option
]
Sourceval make : ?playbackRestrictionPolicy:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `AccessDeniedException of AccessDeniedException.t | `PendingVerification of PendingVerification.t | `ServiceQuotaExceededException of ServiceQuotaExceededException.t | `ThrottlingException of ThrottlingException.t | `Unknown_operation_error of string * string option | `ValidationException of ValidationException.t ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `AccessDeniedException of AccessDeniedException.t | `PendingVerification of PendingVerification.t | `ServiceQuotaExceededException of ServiceQuotaExceededException.t | `ThrottlingException of ThrottlingException.t | `Unknown_operation_error of string * string option | `ValidationException of ValidationException.t ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `Structure of (string * [> `Boolean of PlaybackRestrictionPolicyEnableStrictOriginEnforcement.t | `List of [> `String of PlaybackRestrictionPolicyAllowedCountry.t ] list | `Map of ([> `String of TagKey.t ] * [> `String of TagValue.t ]) list | `String of PlaybackRestrictionPolicyArn.t ]) list ]) 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