import { Command as $Command } from "@smithy/smithy-client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { DeleteHealthCheckRequest, DeleteHealthCheckResponse } from "../models/models_0"; import type { Route53ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../Route53Client"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link DeleteHealthCheckCommand}. */ export interface DeleteHealthCheckCommandInput extends DeleteHealthCheckRequest { } /** * @public * * The output of {@link DeleteHealthCheckCommand}. */ export interface DeleteHealthCheckCommandOutput extends DeleteHealthCheckResponse, __MetadataBearer { } declare const DeleteHealthCheckCommand_base: { new (input: DeleteHealthCheckCommandInput): import("@smithy/smithy-client").CommandImpl; new (input: DeleteHealthCheckCommandInput): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Deletes a health check.

* *

Amazon Route 53 does not prevent you from deleting a health check even if the * health check is associated with one or more resource record sets. If you delete a * health check and you don't update the associated resource record sets, the future * status of the health check can't be predicted and may change. This will affect the * routing of DNS queries for your DNS failover configuration. For more information, * see Replacing and Deleting Health Checks in the Amazon Route 53 * Developer Guide.

*
*

If you're using Cloud Map and you configured Cloud Map to create a Route 53 * health check when you register an instance, you can't use the Route 53 * DeleteHealthCheck command to delete the health check. The health check * is deleted automatically when you deregister the instance; there can be a delay of * several hours before the health check is deleted from Route 53.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { Route53Client, DeleteHealthCheckCommand } from "@aws-sdk/client-route-53"; // ES Modules import * // const { Route53Client, DeleteHealthCheckCommand } = require("@aws-sdk/client-route-53"); // CommonJS import * // import type { Route53ClientConfig } from "@aws-sdk/client-route-53"; * const config = {}; // type is Route53ClientConfig * const client = new Route53Client(config); * const input = { // DeleteHealthCheckRequest * HealthCheckId: "STRING_VALUE", // required * }; * const command = new DeleteHealthCheckCommand(input); * const response = await client.send(command); * // {}; * * ``` * * @param DeleteHealthCheckCommandInput - {@link DeleteHealthCheckCommandInput} * @returns {@link DeleteHealthCheckCommandOutput} * @see {@link DeleteHealthCheckCommandInput} for command's `input` shape. * @see {@link DeleteHealthCheckCommandOutput} for command's `response` shape. * @see {@link Route53ClientResolvedConfig | config} for Route53Client's `config` shape. * * @throws {@link HealthCheckInUse} (client fault) *

This error code is not in use.

* * @throws {@link InvalidInput} (client fault) *

The input is not valid.

* * @throws {@link NoSuchHealthCheck} (client fault) *

No health check exists with the specified ID.

* * @throws {@link Route53ServiceException} *

Base exception class for all service exceptions from Route53 service.

* * * @public */ export declare class DeleteHealthCheckCommand extends DeleteHealthCheckCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DeleteHealthCheckRequest; output: {}; }; sdk: { input: DeleteHealthCheckCommandInput; output: DeleteHealthCheckCommandOutput; }; }; }