import { Command as $Command } from "@smithy/smithy-client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { ConfigServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConfigServiceClient"; import type { DeleteDeliveryChannelRequest } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link DeleteDeliveryChannelCommand}. */ export interface DeleteDeliveryChannelCommandInput extends DeleteDeliveryChannelRequest { } /** * @public * * The output of {@link DeleteDeliveryChannelCommand}. */ export interface DeleteDeliveryChannelCommandOutput extends __MetadataBearer { } declare const DeleteDeliveryChannelCommand_base: { new (input: DeleteDeliveryChannelCommandInput): import("@smithy/smithy-client").CommandImpl; new (input: DeleteDeliveryChannelCommandInput): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Deletes the delivery channel.

*

Before you can delete the delivery channel, you must stop the customer managed configuration recorder. You can use the StopConfigurationRecorder operation to stop the customer managed configuration recorder.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { ConfigServiceClient, DeleteDeliveryChannelCommand } from "@aws-sdk/client-config-service"; // ES Modules import * // const { ConfigServiceClient, DeleteDeliveryChannelCommand } = require("@aws-sdk/client-config-service"); // CommonJS import * // import type { ConfigServiceClientConfig } from "@aws-sdk/client-config-service"; * const config = {}; // type is ConfigServiceClientConfig * const client = new ConfigServiceClient(config); * const input = { // DeleteDeliveryChannelRequest * DeliveryChannelName: "STRING_VALUE", // required * }; * const command = new DeleteDeliveryChannelCommand(input); * const response = await client.send(command); * // {}; * * ``` * * @param DeleteDeliveryChannelCommandInput - {@link DeleteDeliveryChannelCommandInput} * @returns {@link DeleteDeliveryChannelCommandOutput} * @see {@link DeleteDeliveryChannelCommandInput} for command's `input` shape. * @see {@link DeleteDeliveryChannelCommandOutput} for command's `response` shape. * @see {@link ConfigServiceClientResolvedConfig | config} for ConfigServiceClient's `config` shape. * * @throws {@link LastDeliveryChannelDeleteFailedException} (client fault) *

You cannot delete the delivery channel you specified because the customer managed configuration recorder is running.

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

You have specified a delivery channel that does not * exist.

* * @throws {@link ConfigServiceServiceException} *

Base exception class for all service exceptions from ConfigService service.

* * * @public */ export declare class DeleteDeliveryChannelCommand extends DeleteDeliveryChannelCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DeleteDeliveryChannelRequest; output: {}; }; sdk: { input: DeleteDeliveryChannelCommandInput; output: DeleteDeliveryChannelCommandOutput; }; }; }