diff --git a/.changes/next-release/feature-AWSBudgets-a954f93.json b/.changes/next-release/feature-AWSBudgets-a954f93.json new file mode 100644 index 000000000000..415a18b29d13 --- /dev/null +++ b/.changes/next-release/feature-AWSBudgets-a954f93.json @@ -0,0 +1,5 @@ +{ + "type": "feature", + "category": "AWS Budgets", + "description": "Documentation updates for Daily Cost and Usage budgets" +} diff --git a/services/budgets/src/main/resources/codegen-resources/paginators-1.json b/services/budgets/src/main/resources/codegen-resources/paginators-1.json index 5677bd8e4a2d..03c71c8e45e1 100644 --- a/services/budgets/src/main/resources/codegen-resources/paginators-1.json +++ b/services/budgets/src/main/resources/codegen-resources/paginators-1.json @@ -1,4 +1,28 @@ { "pagination": { + "DescribeBudgetPerformanceHistory": { + "input_token": "NextToken", + "limit_key": "MaxResults", + "output_token": "NextToken", + "result_key": "BudgetPerformanceHistory" + }, + "DescribeBudgets": { + "input_token": "NextToken", + "limit_key": "MaxResults", + "output_token": "NextToken", + "result_key": "Budgets" + }, + "DescribeNotificationsForBudget": { + "input_token": "NextToken", + "limit_key": "MaxResults", + "output_token": "NextToken", + "result_key": "Notifications" + }, + "DescribeSubscribersForNotification": { + "input_token": "NextToken", + "limit_key": "MaxResults", + "output_token": "NextToken", + "result_key": "Subscribers" + } } -} +} \ No newline at end of file diff --git a/services/budgets/src/main/resources/codegen-resources/service-2.json b/services/budgets/src/main/resources/codegen-resources/service-2.json index f6d1e1cf5371..2fb162a8e58d 100755 --- a/services/budgets/src/main/resources/codegen-resources/service-2.json +++ b/services/budgets/src/main/resources/codegen-resources/service-2.json @@ -295,11 +295,11 @@ }, "CostTypes":{ "shape":"CostTypes", - "documentation":"

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

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

" + "documentation":"

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

USAGE, RI_UTILIZATION, RI_COVERAGE, SAVINGS_PLANS_UTILIZATION, and SAVINGS_PLANS_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, RI_COVERAGE, Savings_Plans_Utilization, and Savings_Plans_Coverage budgets.

" + "documentation":"

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

" }, "TimePeriod":{ "shape":"TimePeriod", @@ -318,7 +318,7 @@ "documentation":"

The last time that you updated this budget.

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

" + "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:budgets::AccountId:budget/budgetName

" }, "BudgetName":{ "type":"string", @@ -350,7 +350,7 @@ }, "BudgetType":{ "type":"string", - "documentation":"

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

COST, USAGE, RI_UTILIZATION, or RI_COVERAGE.

", + "documentation":"

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

COST, USAGE, RI_UTILIZATION, RI_COVERAGE, SAVINGS_PLANS_UTILIZATION, or SAVINGS_PLANS_COVERAGE.

", "enum":[ "USAGE", "COST", @@ -393,14 +393,14 @@ "members":{ "ActualSpend":{ "shape":"Spend", - "documentation":"

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

" + "documentation":"

The amount of cost, usage, RI units, or Savings Plans 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 amount of cost, usage, RI units, or Savings Plans 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.

" + "documentation":"

The spend objects that are associated with this budget. The actualSpend tracks how much you've used, cost, usage, RI units, or Savings Plans units and the forecastedSpend tracks how much you are predicted to spend based on your historical usage profile.

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", @@ -465,7 +465,7 @@ "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.

" + "documentation":"

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

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

" }, "CreateBudgetRequest":{ "type":"structure", @@ -919,7 +919,7 @@ }, "Threshold":{ "shape":"NotificationThreshold", - "documentation":"

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

" + "documentation":"

The threshold that is associated with a notification. Thresholds are always a percentage, and many customers find value being alerted between 50% - 200% of the budgeted amount. The maximum limit for your threshold is 1,000,000% above the budgeted amount.

" }, "ThresholdType":{ "shape":"ThresholdType", @@ -930,7 +930,7 @@ "documentation":"

Whether this notification is in alarm. If a budget notification is in the ALARM state, you have passed the set threshold for the budget.

" } }, - "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:

" + "documentation":"

A notification that is associated with a budget. A budget can have up to ten 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:

" }, "NotificationState":{ "type":"string", @@ -942,7 +942,7 @@ "NotificationThreshold":{ "type":"double", "documentation":"

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

", - "max":1000000000, + "max":40000000000, "min":0 }, "NotificationType":{ @@ -975,7 +975,7 @@ "type":"list", "member":{"shape":"NotificationWithSubscribers"}, "documentation":"

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

", - "max":5 + "max":10 }, "Notifications":{ "type":"list",