{ "version":"2.0", "metadata":{ "apiVersion":"2016-10-20", "endpointPrefix":"budgets", "jsonVersion":"1.1", "protocol":"json", "serviceAbbreviation":"AWSBudgets", "serviceFullName":"AWS Budgets", "signatureVersion":"v4", "targetPrefix":"AWSBudgetServiceGateway", "uid":"budgets-2016-10-20" }, "operations":{ "CreateBudget":{ "name":"CreateBudget", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"CreateBudgetRequest"}, "output":{"shape":"CreateBudgetResponse"}, "errors":[ {"shape":"InvalidParameterException"}, {"shape":"InternalErrorException"}, {"shape":"CreationLimitExceededException"}, {"shape":"DuplicateRecordException"} ], "documentation":"

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

" }, "CreateNotification":{ "name":"CreateNotification", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"CreateNotificationRequest"}, "output":{"shape":"CreateNotificationResponse"}, "errors":[ {"shape":"InternalErrorException"}, {"shape":"InvalidParameterException"}, {"shape":"NotFoundException"}, {"shape":"CreationLimitExceededException"}, {"shape":"DuplicateRecordException"} ], "documentation":"

Creates a notification. You must create the budget before you create the associated notification.

" }, "CreateSubscriber":{ "name":"CreateSubscriber", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"CreateSubscriberRequest"}, "output":{"shape":"CreateSubscriberResponse"}, "errors":[ {"shape":"InternalErrorException"}, {"shape":"InvalidParameterException"}, {"shape":"CreationLimitExceededException"}, {"shape":"DuplicateRecordException"}, {"shape":"NotFoundException"} ], "documentation":"

Creates a subscriber. You must create the associated budget and notification before you create the subscriber.

" }, "DeleteBudget":{ "name":"DeleteBudget", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"DeleteBudgetRequest"}, "output":{"shape":"DeleteBudgetResponse"}, "errors":[ {"shape":"InternalErrorException"}, {"shape":"InvalidParameterException"}, {"shape":"NotFoundException"} ], "documentation":"

Deletes a budget. You can delete your budget at any time.

Deleting a budget also deletes the notifications and subscribers associated with that budget.

" }, "DeleteNotification":{ "name":"DeleteNotification", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"DeleteNotificationRequest"}, "output":{"shape":"DeleteNotificationResponse"}, "errors":[ {"shape":"InvalidParameterException"}, {"shape":"InternalErrorException"}, {"shape":"NotFoundException"} ], "documentation":"

Deletes a notification.

Deleting a notification also deletes the subscribers associated with the notification.

" }, "DeleteSubscriber":{ "name":"DeleteSubscriber", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"DeleteSubscriberRequest"}, "output":{"shape":"DeleteSubscriberResponse"}, "errors":[ {"shape":"InternalErrorException"}, {"shape":"InvalidParameterException"}, {"shape":"NotFoundException"} ], "documentation":"

Deletes a subscriber.

Deleting the last subscriber to a notification also deletes the notification.

" }, "DescribeBudget":{ "name":"DescribeBudget", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"DescribeBudgetRequest"}, "output":{"shape":"DescribeBudgetResponse"}, "errors":[ {"shape":"InternalErrorException"}, {"shape":"InvalidParameterException"}, {"shape":"NotFoundException"} ], "documentation":"

Describes a budget.

" }, "DescribeBudgets":{ "name":"DescribeBudgets", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"DescribeBudgetsRequest"}, "output":{"shape":"DescribeBudgetsResponse"}, "errors":[ {"shape":"InternalErrorException"}, {"shape":"InvalidParameterException"}, {"shape":"NotFoundException"}, {"shape":"InvalidNextTokenException"}, {"shape":"ExpiredNextTokenException"} ], "documentation":"

Lists the budgets associated with an account.

" }, "DescribeNotificationsForBudget":{ "name":"DescribeNotificationsForBudget", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"DescribeNotificationsForBudgetRequest"}, "output":{"shape":"DescribeNotificationsForBudgetResponse"}, "errors":[ {"shape":"InternalErrorException"}, {"shape":"InvalidParameterException"}, {"shape":"NotFoundException"}, {"shape":"InvalidNextTokenException"}, {"shape":"ExpiredNextTokenException"} ], "documentation":"

Lists the notifications associated with a budget.

" }, "DescribeSubscribersForNotification":{ "name":"DescribeSubscribersForNotification", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"DescribeSubscribersForNotificationRequest"}, "output":{"shape":"DescribeSubscribersForNotificationResponse"}, "errors":[ {"shape":"InternalErrorException"}, {"shape":"NotFoundException"}, {"shape":"InvalidParameterException"}, {"shape":"InvalidNextTokenException"}, {"shape":"ExpiredNextTokenException"} ], "documentation":"

Lists the subscribers associated with a notification.

" }, "UpdateBudget":{ "name":"UpdateBudget", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"UpdateBudgetRequest"}, "output":{"shape":"UpdateBudgetResponse"}, "errors":[ {"shape":"InternalErrorException"}, {"shape":"InvalidParameterException"}, {"shape":"NotFoundException"} ], "documentation":"

Updates a budget. You can change every part of a budget except for the budgetName and the calculatedSpend. When a budget is modified, the calculatedSpend drops to zero until AWS has new usage data to use for forecasting.

" }, "UpdateNotification":{ "name":"UpdateNotification", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"UpdateNotificationRequest"}, "output":{"shape":"UpdateNotificationResponse"}, "errors":[ {"shape":"InternalErrorException"}, {"shape":"InvalidParameterException"}, {"shape":"NotFoundException"}, {"shape":"DuplicateRecordException"} ], "documentation":"

Updates a notification.

" }, "UpdateSubscriber":{ "name":"UpdateSubscriber", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"UpdateSubscriberRequest"}, "output":{"shape":"UpdateSubscriberResponse"}, "errors":[ {"shape":"InternalErrorException"}, {"shape":"InvalidParameterException"}, {"shape":"NotFoundException"}, {"shape":"DuplicateRecordException"} ], "documentation":"

Updates a subscriber.

" } }, "shapes":{ "AccountId":{ "type":"string", "documentation":"

The account ID of the customer. It should be a 12 digit number.

", "max":12, "min":12 }, "Budget":{ "type":"structure", "required":[ "BudgetName", "TimeUnit", "BudgetType" ], "members":{ "BudgetName":{ "shape":"BudgetName", "documentation":"

The name of a budget. Unique within accounts. : and \\ characters are not allowed in the BudgetName.

" }, "BudgetLimit":{ "shape":"Spend", "documentation":"

The total amount of cost, usage, or RI utilization that you want to track with your budget.

BudgetLimit is required for cost or usage budgets, but optional for RI utilization budgets. RI utilization budgets default to the only valid value for RI utilization budgets, which is 100.

" }, "CostFilters":{ "shape":"CostFilters", "documentation":"

The cost filters applied to a budget, such as service or region.

" }, "CostTypes":{ "shape":"CostTypes", "documentation":"

The types of costs included in this budget.

" }, "TimeUnit":{ "shape":"TimeUnit", "documentation":"

The length of time until a budget resets the actual and forecasted spend.

" }, "TimePeriod":{ "shape":"TimePeriod", "documentation":"

The period of time covered by a budget. Has a start date and an end date. The start date must come before the end date. There are no restrictions on the end date.

If you created your budget and didn't specify a start date, AWS defaults to the start of your chosen time period (i.e. DAILY, MONTHLY, QUARTERLY, ANNUALLY). For example, if you created your budget on January 24th 2018, chose DAILY, and didn't set a start date, AWS set your start date to 01/24/18 00:00 UTC. If you chose MONTHLY, AWS set your start date to 01/01/18 00:00 UTC. If you didn't specify an end date, AWS set your end date to 06/15/87 00:00 UTC. The defaults are the same for the AWS Billing and Cost Management console and the API.

You can change either date with the UpdateBudget operation.

After the end date, AWS deletes the budget and all associated notifications and subscribers.

" }, "CalculatedSpend":{ "shape":"CalculatedSpend", "documentation":"

The actual and forecasted cost or usage being tracked by a budget.

" }, "BudgetType":{ "shape":"BudgetType", "documentation":"

Whether this budget tracks monetary costs, usage, or RI utilization.

" } }, "documentation":"

Represents the output of the CreateBudget operation. The content consists of the detailed metadata and data file information, and the current status of the budget.

The ARN pattern for a budget is: arn:aws:budgetservice::AccountId:budget/budgetName

" }, "BudgetName":{ "type":"string", "documentation":"

A string represents the budget name. No \":\" and \"\\\" character is allowed.

", "max":100, "pattern":"[^:\\\\]+" }, "BudgetType":{ "type":"string", "documentation":"

The type of a budget. It should be COST, USAGE, or RI_UTILIZATION.

", "enum":[ "USAGE", "COST", "RI_UTILIZATION" ] }, "Budgets":{ "type":"list", "member":{"shape":"Budget"}, "documentation":"

A list of budgets

" }, "CalculatedSpend":{ "type":"structure", "required":["ActualSpend"], "members":{ "ActualSpend":{ "shape":"Spend", "documentation":"

The amount of cost, usage, or RI units that you have used.

" }, "ForecastedSpend":{ "shape":"Spend", "documentation":"

The amount of cost, usage, or RI units that you are forecasted to use.

" } }, "documentation":"

The spend objects associated with this budget. The actualSpend tracks how much you've used, cost, usage, or RI units, and the forecastedSpend tracks how much you are predicted to spend if your current usage remains steady.

For example, if it is the 20th of the month and you have spent 50 dollars on Amazon EC2, your actualSpend is 50 USD, and your forecastedSpend is 75 USD.

" }, "ComparisonOperator":{ "type":"string", "documentation":"

The comparison operator of a notification. Currently we support less than, equal to and greater than.

", "enum":[ "GREATER_THAN", "LESS_THAN", "EQUAL_TO" ] }, "CostFilters":{ "type":"map", "key":{"shape":"GenericString"}, "value":{"shape":"DimensionValues"}, "documentation":"

A map that represents the cost filters applied to the budget.

" }, "CostTypes":{ "type":"structure", "members":{ "IncludeTax":{ "shape":"NullableBoolean", "documentation":"

Specifies whether a budget includes taxes.

The default value is true.

" }, "IncludeSubscription":{ "shape":"NullableBoolean", "documentation":"

Specifies whether a budget includes subscriptions.

The default value is true.

" }, "UseBlended":{ "shape":"NullableBoolean", "documentation":"

Specifies whether a budget uses blended rate.

The default value is false.

" }, "IncludeRefund":{ "shape":"NullableBoolean", "documentation":"

Specifies whether a budget includes refunds.

The default value is true.

" }, "IncludeCredit":{ "shape":"NullableBoolean", "documentation":"

Specifies whether a budget includes credits.

The default value is true.

" }, "IncludeUpfront":{ "shape":"NullableBoolean", "documentation":"

Specifies whether a budget includes upfront RI costs.

The default value is true.

" }, "IncludeRecurring":{ "shape":"NullableBoolean", "documentation":"

Specifies whether a budget includes recurring fees such as monthly RI fees.

The default value is true.

" }, "IncludeOtherSubscription":{ "shape":"NullableBoolean", "documentation":"

Specifies whether a budget includes non-RI subscription costs.

The default value is true.

" }, "IncludeSupport":{ "shape":"NullableBoolean", "documentation":"

Specifies whether a budget includes support subscription fees.

The default value is true.

" }, "IncludeDiscount":{ "shape":"NullableBoolean", "documentation":"

Specifies whether a budget includes discounts.

The default value is true.

" }, "UseAmortized":{ "shape":"NullableBoolean", "documentation":"

Specifies whether a budget uses the amortized rate.

The default value is false.

" } }, "documentation":"

The types of cost included in a budget, such as tax and subscriptions.

" }, "CreateBudgetRequest":{ "type":"structure", "required":[ "AccountId", "Budget" ], "members":{ "AccountId":{ "shape":"AccountId", "documentation":"

The accountId that is associated with the budget.

" }, "Budget":{ "shape":"Budget", "documentation":"

The budget object that you want to create.

" }, "NotificationsWithSubscribers":{ "shape":"NotificationWithSubscribersList", "documentation":"

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 ten email subscribers. If you include notifications and subscribers in your CreateBudget call, AWS creates the notifications and subscribers for you.

" } }, "documentation":"

Request of CreateBudget

" }, "CreateBudgetResponse":{ "type":"structure", "members":{ }, "documentation":"

Response of CreateBudget

" }, "CreateNotificationRequest":{ "type":"structure", "required":[ "AccountId", "BudgetName", "Notification", "Subscribers" ], "members":{ "AccountId":{ "shape":"AccountId", "documentation":"

The accountId that is associated with the budget that you want to create a notification for.

" }, "BudgetName":{ "shape":"BudgetName", "documentation":"

The name of the budget that you want AWS to notified you about. Budget names must be unique within an account.

" }, "Notification":{ "shape":"Notification", "documentation":"

The notification that you want to create.

" }, "Subscribers":{ "shape":"Subscribers", "documentation":"

A list of subscribers that you want to associate with the notification. Each notification can have one SNS subscriber and up to ten email subscribers.

" } }, "documentation":"

Request of CreateNotification

" }, "CreateNotificationResponse":{ "type":"structure", "members":{ }, "documentation":"

Response of CreateNotification

" }, "CreateSubscriberRequest":{ "type":"structure", "required":[ "AccountId", "BudgetName", "Notification", "Subscriber" ], "members":{ "AccountId":{ "shape":"AccountId", "documentation":"

The accountId associated with the budget that you want to create a subscriber for.

" }, "BudgetName":{ "shape":"BudgetName", "documentation":"

The name of the budget that you want to subscribe to. Budget names must be unique within an account.

" }, "Notification":{ "shape":"Notification", "documentation":"

The notification that you want to create a subscriber for.

" }, "Subscriber":{ "shape":"Subscriber", "documentation":"

The subscriber that you want to associate with a budget notification.

" } }, "documentation":"

Request of CreateSubscriber

" }, "CreateSubscriberResponse":{ "type":"structure", "members":{ }, "documentation":"

Response of CreateSubscriber

" }, "CreationLimitExceededException":{ "type":"structure", "members":{ "Message":{"shape":"errorMessage"} }, "documentation":"

You've exceeded the notification or subscriber limit.

", "exception":true }, "DeleteBudgetRequest":{ "type":"structure", "required":[ "AccountId", "BudgetName" ], "members":{ "AccountId":{ "shape":"AccountId", "documentation":"

The accountId that is associated with the budget that you want to delete.

" }, "BudgetName":{ "shape":"BudgetName", "documentation":"

The name of the budget that you want to delete.

" } }, "documentation":"

Request of DeleteBudget

" }, "DeleteBudgetResponse":{ "type":"structure", "members":{ }, "documentation":"

Response of DeleteBudget

" }, "DeleteNotificationRequest":{ "type":"structure", "required":[ "AccountId", "BudgetName", "Notification" ], "members":{ "AccountId":{ "shape":"AccountId", "documentation":"

The accountId that is associated with the budget whose notification you want to delete.

" }, "BudgetName":{ "shape":"BudgetName", "documentation":"

The name of the budget whose notification you want to delete.

" }, "Notification":{ "shape":"Notification", "documentation":"

The notification that you want to delete.

" } }, "documentation":"

Request of DeleteNotification

" }, "DeleteNotificationResponse":{ "type":"structure", "members":{ }, "documentation":"

Response of DeleteNotification

" }, "DeleteSubscriberRequest":{ "type":"structure", "required":[ "AccountId", "BudgetName", "Notification", "Subscriber" ], "members":{ "AccountId":{ "shape":"AccountId", "documentation":"

The accountId that is associated with the budget whose subscriber you want to delete.

" }, "BudgetName":{ "shape":"BudgetName", "documentation":"

The name of the budget whose subscriber you want to delete.

" }, "Notification":{ "shape":"Notification", "documentation":"

The notification whose subscriber you want to delete.

" }, "Subscriber":{ "shape":"Subscriber", "documentation":"

The subscriber that you want to delete.

" } }, "documentation":"

Request of DeleteSubscriber

" }, "DeleteSubscriberResponse":{ "type":"structure", "members":{ }, "documentation":"

Response of DeleteSubscriber

" }, "DescribeBudgetRequest":{ "type":"structure", "required":[ "AccountId", "BudgetName" ], "members":{ "AccountId":{ "shape":"AccountId", "documentation":"

The accountId that is associated with the budget that you want a description of.

" }, "BudgetName":{ "shape":"BudgetName", "documentation":"

The name of the budget that you want a description of.

" } }, "documentation":"

Request of DescribeBudget

" }, "DescribeBudgetResponse":{ "type":"structure", "members":{ "Budget":{ "shape":"Budget", "documentation":"

The description of the budget.

" } }, "documentation":"

Response of DescribeBudget

" }, "DescribeBudgetsRequest":{ "type":"structure", "required":["AccountId"], "members":{ "AccountId":{ "shape":"AccountId", "documentation":"

The accountId that is associated with the budgets that you want descriptions of.

" }, "MaxResults":{ "shape":"MaxResults", "documentation":"

Optional integer. Specifies the maximum number of results to return in response.

" }, "NextToken":{ "shape":"GenericString", "documentation":"

The pagination token that indicates the next set of results to retrieve.

" } }, "documentation":"

Request of DescribeBudgets

" }, "DescribeBudgetsResponse":{ "type":"structure", "members":{ "Budgets":{ "shape":"Budgets", "documentation":"

A list of budgets.

" }, "NextToken":{ "shape":"GenericString", "documentation":"

The pagination token that indicates the next set of results that you can retrieve.

" } }, "documentation":"

Response of DescribeBudgets

" }, "DescribeNotificationsForBudgetRequest":{ "type":"structure", "required":[ "AccountId", "BudgetName" ], "members":{ "AccountId":{ "shape":"AccountId", "documentation":"

The accountId that is associated with the budget whose notifications you want descriptions of.

" }, "BudgetName":{ "shape":"BudgetName", "documentation":"

The name of the budget whose notifications you want descriptions of.

" }, "MaxResults":{ "shape":"MaxResults", "documentation":"

Optional integer. Specifies the maximum number of results to return in response.

" }, "NextToken":{ "shape":"GenericString", "documentation":"

The pagination token that indicates the next set of results to retrieve.

" } }, "documentation":"

Request of DescribeNotificationsForBudget

" }, "DescribeNotificationsForBudgetResponse":{ "type":"structure", "members":{ "Notifications":{ "shape":"Notifications", "documentation":"

A list of notifications associated with a budget.

" }, "NextToken":{ "shape":"GenericString", "documentation":"

The pagination token that indicates the next set of results that you can retrieve.

" } }, "documentation":"

Response of GetNotificationsForBudget

" }, "DescribeSubscribersForNotificationRequest":{ "type":"structure", "required":[ "AccountId", "BudgetName", "Notification" ], "members":{ "AccountId":{ "shape":"AccountId", "documentation":"

The accountId that is associated with the budget whose subscribers you want descriptions of.

" }, "BudgetName":{ "shape":"BudgetName", "documentation":"

The name of the budget whose subscribers you want descriptions of.

" }, "Notification":{ "shape":"Notification", "documentation":"

The notification whose subscribers you want to list.

" }, "MaxResults":{ "shape":"MaxResults", "documentation":"

Optional integer. Specifies the maximum number of results to return in response.

" }, "NextToken":{ "shape":"GenericString", "documentation":"

The pagination token that indicates the next set of results to retrieve.

" } }, "documentation":"

Request of DescribeSubscribersForNotification

" }, "DescribeSubscribersForNotificationResponse":{ "type":"structure", "members":{ "Subscribers":{ "shape":"Subscribers", "documentation":"

A list of subscribers associated with a notification.

" }, "NextToken":{ "shape":"GenericString", "documentation":"

The pagination token that indicates the next set of results that you can retrieve.

" } }, "documentation":"

Response of DescribeSubscribersForNotification

" }, "DimensionValues":{ "type":"list", "member":{"shape":"GenericString"} }, "DuplicateRecordException":{ "type":"structure", "members":{ "Message":{"shape":"errorMessage"} }, "documentation":"

The budget name already exists. Budget names must be unique within an account.

", "exception":true }, "ExpiredNextTokenException":{ "type":"structure", "members":{ "Message":{"shape":"errorMessage"} }, "documentation":"

The pagination token expired.

", "exception":true }, "GenericString":{ "type":"string", "documentation":"

A generic String.

" }, "GenericTimestamp":{ "type":"timestamp", "documentation":"

A generic timestamp. In Java it is transformed to a Date object.

" }, "InternalErrorException":{ "type":"structure", "members":{ "Message":{"shape":"errorMessage"} }, "documentation":"

An error on the server occurred during the processing of your request. Try again later.

", "exception":true }, "InvalidNextTokenException":{ "type":"structure", "members":{ "Message":{"shape":"errorMessage"} }, "documentation":"

The pagination token is invalid.

", "exception":true }, "InvalidParameterException":{ "type":"structure", "members":{ "Message":{"shape":"errorMessage"} }, "documentation":"

An error on the client occurred. Typically, the cause is an invalid input value.

", "exception":true }, "MaxResults":{ "type":"integer", "documentation":"

An integer to represent how many entries a paginated response contains. Maximum is set to 100.

", "box":true, "max":100, "min":1 }, "NotFoundException":{ "type":"structure", "members":{ "Message":{"shape":"errorMessage"} }, "documentation":"

We can’t locate the resource that you specified.

", "exception":true }, "Notification":{ "type":"structure", "required":[ "NotificationType", "ComparisonOperator", "Threshold" ], "members":{ "NotificationType":{ "shape":"NotificationType", "documentation":"

Whether the notification is for how much you have spent (ACTUAL) or for how much you are forecasted to spend (FORECASTED).

" }, "ComparisonOperator":{ "shape":"ComparisonOperator", "documentation":"

The comparison used for this notification.

" }, "Threshold":{ "shape":"NotificationThreshold", "documentation":"

The threshold associated with a notification. Thresholds are always a percentage.

" }, "ThresholdType":{ "shape":"ThresholdType", "documentation":"

The type of threshold for a notification. For ACTUAL thresholds, AWS notifies you when you go over the threshold, and for FORECASTED thresholds AWS notifies you when you are forecasted to go over the threshold.

" } }, "documentation":"

A notification associated with a budget. A budget can have up to five notifications.

Each notification must have at least one subscriber. A notification can have one SNS subscriber and up to ten email subscribers, for a total of 11 subscribers.

For example, if you have a budget for 200 dollars and you want to be notified when you go over 160 dollars, create a notification with the following parameters:

" }, "NotificationThreshold":{ "type":"double", "documentation":"

The threshold of a notification. It should be a number between 0 and 1,000,000,000.

", "max":1000000000, "min":0.1 }, "NotificationType":{ "type":"string", "documentation":"

The type of a notification. It should be ACTUAL or FORECASTED.

", "enum":[ "ACTUAL", "FORECASTED" ] }, "NotificationWithSubscribers":{ "type":"structure", "required":[ "Notification", "Subscribers" ], "members":{ "Notification":{ "shape":"Notification", "documentation":"

The notification associated with a budget.

" }, "Subscribers":{ "shape":"Subscribers", "documentation":"

A list of subscribers who are subscribed to this notification.

" } }, "documentation":"

A notification with subscribers. A notification can have one SNS subscriber and up to ten email subscribers, for a total of 11 subscribers.

" }, "NotificationWithSubscribersList":{ "type":"list", "member":{"shape":"NotificationWithSubscribers"}, "documentation":"

A list of Notifications, each with a list of subscribers.

", "max":5 }, "Notifications":{ "type":"list", "member":{"shape":"Notification"}, "documentation":"

A list of notifications.

" }, "NullableBoolean":{ "type":"boolean", "box":true }, "NumericValue":{ "type":"string", "documentation":"

A string to represent NumericValue.

", "pattern":"[0-9]*(\\.)?[0-9]+" }, "Spend":{ "type":"structure", "required":[ "Amount", "Unit" ], "members":{ "Amount":{ "shape":"NumericValue", "documentation":"

The cost or usage amount associated with a budget forecast, actual spend, or budget threshold.

" }, "Unit":{ "shape":"UnitValue", "documentation":"

The unit of measurement used for the budget forecast, actual spend, or budget threshold, such as dollars or GB.

" } }, "documentation":"

The amount of cost or usage being measured for a budget.

For example, a Spend for 3 GB of S3 usage would have the following parameters:

" }, "Subscriber":{ "type":"structure", "required":[ "SubscriptionType", "Address" ], "members":{ "SubscriptionType":{ "shape":"SubscriptionType", "documentation":"

The type of notification that AWS sends to a subscriber.

" }, "Address":{ "shape":"SubscriberAddress", "documentation":"

The address that AWS sends budget notifications to, either an SNS topic or an email.

" } }, "documentation":"

The subscriber to a budget notification. The subscriber consists of a subscription type and either an Amazon Simple Notification Service topic or an email address.

For example, an email subscriber would have the following parameters:

" }, "SubscriberAddress":{ "type":"string", "documentation":"

String containing email or sns topic for the subscriber address.

", "min":1 }, "Subscribers":{ "type":"list", "member":{"shape":"Subscriber"}, "documentation":"

A list of subscribers.

", "max":11, "min":1 }, "SubscriptionType":{ "type":"string", "documentation":"

The subscription type of the subscriber. It can be SMS or EMAIL.

", "enum":[ "SNS", "EMAIL" ] }, "ThresholdType":{ "type":"string", "documentation":"

The type of threshold for a notification. It can be PERCENTAGE or ABSOLUTE_VALUE.

", "enum":[ "PERCENTAGE", "ABSOLUTE_VALUE" ] }, "TimePeriod":{ "type":"structure", "members":{ "Start":{ "shape":"GenericTimestamp", "documentation":"

The start date for a budget. If you created your budget and didn't specify a start date, AWS defaults to the start of your chosen time period (i.e. DAILY, MONTHLY, QUARTERLY, ANNUALLY). For example, if you created your budget on January 24th 2018, chose DAILY, and didn't set a start date, AWS set your start date to 01/24/18 00:00 UTC. If you chose MONTHLY, AWS set your start date to 01/01/18 00:00 UTC. The defaults are the same for the AWS Billing and Cost Management console and the API.

You can change your start date with the UpdateBudget operation.

" }, "End":{ "shape":"GenericTimestamp", "documentation":"

The end date for a budget. If you didn't specify an end date, AWS set your end date to 06/15/87 00:00 UTC. The defaults are the same for the AWS Billing and Cost Management console and the API.

After the end date, AWS deletes the budget and all associated notifications and subscribers. You can change your end date with the UpdateBudget operation.

" } }, "documentation":"

The period of time covered by a budget. Has a start date and an end date. The start date must come before the end date. There are no restrictions on the end date.

" }, "TimeUnit":{ "type":"string", "documentation":"

The time unit of the budget. e.g. MONTHLY, QUARTERLY, etc.

", "enum":[ "DAILY", "MONTHLY", "QUARTERLY", "ANNUALLY" ] }, "UnitValue":{ "type":"string", "documentation":"

A string to represent budget spend unit. It should be not null and not empty.

", "min":1 }, "UpdateBudgetRequest":{ "type":"structure", "required":[ "AccountId", "NewBudget" ], "members":{ "AccountId":{ "shape":"AccountId", "documentation":"

The accountId that is associated with the budget that you want to update.

" }, "NewBudget":{ "shape":"Budget", "documentation":"

The budget that you want to update your budget to.

" } }, "documentation":"

Request of UpdateBudget

" }, "UpdateBudgetResponse":{ "type":"structure", "members":{ }, "documentation":"

Response of UpdateBudget

" }, "UpdateNotificationRequest":{ "type":"structure", "required":[ "AccountId", "BudgetName", "OldNotification", "NewNotification" ], "members":{ "AccountId":{ "shape":"AccountId", "documentation":"

The accountId that is associated with the budget whose notification you want to update.

" }, "BudgetName":{ "shape":"BudgetName", "documentation":"

The name of the budget whose notification you want to update.

" }, "OldNotification":{ "shape":"Notification", "documentation":"

The previous notification associated with a budget.

" }, "NewNotification":{ "shape":"Notification", "documentation":"

The updated notification to be associated with a budget.

" } }, "documentation":"

Request of UpdateNotification

" }, "UpdateNotificationResponse":{ "type":"structure", "members":{ }, "documentation":"

Response of UpdateNotification

" }, "UpdateSubscriberRequest":{ "type":"structure", "required":[ "AccountId", "BudgetName", "Notification", "OldSubscriber", "NewSubscriber" ], "members":{ "AccountId":{ "shape":"AccountId", "documentation":"

The accountId that is associated with the budget whose subscriber you want to update.

" }, "BudgetName":{ "shape":"BudgetName", "documentation":"

The name of the budget whose subscriber you want to update.

" }, "Notification":{ "shape":"Notification", "documentation":"

The notification whose subscriber you want to update.

" }, "OldSubscriber":{ "shape":"Subscriber", "documentation":"

The previous subscriber associated with a budget notification.

" }, "NewSubscriber":{ "shape":"Subscriber", "documentation":"

The updated subscriber associated with a budget notification.

" } }, "documentation":"

Request of UpdateSubscriber

" }, "UpdateSubscriberResponse":{ "type":"structure", "members":{ }, "documentation":"

Response of UpdateSubscriber

" }, "errorMessage":{ "type":"string", "documentation":"

The error message the exception carries.

" } }, "documentation":"

Budgets enable you to plan your service usage, service costs, and your RI utilization. You can also track how close your plan is to your budgeted amount or to the free tier limits. Budgets provide you with a quick way to see your usage-to-date and current estimated charges from AWS and to see how much your predicted usage accrues in charges by the end of the month. Budgets also compare current estimates and charges to the amount that you indicated you want to use or spend and lets you see how much of your budget has been used. AWS updates your budget status several times a day. Budgets track your unblended costs, subscriptions, and refunds. You can create the following types of budgets:

You can create up to 20,000 budgets per AWS master account. Your first two budgets are free of charge. Each additional budget costs $0.02 per day. You can set up optional notifications that warn you if you exceed, or are forecasted to exceed, your budgeted amount. You can have notifications sent to an Amazon SNS topic, to an email address, or to both. For more information, see Creating an Amazon SNS Topic for Budget Notifications. AWS Free Tier usage alerts via AWS Budgets are provided for you, and do not count toward your budget limits.

Service Endpoint

The AWS Budgets API provides the following endpoint:

" }