Smaws_Client_Route53Resolver.PutFirewallRuleGroupPolicyAttaches an Identity and Access Management (Amazon Web Services IAM) policy for sharing the rule group. You can use the policy to share the rule group using Resource Access Manager (RAM).
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `AccessDeniedException of Types.access_denied_exception
| `InternalServiceErrorException of Types.internal_service_error_exception
| `ResourceNotFoundException of Types.resource_not_found_exception
| `ThrottlingException of Types.throttling_exception
| `ValidationException of Types.validation_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.put_firewall_rule_group_policy_request ->
(Types.put_firewall_rule_group_policy_response,
[> Smaws_Lib.Protocols.AwsJson.error
| `AccessDeniedException of Types.access_denied_exception
| `InternalServiceErrorException of Types.internal_service_error_exception
| `ResourceNotFoundException of Types.resource_not_found_exception
| `ThrottlingException of Types.throttling_exception
| `ValidationException of Types.validation_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.put_firewall_rule_group_policy_request ->
(Types.put_firewall_rule_group_policy_response Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `AccessDeniedException of Types.access_denied_exception
| `InternalServiceErrorException of Types.internal_service_error_exception
| `ResourceNotFoundException of Types.resource_not_found_exception
| `ThrottlingException of Types.throttling_exception
| `ValidationException of Types.validation_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result