update_channel
¶
update_channel(
channel_arn: ChimeArn,
chime_bearer: ChimeArn,
*,
config_overrides: Optional[ChimeSDKMessagingClientConfig] = None,
name: Optional[NonEmptyResourceName] = None,
mode: Optional[ChannelMode] = None,
metadata: Optional[Metadata] = None,
) -> UpdateChannelResponse
Update a channel's attributes.
Restriction: You can't change a channel's privacy.
The x-amz-chime-bearer request header is mandatory. Use the ARN of the AppInstanceUser or AppInstanceBot that makes the API call as the value in the header.
Parameters:
-
channel_arn(ChimeArn) –The ARN of the channel.
-
name(Optional[NonEmptyResourceName], default:None) –The name of the channel.
-
mode(Optional[ChannelMode], default:None) –The mode of the update request.
-
metadata(Optional[Metadata], default:None) –The metadata for the update request.
-
chime_bearer(ChimeArn) –The ARN of the
AppInstanceUserorAppInstanceBotthat makes the API call.
Raises:
-
BadRequestException–The input parameters don't match the service's restrictions.
-
ConflictException–The request could not be processed because of conflict in the current state of the resource.
-
ForbiddenException–The client is permanently forbidden from making the request.
-
ServiceFailureException–The service encountered an unexpected error.
-
ServiceUnavailableException–The service is currently unavailable.
-
ThrottledClientException–The client exceeded its request rate limit.
-
UnauthorizedClientException–The client is not currently authorized to make the request.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_chime_sdk_messaging/_services/chime_sdk_messaging.py
4007 4008 4009 4010 4011 4012 4013 4014 4015 4016 4017 4018 4019 4020 4021 4022 4023 4024 4025 4026 4027 4028 4029 4030 4031 4032 4033 4034 4035 4036 4037 4038 4039 4040 4041 4042 4043 4044 4045 4046 4047 4048 4049 4050 4051 4052 4053 4054 4055 4056 4057 4058 4059 4060 4061 4062 4063 4064 4065 4066 4067 4068 4069 4070 4071 4072 4073 4074 4075 4076 4077 4078 4079 4080 4081 4082 4083 4084 4085 4086 4087 | |