import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { DeleteApiDestinationRequest, DeleteApiDestinationResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link DeleteApiDestinationCommand}. */ export interface DeleteApiDestinationCommandInput extends DeleteApiDestinationRequest { } /** * @public * * The output of {@link DeleteApiDestinationCommand}. */ export interface DeleteApiDestinationCommandOutput extends DeleteApiDestinationResponse, __MetadataBearer { } declare const DeleteApiDestinationCommand_base: { new (input: DeleteApiDestinationCommandInput): import("@smithy/core/client").CommandImpl; new (input: DeleteApiDestinationCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Deletes the specified API destination.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { CloudWatchEventsClient, DeleteApiDestinationCommand } from "@aws-sdk/client-cloudwatch-events"; // ES Modules import * // const { CloudWatchEventsClient, DeleteApiDestinationCommand } = require("@aws-sdk/client-cloudwatch-events"); // CommonJS import * // import type { CloudWatchEventsClientConfig } from "@aws-sdk/client-cloudwatch-events"; * const config = {}; // type is CloudWatchEventsClientConfig * const client = new CloudWatchEventsClient(config); * const input = { // DeleteApiDestinationRequest * Name: "STRING_VALUE", // required * }; * const command = new DeleteApiDestinationCommand(input); * const response = await client.send(command); * // {}; * * ``` * * @param DeleteApiDestinationCommandInput - {@link DeleteApiDestinationCommandInput} * @returns {@link DeleteApiDestinationCommandOutput} * @see {@link DeleteApiDestinationCommandInput} for command's `input` shape. * @see {@link DeleteApiDestinationCommandOutput} for command's `response` shape. * @see {@link CloudWatchEventsClientResolvedConfig | config} for CloudWatchEventsClient's `config` shape. * * @throws {@link ConcurrentModificationException} (client fault) *

There is concurrent modification on a rule, target, archive, or replay.

* * @throws {@link InternalException} (server fault) *

This exception occurs due to unexpected causes.

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

An entity that you specified does not exist.

* * @throws {@link CloudWatchEventsServiceException} *

Base exception class for all service exceptions from CloudWatchEvents service.

* * * @public */ export declare class DeleteApiDestinationCommand extends DeleteApiDestinationCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DeleteApiDestinationRequest; output: {}; }; sdk: { input: DeleteApiDestinationCommandInput; output: DeleteApiDestinationCommandOutput; }; }; }