update_preset
async
¶
update_preset(
name: __string,
*,
config_overrides: Optional[AsyncMediaConvertClientConfig] = None,
category: Optional[__string] = None,
description: Optional[__string] = None,
settings: Optional[PresetSettings] = None,
) -> UpdatePresetResponse
Modify one of your existing presets.
Parameters:
-
category(Optional[__string], default:None) –The new category for the preset, if you are changing it.
-
description(Optional[__string], default:None) –The new description for the preset, if you are changing it.
-
name(__string) –The name of the preset you are modifying.
-
settings(Optional[PresetSettings], default:None) –Settings for preset
Raises:
-
BadRequestException–The service can't process your request because of a problem in the request. Please check your request form and syntax.
-
ConflictException–The service couldn't complete your request because there is a conflict with the current state of the resource.
-
ForbiddenException–You don't have permissions for this action with the credentials you sent.
-
InternalServerErrorException–The service encountered an unexpected condition and can't fulfill your request.
-
NotFoundException–The resource you requested doesn't exist.
-
ServiceQuotaExceededException–You attempted to create more resources than the service allows based on service quotas.
-
TooManyRequestsException–Too many requests have been sent in too short of a time. The service limits the rate at which it will accept requests.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_mediaconvert/_services/async_media_convert.py
2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 | |