Difference between revisions of "Filters.json"
Jump to navigation
Jump to search
(3 intermediate revisions by the same user not shown) | |||
Line 9: | Line 9: | ||
} | } | ||
− | One line | + | === One line === |
{ "Dimensions": { "Key": "SERVICE", "Values": ["Amazon Simple Storage Service"]}} | { "Dimensions": { "Key": "SERVICE", "Values": ["Amazon Simple Storage Service"]}} | ||
[[aws ce get-cost-and-usage]] --time-period Start=2020-06-01,End=2020-06-30 --granularity MONTHLY --metrics "BlendedCost" "UnblendedCost" "UsageQuantity" --group-by Type=DIMENSION,Key=SERVICE Type=TAG,Key=Environment --filter file://filters.json | [[aws ce get-cost-and-usage]] --time-period Start=2020-06-01,End=2020-06-30 --granularity MONTHLY --metrics "BlendedCost" "UnblendedCost" "UsageQuantity" --group-by Type=DIMENSION,Key=SERVICE Type=TAG,Key=Environment --filter file://filters.json | ||
+ | |||
+ | == See also == | ||
+ | * {{JSON}} | ||
+ | |||
+ | [[Category:Json]] |
Latest revision as of 08:58, 25 August 2022
{ "Dimensions": { "Key": "SERVICE", "Values": [ "Amazon Simple Storage Service" ] } }
One line[edit]
{ "Dimensions": { "Key": "SERVICE", "Values": ["Amazon Simple Storage Service"]}}
aws ce get-cost-and-usage --time-period Start=2020-06-01,End=2020-06-30 --granularity MONTHLY --metrics "BlendedCost" "UnblendedCost" "UsageQuantity" --group-by Type=DIMENSION,Key=SERVICE Type=TAG,Key=Environment --filter file://filters.json
See also[edit]
Advertising: