amend_benefit_application
¶
amend_benefit_application(
catalog: CatalogName,
client_token: str,
revision: str,
identifier: BenefitApplicationIdentifier,
amendment_reason: str,
amendments: AmendmentList,
*,
config_overrides: Optional[PartnerCentralBenefitsClientConfig] = None,
) -> AmendBenefitApplicationOutput
Modifies an existing benefit application by applying amendments to specific fields 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 amendment request.
-
revision(str) –The current revision number of the benefit application to ensure optimistic concurrency control.
-
identifier(BenefitApplicationIdentifier) –The unique identifier of the benefit application to be amended.
-
amendment_reason(str) –A descriptive reason explaining why the benefit application is being amended.
-
amendments(AmendmentList) –A list of specific field amendments to apply 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.