Input to setRetention: RetentionOptions with maxAge as any Duration input.
maxAge
Optional
Maximum age of an item, measured from its append timestamp; must be positive and finite.
Maximum number of items kept; an integer of at least 1.
Input to setRetention: RetentionOptions with
maxAgeas any Duration input.