configservice.d.ts
187 KB
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
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
import {Request} from '../lib/request';
import {Response} from '../lib/response';
import {AWSError} from '../lib/error';
import {Service} from '../lib/service';
import {ServiceConfigurationOptions} from '../lib/service';
import {ConfigBase as Config} from '../lib/config';
interface Blob {}
declare class ConfigService extends Service {
/**
* Constructs a service object. This object has one method for each API operation.
*/
constructor(options?: ConfigService.Types.ClientConfiguration)
config: Config & ConfigService.Types.ClientConfiguration;
/**
* Returns the current configuration items for resources that are present in your AWS Config aggregator. The operation also returns a list of resources that are not processed in the current request. If there are no unprocessed resources, the operation returns an empty unprocessedResourceIdentifiers list. The API does not return results for deleted resources. The API does not return tags and relationships.
*/
batchGetAggregateResourceConfig(params: ConfigService.Types.BatchGetAggregateResourceConfigRequest, callback?: (err: AWSError, data: ConfigService.Types.BatchGetAggregateResourceConfigResponse) => void): Request<ConfigService.Types.BatchGetAggregateResourceConfigResponse, AWSError>;
/**
* Returns the current configuration items for resources that are present in your AWS Config aggregator. The operation also returns a list of resources that are not processed in the current request. If there are no unprocessed resources, the operation returns an empty unprocessedResourceIdentifiers list. The API does not return results for deleted resources. The API does not return tags and relationships.
*/
batchGetAggregateResourceConfig(callback?: (err: AWSError, data: ConfigService.Types.BatchGetAggregateResourceConfigResponse) => void): Request<ConfigService.Types.BatchGetAggregateResourceConfigResponse, AWSError>;
/**
* Returns the current configuration for one or more requested resources. The operation also returns a list of resources that are not processed in the current request. If there are no unprocessed resources, the operation returns an empty unprocessedResourceKeys list. The API does not return results for deleted resources. The API does not return any tags for the requested resources. This information is filtered out of the supplementaryConfiguration section of the API response.
*/
batchGetResourceConfig(params: ConfigService.Types.BatchGetResourceConfigRequest, callback?: (err: AWSError, data: ConfigService.Types.BatchGetResourceConfigResponse) => void): Request<ConfigService.Types.BatchGetResourceConfigResponse, AWSError>;
/**
* Returns the current configuration for one or more requested resources. The operation also returns a list of resources that are not processed in the current request. If there are no unprocessed resources, the operation returns an empty unprocessedResourceKeys list. The API does not return results for deleted resources. The API does not return any tags for the requested resources. This information is filtered out of the supplementaryConfiguration section of the API response.
*/
batchGetResourceConfig(callback?: (err: AWSError, data: ConfigService.Types.BatchGetResourceConfigResponse) => void): Request<ConfigService.Types.BatchGetResourceConfigResponse, AWSError>;
/**
* Deletes the authorization granted to the specified configuration aggregator account in a specified region.
*/
deleteAggregationAuthorization(params: ConfigService.Types.DeleteAggregationAuthorizationRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
/**
* Deletes the authorization granted to the specified configuration aggregator account in a specified region.
*/
deleteAggregationAuthorization(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
/**
* Deletes the specified AWS Config rule and all of its evaluation results. AWS Config sets the state of a rule to DELETING until the deletion is complete. You cannot update a rule while it is in this state. If you make a PutConfigRule or DeleteConfigRule request for the rule, you will receive a ResourceInUseException. You can check the state of a rule by using the DescribeConfigRules request.
*/
deleteConfigRule(params: ConfigService.Types.DeleteConfigRuleRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
/**
* Deletes the specified AWS Config rule and all of its evaluation results. AWS Config sets the state of a rule to DELETING until the deletion is complete. You cannot update a rule while it is in this state. If you make a PutConfigRule or DeleteConfigRule request for the rule, you will receive a ResourceInUseException. You can check the state of a rule by using the DescribeConfigRules request.
*/
deleteConfigRule(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
/**
* Deletes the specified configuration aggregator and the aggregated data associated with the aggregator.
*/
deleteConfigurationAggregator(params: ConfigService.Types.DeleteConfigurationAggregatorRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
/**
* Deletes the specified configuration aggregator and the aggregated data associated with the aggregator.
*/
deleteConfigurationAggregator(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
/**
* Deletes the configuration recorder. After the configuration recorder is deleted, AWS Config will not record resource configuration changes until you create a new configuration recorder. This action does not delete the configuration information that was previously recorded. You will be able to access the previously recorded information by using the GetResourceConfigHistory action, but you will not be able to access this information in the AWS Config console until you create a new configuration recorder.
*/
deleteConfigurationRecorder(params: ConfigService.Types.DeleteConfigurationRecorderRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
/**
* Deletes the configuration recorder. After the configuration recorder is deleted, AWS Config will not record resource configuration changes until you create a new configuration recorder. This action does not delete the configuration information that was previously recorded. You will be able to access the previously recorded information by using the GetResourceConfigHistory action, but you will not be able to access this information in the AWS Config console until you create a new configuration recorder.
*/
deleteConfigurationRecorder(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
/**
* Deletes the delivery channel. Before you can delete the delivery channel, you must stop the configuration recorder by using the StopConfigurationRecorder action.
*/
deleteDeliveryChannel(params: ConfigService.Types.DeleteDeliveryChannelRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
/**
* Deletes the delivery channel. Before you can delete the delivery channel, you must stop the configuration recorder by using the StopConfigurationRecorder action.
*/
deleteDeliveryChannel(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
/**
* Deletes the evaluation results for the specified AWS Config rule. You can specify one AWS Config rule per request. After you delete the evaluation results, you can call the StartConfigRulesEvaluation API to start evaluating your AWS resources against the rule.
*/
deleteEvaluationResults(params: ConfigService.Types.DeleteEvaluationResultsRequest, callback?: (err: AWSError, data: ConfigService.Types.DeleteEvaluationResultsResponse) => void): Request<ConfigService.Types.DeleteEvaluationResultsResponse, AWSError>;
/**
* Deletes the evaluation results for the specified AWS Config rule. You can specify one AWS Config rule per request. After you delete the evaluation results, you can call the StartConfigRulesEvaluation API to start evaluating your AWS resources against the rule.
*/
deleteEvaluationResults(callback?: (err: AWSError, data: ConfigService.Types.DeleteEvaluationResultsResponse) => void): Request<ConfigService.Types.DeleteEvaluationResultsResponse, AWSError>;
/**
* Deletes the specified organization config rule and all of its evaluation results from all member accounts in that organization. Only a master account can delete an organization config rule. AWS Config sets the state of a rule to DELETE_IN_PROGRESS until the deletion is complete. You cannot update a rule while it is in this state.
*/
deleteOrganizationConfigRule(params: ConfigService.Types.DeleteOrganizationConfigRuleRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
/**
* Deletes the specified organization config rule and all of its evaluation results from all member accounts in that organization. Only a master account can delete an organization config rule. AWS Config sets the state of a rule to DELETE_IN_PROGRESS until the deletion is complete. You cannot update a rule while it is in this state.
*/
deleteOrganizationConfigRule(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
/**
* Deletes pending authorization requests for a specified aggregator account in a specified region.
*/
deletePendingAggregationRequest(params: ConfigService.Types.DeletePendingAggregationRequestRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
/**
* Deletes pending authorization requests for a specified aggregator account in a specified region.
*/
deletePendingAggregationRequest(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
/**
* Deletes the remediation configuration.
*/
deleteRemediationConfiguration(params: ConfigService.Types.DeleteRemediationConfigurationRequest, callback?: (err: AWSError, data: ConfigService.Types.DeleteRemediationConfigurationResponse) => void): Request<ConfigService.Types.DeleteRemediationConfigurationResponse, AWSError>;
/**
* Deletes the remediation configuration.
*/
deleteRemediationConfiguration(callback?: (err: AWSError, data: ConfigService.Types.DeleteRemediationConfigurationResponse) => void): Request<ConfigService.Types.DeleteRemediationConfigurationResponse, AWSError>;
/**
* Deletes one or more remediation exceptions mentioned in the resource keys.
*/
deleteRemediationExceptions(params: ConfigService.Types.DeleteRemediationExceptionsRequest, callback?: (err: AWSError, data: ConfigService.Types.DeleteRemediationExceptionsResponse) => void): Request<ConfigService.Types.DeleteRemediationExceptionsResponse, AWSError>;
/**
* Deletes one or more remediation exceptions mentioned in the resource keys.
*/
deleteRemediationExceptions(callback?: (err: AWSError, data: ConfigService.Types.DeleteRemediationExceptionsResponse) => void): Request<ConfigService.Types.DeleteRemediationExceptionsResponse, AWSError>;
/**
* Deletes the retention configuration.
*/
deleteRetentionConfiguration(params: ConfigService.Types.DeleteRetentionConfigurationRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
/**
* Deletes the retention configuration.
*/
deleteRetentionConfiguration(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
/**
* Schedules delivery of a configuration snapshot to the Amazon S3 bucket in the specified delivery channel. After the delivery has started, AWS Config sends the following notifications using an Amazon SNS topic that you have specified. Notification of the start of the delivery. Notification of the completion of the delivery, if the delivery was successfully completed. Notification of delivery failure, if the delivery failed.
*/
deliverConfigSnapshot(params: ConfigService.Types.DeliverConfigSnapshotRequest, callback?: (err: AWSError, data: ConfigService.Types.DeliverConfigSnapshotResponse) => void): Request<ConfigService.Types.DeliverConfigSnapshotResponse, AWSError>;
/**
* Schedules delivery of a configuration snapshot to the Amazon S3 bucket in the specified delivery channel. After the delivery has started, AWS Config sends the following notifications using an Amazon SNS topic that you have specified. Notification of the start of the delivery. Notification of the completion of the delivery, if the delivery was successfully completed. Notification of delivery failure, if the delivery failed.
*/
deliverConfigSnapshot(callback?: (err: AWSError, data: ConfigService.Types.DeliverConfigSnapshotResponse) => void): Request<ConfigService.Types.DeliverConfigSnapshotResponse, AWSError>;
/**
* Returns a list of compliant and noncompliant rules with the number of resources for compliant and noncompliant rules. The results can return an empty result page, but if you have a nextToken, the results are displayed on the next page.
*/
describeAggregateComplianceByConfigRules(params: ConfigService.Types.DescribeAggregateComplianceByConfigRulesRequest, callback?: (err: AWSError, data: ConfigService.Types.DescribeAggregateComplianceByConfigRulesResponse) => void): Request<ConfigService.Types.DescribeAggregateComplianceByConfigRulesResponse, AWSError>;
/**
* Returns a list of compliant and noncompliant rules with the number of resources for compliant and noncompliant rules. The results can return an empty result page, but if you have a nextToken, the results are displayed on the next page.
*/
describeAggregateComplianceByConfigRules(callback?: (err: AWSError, data: ConfigService.Types.DescribeAggregateComplianceByConfigRulesResponse) => void): Request<ConfigService.Types.DescribeAggregateComplianceByConfigRulesResponse, AWSError>;
/**
* Returns a list of authorizations granted to various aggregator accounts and regions.
*/
describeAggregationAuthorizations(params: ConfigService.Types.DescribeAggregationAuthorizationsRequest, callback?: (err: AWSError, data: ConfigService.Types.DescribeAggregationAuthorizationsResponse) => void): Request<ConfigService.Types.DescribeAggregationAuthorizationsResponse, AWSError>;
/**
* Returns a list of authorizations granted to various aggregator accounts and regions.
*/
describeAggregationAuthorizations(callback?: (err: AWSError, data: ConfigService.Types.DescribeAggregationAuthorizationsResponse) => void): Request<ConfigService.Types.DescribeAggregationAuthorizationsResponse, AWSError>;
/**
* Indicates whether the specified AWS Config rules are compliant. If a rule is noncompliant, this action returns the number of AWS resources that do not comply with the rule. A rule is compliant if all of the evaluated resources comply with it. It is noncompliant if any of these resources do not comply. If AWS Config has no current evaluation results for the rule, it returns INSUFFICIENT_DATA. This result might indicate one of the following conditions: AWS Config has never invoked an evaluation for the rule. To check whether it has, use the DescribeConfigRuleEvaluationStatus action to get the LastSuccessfulInvocationTime and LastFailedInvocationTime. The rule's AWS Lambda function is failing to send evaluation results to AWS Config. Verify that the role you assigned to your configuration recorder includes the config:PutEvaluations permission. If the rule is a custom rule, verify that the AWS Lambda execution role includes the config:PutEvaluations permission. The rule's AWS Lambda function has returned NOT_APPLICABLE for all evaluation results. This can occur if the resources were deleted or removed from the rule's scope.
*/
describeComplianceByConfigRule(params: ConfigService.Types.DescribeComplianceByConfigRuleRequest, callback?: (err: AWSError, data: ConfigService.Types.DescribeComplianceByConfigRuleResponse) => void): Request<ConfigService.Types.DescribeComplianceByConfigRuleResponse, AWSError>;
/**
* Indicates whether the specified AWS Config rules are compliant. If a rule is noncompliant, this action returns the number of AWS resources that do not comply with the rule. A rule is compliant if all of the evaluated resources comply with it. It is noncompliant if any of these resources do not comply. If AWS Config has no current evaluation results for the rule, it returns INSUFFICIENT_DATA. This result might indicate one of the following conditions: AWS Config has never invoked an evaluation for the rule. To check whether it has, use the DescribeConfigRuleEvaluationStatus action to get the LastSuccessfulInvocationTime and LastFailedInvocationTime. The rule's AWS Lambda function is failing to send evaluation results to AWS Config. Verify that the role you assigned to your configuration recorder includes the config:PutEvaluations permission. If the rule is a custom rule, verify that the AWS Lambda execution role includes the config:PutEvaluations permission. The rule's AWS Lambda function has returned NOT_APPLICABLE for all evaluation results. This can occur if the resources were deleted or removed from the rule's scope.
*/
describeComplianceByConfigRule(callback?: (err: AWSError, data: ConfigService.Types.DescribeComplianceByConfigRuleResponse) => void): Request<ConfigService.Types.DescribeComplianceByConfigRuleResponse, AWSError>;
/**
* Indicates whether the specified AWS resources are compliant. If a resource is noncompliant, this action returns the number of AWS Config rules that the resource does not comply with. A resource is compliant if it complies with all the AWS Config rules that evaluate it. It is noncompliant if it does not comply with one or more of these rules. If AWS Config has no current evaluation results for the resource, it returns INSUFFICIENT_DATA. This result might indicate one of the following conditions about the rules that evaluate the resource: AWS Config has never invoked an evaluation for the rule. To check whether it has, use the DescribeConfigRuleEvaluationStatus action to get the LastSuccessfulInvocationTime and LastFailedInvocationTime. The rule's AWS Lambda function is failing to send evaluation results to AWS Config. Verify that the role that you assigned to your configuration recorder includes the config:PutEvaluations permission. If the rule is a custom rule, verify that the AWS Lambda execution role includes the config:PutEvaluations permission. The rule's AWS Lambda function has returned NOT_APPLICABLE for all evaluation results. This can occur if the resources were deleted or removed from the rule's scope.
*/
describeComplianceByResource(params: ConfigService.Types.DescribeComplianceByResourceRequest, callback?: (err: AWSError, data: ConfigService.Types.DescribeComplianceByResourceResponse) => void): Request<ConfigService.Types.DescribeComplianceByResourceResponse, AWSError>;
/**
* Indicates whether the specified AWS resources are compliant. If a resource is noncompliant, this action returns the number of AWS Config rules that the resource does not comply with. A resource is compliant if it complies with all the AWS Config rules that evaluate it. It is noncompliant if it does not comply with one or more of these rules. If AWS Config has no current evaluation results for the resource, it returns INSUFFICIENT_DATA. This result might indicate one of the following conditions about the rules that evaluate the resource: AWS Config has never invoked an evaluation for the rule. To check whether it has, use the DescribeConfigRuleEvaluationStatus action to get the LastSuccessfulInvocationTime and LastFailedInvocationTime. The rule's AWS Lambda function is failing to send evaluation results to AWS Config. Verify that the role that you assigned to your configuration recorder includes the config:PutEvaluations permission. If the rule is a custom rule, verify that the AWS Lambda execution role includes the config:PutEvaluations permission. The rule's AWS Lambda function has returned NOT_APPLICABLE for all evaluation results. This can occur if the resources were deleted or removed from the rule's scope.
*/
describeComplianceByResource(callback?: (err: AWSError, data: ConfigService.Types.DescribeComplianceByResourceResponse) => void): Request<ConfigService.Types.DescribeComplianceByResourceResponse, AWSError>;
/**
* Returns status information for each of your AWS managed Config rules. The status includes information such as the last time AWS Config invoked the rule, the last time AWS Config failed to invoke the rule, and the related error for the last failure.
*/
describeConfigRuleEvaluationStatus(params: ConfigService.Types.DescribeConfigRuleEvaluationStatusRequest, callback?: (err: AWSError, data: ConfigService.Types.DescribeConfigRuleEvaluationStatusResponse) => void): Request<ConfigService.Types.DescribeConfigRuleEvaluationStatusResponse, AWSError>;
/**
* Returns status information for each of your AWS managed Config rules. The status includes information such as the last time AWS Config invoked the rule, the last time AWS Config failed to invoke the rule, and the related error for the last failure.
*/
describeConfigRuleEvaluationStatus(callback?: (err: AWSError, data: ConfigService.Types.DescribeConfigRuleEvaluationStatusResponse) => void): Request<ConfigService.Types.DescribeConfigRuleEvaluationStatusResponse, AWSError>;
/**
* Returns details about your AWS Config rules.
*/
describeConfigRules(params: ConfigService.Types.DescribeConfigRulesRequest, callback?: (err: AWSError, data: ConfigService.Types.DescribeConfigRulesResponse) => void): Request<ConfigService.Types.DescribeConfigRulesResponse, AWSError>;
/**
* Returns details about your AWS Config rules.
*/
describeConfigRules(callback?: (err: AWSError, data: ConfigService.Types.DescribeConfigRulesResponse) => void): Request<ConfigService.Types.DescribeConfigRulesResponse, AWSError>;
/**
* Returns status information for sources within an aggregator. The status includes information about the last time AWS Config verified authorization between the source account and an aggregator account. In case of a failure, the status contains the related error code or message.
*/
describeConfigurationAggregatorSourcesStatus(params: ConfigService.Types.DescribeConfigurationAggregatorSourcesStatusRequest, callback?: (err: AWSError, data: ConfigService.Types.DescribeConfigurationAggregatorSourcesStatusResponse) => void): Request<ConfigService.Types.DescribeConfigurationAggregatorSourcesStatusResponse, AWSError>;
/**
* Returns status information for sources within an aggregator. The status includes information about the last time AWS Config verified authorization between the source account and an aggregator account. In case of a failure, the status contains the related error code or message.
*/
describeConfigurationAggregatorSourcesStatus(callback?: (err: AWSError, data: ConfigService.Types.DescribeConfigurationAggregatorSourcesStatusResponse) => void): Request<ConfigService.Types.DescribeConfigurationAggregatorSourcesStatusResponse, AWSError>;
/**
* Returns the details of one or more configuration aggregators. If the configuration aggregator is not specified, this action returns the details for all the configuration aggregators associated with the account.
*/
describeConfigurationAggregators(params: ConfigService.Types.DescribeConfigurationAggregatorsRequest, callback?: (err: AWSError, data: ConfigService.Types.DescribeConfigurationAggregatorsResponse) => void): Request<ConfigService.Types.DescribeConfigurationAggregatorsResponse, AWSError>;
/**
* Returns the details of one or more configuration aggregators. If the configuration aggregator is not specified, this action returns the details for all the configuration aggregators associated with the account.
*/
describeConfigurationAggregators(callback?: (err: AWSError, data: ConfigService.Types.DescribeConfigurationAggregatorsResponse) => void): Request<ConfigService.Types.DescribeConfigurationAggregatorsResponse, AWSError>;
/**
* Returns the current status of the specified configuration recorder. If a configuration recorder is not specified, this action returns the status of all configuration recorders associated with the account. Currently, you can specify only one configuration recorder per region in your account.
*/
describeConfigurationRecorderStatus(params: ConfigService.Types.DescribeConfigurationRecorderStatusRequest, callback?: (err: AWSError, data: ConfigService.Types.DescribeConfigurationRecorderStatusResponse) => void): Request<ConfigService.Types.DescribeConfigurationRecorderStatusResponse, AWSError>;
/**
* Returns the current status of the specified configuration recorder. If a configuration recorder is not specified, this action returns the status of all configuration recorders associated with the account. Currently, you can specify only one configuration recorder per region in your account.
*/
describeConfigurationRecorderStatus(callback?: (err: AWSError, data: ConfigService.Types.DescribeConfigurationRecorderStatusResponse) => void): Request<ConfigService.Types.DescribeConfigurationRecorderStatusResponse, AWSError>;
/**
* Returns the details for the specified configuration recorders. If the configuration recorder is not specified, this action returns the details for all configuration recorders associated with the account. Currently, you can specify only one configuration recorder per region in your account.
*/
describeConfigurationRecorders(params: ConfigService.Types.DescribeConfigurationRecordersRequest, callback?: (err: AWSError, data: ConfigService.Types.DescribeConfigurationRecordersResponse) => void): Request<ConfigService.Types.DescribeConfigurationRecordersResponse, AWSError>;
/**
* Returns the details for the specified configuration recorders. If the configuration recorder is not specified, this action returns the details for all configuration recorders associated with the account. Currently, you can specify only one configuration recorder per region in your account.
*/
describeConfigurationRecorders(callback?: (err: AWSError, data: ConfigService.Types.DescribeConfigurationRecordersResponse) => void): Request<ConfigService.Types.DescribeConfigurationRecordersResponse, AWSError>;
/**
* Returns the current status of the specified delivery channel. If a delivery channel is not specified, this action returns the current status of all delivery channels associated with the account. Currently, you can specify only one delivery channel per region in your account.
*/
describeDeliveryChannelStatus(params: ConfigService.Types.DescribeDeliveryChannelStatusRequest, callback?: (err: AWSError, data: ConfigService.Types.DescribeDeliveryChannelStatusResponse) => void): Request<ConfigService.Types.DescribeDeliveryChannelStatusResponse, AWSError>;
/**
* Returns the current status of the specified delivery channel. If a delivery channel is not specified, this action returns the current status of all delivery channels associated with the account. Currently, you can specify only one delivery channel per region in your account.
*/
describeDeliveryChannelStatus(callback?: (err: AWSError, data: ConfigService.Types.DescribeDeliveryChannelStatusResponse) => void): Request<ConfigService.Types.DescribeDeliveryChannelStatusResponse, AWSError>;
/**
* Returns details about the specified delivery channel. If a delivery channel is not specified, this action returns the details of all delivery channels associated with the account. Currently, you can specify only one delivery channel per region in your account.
*/
describeDeliveryChannels(params: ConfigService.Types.DescribeDeliveryChannelsRequest, callback?: (err: AWSError, data: ConfigService.Types.DescribeDeliveryChannelsResponse) => void): Request<ConfigService.Types.DescribeDeliveryChannelsResponse, AWSError>;
/**
* Returns details about the specified delivery channel. If a delivery channel is not specified, this action returns the details of all delivery channels associated with the account. Currently, you can specify only one delivery channel per region in your account.
*/
describeDeliveryChannels(callback?: (err: AWSError, data: ConfigService.Types.DescribeDeliveryChannelsResponse) => void): Request<ConfigService.Types.DescribeDeliveryChannelsResponse, AWSError>;
/**
* Provides organization config rule deployment status for an organization. The status is not considered successful until organization config rule is successfully deployed in all the member accounts with an exception of excluded accounts. When you specify the limit and the next token, you receive a paginated response. Limit and next token are not applicable if you specify organization config rule names. It is only applicable, when you request all the organization config rules. Only a master account can call this API.
*/
describeOrganizationConfigRuleStatuses(params: ConfigService.Types.DescribeOrganizationConfigRuleStatusesRequest, callback?: (err: AWSError, data: ConfigService.Types.DescribeOrganizationConfigRuleStatusesResponse) => void): Request<ConfigService.Types.DescribeOrganizationConfigRuleStatusesResponse, AWSError>;
/**
* Provides organization config rule deployment status for an organization. The status is not considered successful until organization config rule is successfully deployed in all the member accounts with an exception of excluded accounts. When you specify the limit and the next token, you receive a paginated response. Limit and next token are not applicable if you specify organization config rule names. It is only applicable, when you request all the organization config rules. Only a master account can call this API.
*/
describeOrganizationConfigRuleStatuses(callback?: (err: AWSError, data: ConfigService.Types.DescribeOrganizationConfigRuleStatusesResponse) => void): Request<ConfigService.Types.DescribeOrganizationConfigRuleStatusesResponse, AWSError>;
/**
* Returns a list of organization config rules. When you specify the limit and the next token, you receive a paginated response. Limit and next token are not applicable if you specify organization config rule names. It is only applicable, when you request all the organization config rules. Only a master account can call this API.
*/
describeOrganizationConfigRules(params: ConfigService.Types.DescribeOrganizationConfigRulesRequest, callback?: (err: AWSError, data: ConfigService.Types.DescribeOrganizationConfigRulesResponse) => void): Request<ConfigService.Types.DescribeOrganizationConfigRulesResponse, AWSError>;
/**
* Returns a list of organization config rules. When you specify the limit and the next token, you receive a paginated response. Limit and next token are not applicable if you specify organization config rule names. It is only applicable, when you request all the organization config rules. Only a master account can call this API.
*/
describeOrganizationConfigRules(callback?: (err: AWSError, data: ConfigService.Types.DescribeOrganizationConfigRulesResponse) => void): Request<ConfigService.Types.DescribeOrganizationConfigRulesResponse, AWSError>;
/**
* Returns a list of all pending aggregation requests.
*/
describePendingAggregationRequests(params: ConfigService.Types.DescribePendingAggregationRequestsRequest, callback?: (err: AWSError, data: ConfigService.Types.DescribePendingAggregationRequestsResponse) => void): Request<ConfigService.Types.DescribePendingAggregationRequestsResponse, AWSError>;
/**
* Returns a list of all pending aggregation requests.
*/
describePendingAggregationRequests(callback?: (err: AWSError, data: ConfigService.Types.DescribePendingAggregationRequestsResponse) => void): Request<ConfigService.Types.DescribePendingAggregationRequestsResponse, AWSError>;
/**
* Returns the details of one or more remediation configurations.
*/
describeRemediationConfigurations(params: ConfigService.Types.DescribeRemediationConfigurationsRequest, callback?: (err: AWSError, data: ConfigService.Types.DescribeRemediationConfigurationsResponse) => void): Request<ConfigService.Types.DescribeRemediationConfigurationsResponse, AWSError>;
/**
* Returns the details of one or more remediation configurations.
*/
describeRemediationConfigurations(callback?: (err: AWSError, data: ConfigService.Types.DescribeRemediationConfigurationsResponse) => void): Request<ConfigService.Types.DescribeRemediationConfigurationsResponse, AWSError>;
/**
* Returns the details of one or more remediation exceptions. A detailed view of a remediation exception for a set of resources that includes an explanation of an exception and the time when the exception will be deleted. When you specify the limit and the next token, you receive a paginated response. When you specify the limit and the next token, you receive a paginated response. Limit and next token are not applicable if you request resources in batch. It is only applicable, when you request all resources.
*/
describeRemediationExceptions(params: ConfigService.Types.DescribeRemediationExceptionsRequest, callback?: (err: AWSError, data: ConfigService.Types.DescribeRemediationExceptionsResponse) => void): Request<ConfigService.Types.DescribeRemediationExceptionsResponse, AWSError>;
/**
* Returns the details of one or more remediation exceptions. A detailed view of a remediation exception for a set of resources that includes an explanation of an exception and the time when the exception will be deleted. When you specify the limit and the next token, you receive a paginated response. When you specify the limit and the next token, you receive a paginated response. Limit and next token are not applicable if you request resources in batch. It is only applicable, when you request all resources.
*/
describeRemediationExceptions(callback?: (err: AWSError, data: ConfigService.Types.DescribeRemediationExceptionsResponse) => void): Request<ConfigService.Types.DescribeRemediationExceptionsResponse, AWSError>;
/**
* Provides a detailed view of a Remediation Execution for a set of resources including state, timestamps for when steps for the remediation execution occur, and any error messages for steps that have failed. When you specify the limit and the next token, you receive a paginated response.
*/
describeRemediationExecutionStatus(params: ConfigService.Types.DescribeRemediationExecutionStatusRequest, callback?: (err: AWSError, data: ConfigService.Types.DescribeRemediationExecutionStatusResponse) => void): Request<ConfigService.Types.DescribeRemediationExecutionStatusResponse, AWSError>;
/**
* Provides a detailed view of a Remediation Execution for a set of resources including state, timestamps for when steps for the remediation execution occur, and any error messages for steps that have failed. When you specify the limit and the next token, you receive a paginated response.
*/
describeRemediationExecutionStatus(callback?: (err: AWSError, data: ConfigService.Types.DescribeRemediationExecutionStatusResponse) => void): Request<ConfigService.Types.DescribeRemediationExecutionStatusResponse, AWSError>;
/**
* Returns the details of one or more retention configurations. If the retention configuration name is not specified, this action returns the details for all the retention configurations for that account. Currently, AWS Config supports only one retention configuration per region in your account.
*/
describeRetentionConfigurations(params: ConfigService.Types.DescribeRetentionConfigurationsRequest, callback?: (err: AWSError, data: ConfigService.Types.DescribeRetentionConfigurationsResponse) => void): Request<ConfigService.Types.DescribeRetentionConfigurationsResponse, AWSError>;
/**
* Returns the details of one or more retention configurations. If the retention configuration name is not specified, this action returns the details for all the retention configurations for that account. Currently, AWS Config supports only one retention configuration per region in your account.
*/
describeRetentionConfigurations(callback?: (err: AWSError, data: ConfigService.Types.DescribeRetentionConfigurationsResponse) => void): Request<ConfigService.Types.DescribeRetentionConfigurationsResponse, AWSError>;
/**
* Returns the evaluation results for the specified AWS Config rule for a specific resource in a rule. The results indicate which AWS resources were evaluated by the rule, when each resource was last evaluated, and whether each resource complies with the rule. The results can return an empty result page. But if you have a nextToken, the results are displayed on the next page.
*/
getAggregateComplianceDetailsByConfigRule(params: ConfigService.Types.GetAggregateComplianceDetailsByConfigRuleRequest, callback?: (err: AWSError, data: ConfigService.Types.GetAggregateComplianceDetailsByConfigRuleResponse) => void): Request<ConfigService.Types.GetAggregateComplianceDetailsByConfigRuleResponse, AWSError>;
/**
* Returns the evaluation results for the specified AWS Config rule for a specific resource in a rule. The results indicate which AWS resources were evaluated by the rule, when each resource was last evaluated, and whether each resource complies with the rule. The results can return an empty result page. But if you have a nextToken, the results are displayed on the next page.
*/
getAggregateComplianceDetailsByConfigRule(callback?: (err: AWSError, data: ConfigService.Types.GetAggregateComplianceDetailsByConfigRuleResponse) => void): Request<ConfigService.Types.GetAggregateComplianceDetailsByConfigRuleResponse, AWSError>;
/**
* Returns the number of compliant and noncompliant rules for one or more accounts and regions in an aggregator. The results can return an empty result page, but if you have a nextToken, the results are displayed on the next page.
*/
getAggregateConfigRuleComplianceSummary(params: ConfigService.Types.GetAggregateConfigRuleComplianceSummaryRequest, callback?: (err: AWSError, data: ConfigService.Types.GetAggregateConfigRuleComplianceSummaryResponse) => void): Request<ConfigService.Types.GetAggregateConfigRuleComplianceSummaryResponse, AWSError>;
/**
* Returns the number of compliant and noncompliant rules for one or more accounts and regions in an aggregator. The results can return an empty result page, but if you have a nextToken, the results are displayed on the next page.
*/
getAggregateConfigRuleComplianceSummary(callback?: (err: AWSError, data: ConfigService.Types.GetAggregateConfigRuleComplianceSummaryResponse) => void): Request<ConfigService.Types.GetAggregateConfigRuleComplianceSummaryResponse, AWSError>;
/**
* Returns the resource counts across accounts and regions that are present in your AWS Config aggregator. You can request the resource counts by providing filters and GroupByKey. For example, if the input contains accountID 12345678910 and region us-east-1 in filters, the API returns the count of resources in account ID 12345678910 and region us-east-1. If the input contains ACCOUNT_ID as a GroupByKey, the API returns resource counts for all source accounts that are present in your aggregator.
*/
getAggregateDiscoveredResourceCounts(params: ConfigService.Types.GetAggregateDiscoveredResourceCountsRequest, callback?: (err: AWSError, data: ConfigService.Types.GetAggregateDiscoveredResourceCountsResponse) => void): Request<ConfigService.Types.GetAggregateDiscoveredResourceCountsResponse, AWSError>;
/**
* Returns the resource counts across accounts and regions that are present in your AWS Config aggregator. You can request the resource counts by providing filters and GroupByKey. For example, if the input contains accountID 12345678910 and region us-east-1 in filters, the API returns the count of resources in account ID 12345678910 and region us-east-1. If the input contains ACCOUNT_ID as a GroupByKey, the API returns resource counts for all source accounts that are present in your aggregator.
*/
getAggregateDiscoveredResourceCounts(callback?: (err: AWSError, data: ConfigService.Types.GetAggregateDiscoveredResourceCountsResponse) => void): Request<ConfigService.Types.GetAggregateDiscoveredResourceCountsResponse, AWSError>;
/**
* Returns configuration item that is aggregated for your specific resource in a specific source account and region.
*/
getAggregateResourceConfig(params: ConfigService.Types.GetAggregateResourceConfigRequest, callback?: (err: AWSError, data: ConfigService.Types.GetAggregateResourceConfigResponse) => void): Request<ConfigService.Types.GetAggregateResourceConfigResponse, AWSError>;
/**
* Returns configuration item that is aggregated for your specific resource in a specific source account and region.
*/
getAggregateResourceConfig(callback?: (err: AWSError, data: ConfigService.Types.GetAggregateResourceConfigResponse) => void): Request<ConfigService.Types.GetAggregateResourceConfigResponse, AWSError>;
/**
* Returns the evaluation results for the specified AWS Config rule. The results indicate which AWS resources were evaluated by the rule, when each resource was last evaluated, and whether each resource complies with the rule.
*/
getComplianceDetailsByConfigRule(params: ConfigService.Types.GetComplianceDetailsByConfigRuleRequest, callback?: (err: AWSError, data: ConfigService.Types.GetComplianceDetailsByConfigRuleResponse) => void): Request<ConfigService.Types.GetComplianceDetailsByConfigRuleResponse, AWSError>;
/**
* Returns the evaluation results for the specified AWS Config rule. The results indicate which AWS resources were evaluated by the rule, when each resource was last evaluated, and whether each resource complies with the rule.
*/
getComplianceDetailsByConfigRule(callback?: (err: AWSError, data: ConfigService.Types.GetComplianceDetailsByConfigRuleResponse) => void): Request<ConfigService.Types.GetComplianceDetailsByConfigRuleResponse, AWSError>;
/**
* Returns the evaluation results for the specified AWS resource. The results indicate which AWS Config rules were used to evaluate the resource, when each rule was last used, and whether the resource complies with each rule.
*/
getComplianceDetailsByResource(params: ConfigService.Types.GetComplianceDetailsByResourceRequest, callback?: (err: AWSError, data: ConfigService.Types.GetComplianceDetailsByResourceResponse) => void): Request<ConfigService.Types.GetComplianceDetailsByResourceResponse, AWSError>;
/**
* Returns the evaluation results for the specified AWS resource. The results indicate which AWS Config rules were used to evaluate the resource, when each rule was last used, and whether the resource complies with each rule.
*/
getComplianceDetailsByResource(callback?: (err: AWSError, data: ConfigService.Types.GetComplianceDetailsByResourceResponse) => void): Request<ConfigService.Types.GetComplianceDetailsByResourceResponse, AWSError>;
/**
* Returns the number of AWS Config rules that are compliant and noncompliant, up to a maximum of 25 for each.
*/
getComplianceSummaryByConfigRule(callback?: (err: AWSError, data: ConfigService.Types.GetComplianceSummaryByConfigRuleResponse) => void): Request<ConfigService.Types.GetComplianceSummaryByConfigRuleResponse, AWSError>;
/**
* Returns the number of resources that are compliant and the number that are noncompliant. You can specify one or more resource types to get these numbers for each resource type. The maximum number returned is 100.
*/
getComplianceSummaryByResourceType(params: ConfigService.Types.GetComplianceSummaryByResourceTypeRequest, callback?: (err: AWSError, data: ConfigService.Types.GetComplianceSummaryByResourceTypeResponse) => void): Request<ConfigService.Types.GetComplianceSummaryByResourceTypeResponse, AWSError>;
/**
* Returns the number of resources that are compliant and the number that are noncompliant. You can specify one or more resource types to get these numbers for each resource type. The maximum number returned is 100.
*/
getComplianceSummaryByResourceType(callback?: (err: AWSError, data: ConfigService.Types.GetComplianceSummaryByResourceTypeResponse) => void): Request<ConfigService.Types.GetComplianceSummaryByResourceTypeResponse, AWSError>;
/**
* Returns the resource types, the number of each resource type, and the total number of resources that AWS Config is recording in this region for your AWS account. Example AWS Config is recording three resource types in the US East (Ohio) Region for your account: 25 EC2 instances, 20 IAM users, and 15 S3 buckets. You make a call to the GetDiscoveredResourceCounts action and specify that you want all resource types. AWS Config returns the following: The resource types (EC2 instances, IAM users, and S3 buckets). The number of each resource type (25, 20, and 15). The total number of all resources (60). The response is paginated. By default, AWS Config lists 100 ResourceCount objects on each page. You can customize this number with the limit parameter. The response includes a nextToken string. To get the next page of results, run the request again and specify the string for the nextToken parameter. If you make a call to the GetDiscoveredResourceCounts action, you might not immediately receive resource counts in the following situations: You are a new AWS Config customer. You just enabled resource recording. It might take a few minutes for AWS Config to record and count your resources. Wait a few minutes and then retry the GetDiscoveredResourceCounts action.
*/
getDiscoveredResourceCounts(params: ConfigService.Types.GetDiscoveredResourceCountsRequest, callback?: (err: AWSError, data: ConfigService.Types.GetDiscoveredResourceCountsResponse) => void): Request<ConfigService.Types.GetDiscoveredResourceCountsResponse, AWSError>;
/**
* Returns the resource types, the number of each resource type, and the total number of resources that AWS Config is recording in this region for your AWS account. Example AWS Config is recording three resource types in the US East (Ohio) Region for your account: 25 EC2 instances, 20 IAM users, and 15 S3 buckets. You make a call to the GetDiscoveredResourceCounts action and specify that you want all resource types. AWS Config returns the following: The resource types (EC2 instances, IAM users, and S3 buckets). The number of each resource type (25, 20, and 15). The total number of all resources (60). The response is paginated. By default, AWS Config lists 100 ResourceCount objects on each page. You can customize this number with the limit parameter. The response includes a nextToken string. To get the next page of results, run the request again and specify the string for the nextToken parameter. If you make a call to the GetDiscoveredResourceCounts action, you might not immediately receive resource counts in the following situations: You are a new AWS Config customer. You just enabled resource recording. It might take a few minutes for AWS Config to record and count your resources. Wait a few minutes and then retry the GetDiscoveredResourceCounts action.
*/
getDiscoveredResourceCounts(callback?: (err: AWSError, data: ConfigService.Types.GetDiscoveredResourceCountsResponse) => void): Request<ConfigService.Types.GetDiscoveredResourceCountsResponse, AWSError>;
/**
* Returns detailed status for each member account within an organization for a given organization config rule. Only a master account can call this API.
*/
getOrganizationConfigRuleDetailedStatus(params: ConfigService.Types.GetOrganizationConfigRuleDetailedStatusRequest, callback?: (err: AWSError, data: ConfigService.Types.GetOrganizationConfigRuleDetailedStatusResponse) => void): Request<ConfigService.Types.GetOrganizationConfigRuleDetailedStatusResponse, AWSError>;
/**
* Returns detailed status for each member account within an organization for a given organization config rule. Only a master account can call this API.
*/
getOrganizationConfigRuleDetailedStatus(callback?: (err: AWSError, data: ConfigService.Types.GetOrganizationConfigRuleDetailedStatusResponse) => void): Request<ConfigService.Types.GetOrganizationConfigRuleDetailedStatusResponse, AWSError>;
/**
* Returns a list of configuration items for the specified resource. The list contains details about each state of the resource during the specified time interval. If you specified a retention period to retain your ConfigurationItems between a minimum of 30 days and a maximum of 7 years (2557 days), AWS Config returns the ConfigurationItems for the specified retention period. The response is paginated. By default, AWS Config returns a limit of 10 configuration items per page. You can customize this number with the limit parameter. The response includes a nextToken string. To get the next page of results, run the request again and specify the string for the nextToken parameter. Each call to the API is limited to span a duration of seven days. It is likely that the number of records returned is smaller than the specified limit. In such cases, you can make another call, using the nextToken.
*/
getResourceConfigHistory(params: ConfigService.Types.GetResourceConfigHistoryRequest, callback?: (err: AWSError, data: ConfigService.Types.GetResourceConfigHistoryResponse) => void): Request<ConfigService.Types.GetResourceConfigHistoryResponse, AWSError>;
/**
* Returns a list of configuration items for the specified resource. The list contains details about each state of the resource during the specified time interval. If you specified a retention period to retain your ConfigurationItems between a minimum of 30 days and a maximum of 7 years (2557 days), AWS Config returns the ConfigurationItems for the specified retention period. The response is paginated. By default, AWS Config returns a limit of 10 configuration items per page. You can customize this number with the limit parameter. The response includes a nextToken string. To get the next page of results, run the request again and specify the string for the nextToken parameter. Each call to the API is limited to span a duration of seven days. It is likely that the number of records returned is smaller than the specified limit. In such cases, you can make another call, using the nextToken.
*/
getResourceConfigHistory(callback?: (err: AWSError, data: ConfigService.Types.GetResourceConfigHistoryResponse) => void): Request<ConfigService.Types.GetResourceConfigHistoryResponse, AWSError>;
/**
* Accepts a resource type and returns a list of resource identifiers that are aggregated for a specific resource type across accounts and regions. A resource identifier includes the resource type, ID, (if available) the custom resource name, source account, and source region. You can narrow the results to include only resources that have specific resource IDs, or a resource name, or source account ID, or source region. For example, if the input consists of accountID 12345678910 and the region is us-east-1 for resource type AWS::EC2::Instance then the API returns all the EC2 instance identifiers of accountID 12345678910 and region us-east-1.
*/
listAggregateDiscoveredResources(params: ConfigService.Types.ListAggregateDiscoveredResourcesRequest, callback?: (err: AWSError, data: ConfigService.Types.ListAggregateDiscoveredResourcesResponse) => void): Request<ConfigService.Types.ListAggregateDiscoveredResourcesResponse, AWSError>;
/**
* Accepts a resource type and returns a list of resource identifiers that are aggregated for a specific resource type across accounts and regions. A resource identifier includes the resource type, ID, (if available) the custom resource name, source account, and source region. You can narrow the results to include only resources that have specific resource IDs, or a resource name, or source account ID, or source region. For example, if the input consists of accountID 12345678910 and the region is us-east-1 for resource type AWS::EC2::Instance then the API returns all the EC2 instance identifiers of accountID 12345678910 and region us-east-1.
*/
listAggregateDiscoveredResources(callback?: (err: AWSError, data: ConfigService.Types.ListAggregateDiscoveredResourcesResponse) => void): Request<ConfigService.Types.ListAggregateDiscoveredResourcesResponse, AWSError>;
/**
* Accepts a resource type and returns a list of resource identifiers for the resources of that type. A resource identifier includes the resource type, ID, and (if available) the custom resource name. The results consist of resources that AWS Config has discovered, including those that AWS Config is not currently recording. You can narrow the results to include only resources that have specific resource IDs or a resource name. You can specify either resource IDs or a resource name, but not both, in the same request. The response is paginated. By default, AWS Config lists 100 resource identifiers on each page. You can customize this number with the limit parameter. The response includes a nextToken string. To get the next page of results, run the request again and specify the string for the nextToken parameter.
*/
listDiscoveredResources(params: ConfigService.Types.ListDiscoveredResourcesRequest, callback?: (err: AWSError, data: ConfigService.Types.ListDiscoveredResourcesResponse) => void): Request<ConfigService.Types.ListDiscoveredResourcesResponse, AWSError>;
/**
* Accepts a resource type and returns a list of resource identifiers for the resources of that type. A resource identifier includes the resource type, ID, and (if available) the custom resource name. The results consist of resources that AWS Config has discovered, including those that AWS Config is not currently recording. You can narrow the results to include only resources that have specific resource IDs or a resource name. You can specify either resource IDs or a resource name, but not both, in the same request. The response is paginated. By default, AWS Config lists 100 resource identifiers on each page. You can customize this number with the limit parameter. The response includes a nextToken string. To get the next page of results, run the request again and specify the string for the nextToken parameter.
*/
listDiscoveredResources(callback?: (err: AWSError, data: ConfigService.Types.ListDiscoveredResourcesResponse) => void): Request<ConfigService.Types.ListDiscoveredResourcesResponse, AWSError>;
/**
* List the tags for AWS Config resource.
*/
listTagsForResource(params: ConfigService.Types.ListTagsForResourceRequest, callback?: (err: AWSError, data: ConfigService.Types.ListTagsForResourceResponse) => void): Request<ConfigService.Types.ListTagsForResourceResponse, AWSError>;
/**
* List the tags for AWS Config resource.
*/
listTagsForResource(callback?: (err: AWSError, data: ConfigService.Types.ListTagsForResourceResponse) => void): Request<ConfigService.Types.ListTagsForResourceResponse, AWSError>;
/**
* Authorizes the aggregator account and region to collect data from the source account and region.
*/
putAggregationAuthorization(params: ConfigService.Types.PutAggregationAuthorizationRequest, callback?: (err: AWSError, data: ConfigService.Types.PutAggregationAuthorizationResponse) => void): Request<ConfigService.Types.PutAggregationAuthorizationResponse, AWSError>;
/**
* Authorizes the aggregator account and region to collect data from the source account and region.
*/
putAggregationAuthorization(callback?: (err: AWSError, data: ConfigService.Types.PutAggregationAuthorizationResponse) => void): Request<ConfigService.Types.PutAggregationAuthorizationResponse, AWSError>;
/**
* Adds or updates an AWS Config rule for evaluating whether your AWS resources comply with your desired configurations. You can use this action for custom AWS Config rules and AWS managed Config rules. A custom AWS Config rule is a rule that you develop and maintain. An AWS managed Config rule is a customizable, predefined rule that AWS Config provides. If you are adding a new custom AWS Config rule, you must first create the AWS Lambda function that the rule invokes to evaluate your resources. When you use the PutConfigRule action to add the rule to AWS Config, you must specify the Amazon Resource Name (ARN) that AWS Lambda assigns to the function. Specify the ARN for the SourceIdentifier key. This key is part of the Source object, which is part of the ConfigRule object. If you are adding an AWS managed Config rule, specify the rule's identifier for the SourceIdentifier key. To reference AWS managed Config rule identifiers, see About AWS Managed Config Rules. For any new rule that you add, specify the ConfigRuleName in the ConfigRule object. Do not specify the ConfigRuleArn or the ConfigRuleId. These values are generated by AWS Config for new rules. If you are updating a rule that you added previously, you can specify the rule by ConfigRuleName, ConfigRuleId, or ConfigRuleArn in the ConfigRule data type that you use in this request. The maximum number of rules that AWS Config supports is 150. For information about requesting a rule limit increase, see AWS Config Limits in the AWS General Reference Guide. For more information about developing and using AWS Config rules, see Evaluating AWS Resource Configurations with AWS Config in the AWS Config Developer Guide.
*/
putConfigRule(params: ConfigService.Types.PutConfigRuleRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
/**
* Adds or updates an AWS Config rule for evaluating whether your AWS resources comply with your desired configurations. You can use this action for custom AWS Config rules and AWS managed Config rules. A custom AWS Config rule is a rule that you develop and maintain. An AWS managed Config rule is a customizable, predefined rule that AWS Config provides. If you are adding a new custom AWS Config rule, you must first create the AWS Lambda function that the rule invokes to evaluate your resources. When you use the PutConfigRule action to add the rule to AWS Config, you must specify the Amazon Resource Name (ARN) that AWS Lambda assigns to the function. Specify the ARN for the SourceIdentifier key. This key is part of the Source object, which is part of the ConfigRule object. If you are adding an AWS managed Config rule, specify the rule's identifier for the SourceIdentifier key. To reference AWS managed Config rule identifiers, see About AWS Managed Config Rules. For any new rule that you add, specify the ConfigRuleName in the ConfigRule object. Do not specify the ConfigRuleArn or the ConfigRuleId. These values are generated by AWS Config for new rules. If you are updating a rule that you added previously, you can specify the rule by ConfigRuleName, ConfigRuleId, or ConfigRuleArn in the ConfigRule data type that you use in this request. The maximum number of rules that AWS Config supports is 150. For information about requesting a rule limit increase, see AWS Config Limits in the AWS General Reference Guide. For more information about developing and using AWS Config rules, see Evaluating AWS Resource Configurations with AWS Config in the AWS Config Developer Guide.
*/
putConfigRule(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
/**
* Creates and updates the configuration aggregator with the selected source accounts and regions. The source account can be individual account(s) or an organization. AWS Config should be enabled in source accounts and regions you want to aggregate. If your source type is an organization, you must be signed in to the master account and all features must be enabled in your organization. AWS Config calls EnableAwsServiceAccess API to enable integration between AWS Config and AWS Organizations.
*/
putConfigurationAggregator(params: ConfigService.Types.PutConfigurationAggregatorRequest, callback?: (err: AWSError, data: ConfigService.Types.PutConfigurationAggregatorResponse) => void): Request<ConfigService.Types.PutConfigurationAggregatorResponse, AWSError>;
/**
* Creates and updates the configuration aggregator with the selected source accounts and regions. The source account can be individual account(s) or an organization. AWS Config should be enabled in source accounts and regions you want to aggregate. If your source type is an organization, you must be signed in to the master account and all features must be enabled in your organization. AWS Config calls EnableAwsServiceAccess API to enable integration between AWS Config and AWS Organizations.
*/
putConfigurationAggregator(callback?: (err: AWSError, data: ConfigService.Types.PutConfigurationAggregatorResponse) => void): Request<ConfigService.Types.PutConfigurationAggregatorResponse, AWSError>;
/**
* Creates a new configuration recorder to record the selected resource configurations. You can use this action to change the role roleARN or the recordingGroup of an existing recorder. To change the role, call the action on the existing configuration recorder and specify a role. Currently, you can specify only one configuration recorder per region in your account. If ConfigurationRecorder does not have the recordingGroup parameter specified, the default is to record all supported resource types.
*/
putConfigurationRecorder(params: ConfigService.Types.PutConfigurationRecorderRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
/**
* Creates a new configuration recorder to record the selected resource configurations. You can use this action to change the role roleARN or the recordingGroup of an existing recorder. To change the role, call the action on the existing configuration recorder and specify a role. Currently, you can specify only one configuration recorder per region in your account. If ConfigurationRecorder does not have the recordingGroup parameter specified, the default is to record all supported resource types.
*/
putConfigurationRecorder(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
/**
* Creates a delivery channel object to deliver configuration information to an Amazon S3 bucket and Amazon SNS topic. Before you can create a delivery channel, you must create a configuration recorder. You can use this action to change the Amazon S3 bucket or an Amazon SNS topic of the existing delivery channel. To change the Amazon S3 bucket or an Amazon SNS topic, call this action and specify the changed values for the S3 bucket and the SNS topic. If you specify a different value for either the S3 bucket or the SNS topic, this action will keep the existing value for the parameter that is not changed. You can have only one delivery channel per region in your account.
*/
putDeliveryChannel(params: ConfigService.Types.PutDeliveryChannelRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
/**
* Creates a delivery channel object to deliver configuration information to an Amazon S3 bucket and Amazon SNS topic. Before you can create a delivery channel, you must create a configuration recorder. You can use this action to change the Amazon S3 bucket or an Amazon SNS topic of the existing delivery channel. To change the Amazon S3 bucket or an Amazon SNS topic, call this action and specify the changed values for the S3 bucket and the SNS topic. If you specify a different value for either the S3 bucket or the SNS topic, this action will keep the existing value for the parameter that is not changed. You can have only one delivery channel per region in your account.
*/
putDeliveryChannel(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
/**
* Used by an AWS Lambda function to deliver evaluation results to AWS Config. This action is required in every AWS Lambda function that is invoked by an AWS Config rule.
*/
putEvaluations(params: ConfigService.Types.PutEvaluationsRequest, callback?: (err: AWSError, data: ConfigService.Types.PutEvaluationsResponse) => void): Request<ConfigService.Types.PutEvaluationsResponse, AWSError>;
/**
* Used by an AWS Lambda function to deliver evaluation results to AWS Config. This action is required in every AWS Lambda function that is invoked by an AWS Config rule.
*/
putEvaluations(callback?: (err: AWSError, data: ConfigService.Types.PutEvaluationsResponse) => void): Request<ConfigService.Types.PutEvaluationsResponse, AWSError>;
/**
* Adds or updates organization config rule for your entire organization evaluating whether your AWS resources comply with your desired configurations. Only a master account can create or update an organization config rule. This API enables organization service access through the EnableAWSServiceAccess action and creates a service linked role AWSServiceRoleForConfigMultiAccountSetup in the master account of your organization. The service linked role is created only when the role does not exist in the master account. AWS Config verifies the existence of role with GetRole action. You can use this action to create both custom AWS Config rules and AWS managed Config rules. If you are adding a new custom AWS Config rule, you must first create AWS Lambda function in the master account that the rule invokes to evaluate your resources. When you use the PutOrganizationConfigRule action to add the rule to AWS Config, you must specify the Amazon Resource Name (ARN) that AWS Lambda assigns to the function. If you are adding an AWS managed Config rule, specify the rule's identifier for the RuleIdentifier key. The maximum number of organization config rules that AWS Config supports is 150. Specify either OrganizationCustomRuleMetadata or OrganizationManagedRuleMetadata.
*/
putOrganizationConfigRule(params: ConfigService.Types.PutOrganizationConfigRuleRequest, callback?: (err: AWSError, data: ConfigService.Types.PutOrganizationConfigRuleResponse) => void): Request<ConfigService.Types.PutOrganizationConfigRuleResponse, AWSError>;
/**
* Adds or updates organization config rule for your entire organization evaluating whether your AWS resources comply with your desired configurations. Only a master account can create or update an organization config rule. This API enables organization service access through the EnableAWSServiceAccess action and creates a service linked role AWSServiceRoleForConfigMultiAccountSetup in the master account of your organization. The service linked role is created only when the role does not exist in the master account. AWS Config verifies the existence of role with GetRole action. You can use this action to create both custom AWS Config rules and AWS managed Config rules. If you are adding a new custom AWS Config rule, you must first create AWS Lambda function in the master account that the rule invokes to evaluate your resources. When you use the PutOrganizationConfigRule action to add the rule to AWS Config, you must specify the Amazon Resource Name (ARN) that AWS Lambda assigns to the function. If you are adding an AWS managed Config rule, specify the rule's identifier for the RuleIdentifier key. The maximum number of organization config rules that AWS Config supports is 150. Specify either OrganizationCustomRuleMetadata or OrganizationManagedRuleMetadata.
*/
putOrganizationConfigRule(callback?: (err: AWSError, data: ConfigService.Types.PutOrganizationConfigRuleResponse) => void): Request<ConfigService.Types.PutOrganizationConfigRuleResponse, AWSError>;
/**
* Adds or updates the remediation configuration with a specific AWS Config rule with the selected target or action. The API creates the RemediationConfiguration object for the AWS Config rule. The AWS Config rule must already exist for you to add a remediation configuration. The target (SSM document) must exist and have permissions to use the target.
*/
putRemediationConfigurations(params: ConfigService.Types.PutRemediationConfigurationsRequest, callback?: (err: AWSError, data: ConfigService.Types.PutRemediationConfigurationsResponse) => void): Request<ConfigService.Types.PutRemediationConfigurationsResponse, AWSError>;
/**
* Adds or updates the remediation configuration with a specific AWS Config rule with the selected target or action. The API creates the RemediationConfiguration object for the AWS Config rule. The AWS Config rule must already exist for you to add a remediation configuration. The target (SSM document) must exist and have permissions to use the target.
*/
putRemediationConfigurations(callback?: (err: AWSError, data: ConfigService.Types.PutRemediationConfigurationsResponse) => void): Request<ConfigService.Types.PutRemediationConfigurationsResponse, AWSError>;
/**
* A remediation exception is when a specific resource is no longer considered for auto-remediation. This API adds a new exception or updates an exisiting exception for a specific resource with a specific AWS Config rule.
*/
putRemediationExceptions(params: ConfigService.Types.PutRemediationExceptionsRequest, callback?: (err: AWSError, data: ConfigService.Types.PutRemediationExceptionsResponse) => void): Request<ConfigService.Types.PutRemediationExceptionsResponse, AWSError>;
/**
* A remediation exception is when a specific resource is no longer considered for auto-remediation. This API adds a new exception or updates an exisiting exception for a specific resource with a specific AWS Config rule.
*/
putRemediationExceptions(callback?: (err: AWSError, data: ConfigService.Types.PutRemediationExceptionsResponse) => void): Request<ConfigService.Types.PutRemediationExceptionsResponse, AWSError>;
/**
* Creates and updates the retention configuration with details about retention period (number of days) that AWS Config stores your historical information. The API creates the RetentionConfiguration object and names the object as default. When you have a RetentionConfiguration object named default, calling the API modifies the default object. Currently, AWS Config supports only one retention configuration per region in your account.
*/
putRetentionConfiguration(params: ConfigService.Types.PutRetentionConfigurationRequest, callback?: (err: AWSError, data: ConfigService.Types.PutRetentionConfigurationResponse) => void): Request<ConfigService.Types.PutRetentionConfigurationResponse, AWSError>;
/**
* Creates and updates the retention configuration with details about retention period (number of days) that AWS Config stores your historical information. The API creates the RetentionConfiguration object and names the object as default. When you have a RetentionConfiguration object named default, calling the API modifies the default object. Currently, AWS Config supports only one retention configuration per region in your account.
*/
putRetentionConfiguration(callback?: (err: AWSError, data: ConfigService.Types.PutRetentionConfigurationResponse) => void): Request<ConfigService.Types.PutRetentionConfigurationResponse, AWSError>;
/**
* Accepts a structured query language (SQL) SELECT command, performs the corresponding search, and returns resource configurations matching the properties. For more information about query components, see the Query Components section in the AWS Config Developer Guide.
*/
selectResourceConfig(params: ConfigService.Types.SelectResourceConfigRequest, callback?: (err: AWSError, data: ConfigService.Types.SelectResourceConfigResponse) => void): Request<ConfigService.Types.SelectResourceConfigResponse, AWSError>;
/**
* Accepts a structured query language (SQL) SELECT command, performs the corresponding search, and returns resource configurations matching the properties. For more information about query components, see the Query Components section in the AWS Config Developer Guide.
*/
selectResourceConfig(callback?: (err: AWSError, data: ConfigService.Types.SelectResourceConfigResponse) => void): Request<ConfigService.Types.SelectResourceConfigResponse, AWSError>;
/**
* Runs an on-demand evaluation for the specified AWS Config rules against the last known configuration state of the resources. Use StartConfigRulesEvaluation when you want to test that a rule you updated is working as expected. StartConfigRulesEvaluation does not re-record the latest configuration state for your resources. It re-runs an evaluation against the last known state of your resources. You can specify up to 25 AWS Config rules per request. An existing StartConfigRulesEvaluation call for the specified rules must complete before you can call the API again. If you chose to have AWS Config stream to an Amazon SNS topic, you will receive a ConfigRuleEvaluationStarted notification when the evaluation starts. You don't need to call the StartConfigRulesEvaluation API to run an evaluation for a new rule. When you create a rule, AWS Config evaluates your resources against the rule automatically. The StartConfigRulesEvaluation API is useful if you want to run on-demand evaluations, such as the following example: You have a custom rule that evaluates your IAM resources every 24 hours. You update your Lambda function to add additional conditions to your rule. Instead of waiting for the next periodic evaluation, you call the StartConfigRulesEvaluation API. AWS Config invokes your Lambda function and evaluates your IAM resources. Your custom rule will still run periodic evaluations every 24 hours.
*/
startConfigRulesEvaluation(params: ConfigService.Types.StartConfigRulesEvaluationRequest, callback?: (err: AWSError, data: ConfigService.Types.StartConfigRulesEvaluationResponse) => void): Request<ConfigService.Types.StartConfigRulesEvaluationResponse, AWSError>;
/**
* Runs an on-demand evaluation for the specified AWS Config rules against the last known configuration state of the resources. Use StartConfigRulesEvaluation when you want to test that a rule you updated is working as expected. StartConfigRulesEvaluation does not re-record the latest configuration state for your resources. It re-runs an evaluation against the last known state of your resources. You can specify up to 25 AWS Config rules per request. An existing StartConfigRulesEvaluation call for the specified rules must complete before you can call the API again. If you chose to have AWS Config stream to an Amazon SNS topic, you will receive a ConfigRuleEvaluationStarted notification when the evaluation starts. You don't need to call the StartConfigRulesEvaluation API to run an evaluation for a new rule. When you create a rule, AWS Config evaluates your resources against the rule automatically. The StartConfigRulesEvaluation API is useful if you want to run on-demand evaluations, such as the following example: You have a custom rule that evaluates your IAM resources every 24 hours. You update your Lambda function to add additional conditions to your rule. Instead of waiting for the next periodic evaluation, you call the StartConfigRulesEvaluation API. AWS Config invokes your Lambda function and evaluates your IAM resources. Your custom rule will still run periodic evaluations every 24 hours.
*/
startConfigRulesEvaluation(callback?: (err: AWSError, data: ConfigService.Types.StartConfigRulesEvaluationResponse) => void): Request<ConfigService.Types.StartConfigRulesEvaluationResponse, AWSError>;
/**
* Starts recording configurations of the AWS resources you have selected to record in your AWS account. You must have created at least one delivery channel to successfully start the configuration recorder.
*/
startConfigurationRecorder(params: ConfigService.Types.StartConfigurationRecorderRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
/**
* Starts recording configurations of the AWS resources you have selected to record in your AWS account. You must have created at least one delivery channel to successfully start the configuration recorder.
*/
startConfigurationRecorder(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
/**
* Runs an on-demand remediation for the specified AWS Config rules against the last known remediation configuration. It runs an execution against the current state of your resources. Remediation execution is asynchronous. You can specify up to 100 resource keys per request. An existing StartRemediationExecution call for the specified resource keys must complete before you can call the API again.
*/
startRemediationExecution(params: ConfigService.Types.StartRemediationExecutionRequest, callback?: (err: AWSError, data: ConfigService.Types.StartRemediationExecutionResponse) => void): Request<ConfigService.Types.StartRemediationExecutionResponse, AWSError>;
/**
* Runs an on-demand remediation for the specified AWS Config rules against the last known remediation configuration. It runs an execution against the current state of your resources. Remediation execution is asynchronous. You can specify up to 100 resource keys per request. An existing StartRemediationExecution call for the specified resource keys must complete before you can call the API again.
*/
startRemediationExecution(callback?: (err: AWSError, data: ConfigService.Types.StartRemediationExecutionResponse) => void): Request<ConfigService.Types.StartRemediationExecutionResponse, AWSError>;
/**
* Stops recording configurations of the AWS resources you have selected to record in your AWS account.
*/
stopConfigurationRecorder(params: ConfigService.Types.StopConfigurationRecorderRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
/**
* Stops recording configurations of the AWS resources you have selected to record in your AWS account.
*/
stopConfigurationRecorder(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
/**
* Associates the specified tags to a resource with the specified resourceArn. If existing tags on a resource are not specified in the request parameters, they are not changed. When a resource is deleted, the tags associated with that resource are deleted as well.
*/
tagResource(params: ConfigService.Types.TagResourceRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
/**
* Associates the specified tags to a resource with the specified resourceArn. If existing tags on a resource are not specified in the request parameters, they are not changed. When a resource is deleted, the tags associated with that resource are deleted as well.
*/
tagResource(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
/**
* Deletes specified tags from a resource.
*/
untagResource(params: ConfigService.Types.UntagResourceRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
/**
* Deletes specified tags from a resource.
*/
untagResource(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
}
declare namespace ConfigService {
export type ARN = string;
export interface AccountAggregationSource {
/**
* The 12-digit account ID of the account being aggregated.
*/
AccountIds: AccountAggregationSourceAccountList;
/**
* If true, aggregate existing AWS Config regions and future regions.
*/
AllAwsRegions?: Boolean;
/**
* The source regions being aggregated.
*/
AwsRegions?: AggregatorRegionList;
}
export type AccountAggregationSourceAccountList = AccountId[];
export type AccountAggregationSourceList = AccountAggregationSource[];
export type AccountId = string;
export interface AggregateComplianceByConfigRule {
/**
* The name of the AWS Config rule.
*/
ConfigRuleName?: ConfigRuleName;
/**
* Indicates whether an AWS resource or AWS Config rule is compliant and provides the number of contributors that affect the compliance.
*/
Compliance?: Compliance;
/**
* The 12-digit account ID of the source account.
*/
AccountId?: AccountId;
/**
* The source region from where the data is aggregated.
*/
AwsRegion?: AwsRegion;
}
export type AggregateComplianceByConfigRuleList = AggregateComplianceByConfigRule[];
export interface AggregateComplianceCount {
/**
* The 12-digit account ID or region based on the GroupByKey value.
*/
GroupName?: StringWithCharLimit256;
/**
* The number of compliant and noncompliant AWS Config rules.
*/
ComplianceSummary?: ComplianceSummary;
}
export type AggregateComplianceCountList = AggregateComplianceCount[];
export interface AggregateEvaluationResult {
/**
* Uniquely identifies the evaluation result.
*/
EvaluationResultIdentifier?: EvaluationResultIdentifier;
/**
* The resource compliance status. For the AggregationEvaluationResult data type, AWS Config supports only the COMPLIANT and NON_COMPLIANT. AWS Config does not support the NOT_APPLICABLE and INSUFFICIENT_DATA value.
*/
ComplianceType?: ComplianceType;
/**
* The time when AWS Config recorded the aggregate evaluation result.
*/
ResultRecordedTime?: _Date;
/**
* The time when the AWS Config rule evaluated the AWS resource.
*/
ConfigRuleInvokedTime?: _Date;
/**
* Supplementary information about how the agrregate evaluation determined the compliance.
*/
Annotation?: StringWithCharLimit256;
/**
* The 12-digit account ID of the source account.
*/
AccountId?: AccountId;
/**
* The source region from where the data is aggregated.
*/
AwsRegion?: AwsRegion;
}
export type AggregateEvaluationResultList = AggregateEvaluationResult[];
export interface AggregateResourceIdentifier {
/**
* The 12-digit account ID of the source account.
*/
SourceAccountId: AccountId;
/**
* The source region where data is aggregated.
*/
SourceRegion: AwsRegion;
/**
* The ID of the AWS resource.
*/
ResourceId: ResourceId;
/**
* The type of the AWS resource.
*/
ResourceType: ResourceType;
/**
* The name of the AWS resource.
*/
ResourceName?: ResourceName;
}
export interface AggregatedSourceStatus {
/**
* The source account ID or an organization.
*/
SourceId?: String;
/**
* The source account or an organization.
*/
SourceType?: AggregatedSourceType;
/**
* The region authorized to collect aggregated data.
*/
AwsRegion?: AwsRegion;
/**
* Filters the last updated status type. Valid value FAILED indicates errors while moving data. Valid value SUCCEEDED indicates the data was successfully moved. Valid value OUTDATED indicates the data is not the most recent.
*/
LastUpdateStatus?: AggregatedSourceStatusType;
/**
* The time of the last update.
*/
LastUpdateTime?: _Date;
/**
* The error code that AWS Config returned when the source account aggregation last failed.
*/
LastErrorCode?: String;
/**
* The message indicating that the source account aggregation failed due to an error.
*/
LastErrorMessage?: String;
}
export type AggregatedSourceStatusList = AggregatedSourceStatus[];
export type AggregatedSourceStatusType = "FAILED"|"SUCCEEDED"|"OUTDATED"|string;
export type AggregatedSourceStatusTypeList = AggregatedSourceStatusType[];
export type AggregatedSourceType = "ACCOUNT"|"ORGANIZATION"|string;
export interface AggregationAuthorization {
/**
* The Amazon Resource Name (ARN) of the aggregation object.
*/
AggregationAuthorizationArn?: String;
/**
* The 12-digit account ID of the account authorized to aggregate data.
*/
AuthorizedAccountId?: AccountId;
/**
* The region authorized to collect aggregated data.
*/
AuthorizedAwsRegion?: AwsRegion;
/**
* The time stamp when the aggregation authorization was created.
*/
CreationTime?: _Date;
}
export type AggregationAuthorizationList = AggregationAuthorization[];
export type AggregatorRegionList = String[];
export type AllSupported = boolean;
export type AmazonResourceName = string;
export type AutoRemediationAttemptSeconds = number;
export type AutoRemediationAttempts = number;
export type AvailabilityZone = string;
export type AwsRegion = string;
export interface BaseConfigurationItem {
/**
* The version number of the resource configuration.
*/
version?: Version;
/**
* The 12-digit AWS account ID associated with the resource.
*/
accountId?: AccountId;
/**
* The time when the configuration recording was initiated.
*/
configurationItemCaptureTime?: ConfigurationItemCaptureTime;
/**
* The configuration item status.
*/
configurationItemStatus?: ConfigurationItemStatus;
/**
* An identifier that indicates the ordering of the configuration items of a resource.
*/
configurationStateId?: ConfigurationStateId;
/**
* The Amazon Resource Name (ARN) of the resource.
*/
arn?: ARN;
/**
* The type of AWS resource.
*/
resourceType?: ResourceType;
/**
* The ID of the resource (for example., sg-xxxxxx).
*/
resourceId?: ResourceId;
/**
* The custom name of the resource, if available.
*/
resourceName?: ResourceName;
/**
* The region where the resource resides.
*/
awsRegion?: AwsRegion;
/**
* The Availability Zone associated with the resource.
*/
availabilityZone?: AvailabilityZone;
/**
* The time stamp when the resource was created.
*/
resourceCreationTime?: ResourceCreationTime;
/**
* The description of the resource configuration.
*/
configuration?: Configuration;
/**
* Configuration attributes that AWS Config returns for certain resource types to supplement the information returned for the configuration parameter.
*/
supplementaryConfiguration?: SupplementaryConfiguration;
}
export type BaseConfigurationItems = BaseConfigurationItem[];
export type BaseResourceId = string;
export interface BatchGetAggregateResourceConfigRequest {
/**
* The name of the configuration aggregator.
*/
ConfigurationAggregatorName: ConfigurationAggregatorName;
/**
* A list of aggregate ResourceIdentifiers objects.
*/
ResourceIdentifiers: ResourceIdentifiersList;
}
export interface BatchGetAggregateResourceConfigResponse {
/**
* A list that contains the current configuration of one or more resources.
*/
BaseConfigurationItems?: BaseConfigurationItems;
/**
* A list of resource identifiers that were not processed with current scope. The list is empty if all the resources are processed.
*/
UnprocessedResourceIdentifiers?: UnprocessedResourceIdentifierList;
}
export interface BatchGetResourceConfigRequest {
/**
* A list of resource keys to be processed with the current request. Each element in the list consists of the resource type and resource ID.
*/
resourceKeys: ResourceKeys;
}
export interface BatchGetResourceConfigResponse {
/**
* A list that contains the current configuration of one or more resources.
*/
baseConfigurationItems?: BaseConfigurationItems;
/**
* A list of resource keys that were not processed with the current response. The unprocessesResourceKeys value is in the same form as ResourceKeys, so the value can be directly provided to a subsequent BatchGetResourceConfig operation. If there are no unprocessed resource keys, the response contains an empty unprocessedResourceKeys list.
*/
unprocessedResourceKeys?: ResourceKeys;
}
export type Boolean = boolean;
export type ChannelName = string;
export type ChronologicalOrder = "Reverse"|"Forward"|string;
export interface Compliance {
/**
* Indicates whether an AWS resource or AWS Config rule is compliant. A resource is compliant if it complies with all of the AWS Config rules that evaluate it. A resource is noncompliant if it does not comply with one or more of these rules. A rule is compliant if all of the resources that the rule evaluates comply with it. A rule is noncompliant if any of these resources do not comply. AWS Config returns the INSUFFICIENT_DATA value when no evaluation results are available for the AWS resource or AWS Config rule. For the Compliance data type, AWS Config supports only COMPLIANT, NON_COMPLIANT, and INSUFFICIENT_DATA values. AWS Config does not support the NOT_APPLICABLE value for the Compliance data type.
*/
ComplianceType?: ComplianceType;
/**
* The number of AWS resources or AWS Config rules that cause a result of NON_COMPLIANT, up to a maximum number.
*/
ComplianceContributorCount?: ComplianceContributorCount;
}
export interface ComplianceByConfigRule {
/**
* The name of the AWS Config rule.
*/
ConfigRuleName?: StringWithCharLimit64;
/**
* Indicates whether the AWS Config rule is compliant.
*/
Compliance?: Compliance;
}
export type ComplianceByConfigRules = ComplianceByConfigRule[];
export interface ComplianceByResource {
/**
* The type of the AWS resource that was evaluated.
*/
ResourceType?: StringWithCharLimit256;
/**
* The ID of the AWS resource that was evaluated.
*/
ResourceId?: BaseResourceId;
/**
* Indicates whether the AWS resource complies with all of the AWS Config rules that evaluated it.
*/
Compliance?: Compliance;
}
export type ComplianceByResources = ComplianceByResource[];
export interface ComplianceContributorCount {
/**
* The number of AWS resources or AWS Config rules responsible for the current compliance of the item.
*/
CappedCount?: Integer;
/**
* Indicates whether the maximum count is reached.
*/
CapExceeded?: Boolean;
}
export type ComplianceResourceTypes = StringWithCharLimit256[];
export type ComplianceSummariesByResourceType = ComplianceSummaryByResourceType[];
export interface ComplianceSummary {
/**
* The number of AWS Config rules or AWS resources that are compliant, up to a maximum of 25 for rules and 100 for resources.
*/
CompliantResourceCount?: ComplianceContributorCount;
/**
* The number of AWS Config rules or AWS resources that are noncompliant, up to a maximum of 25 for rules and 100 for resources.
*/
NonCompliantResourceCount?: ComplianceContributorCount;
/**
* The time that AWS Config created the compliance summary.
*/
ComplianceSummaryTimestamp?: _Date;
}
export interface ComplianceSummaryByResourceType {
/**
* The type of AWS resource.
*/
ResourceType?: StringWithCharLimit256;
/**
* The number of AWS resources that are compliant or noncompliant, up to a maximum of 100 for each.
*/
ComplianceSummary?: ComplianceSummary;
}
export type ComplianceType = "COMPLIANT"|"NON_COMPLIANT"|"NOT_APPLICABLE"|"INSUFFICIENT_DATA"|string;
export type ComplianceTypes = ComplianceType[];
export interface ConfigExportDeliveryInfo {
/**
* Status of the last attempted delivery.
*/
lastStatus?: DeliveryStatus;
/**
* The error code from the last attempted delivery.
*/
lastErrorCode?: String;
/**
* The error message from the last attempted delivery.
*/
lastErrorMessage?: String;
/**
* The time of the last attempted delivery.
*/
lastAttemptTime?: _Date;
/**
* The time of the last successful delivery.
*/
lastSuccessfulTime?: _Date;
/**
* The time that the next delivery occurs.
*/
nextDeliveryTime?: _Date;
}
export interface ConfigRule {
/**
* The name that you assign to the AWS Config rule. The name is required if you are adding a new rule.
*/
ConfigRuleName?: StringWithCharLimit64;
/**
* The Amazon Resource Name (ARN) of the AWS Config rule.
*/
ConfigRuleArn?: String;
/**
* The ID of the AWS Config rule.
*/
ConfigRuleId?: String;
/**
* The description that you provide for the AWS Config rule.
*/
Description?: EmptiableStringWithCharLimit256;
/**
* Defines which resources can trigger an evaluation for the rule. The scope can include one or more resource types, a combination of one resource type and one resource ID, or a combination of a tag key and value. Specify a scope to constrain the resources that can trigger an evaluation for the rule. If you do not specify a scope, evaluations are triggered when any resource in the recording group changes.
*/
Scope?: Scope;
/**
* Provides the rule owner (AWS or customer), the rule identifier, and the notifications that cause the function to evaluate your AWS resources.
*/
Source: Source;
/**
* A string, in JSON format, that is passed to the AWS Config rule Lambda function.
*/
InputParameters?: StringWithCharLimit1024;
/**
* The maximum frequency with which AWS Config runs evaluations for a rule. You can specify a value for MaximumExecutionFrequency when: You are using an AWS managed rule that is triggered at a periodic frequency. Your custom rule is triggered when AWS Config delivers the configuration snapshot. For more information, see ConfigSnapshotDeliveryProperties. By default, rules with a periodic trigger are evaluated every 24 hours. To change the frequency, specify a valid value for the MaximumExecutionFrequency parameter.
*/
MaximumExecutionFrequency?: MaximumExecutionFrequency;
/**
* Indicates whether the AWS Config rule is active or is currently being deleted by AWS Config. It can also indicate the evaluation status for the AWS Config rule. AWS Config sets the state of the rule to EVALUATING temporarily after you use the StartConfigRulesEvaluation request to evaluate your resources against the AWS Config rule. AWS Config sets the state of the rule to DELETING_RESULTS temporarily after you use the DeleteEvaluationResults request to delete the current evaluation results for the AWS Config rule. AWS Config temporarily sets the state of a rule to DELETING after you use the DeleteConfigRule request to delete the rule. After AWS Config deletes the rule, the rule and all of its evaluations are erased and are no longer available.
*/
ConfigRuleState?: ConfigRuleState;
/**
* Service principal name of the service that created the rule. The field is populated only if the service linked rule is created by a service. The field is empty if you create your own rule.
*/
CreatedBy?: StringWithCharLimit256;
}
export interface ConfigRuleComplianceFilters {
/**
* The name of the AWS Config rule.
*/
ConfigRuleName?: ConfigRuleName;
/**
* The rule compliance status. For the ConfigRuleComplianceFilters data type, AWS Config supports only COMPLIANT and NON_COMPLIANT. AWS Config does not support the NOT_APPLICABLE and the INSUFFICIENT_DATA values.
*/
ComplianceType?: ComplianceType;
/**
* The 12-digit account ID of the source account.
*/
AccountId?: AccountId;
/**
* The source region where the data is aggregated.
*/
AwsRegion?: AwsRegion;
}
export interface ConfigRuleComplianceSummaryFilters {
/**
* The 12-digit account ID of the source account.
*/
AccountId?: AccountId;
/**
* The source region where the data is aggregated.
*/
AwsRegion?: AwsRegion;
}
export type ConfigRuleComplianceSummaryGroupKey = "ACCOUNT_ID"|"AWS_REGION"|string;
export interface ConfigRuleEvaluationStatus {
/**
* The name of the AWS Config rule.
*/
ConfigRuleName?: StringWithCharLimit64;
/**
* The Amazon Resource Name (ARN) of the AWS Config rule.
*/
ConfigRuleArn?: String;
/**
* The ID of the AWS Config rule.
*/
ConfigRuleId?: String;
/**
* The time that AWS Config last successfully invoked the AWS Config rule to evaluate your AWS resources.
*/
LastSuccessfulInvocationTime?: _Date;
/**
* The time that AWS Config last failed to invoke the AWS Config rule to evaluate your AWS resources.
*/
LastFailedInvocationTime?: _Date;
/**
* The time that AWS Config last successfully evaluated your AWS resources against the rule.
*/
LastSuccessfulEvaluationTime?: _Date;
/**
* The time that AWS Config last failed to evaluate your AWS resources against the rule.
*/
LastFailedEvaluationTime?: _Date;
/**
* The time that you first activated the AWS Config rule.
*/
FirstActivatedTime?: _Date;
/**
* The error code that AWS Config returned when the rule last failed.
*/
LastErrorCode?: String;
/**
* The error message that AWS Config returned when the rule last failed.
*/
LastErrorMessage?: String;
/**
* Indicates whether AWS Config has evaluated your resources against the rule at least once. true - AWS Config has evaluated your AWS resources against the rule at least once. false - AWS Config has not once finished evaluating your AWS resources against the rule.
*/
FirstEvaluationStarted?: Boolean;
}
export type ConfigRuleEvaluationStatusList = ConfigRuleEvaluationStatus[];
export type ConfigRuleName = string;
export type ConfigRuleNames = ConfigRuleName[];
export type ConfigRuleState = "ACTIVE"|"DELETING"|"DELETING_RESULTS"|"EVALUATING"|string;
export type ConfigRules = ConfigRule[];
export interface ConfigSnapshotDeliveryProperties {
/**
* The frequency with which AWS Config delivers configuration snapshots.
*/
deliveryFrequency?: MaximumExecutionFrequency;
}
export interface ConfigStreamDeliveryInfo {
/**
* Status of the last attempted delivery. Note Providing an SNS topic on a DeliveryChannel for AWS Config is optional. If the SNS delivery is turned off, the last status will be Not_Applicable.
*/
lastStatus?: DeliveryStatus;
/**
* The error code from the last attempted delivery.
*/
lastErrorCode?: String;
/**
* The error message from the last attempted delivery.
*/
lastErrorMessage?: String;
/**
* The time from the last status change.
*/
lastStatusChangeTime?: _Date;
}
export type Configuration = string;
export interface ConfigurationAggregator {
/**
* The name of the aggregator.
*/
ConfigurationAggregatorName?: ConfigurationAggregatorName;
/**
* The Amazon Resource Name (ARN) of the aggregator.
*/
ConfigurationAggregatorArn?: ConfigurationAggregatorArn;
/**
* Provides a list of source accounts and regions to be aggregated.
*/
AccountAggregationSources?: AccountAggregationSourceList;
/**
* Provides an organization and list of regions to be aggregated.
*/
OrganizationAggregationSource?: OrganizationAggregationSource;
/**
* The time stamp when the configuration aggregator was created.
*/
CreationTime?: _Date;
/**
* The time of the last update.
*/
LastUpdatedTime?: _Date;
}
export type ConfigurationAggregatorArn = string;
export type ConfigurationAggregatorList = ConfigurationAggregator[];
export type ConfigurationAggregatorName = string;
export type ConfigurationAggregatorNameList = ConfigurationAggregatorName[];
export interface ConfigurationItem {
/**
* The version number of the resource configuration.
*/
version?: Version;
/**
* The 12-digit AWS account ID associated with the resource.
*/
accountId?: AccountId;
/**
* The time when the configuration recording was initiated.
*/
configurationItemCaptureTime?: ConfigurationItemCaptureTime;
/**
* The configuration item status.
*/
configurationItemStatus?: ConfigurationItemStatus;
/**
* An identifier that indicates the ordering of the configuration items of a resource.
*/
configurationStateId?: ConfigurationStateId;
/**
* Unique MD5 hash that represents the configuration item's state. You can use MD5 hash to compare the states of two or more configuration items that are associated with the same resource.
*/
configurationItemMD5Hash?: ConfigurationItemMD5Hash;
/**
* accoun
*/
arn?: ARN;
/**
* The type of AWS resource.
*/
resourceType?: ResourceType;
/**
* The ID of the resource (for example, sg-xxxxxx).
*/
resourceId?: ResourceId;
/**
* The custom name of the resource, if available.
*/
resourceName?: ResourceName;
/**
* The region where the resource resides.
*/
awsRegion?: AwsRegion;
/**
* The Availability Zone associated with the resource.
*/
availabilityZone?: AvailabilityZone;
/**
* The time stamp when the resource was created.
*/
resourceCreationTime?: ResourceCreationTime;
/**
* A mapping of key value tags associated with the resource.
*/
tags?: Tags;
/**
* A list of CloudTrail event IDs. A populated field indicates that the current configuration was initiated by the events recorded in the CloudTrail log. For more information about CloudTrail, see What Is AWS CloudTrail. An empty field indicates that the current configuration was not initiated by any event.
*/
relatedEvents?: RelatedEventList;
/**
* A list of related AWS resources.
*/
relationships?: RelationshipList;
/**
* The description of the resource configuration.
*/
configuration?: Configuration;
/**
* Configuration attributes that AWS Config returns for certain resource types to supplement the information returned for the configuration parameter.
*/
supplementaryConfiguration?: SupplementaryConfiguration;
}
export type ConfigurationItemCaptureTime = Date;
export type ConfigurationItemList = ConfigurationItem[];
export type ConfigurationItemMD5Hash = string;
export type ConfigurationItemStatus = "OK"|"ResourceDiscovered"|"ResourceNotRecorded"|"ResourceDeleted"|"ResourceDeletedNotRecorded"|string;
export interface ConfigurationRecorder {
/**
* The name of the recorder. By default, AWS Config automatically assigns the name "default" when creating the configuration recorder. You cannot change the assigned name.
*/
name?: RecorderName;
/**
* Amazon Resource Name (ARN) of the IAM role used to describe the AWS resources associated with the account.
*/
roleARN?: String;
/**
* Specifies the types of AWS resources for which AWS Config records configuration changes.
*/
recordingGroup?: RecordingGroup;
}
export type ConfigurationRecorderList = ConfigurationRecorder[];
export type ConfigurationRecorderNameList = RecorderName[];
export interface ConfigurationRecorderStatus {
/**
* The name of the configuration recorder.
*/
name?: String;
/**
* The time the recorder was last started.
*/
lastStartTime?: _Date;
/**
* The time the recorder was last stopped.
*/
lastStopTime?: _Date;
/**
* Specifies whether or not the recorder is currently recording.
*/
recording?: Boolean;
/**
* The last (previous) status of the recorder.
*/
lastStatus?: RecorderStatus;
/**
* The error code indicating that the recording failed.
*/
lastErrorCode?: String;
/**
* The message indicating that the recording failed due to an error.
*/
lastErrorMessage?: String;
/**
* The time when the status was last changed.
*/
lastStatusChangeTime?: _Date;
}
export type ConfigurationRecorderStatusList = ConfigurationRecorderStatus[];
export type ConfigurationStateId = string;
export type CosmosPageLimit = number;
export type _Date = Date;
export interface DeleteAggregationAuthorizationRequest {
/**
* The 12-digit account ID of the account authorized to aggregate data.
*/
AuthorizedAccountId: AccountId;
/**
* The region authorized to collect aggregated data.
*/
AuthorizedAwsRegion: AwsRegion;
}
export interface DeleteConfigRuleRequest {
/**
* The name of the AWS Config rule that you want to delete.
*/
ConfigRuleName: StringWithCharLimit64;
}
export interface DeleteConfigurationAggregatorRequest {
/**
* The name of the configuration aggregator.
*/
ConfigurationAggregatorName: ConfigurationAggregatorName;
}
export interface DeleteConfigurationRecorderRequest {
/**
* The name of the configuration recorder to be deleted. You can retrieve the name of your configuration recorder by using the DescribeConfigurationRecorders action.
*/
ConfigurationRecorderName: RecorderName;
}
export interface DeleteDeliveryChannelRequest {
/**
* The name of the delivery channel to delete.
*/
DeliveryChannelName: ChannelName;
}
export interface DeleteEvaluationResultsRequest {
/**
* The name of the AWS Config rule for which you want to delete the evaluation results.
*/
ConfigRuleName: StringWithCharLimit64;
}
export interface DeleteEvaluationResultsResponse {
}
export interface DeleteOrganizationConfigRuleRequest {
/**
* The name of organization config rule that you want to delete.
*/
OrganizationConfigRuleName: OrganizationConfigRuleName;
}
export interface DeletePendingAggregationRequestRequest {
/**
* The 12-digit account ID of the account requesting to aggregate data.
*/
RequesterAccountId: AccountId;
/**
* The region requesting to aggregate data.
*/
RequesterAwsRegion: AwsRegion;
}
export interface DeleteRemediationConfigurationRequest {
/**
* The name of the AWS Config rule for which you want to delete remediation configuration.
*/
ConfigRuleName: ConfigRuleName;
/**
* The type of a resource.
*/
ResourceType?: String;
}
export interface DeleteRemediationConfigurationResponse {
}
export interface DeleteRemediationExceptionsRequest {
/**
* The name of the AWS Config rule for which you want to delete remediation exception configuration.
*/
ConfigRuleName: ConfigRuleName;
/**
* An exception list of resource exception keys to be processed with the current request. AWS Config adds exception for each resource key. For example, AWS Config adds 3 exceptions for 3 resource keys.
*/
ResourceKeys: RemediationExceptionResourceKeys;
}
export interface DeleteRemediationExceptionsResponse {
/**
* Returns a list of failed delete remediation exceptions batch objects. Each object in the batch consists of a list of failed items and failure messages.
*/
FailedBatches?: FailedDeleteRemediationExceptionsBatches;
}
export interface DeleteRetentionConfigurationRequest {
/**
* The name of the retention configuration to delete.
*/
RetentionConfigurationName: RetentionConfigurationName;
}
export interface DeliverConfigSnapshotRequest {
/**
* The name of the delivery channel through which the snapshot is delivered.
*/
deliveryChannelName: ChannelName;
}
export interface DeliverConfigSnapshotResponse {
/**
* The ID of the snapshot that is being created.
*/
configSnapshotId?: String;
}
export interface DeliveryChannel {
/**
* The name of the delivery channel. By default, AWS Config assigns the name "default" when creating the delivery channel. To change the delivery channel name, you must use the DeleteDeliveryChannel action to delete your current delivery channel, and then you must use the PutDeliveryChannel command to create a delivery channel that has the desired name.
*/
name?: ChannelName;
/**
* The name of the Amazon S3 bucket to which AWS Config delivers configuration snapshots and configuration history files. If you specify a bucket that belongs to another AWS account, that bucket must have policies that grant access permissions to AWS Config. For more information, see Permissions for the Amazon S3 Bucket in the AWS Config Developer Guide.
*/
s3BucketName?: String;
/**
* The prefix for the specified Amazon S3 bucket.
*/
s3KeyPrefix?: String;
/**
* The Amazon Resource Name (ARN) of the Amazon SNS topic to which AWS Config sends notifications about configuration changes. If you choose a topic from another account, the topic must have policies that grant access permissions to AWS Config. For more information, see Permissions for the Amazon SNS Topic in the AWS Config Developer Guide.
*/
snsTopicARN?: String;
/**
* The options for how often AWS Config delivers configuration snapshots to the Amazon S3 bucket.
*/
configSnapshotDeliveryProperties?: ConfigSnapshotDeliveryProperties;
}
export type DeliveryChannelList = DeliveryChannel[];
export type DeliveryChannelNameList = ChannelName[];
export interface DeliveryChannelStatus {
/**
* The name of the delivery channel.
*/
name?: String;
/**
* A list containing the status of the delivery of the snapshot to the specified Amazon S3 bucket.
*/
configSnapshotDeliveryInfo?: ConfigExportDeliveryInfo;
/**
* A list that contains the status of the delivery of the configuration history to the specified Amazon S3 bucket.
*/
configHistoryDeliveryInfo?: ConfigExportDeliveryInfo;
/**
* A list containing the status of the delivery of the configuration stream notification to the specified Amazon SNS topic.
*/
configStreamDeliveryInfo?: ConfigStreamDeliveryInfo;
}
export type DeliveryChannelStatusList = DeliveryChannelStatus[];
export type DeliveryStatus = "Success"|"Failure"|"Not_Applicable"|string;
export interface DescribeAggregateComplianceByConfigRulesRequest {
/**
* The name of the configuration aggregator.
*/
ConfigurationAggregatorName: ConfigurationAggregatorName;
/**
* Filters the results by ConfigRuleComplianceFilters object.
*/
Filters?: ConfigRuleComplianceFilters;
/**
* The maximum number of evaluation results returned on each page. The default is maximum. If you specify 0, AWS Config uses the default.
*/
Limit?: GroupByAPILimit;
/**
* The nextToken string returned on a previous page that you use to get the next page of results in a paginated response.
*/
NextToken?: NextToken;
}
export interface DescribeAggregateComplianceByConfigRulesResponse {
/**
* Returns a list of AggregateComplianceByConfigRule object.
*/
AggregateComplianceByConfigRules?: AggregateComplianceByConfigRuleList;
/**
* The nextToken string returned on a previous page that you use to get the next page of results in a paginated response.
*/
NextToken?: NextToken;
}
export interface DescribeAggregationAuthorizationsRequest {
/**
* The maximum number of AggregationAuthorizations returned on each page. The default is maximum. If you specify 0, AWS Config uses the default.
*/
Limit?: Limit;
/**
* The nextToken string returned on a previous page that you use to get the next page of results in a paginated response.
*/
NextToken?: String;
}
export interface DescribeAggregationAuthorizationsResponse {
/**
* Returns a list of authorizations granted to various aggregator accounts and regions.
*/
AggregationAuthorizations?: AggregationAuthorizationList;
/**
* The nextToken string returned on a previous page that you use to get the next page of results in a paginated response.
*/
NextToken?: String;
}
export interface DescribeComplianceByConfigRuleRequest {
/**
* Specify one or more AWS Config rule names to filter the results by rule.
*/
ConfigRuleNames?: ConfigRuleNames;
/**
* Filters the results by compliance. The allowed values are COMPLIANT and NON_COMPLIANT.
*/
ComplianceTypes?: ComplianceTypes;
/**
* The nextToken string returned on a previous page that you use to get the next page of results in a paginated response.
*/
NextToken?: String;
}
export interface DescribeComplianceByConfigRuleResponse {
/**
* Indicates whether each of the specified AWS Config rules is compliant.
*/
ComplianceByConfigRules?: ComplianceByConfigRules;
/**
* The string that you use in a subsequent request to get the next page of results in a paginated response.
*/
NextToken?: String;
}
export interface DescribeComplianceByResourceRequest {
/**
* The types of AWS resources for which you want compliance information (for example, AWS::EC2::Instance). For this action, you can specify that the resource type is an AWS account by specifying AWS::::Account.
*/
ResourceType?: StringWithCharLimit256;
/**
* The ID of the AWS resource for which you want compliance information. You can specify only one resource ID. If you specify a resource ID, you must also specify a type for ResourceType.
*/
ResourceId?: BaseResourceId;
/**
* Filters the results by compliance. The allowed values are COMPLIANT, NON_COMPLIANT, and INSUFFICIENT_DATA.
*/
ComplianceTypes?: ComplianceTypes;
/**
* The maximum number of evaluation results returned on each page. The default is 10. You cannot specify a number greater than 100. If you specify 0, AWS Config uses the default.
*/
Limit?: Limit;
/**
* The nextToken string returned on a previous page that you use to get the next page of results in a paginated response.
*/
NextToken?: NextToken;
}
export interface DescribeComplianceByResourceResponse {
/**
* Indicates whether the specified AWS resource complies with all of the AWS Config rules that evaluate it.
*/
ComplianceByResources?: ComplianceByResources;
/**
* The string that you use in a subsequent request to get the next page of results in a paginated response.
*/
NextToken?: NextToken;
}
export interface DescribeConfigRuleEvaluationStatusRequest {
/**
* The name of the AWS managed Config rules for which you want status information. If you do not specify any names, AWS Config returns status information for all AWS managed Config rules that you use.
*/
ConfigRuleNames?: ConfigRuleNames;
/**
* The nextToken string returned on a previous page that you use to get the next page of results in a paginated response.
*/
NextToken?: String;
/**
* The number of rule evaluation results that you want returned. This parameter is required if the rule limit for your account is more than the default of 150 rules. For information about requesting a rule limit increase, see AWS Config Limits in the AWS General Reference Guide.
*/
Limit?: RuleLimit;
}
export interface DescribeConfigRuleEvaluationStatusResponse {
/**
* Status information about your AWS managed Config rules.
*/
ConfigRulesEvaluationStatus?: ConfigRuleEvaluationStatusList;
/**
* The string that you use in a subsequent request to get the next page of results in a paginated response.
*/
NextToken?: String;
}
export interface DescribeConfigRulesRequest {
/**
* The names of the AWS Config rules for which you want details. If you do not specify any names, AWS Config returns details for all your rules.
*/
ConfigRuleNames?: ConfigRuleNames;
/**
* The nextToken string returned on a previous page that you use to get the next page of results in a paginated response.
*/
NextToken?: String;
}
export interface DescribeConfigRulesResponse {
/**
* The details about your AWS Config rules.
*/
ConfigRules?: ConfigRules;
/**
* The string that you use in a subsequent request to get the next page of results in a paginated response.
*/
NextToken?: String;
}
export interface DescribeConfigurationAggregatorSourcesStatusRequest {
/**
* The name of the configuration aggregator.
*/
ConfigurationAggregatorName: ConfigurationAggregatorName;
/**
* Filters the status type. Valid value FAILED indicates errors while moving data. Valid value SUCCEEDED indicates the data was successfully moved. Valid value OUTDATED indicates the data is not the most recent.
*/
UpdateStatus?: AggregatedSourceStatusTypeList;
/**
* The nextToken string returned on a previous page that you use to get the next page of results in a paginated response.
*/
NextToken?: String;
/**
* The maximum number of AggregatorSourceStatus returned on each page. The default is maximum. If you specify 0, AWS Config uses the default.
*/
Limit?: Limit;
}
export interface DescribeConfigurationAggregatorSourcesStatusResponse {
/**
* Returns an AggregatedSourceStatus object.
*/
AggregatedSourceStatusList?: AggregatedSourceStatusList;
/**
* The nextToken string returned on a previous page that you use to get the next page of results in a paginated response.
*/
NextToken?: String;
}
export interface DescribeConfigurationAggregatorsRequest {
/**
* The name of the configuration aggregators.
*/
ConfigurationAggregatorNames?: ConfigurationAggregatorNameList;
/**
* The nextToken string returned on a previous page that you use to get the next page of results in a paginated response.
*/
NextToken?: String;
/**
* The maximum number of configuration aggregators returned on each page. The default is maximum. If you specify 0, AWS Config uses the default.
*/
Limit?: Limit;
}
export interface DescribeConfigurationAggregatorsResponse {
/**
* Returns a ConfigurationAggregators object.
*/
ConfigurationAggregators?: ConfigurationAggregatorList;
/**
* The nextToken string returned on a previous page that you use to get the next page of results in a paginated response.
*/
NextToken?: String;
}
export interface DescribeConfigurationRecorderStatusRequest {
/**
* The name(s) of the configuration recorder. If the name is not specified, the action returns the current status of all the configuration recorders associated with the account.
*/
ConfigurationRecorderNames?: ConfigurationRecorderNameList;
}
export interface DescribeConfigurationRecorderStatusResponse {
/**
* A list that contains status of the specified recorders.
*/
ConfigurationRecordersStatus?: ConfigurationRecorderStatusList;
}
export interface DescribeConfigurationRecordersRequest {
/**
* A list of configuration recorder names.
*/
ConfigurationRecorderNames?: ConfigurationRecorderNameList;
}
export interface DescribeConfigurationRecordersResponse {
/**
* A list that contains the descriptions of the specified configuration recorders.
*/
ConfigurationRecorders?: ConfigurationRecorderList;
}
export interface DescribeDeliveryChannelStatusRequest {
/**
* A list of delivery channel names.
*/
DeliveryChannelNames?: DeliveryChannelNameList;
}
export interface DescribeDeliveryChannelStatusResponse {
/**
* A list that contains the status of a specified delivery channel.
*/
DeliveryChannelsStatus?: DeliveryChannelStatusList;
}
export interface DescribeDeliveryChannelsRequest {
/**
* A list of delivery channel names.
*/
DeliveryChannelNames?: DeliveryChannelNameList;
}
export interface DescribeDeliveryChannelsResponse {
/**
* A list that contains the descriptions of the specified delivery channel.
*/
DeliveryChannels?: DeliveryChannelList;
}
export interface DescribeOrganizationConfigRuleStatusesRequest {
/**
* The names of organization config rules for which you want status details. If you do not specify any names, AWS Config returns details for all your organization AWS Confg rules.
*/
OrganizationConfigRuleNames?: OrganizationConfigRuleNames;
/**
* The maximum number of OrganizationConfigRuleStatuses returned on each page. If you do no specify a number, AWS Config uses the default. The default is 100.
*/
Limit?: CosmosPageLimit;
/**
* The nextToken string returned on a previous page that you use to get the next page of results in a paginated response.
*/
NextToken?: String;
}
export interface DescribeOrganizationConfigRuleStatusesResponse {
/**
* A list of OrganizationConfigRuleStatus objects.
*/
OrganizationConfigRuleStatuses?: OrganizationConfigRuleStatuses;
/**
* The nextToken string returned on a previous page that you use to get the next page of results in a paginated response.
*/
NextToken?: String;
}
export interface DescribeOrganizationConfigRulesRequest {
/**
* The names of organization config rules for which you want details. If you do not specify any names, AWS Config returns details for all your organization config rules.
*/
OrganizationConfigRuleNames?: OrganizationConfigRuleNames;
/**
* The maximum number of organization config rules returned on each page. If you do no specify a number, AWS Config uses the default. The default is 100.
*/
Limit?: CosmosPageLimit;
/**
* The nextToken string returned on a previous page that you use to get the next page of results in a paginated response.
*/
NextToken?: String;
}
export interface DescribeOrganizationConfigRulesResponse {
/**
* Retuns a list OrganizationConfigRule objects.
*/
OrganizationConfigRules?: OrganizationConfigRules;
/**
* The nextToken string returned on a previous page that you use to get the next page of results in a paginated response.
*/
NextToken?: String;
}
export type DescribePendingAggregationRequestsLimit = number;
export interface DescribePendingAggregationRequestsRequest {
/**
* The maximum number of evaluation results returned on each page. The default is maximum. If you specify 0, AWS Config uses the default.
*/
Limit?: DescribePendingAggregationRequestsLimit;
/**
* The nextToken string returned on a previous page that you use to get the next page of results in a paginated response.
*/
NextToken?: String;
}
export interface DescribePendingAggregationRequestsResponse {
/**
* Returns a PendingAggregationRequests object.
*/
PendingAggregationRequests?: PendingAggregationRequestList;
/**
* The nextToken string returned on a previous page that you use to get the next page of results in a paginated response.
*/
NextToken?: String;
}
export interface DescribeRemediationConfigurationsRequest {
/**
* A list of AWS Config rule names of remediation configurations for which you want details.
*/
ConfigRuleNames: ConfigRuleNames;
}
export interface DescribeRemediationConfigurationsResponse {
/**
* Returns a remediation configuration object.
*/
RemediationConfigurations?: RemediationConfigurations;
}
export interface DescribeRemediationExceptionsRequest {
/**
* The name of the AWS Config rule.
*/
ConfigRuleName: ConfigRuleName;
/**
* An exception list of resource exception keys to be processed with the current request. AWS Config adds exception for each resource key. For example, AWS Config adds 3 exceptions for 3 resource keys.
*/
ResourceKeys?: RemediationExceptionResourceKeys;
/**
* The maximum number of RemediationExceptionResourceKey returned on each page. The default is 25. If you specify 0, AWS Config uses the default.
*/
Limit?: Limit;
/**
* The nextToken string returned in a previous request that you use to request the next page of results in a paginated response.
*/
NextToken?: String;
}
export interface DescribeRemediationExceptionsResponse {
/**
* Returns a list of remediation exception objects.
*/
RemediationExceptions?: RemediationExceptions;
/**
* The nextToken string returned in a previous request that you use to request the next page of results in a paginated response.
*/
NextToken?: String;
}
export interface DescribeRemediationExecutionStatusRequest {
/**
* A list of AWS Config rule names.
*/
ConfigRuleName: ConfigRuleName;
/**
* A list of resource keys to be processed with the current request. Each element in the list consists of the resource type and resource ID.
*/
ResourceKeys?: ResourceKeys;
/**
* The maximum number of RemediationExecutionStatuses returned on each page. The default is maximum. If you specify 0, AWS Config uses the default.
*/
Limit?: Limit;
/**
* The nextToken string returned on a previous page that you use to get the next page of results in a paginated response.
*/
NextToken?: String;
}
export interface DescribeRemediationExecutionStatusResponse {
/**
* Returns a list of remediation execution statuses objects.
*/
RemediationExecutionStatuses?: RemediationExecutionStatuses;
/**
* The nextToken string returned on a previous page that you use to get the next page of results in a paginated response.
*/
NextToken?: String;
}
export interface DescribeRetentionConfigurationsRequest {
/**
* A list of names of retention configurations for which you want details. If you do not specify a name, AWS Config returns details for all the retention configurations for that account. Currently, AWS Config supports only one retention configuration per region in your account.
*/
RetentionConfigurationNames?: RetentionConfigurationNameList;
/**
* The nextToken string returned on a previous page that you use to get the next page of results in a paginated response.
*/
NextToken?: NextToken;
}
export interface DescribeRetentionConfigurationsResponse {
/**
* Returns a retention configuration object.
*/
RetentionConfigurations?: RetentionConfigurationList;
/**
* The nextToken string returned on a previous page that you use to get the next page of results in a paginated response.
*/
NextToken?: NextToken;
}
export type DiscoveredResourceIdentifierList = AggregateResourceIdentifier[];
export type EarlierTime = Date;
export type EmptiableStringWithCharLimit256 = string;
export interface Evaluation {
/**
* The type of AWS resource that was evaluated.
*/
ComplianceResourceType: StringWithCharLimit256;
/**
* The ID of the AWS resource that was evaluated.
*/
ComplianceResourceId: BaseResourceId;
/**
* Indicates whether the AWS resource complies with the AWS Config rule that it was evaluated against. For the Evaluation data type, AWS Config supports only the COMPLIANT, NON_COMPLIANT, and NOT_APPLICABLE values. AWS Config does not support the INSUFFICIENT_DATA value for this data type. Similarly, AWS Config does not accept INSUFFICIENT_DATA as the value for ComplianceType from a PutEvaluations request. For example, an AWS Lambda function for a custom AWS Config rule cannot pass an INSUFFICIENT_DATA value to AWS Config.
*/
ComplianceType: ComplianceType;
/**
* Supplementary information about how the evaluation determined the compliance.
*/
Annotation?: StringWithCharLimit256;
/**
* The time of the event in AWS Config that triggered the evaluation. For event-based evaluations, the time indicates when AWS Config created the configuration item that triggered the evaluation. For periodic evaluations, the time indicates when AWS Config triggered the evaluation at the frequency that you specified (for example, every 24 hours).
*/
OrderingTimestamp: OrderingTimestamp;
}
export interface EvaluationResult {
/**
* Uniquely identifies the evaluation result.
*/
EvaluationResultIdentifier?: EvaluationResultIdentifier;
/**
* Indicates whether the AWS resource complies with the AWS Config rule that evaluated it. For the EvaluationResult data type, AWS Config supports only the COMPLIANT, NON_COMPLIANT, and NOT_APPLICABLE values. AWS Config does not support the INSUFFICIENT_DATA value for the EvaluationResult data type.
*/
ComplianceType?: ComplianceType;
/**
* The time when AWS Config recorded the evaluation result.
*/
ResultRecordedTime?: _Date;
/**
* The time when the AWS Config rule evaluated the AWS resource.
*/
ConfigRuleInvokedTime?: _Date;
/**
* Supplementary information about how the evaluation determined the compliance.
*/
Annotation?: StringWithCharLimit256;
/**
* An encrypted token that associates an evaluation with an AWS Config rule. The token identifies the rule, the AWS resource being evaluated, and the event that triggered the evaluation.
*/
ResultToken?: String;
}
export interface EvaluationResultIdentifier {
/**
* Identifies an AWS Config rule used to evaluate an AWS resource, and provides the type and ID of the evaluated resource.
*/
EvaluationResultQualifier?: EvaluationResultQualifier;
/**
* The time of the event that triggered the evaluation of your AWS resources. The time can indicate when AWS Config delivered a configuration item change notification, or it can indicate when AWS Config delivered the configuration snapshot, depending on which event triggered the evaluation.
*/
OrderingTimestamp?: _Date;
}
export interface EvaluationResultQualifier {
/**
* The name of the AWS Config rule that was used in the evaluation.
*/
ConfigRuleName?: StringWithCharLimit64;
/**
* The type of AWS resource that was evaluated.
*/
ResourceType?: StringWithCharLimit256;
/**
* The ID of the evaluated AWS resource.
*/
ResourceId?: BaseResourceId;
}
export type EvaluationResults = EvaluationResult[];
export type Evaluations = Evaluation[];
export type EventSource = "aws.config"|string;
export type ExcludedAccounts = AccountId[];
export interface ExecutionControls {
/**
* A SsmControls object.
*/
SsmControls?: SsmControls;
}
export type Expression = string;
export interface FailedDeleteRemediationExceptionsBatch {
/**
* Returns a failure message for delete remediation exception. For example, AWS Config creates an exception due to an internal error.
*/
FailureMessage?: String;
/**
* Returns remediation exception resource key object of the failed items.
*/
FailedItems?: RemediationExceptionResourceKeys;
}
export type FailedDeleteRemediationExceptionsBatches = FailedDeleteRemediationExceptionsBatch[];
export interface FailedRemediationBatch {
/**
* Returns a failure message. For example, the resource is already compliant.
*/
FailureMessage?: String;
/**
* Returns remediation configurations of the failed items.
*/
FailedItems?: RemediationConfigurations;
}
export type FailedRemediationBatches = FailedRemediationBatch[];
export interface FailedRemediationExceptionBatch {
/**
* Returns a failure message. For example, the auto-remediation has failed.
*/
FailureMessage?: String;
/**
* Returns remediation exception resource key object of the failed items.
*/
FailedItems?: RemediationExceptions;
}
export type FailedRemediationExceptionBatches = FailedRemediationExceptionBatch[];
export interface FieldInfo {
/**
* Name of the field.
*/
Name?: FieldName;
}
export type FieldInfoList = FieldInfo[];
export type FieldName = string;
export interface GetAggregateComplianceDetailsByConfigRuleRequest {
/**
* The name of the configuration aggregator.
*/
ConfigurationAggregatorName: ConfigurationAggregatorName;
/**
* The name of the AWS Config rule for which you want compliance information.
*/
ConfigRuleName: ConfigRuleName;
/**
* The 12-digit account ID of the source account.
*/
AccountId: AccountId;
/**
* The source region from where the data is aggregated.
*/
AwsRegion: AwsRegion;
/**
* The resource compliance status. For the GetAggregateComplianceDetailsByConfigRuleRequest data type, AWS Config supports only the COMPLIANT and NON_COMPLIANT. AWS Config does not support the NOT_APPLICABLE and INSUFFICIENT_DATA values.
*/
ComplianceType?: ComplianceType;
/**
* The maximum number of evaluation results returned on each page. The default is 50. You cannot specify a number greater than 100. If you specify 0, AWS Config uses the default.
*/
Limit?: Limit;
/**
* The nextToken string returned on a previous page that you use to get the next page of results in a paginated response.
*/
NextToken?: NextToken;
}
export interface GetAggregateComplianceDetailsByConfigRuleResponse {
/**
* Returns an AggregateEvaluationResults object.
*/
AggregateEvaluationResults?: AggregateEvaluationResultList;
/**
* The nextToken string returned on a previous page that you use to get the next page of results in a paginated response.
*/
NextToken?: NextToken;
}
export interface GetAggregateConfigRuleComplianceSummaryRequest {
/**
* The name of the configuration aggregator.
*/
ConfigurationAggregatorName: ConfigurationAggregatorName;
/**
* Filters the results based on the ConfigRuleComplianceSummaryFilters object.
*/
Filters?: ConfigRuleComplianceSummaryFilters;
/**
* Groups the result based on ACCOUNT_ID or AWS_REGION.
*/
GroupByKey?: ConfigRuleComplianceSummaryGroupKey;
/**
* The maximum number of evaluation results returned on each page. The default is 1000. You cannot specify a number greater than 1000. If you specify 0, AWS Config uses the default.
*/
Limit?: GroupByAPILimit;
/**
* The nextToken string returned on a previous page that you use to get the next page of results in a paginated response.
*/
NextToken?: NextToken;
}
export interface GetAggregateConfigRuleComplianceSummaryResponse {
/**
* Groups the result based on ACCOUNT_ID or AWS_REGION.
*/
GroupByKey?: StringWithCharLimit256;
/**
* Returns a list of AggregateComplianceCounts object.
*/
AggregateComplianceCounts?: AggregateComplianceCountList;
/**
* The nextToken string returned on a previous page that you use to get the next page of results in a paginated response.
*/
NextToken?: NextToken;
}
export interface GetAggregateDiscoveredResourceCountsRequest {
/**
* The name of the configuration aggregator.
*/
ConfigurationAggregatorName: ConfigurationAggregatorName;
/**
* Filters the results based on the ResourceCountFilters object.
*/
Filters?: ResourceCountFilters;
/**
* The key to group the resource counts.
*/
GroupByKey?: ResourceCountGroupKey;
/**
* The maximum number of GroupedResourceCount objects returned on each page. The default is 1000. You cannot specify a number greater than 1000. If you specify 0, AWS Config uses the default.
*/
Limit?: GroupByAPILimit;
/**
* The nextToken string returned on a previous page that you use to get the next page of results in a paginated response.
*/
NextToken?: NextToken;
}
export interface GetAggregateDiscoveredResourceCountsResponse {
/**
* The total number of resources that are present in an aggregator with the filters that you provide.
*/
TotalDiscoveredResources: Long;
/**
* The key passed into the request object. If GroupByKey is not provided, the result will be empty.
*/
GroupByKey?: StringWithCharLimit256;
/**
* Returns a list of GroupedResourceCount objects.
*/
GroupedResourceCounts?: GroupedResourceCountList;
/**
* The nextToken string returned on a previous page that you use to get the next page of results in a paginated response.
*/
NextToken?: NextToken;
}
export interface GetAggregateResourceConfigRequest {
/**
* The name of the configuration aggregator.
*/
ConfigurationAggregatorName: ConfigurationAggregatorName;
/**
* An object that identifies aggregate resource.
*/
ResourceIdentifier: AggregateResourceIdentifier;
}
export interface GetAggregateResourceConfigResponse {
/**
* Returns a ConfigurationItem object.
*/
ConfigurationItem?: ConfigurationItem;
}
export interface GetComplianceDetailsByConfigRuleRequest {
/**
* The name of the AWS Config rule for which you want compliance information.
*/
ConfigRuleName: StringWithCharLimit64;
/**
* Filters the results by compliance. The allowed values are COMPLIANT, NON_COMPLIANT, and NOT_APPLICABLE.
*/
ComplianceTypes?: ComplianceTypes;
/**
* The maximum number of evaluation results returned on each page. The default is 10. You cannot specify a number greater than 100. If you specify 0, AWS Config uses the default.
*/
Limit?: Limit;
/**
* The nextToken string returned on a previous page that you use to get the next page of results in a paginated response.
*/
NextToken?: NextToken;
}
export interface GetComplianceDetailsByConfigRuleResponse {
/**
* Indicates whether the AWS resource complies with the specified AWS Config rule.
*/
EvaluationResults?: EvaluationResults;
/**
* The string that you use in a subsequent request to get the next page of results in a paginated response.
*/
NextToken?: NextToken;
}
export interface GetComplianceDetailsByResourceRequest {
/**
* The type of the AWS resource for which you want compliance information.
*/
ResourceType: StringWithCharLimit256;
/**
* The ID of the AWS resource for which you want compliance information.
*/
ResourceId: BaseResourceId;
/**
* Filters the results by compliance. The allowed values are COMPLIANT, NON_COMPLIANT, and NOT_APPLICABLE.
*/
ComplianceTypes?: ComplianceTypes;
/**
* The nextToken string returned on a previous page that you use to get the next page of results in a paginated response.
*/
NextToken?: String;
}
export interface GetComplianceDetailsByResourceResponse {
/**
* Indicates whether the specified AWS resource complies each AWS Config rule.
*/
EvaluationResults?: EvaluationResults;
/**
* The string that you use in a subsequent request to get the next page of results in a paginated response.
*/
NextToken?: String;
}
export interface GetComplianceSummaryByConfigRuleResponse {
/**
* The number of AWS Config rules that are compliant and the number that are noncompliant, up to a maximum of 25 for each.
*/
ComplianceSummary?: ComplianceSummary;
}
export interface GetComplianceSummaryByResourceTypeRequest {
/**
* Specify one or more resource types to get the number of resources that are compliant and the number that are noncompliant for each resource type. For this request, you can specify an AWS resource type such as AWS::EC2::Instance. You can specify that the resource type is an AWS account by specifying AWS::::Account.
*/
ResourceTypes?: ResourceTypes;
}
export interface GetComplianceSummaryByResourceTypeResponse {
/**
* The number of resources that are compliant and the number that are noncompliant. If one or more resource types were provided with the request, the numbers are returned for each resource type. The maximum number returned is 100.
*/
ComplianceSummariesByResourceType?: ComplianceSummariesByResourceType;
}
export interface GetDiscoveredResourceCountsRequest {
/**
* The comma-separated list that specifies the resource types that you want AWS Config to return (for example, "AWS::EC2::Instance", "AWS::IAM::User"). If a value for resourceTypes is not specified, AWS Config returns all resource types that AWS Config is recording in the region for your account. If the configuration recorder is turned off, AWS Config returns an empty list of ResourceCount objects. If the configuration recorder is not recording a specific resource type (for example, S3 buckets), that resource type is not returned in the list of ResourceCount objects.
*/
resourceTypes?: ResourceTypes;
/**
* The maximum number of ResourceCount objects returned on each page. The default is 100. You cannot specify a number greater than 100. If you specify 0, AWS Config uses the default.
*/
limit?: Limit;
/**
* The nextToken string returned on a previous page that you use to get the next page of results in a paginated response.
*/
nextToken?: NextToken;
}
export interface GetDiscoveredResourceCountsResponse {
/**
* The total number of resources that AWS Config is recording in the region for your account. If you specify resource types in the request, AWS Config returns only the total number of resources for those resource types. Example AWS Config is recording three resource types in the US East (Ohio) Region for your account: 25 EC2 instances, 20 IAM users, and 15 S3 buckets, for a total of 60 resources. You make a call to the GetDiscoveredResourceCounts action and specify the resource type, "AWS::EC2::Instances", in the request. AWS Config returns 25 for totalDiscoveredResources.
*/
totalDiscoveredResources?: Long;
/**
* The list of ResourceCount objects. Each object is listed in descending order by the number of resources.
*/
resourceCounts?: ResourceCounts;
/**
* The string that you use in a subsequent request to get the next page of results in a paginated response.
*/
nextToken?: NextToken;
}
export interface GetOrganizationConfigRuleDetailedStatusRequest {
/**
* The name of organization config rule for which you want status details for member accounts.
*/
OrganizationConfigRuleName: OrganizationConfigRuleName;
/**
* A StatusDetailFilters object.
*/
Filters?: StatusDetailFilters;
/**
* The maximum number of OrganizationConfigRuleDetailedStatus returned on each page. If you do not specify a number, AWS Config uses the default. The default is 100.
*/
Limit?: CosmosPageLimit;
/**
* The nextToken string returned on a previous page that you use to get the next page of results in a paginated response.
*/
NextToken?: String;
}
export interface GetOrganizationConfigRuleDetailedStatusResponse {
/**
* A list of MemberAccountStatus objects.
*/
OrganizationConfigRuleDetailedStatus?: OrganizationConfigRuleDetailedStatus;
/**
* The nextToken string returned on a previous page that you use to get the next page of results in a paginated response.
*/
NextToken?: String;
}
export interface GetResourceConfigHistoryRequest {
/**
* The resource type.
*/
resourceType: ResourceType;
/**
* The ID of the resource (for example., sg-xxxxxx).
*/
resourceId: ResourceId;
/**
* The time stamp that indicates a later time. If not specified, current time is taken.
*/
laterTime?: LaterTime;
/**
* The time stamp that indicates an earlier time. If not specified, the action returns paginated results that contain configuration items that start when the first configuration item was recorded.
*/
earlierTime?: EarlierTime;
/**
* The chronological order for configuration items listed. By default, the results are listed in reverse chronological order.
*/
chronologicalOrder?: ChronologicalOrder;
/**
* The maximum number of configuration items returned on each page. The default is 10. You cannot specify a number greater than 100. If you specify 0, AWS Config uses the default.
*/
limit?: Limit;
/**
* The nextToken string returned on a previous page that you use to get the next page of results in a paginated response.
*/
nextToken?: NextToken;
}
export interface GetResourceConfigHistoryResponse {
/**
* A list that contains the configuration history of one or more resources.
*/
configurationItems?: ConfigurationItemList;
/**
* The string that you use in a subsequent request to get the next page of results in a paginated response.
*/
nextToken?: NextToken;
}
export type GroupByAPILimit = number;
export interface GroupedResourceCount {
/**
* The name of the group that can be region, account ID, or resource type. For example, region1, region2 if the region was chosen as GroupByKey.
*/
GroupName: StringWithCharLimit256;
/**
* The number of resources in the group.
*/
ResourceCount: Long;
}
export type GroupedResourceCountList = GroupedResourceCount[];
export type IncludeGlobalResourceTypes = boolean;
export type Integer = number;
export type LaterTime = Date;
export type Limit = number;
export interface ListAggregateDiscoveredResourcesRequest {
/**
* The name of the configuration aggregator.
*/
ConfigurationAggregatorName: ConfigurationAggregatorName;
/**
* The type of resources that you want AWS Config to list in the response.
*/
ResourceType: ResourceType;
/**
* Filters the results based on the ResourceFilters object.
*/
Filters?: ResourceFilters;
/**
* The maximum number of resource identifiers returned on each page. The default is 100. You cannot specify a number greater than 100. If you specify 0, AWS Config uses the default.
*/
Limit?: Limit;
/**
* The nextToken string returned on a previous page that you use to get the next page of results in a paginated response.
*/
NextToken?: NextToken;
}
export interface ListAggregateDiscoveredResourcesResponse {
/**
* Returns a list of ResourceIdentifiers objects.
*/
ResourceIdentifiers?: DiscoveredResourceIdentifierList;
/**
* The nextToken string returned on a previous page that you use to get the next page of results in a paginated response.
*/
NextToken?: NextToken;
}
export interface ListDiscoveredResourcesRequest {
/**
* The type of resources that you want AWS Config to list in the response.
*/
resourceType: ResourceType;
/**
* The IDs of only those resources that you want AWS Config to list in the response. If you do not specify this parameter, AWS Config lists all resources of the specified type that it has discovered.
*/
resourceIds?: ResourceIdList;
/**
* The custom name of only those resources that you want AWS Config to list in the response. If you do not specify this parameter, AWS Config lists all resources of the specified type that it has discovered.
*/
resourceName?: ResourceName;
/**
* The maximum number of resource identifiers returned on each page. The default is 100. You cannot specify a number greater than 100. If you specify 0, AWS Config uses the default.
*/
limit?: Limit;
/**
* Specifies whether AWS Config includes deleted resources in the results. By default, deleted resources are not included.
*/
includeDeletedResources?: Boolean;
/**
* The nextToken string returned on a previous page that you use to get the next page of results in a paginated response.
*/
nextToken?: NextToken;
}
export interface ListDiscoveredResourcesResponse {
/**
* The details that identify a resource that is discovered by AWS Config, including the resource type, ID, and (if available) the custom resource name.
*/
resourceIdentifiers?: ResourceIdentifierList;
/**
* The string that you use in a subsequent request to get the next page of results in a paginated response.
*/
nextToken?: NextToken;
}
export interface ListTagsForResourceRequest {
/**
* The Amazon Resource Name (ARN) that identifies the resource for which to list the tags. Currently, the supported resources are ConfigRule, ConfigurationAggregator and AggregatorAuthorization.
*/
ResourceArn: AmazonResourceName;
/**
* The maximum number of tags returned on each page. The limit maximum is 50. You cannot specify a number greater than 50. If you specify 0, AWS Config uses the default.
*/
Limit?: Limit;
/**
* The nextToken string returned on a previous page that you use to get the next page of results in a paginated response.
*/
NextToken?: NextToken;
}
export interface ListTagsForResourceResponse {
/**
* The tags for the resource.
*/
Tags?: TagList;
/**
* The nextToken string returned on a previous page that you use to get the next page of results in a paginated response.
*/
NextToken?: NextToken;
}
export type Long = number;
export type MaximumExecutionFrequency = "One_Hour"|"Three_Hours"|"Six_Hours"|"Twelve_Hours"|"TwentyFour_Hours"|string;
export type MemberAccountRuleStatus = "CREATE_SUCCESSFUL"|"CREATE_IN_PROGRESS"|"CREATE_FAILED"|"UPDATE_SUCCESSFUL"|"UPDATE_FAILED"|"UPDATE_IN_PROGRESS"|"DELETE_SUCCESSFUL"|"DELETE_FAILED"|"DELETE_IN_PROGRESS"|string;
export interface MemberAccountStatus {
/**
* The 12-digit account ID of a member account.
*/
AccountId: AccountId;
/**
* The name of config rule deployed in the member account.
*/
ConfigRuleName: StringWithCharLimit64;
/**
* Indicates deployment status for config rule in the member account. When master account calls PutOrganizationConfigRule action for the first time, config rule status is created in the member account. When master account calls PutOrganizationConfigRule action for the second time, config rule status is updated in the member account. Config rule status is deleted when the master account deletes OrganizationConfigRule and disables service access for config-multiaccountsetup.amazonaws.com. AWS Config sets the state of the rule to: CREATE_SUCCESSFUL when config rule has been created in the member account. CREATE_IN_PROGRESS when config rule is being created in the member account. CREATE_FAILED when config rule creation has failed in the member account. DELETE_FAILED when config rule deletion has failed in the member account. DELETE_IN_PROGRESS when config rule is being deleted in the member account. DELETE_SUCCESSFUL when config rule has been deleted in the member account. UPDATE_SUCCESSFUL when config rule has been updated in the member account. UPDATE_IN_PROGRESS when config rule is being updated in the member account. UPDATE_FAILED when config rule deletion has failed in the member account.
*/
MemberAccountRuleStatus: MemberAccountRuleStatus;
/**
* An error code that is returned when config rule creation or deletion failed in the member account.
*/
ErrorCode?: String;
/**
* An error message indicating that config rule account creation or deletion has failed due to an error in the member account.
*/
ErrorMessage?: String;
/**
* The timestamp of the last status update.
*/
LastUpdateTime?: _Date;
}
export type MessageType = "ConfigurationItemChangeNotification"|"ConfigurationSnapshotDeliveryCompleted"|"ScheduledNotification"|"OversizedConfigurationItemChangeNotification"|string;
export type Name = string;
export type NextToken = string;
export type OrderingTimestamp = Date;
export interface OrganizationAggregationSource {
/**
* ARN of the IAM role used to retrieve AWS Organization details associated with the aggregator account.
*/
RoleArn: String;
/**
* The source regions being aggregated.
*/
AwsRegions?: AggregatorRegionList;
/**
* If true, aggregate existing AWS Config regions and future regions.
*/
AllAwsRegions?: Boolean;
}
export interface OrganizationConfigRule {
/**
* The name that you assign to organization config rule.
*/
OrganizationConfigRuleName: OrganizationConfigRuleName;
/**
* The Amazon Resource Name (ARN) of organization config rule.
*/
OrganizationConfigRuleArn: StringWithCharLimit256;
/**
* An OrganizationManagedRuleMetadata object.
*/
OrganizationManagedRuleMetadata?: OrganizationManagedRuleMetadata;
/**
* An OrganizationCustomRuleMetadata object.
*/
OrganizationCustomRuleMetadata?: OrganizationCustomRuleMetadata;
/**
* A comma-separated list of accounts excluded from organization config rule.
*/
ExcludedAccounts?: ExcludedAccounts;
/**
* The timestamp of the last update.
*/
LastUpdateTime?: _Date;
}
export type OrganizationConfigRuleDetailedStatus = MemberAccountStatus[];
export type OrganizationConfigRuleName = string;
export type OrganizationConfigRuleNames = StringWithCharLimit64[];
export interface OrganizationConfigRuleStatus {
/**
* The name that you assign to organization config rule.
*/
OrganizationConfigRuleName: OrganizationConfigRuleName;
/**
* Indicates deployment status of an organization config rule. When master account calls PutOrganizationConfigRule action for the first time, config rule status is created in all the member accounts. When master account calls PutOrganizationConfigRule action for the second time, config rule status is updated in all the member accounts. Additionally, config rule status is updated when one or more member accounts join or leave an organization. Config rule status is deleted when the master account deletes OrganizationConfigRule in all the member accounts and disables service access for config-multiaccountsetup.amazonaws.com. AWS Config sets the state of the rule to: CREATE_SUCCESSFUL when an organization config rule has been successfully created in all the member accounts. CREATE_IN_PROGRESS when an organization config rule creation is in progress. CREATE_FAILED when an organization config rule creation failed in one or more member accounts within that organization. DELETE_FAILED when an organization config rule deletion failed in one or more member accounts within that organization. DELETE_IN_PROGRESS when an organization config rule deletion is in progress. DELETE_SUCCESSFUL when an organization config rule has been successfully deleted from all the member accounts. UPDATE_SUCCESSFUL when an organization config rule has been successfully updated in all the member accounts. UPDATE_IN_PROGRESS when an organization config rule update is in progress. UPDATE_FAILED when an organization config rule update failed in one or more member accounts within that organization.
*/
OrganizationRuleStatus: OrganizationRuleStatus;
/**
* An error code that is returned when organization config rule creation or deletion has failed.
*/
ErrorCode?: String;
/**
* An error message indicating that organization config rule creation or deletion failed due to an error.
*/
ErrorMessage?: String;
/**
* The timestamp of the last update.
*/
LastUpdateTime?: _Date;
}
export type OrganizationConfigRuleStatuses = OrganizationConfigRuleStatus[];
export type OrganizationConfigRuleTriggerType = "ConfigurationItemChangeNotification"|"OversizedConfigurationItemChangeNotification"|"ScheduledNotification"|string;
export type OrganizationConfigRuleTriggerTypes = OrganizationConfigRuleTriggerType[];
export type OrganizationConfigRules = OrganizationConfigRule[];
export interface OrganizationCustomRuleMetadata {
/**
* The description that you provide for organization config rule.
*/
Description?: StringWithCharLimit256Min0;
/**
* The lambda function ARN.
*/
LambdaFunctionArn: StringWithCharLimit256;
/**
* The type of notification that triggers AWS Config to run an evaluation for a rule. You can specify the following notification types: ConfigurationItemChangeNotification - Triggers an evaluation when AWS Config delivers a configuration item as a result of a resource change. OversizedConfigurationItemChangeNotification - Triggers an evaluation when AWS Config delivers an oversized configuration item. AWS Config may generate this notification type when a resource changes and the notification exceeds the maximum size allowed by Amazon SNS. ScheduledNotification - Triggers a periodic evaluation at the frequency specified for MaximumExecutionFrequency.
*/
OrganizationConfigRuleTriggerTypes: OrganizationConfigRuleTriggerTypes;
/**
* A string, in JSON format, that is passed to organization config rule Lambda function.
*/
InputParameters?: StringWithCharLimit2048;
/**
* The maximum frequency with which AWS Config runs evaluations for a rule. Your custom rule is triggered when AWS Config delivers the configuration snapshot. For more information, see ConfigSnapshotDeliveryProperties. By default, rules with a periodic trigger are evaluated every 24 hours. To change the frequency, specify a valid value for the MaximumExecutionFrequency parameter.
*/
MaximumExecutionFrequency?: MaximumExecutionFrequency;
/**
* The type of the AWS resource that was evaluated.
*/
ResourceTypesScope?: ResourceTypesScope;
/**
* The ID of the AWS resource that was evaluated.
*/
ResourceIdScope?: StringWithCharLimit768;
/**
* One part of a key-value pair that make up a tag. A key is a general label that acts like a category for more specific tag values.
*/
TagKeyScope?: StringWithCharLimit128;
/**
* The optional part of a key-value pair that make up a tag. A value acts as a descriptor within a tag category (key).
*/
TagValueScope?: StringWithCharLimit256;
}
export interface OrganizationManagedRuleMetadata {
/**
* The description that you provide for organization config rule.
*/
Description?: StringWithCharLimit256Min0;
/**
* For organization config managed rules, a predefined identifier from a list. For example, IAM_PASSWORD_POLICY is a managed rule. To reference a managed rule, see Using AWS Managed Config Rules.
*/
RuleIdentifier: StringWithCharLimit256;
/**
* A string, in JSON format, that is passed to organization config rule Lambda function.
*/
InputParameters?: StringWithCharLimit2048;
/**
* The maximum frequency with which AWS Config runs evaluations for a rule. You are using an AWS managed rule that is triggered at a periodic frequency. By default, rules with a periodic trigger are evaluated every 24 hours. To change the frequency, specify a valid value for the MaximumExecutionFrequency parameter.
*/
MaximumExecutionFrequency?: MaximumExecutionFrequency;
/**
* The type of the AWS resource that was evaluated.
*/
ResourceTypesScope?: ResourceTypesScope;
/**
* The ID of the AWS resource that was evaluated.
*/
ResourceIdScope?: StringWithCharLimit768;
/**
* One part of a key-value pair that make up a tag. A key is a general label that acts like a category for more specific tag values.
*/
TagKeyScope?: StringWithCharLimit128;
/**
* The optional part of a key-value pair that make up a tag. A value acts as a descriptor within a tag category (key).
*/
TagValueScope?: StringWithCharLimit256;
}
export type OrganizationRuleStatus = "CREATE_SUCCESSFUL"|"CREATE_IN_PROGRESS"|"CREATE_FAILED"|"UPDATE_SUCCESSFUL"|"UPDATE_FAILED"|"UPDATE_IN_PROGRESS"|"DELETE_SUCCESSFUL"|"DELETE_FAILED"|"DELETE_IN_PROGRESS"|string;
export type Owner = "CUSTOM_LAMBDA"|"AWS"|string;
export interface PendingAggregationRequest {
/**
* The 12-digit account ID of the account requesting to aggregate data.
*/
RequesterAccountId?: AccountId;
/**
* The region requesting to aggregate data.
*/
RequesterAwsRegion?: AwsRegion;
}
export type PendingAggregationRequestList = PendingAggregationRequest[];
export type Percentage = number;
export interface PutAggregationAuthorizationRequest {
/**
* The 12-digit account ID of the account authorized to aggregate data.
*/
AuthorizedAccountId: AccountId;
/**
* The region authorized to collect aggregated data.
*/
AuthorizedAwsRegion: AwsRegion;
/**
* An array of tag object.
*/
Tags?: TagsList;
}
export interface PutAggregationAuthorizationResponse {
/**
* Returns an AggregationAuthorization object.
*/
AggregationAuthorization?: AggregationAuthorization;
}
export interface PutConfigRuleRequest {
/**
* The rule that you want to add to your account.
*/
ConfigRule: ConfigRule;
/**
* An array of tag object.
*/
Tags?: TagsList;
}
export interface PutConfigurationAggregatorRequest {
/**
* The name of the configuration aggregator.
*/
ConfigurationAggregatorName: ConfigurationAggregatorName;
/**
* A list of AccountAggregationSource object.
*/
AccountAggregationSources?: AccountAggregationSourceList;
/**
* An OrganizationAggregationSource object.
*/
OrganizationAggregationSource?: OrganizationAggregationSource;
/**
* An array of tag object.
*/
Tags?: TagsList;
}
export interface PutConfigurationAggregatorResponse {
/**
* Returns a ConfigurationAggregator object.
*/
ConfigurationAggregator?: ConfigurationAggregator;
}
export interface PutConfigurationRecorderRequest {
/**
* The configuration recorder object that records each configuration change made to the resources.
*/
ConfigurationRecorder: ConfigurationRecorder;
}
export interface PutDeliveryChannelRequest {
/**
* The configuration delivery channel object that delivers the configuration information to an Amazon S3 bucket and to an Amazon SNS topic.
*/
DeliveryChannel: DeliveryChannel;
}
export interface PutEvaluationsRequest {
/**
* The assessments that the AWS Lambda function performs. Each evaluation identifies an AWS resource and indicates whether it complies with the AWS Config rule that invokes the AWS Lambda function.
*/
Evaluations?: Evaluations;
/**
* An encrypted token that associates an evaluation with an AWS Config rule. Identifies the rule and the event that triggered the evaluation.
*/
ResultToken: String;
/**
* Use this parameter to specify a test run for PutEvaluations. You can verify whether your AWS Lambda function will deliver evaluation results to AWS Config. No updates occur to your existing evaluations, and evaluation results are not sent to AWS Config. When TestMode is true, PutEvaluations doesn't require a valid value for the ResultToken parameter, but the value cannot be null.
*/
TestMode?: Boolean;
}
export interface PutEvaluationsResponse {
/**
* Requests that failed because of a client or server error.
*/
FailedEvaluations?: Evaluations;
}
export interface PutOrganizationConfigRuleRequest {
/**
* The name that you assign to an organization config rule.
*/
OrganizationConfigRuleName: OrganizationConfigRuleName;
/**
* An OrganizationManagedRuleMetadata object.
*/
OrganizationManagedRuleMetadata?: OrganizationManagedRuleMetadata;
/**
* An OrganizationCustomRuleMetadata object.
*/
OrganizationCustomRuleMetadata?: OrganizationCustomRuleMetadata;
/**
* A comma-separated list of accounts that you want to exclude from an organization config rule.
*/
ExcludedAccounts?: ExcludedAccounts;
}
export interface PutOrganizationConfigRuleResponse {
/**
* The Amazon Resource Name (ARN) of an organization config rule.
*/
OrganizationConfigRuleArn?: StringWithCharLimit256;
}
export interface PutRemediationConfigurationsRequest {
/**
* A list of remediation configuration objects.
*/
RemediationConfigurations: RemediationConfigurations;
}
export interface PutRemediationConfigurationsResponse {
/**
* Returns a list of failed remediation batch objects.
*/
FailedBatches?: FailedRemediationBatches;
}
export interface PutRemediationExceptionsRequest {
/**
* The name of the AWS Config rule for which you want to create remediation exception.
*/
ConfigRuleName: ConfigRuleName;
/**
* An exception list of resource exception keys to be processed with the current request. AWS Config adds exception for each resource key. For example, AWS Config adds 3 exceptions for 3 resource keys.
*/
ResourceKeys: RemediationExceptionResourceKeys;
/**
* The message contains an explanation of the exception.
*/
Message?: StringWithCharLimit1024;
/**
* The exception is automatically deleted after the expiration date.
*/
ExpirationTime?: _Date;
}
export interface PutRemediationExceptionsResponse {
/**
* Returns a list of failed remediation exceptions batch objects. Each object in the batch consists of a list of failed items and failure messages.
*/
FailedBatches?: FailedRemediationExceptionBatches;
}
export interface PutRetentionConfigurationRequest {
/**
* Number of days AWS Config stores your historical information. Currently, only applicable to the configuration item history.
*/
RetentionPeriodInDays: RetentionPeriodInDays;
}
export interface PutRetentionConfigurationResponse {
/**
* Returns a retention configuration object.
*/
RetentionConfiguration?: RetentionConfiguration;
}
export interface QueryInfo {
/**
* Returns a FieldInfo object.
*/
SelectFields?: FieldInfoList;
}
export type RecorderName = string;
export type RecorderStatus = "Pending"|"Success"|"Failure"|string;
export interface RecordingGroup {
/**
* Specifies whether AWS Config records configuration changes for every supported type of regional resource. If you set this option to true, when AWS Config adds support for a new type of regional resource, it starts recording resources of that type automatically. If you set this option to true, you cannot enumerate a list of resourceTypes.
*/
allSupported?: AllSupported;
/**
* Specifies whether AWS Config includes all supported types of global resources (for example, IAM resources) with the resources that it records. Before you can set this option to true, you must set the allSupported option to true. If you set this option to true, when AWS Config adds support for a new type of global resource, it starts recording resources of that type automatically. The configuration details for any global resource are the same in all regions. To prevent duplicate configuration items, you should consider customizing AWS Config in only one region to record global resources.
*/
includeGlobalResourceTypes?: IncludeGlobalResourceTypes;
/**
* A comma-separated list that specifies the types of AWS resources for which AWS Config records configuration changes (for example, AWS::EC2::Instance or AWS::CloudTrail::Trail). Before you can set this option to true, you must set the allSupported option to false. If you set this option to true, when AWS Config adds support for a new type of resource, it will not record resources of that type unless you manually add that type to your recording group. For a list of valid resourceTypes values, see the resourceType Value column in Supported AWS Resource Types.
*/
resourceTypes?: ResourceTypeList;
}
export type ReevaluateConfigRuleNames = StringWithCharLimit64[];
export type RelatedEvent = string;
export type RelatedEventList = RelatedEvent[];
export interface Relationship {
/**
* The resource type of the related resource.
*/
resourceType?: ResourceType;
/**
* The ID of the related resource (for example, sg-xxxxxx).
*/
resourceId?: ResourceId;
/**
* The custom name of the related resource, if available.
*/
resourceName?: ResourceName;
/**
* The type of relationship with the related resource.
*/
relationshipName?: RelationshipName;
}
export type RelationshipList = Relationship[];
export type RelationshipName = string;
export interface RemediationConfiguration {
/**
* The name of the AWS Config rule.
*/
ConfigRuleName: ConfigRuleName;
/**
* The type of the target. Target executes remediation. For example, SSM document.
*/
TargetType: RemediationTargetType;
/**
* Target ID is the name of the public document.
*/
TargetId: StringWithCharLimit256;
/**
* Version of the target. For example, version of the SSM document.
*/
TargetVersion?: String;
/**
* An object of the RemediationParameterValue.
*/
Parameters?: RemediationParameters;
/**
* The type of a resource.
*/
ResourceType?: String;
/**
* The remediation is triggered automatically.
*/
Automatic?: Boolean;
/**
* An ExecutionControls object.
*/
ExecutionControls?: ExecutionControls;
/**
* The maximum number of failed attempts for auto-remediation. If you do not select a number, the default is 5. For example, if you specify MaximumAutomaticAttempts as 5 with RetryAttemptsSeconds as 50 seconds, AWS Config throws an exception after the 5th failed attempt within 50 seconds.
*/
MaximumAutomaticAttempts?: AutoRemediationAttempts;
/**
* Maximum time in seconds that AWS Config runs auto-remediation. If you do not select a number, the default is 60 seconds. For example, if you specify RetryAttemptsSeconds as 50 seconds and MaximumAutomaticAttempts as 5, AWS Config will run auto-remediations 5 times within 50 seconds before throwing an exception.
*/
RetryAttemptSeconds?: AutoRemediationAttemptSeconds;
/**
* Amazon Resource Name (ARN) of remediation configuration.
*/
Arn?: StringWithCharLimit1024;
/**
* Name of the service that owns the service linked rule, if applicable.
*/
CreatedByService?: StringWithCharLimit1024;
}
export type RemediationConfigurations = RemediationConfiguration[];
export interface RemediationException {
/**
* The name of the AWS Config rule.
*/
ConfigRuleName: ConfigRuleName;
/**
* The type of a resource.
*/
ResourceType: StringWithCharLimit256;
/**
* The ID of the resource (for example., sg-xxxxxx).
*/
ResourceId: StringWithCharLimit1024;
/**
* An explanation of an remediation exception.
*/
Message?: StringWithCharLimit1024;
/**
* The time when the remediation exception will be deleted.
*/
ExpirationTime?: _Date;
}
export interface RemediationExceptionResourceKey {
/**
* The type of a resource.
*/
ResourceType?: StringWithCharLimit256;
/**
* The ID of the resource (for example., sg-xxxxxx).
*/
ResourceId?: StringWithCharLimit1024;
}
export type RemediationExceptionResourceKeys = RemediationExceptionResourceKey[];
export type RemediationExceptions = RemediationException[];
export type RemediationExecutionState = "QUEUED"|"IN_PROGRESS"|"SUCCEEDED"|"FAILED"|string;
export interface RemediationExecutionStatus {
ResourceKey?: ResourceKey;
/**
* ENUM of the values.
*/
State?: RemediationExecutionState;
/**
* Details of every step.
*/
StepDetails?: RemediationExecutionSteps;
/**
* Start time when the remediation was executed.
*/
InvocationTime?: _Date;
/**
* The time when the remediation execution was last updated.
*/
LastUpdatedTime?: _Date;
}
export type RemediationExecutionStatuses = RemediationExecutionStatus[];
export interface RemediationExecutionStep {
/**
* The details of the step.
*/
Name?: String;
/**
* The valid status of the step.
*/
State?: RemediationExecutionStepState;
/**
* An error message if the step was interrupted during execution.
*/
ErrorMessage?: String;
/**
* The time when the step started.
*/
StartTime?: _Date;
/**
* The time when the step stopped.
*/
StopTime?: _Date;
}
export type RemediationExecutionStepState = "SUCCEEDED"|"PENDING"|"FAILED"|string;
export type RemediationExecutionSteps = RemediationExecutionStep[];
export interface RemediationParameterValue {
/**
* The value is dynamic and changes at run-time.
*/
ResourceValue?: ResourceValue;
/**
* The value is static and does not change at run-time.
*/
StaticValue?: StaticValue;
}
export type RemediationParameters = {[key: string]: RemediationParameterValue};
export type RemediationTargetType = "SSM_DOCUMENT"|string;
export interface ResourceCount {
/**
* The resource type (for example, "AWS::EC2::Instance").
*/
resourceType?: ResourceType;
/**
* The number of resources.
*/
count?: Long;
}
export interface ResourceCountFilters {
/**
* The type of the AWS resource.
*/
ResourceType?: ResourceType;
/**
* The 12-digit ID of the account.
*/
AccountId?: AccountId;
/**
* The region where the account is located.
*/
Region?: AwsRegion;
}
export type ResourceCountGroupKey = "RESOURCE_TYPE"|"ACCOUNT_ID"|"AWS_REGION"|string;
export type ResourceCounts = ResourceCount[];
export type ResourceCreationTime = Date;
export type ResourceDeletionTime = Date;
export interface ResourceFilters {
/**
* The 12-digit source account ID.
*/
AccountId?: AccountId;
/**
* The ID of the resource.
*/
ResourceId?: ResourceId;
/**
* The name of the resource.
*/
ResourceName?: ResourceName;
/**
* The source region.
*/
Region?: AwsRegion;
}
export type ResourceId = string;
export type ResourceIdList = ResourceId[];
export interface ResourceIdentifier {
/**
* The type of resource.
*/
resourceType?: ResourceType;
/**
* The ID of the resource (for example, sg-xxxxxx).
*/
resourceId?: ResourceId;
/**
* The custom name of the resource (if available).
*/
resourceName?: ResourceName;
/**
* The time that the resource was deleted.
*/
resourceDeletionTime?: ResourceDeletionTime;
}
export type ResourceIdentifierList = ResourceIdentifier[];
export type ResourceIdentifiersList = AggregateResourceIdentifier[];
export interface ResourceKey {
/**
* The resource type.
*/
resourceType: ResourceType;
/**
* The ID of the resource (for example., sg-xxxxxx).
*/
resourceId: ResourceId;
}
export type ResourceKeys = ResourceKey[];
export type ResourceName = string;
export type ResourceType = "AWS::EC2::CustomerGateway"|"AWS::EC2::EIP"|"AWS::EC2::Host"|"AWS::EC2::Instance"|"AWS::EC2::InternetGateway"|"AWS::EC2::NetworkAcl"|"AWS::EC2::NetworkInterface"|"AWS::EC2::RouteTable"|"AWS::EC2::SecurityGroup"|"AWS::EC2::Subnet"|"AWS::CloudTrail::Trail"|"AWS::EC2::Volume"|"AWS::EC2::VPC"|"AWS::EC2::VPNConnection"|"AWS::EC2::VPNGateway"|"AWS::EC2::RegisteredHAInstance"|"AWS::EC2::NatGateway"|"AWS::EC2::EgressOnlyInternetGateway"|"AWS::EC2::VPCEndpoint"|"AWS::EC2::VPCEndpointService"|"AWS::EC2::FlowLog"|"AWS::EC2::VPCPeeringConnection"|"AWS::IAM::Group"|"AWS::IAM::Policy"|"AWS::IAM::Role"|"AWS::IAM::User"|"AWS::ElasticLoadBalancingV2::LoadBalancer"|"AWS::ACM::Certificate"|"AWS::RDS::DBInstance"|"AWS::RDS::DBParameterGroup"|"AWS::RDS::DBOptionGroup"|"AWS::RDS::DBSubnetGroup"|"AWS::RDS::DBSecurityGroup"|"AWS::RDS::DBSnapshot"|"AWS::RDS::DBCluster"|"AWS::RDS::DBClusterParameterGroup"|"AWS::RDS::DBClusterSnapshot"|"AWS::RDS::EventSubscription"|"AWS::S3::Bucket"|"AWS::S3::AccountPublicAccessBlock"|"AWS::Redshift::Cluster"|"AWS::Redshift::ClusterSnapshot"|"AWS::Redshift::ClusterParameterGroup"|"AWS::Redshift::ClusterSecurityGroup"|"AWS::Redshift::ClusterSubnetGroup"|"AWS::Redshift::EventSubscription"|"AWS::SSM::ManagedInstanceInventory"|"AWS::CloudWatch::Alarm"|"AWS::CloudFormation::Stack"|"AWS::ElasticLoadBalancing::LoadBalancer"|"AWS::AutoScaling::AutoScalingGroup"|"AWS::AutoScaling::LaunchConfiguration"|"AWS::AutoScaling::ScalingPolicy"|"AWS::AutoScaling::ScheduledAction"|"AWS::DynamoDB::Table"|"AWS::CodeBuild::Project"|"AWS::WAF::RateBasedRule"|"AWS::WAF::Rule"|"AWS::WAF::RuleGroup"|"AWS::WAF::WebACL"|"AWS::WAFRegional::RateBasedRule"|"AWS::WAFRegional::Rule"|"AWS::WAFRegional::RuleGroup"|"AWS::WAFRegional::WebACL"|"AWS::CloudFront::Distribution"|"AWS::CloudFront::StreamingDistribution"|"AWS::Lambda::Alias"|"AWS::Lambda::Function"|"AWS::ElasticBeanstalk::Application"|"AWS::ElasticBeanstalk::ApplicationVersion"|"AWS::ElasticBeanstalk::Environment"|"AWS::MobileHub::Project"|"AWS::XRay::EncryptionConfig"|"AWS::SSM::AssociationCompliance"|"AWS::SSM::PatchCompliance"|"AWS::Shield::Protection"|"AWS::ShieldRegional::Protection"|"AWS::Config::ResourceCompliance"|"AWS::LicenseManager::LicenseConfiguration"|"AWS::ApiGateway::DomainName"|"AWS::ApiGateway::Method"|"AWS::ApiGateway::Stage"|"AWS::ApiGateway::RestApi"|"AWS::ApiGatewayV2::DomainName"|"AWS::ApiGatewayV2::Stage"|"AWS::ApiGatewayV2::Api"|"AWS::CodePipeline::Pipeline"|"AWS::ServiceCatalog::CloudFormationProvisionedProduct"|"AWS::ServiceCatalog::CloudFormationProduct"|"AWS::ServiceCatalog::Portfolio"|string;
export type ResourceTypeList = ResourceType[];
export type ResourceTypes = StringWithCharLimit256[];
export type ResourceTypesScope = StringWithCharLimit256[];
export interface ResourceValue {
/**
* The value is a resource ID.
*/
Value: ResourceValueType;
}
export type ResourceValueType = "RESOURCE_ID"|string;
export type Results = String[];
export interface RetentionConfiguration {
/**
* The name of the retention configuration object.
*/
Name: RetentionConfigurationName;
/**
* Number of days AWS Config stores your historical information. Currently, only applicable to the configuration item history.
*/
RetentionPeriodInDays: RetentionPeriodInDays;
}
export type RetentionConfigurationList = RetentionConfiguration[];
export type RetentionConfigurationName = string;
export type RetentionConfigurationNameList = RetentionConfigurationName[];
export type RetentionPeriodInDays = number;
export type RuleLimit = number;
export interface Scope {
/**
* The resource types of only those AWS resources that you want to trigger an evaluation for the rule. You can only specify one type if you also specify a resource ID for ComplianceResourceId.
*/
ComplianceResourceTypes?: ComplianceResourceTypes;
/**
* The tag key that is applied to only those AWS resources that you want to trigger an evaluation for the rule.
*/
TagKey?: StringWithCharLimit128;
/**
* The tag value applied to only those AWS resources that you want to trigger an evaluation for the rule. If you specify a value for TagValue, you must also specify a value for TagKey.
*/
TagValue?: StringWithCharLimit256;
/**
* The ID of the only AWS resource that you want to trigger an evaluation for the rule. If you specify a resource ID, you must specify one resource type for ComplianceResourceTypes.
*/
ComplianceResourceId?: BaseResourceId;
}
export interface SelectResourceConfigRequest {
/**
* The SQL query SELECT command.
*/
Expression: Expression;
/**
* The maximum number of query results returned on each page.
*/
Limit?: Limit;
/**
* The nextToken string returned in a previous request that you use to request the next page of results in a paginated response.
*/
NextToken?: NextToken;
}
export interface SelectResourceConfigResponse {
/**
* Returns the results for the SQL query.
*/
Results?: Results;
/**
* Returns the QueryInfo object.
*/
QueryInfo?: QueryInfo;
/**
* The nextToken string returned in a previous request that you use to request the next page of results in a paginated response.
*/
NextToken?: NextToken;
}
export interface Source {
/**
* Indicates whether AWS or the customer owns and manages the AWS Config rule.
*/
Owner: Owner;
/**
* For AWS Config managed rules, a predefined identifier from a list. For example, IAM_PASSWORD_POLICY is a managed rule. To reference a managed rule, see Using AWS Managed Config Rules. For custom rules, the identifier is the Amazon Resource Name (ARN) of the rule's AWS Lambda function, such as arn:aws:lambda:us-east-2:123456789012:function:custom_rule_name.
*/
SourceIdentifier: StringWithCharLimit256;
/**
* Provides the source and type of the event that causes AWS Config to evaluate your AWS resources.
*/
SourceDetails?: SourceDetails;
}
export interface SourceDetail {
/**
* The source of the event, such as an AWS service, that triggers AWS Config to evaluate your AWS resources.
*/
EventSource?: EventSource;
/**
* The type of notification that triggers AWS Config to run an evaluation for a rule. You can specify the following notification types: ConfigurationItemChangeNotification - Triggers an evaluation when AWS Config delivers a configuration item as a result of a resource change. OversizedConfigurationItemChangeNotification - Triggers an evaluation when AWS Config delivers an oversized configuration item. AWS Config may generate this notification type when a resource changes and the notification exceeds the maximum size allowed by Amazon SNS. ScheduledNotification - Triggers a periodic evaluation at the frequency specified for MaximumExecutionFrequency. ConfigurationSnapshotDeliveryCompleted - Triggers a periodic evaluation when AWS Config delivers a configuration snapshot. If you want your custom rule to be triggered by configuration changes, specify two SourceDetail objects, one for ConfigurationItemChangeNotification and one for OversizedConfigurationItemChangeNotification.
*/
MessageType?: MessageType;
/**
* The frequency at which you want AWS Config to run evaluations for a custom rule with a periodic trigger. If you specify a value for MaximumExecutionFrequency, then MessageType must use the ScheduledNotification value. By default, rules with a periodic trigger are evaluated every 24 hours. To change the frequency, specify a valid value for the MaximumExecutionFrequency parameter. Based on the valid value you choose, AWS Config runs evaluations once for each valid value. For example, if you choose Three_Hours, AWS Config runs evaluations once every three hours. In this case, Three_Hours is the frequency of this rule.
*/
MaximumExecutionFrequency?: MaximumExecutionFrequency;
}
export type SourceDetails = SourceDetail[];
export interface SsmControls {
/**
* The maximum percentage of remediation actions allowed to run in parallel on the non-compliant resources for that specific rule. You can specify a percentage, such as 10%. The default value is 10.
*/
ConcurrentExecutionRatePercentage?: Percentage;
/**
* The percentage of errors that are allowed before SSM stops running automations on non-compliant resources for that specific rule. You can specify a percentage of errors, for example 10%. If you do not specifiy a percentage, the default is 50%. For example, if you set the ErrorPercentage to 40% for 10 non-compliant resources, then SSM stops running the automations when the fifth error is received.
*/
ErrorPercentage?: Percentage;
}
export interface StartConfigRulesEvaluationRequest {
/**
* The list of names of AWS Config rules that you want to run evaluations for.
*/
ConfigRuleNames?: ReevaluateConfigRuleNames;
}
export interface StartConfigRulesEvaluationResponse {
}
export interface StartConfigurationRecorderRequest {
/**
* The name of the recorder object that records each configuration change made to the resources.
*/
ConfigurationRecorderName: RecorderName;
}
export interface StartRemediationExecutionRequest {
/**
* The list of names of AWS Config rules that you want to run remediation execution for.
*/
ConfigRuleName: ConfigRuleName;
/**
* A list of resource keys to be processed with the current request. Each element in the list consists of the resource type and resource ID.
*/
ResourceKeys: ResourceKeys;
}
export interface StartRemediationExecutionResponse {
/**
* Returns a failure message. For example, the resource is already compliant.
*/
FailureMessage?: String;
/**
* For resources that have failed to start execution, the API returns a resource key object.
*/
FailedItems?: ResourceKeys;
}
export type StaticParameterValues = StringWithCharLimit256[];
export interface StaticValue {
/**
* A list of values. For example, the ARN of the assumed role.
*/
Values: StaticParameterValues;
}
export interface StatusDetailFilters {
/**
* The 12-digit account ID of the member account within an organization.
*/
AccountId?: AccountId;
/**
* Indicates deployment status for config rule in the member account. When master account calls PutOrganizationConfigRule action for the first time, config rule status is created in the member account. When master account calls PutOrganizationConfigRule action for the second time, config rule status is updated in the member account. Config rule status is deleted when the master account deletes OrganizationConfigRule and disables service access for config-multiaccountsetup.amazonaws.com. AWS Config sets the state of the rule to: CREATE_SUCCESSFUL when config rule has been created in the member account. CREATE_IN_PROGRESS when config rule is being created in the member account. CREATE_FAILED when config rule creation has failed in the member account. DELETE_FAILED when config rule deletion has failed in the member account. DELETE_IN_PROGRESS when config rule is being deleted in the member account. DELETE_SUCCESSFUL when config rule has been deleted in the member account. UPDATE_SUCCESSFUL when config rule has been updated in the member account. UPDATE_IN_PROGRESS when config rule is being updated in the member account. UPDATE_FAILED when config rule deletion has failed in the member account.
*/
MemberAccountRuleStatus?: MemberAccountRuleStatus;
}
export interface StopConfigurationRecorderRequest {
/**
* The name of the recorder object that records each configuration change made to the resources.
*/
ConfigurationRecorderName: RecorderName;
}
export type String = string;
export type StringWithCharLimit1024 = string;
export type StringWithCharLimit128 = string;
export type StringWithCharLimit2048 = string;
export type StringWithCharLimit256 = string;
export type StringWithCharLimit256Min0 = string;
export type StringWithCharLimit64 = string;
export type StringWithCharLimit768 = string;
export type SupplementaryConfiguration = {[key: string]: SupplementaryConfigurationValue};
export type SupplementaryConfigurationName = string;
export type SupplementaryConfigurationValue = string;
export interface Tag {
/**
* One part of a key-value pair that make up a tag. A key is a general label that acts like a category for more specific tag values.
*/
Key?: TagKey;
/**
* The optional part of a key-value pair that make up a tag. A value acts as a descriptor within a tag category (key).
*/
Value?: TagValue;
}
export type TagKey = string;
export type TagKeyList = TagKey[];
export type TagList = Tag[];
export interface TagResourceRequest {
/**
* The Amazon Resource Name (ARN) that identifies the resource for which to list the tags. Currently, the supported resources are ConfigRule, ConfigurationAggregator and AggregatorAuthorization.
*/
ResourceArn: AmazonResourceName;
/**
* An array of tag object.
*/
Tags: TagList;
}
export type TagValue = string;
export type Tags = {[key: string]: Value};
export type TagsList = Tag[];
export type UnprocessedResourceIdentifierList = AggregateResourceIdentifier[];
export interface UntagResourceRequest {
/**
* The Amazon Resource Name (ARN) that identifies the resource for which to list the tags. Currently, the supported resources are ConfigRule, ConfigurationAggregator and AggregatorAuthorization.
*/
ResourceArn: AmazonResourceName;
/**
* The keys of the tags to be removed.
*/
TagKeys: TagKeyList;
}
export type Value = string;
export type Version = string;
/**
* A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.
*/
export type apiVersion = "2014-11-12"|"latest"|string;
export interface ClientApiVersions {
/**
* A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.
*/
apiVersion?: apiVersion;
}
export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions;
/**
* Contains interfaces for use with the ConfigService client.
*/
export import Types = ConfigService;
}
export = ConfigService;