aws ce get-anomalies
https://awscli.amazonaws.com/v2/documentation/api/latest/reference/ce/get-anomalies.html
aws ce get-anomalies --date-interval StartDate=string,EndDate=string aws ce get-anomalies --date-interval StartDate=2022-03-01,EndDate=2022-05-01 --output text
Contents
Example output
{ "AnomalyId": "22038e3c-eb5d-4c0c-9a1d-04bf29056677", "AnomalyStartDate": "2021-12-31T00:00:00Z", "AnomalyEndDate": "2022-01-01T00:00:00Z", "DimensionValue": "Amazon API Gateway", "RootCauses": [ { "Service": "Amazon API Gateway", "Region": "eu-central-1", "LinkedAccount": "174058868111", "UsageType": "EUC1-ApiGatewayRequest" } ], "AnomalyScore": { "MaxScore": 0.43, "CurrentScore": 0.42 }, "Impact": { "MaxImpact": 0.15, "TotalImpact": 0.28 }, "MonitorArn": "arn:aws:ce::174058868111:anomalymonitor/22038e3c-eb5d-4c0c-9a1d-04bf29056677" }
Errors
An error occurred (ValidationException) when calling the GetAnomalies operation: Earliest supported detectionDate for GetRecentAnomalies is 2022-02-18
Related
See also
- AWS Cost Anomaly Detection:
aws ce [ describe-anomaly-detectors | aws ce create-anomaly-monitor | aws ce create-anomaly-subscription | aws ce get-anomalies ]
- AWS Cost: AWS Free Tier, AWS Cost Explorer, AWS Cost Anomaly Detection, AWS Service Quotas, AWS Budgets: AWS Budgets Actions, AWS Cost related services, Reserved Instances (RI), AWS Savings Plans, AWS Billing and Cost Management console, AWS Storage costs, rightsizing recommendation, AWS Cost and Usage Reports (AWS CUR), AWS savings, AWS Compute Optimizer
Advertising: