Difference between revisions of "Aws ce get-anomalies"

From wikieduonline
Jump to navigation Jump to search
 
(9 intermediate revisions by 2 users not shown)
Line 2: Line 2:
 
https://awscli.amazonaws.com/v2/documentation/api/latest/reference/ce/get-anomalies.html
 
https://awscli.amazonaws.com/v2/documentation/api/latest/reference/ce/get-anomalies.html
  
[[aws ce get-anomalies --date-interval]]
 
 
  [[aws ce get-anomalies --date-interval]] [[StartDate]]=string,[[EndDate]]=string
 
  [[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 ==
 
== Related ==
Line 9: Line 39:
  
 
== See also ==
 
== See also ==
* {{aws ce}}
+
* {{aws anomaly}}
 
* {{AWS Free Tier}}
 
* {{AWS Free Tier}}
  
 
[[Category:AWS]]
 
[[Category:AWS]]

Latest revision as of 12:12, 12 December 2022

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: