import { Command as $Command } from "@smithy/smithy-client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { DeleteEventSubscriptionMessage } from "../models/models_0"; import type { RedshiftClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftClient"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link DeleteEventSubscriptionCommand}. */ export interface DeleteEventSubscriptionCommandInput extends DeleteEventSubscriptionMessage { } /** * @public * * The output of {@link DeleteEventSubscriptionCommand}. */ export interface DeleteEventSubscriptionCommandOutput extends __MetadataBearer { } declare const DeleteEventSubscriptionCommand_base: { new (input: DeleteEventSubscriptionCommandInput): import("@smithy/smithy-client").CommandImpl; new (input: DeleteEventSubscriptionCommandInput): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Deletes an Amazon Redshift event notification subscription.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { RedshiftClient, DeleteEventSubscriptionCommand } from "@aws-sdk/client-redshift"; // ES Modules import * // const { RedshiftClient, DeleteEventSubscriptionCommand } = require("@aws-sdk/client-redshift"); // CommonJS import * // import type { RedshiftClientConfig } from "@aws-sdk/client-redshift"; * const config = {}; // type is RedshiftClientConfig * const client = new RedshiftClient(config); * const input = { // DeleteEventSubscriptionMessage * SubscriptionName: "STRING_VALUE", // required * }; * const command = new DeleteEventSubscriptionCommand(input); * const response = await client.send(command); * // {}; * * ``` * * @param DeleteEventSubscriptionCommandInput - {@link DeleteEventSubscriptionCommandInput} * @returns {@link DeleteEventSubscriptionCommandOutput} * @see {@link DeleteEventSubscriptionCommandInput} for command's `input` shape. * @see {@link DeleteEventSubscriptionCommandOutput} for command's `response` shape. * @see {@link RedshiftClientResolvedConfig | config} for RedshiftClient's `config` shape. * * @throws {@link InvalidSubscriptionStateFault} (client fault) *

The subscription request is invalid because it is a duplicate request. This * subscription request is already in progress.

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

An Amazon Redshift event notification subscription with the specified name does not * exist.

* * @throws {@link RedshiftServiceException} *

Base exception class for all service exceptions from Redshift service.

* * * @public */ export declare class DeleteEventSubscriptionCommand extends DeleteEventSubscriptionCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DeleteEventSubscriptionMessage; output: {}; }; sdk: { input: DeleteEventSubscriptionCommandInput; output: DeleteEventSubscriptionCommandOutput; }; }; }