Skip to content

/AWS1/CL_BGT=>CREATEBUDGET()

About CreateBudget

Creates a budget and, if included, notifications and subscribers.

Only one of BudgetLimit or PlannedBudgetLimits can be present in the syntax at one time. Use the syntax that matches your case. The Request Syntax section shows the BudgetLimit syntax. For PlannedBudgetLimits, see the Examples section.

Method Signature

IMPORTING

Required arguments:

IV_ACCOUNTID TYPE /AWS1/BGTACCOUNTID /AWS1/BGTACCOUNTID

The accountId that is associated with the budget.

IO_BUDGET TYPE REF TO /AWS1/CL_BGTBUDGET /AWS1/CL_BGTBUDGET

The budget object that you want to create.

Optional arguments:

IT_NOTIFSWITHSUBSCRIBERS TYPE /AWS1/CL_BGTNOTIFWITHSUBRS=>TT_NOTIFWITHSUBSCRIBERSLIST TT_NOTIFWITHSUBSCRIBERSLIST

A notification that you want to associate with a budget. A budget can have up to five notifications, and each notification can have one SNS subscriber and up to 10 email subscribers. If you include notifications and subscribers in your CreateBudget call, Amazon Web Services creates the notifications and subscribers for you.

IT_RESOURCETAGS TYPE /AWS1/CL_BGTRESOURCETAG=>TT_RESOURCETAGLIST TT_RESOURCETAGLIST

An optional list of tags to associate with the specified budget. Each tag consists of a key and a value, and each key must be unique for the resource.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_BGTCREATEBUDGETRSP /AWS1/CL_BGTCREATEBUDGETRSP