:doc:`PartnerCentralBenefits <../../partnercentral-benefits>` / Client / amend_benefit_application

*************************
amend_benefit_application
*************************



.. py:method:: PartnerCentralBenefits.Client.amend_benefit_application(**kwargs)

  

  Modifies an existing benefit application by applying amendments to specific fields while maintaining revision control.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/partnercentral-benefits-2018-05-10/AmendBenefitApplication>`_  


  **Request Syntax**
  ::

    response = client.amend_benefit_application(
        Catalog='string',
        ClientToken='string',
        Revision='string',
        Identifier='string',
        AmendmentReason='string',
        Amendments=[
            {
                'FieldPath': 'string',
                'NewValue': 'string'
            },
        ]
    )
    
  :type Catalog: string
  :param Catalog: **[REQUIRED]** 

    The catalog identifier that specifies which benefit catalog the application belongs to.

    

  
  :type ClientToken: string
  :param ClientToken: **[REQUIRED]** 

    A unique, case-sensitive identifier to ensure idempotent processing of the amendment request.

    

  
  :type Revision: string
  :param Revision: **[REQUIRED]** 

    The current revision number of the benefit application to ensure optimistic concurrency control.

    

  
  :type Identifier: string
  :param Identifier: **[REQUIRED]** 

    The unique identifier of the benefit application to be amended.

    

  
  :type AmendmentReason: string
  :param AmendmentReason: **[REQUIRED]** 

    A descriptive reason explaining why the benefit application is being amended.

    

  
  :type Amendments: list
  :param Amendments: **[REQUIRED]** 

    A list of specific field amendments to apply to the benefit application.

    

  
    - *(dict) --* 

      Represents a specific change to be made to a benefit application field.

      

    
      - **FieldPath** *(string) --* **[REQUIRED]** 

        The JSON path or field identifier specifying which field in the benefit application to modify.

        

      
      - **NewValue** *(string) --* **[REQUIRED]** 

        The new value to set for the specified field in the benefit application.

        

      
    

  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 
  
  **Exceptions**
  
  *   :py:class:`PartnerCentralBenefits.Client.exceptions.ValidationException`

  
  *   :py:class:`PartnerCentralBenefits.Client.exceptions.AccessDeniedException`

  
  *   :py:class:`PartnerCentralBenefits.Client.exceptions.InternalServerException`

  
  *   :py:class:`PartnerCentralBenefits.Client.exceptions.ConflictException`

  
  *   :py:class:`PartnerCentralBenefits.Client.exceptions.ThrottlingException`

  
  *   :py:class:`PartnerCentralBenefits.Client.exceptions.ResourceNotFoundException`

  