Skip to content

Commit 9815aa8

Browse files
author
AWS
committed
AWS Cost Explorer Service Update: Add support for COST_CATEGORY, TAG, and LINKED_ACCOUNT AWS managed cost anomaly detection monitors
1 parent aad6525 commit 9815aa8

File tree

2 files changed

+18
-4
lines changed

2 files changed

+18
-4
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": "Add support for COST_CATEGORY, TAG, and LINKED_ACCOUNT AWS managed cost anomaly detection monitors"
6+
}

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

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -913,13 +913,16 @@
913913
},
914914
"MonitorType":{
915915
"shape":"MonitorType",
916-
"documentation":"<p>The possible type values. </p>"
916+
"documentation":"<p>The type of the monitor. </p> <p>Set this to <code>DIMENSIONAL</code> for an Amazon Web Services managed monitor. Amazon Web Services managed monitors automatically track up to the top 5,000 values by cost within a dimension of your choosing. Each dimension value is evaluated independently. If you start incurring cost in a new value of your chosen dimension, it will automatically be analyzed by an Amazon Web Services managed monitor.</p> <p>Set this to <code>CUSTOM</code> for a customer managed monitor. Customer managed monitors let you select specific dimension values that get monitored in aggregate. </p> <p>For more information about monitor types, see <a href=\"https://docs.aws.amazon.com/cost-management/latest/userguide/getting-started-ad.html#monitor-type-def\">Monitor types</a> in the <i>Billing and Cost Management User Guide</i>.</p>"
917917
},
918918
"MonitorDimension":{
919919
"shape":"MonitorDimension",
920-
"documentation":"<p>The dimensions to evaluate. </p>"
920+
"documentation":"<p>For customer managed monitors, do not specify this field.</p> <p>For Amazon Web Services managed monitors, this field controls which cost dimension is automatically analyzed by the monitor. For <code>TAG</code> and <code>COST_CATEGORY </code> dimensions, you must also specify MonitorSpecification to configure the specific tag or cost category key to analyze.</p>"
921+
},
922+
"MonitorSpecification":{
923+
"shape":"Expression",
924+
"documentation":"<p>An <a href=\"https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_Expression.html\">Expression</a> object used to control what costs the monitor analyzes for anomalies.</p> <p>For Amazon Web Services managed monitors:</p> <ul> <li> <p>If MonitorDimension is <code>SERVICE</code> or <code>LINKED_ACCOUNT</code>, do not specify this field</p> </li> <li> <p>If MonitorDimension is <code>TAG</code>, set this field to <code>{ \"Tags\": { \"Key\": \"your tag key\" } }</code> </p> </li> <li> <p>If MonitorDimension is <code>COST_CATEGORY</code>, set this field to <code>{ \"CostCategories\": { \"Key\": \"your cost category key\" } }</code> </p> </li> </ul> <p>For customer managed monitors:</p> <ul> <li> <p>To track linked accounts, set this field to <code>{ \"Dimensions\": { \"Key\": \"LINKED_ACCOUNT\", \"Values\": [ \"your list of up to 10 account IDs\" ] } } </code> </p> </li> <li> <p>To track cost allocation tags, set this field to <code>{ \"Tags\": { \"Key\": \"your tag key\", \"Values\": [ \"your list of up to 10 tag values\" ] } } </code> </p> </li> <li> <p>To track cost categories, set this field to<code>{ \"CostCategories\": { \"Key\": \"your cost category key\", \"Values\": [ \"your cost category value\" ] } } </code> </p> </li> </ul>"
921925
},
922-
"MonitorSpecification":{"shape":"Expression"},
923926
"DimensionalValueCount":{
924927
"shape":"NonNegativeInteger",
925928
"documentation":"<p>The value for evaluated dimensions. </p>"
@@ -3978,7 +3981,12 @@
39783981
},
39793982
"MonitorDimension":{
39803983
"type":"string",
3981-
"enum":["SERVICE"]
3984+
"enum":[
3985+
"SERVICE",
3986+
"LINKED_ACCOUNT",
3987+
"TAG",
3988+
"COST_CATEGORY"
3989+
]
39823990
},
39833991
"MonitorType":{
39843992
"type":"string",

0 commit comments

Comments
 (0)