

# ChannelBan
<a name="API_messaging-chime_ChannelBan"></a>

The details of a channel ban.

## Contents
<a name="API_messaging-chime_ChannelBan_Contents"></a>

 ** ChannelArn **   <a name="chimesdk-Type-messaging-chime_ChannelBan-ChannelArn"></a>
The ARN of the channel from which a member is being banned.  
Type: String  
Length Constraints: Minimum length of 5. Maximum length of 1600.  
Pattern: `arn:[a-z0-9-\.]{1,63}:[a-z0-9-\.]{0,63}:[a-z0-9-\.]{0,63}:[a-z0-9-\.]{0,63}:[^/].{0,1023}`   
Required: No

 ** CreatedBy **   <a name="chimesdk-Type-messaging-chime_ChannelBan-CreatedBy"></a>
The `AppInstanceUser` who created the ban.  
Type: [Identity](API_messaging-chime_Identity.md) object  
Required: No

 ** CreatedTimestamp **   <a name="chimesdk-Type-messaging-chime_ChannelBan-CreatedTimestamp"></a>
The time at which the ban was created.  
Type: Timestamp  
Required: No

 ** Member **   <a name="chimesdk-Type-messaging-chime_ChannelBan-Member"></a>
The member being banned from the channel.  
Type: [Identity](API_messaging-chime_Identity.md) object  
Required: No

## See Also
<a name="API_messaging-chime_ChannelBan_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-messaging-2021-05-15/ChannelBan) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/chime-sdk-messaging-2021-05-15/ChannelBan) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/chime-sdk-messaging-2021-05-15/ChannelBan) 