ChimeSDKMessaging / Client / delete_channel_ban
delete_channel_ban#
- ChimeSDKMessaging.Client.delete_channel_ban(**kwargs)#
Removes a member from a channel’s ban list.
Note
The
x-amz-chime-bearerrequest header is mandatory. Use the ARN of theAppInstanceUserorAppInstanceBotthat makes the API call as the value in the header.See also: AWS API Documentation
Request Syntax
response = client.delete_channel_ban( ChannelArn='string', MemberArn='string', ChimeBearer='string' )
- Parameters:
ChannelArn (string) –
[REQUIRED]
The ARN of the channel from which the
AppInstanceUserwas banned.MemberArn (string) –
[REQUIRED]
The ARN of the
AppInstanceUserthat you want to reinstate.ChimeBearer (string) –
[REQUIRED]
The ARN of the
AppInstanceUserorAppInstanceBotthat makes the API call.
- Returns:
None
Exceptions
ChimeSDKMessaging.Client.exceptions.BadRequestExceptionChimeSDKMessaging.Client.exceptions.ForbiddenExceptionChimeSDKMessaging.Client.exceptions.UnauthorizedClientExceptionChimeSDKMessaging.Client.exceptions.ThrottledClientExceptionChimeSDKMessaging.Client.exceptions.ServiceUnavailableExceptionChimeSDKMessaging.Client.exceptions.ServiceFailureException