Values.GetResponseHeadersPolicyConfigResultSourceGets a response headers policy configuration. To get a response headers policy configuration, 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.
type nonrec t = {responseHeadersPolicyConfig : ResponseHeadersPolicyConfig.t option;Contains a response headers policy.
*)eTag : String_.t option;The version identifier for the current version of the response headers policy.
*)}type nonrec error = [ | `AccessDenied of AccessDenied.t| `NoSuchResponseHeadersPolicy of NoSuchResponseHeadersPolicy.t| `Unknown_operation_error of string * string option ]val error_of_json :
string ->
Yojson.Safe.t ->
[> `AccessDenied of AccessDenied.t
| `NoSuchResponseHeadersPolicy of NoSuchResponseHeadersPolicy.t
| `Unknown_operation_error of string * string option ]val error_of_xml :
string ->
Awso.Xml.t ->
[> `AccessDenied of AccessDenied.t
| `NoSuchResponseHeadersPolicy of NoSuchResponseHeadersPolicy.t
| `Unknown_operation_error of string * string option ]val of_header_and_body :
((string, String_.t) Awso.Import.List.Assoc.t * ResponseHeadersPolicyConfig.t) ->
tval to_value :
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 ])
list ]