deleteChannel

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.

Samples

// To delete a channel
val resp = kinesisClient.deleteChannel {
    channelArn = "arn:aws:kinesis:us-east-1:123456789012:channel/my-channel-id"
}