Skip to content

RetentionPeriod

Source code in docs_src/capo_iotsitewise/types/retention_period.py
class RetentionPeriod(TypedDict, closed=True):
    number_of_days: NotRequired["capo_iotsitewise.types.number_of_days.NumberOfDays"]
    """<p>The number of days that your data is kept.</p> <note> <p>If you specified a value for this parameter, the <code>unlimited</code> parameter must be <code>false</code>.</p> </note>"""
    unlimited: NotRequired["capo_iotsitewise.types.unlimited.Unlimited"]
    """<p>If true, your data is kept indefinitely.</p> <note> <p>If configured to <code>true</code>, you must not specify a value for the <code>numberOfDays</code> parameter.</p> </note>"""

number_of_days instance-attribute

number_of_days: NotRequired[NumberOfDays]

The number of days that your data is kept.

If you specified a value for this parameter, the unlimited parameter must be false.

unlimited instance-attribute

unlimited: NotRequired[Unlimited]

If true, your data is kept indefinitely.

If configured to true, you must not specify a value for the numberOfDays parameter.