Difference between revisions of "Aws ce"

From wikieduonline
Jump to navigation Jump to search
 
(4 intermediate revisions by 2 users not shown)
Line 2: Line 2:
 
* [[AWS Cost Anomaly Detection: aws ce]]
 
* [[AWS Cost Anomaly Detection: aws ce]]
  
  [[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=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 ==
  
  create-anomaly-monitor
+
  [[create-anomaly-monitor]]
  create-anomaly-subscription
+
  [[create-anomaly-subscription]]
 
  create-cost-category-definition
 
  create-cost-category-definition
 
  delete-anomaly-monitor
 
  delete-anomaly-monitor
Line 15: Line 18:
 
  [[get-anomalies]]
 
  [[get-anomalies]]
 
  [[get-anomaly-monitors]]
 
  [[get-anomaly-monitors]]
  get-anomaly-subscriptions
+
  [[get-anomaly-subscriptions]]
 
  [[get-cost-and-usage]]
 
  [[get-cost-and-usage]]
 
  get-cost-and-usage-with-resources
 
  get-cost-and-usage-with-resources

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: