Difference between revisions of "Aws ce get-cost-and-usage"

From wikieduonline
Jump to navigation Jump to search
Line 2: Line 2:
 
https://awscli.amazonaws.com/v2/documentation/api/latest/reference/ce/get-cost-and-usage.html
 
https://awscli.amazonaws.com/v2/documentation/api/latest/reference/ce/get-cost-and-usage.html
  
  [[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
+
  [[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
  
  

Revision as of 14:37, 14 November 2021

https://awscli.amazonaws.com/v2/documentation/api/latest/reference/ce/get-cost-and-usage.html

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

Advertising: