Jump to Content

This API Documentation is now deprecated

We are excited to announce our new API Documentation.

Class DeleteQueryLoggingConfigCommandProtected

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.

import { Route53Client, DeleteQueryLoggingConfigCommand } from "@aws-sdk/client-route-53"; // ES Modules import
// const { Route53Client, DeleteQueryLoggingConfigCommand } = require("@aws-sdk/client-route-53"); // CommonJS import
const client = new Route53Client(config);
const input = { // DeleteQueryLoggingConfigRequest
Id: "STRING_VALUE", // required
};
const command = new DeleteQueryLoggingConfigCommand(input);
const response = await client.send(command);
// {};

Param

DeleteQueryLoggingConfigCommandInput

Returns

DeleteQueryLoggingConfigCommandOutput

See

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.

Hierarchy

Constructors

Properties

Methods

Constructors

Properties

Methods