Skip to content

Commit 6f5290f

Browse files
author
AWS
committed
AWS Budgets Update: Adds support for billing views. Billing views let you control access to cost and usage data through an AWS resource, streamlining the process of sharing cost and usage data across account boundaries. With this release, you can now create and view budgets based on billing views.
1 parent 42b524b commit 6f5290f

File tree

2 files changed

+56
-1
lines changed

2 files changed

+56
-1
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "AWS Budgets",
4+
"contributor": "",
5+
"description": "Adds support for billing views. Billing views let you control access to cost and usage data through an AWS resource, streamlining the process of sharing cost and usage data across account boundaries. With this release, you can now create and view budgets based on billing views."
6+
}

services/budgets/src/main/resources/codegen-resources/service-2.json

Lines changed: 50 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@
3030
{"shape":"DuplicateRecordException"},
3131
{"shape":"AccessDeniedException"},
3232
{"shape":"ThrottlingException"},
33-
{"shape":"ServiceQuotaExceededException"}
33+
{"shape":"ServiceQuotaExceededException"},
34+
{"shape":"NotFoundException"}
3435
],
3536
"documentation":"<p>Creates a budget and, if included, notifications and subscribers. </p> <important> <p>Only one of <code>BudgetLimit</code> or <code>PlannedBudgetLimits</code> can be present in the syntax at one time. Use the syntax that matches your use case. The Request Syntax section shows the <code>BudgetLimit</code> syntax. For <code>PlannedBudgetLimits</code>, see the <a href=\"https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_budgets_CreateBudget.html#API_CreateBudget_Examples\">Examples</a> section.</p> <p>Similarly, only one set of filter and metric selections can be present in the syntax at one time. Either <code>FilterExpression</code> and <code>Metrics</code> or <code>CostFilters</code> and <code>CostTypes</code>, not both or a different combination. We recommend using <code>FilterExpression</code> and <code>Metrics</code> as they provide more flexible and powerful filtering capabilities. The Request Syntax section shows the <code>FilterExpression</code>/<code>Metrics</code> syntax.</p> </important>"
3637
},
@@ -694,6 +695,12 @@
694695
"FORECAST"
695696
]
696697
},
698+
"BillingViewArn":{
699+
"type":"string",
700+
"max":2048,
701+
"min":20,
702+
"pattern":"^arn:aws[a-z-]*:(billing)::[0-9]{12}:billingview/[a-zA-Z0-9/:_+=.\\-@]{0,75}[a-zA-Z0-9]$"
703+
},
697704
"Budget":{
698705
"type":"structure",
699706
"required":[
@@ -759,6 +766,14 @@
759766
"Metrics":{
760767
"shape":"Metrics",
761768
"documentation":"<p>The definition for how the budget data is aggregated.</p>"
769+
},
770+
"BillingViewArn":{
771+
"shape":"BillingViewArn",
772+
"documentation":"<p>The Amazon Resource Name (ARN) that uniquely identifies a specific billing view. The ARN is used to specify which particular billing view you want to interact with or retrieve information from when making API calls related to Amazon Web Services Billing and Cost Management features. The BillingViewArn can be retrieved by calling the ListBillingViews API.</p>"
773+
},
774+
"HealthStatus":{
775+
"shape":"HealthStatus",
776+
"documentation":"<p>The current operational state of a Billing View derived resource.</p>"
762777
}
763778
},
764779
"documentation":"<p>Represents the output of the <code>CreateBudget</code> operation. The content consists of the detailed metadata and data file information, and the current status of the <code>budget</code> object.</p> <p>This is the Amazon Resource Name (ARN) pattern for a budget: </p> <p> <code>arn:aws:budgets::AccountId:budget/budgetName</code> </p>"
@@ -797,6 +812,10 @@
797812
"documentation":"<p>The history of the cost types for a budget during the specified time period.</p>"
798813
},
799814
"TimeUnit":{"shape":"TimeUnit"},
815+
"BillingViewArn":{
816+
"shape":"BillingViewArn",
817+
"documentation":"<p>The Amazon Resource Name (ARN) that uniquely identifies a specific billing view. The ARN is used to specify which particular billing view you want to interact with or retrieve information from when making API calls related to Amazon Web Services Billing and Cost Management features. The BillingViewArn can be retrieved by calling the ListBillingViews API.</p>"
818+
},
800819
"BudgetedAndActualAmountsList":{
801820
"shape":"BudgetedAndActualAmountsList",
802821
"documentation":"<p>A list of amounts of cost or usage that you created budgets for, which are compared to your actual costs or usage.</p>"
@@ -1745,6 +1764,36 @@
17451764
"max":100,
17461765
"min":1
17471766
},
1767+
"HealthStatus":{
1768+
"type":"structure",
1769+
"members":{
1770+
"Status":{
1771+
"shape":"HealthStatusValue",
1772+
"documentation":"<p>The current status of the billing view resource.</p>"
1773+
},
1774+
"StatusReason":{
1775+
"shape":"HealthStatusReason",
1776+
"documentation":"<p>The reason for the current status.</p> <ul> <li> <p> <code>BILLING_VIEW_NO_ACCESS</code>: The billing view resource does not grant <code>billing:GetBillingViewData</code> permission to this account.</p> </li> <li> <p> <code>BILLING_VIEW_UNHEALTHY</code>: The billing view associated with the budget is unhealthy.</p> </li> <li> <p> <code>FILTER_INVALID</code>: The filter contains reference to an account you do not have access to.</p> </li> </ul>"
1777+
},
1778+
"LastUpdatedTime":{"shape":"GenericTimestamp"}
1779+
},
1780+
"documentation":"<p>Provides information about the current operational state of a billing view resource, including its ability to access and update based on its associated billing view.</p>"
1781+
},
1782+
"HealthStatusReason":{
1783+
"type":"string",
1784+
"enum":[
1785+
"BILLING_VIEW_NO_ACCESS",
1786+
"BILLING_VIEW_UNHEALTHY",
1787+
"FILTER_INVALID"
1788+
]
1789+
},
1790+
"HealthStatusValue":{
1791+
"type":"string",
1792+
"enum":[
1793+
"HEALTHY",
1794+
"UNHEALTHY"
1795+
]
1796+
},
17481797
"HistoricalOptions":{
17491798
"type":"structure",
17501799
"required":["BudgetAdjustmentPeriod"],

0 commit comments

Comments
 (0)