

# ChannelRetentionSettings
<a name="API_ChannelRetentionSettings"></a>

The details of the retention settings for a channel.

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

 ** RetentionDays **   <a name="chimesdk-Type-ChannelRetentionSettings-RetentionDays"></a>
The time in days to retain the messages in a channel.  
Type: Integer  
Valid Range: Minimum value of 1. Maximum value of 5475.  
Required: No

## See Also
<a name="API_ChannelRetentionSettings_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-sdk-identity-2021-04-20/ChannelRetentionSettings) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/chime-sdk-identity-2021-04-20/ChannelRetentionSettings) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/chime-sdk-identity-2021-04-20/ChannelRetentionSettings) 