We are excited to announce our new API Documentation.
Protected
Deletes a configuration for DNS query logging. If you delete a configuration, Amazon Route 53 stops sending query logs to CloudWatch Logs. Route 53 doesn't delete any logs that are already in CloudWatch Logs.
For more information about DNS query logs, see CreateQueryLoggingConfig.
Use a bare-bones client and the command you need to make an API call.
import { Route53Client, DeleteQueryLoggingConfigCommand } from "@aws-sdk/client-route-53"; // ES Modules import// const { Route53Client, DeleteQueryLoggingConfigCommand } = require("@aws-sdk/client-route-53"); // CommonJS importconst client = new Route53Client(config);const input = { // DeleteQueryLoggingConfigRequest Id: "STRING_VALUE", // required};const command = new DeleteQueryLoggingConfigCommand(input);const response = await client.send(command);// {};
DeleteQueryLoggingConfigCommandInput
DeleteQueryLoggingConfigCommandOutput
input
response
config
ConcurrentModification (client fault)
Another user submitted a request to create, update, or delete the object at the same time that you did. Retry the request.
InvalidInput (client fault)
The input is not valid.
NoSuchQueryLoggingConfig (client fault)
There is no DNS query logging configuration with the specified ID.
Route53ServiceException
Base exception class for all service exceptions from Route53 service.
Readonly
Static
Deletes a configuration for DNS query logging. If you delete a configuration, Amazon Route 53 stops sending query logs to CloudWatch Logs. Route 53 doesn't delete any logs that are already in CloudWatch Logs.
For more information about DNS query logs, see CreateQueryLoggingConfig.
Example
Use a bare-bones client and the command you need to make an API call.
Param
DeleteQueryLoggingConfigCommandInput
Returns
DeleteQueryLoggingConfigCommandOutput
See
input
shape.response
shape.config
shape.Throws
ConcurrentModification (client fault)
Another user submitted a request to create, update, or delete the object at the same time that you did. Retry the request.
Throws
InvalidInput (client fault)
The input is not valid.
Throws
NoSuchQueryLoggingConfig (client fault)
There is no DNS query logging configuration with the specified ID.
Throws
Route53ServiceException
Base exception class for all service exceptions from Route53 service.