Chime / Client / list_channel_moderators
list_channel_moderators#
- Chime.Client.list_channel_moderators(**kwargs)#
- Lists all the moderators for a channel. - Note- The - x-amz-chime-bearerrequest header is mandatory. Use the- AppInstanceUserArnof the user that makes the API call as the value in the header.- Warning- This API is is no longer supported and will not be updated. We recommend using the latest version, ListChannelModerators, in the Amazon Chime SDK. - Using the latest version requires migrating to a dedicated namespace. For more information, refer to Migrating from the Amazon Chime namespace in the Amazon Chime SDK Developer Guide. - Danger- This operation is deprecated and may not function as expected. This operation should not be used going forward and is only kept for the purpose of backwards compatiblity. - See also: AWS API Documentation - Request Syntax- response = client.list_channel_moderators( ChannelArn='string', MaxResults=123, NextToken='string', ChimeBearer='string' ) - Parameters:
- ChannelArn (string) – - [REQUIRED] - The ARN of the channel. 
- MaxResults (integer) – The maximum number of moderators that you want returned. 
- NextToken (string) – The token passed by previous API calls until all requested moderators are returned. 
- ChimeBearer (string) – The - AppInstanceUserArnof the user that makes the API call.
 
- Return type:
- dict 
- Returns:
- Response Syntax- { 'ChannelArn': 'string', 'NextToken': 'string', 'ChannelModerators': [ { 'Moderator': { 'Arn': 'string', 'Name': 'string' } }, ] } - Response Structure- (dict) – - ChannelArn (string) – - The ARN of the channel. 
- NextToken (string) – - The token passed by previous API calls until all requested moderators are returned. 
- ChannelModerators (list) – - The information about and names of each moderator. - (dict) – - Summary of the details of a - ChannelModerator.- Moderator (dict) – - The data for a moderator. - Arn (string) – - The ARN in an Identity. 
- Name (string) – - The name in an Identity. 
 
 
 
 
 
 - Exceptions- Chime.Client.exceptions.BadRequestException
- Chime.Client.exceptions.ForbiddenException
- Chime.Client.exceptions.UnauthorizedClientException
- Chime.Client.exceptions.ThrottledClientException
- Chime.Client.exceptions.ServiceUnavailableException
- Chime.Client.exceptions.ServiceFailureException