Route53Resolver / Client / disassociate_resolver_rule
disassociate_resolver_rule#
- Route53Resolver.Client.disassociate_resolver_rule(**kwargs)#
Removes the association between a specified Resolver rule and a specified VPC.
Warning
If you disassociate a Resolver rule from a VPC, Resolver stops forwarding DNS queries for the domain name that you specified in the Resolver rule.
See also: AWS API Documentation
Request Syntax
response = client.disassociate_resolver_rule( VPCId='string', ResolverRuleId='string' )
- Parameters:
VPCId (string) –
[REQUIRED]
The ID of the VPC that you want to disassociate the Resolver rule from.
ResolverRuleId (string) –
[REQUIRED]
The ID of the Resolver rule that you want to disassociate from the specified VPC.
- 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
DisassociateResolverRule
request, including the status of the 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