Skip to content

Commit dede10b

Browse files
author
AWS
committed
AWS Cost Explorer Service Update: Support for payer account dimension and billing view health status.
1 parent 34283ff commit dede10b

File tree

2 files changed

+33
-9
lines changed

2 files changed

+33
-9
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 Cost Explorer Service",
4+
"contributor": "",
5+
"description": "Support for payer account dimension and billing view health status."
6+
}

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

Lines changed: 27 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,8 @@
200200
{"shape":"DataUnavailableException"},
201201
{"shape":"InvalidNextTokenException"},
202202
{"shape":"RequestChangedException"},
203-
{"shape":"ResourceNotFoundException"}
203+
{"shape":"ResourceNotFoundException"},
204+
{"shape":"BillingViewHealthStatusException"}
204205
],
205206
"documentation":"<p>Retrieves cost and usage metrics for your account. You can specify which cost and usage-related metric that you want the request to return. For example, you can specify <code>BlendedCosts</code> or <code>UsageQuantity</code>. You can also filter and group your data by various dimensions, such as <code>SERVICE</code> or <code>AZ</code>, in a specific time range. For a complete list of valid dimensions, see the <a href=\"https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_GetDimensionValues.html\">GetDimensionValues</a> operation. Management account in an organization in Organizations have access to all member accounts.</p> <p>For information about filter limitations, see <a href=\"https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/billing-limits.html\">Quotas and restrictions</a> in the <i>Billing and Cost Management User Guide</i>.</p>"
206207
},
@@ -216,7 +217,8 @@
216217
{"shape":"DataUnavailableException"},
217218
{"shape":"InvalidNextTokenException"},
218219
{"shape":"LimitExceededException"},
219-
{"shape":"ResourceNotFoundException"}
220+
{"shape":"ResourceNotFoundException"},
221+
{"shape":"BillingViewHealthStatusException"}
220222
],
221223
"documentation":"<p>Retrieves cost and usage comparisons for your account between two periods within the last 13 months. If you have enabled multi-year data at monthly granularity, you can go back up to 38 months.</p>"
222224
},
@@ -234,7 +236,8 @@
234236
{"shape":"BillExpirationException"},
235237
{"shape":"InvalidNextTokenException"},
236238
{"shape":"RequestChangedException"},
237-
{"shape":"ResourceNotFoundException"}
239+
{"shape":"ResourceNotFoundException"},
240+
{"shape":"BillingViewHealthStatusException"}
238241
],
239242
"documentation":"<p>Retrieves cost and usage metrics with resources for your account. You can specify which cost and usage-related metric, such as <code>BlendedCosts</code> or <code>UsageQuantity</code>, that you want the request to return. You can also filter and group your data by various dimensions, such as <code>SERVICE</code> or <code>AZ</code>, in a specific time range. For a complete list of valid dimensions, see the <a href=\"https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_GetDimensionValues.html\">GetDimensionValues</a> operation. Management account in an organization in Organizations have access to all member accounts.</p> <p>Hourly granularity is only available for EC2-Instances (Elastic Compute Cloud) resource-level data. All other resource-level data is available at daily granularity.</p> <note> <p>This is an opt-in only feature. You can enable this feature from the Cost Explorer Settings page. For information about how to access the Settings page, see <a href=\"https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/ce-access.html\">Controlling Access for Cost Explorer</a> in the <i>Billing and Cost Management User Guide</i>.</p> </note>"
240243
},
@@ -252,7 +255,8 @@
252255
{"shape":"DataUnavailableException"},
253256
{"shape":"InvalidNextTokenException"},
254257
{"shape":"RequestChangedException"},
255-
{"shape":"ResourceNotFoundException"}
258+
{"shape":"ResourceNotFoundException"},
259+
{"shape":"BillingViewHealthStatusException"}
256260
],
257261
"documentation":"<p>Retrieves an array of Cost Category names and values incurred cost.</p> <note> <p>If some Cost Category names and values are not associated with any cost, they will not be returned by this API.</p> </note>"
258262
},
@@ -268,7 +272,8 @@
268272
{"shape":"DataUnavailableException"},
269273
{"shape":"InvalidNextTokenException"},
270274
{"shape":"LimitExceededException"},
271-
{"shape":"ResourceNotFoundException"}
275+
{"shape":"ResourceNotFoundException"},
276+
{"shape":"BillingViewHealthStatusException"}
272277
],
273278
"documentation":"<p>Retrieves key factors driving cost changes between two time periods within the last 13 months, such as usage changes, discount changes, and commitment-based savings. If you have enabled multi-year data at monthly granularity, you can go back up to 38 months.</p>"
274279
},
@@ -283,7 +288,8 @@
283288
"errors":[
284289
{"shape":"LimitExceededException"},
285290
{"shape":"DataUnavailableException"},
286-
{"shape":"ResourceNotFoundException"}
291+
{"shape":"ResourceNotFoundException"},
292+
{"shape":"BillingViewHealthStatusException"}
287293
],
288294
"documentation":"<p>Retrieves a forecast for how much Amazon Web Services predicts that you will spend over the forecast time period that you select, based on your past costs. </p>"
289295
},
@@ -301,7 +307,8 @@
301307
{"shape":"DataUnavailableException"},
302308
{"shape":"InvalidNextTokenException"},
303309
{"shape":"RequestChangedException"},
304-
{"shape":"ResourceNotFoundException"}
310+
{"shape":"ResourceNotFoundException"},
311+
{"shape":"BillingViewHealthStatusException"}
305312
],
306313
"documentation":"<p>Retrieves all available filter values for a specified filter over a period of time. You can search the dimension values for an arbitrary string. </p>"
307314
},
@@ -450,7 +457,8 @@
450457
{"shape":"DataUnavailableException"},
451458
{"shape":"InvalidNextTokenException"},
452459
{"shape":"RequestChangedException"},
453-
{"shape":"ResourceNotFoundException"}
460+
{"shape":"ResourceNotFoundException"},
461+
{"shape":"BillingViewHealthStatusException"}
454462
],
455463
"documentation":"<p>Queries for available tag keys and tag values for a specified period. You can search the tag values for an arbitrary string. </p>"
456464
},
@@ -466,7 +474,8 @@
466474
{"shape":"LimitExceededException"},
467475
{"shape":"DataUnavailableException"},
468476
{"shape":"UnresolvableUsageUnitException"},
469-
{"shape":"ResourceNotFoundException"}
477+
{"shape":"ResourceNotFoundException"},
478+
{"shape":"BillingViewHealthStatusException"}
470479
],
471480
"documentation":"<p>Retrieves a forecast for how much Amazon Web Services predicts that you will use over the forecast time period that you select, based on your past usage. </p>"
472481
},
@@ -1045,6 +1054,14 @@
10451054
"min":20,
10461055
"pattern":"^arn:aws[a-z-]*:(billing)::[0-9]{12}:billingview/[-a-zA-Z0-9/:_+=.-@]{1,43}$"
10471056
},
1057+
"BillingViewHealthStatusException":{
1058+
"type":"structure",
1059+
"members":{
1060+
"Message":{"shape":"ErrorMessage"}
1061+
},
1062+
"documentation":"<p> The billing view status must be <code>HEALTHY</code> to perform this action. Try again when the status is <code>HEALTHY</code>. </p>",
1063+
"exception":true
1064+
},
10481065
"CommitmentPurchaseAnalysisConfiguration":{
10491066
"type":"structure",
10501067
"members":{
@@ -1909,6 +1926,7 @@
19091926
"AZ",
19101927
"INSTANCE_TYPE",
19111928
"LINKED_ACCOUNT",
1929+
"PAYER_ACCOUNT",
19121930
"LINKED_ACCOUNT_NAME",
19131931
"OPERATION",
19141932
"PURCHASE_TYPE",

0 commit comments

Comments
 (0)