

**End of support notice**: On February 20, 2026, AWS will end support for the Amazon Chime service. After February 20, 2026, you will no longer be able to access the Amazon Chime console or Amazon Chime application resources. For more information, visit the [blog post](https://aws.amazon.com/blogs/messaging-and-targeting/update-on-support-for-amazon-chime/). **Note:** This does not impact the availability of the [Amazon Chime SDK service](https://aws.amazon.com/chime/chime-sdk/).

# RoomRetentionSettings
<a name="API_RoomRetentionSettings"></a>

The retention settings that determine how long to retain chat-room messages for an Amazon Chime Enterprise account.

## Contents
<a name="API_RoomRetentionSettings_Contents"></a>

 ** RetentionDays **   <a name="chime-Type-RoomRetentionSettings-RetentionDays"></a>
The number of days for which to retain chat-room messages.  
Type: Integer  
Valid Range: Minimum value of 1. Maximum value of 5475.  
Required: No

## See Also
<a name="API_RoomRetentionSettings_SeeAlso"></a>

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/chime-2018-05-01/RoomRetentionSettings) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/chime-2018-05-01/RoomRetentionSettings) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/chime-2018-05-01/RoomRetentionSettings) 