Smaws_Client_Route53Resolver.PutResolverRulePolicySpecifies an Amazon Web Services rule that you want to share with another account, the account that you want to share the rule with, and the operations that you want the account to be able to perform on the rule.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `AccessDeniedException of Types.access_denied_exception
| `InternalServiceErrorException of Types.internal_service_error_exception
| `InvalidParameterException of Types.invalid_parameter_exception
| `InvalidPolicyDocument of Types.invalid_policy_document
| `UnknownResourceException of Types.unknown_resource_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.put_resolver_rule_policy_request ->
(Types.put_resolver_rule_policy_response,
[> Smaws_Lib.Protocols.AwsJson.error
| `AccessDeniedException of Types.access_denied_exception
| `InternalServiceErrorException of Types.internal_service_error_exception
| `InvalidParameterException of Types.invalid_parameter_exception
| `InvalidPolicyDocument of Types.invalid_policy_document
| `UnknownResourceException of Types.unknown_resource_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.put_resolver_rule_policy_request ->
(Types.put_resolver_rule_policy_response Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `AccessDeniedException of Types.access_denied_exception
| `InternalServiceErrorException of Types.internal_service_error_exception
| `InvalidParameterException of Types.invalid_parameter_exception
| `InvalidPolicyDocument of Types.invalid_policy_document
| `UnknownResourceException of Types.unknown_resource_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result