mirror of
https://github.com/floci-io/floci.git
synced 2026-11-29 08:31:53 -05:00
StartConfigurationRecorder marked a customer managed recorder as recording, with a new start time, even when its account and Region had no delivery channel. It now refuses that start with HTTP 400 NoAvailableDeliveryChannelException, "Delivery channel is not available to start configuration recorder.", and leaves the recorder's status as it was, as AWS does. A missing recorder still answers NoSuchConfigurationRecorderException first. The start and DeleteDeliveryChannel take the same recorder lock, so a concurrent delete can't leave a recorder running without its channel. Co-authored-by: Andre Kurait <akurait@amazon.com>