

# RetentionPeriod


The number of days your data is kept in the hot tier. By default, your data is kept indefinitely in the hot tier.

## Contents


 ** numberOfDays **   <a name="iotsitewise-Type-RetentionPeriod-numberOfDays"></a>
The number of days that your data is kept.  
If you specified a value for this parameter, the `unlimited` parameter must be `false`.
Type: Integer  
Required: No

 ** unlimited **   <a name="iotsitewise-Type-RetentionPeriod-unlimited"></a>
If true, your data is kept indefinitely.  
If configured to `true`, you must not specify a value for the `numberOfDays` parameter.
Type: Boolean  
Required: No

## See Also


For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/iotsitewise-2019-12-02/RetentionPeriod) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/iotsitewise-2019-12-02/RetentionPeriod) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/iotsitewise-2019-12-02/RetentionPeriod) 