import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { DeleteChannelInput } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link DeleteChannelCommand}. */ export interface DeleteChannelCommandInput extends DeleteChannelInput { } /** * @public * * The output of {@link DeleteChannelCommand}. */ export interface DeleteChannelCommandOutput extends __MetadataBearer { } declare const DeleteChannelCommand_base: { new (input: DeleteChannelCommandInput): import("@smithy/core/client").CommandImpl; new (input: DeleteChannelCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Deletes the specified channel. Deleting a channel stops delivery from the source stream to the destination. Data already delivered to the destination is not deleted.

*

A stream cannot be deleted while it has active channels. To delete the stream, first delete all channels attached to it. To find them, use ListChannels with a stream filter.

*

This operation has a call limit of 5 transactions per second (TPS) for each Amazon Web Services account. Exceeding 5 TPS results in a LimitExceededException.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { KinesisClient, DeleteChannelCommand } from "@aws-sdk/client-kinesis"; // ES Modules import * // const { KinesisClient, DeleteChannelCommand } = require("@aws-sdk/client-kinesis"); // CommonJS import * // import type { KinesisClientConfig } from "@aws-sdk/client-kinesis"; * const config = {}; // type is KinesisClientConfig * const client = new KinesisClient(config); * const input = { // DeleteChannelInput * ChannelARN: "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 KinesisClientResolvedConfig | config} for KinesisClient's `config` shape. * * @throws {@link AccessDeniedException} (client fault) *

Specifies that you do not have the permissions required to perform this * operation.

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

A specified parameter exceeds its restrictions, is not supported, or can't be used. * For more information, see the returned message.

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

The requested resource exceeds the maximum number allowed, or the number of concurrent * stream requests exceeds the maximum number allowed.

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

The requested resource could not be found. The stream might not be specified * correctly.

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

Specifies that you tried to invoke this API for a data stream with the on-demand * capacity mode. This API is only supported for data streams with the provisioned capacity * mode.

* * @throws {@link KinesisServiceException} *

Base exception class for all service exceptions from Kinesis service.

* * * @example To delete a channel * ```javascript * // * const input = { * ChannelARN: "arn:aws:kinesis:us-east-1:123456789012:channel/my-channel-id" * }; * const command = new DeleteChannelCommand(input); * const response = await client.send(command); * /* response is * { /* empty *\/ } * *\/ * ``` * * @public */ export declare class DeleteChannelCommand extends DeleteChannelCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DeleteChannelInput; output: {}; }; sdk: { input: DeleteChannelCommandInput; output: DeleteChannelCommandOutput; }; }; }