aws ce get-anomalies

From wikieduonline
(Redirected from Get-anomalies)
Jump to navigation Jump to search

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

Example output[edit]

       {
           "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[edit]

An error occurred (ValidationException) when calling the GetAnomalies operation: Earliest supported detectionDate for GetRecentAnomalies is 2022-02-18

Related[edit]

See also[edit]

Advertising: