Difference between revisions of "Aws ce"
Jump to navigation
Jump to search
Line 3: | Line 3: | ||
[[aws ce get-cost-and-usage]] --time-period Start=2023-06-01,End=2023-10-24 --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=2023-06-01,End=2023-10-24 --granularity MONTHLY --metrics "BlendedCost" "UnblendedCost" "UsageQuantity" --group-by Type=DIMENSION,Key=SERVICE Type=TAG,Key=Environment | ||
+ | |||
+ | |||
+ | {{aws ce get-cost-and-usage example}} | ||
== All == | == All == |
Latest revision as of 11:09, 12 February 2024
aws ce get-cost-and-usage --time-period Start=2023-06-01,End=2023-10-24 --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=2023-02-29,End=2024-02-29' \ --metrics 'UnblendedCost' \ --granularity 'MONTHLY' \ --query 'ResultsByTime[*].Total.[UnblendedCost]' \ --output 'table'
All[edit]
create-anomaly-monitor create-anomaly-subscription create-cost-category-definition delete-anomaly-monitor delete-anomaly-subscription delete-cost-category-definition describe-cost-category-definition get-anomalies get-anomaly-monitors get-anomaly-subscriptions get-cost-and-usage get-cost-and-usage-with-resources get-cost-categories get-cost-forecast get-dimension-values get-reservation-coverage get-reservation-purchase-recommendation get-reservation-utilization get-rightsizing-recommendation get-savings-plans-coverage get-savings-plans-purchase-recommendation get-savings-plans-utilization get-savings-plans-utilization-details get-tags get-usage-forecast list-cost-category-definitions provide-anomaly-feedback update-anomaly-monitor update-anomaly-subscription update-cost-category-definition
See also[edit]
Advertising: