:doc:`Budgets <../../budgets>` / Client / execute_budget_action

*********************
execute_budget_action
*********************



.. py:method:: Budgets.Client.execute_budget_action(**kwargs)

  

  Executes a budget action.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/budgets-2016-10-20/ExecuteBudgetAction>`_  


  **Request Syntax**
  ::

    response = client.execute_budget_action(
        AccountId='string',
        BudgetName='string',
        ActionId='string',
        ExecutionType='APPROVE_BUDGET_ACTION'|'RETRY_BUDGET_ACTION'|'REVERSE_BUDGET_ACTION'|'RESET_BUDGET_ACTION'
    )
    
  :type AccountId: string
  :param AccountId: **[REQUIRED]** 

    The account ID of the user. It's a 12-digit number.

    

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

    A string that represents the budget name. The ":" and "\" characters, and the "/action/" substring, aren't allowed.

    

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

    A system-generated universally unique identifier (UUID) for the action.

    

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

    The type of execution.

    

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

    
    ::

      {
          'AccountId': 'string',
          'BudgetName': 'string',
          'ActionId': 'string',
          'ExecutionType': 'APPROVE_BUDGET_ACTION'|'RETRY_BUDGET_ACTION'|'REVERSE_BUDGET_ACTION'|'RESET_BUDGET_ACTION'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **AccountId** *(string) --* 

        The account ID of the user. It's a 12-digit number.

        
      

      - **BudgetName** *(string) --* 

        A string that represents the budget name. The ":" and "\" characters, and the "/action/" substring, aren't allowed.

        
      

      - **ActionId** *(string) --* 

        A system-generated universally unique identifier (UUID) for the action.

        
      

      - **ExecutionType** *(string) --* 

        The type of execution.

        
  
  **Exceptions**
  
  *   :py:class:`Budgets.Client.exceptions.InternalErrorException`

  
  *   :py:class:`Budgets.Client.exceptions.InvalidParameterException`

  
  *   :py:class:`Budgets.Client.exceptions.NotFoundException`

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

  
  *   :py:class:`Budgets.Client.exceptions.ResourceLockedException`

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

  