Select your cookie preferences

We use cookies and similar tools to enhance your experience, provide our services, deliver relevant advertising, and make improvements. Approved third parties also use these tools to help us deliver advertising and provide certain site features.

get_resolver_rule_policy

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