Difference between revisions of "Filters.json"

From wikieduonline
Jump to navigation Jump to search
 
(4 intermediate revisions by 2 users 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
 +
 +
== 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: