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

Deletes the specified cluster subnet group.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { RedshiftClient, DeleteClusterSubnetGroupCommand } from "@aws-sdk/client-redshift"; // ES Modules import * // const { RedshiftClient, DeleteClusterSubnetGroupCommand } = 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 = { // DeleteClusterSubnetGroupMessage * ClusterSubnetGroupName: "STRING_VALUE", // required * }; * const command = new DeleteClusterSubnetGroupCommand(input); * const response = await client.send(command); * // {}; * * ``` * * @param DeleteClusterSubnetGroupCommandInput - {@link DeleteClusterSubnetGroupCommandInput} * @returns {@link DeleteClusterSubnetGroupCommandOutput} * @see {@link DeleteClusterSubnetGroupCommandInput} for command's `input` shape. * @see {@link DeleteClusterSubnetGroupCommandOutput} for command's `response` shape. * @see {@link RedshiftClientResolvedConfig | config} for RedshiftClient's `config` shape. * * @throws {@link ClusterSubnetGroupNotFoundFault} (client fault) *

The cluster subnet group name does not refer to an existing cluster subnet * group.

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

The cluster subnet group cannot be deleted because it is in use.

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

The state of the subnet is invalid.

* * @throws {@link RedshiftServiceException} *

Base exception class for all service exceptions from Redshift service.

* * * @public */ export declare class DeleteClusterSubnetGroupCommand extends DeleteClusterSubnetGroupCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DeleteClusterSubnetGroupMessage; output: {}; }; sdk: { input: DeleteClusterSubnetGroupCommandInput; output: DeleteClusterSubnetGroupCommandOutput; }; }; }