Values.UpdateResponseHeadersPolicyResultSourceUpdates a response headers policy. When you update a response headers policy, the entire policy is replaced. You cannot update some policy fields independent of others. To update a response headers policy configuration: Use GetResponseHeadersPolicyConfig to get the current policy's configuration. Modify the fields in the response headers policy configuration that you want to update. Call UpdateResponseHeadersPolicy, providing the entire response headers policy configuration, including the fields that you modified and those that you didn't.
type nonrec t = {responseHeadersPolicy : ResponseHeadersPolicy.t option;A response headers policy.
*)eTag : String_.t option;The current version of the response headers policy.
*)}type nonrec error = [ | `AccessDenied of AccessDenied.t| `IllegalUpdate of IllegalUpdate.t| `InconsistentQuantities of InconsistentQuantities.t| `InvalidArgument of InvalidArgument.t| `InvalidIfMatchVersion of InvalidIfMatchVersion.t| `NoSuchResponseHeadersPolicy of NoSuchResponseHeadersPolicy.t| `PreconditionFailed of PreconditionFailed.t| `ResponseHeadersPolicyAlreadyExists of ResponseHeadersPolicyAlreadyExists.t| `TooLongCSPInResponseHeadersPolicy of TooLongCSPInResponseHeadersPolicy.t| `TooManyCustomHeadersInResponseHeadersPolicy of
TooManyCustomHeadersInResponseHeadersPolicy.t| `TooManyRemoveHeadersInResponseHeadersPolicy of
TooManyRemoveHeadersInResponseHeadersPolicy.t| `Unknown_operation_error of string * string option ]val error_of_json :
string ->
Yojson.Safe.t ->
[> `AccessDenied of AccessDenied.t
| `IllegalUpdate of IllegalUpdate.t
| `InconsistentQuantities of InconsistentQuantities.t
| `InvalidArgument of InvalidArgument.t
| `InvalidIfMatchVersion of InvalidIfMatchVersion.t
| `NoSuchResponseHeadersPolicy of NoSuchResponseHeadersPolicy.t
| `PreconditionFailed of PreconditionFailed.t
| `ResponseHeadersPolicyAlreadyExists of ResponseHeadersPolicyAlreadyExists.t
| `TooLongCSPInResponseHeadersPolicy of TooLongCSPInResponseHeadersPolicy.t
| `TooManyCustomHeadersInResponseHeadersPolicy of
TooManyCustomHeadersInResponseHeadersPolicy.t
| `TooManyRemoveHeadersInResponseHeadersPolicy of
TooManyRemoveHeadersInResponseHeadersPolicy.t
| `Unknown_operation_error of string * string option ]val error_of_xml :
string ->
Awso.Xml.t ->
[> `AccessDenied of AccessDenied.t
| `IllegalUpdate of IllegalUpdate.t
| `InconsistentQuantities of InconsistentQuantities.t
| `InvalidArgument of InvalidArgument.t
| `InvalidIfMatchVersion of InvalidIfMatchVersion.t
| `NoSuchResponseHeadersPolicy of NoSuchResponseHeadersPolicy.t
| `PreconditionFailed of PreconditionFailed.t
| `ResponseHeadersPolicyAlreadyExists of ResponseHeadersPolicyAlreadyExists.t
| `TooLongCSPInResponseHeadersPolicy of TooLongCSPInResponseHeadersPolicy.t
| `TooManyCustomHeadersInResponseHeadersPolicy of
TooManyCustomHeadersInResponseHeadersPolicy.t
| `TooManyRemoveHeadersInResponseHeadersPolicy of
TooManyRemoveHeadersInResponseHeadersPolicy.t
| `Unknown_operation_error of string * string option ]val of_header_and_body :
((string, String_.t) Awso.Import.List.Assoc.t * ResponseHeadersPolicy.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
* [> `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 ]