Create a BillingRule.
The access token received from the authorization server in the OAuth 2.0 flow.
Create a BillingRule.
The type of the BillingRule. Note: the values are case insensitive.
exclusion, adjustment, credit, charge, custom The title of the BillingRule.
The start period of the BillingRule. DEPRECATED: use start_date instead.
The start date of the BillingRule. ISO 8601 formatted.
The end date of the BillingRule. ISO 8601 formatted.
Determines if the BillingRule applies to all current and future managed accounts.
The charge type of the BillingRule. Required for Exclusion rules.
The percentage of the cost shown. Required for Adjustment rules. Example value: 75.0
The service of the BillingRule. Required for Charge and Credit rules.
The category of the BillingRule. Required for Charge and Credit rules.
The subcategory of the BillingRule. Required for Charge and Credit rules.
The amount for the BillingRule. Required for Charge and Credit rules. Example value: 300
The SQL query for the BillingRule. Required for Custom rules. Example value: UPDATE costs SET costs.amount = costs.amount * 0.95
BillingRule model
The title of the BillingRule.
"Credit for Unused EC2 Instances"
The type of the BillingRule.
"credit"
The start date of the BillingRule.
"2024-06-28T00:00:00Z"
The end date of the BillingRule.
"2024-06-28T00:00:00Z"
Whether the BillingRule applies to all future managed accounts.
true
The token of the Creator of the BillingRule.
"usr_1234"
The date and time, in UTC, the BillingRule was created. ISO 8601 Formatted.
"2024-06-28T00:00:00Z"
The service for the BillingRule (Charge).
"AWS Cloudfront"
The category for the BillingRule (Charge).
"MSP Fee"
The percentage of the cost shown for the BillingRule (Adjustment).
"75.0"
The charge type for the BillingRule.
"RIFee"
The subcategory for the BillingRule (Charge).
"One-time"
The start period for the BillingRule (Charge).
"2024-05-01"
The amount for the BillingRule (Charge).
"5000.25"
The SQL query for the BillingRule (Custom).
"UPDATE costs SET costs.amount = costs.amount * 0.95"