{ "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 that are 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 that are 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 that are 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 that are 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 that are 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 you modify a budget, 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 user. 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. The name must be unique within accounts. The : and \\ characters are not allowed in BudgetName.

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

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

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

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

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

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

The types of costs that are included in this COST budget.

USAGE, RI_UTILIZATION, and RI_COVERAGE budgets do not have CostTypes.

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

The length of time until a budget resets the actual and forecasted spend. DAILY is available only for RI_UTILIZATION and RI_COVERAGE budgets.

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

The period of time that is covered by a budget. The period has a start date and an end date. The start date must come before the end date. The end date must come before 06/15/87 00:00 UTC.

If you create your budget and don't specify a start date, AWS defaults to the start of your chosen time period (DAILY, MONTHLY, QUARTERLY, or ANNUALLY). For example, if you created your budget on January 24, 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 that the budget tracks.

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

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

" } }, "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 object.

This is the ARN pattern for a budget:

arn:aws:budgetservice::AccountId:budget/budgetName

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

A string that represents the budget name. The \":\" and \"\\\" characters are not allowed.

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

The type of a budget. It must be one of the following types:

COST, USAGE, RI_UTILIZATION, or RI_COVERAGE.

", "enum":[ "USAGE", "COST", "RI_UTILIZATION", "RI_COVERAGE" ] }, "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 that are 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 the service supports the following operators:

GREATER_THAN, LESS_THAN, EQUAL_TO

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

A map that represents the cost filters that are 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 a 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 that are included in a COST budget, such as tax and subscriptions.

USAGE, RI_UTILIZATION, and RI_COVERAGE budgets do not have CostTypes.

" }, "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 10 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 notify 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 10 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 that is 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 a response.

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

The pagination token that you include in your request to indicate the next set of results that you want 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 in the service response 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 a response.

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

The pagination token that you include in your request to indicate the next set of results that you want to retrieve.

" } }, "documentation":"

Request of DescribeNotificationsForBudget

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

A list of notifications that are associated with a budget.

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

The pagination token in the service response 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 a response.

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

The pagination token that you include in your request to indicate the next set of results that you want to retrieve.

" } }, "documentation":"

Request of DescribeSubscribersForNotification

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

A list of subscribers that are associated with a notification.

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

The pagination token in the service response 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 time stamp. 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 that represents how many entries a paginated response contains. The maximum is 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 that is used for this notification.

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

The threshold that is 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. For FORECASTED thresholds, AWS notifies you when you are forecasted to go over the threshold.

" } }, "documentation":"

A notification that is 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 10 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 must 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 must be ACTUAL or FORECASTED.

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

The notification that is 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 10 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 that represents a numeric value.

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

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

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

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

" } }, "documentation":"

The amount of cost or usage that is 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 SNS topic or an email address.

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

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

A string that contains an email address or SNS topic for the subscriber's 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 (DAILY, MONTHLY, QUARTERLY, or ANNUALLY). For example, if you created your budget on January 24, 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 that is covered by a budget. The period 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, such as MONTHLY or QUARTERLY.

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

A string that represents the spend unit of a budget. It can't be null or 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 that is 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 that is associated with a budget notification.

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

The updated subscriber that is 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":"

The AWS Budgets API enables you to use AWS Budgets to plan your service usage, service costs, and instance reservations. The API reference provides descriptions, syntax, and usage examples for each of the actions and data types for AWS Budgets.

Budgets provide you with a way to see the following information:

AWS updates your budget status several times a day. Budgets track your unblended costs, subscriptions, refunds, and RIs. You can create the following types of budgets:

Service Endpoint

The AWS Budgets API provides the following endpoint:

For information about costs that are associated with the AWS Budgets API, see AWS Cost Management Pricing.

" }