update_channel
async
¶
update_channel(
id: __string,
*,
config_overrides: Optional[AsyncMediaPackageClientConfig] = None,
description: Optional[__string] = None,
) -> UpdateChannelResponse
Updates an existing Channel.
Parameters:
-
description(Optional[__string], default:None) –A short text description of the Channel.
-
id(__string) –The ID of the Channel to update.
Raises:
-
ForbiddenException–The client is not authorized to access the requested resource.
-
InternalServerErrorException–An unexpected error occurred.
-
NotFoundException–The requested resource does not exist.
-
ServiceUnavailableException–An unexpected error occurred.
-
TooManyRequestsException–The client has exceeded their resource or throttling limits.
-
UnprocessableEntityException–The parameters sent in the request are not valid.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_mediapackage/_services/async_media_package.py
1292 1293 1294 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 | |