Values.ResponseInspectionHeaderSourceConfigures inspection of the response header. This is part of the ResponseInspection configuration for AWSManagedRulesATPRuleSet and AWSManagedRulesACFPRuleSet. Response inspection is available only in web ACLs that protect Amazon CloudFront distributions.
type nonrec t = {name : ResponseInspectionHeaderName.t;The name of the header to match against. The name must be an exact match, including case. JSON example: "Name": [ "RequestResult" ]
*)successValues : ResponseInspectionHeaderSuccessValues.t;Values in the response header with the specified name that indicate a successful login or account creation attempt. To be counted as a success, the value must be an exact match, including case. Each value must be unique among the success and failure values. JSON examples: "SuccessValues": [ "LoginPassed", "Successful login" ] and "SuccessValues": [ "AccountCreated", "Successful account creation" ]
*)failureValues : ResponseInspectionHeaderFailureValues.t;Values in the response header with the specified name that indicate a failed login or account creation attempt. To be counted as a failure, the value must be an exact match, including case. Each value must be unique among the success and failure values. JSON examples: "FailureValues": [ "LoginFailed", "Failed login" ] and "FailureValues": [ "AccountCreationFailed" ]
*)}val make :
name:ResponseInspectionHeaderName.t ->
successValues:ResponseInspectionHeaderSuccessValues.t ->
failureValues:ResponseInspectionHeaderFailureValues.t ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `List of [> `String of SuccessValue.t ] list
| `String of ResponseInspectionHeaderName.t ])
list ]