Skip to content

Commit 844eaab

Browse files
Support for retrieving cost, usage, and forecast for billing view.
1 parent 985ba01 commit 844eaab

31 files changed

+535
-14
lines changed

generator/ServiceModels/ce/ce-2017-10-25.api.json

Lines changed: 27 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,8 @@
187187
{"shape":"BillExpirationException"},
188188
{"shape":"DataUnavailableException"},
189189
{"shape":"InvalidNextTokenException"},
190-
{"shape":"RequestChangedException"}
190+
{"shape":"RequestChangedException"},
191+
{"shape":"ResourceNotFoundException"}
191192
]
192193
},
193194
"GetCostAndUsageWithResources":{
@@ -203,7 +204,8 @@
203204
{"shape":"LimitExceededException"},
204205
{"shape":"BillExpirationException"},
205206
{"shape":"InvalidNextTokenException"},
206-
{"shape":"RequestChangedException"}
207+
{"shape":"RequestChangedException"},
208+
{"shape":"ResourceNotFoundException"}
207209
]
208210
},
209211
"GetCostCategories":{
@@ -219,7 +221,8 @@
219221
{"shape":"BillExpirationException"},
220222
{"shape":"DataUnavailableException"},
221223
{"shape":"InvalidNextTokenException"},
222-
{"shape":"RequestChangedException"}
224+
{"shape":"RequestChangedException"},
225+
{"shape":"ResourceNotFoundException"}
223226
]
224227
},
225228
"GetCostForecast":{
@@ -232,7 +235,8 @@
232235
"output":{"shape":"GetCostForecastResponse"},
233236
"errors":[
234237
{"shape":"LimitExceededException"},
235-
{"shape":"DataUnavailableException"}
238+
{"shape":"DataUnavailableException"},
239+
{"shape":"ResourceNotFoundException"}
236240
]
237241
},
238242
"GetDimensionValues":{
@@ -248,7 +252,8 @@
248252
{"shape":"BillExpirationException"},
249253
{"shape":"DataUnavailableException"},
250254
{"shape":"InvalidNextTokenException"},
251-
{"shape":"RequestChangedException"}
255+
{"shape":"RequestChangedException"},
256+
{"shape":"ResourceNotFoundException"}
252257
]
253258
},
254259
"GetReservationCoverage":{
@@ -386,7 +391,8 @@
386391
{"shape":"BillExpirationException"},
387392
{"shape":"DataUnavailableException"},
388393
{"shape":"InvalidNextTokenException"},
389-
{"shape":"RequestChangedException"}
394+
{"shape":"RequestChangedException"},
395+
{"shape":"ResourceNotFoundException"}
390396
]
391397
},
392398
"GetUsageForecast":{
@@ -400,7 +406,8 @@
400406
"errors":[
401407
{"shape":"LimitExceededException"},
402408
{"shape":"DataUnavailableException"},
403-
{"shape":"UnresolvableUsageUnitException"}
409+
{"shape":"UnresolvableUsageUnitException"},
410+
{"shape":"ResourceNotFoundException"}
404411
]
405412
},
406413
"ListCommitmentPurchaseAnalyses":{
@@ -837,6 +844,12 @@
837844
},
838845
"exception":true
839846
},
847+
"BillingViewArn":{
848+
"type":"string",
849+
"max":2048,
850+
"min":20,
851+
"pattern":"^arn:aws[a-z-]*:(billing)::[0-9]{12}:billingview/[-a-zA-Z0-9/:_+=.-@]{1,43}$"
852+
},
840853
"CommitmentPurchaseAnalysisConfiguration":{
841854
"type":"structure",
842855
"members":{
@@ -1682,6 +1695,7 @@
16821695
"Filter":{"shape":"Expression"},
16831696
"Metrics":{"shape":"MetricNames"},
16841697
"GroupBy":{"shape":"GroupDefinitions"},
1698+
"BillingViewArn":{"shape":"BillingViewArn"},
16851699
"NextPageToken":{"shape":"NextPageToken"}
16861700
}
16871701
},
@@ -1707,6 +1721,7 @@
17071721
"Filter":{"shape":"Expression"},
17081722
"Metrics":{"shape":"MetricNames"},
17091723
"GroupBy":{"shape":"GroupDefinitions"},
1724+
"BillingViewArn":{"shape":"BillingViewArn"},
17101725
"NextPageToken":{"shape":"NextPageToken"}
17111726
}
17121727
},
@@ -1728,6 +1743,7 @@
17281743
"CostCategoryName":{"shape":"CostCategoryName"},
17291744
"Filter":{"shape":"Expression"},
17301745
"SortBy":{"shape":"SortDefinitions"},
1746+
"BillingViewArn":{"shape":"BillingViewArn"},
17311747
"MaxResults":{"shape":"MaxResults"},
17321748
"NextPageToken":{"shape":"NextPageToken"}
17331749
}
@@ -1758,6 +1774,7 @@
17581774
"Metric":{"shape":"Metric"},
17591775
"Granularity":{"shape":"Granularity"},
17601776
"Filter":{"shape":"Expression"},
1777+
"BillingViewArn":{"shape":"BillingViewArn"},
17611778
"PredictionIntervalLevel":{"shape":"PredictionIntervalLevel"}
17621779
}
17631780
},
@@ -1781,6 +1798,7 @@
17811798
"Context":{"shape":"Context"},
17821799
"Filter":{"shape":"Expression"},
17831800
"SortBy":{"shape":"SortDefinitions"},
1801+
"BillingViewArn":{"shape":"BillingViewArn"},
17841802
"MaxResults":{"shape":"MaxResults"},
17851803
"NextPageToken":{"shape":"NextPageToken"}
17861804
}
@@ -2016,6 +2034,7 @@
20162034
"TagKey":{"shape":"TagKey"},
20172035
"Filter":{"shape":"Expression"},
20182036
"SortBy":{"shape":"SortDefinitions"},
2037+
"BillingViewArn":{"shape":"BillingViewArn"},
20192038
"MaxResults":{"shape":"MaxResults"},
20202039
"NextPageToken":{"shape":"NextPageToken"}
20212040
}
@@ -2046,6 +2065,7 @@
20462065
"Metric":{"shape":"Metric"},
20472066
"Granularity":{"shape":"Granularity"},
20482067
"Filter":{"shape":"Expression"},
2068+
"BillingViewArn":{"shape":"BillingViewArn"},
20492069
"PredictionIntervalLevel":{"shape":"PredictionIntervalLevel"}
20502070
}
20512071
},

generator/ServiceModels/ce/ce-2017-10-25.docs.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -258,6 +258,18 @@
258258
"refs": {
259259
}
260260
},
261+
"BillingViewArn": {
262+
"base": null,
263+
"refs": {
264+
"GetCostAndUsageRequest$BillingViewArn": "<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>",
265+
"GetCostAndUsageWithResourcesRequest$BillingViewArn": "<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>",
266+
"GetCostCategoriesRequest$BillingViewArn": "<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>",
267+
"GetCostForecastRequest$BillingViewArn": "<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>",
268+
"GetDimensionValuesRequest$BillingViewArn": "<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>",
269+
"GetTagsRequest$BillingViewArn": "<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>",
270+
"GetUsageForecastRequest$BillingViewArn": "<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>"
271+
}
272+
},
261273
"CommitmentPurchaseAnalysisConfiguration": {
262274
"base": "<p>The configuration for the commitment purchase analysis.</p>",
263275
"refs": {

0 commit comments

Comments
 (0)