Smaws_Client_WAF.GetRule
This is AWS WAF Classic 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 Rule
that is specified by the RuleId
that you included in the GetRule
request.
val request :
Smaws_Lib.Context.t ->
Types.get_rule_request ->
(Types.get_rule_response,
[> Smaws_Lib.Protocols.AwsJson.error
| `WAFInternalErrorException of Types.waf_internal_error_exception
| `WAFInvalidAccountException of Types.waf_invalid_account_exception
| `WAFNonexistentItemException of Types.waf_nonexistent_item_exception ])
Stdlib.result