Regulating the energy flow in a cyanobacterial light-harvesting antenna complex