update_channel
¶
update_channel(
space_id: SpaceId,
channel_id: ChannelId,
channel_name: ChannelName,
*,
config_overrides: Optional[repostspaceClientConfig] = None,
channel_description: Optional[ChannelDescription] = None,
) -> UpdateChannelOutput
Modifies an existing channel.
Parameters:
-
space_id(SpaceId) –The unique ID of the private re:Post.
-
channel_id(ChannelId) –The unique ID of the private re:Post channel.
-
channel_name(ChannelName) –The name for the channel. This must be unique per private re:Post.
-
channel_description(Optional[ChannelDescription], default:None) –A description for the channel. This is used only to help you identify this channel.
Raises:
-
AccessDeniedException–User does not have sufficient access to perform this action.
-
ConflictException–Updating or deleting a resource can cause an inconsistent state.
-
InternalServerException–Unexpected error during processing of request.
-
ResourceNotFoundException–Request references a resource which does not exist.
-
ThrottlingException–Request was denied due to request throttling.
-
ValidationException–The input fails to satisfy the constraints specified by an AWS service.
-
UnknownServiceError–The service returned an error code this client does not model.
Examples:
UpdateChannel
>>> client.update_channel(space_id='SP1234567890abcdefghijkl', channel_id='WS1234567890abcdefghijkl', channel_name='Better Channel', channel_description='Better channel description')
Source code in docs_src/capo_repostspace/_services/repostspace.py
1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 | |