Smaws_Client_WAFV2.PutPermissionPolicy
val request :
Smaws_Lib.Context.t ->
put_permission_policy_request ->
(put_permission_policy_response,
[> 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
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:
PutPermissionPolicy
request.RuleGroup
ARN and the rule group must exist in the same Region.