execute_budget_action

Budgets.Client.execute_budget_action(**kwargs)

Executes a budget action.

See also: AWS API Documentation

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'
)
Parameters
  • AccountId (string) --

    [REQUIRED]

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

  • BudgetName (string) --

    [REQUIRED]

    A string that represents the budget name. The ":" and "" characters aren't allowed.

  • ActionId (string) --

    [REQUIRED]

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

  • ExecutionType (string) --

    [REQUIRED]

    The type of execution.

Return type

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 aren't allowed.

    • ActionId (string) --

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

    • ExecutionType (string) --

      The type of execution.

Exceptions

  • Budgets.Client.exceptions.InternalErrorException
  • Budgets.Client.exceptions.InvalidParameterException
  • Budgets.Client.exceptions.NotFoundException
  • Budgets.Client.exceptions.AccessDeniedException
  • Budgets.Client.exceptions.ResourceLockedException
  • Budgets.Client.exceptions.ThrottlingException