How to aggregate costs using UsageTypeGroups
#6956
-
Hi all, I am currently trying to retrieve cost and usage data for my aws account. {
"TimePeriod": {
"Start": "2022-05-14",
"End": "2022-05-15"
},
"Granularity": "DAILY",
"Filter": {
"Dimensions": {
"Key": "RECORD_TYPE",
"Values": [
"Usage"
]
}
},
"Metrics": [
"UnblendedCost",
"UsageQuantity"
],
"GroupBy": [
{
"Key": "SERVICE",
"Type": "DIMENSION"
},
{
"Key": "USAGE_TYPE",
"Type": "DIMENSION"
}
]
} NOTE: I am calling it using |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hi @Haegi is this the filter you're looking for?
|
Beta Was this translation helpful? Give feedback.
Hi @Haegi is this the filter you're looking for?