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
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 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 | |