Values.GetOriginRequestPolicyResultSourceGets an origin request policy, including the following metadata: The policy's identifier. The date and time when the policy was last modified. To get an origin request policy, you must provide the policy's identifier. If the origin request policy is attached to a distribution's cache behavior, you can get the policy's identifier using ListDistributions or GetDistribution. If the origin request policy is not attached to a cache behavior, you can get the identifier using ListOriginRequestPolicies.
type nonrec t = {originRequestPolicy : OriginRequestPolicy.t option;The origin request policy.
*)eTag : String_.t option;The current version of the origin request policy.
*)}type nonrec error = [ | `AccessDenied of AccessDenied.t| `NoSuchOriginRequestPolicy of NoSuchOriginRequestPolicy.t| `Unknown_operation_error of string * string option ]val error_of_json :
string ->
Yojson.Safe.t ->
[> `AccessDenied of AccessDenied.t
| `NoSuchOriginRequestPolicy of NoSuchOriginRequestPolicy.t
| `Unknown_operation_error of string * string option ]val error_of_xml :
string ->
Awso.Xml.t ->
[> `AccessDenied of AccessDenied.t
| `NoSuchOriginRequestPolicy of NoSuchOriginRequestPolicy.t
| `Unknown_operation_error of string * string option ]val of_header_and_body :
((string, String_.t) Awso.Import.List.Assoc.t * OriginRequestPolicy.t) ->
tval to_value :
t ->
[> `Structure of
(string
* [> `String of String_.t
| `Structure of
(string
* [> `String of String_.t
| `Structure of
(string
* [> `String of String_.t
| `Structure of
(string
* [> `Enum of string
| `Structure of
(string
* [> `Integer of Integer.t
| `List of [> `String of String_.t ] list ])
list ])
list ])
list
| `Timestamp of Timestamp.t ])
list ])
list ]