1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260
|
// Code generated by smithy-go-codegen DO NOT EDIT.
package types
import (
smithydocument "github.com/aws/smithy-go/document"
"time"
)
// Returns the number of open reactive insights, the number of open proactive
// insights, and the number of metrics analyzed in your Amazon Web Services
// account. Use these numbers to gauge the health of operations in your Amazon Web
// Services account.
type AccountHealth struct {
// The ID of the Amazon Web Services account.
AccountId *string
// Information about the health of the Amazon Web Services resources in your
// account, including the number of open proactive, open reactive insights, and the
// Mean Time to Recover (MTTR) of closed insights.
Insight *AccountInsightHealth
noSmithyDocumentSerde
}
// Information about the number of open reactive and proactive insights that can
// be used to gauge the health of your system.
type AccountInsightHealth struct {
// An integer that specifies the number of open proactive insights in your Amazon
// Web Services account.
OpenProactiveInsights int32
// An integer that specifies the number of open reactive insights in your Amazon
// Web Services account.
OpenReactiveInsights int32
noSmithyDocumentSerde
}
// Information about your account's integration with Amazon CodeGuru Profiler.
// This returns whether DevOps Guru is configured to consume recommendations
// generated from Amazon CodeGuru Profiler.
type AmazonCodeGuruProfilerIntegration struct {
// The status of the CodeGuru Profiler integration. Specifies if DevOps Guru is
// enabled to consume recommendations that are generated from Amazon CodeGuru
// Profiler.
Status EventSourceOptInStatus
noSmithyDocumentSerde
}
// An Amazon CloudWatch log group that contains log anomalies and is used to
// generate an insight.
type AnomalousLogGroup struct {
// The time the anomalous log events stopped.
ImpactEndTime *time.Time
// The time the anomalous log events began. The impact start time indicates the
// time of the first log anomaly event that occurs.
ImpactStartTime *time.Time
// The log anomalies in the log group. Each log anomaly displayed represents a
// cluster of similar anomalous log events.
LogAnomalyShowcases []LogAnomalyShowcase
// The name of the CloudWatch log group.
LogGroupName *string
// The number of log lines that were scanned for anomalous log events.
NumberOfLogLinesScanned int32
noSmithyDocumentSerde
}
// A time range that specifies when DevOps Guru opens and then closes an anomaly.
// This is different from AnomalyTimeRange , which specifies the time range when
// DevOps Guru actually observes the anomalous behavior.
type AnomalyReportedTimeRange struct {
// The time when an anomaly is opened.
//
// This member is required.
OpenTime *time.Time
// The time when an anomaly is closed.
CloseTime *time.Time
noSmithyDocumentSerde
}
// The Amazon Web Services resources in which DevOps Guru detected unusual
// behavior that resulted in the generation of an anomaly. When DevOps Guru detects
// multiple related anomalies, it creates and insight with details about the
// anomalous behavior and suggestions about how to correct the problem.
type AnomalyResource struct {
// The name of the Amazon Web Services resource.
Name *string
// The type of the Amazon Web Services resource.
Type *string
noSmithyDocumentSerde
}
// Details about the source of the anomalous operational data that triggered the
// anomaly.
type AnomalySourceDetails struct {
// An array of CloudWatchMetricsDetail objects that contain information about
// analyzed CloudWatch metrics that show anomalous behavior.
CloudWatchMetrics []CloudWatchMetricsDetail
// An array of PerformanceInsightsMetricsDetail objects that contain information
// about analyzed Performance Insights metrics that show anomalous behavior.
PerformanceInsightsMetrics []PerformanceInsightsMetricsDetail
noSmithyDocumentSerde
}
// Metadata about the detection source that generates proactive anomalies. The
// anomaly is detected using analysis of the metric data
 over a period of time
