v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1463250283.1 KB

Associates an Amazon VPC with a specified query logging configuration. Route 53 Resolver logs DNS queries that originate in all of the Amazon VPCs that are associated with a specified query logging configuration. To associate more than one VPC with a configuration, submit one AssociateResolverQueryLogConfig request for each VPC.

The VPCs that you associate with a query logging configuration must be in the same Region as the configuration.

To remove a VPC from a query logging configuration, see DisassociateResolverQueryLogConfig.

post/#X-Amz-Target=Route53Resolver.AssociateResolverQueryLogConfig

Headers

X-Amz-Target'Route53Resolver.AssociateResolverQueryLogConfig' required

Request body

ResolverQueryLogConfigIdstring required

The ID of the query logging configuration that you want to associate a VPC with.

ResourceIdstring required
<p>The ID of an Amazon VPC that you want this query logging configuration to log queries for.</p> <note> <p>The VPCs and the query logging configuration must be in the same Region.</p> </note>

Response

Success