get_permission_policy
(**kwargs)¶Returns the IAM policy that is attached to the specified rule group.
You must be the owner of the rule group to perform this operation.
See also: AWS API Documentation
Request Syntax
response = client.get_permission_policy(
ResourceArn='string'
)
[REQUIRED]
The Amazon Resource Name (ARN) of the rule group for which you want to get the policy.
{
'Policy': 'string'
}
Response Structure
The IAM policy that is attached to the specified rule group.
Exceptions
WAFV2.Client.exceptions.WAFNonexistentItemException
WAFV2.Client.exceptions.WAFInternalErrorException
WAFV2.Client.exceptions.WAFInvalidParameterException