Smaws_Client_WAFRegional.AssociateWebACLThis 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.
Associates a web ACL with a 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 ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.associate_web_acl_request ->
(Types.associate_web_acl_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.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.associate_web_acl_request ->
(Types.associate_web_acl_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