import { Command as $Command } from "@smithy/smithy-client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { CloudTrailClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudTrailClient"; import type { DeleteChannelRequest, DeleteChannelResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link DeleteChannelCommand}. */ export interface DeleteChannelCommandInput extends DeleteChannelRequest { } /** * @public * * The output of {@link DeleteChannelCommand}. */ export interface DeleteChannelCommandOutput extends DeleteChannelResponse, __MetadataBearer { } declare const DeleteChannelCommand_base: { new (input: DeleteChannelCommandInput): import("@smithy/smithy-client").CommandImpl; new (input: DeleteChannelCommandInput): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Deletes a channel.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { CloudTrailClient, DeleteChannelCommand } from "@aws-sdk/client-cloudtrail"; // ES Modules import * // const { CloudTrailClient, DeleteChannelCommand } = require("@aws-sdk/client-cloudtrail"); // CommonJS import * // import type { CloudTrailClientConfig } from "@aws-sdk/client-cloudtrail"; * const config = {}; // type is CloudTrailClientConfig * const client = new CloudTrailClient(config); * const input = { // DeleteChannelRequest * Channel: "STRING_VALUE", // required * }; * const command = new DeleteChannelCommand(input); * const response = await client.send(command); * // {}; * * ``` * * @param DeleteChannelCommandInput - {@link DeleteChannelCommandInput} * @returns {@link DeleteChannelCommandOutput} * @see {@link DeleteChannelCommandInput} for command's `input` shape. * @see {@link DeleteChannelCommandOutput} for command's `response` shape. * @see {@link CloudTrailClientResolvedConfig | config} for CloudTrailClient's `config` shape. * * @throws {@link ChannelARNInvalidException} (client fault) *

This exception is thrown when the specified value of ChannelARN is not * valid.

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

This exception is thrown when CloudTrail cannot find the specified channel.

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

This exception is thrown when the requested operation is not permitted.

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

This exception is thrown when the requested operation is not supported.

* * @throws {@link CloudTrailServiceException} *

Base exception class for all service exceptions from CloudTrail service.

* * * @public */ export declare class DeleteChannelCommand extends DeleteChannelCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DeleteChannelRequest; output: {}; }; sdk: { input: DeleteChannelCommandInput; output: DeleteChannelCommandOutput; }; }; }