update_benefit_application
¶
update_benefit_application(
catalog: CatalogName,
client_token: str,
identifier: BenefitApplicationIdentifier,
revision: str,
*,
config_overrides: Optional[PartnerCentralBenefitsClientConfig] = None,
name: Optional[BenefitApplicationName] = None,
description: Optional[BenefitApplicationDescription] = None,
benefit_application_details: Optional[object] = None,
partner_contacts: Optional[Contacts] = None,
file_details: Optional[FileInputDetails] = None,
) -> UpdateBenefitApplicationOutput
Updates an existing benefit application with new information while maintaining revision control.
Parameters:
-
catalog(CatalogName) –The catalog identifier that specifies which benefit catalog the application belongs to.
-
client_token(str) –A unique, case-sensitive identifier to ensure idempotent processing of the update request.
-
name(Optional[BenefitApplicationName], default:None) –The updated human-readable name for the benefit application.
-
description(Optional[BenefitApplicationDescription], default:None) –The updated detailed description of the benefit application.
-
identifier(BenefitApplicationIdentifier) –The unique identifier of the benefit application to update.
-
revision(str) –The current revision number of the benefit application to ensure optimistic concurrency control.
-
benefit_application_details(Optional[object], default:None) –Updated detailed information and requirements specific to the benefit being requested.
-
partner_contacts(Optional[Contacts], default:None) –Updated contact information for partner representatives responsible for this benefit application.
-
file_details(Optional[FileInputDetails], default:None) –Updated supporting documents and files attached to the benefit application.
Raises:
-
AccessDeniedException–Thrown when the caller does not have sufficient permissions to perform the requested operation.
-
ConflictException–Thrown when the request conflicts with the current state of the resource, such as attempting to modify a resource that has been changed by another process.
-
InternalServerException–Thrown when an unexpected error occurs on the server side during request processing.
-
ResourceNotFoundException–Thrown when the requested resource cannot be found or does not exist.
-
ThrottlingException–Thrown when the request rate exceeds the allowed limits and the request is being throttled.
-
ValidationException–Thrown when the request contains invalid parameters or fails input validation requirements.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_partnercentral_benefits/_services/partner_central_benefits.py
1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 | |