Module Smaws_Client_WAFV2.PutPermissionPolicy

Attaches an IAM policy to the specified resource. Use this to share a rule group across accounts.

You must be the owner of the rule group to perform this operation.

This action is subject to the following restrictions:

val request : Smaws_Lib.Context.t -> put_permission_policy_request -> (unit, [> Smaws_Lib.Protocols.AwsJson.error | `WAFInternalErrorException of waf_internal_error_exception | `WAFInvalidParameterException of waf_invalid_parameter_exception | `WAFInvalidPermissionPolicyException of waf_invalid_permission_policy_exception | `WAFNonexistentItemException of waf_nonexistent_item_exception ]) Stdlib.result