aws ce get-anomalies

From wikieduonline
Revision as of 12:12, 12 December 2022 by Ant (talk | contribs) (→‎See also)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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

       {
           "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

Advertising: