aws ce

Run cost management operations through the AWS Cost Explorer service. More information: https://awscli.amazonaws.com/v2/documentation/api/latest/reference/ce/index.html.

aws ce create-anomaly-monitor --monitor {{monitor_name}} --monitor-type {{monitor_type}}

aws ce create-anomaly-subscription --subscription {{subscription_name}} --monitor-arn {{monitor_arn}} --subscribers {{subscribers}}

aws ce get-anomalies --monitor-arn {{monitor_arn}} --start-time {{start_time}} --end-time {{end_time}}

aws ce get-cost-and-usage --time-period {{start_date}}/{{end_date}} --granularity {{granularity}} --metrics {{metrics}}

aws ce get-cost-forecast --time-period {{start_date}}/{{end_date}} --granularity {{granularity}} --metric {{metric}}

aws ce get-reservation-utilization --time-period {{start_date}}/{{end_date}} --granularity {{granularity}}

aws ce list-cost-category-definitions

aws ce tag-resource --resource-arn {{resource_arn}} --tags {{tags}}