From 1862759b215d37d0802b5b50878738c541963b08 Mon Sep 17 00:00:00 2001 From: AWS <> Date: Tue, 15 Sep 2020 18:07:55 +0000 Subject: [PATCH] AWS Budgets Update: Documentation updates for Daily Cost and Usage budgets --- .../feature-AWSBudgets-a954f93.json | 5 ++++ .../codegen-resources/paginators-1.json | 26 ++++++++++++++++++- .../codegen-resources/service-2.json | 24 ++++++++--------- 3 files changed, 42 insertions(+), 13 deletions(-) create mode 100644 .changes/next-release/feature-AWSBudgets-a954f93.json 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
.
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
.
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.
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
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
The type of a budget. It must be one of the following types:
COST
, USAGE
, RI_UTILIZATION
, or RI_COVERAGE
.
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
.
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
.
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
.
Specifies whether a budget uses the amortized rate.
The default value is false
.
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
.
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
.
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.
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:
A notificationType of ACTUAL
A thresholdType
of PERCENTAGE
A comparisonOperator
of GREATER_THAN
A notification threshold
of 80
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:
A notificationType of ACTUAL
A thresholdType
of PERCENTAGE
A comparisonOperator
of GREATER_THAN
A notification threshold
of 80
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",