Module Values.PutPermissionPolicyResponseSource

Use this to share a rule group with other accounts. This action attaches an IAM policy to the specified resource. You must be the owner of the rule group to perform this operation. This action is subject to the following restrictions: You can attach only one policy with each PutPermissionPolicy request. The ARN in the request must be a valid WAF RuleGroup ARN and the rule group must exist in the same Region. The user making the request must be the owner of the rule group. If a rule group has been shared with your account, you can access it through the call GetRuleGroup, and you can reference it in CreateWebACL and UpdateWebACL. Rule groups that are shared with you don't appear in your WAF console rule groups listing.

Sourcetype nonrec t = unit
Sourcetype nonrec error = [
  1. | `WAFInternalErrorException of WAFInternalErrorException.t
  2. | `WAFInvalidParameterException of WAFInvalidParameterException.t
  3. | `WAFInvalidPermissionPolicyException of WAFInvalidPermissionPolicyException.t
  4. | `WAFNonexistentItemException of WAFNonexistentItemException.t
  5. | `Unknown_operation_error of string * string option
]
Sourceval make : unit -> unit
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `Unknown_operation_error of string * string option | `WAFInternalErrorException of WAFInternalErrorException.t | `WAFInvalidParameterException of WAFInvalidParameterException.t | `WAFInvalidPermissionPolicyException of WAFInvalidPermissionPolicyException.t | `WAFNonexistentItemException of WAFNonexistentItemException.t ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `Unknown_operation_error of string * string option | `WAFInternalErrorException of WAFInternalErrorException.t | `WAFInvalidParameterException of WAFInvalidParameterException.t | `WAFInvalidPermissionPolicyException of WAFInvalidPermissionPolicyException.t | `WAFNonexistentItemException of WAFNonexistentItemException.t ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval of_header_and_body : ('a * 'b) -> unit
Sourceval to_value : 'a -> [> `Structure of 'b list ]
Sourceval to_query : 'a -> Awso.Client.Query.t
Sourceval of_xml : 'a -> unit
Sourceval of_string : string -> unit
Sourceval of_json : 'a -> unit
Sourceval to_json : 'a -> Yojson.Safe.t