get_resolver_rule_association

Route53Resolver.Client.get_resolver_rule_association(**kwargs)

Gets information about an association between a specified Resolver rule and a VPC. You associate a Resolver rule and a VPC using AssociateResolverRule.

See also: AWS API Documentation

Request Syntax

response = client.get_resolver_rule_association(
    ResolverRuleAssociationId='string'
)
Parameters
ResolverRuleAssociationId (string) --

[REQUIRED]

The ID of the Resolver rule association that you want to get information about.

Return type
dict
Returns
Response Syntax
{
    'ResolverRuleAssociation': {
        'Id': 'string',
        'ResolverRuleId': 'string',
        'Name': 'string',
        'VPCId': 'string',
        'Status': 'CREATING'|'COMPLETE'|'DELETING'|'FAILED'|'OVERRIDDEN',
        'StatusMessage': 'string'
    }
}

Response Structure

  • (dict) --
    • ResolverRuleAssociation (dict) --

      Information about the Resolver rule association that you specified in a GetResolverRuleAssociation request.

      • Id (string) --

        The ID of the association between a Resolver rule and a VPC. Resolver assigns this value when you submit an AssociateResolverRule request.

      • ResolverRuleId (string) --

        The ID of the Resolver rule that you associated with the VPC that is specified by VPCId .

      • Name (string) --

        The name of an association between a Resolver rule and a VPC.

      • VPCId (string) --

        The ID of the VPC that you associated the Resolver rule with.

      • Status (string) --

        A code that specifies the current status of the association between a Resolver rule and a VPC.

      • StatusMessage (string) --

        A detailed description of the status of the association between a Resolver rule and a VPC.

Exceptions

  • Route53Resolver.Client.exceptions.ResourceNotFoundException
  • Route53Resolver.Client.exceptions.InvalidParameterException
  • Route53Resolver.Client.exceptions.InternalServiceErrorException
  • Route53Resolver.Client.exceptions.ThrottlingException