get_resolver_rule_policy

Route53Resolver.Client.get_resolver_rule_policy(**kwargs)

Gets information about the Resolver rule policy for a specified rule. A Resolver rule policy includes the rule that you want to share with another account, the account that you want to share the rule with, and the Resolver operations that you want to allow the account to use.

See also: AWS API Documentation

Request Syntax

response = client.get_resolver_rule_policy(
    Arn='string'
)
Parameters
Arn (string) --

[REQUIRED]

The ID of the Resolver rule that you want to get the Resolver rule policy for.

Return type
dict
Returns
Response Syntax
{
    'ResolverRulePolicy': 'string'
}

Response Structure

  • (dict) --
    • ResolverRulePolicy (string) --

      The Resolver rule policy for the rule that you specified in a GetResolverRulePolicy request.

Exceptions

  • Route53Resolver.Client.exceptions.InvalidParameterException
  • Route53Resolver.Client.exceptions.UnknownResourceException
  • Route53Resolver.Client.exceptions.InternalServiceErrorException
  • Route53Resolver.Client.exceptions.AccessDeniedException