Chime / Client / update_channel
update_channel#
- Chime.Client.update_channel(**kwargs)#
- Update a channel’s attributes. - Restriction: You can’t change a channel’s privacy. - 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, UpdateChannel, 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.update_channel( ChannelArn='string', Name='string', Mode='UNRESTRICTED'|'RESTRICTED', Metadata='string', ChimeBearer='string' ) - Parameters:
- ChannelArn (string) – - [REQUIRED] - The ARN of the channel. 
- Name (string) – - [REQUIRED] - The name of the channel. 
- Mode (string) – - [REQUIRED] - The mode of the update request. 
- Metadata (string) – The metadata for the update request. 
- ChimeBearer (string) – The - AppInstanceUserArnof the user that makes the API call.
 
- Return type:
- dict 
- Returns:
- Response Syntax- { 'ChannelArn': 'string' } - Response Structure- (dict) – - ChannelArn (string) – - The ARN of the channel. 
 
 
 - Exceptions- Chime.Client.exceptions.BadRequestException
- Chime.Client.exceptions.ForbiddenException
- Chime.Client.exceptions.ConflictException
- Chime.Client.exceptions.UnauthorizedClientException
- Chime.Client.exceptions.ThrottledClientException
- Chime.Client.exceptions.ServiceUnavailableException
- Chime.Client.exceptions.ServiceFailureException