Add the lifecycle for a bucket for by days and date
Get the lifecycle of a bucket