New API Documentation - Developer Preview Available
We are excited to announce the developer preview of our new API documentation for AWS SDK for JavaScript v3. Please follow instructions on the landing page to leave us your feedback.
Class DeleteResolverQueryLogConfigCommandProtected
Deletes a query logging configuration. When you delete a configuration, Resolver stops logging DNS queries for all of the Amazon VPCs that are
associated with the configuration. This also applies if the query logging configuration is shared with other Amazon Web Services accounts, and
the other accounts have associated VPCs with the shared configuration.
Before you can delete a query logging configuration, you must first disassociate all VPCs from the configuration. See
DisassociateResolverQueryLogConfig.
If you used Resource Access Manager (RAM) to share a query logging configuration with other accounts, you must stop sharing
the configuration before you can delete a configuration. The accounts that you shared the configuration with can first disassociate VPCs
that they associated with the configuration, but that's not necessary. If you stop sharing the configuration, those VPCs are automatically
disassociated from the configuration.
Example
Use a bare-bones client and the command you need to make an API call.
Deletes a query logging configuration. When you delete a configuration, Resolver stops logging DNS queries for all of the Amazon VPCs that are associated with the configuration. This also applies if the query logging configuration is shared with other Amazon Web Services accounts, and the other accounts have associated VPCs with the shared configuration.
Before you can delete a query logging configuration, you must first disassociate all VPCs from the configuration. See DisassociateResolverQueryLogConfig.
If you used Resource Access Manager (RAM) to share a query logging configuration with other accounts, you must stop sharing the configuration before you can delete a configuration. The accounts that you shared the configuration with can first disassociate VPCs that they associated with the configuration, but that's not necessary. If you stop sharing the configuration, those VPCs are automatically disassociated from the configuration.
Example
Use a bare-bones client and the command you need to make an API call.
Param
DeleteResolverQueryLogConfigCommandInput
Returns
DeleteResolverQueryLogConfigCommandOutput
See
input
shape.response
shape.config
shape.Throws
AccessDeniedException (client fault)
The current account doesn't have the IAM permissions required to perform the specified Resolver operation.
Throws
InternalServiceErrorException (client fault)
We encountered an unknown error. Try again in a few minutes.
Throws
InvalidParameterException (client fault)
One or more parameters in this request are not valid.
Throws
InvalidRequestException (client fault)
The request is invalid.
Throws
ResourceNotFoundException (client fault)
The specified resource doesn't exist.
Throws
ThrottlingException (client fault)
The request was throttled. Try again in a few minutes.
Throws
Route53ResolverServiceException
Base exception class for all service exceptions from Route53Resolver service.