Module Smaws_Client_WAFRegional.GetWebACLForResource

This is AWS WAF Classic Regional documentation. For more information, see AWS WAF Classic in the developer guide.

For the latest version of AWS WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.

Returns the web ACL for the specified resource, either an application load balancer or Amazon API Gateway stage.

val error_to_string : [ Smaws_Lib.Protocols.AwsJson.error | `WAFInternalErrorException of Types.waf_internal_error_exception | `WAFInvalidAccountException of Types.waf_invalid_account_exception | `WAFInvalidParameterException of Types.waf_invalid_parameter_exception | `WAFNonexistentItemException of Types.waf_nonexistent_item_exception | `WAFUnavailableEntityException of Types.waf_unavailable_entity_exception ] -> string
val request : 'http_type Smaws_Lib.Context.t -> Types.get_web_acl_for_resource_request -> (Types.get_web_acl_for_resource_response, [> Smaws_Lib.Protocols.AwsJson.error | `WAFInternalErrorException of Types.waf_internal_error_exception | `WAFInvalidAccountException of Types.waf_invalid_account_exception | `WAFInvalidParameterException of Types.waf_invalid_parameter_exception | `WAFNonexistentItemException of Types.waf_nonexistent_item_exception | `WAFUnavailableEntityException of Types.waf_unavailable_entity_exception ]) Stdlib.result
val request_with_metadata : 'http_type Smaws_Lib.Context.t -> Types.get_web_acl_for_resource_request -> (Types.get_web_acl_for_resource_response Smaws_Lib.Response.t, [> Smaws_Lib.Protocols.AwsJson.error | `WAFInternalErrorException of Types.waf_internal_error_exception | `WAFInvalidAccountException of Types.waf_invalid_account_exception | `WAFInvalidParameterException of Types.waf_invalid_parameter_exception | `WAFNonexistentItemException of Types.waf_nonexistent_item_exception | `WAFUnavailableEntityException of Types.waf_unavailable_entity_exception ] * Smaws_Lib.Response.metadata) Stdlib.result