Values.GetWebACLForResourceResponseSourceRetrieves the WebACL for the specified resource. This call uses GetWebACL, to verify that your account has permission to access the retrieved web ACL. If you get an error that indicates that your account isn't authorized to perform wafv2:GetWebACL on the resource, that error won't be included in your CloudTrail event history. For Amazon CloudFront, don't use this call. Instead, call the CloudFront action GetDistributionConfig. For information, see GetDistributionConfig in the Amazon CloudFront API Reference. Required permissions for customer-managed IAM policies This call requires permissions that are specific to the protected resource type. For details, see Permissions for GetWebACLForResource in the WAF Developer Guide.
type nonrec error = [ | `WAFInternalErrorException of WAFInternalErrorException.t| `WAFInvalidOperationException of WAFInvalidOperationException.t| `WAFInvalidParameterException of WAFInvalidParameterException.t| `WAFNonexistentItemException of WAFNonexistentItemException.t| `Unknown_operation_error of string * string option ]val error_of_json :
string ->
Yojson.Safe.t ->
[> `Unknown_operation_error of string * string option
| `WAFInternalErrorException of WAFInternalErrorException.t
| `WAFInvalidOperationException of WAFInvalidOperationException.t
| `WAFInvalidParameterException of WAFInvalidParameterException.t
| `WAFNonexistentItemException of WAFNonexistentItemException.t
| `WAFUnavailableEntityException of WAFUnavailableEntityException.t ]val error_of_xml :
string ->
Awso.Xml.t ->
[> `Unknown_operation_error of string * string option
| `WAFInternalErrorException of WAFInternalErrorException.t
| `WAFInvalidOperationException of WAFInvalidOperationException.t
| `WAFInvalidParameterException of WAFInvalidParameterException.t
| `WAFNonexistentItemException of WAFNonexistentItemException.t
| `WAFUnavailableEntityException of WAFUnavailableEntityException.t ]val to_value :
t ->
[> `Structure of
(string
* [> `Structure of
(string
* [> `Boolean of Boolean.t
| `List of
[> `String of TokenDomain.t
| `Structure of (string * Awso.Botodata.value) list ]
list
| `Long of ConsumedCapacity.t
| `Map of
([> `String of EntityName.t ]
* [> `Structure of
(string
* [> `Enum of string
| `String of ResponseContent.t ])
list ])
list
| `String of EntityName.t
| `Structure of
(string
* [> `Boolean of Boolean.t
| `Enum of string
| `List of
[> `Structure of
(string
* [> `Boolean of Boolean.t
| `Enum of string
| `List of
[> `String of AttributeValue.t ] list
| `String of AttributeName.t
| `Structure of
(string
* [> `Enum of string
| `List of
[> `String of FieldToProtectKeyName.t ]
list ])
list ])
list ]
list
| `Map of
([> `Enum of string ]
* [> `Structure of
(string * [> `Enum of string ]) list ])
list
| `String of MetricName.t
| `Structure of
(string
* [> `Long of TimeWindowSecond.t
| `Structure of
(string
* [> `Integer of ResponseStatusCode.t
| `List of
[> `Structure of
(string
* [> `String of CustomHTTPHeaderName.t ])
list ]
list
| `String of EntityName.t ])
list ])
list ])
list ])
list ])
list ]