type AnomalySourceMetadata struct {
// The source of the anomaly.
Source *string
// The name of the anomaly's resource.
SourceResourceName *string
// The anomaly's resource type.
SourceResourceType *string
noSmithyDocumentSerde
}
// A time range that specifies when the observed unusual behavior in an anomaly
// started and ended. This is different from AnomalyReportedTimeRange , which
// specifies the time range when DevOps Guru opens and then closes an anomaly.
type AnomalyTimeRange struct {
// The time when the anomalous behavior started.
//
// This member is required.
StartTime *time.Time
// The time when the anomalous behavior ended.
EndTime *time.Time
noSmithyDocumentSerde
}
// Information about Amazon Web Services CloudFormation stacks. You can use up to
// 500 stacks to specify which Amazon Web Services resources in your account to
// analyze. For more information, see Stacks (https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacks.html)
// in the Amazon Web Services CloudFormation User Guide.
type CloudFormationCollection struct {
// An array of CloudFormation stack names.
StackNames []string
noSmithyDocumentSerde
}
// Information about Amazon Web Services CloudFormation stacks. You can use up to
// 500 stacks to specify which Amazon Web Services resources in your account to
// analyze. For more information, see Stacks (https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacks.html)
// in the Amazon Web Services CloudFormation User Guide.
type CloudFormationCollectionFilter struct {
// An array of CloudFormation stack names.
StackNames []string
noSmithyDocumentSerde
}
// Information about an Amazon Web Services CloudFormation stack used to create a
// monthly cost estimate for DevOps Guru to analyze Amazon Web Services resources.
// The maximum number of stacks you can specify for a cost estimate is one. The
// estimate created is for the cost to analyze the Amazon Web Services resources
// defined by the stack. For more information, see Stacks (https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacks.html)
// in the Amazon Web Services CloudFormation User Guide.
type CloudFormationCostEstimationResourceCollectionFilter struct {
// An array of CloudFormation stack names. Its size is fixed at 1 item.
StackNames []string
noSmithyDocumentSerde
}
// Information about the health of Amazon Web Services resources in your account
// that are specified by an Amazon Web Services CloudFormation stack.
type CloudFormationHealth struct {
// Number of resources that DevOps Guru is monitoring in your account that are
// specified by an Amazon Web Services CloudFormation stack.
AnalyzedResourceCount *int64
// Information about the health of the Amazon Web Services resources in your
// account that are specified by an Amazon Web Services CloudFormation stack,
// including the number of open proactive, open reactive insights, and the Mean
// Time to Recover (MTTR) of closed insights.
Insight *InsightHealth
// The name of the CloudFormation stack.
StackName *string
noSmithyDocumentSerde
}
// Contains information about the analyzed metrics that displayed anomalous
// behavior.
type CloudWatchMetricsDataSummary struct {
// This is an enum of the status showing whether the metric value pair list has
// partial or complete data, or if there was an error.
StatusCode CloudWatchMetricDataStatusCode
// This is a list of Amazon CloudWatch metric values at given timestamp.
TimestampMetricValuePairList []TimestampMetricValuePair
noSmithyDocumentSerde
}
// Information about an Amazon CloudWatch metric.
type CloudWatchMetricsDetail struct {
// An array of CloudWatch dimensions associated with
Dimensions []CloudWatchMetricsDimension
// This object returns anomaly metric data.
MetricDataSummary *CloudWatchMetricsDataSummary
// The name of the CloudWatch metric.
MetricName *string
// The namespace of the CloudWatch metric. A namespace is a container for
// CloudWatch metrics.
Namespace *string
// The length of time associated with the CloudWatch metric in number of seconds.
Period int32
// The type of statistic associated with the CloudWatch metric. For more
// information, see Statistics (https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cloudwatch_concepts.html#Statistic)
// in the Amazon CloudWatch User Guide.
Stat CloudWatchMetricsStat
// The unit of measure used for the CloudWatch metric. For example, Bytes , Seconds
// , Count , and Percent .
Unit *string
noSmithyDocumentSerde
}
// The dimension of an Amazon CloudWatch metric that is used when DevOps Guru
// analyzes the resources in your account for operational problems and anomalous
// behavior. A dimension is a name/value pair that is part of the identity of a
// metric. A metric can have up to 10 dimensions. For more information, see
// Dimensions (https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cloudwatch_concepts.html#Dimension)
// in the Amazon CloudWatch User Guide.
type CloudWatchMetricsDimension struct {
// The name of the CloudWatch dimension.
Name *string
// The value of the CloudWatch dimension.
Value *string
noSmithyDocumentSerde
}
// Information about a filter used to specify which Amazon Web Services resources
// are analyzed to create a monthly DevOps Guru cost estimate. For more
// information, see Estimate your Amazon DevOps Guru costs (https://docs.aws.amazon.com/devops-guru/latest/userguide/cost-estimate.html)
// and Amazon DevOps Guru pricing (http://aws.amazon.com/devops-guru/pricing/) .
type CostEstimationResourceCollectionFilter struct {
// An object that specifies the CloudFormation stack that defines the Amazon Web
// Services resources used to create a monthly estimate for DevOps Guru.
CloudFormation *CloudFormationCostEstimationResourceCollectionFilter
// The Amazon Web Services tags used to filter the resource collection that is
// used for a cost estimate. Tags help you identify and organize your Amazon Web
// Services resources. Many Amazon Web Services services support tagging, so you
// can assign the same tag to resources from different services to indicate that
// the resources are related. For example, you can assign the same tag to an Amazon
// DynamoDB table resource that you assign to an Lambda function. For more
// information about using tags, see the Tagging best practices (https://docs.aws.amazon.com/whitepapers/latest/tagging-best-practices/tagging-best-practices.html)
// whitepaper. Each Amazon Web Services tag has two parts.
// - A tag key (for example, CostCenter , Environment , Project , or Secret ).
// Tag keys are case-sensitive.
// - An optional field known as a tag value (for example, 111122223333 ,
// Production , or a team name). Omitting the tag value is the same as using an
// empty string. Like tag keys, tag values are case-sensitive.
// Together these are known as key-value pairs. The string used for a key in a tag
// that you use to define your resource coverage must begin with the prefix
// Devops-guru- . The tag key might be DevOps-Guru-deployment-application or
// devops-guru-rds-application . When you create a key, the case of characters in
// the key can be whatever you choose. After you create a key, it is
// case-sensitive. For example, DevOps Guru works with a key named devops-guru-rds
// and a key named DevOps-Guru-RDS , and these act as two different keys. Possible
// key/value pairs in your application might be
// Devops-Guru-production-application/RDS or
// Devops-Guru-production-application/containers .
Tags []TagCostEstimationResourceCollectionFilter
noSmithyDocumentSerde
}
// The time range of a cost estimation.
type CostEstimationTimeRange struct {
// The end time of the cost estimation.
EndTime *time.Time
// The start time of the cost estimation.
StartTime *time.Time
noSmithyDocumentSerde
}
// A range of time that specifies when anomalous behavior in an anomaly or insight
// ended.
type EndTimeRange struct {
// The earliest end time in the time range.
FromTime *time.Time
// The latest end time in the time range.
ToTime *time.Time
noSmithyDocumentSerde
}
// An Amazon Web Services resource event. Amazon Web Services resource events and
// metrics are analyzed by DevOps Guru to find anomalous behavior and provide
// recommendations to improve your operational solutions.
type Event struct {
// The source, AWS_CLOUD_TRAIL or AWS_CODE_DEPLOY , where DevOps Guru analysis
// found the event.
DataSource EventDataSource
// The class of the event. The class specifies what the event is related to, such
// as an infrastructure change, a deployment, or a schema change.
EventClass EventClass
// The Amazon Web Services source that emitted the event.
EventSource *string
// The ID of the event.
Id *string
// The name of the event.
Name *string
// A collection of Amazon Web Services resources supported by DevOps Guru. The two
// types of Amazon Web Services resource collections supported are Amazon Web
// Services CloudFormation stacks and Amazon Web Services resources that contain
// the same Amazon Web Services tag. DevOps Guru can be configured to analyze the
// Amazon Web Services resources that are defined in the stacks or that are tagged
// using the same tag key. You can specify up to 500 Amazon Web Services
// CloudFormation stacks.
ResourceCollection *ResourceCollection
// An EventResource object that contains information about the resource that
// emitted the event.
Resources []EventResource
// A Timestamp that specifies the time the event occurred.
Time *time.Time
noSmithyDocumentSerde
}
// The Amazon Web Services resource that emitted an event. Amazon Web Services
// resource events and metrics are analyzed by DevOps Guru to find anomalous
// behavior and provide recommendations to improve your operational solutions.
type EventResource struct {
// The Amazon Resource Name (ARN) of the resource that emitted an event.
Arn *string
// The name of the resource that emitted an event.
Name *string
// The type of resource that emitted an event.
Type *string
noSmithyDocumentSerde
}
// Information about the integration of DevOps Guru as consumer with another AWS
// service, such as AWS CodeGuru Profiler via EventBridge.
type EventSourcesConfig struct {
// Information about whether DevOps Guru is configured to consume recommendations
// which are generated from AWS CodeGuru Profiler.
AmazonCodeGuruProfiler *AmazonCodeGuruProfilerIntegration
noSmithyDocumentSerde
}
// The time range during which an Amazon Web Services event occurred. Amazon Web
// Services resource events and metrics are analyzed by DevOps Guru to find
// anomalous behavior and provide recommendations to improve your operational
// solutions.
type EventTimeRange struct {
// The time when the event started.
//
// This member is required.
FromTime *time.Time
// The time when the event ended.
//
// This member is required.
ToTime *time.Time
noSmithyDocumentSerde
}
// Information about insight feedback received from a customer.
type InsightFeedback struct {
// The feedback provided by the customer.
Feedback InsightFeedbackOption
// The insight feedback ID.
Id *string
noSmithyDocumentSerde
}
// Information about the number of open reactive and proactive insights that can
// be used to gauge the health of your system.
type InsightHealth struct {
// The Meant Time to Recover (MTTR) for the insight.
MeanTimeToRecoverInMilliseconds *int64
// The number of open proactive insights.
OpenProactiveInsights int32
// The number of open reactive insights.
OpenReactiveInsights int32
noSmithyDocumentSerde
}
// A time ranged that specifies when the observed behavior in an insight started
// and ended.
type InsightTimeRange struct {
// The time when the behavior described in an insight started.
//
// This member is required.
StartTime *time.Time
// The time when the behavior described in an insight ended.
EndTime *time.Time
noSmithyDocumentSerde
}
// Information about the KMS encryption used with DevOps Guru.
type KMSServerSideEncryptionIntegration struct {
// Describes the specified KMS key. To specify a KMS key, use its key ID, key ARN,
// alias name, or alias ARN. When using an alias name, prefix it with "alias/". If
// you specify a predefined Amazon Web Services alias (an Amazon Web Services alias
// with no key ID), Amazon Web Services KMS associates the alias with an Amazon Web
// Services managed key and returns its KeyId and Arn in the response. To specify a
// KMS key in a different Amazon Web Services account, you must use the key ARN or
// alias ARN. For example: Key ID: 1234abcd-12ab-34cd-56ef-1234567890ab Key ARN:
// arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab
// Alias name: alias/ExampleAlias Alias ARN:
// arn:aws:kms:us-east-2:111122223333:alias/ExampleAlias
KMSKeyId *string
// Specifies if DevOps Guru is enabled for customer managed keys.
OptInStatus OptInStatus
// The type of KMS key used. Customer managed keys are the KMS keys that you
// create. Amazon Web Services owned keys are keys that are owned and managed by
// DevOps Guru.
Type ServerSideEncryptionType
noSmithyDocumentSerde
}
// Information about whether DevOps Guru is configured to encrypt server-side data
// using KMS.
type KMSServerSideEncryptionIntegrationConfig struct {
// Describes the specified KMS key. To specify a KMS key, use its key ID, key ARN,
// alias name, or alias ARN. When using an alias name, prefix it with "alias/". If
// you specify a predefined Amazon Web Services alias (an Amazon Web Services alias
// with no key ID), Amazon Web Services KMS associates the alias with an Amazon Web
// Services managed key and returns its KeyId and Arn in the response. To specify a
// KMS key in a different Amazon Web Services account, you must use the key ARN or
// alias ARN. For example: Key ID: 1234abcd-12ab-34cd-56ef-1234567890ab Key ARN:
// arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab
// Alias name: alias/ExampleAlias Alias ARN:
// arn:aws:kms:us-east-2:111122223333:alias/ExampleAlias
KMSKeyId *string
// Specifies if DevOps Guru is enabled for KMS integration.
OptInStatus OptInStatus
// The type of KMS key used. Customer managed keys are the KMS keys that you
// create. Amazon Web Services owned keys are keys that are owned and managed by
// DevOps Guru.
Type ServerSideEncryptionType
noSmithyDocumentSerde
}
// Specifies one or more service names that are used to list anomalies.
type ListAnomaliesForInsightFilters struct {
// A collection of the names of Amazon Web Services services.
ServiceCollection *ServiceCollection
noSmithyDocumentSerde
}
// Filters you can use to specify which events are returned when ListEvents is
// called.
type ListEventsFilters struct {
// The source, AWS_CLOUD_TRAIL or AWS_CODE_DEPLOY , of the events you want returned.
DataSource EventDataSource
// The class of the events you want to filter for, such as an infrastructure
// change, a deployment, or a schema change.
EventClass EventClass
// The Amazon Web Services source that emitted the events you want to filter for.
EventSource *string
// A time range during which you want the filtered events to have occurred.
EventTimeRange *EventTimeRange
// An ID of an insight that is related to the events you want to filter for.
InsightId *string
// A collection of Amazon Web Services resources supported by DevOps Guru. The two
// types of Amazon Web Services resource collections supported are Amazon Web
// Services CloudFormation stacks and Amazon Web Services resources that contain
// the same Amazon Web Services tag. DevOps Guru can be configured to analyze the
// Amazon Web Services resources that are defined in the stacks or that are tagged
// using the same tag key. You can specify up to 500 Amazon Web Services
// CloudFormation stacks.
ResourceCollection *ResourceCollection
noSmithyDocumentSerde
}
// Used to filter for insights that have any status.
type ListInsightsAnyStatusFilter struct {
// A time range used to specify when the behavior of the filtered insights started.
//
// This member is required.
StartTimeRange *StartTimeRange
// Use to filter for either REACTIVE or PROACTIVE insights.
//
// This member is required.
Type InsightType
noSmithyDocumentSerde
}
// Used to filter for insights that have the status CLOSED .
type ListInsightsClosedStatusFilter struct {
// A time range used to specify when the behavior of the filtered insights ended.
//
// This member is required.
EndTimeRange *EndTimeRange
// Use to filter for either REACTIVE or PROACTIVE insights.
//
// This member is required.
Type InsightType
noSmithyDocumentSerde
}
// Used to filter for insights that have the status ONGOING .
type ListInsightsOngoingStatusFilter struct {
// Use to filter for either REACTIVE or PROACTIVE insights.
//
// This member is required.
Type InsightType
noSmithyDocumentSerde
}
// A filter used by ListInsights to specify which insights to return.
type ListInsightsStatusFilter struct {
// A ListInsightsAnyStatusFilter that specifies insights of any status that are
// either REACTIVE or PROACTIVE .
Any *ListInsightsAnyStatusFilter
// A ListInsightsClosedStatusFilter that specifies closed insights that are either
// REACTIVE or PROACTIVE .
Closed *ListInsightsClosedStatusFilter
// A ListInsightsAnyStatusFilter that specifies ongoing insights that are either
// REACTIVE or PROACTIVE .
Ongoing *ListInsightsOngoingStatusFilter
noSmithyDocumentSerde
}
// Filters to determine which monitored resources you want to retrieve. You can
// filter by resource type or resource permission status.
type ListMonitoredResourcesFilters struct {
// The permission status of a resource.
//
// This member is required.
ResourcePermission ResourcePermission
// The type of resource that you wish to retrieve, such as log groups.
//
// This member is required.
ResourceTypeFilters []ResourceTypeFilter
noSmithyDocumentSerde
}
// Information about an anomalous log event found within a log group.
type LogAnomalyClass struct {
// The explanation for why the log event is considered an anomaly.
Explanation *string
// The token where the anomaly was detected. This may refer to an exception or
// another location, or it may be blank for log anomalies such as format anomalies.
LogAnomalyToken *string
// The type of log anomaly that has been detected.
LogAnomalyType LogAnomalyType
// The ID of the log event.
LogEventId *string
// The time of the first occurrence of the anomalous log event.
LogEventTimestamp *time.Time
// The name of the Amazon CloudWatch log stream that the anomalous log event
// belongs to. A log stream is a sequence of log events that share the same source.
LogStreamName *string
// The number of log lines where this anomalous log event occurs.
NumberOfLogLinesOccurrences int32
noSmithyDocumentSerde
}
// A cluster of similar anomalous log events found within a log group.
type LogAnomalyShowcase struct {
// A list of anomalous log events that may be related.
LogAnomalyClasses []LogAnomalyClass
noSmithyDocumentSerde
}
// Information about the integration of DevOps Guru with CloudWatch log groups for
// log anomaly detection.
type LogsAnomalyDetectionIntegration struct {
// Specifies if DevOps Guru is configured to perform log anomaly detection on
// CloudWatch log groups.
OptInStatus OptInStatus
noSmithyDocumentSerde
}
// Information about the integration of DevOps Guru with CloudWatch log groups for
// log anomaly detection. You can use this to update the configuration.
type LogsAnomalyDetectionIntegrationConfig struct {
// Specifies if DevOps Guru is configured to perform log anomaly detection on
// CloudWatch log groups.
OptInStatus OptInStatus
noSmithyDocumentSerde
}
// Information about the resource that is being monitored, including the name of
// the resource, the type of resource, and whether or not permission is given to
// DevOps Guru to access that resource.
type MonitoredResourceIdentifier struct {
// The time at which DevOps Guru last updated this resource.
LastUpdated *time.Time
// The name of the resource being monitored.
MonitoredResourceName *string
// A collection of Amazon Web Services resources supported by DevOps Guru. The two
// types of Amazon Web Services resource collections supported are Amazon Web
// Services CloudFormation stacks and Amazon Web Services resources that contain
// the same Amazon Web Services tag. DevOps Guru can be configured to analyze the
// Amazon Web Services resources that are defined in the stacks or that are tagged
// using the same tag key. You can specify up to 500 Amazon Web Services
// CloudFormation stacks.
ResourceCollection *ResourceCollection
// The permission status of a resource.
ResourcePermission ResourcePermission
// The type of resource being monitored.
Type *string
noSmithyDocumentSerde
}
// Information about a notification channel. A notification channel is used to
// notify you when DevOps Guru creates an insight. The one supported notification
// channel is Amazon Simple Notification Service (Amazon SNS). If you use an Amazon
// SNS topic in another account, you must attach a policy to it that grants DevOps
// Guru permission to send it notifications. DevOps Guru adds the required policy
// on your behalf to send notifications using Amazon SNS in your account. DevOps
// Guru only supports standard SNS topics. For more information, see Permissions
// for Amazon SNS topics (https://docs.aws.amazon.com/devops-guru/latest/userguide/sns-required-permissions.html)
// . If you use an Amazon SNS topic that is encrypted by an Amazon Web Services Key
// Management Service customer-managed key (CMK), then you must add permissions to
// the CMK. For more information, see Permissions for Amazon Web Services
// KMS–encrypted Amazon SNS topics (https://docs.aws.amazon.com/devops-guru/latest/userguide/sns-kms-permissions.html)
// .
type NotificationChannel struct {
// A NotificationChannelConfig object that contains information about configured
// notification channels.
Config *NotificationChannelConfig
// The ID of a notification channel.
Id *string
noSmithyDocumentSerde
}
// Information about notification channels you have configured with DevOps Guru.
// The one supported notification channel is Amazon Simple Notification Service
// (Amazon SNS).
type NotificationChannelConfig struct {
// Information about a notification channel configured in DevOps Guru to send
// notifications when insights are created. If you use an Amazon SNS topic in
// another account, you must attach a policy to it that grants DevOps Guru
// permission to send it notifications. DevOps Guru adds the required policy on
// your behalf to send notifications using Amazon SNS in your account. DevOps Guru
// only supports standard SNS topics. For more information, see Permissions for
// Amazon SNS topics (https://docs.aws.amazon.com/devops-guru/latest/userguide/sns-required-permissions.html)
// . If you use an Amazon SNS topic that is encrypted by an Amazon Web Services Key
// Management Service customer-managed key (CMK), then you must add permissions to
// the CMK. For more information, see Permissions for Amazon Web Services
// KMS–encrypted Amazon SNS topics (https://docs.aws.amazon.com/devops-guru/latest/userguide/sns-kms-permissions.html)
// .
//
// This member is required.
Sns *SnsChannelConfig
// The filter configurations for the Amazon SNS notification topic you use with
// DevOps Guru. If you do not provide filter configurations, the default
// configurations are to receive notifications for all message types of High or
// Medium severity.
Filters *NotificationFilterConfig
noSmithyDocumentSerde
}
// The filter configurations for the Amazon SNS notification topic you use with
// DevOps Guru. You can choose to specify which events or message types to receive
// notifications for. You can also choose to specify which severity levels to
// receive notifications for.
type NotificationFilterConfig struct {
// The events that you want to receive notifications for. For example, you can
// choose to receive notifications only when the severity level is upgraded or a
// new insight is created.
MessageTypes []NotificationMessageType
// The severity levels that you want to receive notifications for. For example,
// you can choose to receive notifications only for insights with HIGH and MEDIUM
// severity levels. For more information, see Understanding insight severities (https://docs.aws.amazon.com/devops-guru/latest/userguide/working-with-insights.html#understanding-insights-severities)
// .
Severities []InsightSeverity
noSmithyDocumentSerde
}
// Information about whether DevOps Guru is configured to create an OpsItem in
// Amazon Web Services Systems Manager OpsCenter for each created insight.
type OpsCenterIntegration struct {
// Specifies if DevOps Guru is enabled to create an Amazon Web Services Systems
// Manager OpsItem for each created insight.
OptInStatus OptInStatus
noSmithyDocumentSerde
}
// Information about whether DevOps Guru is configured to create an OpsItem in
// Amazon Web Services Systems Manager OpsCenter for each created insight. You can
// use this to update the configuration.
type OpsCenterIntegrationConfig struct {
// Specifies if DevOps Guru is enabled to create an Amazon Web Services Systems
// Manager OpsItem for each created insight.
OptInStatus OptInStatus
noSmithyDocumentSerde
}
// A logical grouping of Performance Insights metrics for a related subject area.
// For example, the db.sql dimension group consists of the following dimensions:
// db.sql.id , db.sql.db_id , db.sql.statement , and db.sql.tokenized_id . Each
// response element returns a maximum of 500 bytes. For larger elements, such as
// SQL statements, only the first 500 bytes are returned. Amazon RDS Performance
// Insights enables you to monitor and explore different dimensions of database
// load based on data captured from a running DB instance. DB load is measured as
// average active sessions. Performance Insights provides the data to API consumers
// as a two-dimensional time-series dataset. The time dimension provides DB load
// data for each time point in the queried time range. Each time point decomposes
// overall load in relation to the requested dimensions, measured at that time
// point. Examples include SQL, Wait event, User, and Host.
// - To learn more about Performance Insights and Amazon Aurora DB instances, go
// to the Amazon Aurora User Guide (https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_PerfInsights.html)
// .
// - To learn more about Performance Insights and Amazon RDS DB instances, go to
// the Amazon RDS User Guide (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_PerfInsights.html)
// .
type PerformanceInsightsMetricDimensionGroup struct {
// A list of specific dimensions from a dimension group. If this parameter is not
// present, then it signifies that all of the dimensions in the group were
// requested or are present in the response. Valid values for elements in the
// Dimensions array are:
// - db.application.name - The name of the application that is connected to the
// database (only Aurora PostgreSQL and RDS PostgreSQL)
// - db.host.id - The host ID of the connected client (all engines)
// - db.host.name - The host name of the connected client (all engines)
// - db.name - The name of the database to which the client is connected (only
// Aurora PostgreSQL, Amazon RDS PostgreSQL, Aurora MySQL, Amazon RDS MySQL, and
// MariaDB)
// - db.session_type.name - The type of the current session (only Aurora
// PostgreSQL and RDS PostgreSQL)
// - db.sql.id - The SQL ID generated by Performance Insights (all engines)
// - db.sql.db_id - The SQL ID generated by the database (all engines)
// - db.sql.statement - The SQL text that is being executed (all engines)
// - db.sql.tokenized_id
// - db.sql_tokenized.id - The SQL digest ID generated by Performance Insights
// (all engines)
// - db.sql_tokenized.db_id - SQL digest ID generated by the database (all
// engines)
// - db.sql_tokenized.statement - The SQL digest text (all engines)
// - db.user.id - The ID of the user logged in to the database (all engines)
// - db.user.name - The name of the user logged in to the database (all engines)
// - db.wait_event.name - The event for which the backend is waiting (all
// engines)
// - db.wait_event.type - The type of event for which the backend is waiting (all
// engines)
// - db.wait_event_type.name - The name of the event type for which the backend
// is waiting (all engines)
Dimensions []string
// The name of the dimension group. Its valid values are:
// - db - The name of the database to which the client is connected (only Aurora
// PostgreSQL, Amazon RDS PostgreSQL, Aurora MySQL, Amazon RDS MySQL, and MariaDB)
// - db.application - The name of the application that is connected to the
// database (only Aurora PostgreSQL and RDS PostgreSQL)
// - db.host - The host name of the connected client (all engines)
// - db.session_type - The type of the current session (only Aurora PostgreSQL
// and RDS PostgreSQL)
// - db.sql - The SQL that is currently executing (all engines)
// - db.sql_tokenized - The SQL digest (all engines)
// - db.wait_event - The event for which the database backend is waiting (all
// engines)
// - db.wait_event_type - The type of event for which the database backend is
// waiting (all engines)
// - db.user - The user logged in to the database (all engines)
Group *string
// The maximum number of items to fetch for this dimension group.
Limit *int32
noSmithyDocumentSerde
}
// A single query to be processed. Use these parameters to query the Performance
// Insights GetResourceMetrics API to retrieve the metrics for an anomaly. For
// more information, see GetResourceMetrics (https://docs.aws.amazon.com/performance-insights/latest/APIReference/API_GetResourceMetrics.html)
// in the Amazon RDS Performance Insights API Reference. Amazon RDS Performance
// Insights enables you to monitor and explore different dimensions of database
// load based on data captured from a running DB instance. DB load is measured as
// average active sessions. Performance Insights provides the data to API consumers
// as a two-dimensional time-series dataset. The time dimension provides DB load
// data for each time point in the queried time range. Each time point decomposes
// overall load in relation to the requested dimensions, measured at that time
// point. Examples include SQL, Wait event, User, and Host.
// - To learn more about Performance Insights and Amazon Aurora DB instances, go
// to the Amazon Aurora User Guide (https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_PerfInsights.html)
// .
// - To learn more about Performance Insights and Amazon RDS DB instances, go to
// the Amazon RDS User Guide (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_PerfInsights.html)
// .
type PerformanceInsightsMetricQuery struct {
// One or more filters to apply to a Performance Insights GetResourceMetrics API
// query. Restrictions:
// - Any number of filters by the same dimension, as specified in the GroupBy
// parameter.
// - A single filter for any other dimension in this dimension group.
Filter map[string]string
// The specification for how to aggregate the data points from a Performance
// Insights GetResourceMetrics API query. The Performance Insights query returns
// all of the dimensions within that group, unless you provide the names of
// specific dimensions within that group. You can also request that Performance
// Insights return a limited number of values for a dimension.
GroupBy *PerformanceInsightsMetricDimensionGroup
// The name of the meteric used used when querying an Performance Insights
// GetResourceMetrics API for anomaly metrics. Valid values for Metric are:
// - db.load.avg - a scaled representation of the number of active sessions for
// the database engine.
// - db.sampledload.avg - the raw number of active sessions for the database
// engine.
// If the number of active sessions is less than an internal Performance Insights
// threshold, db.load.avg and db.sampledload.avg are the same value. If the number
// of active sessions is greater than the internal threshold, Performance Insights
// samples the active sessions, with db.load.avg showing the scaled values,
// db.sampledload.avg showing the raw values, and db.sampledload.avg less than
// db.load.avg . For most use cases, you can query db.load.avg only.
Metric *string
noSmithyDocumentSerde
}
// Details about Performance Insights metrics. Amazon RDS Performance Insights
// enables you to monitor and explore different dimensions of database load based
// on data captured from a running DB instance. DB load is measured as average
// active sessions. Performance Insights provides the data to API consumers as a
// two-dimensional time-series dataset. The time dimension provides DB load data
// for each time point in the queried time range. Each time point decomposes
// overall load in relation to the requested dimensions, measured at that time
// point. Examples include SQL, Wait event, User, and Host.
// - To learn more about Performance Insights and Amazon Aurora DB instances, go
// to the Amazon Aurora User Guide (https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_PerfInsights.html)
// .
// - To learn more about Performance Insights and Amazon RDS DB instances, go to
// the Amazon RDS User Guide (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_PerfInsights.html)
// .
type PerformanceInsightsMetricsDetail struct {
// The name used for a specific Performance Insights metric.
MetricDisplayName *string
// A single query to be processed for the metric. For more information, see
// PerformanceInsightsMetricQuery (https://docs.aws.amazon.com/devops-guru/latest/APIReference/API_PerformanceInsightsMetricQuery.html)
// .
MetricQuery *PerformanceInsightsMetricQuery
// For more information, see PerformanceInsightsReferenceData (https://docs.aws.amazon.com/devops-guru/latest/APIReference/API_PerformanceInsightsReferenceData.html)
// .
ReferenceData []PerformanceInsightsReferenceData
// The metric statistics during the anomalous period detected by DevOps Guru;
StatsAtAnomaly []PerformanceInsightsStat
// Typical metric statistics that are not considered anomalous. When DevOps Guru
// analyzes metrics, it compares them to StatsAtBaseline to help determine if they
// are anomalous.
StatsAtBaseline []PerformanceInsightsStat
// The unit of measure for a metric. For example, a session or a process.
Unit *string
noSmithyDocumentSerde
}
// Reference scalar values and other metrics that DevOps Guru displays on a graph
// in its console along with the actual metrics it analyzed. Compare these
// reference values to your actual metrics to help you understand anomalous
// behavior that DevOps Guru detected.
type PerformanceInsightsReferenceComparisonValues struct {
// A metric that DevOps Guru compares to actual metric values. This reference
// metric is used to determine if an actual metric should be considered anomalous.
ReferenceMetric *PerformanceInsightsReferenceMetric
// A scalar value DevOps Guru for a metric that DevOps Guru compares to actual
// metric values. This reference value is used to determine if an actual metric
// value should be considered anomalous.
ReferenceScalar *PerformanceInsightsReferenceScalar
noSmithyDocumentSerde
}
// Reference data used to evaluate Performance Insights to determine if its
// performance is anomalous or not.
type PerformanceInsightsReferenceData struct {
// The specific reference values used to evaluate the Performance Insights. For
// more information, see PerformanceInsightsReferenceComparisonValues (https://docs.aws.amazon.com/devops-guru/latest/APIReference/API_PerformanceInsightsReferenceComparisonValues.html)
// .
ComparisonValues *PerformanceInsightsReferenceComparisonValues
// The name of the reference data.
Name *string
noSmithyDocumentSerde
}
// Information about a reference metric used to evaluate Performance Insights.
type PerformanceInsightsReferenceMetric struct {
// A query to be processed on the metric.
MetricQuery *PerformanceInsightsMetricQuery
noSmithyDocumentSerde
}
// A reference value to compare Performance Insights metrics against to determine
// if the metrics demonstrate anomalous behavior.
type PerformanceInsightsReferenceScalar struct {
// The reference value.
Value *float64
noSmithyDocumentSerde
}
// A statistic in a Performance Insights collection.
type PerformanceInsightsStat struct {
// The statistic type.
Type *string
// The value of the statistic.
Value *float64
noSmithyDocumentSerde
}
// The time range during which anomalous behavior in a proactive anomaly or an
// insight is expected to occur.
type PredictionTimeRange struct {
// The time range during which a metric limit is expected to be exceeded. This
// applies to proactive insights only.
//
// This member is required.
StartTime *time.Time
// The time when the behavior in a proactive insight is expected to end.
EndTime *time.Time
noSmithyDocumentSerde
}
// Information about an anomaly. This object is returned by ListAnomalies .
type ProactiveAnomaly struct {
// An AnomalyReportedTimeRange object that specifies the time range between when
// the anomaly is opened and the time when it is closed.
AnomalyReportedTimeRange *AnomalyReportedTimeRange
// Information about a resource in which DevOps Guru detected anomalous behavior.
AnomalyResources []AnomalyResource
// A time range that specifies when the observed unusual behavior in an anomaly
// started and ended. This is different from AnomalyReportedTimeRange , which
// specifies the time range when DevOps Guru opens and then closes an anomaly.
AnomalyTimeRange *AnomalyTimeRange
// The ID of the insight that contains this anomaly. An insight is composed of
// related anomalies.
AssociatedInsightId *string
// A description of the proactive anomaly.
Description *string
// The ID of a proactive anomaly.
Id *string
// A threshold that was exceeded by behavior in analyzed resources. Exceeding this
// threshold is related to the anomalous behavior that generated this anomaly.
Limit *float64
// The time range during which anomalous behavior in a proactive anomaly or an
// insight is expected to occur.
PredictionTimeRange *PredictionTimeRange
// A collection of Amazon Web Services resources supported by DevOps Guru. The two
// types of Amazon Web Services resource collections supported are Amazon Web
// Services CloudFormation stacks and Amazon Web Services resources that contain
// the same Amazon Web Services tag. DevOps Guru can be configured to analyze the
// Amazon Web Services resources that are defined in the stacks or that are tagged
// using the same tag key. You can specify up to 500 Amazon Web Services
// CloudFormation stacks.
ResourceCollection *ResourceCollection
// The severity of the anomaly. The severity of anomalies that generate an insight
// determine that insight's severity. For more information, see Understanding
// insight severities (https://docs.aws.amazon.com/devops-guru/latest/userguide/working-with-insights.html#understanding-insights-severities)
// in the Amazon DevOps Guru User Guide.
Severity AnomalySeverity
// Details about the source of the analyzed operational data that triggered the
// anomaly. The one supported source is Amazon CloudWatch metrics.
SourceDetails *AnomalySourceDetails
// The metadata for the anomaly.
SourceMetadata *AnomalySourceMetadata
// The status of a proactive anomaly.
Status AnomalyStatus
// The time of the anomaly's most recent update.
UpdateTime *time.Time
noSmithyDocumentSerde
}
// Details about a proactive anomaly. This object is returned by DescribeAnomaly.
type ProactiveAnomalySummary struct {
// An AnomalyReportedTimeRange object that specifies the time range between when
// the anomaly is opened and the time when it is closed.
AnomalyReportedTimeRange *AnomalyReportedTimeRange
// Information about a resource in which DevOps Guru detected anomalous behavior.
AnomalyResources []AnomalyResource
// A time range that specifies when the observed unusual behavior in an anomaly
// started and ended. This is different from AnomalyReportedTimeRange , which
// specifies the time range when DevOps Guru opens and then closes an anomaly.
AnomalyTimeRange *AnomalyTimeRange
// The ID of the insight that contains this anomaly. An insight is composed of
// related anomalies.
AssociatedInsightId *string
// A description of the proactive anomaly.
Description *string
// The ID of the anomaly.
Id *string
// A threshold that was exceeded by behavior in analyzed resources. Exceeding this
// threshold is related to the anomalous behavior that generated this anomaly.
Limit *float64
// The time range during which anomalous behavior in a proactive anomaly or an
// insight is expected to occur.
PredictionTimeRange *PredictionTimeRange
// A collection of Amazon Web Services resources supported by DevOps Guru. The two
// types of Amazon Web Services resource collections supported are Amazon Web
// Services CloudFormation stacks and Amazon Web Services resources that contain
// the same Amazon Web Services tag. DevOps Guru can be configured to analyze the
// Amazon Web Services resources that are defined in the stacks or that are tagged
// using the same tag key. You can specify up to 500 Amazon Web Services
// CloudFormation stacks.
ResourceCollection *ResourceCollection
// The severity of the anomaly. The severity of anomalies that generate an insight
// determine that insight's severity. For more information, see Understanding
// insight severities (https://docs.aws.amazon.com/devops-guru/latest/userguide/working-with-insights.html#understanding-insights-severities)
// in the Amazon DevOps Guru User Guide.
Severity AnomalySeverity
// Details about the source of the analyzed operational data that triggered the
// anomaly. The one supported source is Amazon CloudWatch metrics.
SourceDetails *AnomalySourceDetails
// The metadata of the source which detects proactive anomalies.
SourceMetadata *AnomalySourceMetadata
// The status of the anomaly.
Status AnomalyStatus
// The time of the anomaly's most recent update.
UpdateTime *time.Time
noSmithyDocumentSerde
}
// Details about a proactive insight. This object is returned by ListInsights .
type ProactiveInsight struct {
// Describes the proactive insight.
Description *string
// The ID of the proactive insight.
Id *string
// A time ranged that specifies when the observed behavior in an insight started
// and ended.
InsightTimeRange *InsightTimeRange
// The name of the proactive insight.
Name *string
// The time range during which anomalous behavior in a proactive anomaly or an
// insight is expected to occur.
PredictionTimeRange *PredictionTimeRange
// A collection of Amazon Web Services resources supported by DevOps Guru. The two
// types of Amazon Web Services resource collections supported are Amazon Web
// Services CloudFormation stacks and Amazon Web Services resources that contain
// the same Amazon Web Services tag. DevOps Guru can be configured to analyze the
// Amazon Web Services resources that are defined in the stacks or that are tagged
// using the same tag key. You can specify up to 500 Amazon Web Services
// CloudFormation stacks.
ResourceCollection *ResourceCollection
// The severity of the insight. For more information, see Understanding insight
// severities (https://docs.aws.amazon.com/devops-guru/latest/userguide/working-with-insights.html#understanding-insights-severities)
// in the Amazon DevOps Guru User Guide.
Severity InsightSeverity
// The ID of the Amazon Web Services System Manager OpsItem created for this
// insight. You must enable the creation of OpstItems insights before they are
// created for each insight.
SsmOpsItemId *string
// The status of the proactive insight.
Status InsightStatus
noSmithyDocumentSerde
}
// Details about a proactive insight. This object is returned by DescribeInsight.
type ProactiveInsightSummary struct {
// The Amazon Resource Names (ARNs) of the Amazon Web Services resources that
// generated this insight.
AssociatedResourceArns []string
// The ID of the proactive insight.
Id *string
// A time ranged that specifies when the observed behavior in an insight started
// and ended.
InsightTimeRange *InsightTimeRange
// The name of the proactive insight.
Name *string
// The time range during which anomalous behavior in a proactive anomaly or an
// insight is expected to occur.
PredictionTimeRange *PredictionTimeRange
// A collection of Amazon Web Services resources supported by DevOps Guru. The two
// types of Amazon Web Services resource collections supported are Amazon Web
// Services CloudFormation stacks and Amazon Web Services resources that contain
// the same Amazon Web Services tag. DevOps Guru can be configured to analyze the
// Amazon Web Services resources that are defined in the stacks or that are tagged
// using the same tag key. You can specify up to 500 Amazon Web Services
// CloudFormation stacks.
ResourceCollection *ResourceCollection
// A collection of the names of Amazon Web Services services.
ServiceCollection *ServiceCollection
// The severity of the insight. For more information, see Understanding insight
// severities (https://docs.aws.amazon.com/devops-guru/latest/userguide/working-with-insights.html#understanding-insights-severities)
// in the Amazon DevOps Guru User Guide.
Severity InsightSeverity
// The status of the proactive insight.
Status InsightStatus
noSmithyDocumentSerde
}
// Details about a proactive insight. This object is returned by DescribeInsight .
type ProactiveOrganizationInsightSummary struct {
// The ID of the Amazon Web Services account.
AccountId *string
// The ID of the insight summary.
Id *string
// A time ranged that specifies when the observed behavior in an insight started
// and ended.
InsightTimeRange *InsightTimeRange
// The name of the insight summary.
Name *string
// The ID of the organizational unit.
OrganizationalUnitId *string
// The time range during which anomalous behavior in a proactive anomaly or an
// insight is expected to occur.
PredictionTimeRange *PredictionTimeRange
// A collection of Amazon Web Services resources supported by DevOps Guru. The two
// types of Amazon Web Services resource collections supported are Amazon Web
// Services CloudFormation stacks and Amazon Web Services resources that contain
// the same Amazon Web Services tag. DevOps Guru can be configured to analyze the
// Amazon Web Services resources that are defined in the stacks or that are tagged
// using the same tag key. You can specify up to 500 Amazon Web Services
// CloudFormation stacks.
ResourceCollection *ResourceCollection
// A collection of the names of Amazon Web Services services.
ServiceCollection *ServiceCollection
// An array of severity values used to search for insights. For more information,
// see Understanding insight severities (https://docs.aws.amazon.com/devops-guru/latest/userguide/working-with-insights.html#understanding-insights-severities)
// in the Amazon DevOps Guru User Guide.
Severity InsightSeverity
// An array of status values used to search for insights.
Status InsightStatus
noSmithyDocumentSerde
}
// Details about a reactive anomaly. This object is returned by ListAnomalies .
type ReactiveAnomaly struct {
// An AnomalyReportedTimeRange object that specifies the time range between when
// the anomaly is opened and the time when it is closed.
AnomalyReportedTimeRange *AnomalyReportedTimeRange
// The Amazon Web Services resources in which anomalous behavior was detected by
// DevOps Guru.
AnomalyResources []AnomalyResource
// A time range that specifies when the observed unusual behavior in an anomaly
// started and ended. This is different from AnomalyReportedTimeRange , which
// specifies the time range when DevOps Guru opens and then closes an anomaly.
AnomalyTimeRange *AnomalyTimeRange
// The ID of the insight that contains this anomaly. An insight is composed of
// related anomalies.
AssociatedInsightId *string
// The ID of the causal anomaly that is associated with this reactive anomaly. The
// ID of a `CAUSAL` anomaly is always `NULL`.
CausalAnomalyId *string
// A description of the reactive anomaly.
Description *string
// The ID of the reactive anomaly.
Id *string
// The name of the reactive anomaly.
Name *string
// A collection of Amazon Web Services resources supported by DevOps Guru. The two
// types of Amazon Web Services resource collections supported are Amazon Web
// Services CloudFormation stacks and Amazon Web Services resources that contain
// the same Amazon Web Services tag. DevOps Guru can be configured to analyze the
// Amazon Web Services resources that are defined in the stacks or that are tagged
// using the same tag key. You can specify up to 500 Amazon Web Services
// CloudFormation stacks.
ResourceCollection *ResourceCollection
// The severity of the anomaly. The severity of anomalies that generate an insight
// determine that insight's severity. For more information, see Understanding
// insight severities (https://docs.aws.amazon.com/devops-guru/latest/userguide/working-with-insights.html#understanding-insights-severities)
// in the Amazon DevOps Guru User Guide.
Severity AnomalySeverity
// Details about the source of the analyzed operational data that triggered the
// anomaly. The one supported source is Amazon CloudWatch metrics.
SourceDetails *AnomalySourceDetails
// The status of the anomaly.
Status AnomalyStatus
// The type of the reactive anomaly. It can be one of the following types.
// - CAUSAL - the anomaly can cause a new insight.
// - CONTEXTUAL - the anomaly contains additional information about an insight or
// its causal anomaly.
Type AnomalyType
noSmithyDocumentSerde
}
// Details about a reactive anomaly. This object is returned by DescribeAnomaly.
type ReactiveAnomalySummary struct {
// An AnomalyReportedTimeRange object that specifies the time range between when
// the anomaly is opened and the time when it is closed.
AnomalyReportedTimeRange *AnomalyReportedTimeRange
// The Amazon Web Services resources in which anomalous behavior was detected by
// DevOps Guru.
AnomalyResources []AnomalyResource
// A time range that specifies when the observed unusual behavior in an anomaly
// started and ended. This is different from AnomalyReportedTimeRange , which
// specifies the time range when DevOps Guru opens and then closes an anomaly.
AnomalyTimeRange *AnomalyTimeRange
// The ID of the insight that contains this anomaly. An insight is composed of
// related anomalies.
AssociatedInsightId *string
// The ID of the causal anomaly that is associated with this reactive anomaly. The
// ID of a `CAUSAL` anomaly is always `NULL`.
CausalAnomalyId *string
// A description of the reactive anomaly.
Description *string
// The ID of the reactive anomaly.
Id *string
// The name of the reactive anomaly.
Name *string
// A collection of Amazon Web Services resources supported by DevOps Guru. The two
// types of Amazon Web Services resource collections supported are Amazon Web
// Services CloudFormation stacks and Amazon Web Services resources that contain
// the same Amazon Web Services tag. DevOps Guru can be configured to analyze the
// Amazon Web Services resources that are defined in the stacks or that are tagged
// using the same tag key. You can specify up to 500 Amazon Web Services
// CloudFormation stacks.
ResourceCollection *ResourceCollection
// The severity of the anomaly. The severity of anomalies that generate an insight
// determine that insight's severity. For more information, see Understanding
// insight severities (https://docs.aws.amazon.com/devops-guru/latest/userguide/working-with-insights.html#understanding-insights-severities)
// in the Amazon DevOps Guru User Guide.
Severity AnomalySeverity
// Details about the source of the analyzed operational data that triggered the
// anomaly. The one supported source is Amazon CloudWatch metrics.
SourceDetails *AnomalySourceDetails
// The status of the reactive anomaly.
Status AnomalyStatus
// The type of the reactive anomaly. It can be one of the following types.
// - CAUSAL - the anomaly can cause a new insight.
// - CONTEXTUAL - the anomaly contains additional information about an insight or
// its causal anomaly.
Type AnomalyType
noSmithyDocumentSerde
}
// Information about a reactive insight. This object is returned by ListInsights .
type ReactiveInsight struct {
// Describes the reactive insight.
Description *string
// The ID of a reactive insight.
Id *string
// A time ranged that specifies when the observed behavior in an insight started
// and ended.
InsightTimeRange *InsightTimeRange
// The name of a reactive insight.
Name *string
// A collection of Amazon Web Services resources supported by DevOps Guru. The two
// types of Amazon Web Services resource collections supported are Amazon Web
// Services CloudFormation stacks and Amazon Web Services resources that contain
// the same Amazon Web Services tag. DevOps Guru can be configured to analyze the
// Amazon Web Services resources that are defined in the stacks or that are tagged
// using the same tag key. You can specify up to 500 Amazon Web Services
// CloudFormation stacks.
ResourceCollection *ResourceCollection
// The severity of the insight. For more information, see Understanding insight
// severities (https://docs.aws.amazon.com/devops-guru/latest/userguide/working-with-insights.html#understanding-insights-severities)
// in the Amazon DevOps Guru User Guide.
Severity InsightSeverity
// The ID of the Amazon Web Services System Manager OpsItem created for this
// insight. You must enable the creation of OpstItems insights before they are
// created for each insight.
SsmOpsItemId *string
// The status of a reactive insight.
Status InsightStatus
noSmithyDocumentSerde
}
// Information about a reactive insight. This object is returned by
// DescribeInsight.
type ReactiveInsightSummary struct {
// The Amazon Resource Names (ARNs) of the Amazon Web Services resources that
// generated this insight.
AssociatedResourceArns []string
// The ID of a reactive summary.
Id *string
// A time ranged that specifies when the observed behavior in an insight started
// and ended.
InsightTimeRange *InsightTimeRange
// The name of a reactive insight.
Name *string
// A collection of Amazon Web Services resources supported by DevOps Guru. The two
// types of Amazon Web Services resource collections supported are Amazon Web
// Services CloudFormation stacks and Amazon Web Services resources that contain
// the same Amazon Web Services tag. DevOps Guru can be configured to analyze the
// Amazon Web Services resources that are defined in the stacks or that are tagged
// using the same tag key. You can specify up to 500 Amazon Web Services
// CloudFormation stacks.
ResourceCollection *ResourceCollection
// A collection of the names of Amazon Web Services services.
ServiceCollection *ServiceCollection
// The severity of the insight. For more information, see Understanding insight
// severities (https://docs.aws.amazon.com/devops-guru/latest/userguide/working-with-insights.html#understanding-insights-severities)
// in the Amazon DevOps Guru User Guide.
Severity InsightSeverity
// The status of a reactive insight.
Status InsightStatus
noSmithyDocumentSerde
}
// Information about a reactive insight. This object is returned by DescribeInsight
// .
type ReactiveOrganizationInsightSummary struct {
// The ID of the Amazon Web Services account.
AccountId *string
// The ID of the insight summary.
Id *string
// A time ranged that specifies when the observed behavior in an insight started
// and ended.
InsightTimeRange *InsightTimeRange
// The name of the insight summary.
Name *string
// The ID of the organizational unit.
OrganizationalUnitId *string
// A collection of Amazon Web Services resources supported by DevOps Guru. The two
// types of Amazon Web Services resource collections supported are Amazon Web
// Services CloudFormation stacks and Amazon Web Services resources that contain
// the same Amazon Web Services tag. DevOps Guru can be configured to analyze the
// Amazon Web Services resources that are defined in the stacks or that are tagged
// using the same tag key. You can specify up to 500 Amazon Web Services
// CloudFormation stacks.
ResourceCollection *ResourceCollection
// A collection of the names of Amazon Web Services services.
ServiceCollection *ServiceCollection
// An array of severity values used to search for insights. For more information,
// see Understanding insight severities (https://docs.aws.amazon.com/devops-guru/latest/userguide/working-with-insights.html#understanding-insights-severities)
// in the Amazon DevOps Guru User Guide.
Severity InsightSeverity
// An array of status values used to search for insights.
Status InsightStatus
noSmithyDocumentSerde
}
// Recommendation information to help you remediate detected anomalous behavior
// that generated an insight.
type Recommendation struct {
// The category type of the recommendation.
Category *string
// A description of the problem.
Description *string
// A hyperlink to information to help you address the problem.
Link *string
// The name of the recommendation.
Name *string
// The reason DevOps Guru flagged the anomalous behavior as a problem.
Reason *string
// Anomalies that are related to the problem. Use these Anomalies to learn more
// about what's happening and to help address the issue.
RelatedAnomalies []RecommendationRelatedAnomaly
// Events that are related to the problem. Use these events to learn more about
// what's happening and to help address the issue.
RelatedEvents []RecommendationRelatedEvent
noSmithyDocumentSerde
}
// Information about an anomaly that is related to a recommendation.
type RecommendationRelatedAnomaly struct {
// The ID of an anomaly that generated the insight with this recommendation.
AnomalyId *string
// An array of objects that represent resources in which DevOps Guru detected
// anomalous behavior. Each object contains the name and type of the resource.
Resources []RecommendationRelatedAnomalyResource
// Information about where the anomalous behavior related the recommendation was
// found. For example, details in Amazon CloudWatch metrics.
SourceDetails []RecommendationRelatedAnomalySourceDetail
noSmithyDocumentSerde
}
// Information about a resource in which DevOps Guru detected anomalous behavior.
type RecommendationRelatedAnomalyResource struct {
// The name of the resource.
Name *string
// The type of the resource. Resource types take the same form that is used by
// Amazon Web Services CloudFormation resource type identifiers,
// service-provider::service-name::data-type-name . For example,
// AWS::RDS::DBCluster . For more information, see Amazon Web Services resource
// and property types reference (https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-template-resource-type-ref.html)
// in the Amazon Web Services CloudFormation User Guide.
Type *string
noSmithyDocumentSerde
}
// Contains an array of RecommendationRelatedCloudWatchMetricsSourceDetail objects
// that contain the name and namespace of an Amazon CloudWatch metric.
type RecommendationRelatedAnomalySourceDetail struct {
// An array of CloudWatchMetricsDetail objects that contains information about the
// analyzed metrics that displayed anomalous behavior.
CloudWatchMetrics []RecommendationRelatedCloudWatchMetricsSourceDetail
noSmithyDocumentSerde
}
// Information about an Amazon CloudWatch metric that is analyzed by DevOps Guru.
// It is one of many analyzed metrics that are used to generate insights.
type RecommendationRelatedCloudWatchMetricsSourceDetail struct {
// The name of the CloudWatch metric.
MetricName *string
// The namespace of the CloudWatch metric. A namespace is a container for
// CloudWatch metrics.
Namespace *string
noSmithyDocumentSerde
}
// Information about an event that is related to a recommendation.
type RecommendationRelatedEvent struct {
// The name of the event. This corresponds to the Name field in an Event object.
Name *string
// A ResourceCollection object that contains arrays of the names of Amazon Web
// Services CloudFormation stacks. You can specify up to 500 Amazon Web Services
// CloudFormation stacks.
Resources []RecommendationRelatedEventResource
noSmithyDocumentSerde
}
// Information about an Amazon Web Services resource that emitted and event that
// is related to a recommendation in an insight.
type RecommendationRelatedEventResource struct {
// The name of the resource that emitted the event. This corresponds to the Name
// field in an EventResource object.
Name *string
// The type of the resource that emitted the event. This corresponds to the Type
// field in an EventResource object.
Type *string
noSmithyDocumentSerde
}
// A collection of Amazon Web Services resources supported by DevOps Guru. The two
// types of Amazon Web Services resource collections supported are Amazon Web
// Services CloudFormation stacks and Amazon Web Services resources that contain
// the same Amazon Web Services tag. DevOps Guru can be configured to analyze the
// Amazon Web Services resources that are defined in the stacks or that are tagged
// using the same tag key. You can specify up to 500 Amazon Web Services
// CloudFormation stacks.
type ResourceCollection struct {
// An array of the names of Amazon Web Services CloudFormation stacks. The stacks
// define Amazon Web Services resources that DevOps Guru analyzes. You can specify
// up to 500 Amazon Web Services CloudFormation stacks.
CloudFormation *CloudFormationCollection
// The Amazon Web Services tags that are used by resources in the resource
// collection. Tags help you identify and organize your Amazon Web Services
// resources. Many Amazon Web Services services support tagging, so you can assign
// the same tag to resources from different services to indicate that the resources
// are related. For example, you can assign the same tag to an Amazon DynamoDB
// table resource that you assign to an Lambda function. For more information about
// using tags, see the Tagging best practices (https://docs.aws.amazon.com/whitepapers/latest/tagging-best-practices/tagging-best-practices.html)
// whitepaper. Each Amazon Web Services tag has two parts.
// - A tag key (for example, CostCenter , Environment , Project , or Secret ).
// Tag keys are case-sensitive.
// - An optional field known as a tag value (for example, 111122223333 ,
// Production , or a team name). Omitting the tag value is the same as using an
// empty string. Like tag keys, tag values are case-sensitive.
// Together these are known as key-value pairs. The string used for a key in a tag
// that you use to define your resource coverage must begin with the prefix
// Devops-guru- . The tag key might be DevOps-Guru-deployment-application or
// devops-guru-rds-application . When you create a key, the case of characters in
// the key can be whatever you choose. After you create a key, it is
// case-sensitive. For example, DevOps Guru works with a key named devops-guru-rds
// and a key named DevOps-Guru-RDS , and these act as two different keys. Possible
// key/value pairs in your application might be
// Devops-Guru-production-application/RDS or
// Devops-Guru-production-application/containers .
Tags []TagCollection
noSmithyDocumentSerde
}
// Information about a filter used to specify which Amazon Web Services resources
// are analyzed for anomalous behavior by DevOps Guru.
type ResourceCollectionFilter struct {
// Information about Amazon Web Services CloudFormation stacks. You can use up to
// 500 stacks to specify which Amazon Web Services resources in your account to
// analyze. For more information, see Stacks (https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacks.html)
// in the Amazon Web Services CloudFormation User Guide.
CloudFormation *CloudFormationCollectionFilter
// The Amazon Web Services tags used to filter the resources in the resource
// collection. Tags help you identify and organize your Amazon Web Services
// resources. Many Amazon Web Services services support tagging, so you can assign
// the same tag to resources from different services to indicate that the resources
// are related. For example, you can assign the same tag to an Amazon DynamoDB
// table resource that you assign to an Lambda function. For more information about
// using tags, see the Tagging best practices (https://docs.aws.amazon.com/whitepapers/latest/tagging-best-practices/tagging-best-practices.html)
// whitepaper. Each Amazon Web Services tag has two parts.
// - A tag key (for example, CostCenter , Environment , Project , or Secret ).
// Tag keys are case-sensitive.
// - An optional field known as a tag value (for example, 111122223333 ,
// Production , or a team name). Omitting the tag value is the same as using an
// empty string. Like tag keys, tag values are case-sensitive.
// Together these are known as key-value pairs. The string used for a key in a tag
// that you use to define your resource coverage must begin with the prefix
// Devops-guru- . The tag key might be DevOps-Guru-deployment-application or
// devops-guru-rds-application . When you create a key, the case of characters in
// the key can be whatever you choose. After you create a key, it is
// case-sensitive. For example, DevOps Guru works with a key named devops-guru-rds
// and a key named DevOps-Guru-RDS , and these act as two different keys. Possible
// key/value pairs in your application might be
// Devops-Guru-production-application/RDS or
// Devops-Guru-production-application/containers .
Tags []TagCollectionFilter
noSmithyDocumentSerde
}
// Specifies values used to filter responses when searching for insights. You can
// use a ResourceCollection , ServiceCollection , array of severities, and an array
// of status values. Each filter type contains one or more values to search for. If
// you specify multiple filter types, the filter types are joined with an AND , and
// the request returns only results that match all of the specified filters.
type SearchInsightsFilters struct {
// A collection of Amazon Web Services resources supported by DevOps Guru. The two
// types of Amazon Web Services resource collections supported are Amazon Web
// Services CloudFormation stacks and Amazon Web Services resources that contain
// the same Amazon Web Services tag. DevOps Guru can be configured to analyze the
// Amazon Web Services resources that are defined in the stacks or that are tagged
// using the same tag key. You can specify up to 500 Amazon Web Services
// CloudFormation stacks.
ResourceCollection *ResourceCollection
// A collection of the names of Amazon Web Services services.
ServiceCollection *ServiceCollection
// An array of severity values used to search for insights.
Severities []InsightSeverity
// An array of status values used to search for insights.
Statuses []InsightStatus
noSmithyDocumentSerde
}
// Filters you can use to specify which events are returned when ListEvents is
// called.
type SearchOrganizationInsightsFilters struct {
// A collection of Amazon Web Services resources supported by DevOps Guru. The two
// types of Amazon Web Services resource collections supported are Amazon Web
// Services CloudFormation stacks and Amazon Web Services resources that contain
// the same Amazon Web Services tag. DevOps Guru can be configured to analyze the
// Amazon Web Services resources that are defined in the stacks or that are tagged
// using the same tag key. You can specify up to 500 Amazon Web Services
// CloudFormation stacks.
ResourceCollection *ResourceCollection
// A collection of the names of Amazon Web Services services.
ServiceCollection *ServiceCollection
// An array of severity values used to search for insights.
Severities []InsightSeverity
// An array of status values used to search for insights.
Statuses []InsightStatus
noSmithyDocumentSerde
}
// A collection of the names of Amazon Web Services services.
type ServiceCollection struct {
// An array of strings that each specifies the name of an Amazon Web Services
// service.
ServiceNames []ServiceName
noSmithyDocumentSerde
}
// Represents the health of an Amazon Web Services service.
type ServiceHealth struct {
// Number of resources that DevOps Guru is monitoring in an analyzed Amazon Web
// Services service.
AnalyzedResourceCount *int64
// Represents the health of an Amazon Web Services service. This is a
// ServiceInsightHealth that contains the number of open proactive and reactive
// insights for this service.
Insight *ServiceInsightHealth
// The name of the Amazon Web Services service.
ServiceName ServiceName
noSmithyDocumentSerde
}
// Contains the number of open proactive and reactive insights in an analyzed
// Amazon Web Services service.
type ServiceInsightHealth struct {
// The number of open proactive insights in the Amazon Web Services service
OpenProactiveInsights int32
// The number of open reactive insights in the Amazon Web Services service
OpenReactiveInsights int32
noSmithyDocumentSerde
}
// Information about the integration of DevOps Guru with another Amazon Web
// Services service, such as Amazon Web Services Systems Manager.
type ServiceIntegrationConfig struct {
// Information about whether DevOps Guru is configured to encrypt server-side data
// using KMS.
KMSServerSideEncryption *KMSServerSideEncryptionIntegration
// Information about whether DevOps Guru is configured to perform log anomaly
// detection on Amazon CloudWatch log groups.
LogsAnomalyDetection *LogsAnomalyDetectionIntegration
// Information about whether DevOps Guru is configured to create an OpsItem in
// Amazon Web Services Systems Manager OpsCenter for each created insight.
OpsCenter *OpsCenterIntegration
noSmithyDocumentSerde
}
// An object that contains information about the estimated monthly cost to analyze
// an Amazon Web Services resource. For more information, see Estimate your Amazon
// DevOps Guru costs (https://docs.aws.amazon.com/devops-guru/latest/userguide/cost-estimate.html)
// and Amazon DevOps Guru pricing (http://aws.amazon.com/devops-guru/pricing/) .
type ServiceResourceCost struct {
// The total estimated monthly cost to analyze the active resources for this
// resource.
Cost float64
// The number of active resources analyzed for this service to create a monthly
// cost estimate.
Count int32
// The state of the resource. The resource is ACTIVE if it produces metrics,
// events, or logs within an hour, otherwise it is INACTIVE . You pay for the
// number of active Amazon Web Services resource hours analyzed for each resource.
// Inactive resources are not charged.
State CostEstimationServiceResourceState
// The type of the Amazon Web Services resource.
Type *string
// The price per hour to analyze the resources in the service. For more
// information, see Estimate your Amazon DevOps Guru costs (https://docs.aws.amazon.com/devops-guru/latest/userguide/cost-estimate.html)
// and Amazon DevOps Guru pricing (http://aws.amazon.com/devops-guru/pricing/) .
UnitCost float64
noSmithyDocumentSerde
}
// Contains the Amazon Resource Name (ARN) of an Amazon Simple Notification
// Service topic. If you use an Amazon SNS topic in another account, you must
// attach a policy to it that grants DevOps Guru permission to send it
// notifications. DevOps Guru adds the required policy on your behalf to send
// notifications using Amazon SNS in your account. DevOps Guru only supports
// standard SNS topics. For more information, see Permissions for Amazon SNS topics (https://docs.aws.amazon.com/devops-guru/latest/userguide/sns-required-permissions.html)
// . If you use an Amazon SNS topic that is encrypted by an Amazon Web Services Key
// Management Service customer-managed key (CMK), then you must add permissions to
// the CMK. For more information, see Permissions for Amazon Web Services
// KMS–encrypted Amazon SNS topics (https://docs.aws.amazon.com/devops-guru/latest/userguide/sns-kms-permissions.html)
// .
type SnsChannelConfig struct {
// The Amazon Resource Name (ARN) of an Amazon Simple Notification Service topic.
TopicArn *string
noSmithyDocumentSerde
}
// A time range used to specify when the behavior of an insight or anomaly started.
type StartTimeRange struct {
// The start time of the time range.
FromTime *time.Time
// The end time of the time range.
ToTime *time.Time
noSmithyDocumentSerde
}
// A collection of Amazon Web Services tags. Tags help you identify and organize
// your Amazon Web Services resources. Many Amazon Web Services services support
// tagging, so you can assign the same tag to resources from different services to
// indicate that the resources are related. For example, you can assign the same
// tag to an Amazon DynamoDB table resource that you assign to an Lambda function.
// For more information about using tags, see the Tagging best practices (https://docs.aws.amazon.com/whitepapers/latest/tagging-best-practices/tagging-best-practices.html)
// whitepaper. Each Amazon Web Services tag has two parts.
// - A tag key (for example, CostCenter , Environment , Project , or Secret ).
// Tag keys are case-sensitive.
// - An optional field known as a tag value (for example, 111122223333 ,
// Production , or a team name). Omitting the tag value is the same as using an
// empty string. Like tag keys, tag values are case-sensitive.
//
// Together these are known as key-value pairs. The string used for a key in a tag
// that you use to define your resource coverage must begin with the prefix
// Devops-guru- . The tag key might be DevOps-Guru-deployment-application or
// devops-guru-rds-application . When you create a key, the case of characters in
// the key can be whatever you choose. After you create a key, it is
// case-sensitive. For example, DevOps Guru works with a key named devops-guru-rds
// and a key named DevOps-Guru-RDS , and these act as two different keys. Possible
// key/value pairs in your application might be
// Devops-Guru-production-application/RDS or
// Devops-Guru-production-application/containers .
type TagCollection struct {
// An Amazon Web Services tag key that is used to identify the Amazon Web Services
// resources that DevOps Guru analyzes. All Amazon Web Services resources in your
// account and Region tagged with this key make up your DevOps Guru application and
// analysis boundary. The string used for a key in a tag that you use to define
// your resource coverage must begin with the prefix Devops-guru- . The tag key
// might be DevOps-Guru-deployment-application or devops-guru-rds-application .
// When you create a key, the case of characters in the key can be whatever you
// choose. After you create a key, it is case-sensitive. For example, DevOps Guru
// works with a key named devops-guru-rds and a key named DevOps-Guru-RDS , and
// these act as two different keys. Possible key/value pairs in your application
// might be Devops-Guru-production-application/RDS or
// Devops-Guru-production-application/containers .
//
// This member is required.
AppBoundaryKey *string
// The values in an Amazon Web Services tag collection. The tag's value is an
// optional field used to associate a string with the tag key (for example,
// 111122223333 , Production , or a team name). The key and value are the tag's key
// pair. Omitting the tag value is the same as using an empty string. Like tag
// keys, tag values are case-sensitive. You can specify a maximum of 256 characters
// for a tag value.
//
// This member is required.
TagValues []string
noSmithyDocumentSerde
}
// A collection of Amazon Web Services tags used to filter insights. This is used
// to return insights generated from only resources that contain the tags in the
// tag collection.
type TagCollectionFilter struct {
// An Amazon Web Services tag key that is used to identify the Amazon Web Services
// resources that DevOps Guru analyzes. All Amazon Web Services resources in your
// account and Region tagged with this key make up your DevOps Guru application and
// analysis boundary. The string used for a key in a tag that you use to define
// your resource coverage must begin with the prefix Devops-guru- . The tag key
// might be DevOps-Guru-deployment-application or devops-guru-rds-application .
// When you create a key, the case of characters in the key can be whatever you
// choose. After you create a key, it is case-sensitive. For example, DevOps Guru
// works with a key named devops-guru-rds and a key named DevOps-Guru-RDS , and
// these act as two different keys. Possible key/value pairs in your application
// might be Devops-Guru-production-application/RDS or
// Devops-Guru-production-application/containers .
//
// This member is required.
AppBoundaryKey *string
// The values in an Amazon Web Services tag collection. The tag's value is an
// optional field used to associate a string with the tag key (for example,
// 111122223333 , Production , or a team name). The key and value are the tag's key
// pair. Omitting the tag value is the same as using an empty string. Like tag
// keys, tag values are case-sensitive. You can specify a maximum of 256 characters
// for a tag value.
//
// This member is required.
TagValues []string
noSmithyDocumentSerde
}
// Information about a collection of Amazon Web Services resources that are
// identified by an Amazon Web Services tag. This collection of resources is used
// to create a monthly cost estimate for DevOps Guru to analyze Amazon Web Services
// resources. The maximum number of tags you can specify for a cost estimate is
// one. The estimate created is for the cost to analyze the Amazon Web Services
// resources defined by the tag. For more information, see Stacks (https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacks.html)
// in the Amazon Web Services CloudFormation User Guide.
type TagCostEstimationResourceCollectionFilter struct {
// An Amazon Web Services tag key that is used to identify the Amazon Web Services
// resources that DevOps Guru analyzes. All Amazon Web Services resources in your
// account and Region tagged with this key make up your DevOps Guru application and
// analysis boundary. The string used for a key in a tag that you use to define
// your resource coverage must begin with the prefix Devops-guru- . The tag key
// might be DevOps-Guru-deployment-application or devops-guru-rds-application .
// When you create a key, the case of characters in the key can be whatever you
// choose. After you create a key, it is case-sensitive. For example, DevOps Guru
// works with a key named devops-guru-rds and a key named DevOps-Guru-RDS , and
// these act as two different keys. Possible key/value pairs in your application
// might be Devops-Guru-production-application/RDS or
// Devops-Guru-production-application/containers .
//
// This member is required.
AppBoundaryKey *string
// The values in an Amazon Web Services tag collection. The tag's value is an
// optional field used to associate a string with the tag key (for example,
// 111122223333 , Production , or a team name). The key and value are the tag's key
// pair. Omitting the tag value is the same as using an empty string. Like tag
// keys, tag values are case-sensitive. You can specify a maximum of 256 characters
// for a tag value.
//
// This member is required.
TagValues []string
noSmithyDocumentSerde
}
// Information about the health of Amazon Web Services resources in your account
// that are specified by an Amazon Web Services tag key.
type TagHealth struct {
// Number of resources that DevOps Guru is monitoring in your account that are
// specified by an Amazon Web Services tag.
AnalyzedResourceCount *int64
// An Amazon Web Services tag key that is used to identify the Amazon Web Services
// resources that DevOps Guru analyzes. All Amazon Web Services resources in your
// account and Region tagged with this key make up your DevOps Guru application and
// analysis boundary. The string used for a key in a tag that you use to define
// your resource coverage must begin with the prefix Devops-guru- . The tag key
// might be DevOps-Guru-deployment-application or devops-guru-rds-application .
// When you create a key, the case of characters in the key can be whatever you
// choose. After you create a key, it is case-sensitive. For example, DevOps Guru
// works with a key named devops-guru-rds and a key named DevOps-Guru-RDS , and
// these act as two different keys. Possible key/value pairs in your application
// might be Devops-Guru-production-application/RDS or
// Devops-Guru-production-application/containers .
AppBoundaryKey *string
// Information about the health of the Amazon Web Services resources in your
// account that are specified by an Amazon Web Services tag, including the number
// of open proactive, open reactive insights, and the Mean Time to Recover (MTTR)
// of closed insights.
Insight *InsightHealth
// The value in an Amazon Web Services tag. The tag's value is an optional field
// used to associate a string with the tag key (for example, 111122223333 ,
// Production , or a team name). The key and value are the tag's key pair. Omitting
// the tag value is the same as using an empty string. Like tag keys, tag values
// are case-sensitive. You can specify a maximum of 256 characters for a tag value.
TagValue *string
noSmithyDocumentSerde
}
// A pair that contains metric values at the respective timestamp.
type TimestampMetricValuePair struct {
// Value of the anomalous metric data point at respective Timestamp.
MetricValue *float64
// A Timestamp that specifies the time the event occurred.
Timestamp *time.Time
noSmithyDocumentSerde
}
// Contains the names of Amazon Web Services CloudFormation stacks used to update
// a collection of stacks. You can specify up to 500 Amazon Web Services
// CloudFormation stacks.
type UpdateCloudFormationCollectionFilter struct {
// An array of the names of the Amazon Web Services CloudFormation stacks to
// update. You can specify up to 500 Amazon Web Services CloudFormation stacks.
StackNames []string
noSmithyDocumentSerde
}
// Contains information used to update a collection of Amazon Web Services
// resources.
type UpdateResourceCollectionFilter struct {
// A collection of Amazon Web Services CloudFormation stacks. You can specify up
// to 500 Amazon Web Services CloudFormation stacks.
CloudFormation *UpdateCloudFormationCollectionFilter
// The updated Amazon Web Services tags used to filter the resources in the
// resource collection. Tags help you identify and organize your Amazon Web
// Services resources. Many Amazon Web Services services support tagging, so you
// can assign the same tag to resources from different services to indicate that
// the resources are related. For example, you can assign the same tag to an Amazon
// DynamoDB table resource that you assign to an Lambda function. For more
// information about using tags, see the Tagging best practices (https://docs.aws.amazon.com/whitepapers/latest/tagging-best-practices/tagging-best-practices.html)
// whitepaper. Each Amazon Web Services tag has two parts.
// - A tag key (for example, CostCenter , Environment , Project , or Secret ).
// Tag keys are case-sensitive.
// - An optional field known as a tag value (for example, 111122223333 ,
// Production , or a team name). Omitting the tag value is the same as using an
// empty string. Like tag keys, tag values are case-sensitive.
// Together these are known as key-value pairs. The string used for a key in a tag
// that you use to define your resource coverage must begin with the prefix
// Devops-guru- . The tag key might be DevOps-Guru-deployment-application or
// devops-guru-rds-application . When you create a key, the case of characters in
// the key can be whatever you choose. After you create a key, it is
// case-sensitive. For example, DevOps Guru works with a key named devops-guru-rds
// and a key named DevOps-Guru-RDS , and these act as two different keys. Possible
// key/value pairs in your application might be
// Devops-Guru-production-application/RDS or
// Devops-Guru-production-application/containers .
Tags []UpdateTagCollectionFilter
noSmithyDocumentSerde
}
// Information about updating the integration status of an Amazon Web Services
// service, such as Amazon Web Services Systems Manager, with DevOps Guru.
type UpdateServiceIntegrationConfig struct {
// Information about whether DevOps Guru is configured to encrypt server-side data
// using KMS.
KMSServerSideEncryption *KMSServerSideEncryptionIntegrationConfig
// Information about whether DevOps Guru is configured to perform log anomaly
// detection on Amazon CloudWatch log groups.
LogsAnomalyDetection *LogsAnomalyDetectionIntegrationConfig
// Information about whether DevOps Guru is configured to create an OpsItem in
// Amazon Web Services Systems Manager OpsCenter for each created insight. You can
// use this to update the configuration.
OpsCenter *OpsCenterIntegrationConfig
noSmithyDocumentSerde
}
// A new collection of Amazon Web Services resources that are defined by an Amazon
// Web Services tag or tag key/value pair.
type UpdateTagCollectionFilter struct {
// An Amazon Web Services tag key that is used to identify the Amazon Web Services
// resources that DevOps Guru analyzes. All Amazon Web Services resources in your
// account and Region tagged with this key make up your DevOps Guru application and
// analysis boundary. The string used for a key in a tag that you use to define
// your resource coverage must begin with the prefix Devops-guru- . The tag key
// might be DevOps-Guru-deployment-application or devops-guru-rds-application .
// When you create a key, the case of characters in the key can be whatever you
// choose. After you create a key, it is case-sensitive. For example, DevOps Guru
// works with a key named devops-guru-rds and a key named DevOps-Guru-RDS , and
// these act as two different keys. Possible key/value pairs in your application
// might be Devops-Guru-production-application/RDS or
// Devops-Guru-production-application/containers .
//
// This member is required.
AppBoundaryKey *string
// The values in an Amazon Web Services tag collection. The tag's value is an
// optional field used to associate a string with the tag key (for example,
// 111122223333 , Production , or a team name). The key and value are the tag's key
// pair. Omitting the tag value is the same as using an empty string. Like tag
// keys, tag values are case-sensitive. You can specify a maximum of 256 characters
// for a tag value.
//
// This member is required.
TagValues []string
noSmithyDocumentSerde
}
// The field associated with the validation exception.
type ValidationExceptionField struct {
// The message associated with the validation exception with information to help
// determine its cause.
//
// This member is required.
Message *string
// The name of the field.
//
// This member is required.
Name *string
noSmithyDocumentSerde
}
type noSmithyDocumentSerde = smithydocument.NoSerde
|