Smaws_Client_WAF.GetPermissionPolicy
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 IAM policy attached to the RuleGroup.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `WAFInternalErrorException of Types.waf_internal_error_exception
| `WAFNonexistentItemException of Types.waf_nonexistent_item_exception ] ->
string
val request :
'http_type Smaws_Lib.Context.t ->
Types.get_permission_policy_request ->
(Types.get_permission_policy_response,
[> Smaws_Lib.Protocols.AwsJson.error
| `WAFInternalErrorException of Types.waf_internal_error_exception
| `WAFNonexistentItemException of Types.waf_nonexistent_item_exception ])
Stdlib.result