Module Values.GetResponseHeadersPolicyResultSource

Gets a response headers policy, including metadata (the policy's identifier and the date and time when the policy was last modified). To get a response headers policy, you must provide the policy's identifier. If the response headers policy is attached to a distribution's cache behavior, you can get the policy's identifier using ListDistributions or GetDistribution. If the response headers policy is not attached to a cache behavior, you can get the identifier using ListResponseHeadersPolicies.

Sourcetype nonrec t = {
  1. responseHeadersPolicy : ResponseHeadersPolicy.t option;
    (*

    Contains a response headers policy.

    *)
  2. eTag : String_.t option;
    (*

    The version identifier for the current version of the response headers policy.

    *)
}
Sourcetype nonrec error = [
  1. | `AccessDenied of AccessDenied.t
  2. | `NoSuchResponseHeadersPolicy of NoSuchResponseHeadersPolicy.t
  3. | `Unknown_operation_error of string * string option
]
Sourceval make : ?responseHeadersPolicy:??? -> ?eTag:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `AccessDenied of AccessDenied.t | `NoSuchResponseHeadersPolicy of NoSuchResponseHeadersPolicy.t | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `AccessDenied of AccessDenied.t | `NoSuchResponseHeadersPolicy of NoSuchResponseHeadersPolicy.t | `Unknown_operation_error of string * string option ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval of_header_and_body : ((string, String_.t) Awso.Import.List.Assoc.t * ResponseHeadersPolicy.t) -> t
Sourceval 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 * [> `Boolean of Boolean.t | `Double of SamplingRate.t | `Integer of Integer.t | `List of [> `Structure of (string * [> `Boolean of Boolean.t | `String of String_.t ]) list ] list | `Structure of (string * [> `Boolean of Boolean.t | `Enum of string | `Integer of Integer.t | `List of [> `Enum of string | `String of String_.t ] list | `String of String_.t ]) list ]) list ]) list | `Timestamp of Timestamp.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