update_preset
¶
update_preset(
name: __string,
*,
config_overrides: Optional[MediaConvertClientConfig] = 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/media_convert.py
2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 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 | |