macie2.d.ts
129 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
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-base';
interface Blob {}
declare class Macie2 extends Service {
/**
* Constructs a service object. This object has one method for each API operation.
*/
constructor(options?: Macie2.Types.ClientConfiguration)
config: Config & Macie2.Types.ClientConfiguration;
/**
* Accepts an Amazon Macie membership invitation that was received from a specific account.
*/
acceptInvitation(params: Macie2.Types.AcceptInvitationRequest, callback?: (err: AWSError, data: Macie2.Types.AcceptInvitationResponse) => void): Request<Macie2.Types.AcceptInvitationResponse, AWSError>;
/**
* Accepts an Amazon Macie membership invitation that was received from a specific account.
*/
acceptInvitation(callback?: (err: AWSError, data: Macie2.Types.AcceptInvitationResponse) => void): Request<Macie2.Types.AcceptInvitationResponse, AWSError>;
/**
* Retrieves information about one or more custom data identifiers.
*/
batchGetCustomDataIdentifiers(params: Macie2.Types.BatchGetCustomDataIdentifiersRequest, callback?: (err: AWSError, data: Macie2.Types.BatchGetCustomDataIdentifiersResponse) => void): Request<Macie2.Types.BatchGetCustomDataIdentifiersResponse, AWSError>;
/**
* Retrieves information about one or more custom data identifiers.
*/
batchGetCustomDataIdentifiers(callback?: (err: AWSError, data: Macie2.Types.BatchGetCustomDataIdentifiersResponse) => void): Request<Macie2.Types.BatchGetCustomDataIdentifiersResponse, AWSError>;
/**
* Creates and defines the settings for a classification job.
*/
createClassificationJob(params: Macie2.Types.CreateClassificationJobRequest, callback?: (err: AWSError, data: Macie2.Types.CreateClassificationJobResponse) => void): Request<Macie2.Types.CreateClassificationJobResponse, AWSError>;
/**
* Creates and defines the settings for a classification job.
*/
createClassificationJob(callback?: (err: AWSError, data: Macie2.Types.CreateClassificationJobResponse) => void): Request<Macie2.Types.CreateClassificationJobResponse, AWSError>;
/**
* Creates and defines the criteria and other settings for a custom data identifier.
*/
createCustomDataIdentifier(params: Macie2.Types.CreateCustomDataIdentifierRequest, callback?: (err: AWSError, data: Macie2.Types.CreateCustomDataIdentifierResponse) => void): Request<Macie2.Types.CreateCustomDataIdentifierResponse, AWSError>;
/**
* Creates and defines the criteria and other settings for a custom data identifier.
*/
createCustomDataIdentifier(callback?: (err: AWSError, data: Macie2.Types.CreateCustomDataIdentifierResponse) => void): Request<Macie2.Types.CreateCustomDataIdentifierResponse, AWSError>;
/**
* Creates and defines the criteria and other settings for a findings filter.
*/
createFindingsFilter(params: Macie2.Types.CreateFindingsFilterRequest, callback?: (err: AWSError, data: Macie2.Types.CreateFindingsFilterResponse) => void): Request<Macie2.Types.CreateFindingsFilterResponse, AWSError>;
/**
* Creates and defines the criteria and other settings for a findings filter.
*/
createFindingsFilter(callback?: (err: AWSError, data: Macie2.Types.CreateFindingsFilterResponse) => void): Request<Macie2.Types.CreateFindingsFilterResponse, AWSError>;
/**
* Sends an Amazon Macie membership invitation to one or more accounts.
*/
createInvitations(params: Macie2.Types.CreateInvitationsRequest, callback?: (err: AWSError, data: Macie2.Types.CreateInvitationsResponse) => void): Request<Macie2.Types.CreateInvitationsResponse, AWSError>;
/**
* Sends an Amazon Macie membership invitation to one or more accounts.
*/
createInvitations(callback?: (err: AWSError, data: Macie2.Types.CreateInvitationsResponse) => void): Request<Macie2.Types.CreateInvitationsResponse, AWSError>;
/**
* Associates an account with an Amazon Macie master account.
*/
createMember(params: Macie2.Types.CreateMemberRequest, callback?: (err: AWSError, data: Macie2.Types.CreateMemberResponse) => void): Request<Macie2.Types.CreateMemberResponse, AWSError>;
/**
* Associates an account with an Amazon Macie master account.
*/
createMember(callback?: (err: AWSError, data: Macie2.Types.CreateMemberResponse) => void): Request<Macie2.Types.CreateMemberResponse, AWSError>;
/**
* Creates sample findings.
*/
createSampleFindings(params: Macie2.Types.CreateSampleFindingsRequest, callback?: (err: AWSError, data: Macie2.Types.CreateSampleFindingsResponse) => void): Request<Macie2.Types.CreateSampleFindingsResponse, AWSError>;
/**
* Creates sample findings.
*/
createSampleFindings(callback?: (err: AWSError, data: Macie2.Types.CreateSampleFindingsResponse) => void): Request<Macie2.Types.CreateSampleFindingsResponse, AWSError>;
/**
* Declines Amazon Macie membership invitations that were received from specific accounts.
*/
declineInvitations(params: Macie2.Types.DeclineInvitationsRequest, callback?: (err: AWSError, data: Macie2.Types.DeclineInvitationsResponse) => void): Request<Macie2.Types.DeclineInvitationsResponse, AWSError>;
/**
* Declines Amazon Macie membership invitations that were received from specific accounts.
*/
declineInvitations(callback?: (err: AWSError, data: Macie2.Types.DeclineInvitationsResponse) => void): Request<Macie2.Types.DeclineInvitationsResponse, AWSError>;
/**
* Soft deletes a custom data identifier.
*/
deleteCustomDataIdentifier(params: Macie2.Types.DeleteCustomDataIdentifierRequest, callback?: (err: AWSError, data: Macie2.Types.DeleteCustomDataIdentifierResponse) => void): Request<Macie2.Types.DeleteCustomDataIdentifierResponse, AWSError>;
/**
* Soft deletes a custom data identifier.
*/
deleteCustomDataIdentifier(callback?: (err: AWSError, data: Macie2.Types.DeleteCustomDataIdentifierResponse) => void): Request<Macie2.Types.DeleteCustomDataIdentifierResponse, AWSError>;
/**
* Deletes a findings filter.
*/
deleteFindingsFilter(params: Macie2.Types.DeleteFindingsFilterRequest, callback?: (err: AWSError, data: Macie2.Types.DeleteFindingsFilterResponse) => void): Request<Macie2.Types.DeleteFindingsFilterResponse, AWSError>;
/**
* Deletes a findings filter.
*/
deleteFindingsFilter(callback?: (err: AWSError, data: Macie2.Types.DeleteFindingsFilterResponse) => void): Request<Macie2.Types.DeleteFindingsFilterResponse, AWSError>;
/**
* Deletes Amazon Macie membership invitations that were received from specific accounts.
*/
deleteInvitations(params: Macie2.Types.DeleteInvitationsRequest, callback?: (err: AWSError, data: Macie2.Types.DeleteInvitationsResponse) => void): Request<Macie2.Types.DeleteInvitationsResponse, AWSError>;
/**
* Deletes Amazon Macie membership invitations that were received from specific accounts.
*/
deleteInvitations(callback?: (err: AWSError, data: Macie2.Types.DeleteInvitationsResponse) => void): Request<Macie2.Types.DeleteInvitationsResponse, AWSError>;
/**
* Deletes the association between an Amazon Macie master account and an account.
*/
deleteMember(params: Macie2.Types.DeleteMemberRequest, callback?: (err: AWSError, data: Macie2.Types.DeleteMemberResponse) => void): Request<Macie2.Types.DeleteMemberResponse, AWSError>;
/**
* Deletes the association between an Amazon Macie master account and an account.
*/
deleteMember(callback?: (err: AWSError, data: Macie2.Types.DeleteMemberResponse) => void): Request<Macie2.Types.DeleteMemberResponse, AWSError>;
/**
* Retrieves (queries) statistical data and other information about one or more S3 buckets that Amazon Macie monitors and analyzes.
*/
describeBuckets(params: Macie2.Types.DescribeBucketsRequest, callback?: (err: AWSError, data: Macie2.Types.DescribeBucketsResponse) => void): Request<Macie2.Types.DescribeBucketsResponse, AWSError>;
/**
* Retrieves (queries) statistical data and other information about one or more S3 buckets that Amazon Macie monitors and analyzes.
*/
describeBuckets(callback?: (err: AWSError, data: Macie2.Types.DescribeBucketsResponse) => void): Request<Macie2.Types.DescribeBucketsResponse, AWSError>;
/**
* Retrieves information about the status and settings for a classification job.
*/
describeClassificationJob(params: Macie2.Types.DescribeClassificationJobRequest, callback?: (err: AWSError, data: Macie2.Types.DescribeClassificationJobResponse) => void): Request<Macie2.Types.DescribeClassificationJobResponse, AWSError>;
/**
* Retrieves information about the status and settings for a classification job.
*/
describeClassificationJob(callback?: (err: AWSError, data: Macie2.Types.DescribeClassificationJobResponse) => void): Request<Macie2.Types.DescribeClassificationJobResponse, AWSError>;
/**
* Retrieves information about the Amazon Macie configuration settings for an AWS organization.
*/
describeOrganizationConfiguration(params: Macie2.Types.DescribeOrganizationConfigurationRequest, callback?: (err: AWSError, data: Macie2.Types.DescribeOrganizationConfigurationResponse) => void): Request<Macie2.Types.DescribeOrganizationConfigurationResponse, AWSError>;
/**
* Retrieves information about the Amazon Macie configuration settings for an AWS organization.
*/
describeOrganizationConfiguration(callback?: (err: AWSError, data: Macie2.Types.DescribeOrganizationConfigurationResponse) => void): Request<Macie2.Types.DescribeOrganizationConfigurationResponse, AWSError>;
/**
* Disables an Amazon Macie account and deletes Macie resources for the account.
*/
disableMacie(params: Macie2.Types.DisableMacieRequest, callback?: (err: AWSError, data: Macie2.Types.DisableMacieResponse) => void): Request<Macie2.Types.DisableMacieResponse, AWSError>;
/**
* Disables an Amazon Macie account and deletes Macie resources for the account.
*/
disableMacie(callback?: (err: AWSError, data: Macie2.Types.DisableMacieResponse) => void): Request<Macie2.Types.DisableMacieResponse, AWSError>;
/**
* Disables an account as a delegated administrator of Amazon Macie for an AWS organization.
*/
disableOrganizationAdminAccount(params: Macie2.Types.DisableOrganizationAdminAccountRequest, callback?: (err: AWSError, data: Macie2.Types.DisableOrganizationAdminAccountResponse) => void): Request<Macie2.Types.DisableOrganizationAdminAccountResponse, AWSError>;
/**
* Disables an account as a delegated administrator of Amazon Macie for an AWS organization.
*/
disableOrganizationAdminAccount(callback?: (err: AWSError, data: Macie2.Types.DisableOrganizationAdminAccountResponse) => void): Request<Macie2.Types.DisableOrganizationAdminAccountResponse, AWSError>;
/**
* Disassociates a member account from its Amazon Macie master account.
*/
disassociateFromMasterAccount(params: Macie2.Types.DisassociateFromMasterAccountRequest, callback?: (err: AWSError, data: Macie2.Types.DisassociateFromMasterAccountResponse) => void): Request<Macie2.Types.DisassociateFromMasterAccountResponse, AWSError>;
/**
* Disassociates a member account from its Amazon Macie master account.
*/
disassociateFromMasterAccount(callback?: (err: AWSError, data: Macie2.Types.DisassociateFromMasterAccountResponse) => void): Request<Macie2.Types.DisassociateFromMasterAccountResponse, AWSError>;
/**
* Disassociates an Amazon Macie master account from a member account.
*/
disassociateMember(params: Macie2.Types.DisassociateMemberRequest, callback?: (err: AWSError, data: Macie2.Types.DisassociateMemberResponse) => void): Request<Macie2.Types.DisassociateMemberResponse, AWSError>;
/**
* Disassociates an Amazon Macie master account from a member account.
*/
disassociateMember(callback?: (err: AWSError, data: Macie2.Types.DisassociateMemberResponse) => void): Request<Macie2.Types.DisassociateMemberResponse, AWSError>;
/**
* Enables Amazon Macie and specifies the configuration settings for a Macie account.
*/
enableMacie(params: Macie2.Types.EnableMacieRequest, callback?: (err: AWSError, data: Macie2.Types.EnableMacieResponse) => void): Request<Macie2.Types.EnableMacieResponse, AWSError>;
/**
* Enables Amazon Macie and specifies the configuration settings for a Macie account.
*/
enableMacie(callback?: (err: AWSError, data: Macie2.Types.EnableMacieResponse) => void): Request<Macie2.Types.EnableMacieResponse, AWSError>;
/**
* Enables an account as a delegated administrator of Amazon Macie for an AWS organization.
*/
enableOrganizationAdminAccount(params: Macie2.Types.EnableOrganizationAdminAccountRequest, callback?: (err: AWSError, data: Macie2.Types.EnableOrganizationAdminAccountResponse) => void): Request<Macie2.Types.EnableOrganizationAdminAccountResponse, AWSError>;
/**
* Enables an account as a delegated administrator of Amazon Macie for an AWS organization.
*/
enableOrganizationAdminAccount(callback?: (err: AWSError, data: Macie2.Types.EnableOrganizationAdminAccountResponse) => void): Request<Macie2.Types.EnableOrganizationAdminAccountResponse, AWSError>;
/**
* Retrieves (queries) aggregated statistical data for all the S3 buckets that Amazon Macie monitors and analyzes.
*/
getBucketStatistics(params: Macie2.Types.GetBucketStatisticsRequest, callback?: (err: AWSError, data: Macie2.Types.GetBucketStatisticsResponse) => void): Request<Macie2.Types.GetBucketStatisticsResponse, AWSError>;
/**
* Retrieves (queries) aggregated statistical data for all the S3 buckets that Amazon Macie monitors and analyzes.
*/
getBucketStatistics(callback?: (err: AWSError, data: Macie2.Types.GetBucketStatisticsResponse) => void): Request<Macie2.Types.GetBucketStatisticsResponse, AWSError>;
/**
* Retrieves the configuration settings for storing data classification results.
*/
getClassificationExportConfiguration(params: Macie2.Types.GetClassificationExportConfigurationRequest, callback?: (err: AWSError, data: Macie2.Types.GetClassificationExportConfigurationResponse) => void): Request<Macie2.Types.GetClassificationExportConfigurationResponse, AWSError>;
/**
* Retrieves the configuration settings for storing data classification results.
*/
getClassificationExportConfiguration(callback?: (err: AWSError, data: Macie2.Types.GetClassificationExportConfigurationResponse) => void): Request<Macie2.Types.GetClassificationExportConfigurationResponse, AWSError>;
/**
* Retrieves information about the criteria and other settings for a custom data identifier.
*/
getCustomDataIdentifier(params: Macie2.Types.GetCustomDataIdentifierRequest, callback?: (err: AWSError, data: Macie2.Types.GetCustomDataIdentifierResponse) => void): Request<Macie2.Types.GetCustomDataIdentifierResponse, AWSError>;
/**
* Retrieves information about the criteria and other settings for a custom data identifier.
*/
getCustomDataIdentifier(callback?: (err: AWSError, data: Macie2.Types.GetCustomDataIdentifierResponse) => void): Request<Macie2.Types.GetCustomDataIdentifierResponse, AWSError>;
/**
* Retrieves (queries) aggregated statistical data about findings.
*/
getFindingStatistics(params: Macie2.Types.GetFindingStatisticsRequest, callback?: (err: AWSError, data: Macie2.Types.GetFindingStatisticsResponse) => void): Request<Macie2.Types.GetFindingStatisticsResponse, AWSError>;
/**
* Retrieves (queries) aggregated statistical data about findings.
*/
getFindingStatistics(callback?: (err: AWSError, data: Macie2.Types.GetFindingStatisticsResponse) => void): Request<Macie2.Types.GetFindingStatisticsResponse, AWSError>;
/**
* Retrieves information about one or more findings.
*/
getFindings(params: Macie2.Types.GetFindingsRequest, callback?: (err: AWSError, data: Macie2.Types.GetFindingsResponse) => void): Request<Macie2.Types.GetFindingsResponse, AWSError>;
/**
* Retrieves information about one or more findings.
*/
getFindings(callback?: (err: AWSError, data: Macie2.Types.GetFindingsResponse) => void): Request<Macie2.Types.GetFindingsResponse, AWSError>;
/**
* Retrieves information about the criteria and other settings for a findings filter.
*/
getFindingsFilter(params: Macie2.Types.GetFindingsFilterRequest, callback?: (err: AWSError, data: Macie2.Types.GetFindingsFilterResponse) => void): Request<Macie2.Types.GetFindingsFilterResponse, AWSError>;
/**
* Retrieves information about the criteria and other settings for a findings filter.
*/
getFindingsFilter(callback?: (err: AWSError, data: Macie2.Types.GetFindingsFilterResponse) => void): Request<Macie2.Types.GetFindingsFilterResponse, AWSError>;
/**
* Retrieves the count of Amazon Macie membership invitations that were received by an account.
*/
getInvitationsCount(params: Macie2.Types.GetInvitationsCountRequest, callback?: (err: AWSError, data: Macie2.Types.GetInvitationsCountResponse) => void): Request<Macie2.Types.GetInvitationsCountResponse, AWSError>;
/**
* Retrieves the count of Amazon Macie membership invitations that were received by an account.
*/
getInvitationsCount(callback?: (err: AWSError, data: Macie2.Types.GetInvitationsCountResponse) => void): Request<Macie2.Types.GetInvitationsCountResponse, AWSError>;
/**
* Retrieves information about the current status and configuration settings for an Amazon Macie account.
*/
getMacieSession(params: Macie2.Types.GetMacieSessionRequest, callback?: (err: AWSError, data: Macie2.Types.GetMacieSessionResponse) => void): Request<Macie2.Types.GetMacieSessionResponse, AWSError>;
/**
* Retrieves information about the current status and configuration settings for an Amazon Macie account.
*/
getMacieSession(callback?: (err: AWSError, data: Macie2.Types.GetMacieSessionResponse) => void): Request<Macie2.Types.GetMacieSessionResponse, AWSError>;
/**
* Retrieves information about the Amazon Macie master account for an account.
*/
getMasterAccount(params: Macie2.Types.GetMasterAccountRequest, callback?: (err: AWSError, data: Macie2.Types.GetMasterAccountResponse) => void): Request<Macie2.Types.GetMasterAccountResponse, AWSError>;
/**
* Retrieves information about the Amazon Macie master account for an account.
*/
getMasterAccount(callback?: (err: AWSError, data: Macie2.Types.GetMasterAccountResponse) => void): Request<Macie2.Types.GetMasterAccountResponse, AWSError>;
/**
* Retrieves information about a member account that's associated with an Amazon Macie master account.
*/
getMember(params: Macie2.Types.GetMemberRequest, callback?: (err: AWSError, data: Macie2.Types.GetMemberResponse) => void): Request<Macie2.Types.GetMemberResponse, AWSError>;
/**
* Retrieves information about a member account that's associated with an Amazon Macie master account.
*/
getMember(callback?: (err: AWSError, data: Macie2.Types.GetMemberResponse) => void): Request<Macie2.Types.GetMemberResponse, AWSError>;
/**
* Retrieves (queries) quotas and aggregated usage data for one or more accounts.
*/
getUsageStatistics(params: Macie2.Types.GetUsageStatisticsRequest, callback?: (err: AWSError, data: Macie2.Types.GetUsageStatisticsResponse) => void): Request<Macie2.Types.GetUsageStatisticsResponse, AWSError>;
/**
* Retrieves (queries) quotas and aggregated usage data for one or more accounts.
*/
getUsageStatistics(callback?: (err: AWSError, data: Macie2.Types.GetUsageStatisticsResponse) => void): Request<Macie2.Types.GetUsageStatisticsResponse, AWSError>;
/**
* Retrieves (queries) aggregated usage data for an account.
*/
getUsageTotals(params: Macie2.Types.GetUsageTotalsRequest, callback?: (err: AWSError, data: Macie2.Types.GetUsageTotalsResponse) => void): Request<Macie2.Types.GetUsageTotalsResponse, AWSError>;
/**
* Retrieves (queries) aggregated usage data for an account.
*/
getUsageTotals(callback?: (err: AWSError, data: Macie2.Types.GetUsageTotalsResponse) => void): Request<Macie2.Types.GetUsageTotalsResponse, AWSError>;
/**
* Retrieves a subset of information about one or more classification jobs.
*/
listClassificationJobs(params: Macie2.Types.ListClassificationJobsRequest, callback?: (err: AWSError, data: Macie2.Types.ListClassificationJobsResponse) => void): Request<Macie2.Types.ListClassificationJobsResponse, AWSError>;
/**
* Retrieves a subset of information about one or more classification jobs.
*/
listClassificationJobs(callback?: (err: AWSError, data: Macie2.Types.ListClassificationJobsResponse) => void): Request<Macie2.Types.ListClassificationJobsResponse, AWSError>;
/**
* Retrieves a subset of information about all the custom data identifiers for an account.
*/
listCustomDataIdentifiers(params: Macie2.Types.ListCustomDataIdentifiersRequest, callback?: (err: AWSError, data: Macie2.Types.ListCustomDataIdentifiersResponse) => void): Request<Macie2.Types.ListCustomDataIdentifiersResponse, AWSError>;
/**
* Retrieves a subset of information about all the custom data identifiers for an account.
*/
listCustomDataIdentifiers(callback?: (err: AWSError, data: Macie2.Types.ListCustomDataIdentifiersResponse) => void): Request<Macie2.Types.ListCustomDataIdentifiersResponse, AWSError>;
/**
* Retrieves a subset of information about one or more findings.
*/
listFindings(params: Macie2.Types.ListFindingsRequest, callback?: (err: AWSError, data: Macie2.Types.ListFindingsResponse) => void): Request<Macie2.Types.ListFindingsResponse, AWSError>;
/**
* Retrieves a subset of information about one or more findings.
*/
listFindings(callback?: (err: AWSError, data: Macie2.Types.ListFindingsResponse) => void): Request<Macie2.Types.ListFindingsResponse, AWSError>;
/**
* Retrieves a subset of information about all the findings filters for an account.
*/
listFindingsFilters(params: Macie2.Types.ListFindingsFiltersRequest, callback?: (err: AWSError, data: Macie2.Types.ListFindingsFiltersResponse) => void): Request<Macie2.Types.ListFindingsFiltersResponse, AWSError>;
/**
* Retrieves a subset of information about all the findings filters for an account.
*/
listFindingsFilters(callback?: (err: AWSError, data: Macie2.Types.ListFindingsFiltersResponse) => void): Request<Macie2.Types.ListFindingsFiltersResponse, AWSError>;
/**
* Retrieves information about all the Amazon Macie membership invitations that were received by an account.
*/
listInvitations(params: Macie2.Types.ListInvitationsRequest, callback?: (err: AWSError, data: Macie2.Types.ListInvitationsResponse) => void): Request<Macie2.Types.ListInvitationsResponse, AWSError>;
/**
* Retrieves information about all the Amazon Macie membership invitations that were received by an account.
*/
listInvitations(callback?: (err: AWSError, data: Macie2.Types.ListInvitationsResponse) => void): Request<Macie2.Types.ListInvitationsResponse, AWSError>;
/**
* Retrieves information about the accounts that are associated with an Amazon Macie master account.
*/
listMembers(params: Macie2.Types.ListMembersRequest, callback?: (err: AWSError, data: Macie2.Types.ListMembersResponse) => void): Request<Macie2.Types.ListMembersResponse, AWSError>;
/**
* Retrieves information about the accounts that are associated with an Amazon Macie master account.
*/
listMembers(callback?: (err: AWSError, data: Macie2.Types.ListMembersResponse) => void): Request<Macie2.Types.ListMembersResponse, AWSError>;
/**
* Retrieves information about the account that's designated as the delegated administrator of Amazon Macie for an AWS organization.
*/
listOrganizationAdminAccounts(params: Macie2.Types.ListOrganizationAdminAccountsRequest, callback?: (err: AWSError, data: Macie2.Types.ListOrganizationAdminAccountsResponse) => void): Request<Macie2.Types.ListOrganizationAdminAccountsResponse, AWSError>;
/**
* Retrieves information about the account that's designated as the delegated administrator of Amazon Macie for an AWS organization.
*/
listOrganizationAdminAccounts(callback?: (err: AWSError, data: Macie2.Types.ListOrganizationAdminAccountsResponse) => void): Request<Macie2.Types.ListOrganizationAdminAccountsResponse, AWSError>;
/**
* Retrieves the tags (keys and values) that are associated with a classification job, custom data identifier, findings filter, or member account.
*/
listTagsForResource(params: Macie2.Types.ListTagsForResourceRequest, callback?: (err: AWSError, data: Macie2.Types.ListTagsForResourceResponse) => void): Request<Macie2.Types.ListTagsForResourceResponse, AWSError>;
/**
* Retrieves the tags (keys and values) that are associated with a classification job, custom data identifier, findings filter, or member account.
*/
listTagsForResource(callback?: (err: AWSError, data: Macie2.Types.ListTagsForResourceResponse) => void): Request<Macie2.Types.ListTagsForResourceResponse, AWSError>;
/**
* Creates or updates the configuration settings for storing data classification results.
*/
putClassificationExportConfiguration(params: Macie2.Types.PutClassificationExportConfigurationRequest, callback?: (err: AWSError, data: Macie2.Types.PutClassificationExportConfigurationResponse) => void): Request<Macie2.Types.PutClassificationExportConfigurationResponse, AWSError>;
/**
* Creates or updates the configuration settings for storing data classification results.
*/
putClassificationExportConfiguration(callback?: (err: AWSError, data: Macie2.Types.PutClassificationExportConfigurationResponse) => void): Request<Macie2.Types.PutClassificationExportConfigurationResponse, AWSError>;
/**
* Adds or updates one or more tags (keys and values) that are associated with a classification job, custom data identifier, findings filter, or member account.
*/
tagResource(params: Macie2.Types.TagResourceRequest, callback?: (err: AWSError, data: Macie2.Types.TagResourceResponse) => void): Request<Macie2.Types.TagResourceResponse, AWSError>;
/**
* Adds or updates one or more tags (keys and values) that are associated with a classification job, custom data identifier, findings filter, or member account.
*/
tagResource(callback?: (err: AWSError, data: Macie2.Types.TagResourceResponse) => void): Request<Macie2.Types.TagResourceResponse, AWSError>;
/**
* Tests a custom data identifier.
*/
testCustomDataIdentifier(params: Macie2.Types.TestCustomDataIdentifierRequest, callback?: (err: AWSError, data: Macie2.Types.TestCustomDataIdentifierResponse) => void): Request<Macie2.Types.TestCustomDataIdentifierResponse, AWSError>;
/**
* Tests a custom data identifier.
*/
testCustomDataIdentifier(callback?: (err: AWSError, data: Macie2.Types.TestCustomDataIdentifierResponse) => void): Request<Macie2.Types.TestCustomDataIdentifierResponse, AWSError>;
/**
* Removes one or more tags (keys and values) from a classification job, custom data identifier, findings filter, or member account.
*/
untagResource(params: Macie2.Types.UntagResourceRequest, callback?: (err: AWSError, data: Macie2.Types.UntagResourceResponse) => void): Request<Macie2.Types.UntagResourceResponse, AWSError>;
/**
* Removes one or more tags (keys and values) from a classification job, custom data identifier, findings filter, or member account.
*/
untagResource(callback?: (err: AWSError, data: Macie2.Types.UntagResourceResponse) => void): Request<Macie2.Types.UntagResourceResponse, AWSError>;
/**
* Cancels a classification job.
*/
updateClassificationJob(params: Macie2.Types.UpdateClassificationJobRequest, callback?: (err: AWSError, data: Macie2.Types.UpdateClassificationJobResponse) => void): Request<Macie2.Types.UpdateClassificationJobResponse, AWSError>;
/**
* Cancels a classification job.
*/
updateClassificationJob(callback?: (err: AWSError, data: Macie2.Types.UpdateClassificationJobResponse) => void): Request<Macie2.Types.UpdateClassificationJobResponse, AWSError>;
/**
* Updates the criteria and other settings for a findings filter.
*/
updateFindingsFilter(params: Macie2.Types.UpdateFindingsFilterRequest, callback?: (err: AWSError, data: Macie2.Types.UpdateFindingsFilterResponse) => void): Request<Macie2.Types.UpdateFindingsFilterResponse, AWSError>;
/**
* Updates the criteria and other settings for a findings filter.
*/
updateFindingsFilter(callback?: (err: AWSError, data: Macie2.Types.UpdateFindingsFilterResponse) => void): Request<Macie2.Types.UpdateFindingsFilterResponse, AWSError>;
/**
* Suspends or re-enables an Amazon Macie account, or updates the configuration settings for a Macie account.
*/
updateMacieSession(params: Macie2.Types.UpdateMacieSessionRequest, callback?: (err: AWSError, data: Macie2.Types.UpdateMacieSessionResponse) => void): Request<Macie2.Types.UpdateMacieSessionResponse, AWSError>;
/**
* Suspends or re-enables an Amazon Macie account, or updates the configuration settings for a Macie account.
*/
updateMacieSession(callback?: (err: AWSError, data: Macie2.Types.UpdateMacieSessionResponse) => void): Request<Macie2.Types.UpdateMacieSessionResponse, AWSError>;
/**
* Enables an Amazon Macie master account to suspend or re-enable a member account.
*/
updateMemberSession(params: Macie2.Types.UpdateMemberSessionRequest, callback?: (err: AWSError, data: Macie2.Types.UpdateMemberSessionResponse) => void): Request<Macie2.Types.UpdateMemberSessionResponse, AWSError>;
/**
* Enables an Amazon Macie master account to suspend or re-enable a member account.
*/
updateMemberSession(callback?: (err: AWSError, data: Macie2.Types.UpdateMemberSessionResponse) => void): Request<Macie2.Types.UpdateMemberSessionResponse, AWSError>;
/**
* Updates Amazon Macie configuration settings for an AWS organization.
*/
updateOrganizationConfiguration(params: Macie2.Types.UpdateOrganizationConfigurationRequest, callback?: (err: AWSError, data: Macie2.Types.UpdateOrganizationConfigurationResponse) => void): Request<Macie2.Types.UpdateOrganizationConfigurationResponse, AWSError>;
/**
* Updates Amazon Macie configuration settings for an AWS organization.
*/
updateOrganizationConfiguration(callback?: (err: AWSError, data: Macie2.Types.UpdateOrganizationConfigurationResponse) => void): Request<Macie2.Types.UpdateOrganizationConfigurationResponse, AWSError>;
}
declare namespace Macie2 {
export interface AcceptInvitationRequest {
/**
* The unique identifier for the invitation to accept.
*/
invitationId: __string;
/**
* The AWS account ID for the account that sent the invitation.
*/
masterAccount: __string;
}
export interface AcceptInvitationResponse {
}
export interface AccessControlList {
/**
* Specifies whether the ACL grants the general public with read access permissions for the bucket.
*/
allowsPublicReadAccess?: __boolean;
/**
* Specifies whether the ACL grants the general public with write access permissions for the bucket.
*/
allowsPublicWriteAccess?: __boolean;
}
export interface AccountDetail {
/**
* The AWS account ID for the account.
*/
accountId: __string;
/**
* The email address for the account.
*/
email: __string;
}
export interface AccountLevelPermissions {
/**
* The block public access settings for the bucket.
*/
blockPublicAccess?: BlockPublicAccess;
}
export interface AdminAccount {
/**
* The AWS account ID for the account.
*/
accountId?: __string;
/**
* The current status of the account as a delegated administrator of Amazon Macie for the organization.
*/
status?: AdminStatus;
}
export type AdminStatus = "ENABLED"|"DISABLING_IN_PROGRESS"|string;
export interface ApiCallDetails {
/**
* The name of the operation that was invoked most recently and produced the finding.
*/
api?: __string;
/**
* The URL of the AWS service that provides the operation, for example: s3.amazonaws.com.
*/
apiServiceName?: __string;
/**
* The first date and time, in UTC and extended ISO 8601 format, when any operation was invoked and produced the finding.
*/
firstSeen?: __timestampIso8601;
/**
* The most recent date and time, in UTC and extended ISO 8601 format, when the specified operation (api) was invoked and produced the finding.
*/
lastSeen?: __timestampIso8601;
}
export interface AssumedRole {
/**
* The AWS access key ID that identifies the credentials.
*/
accessKeyId?: __string;
/**
* The unique identifier for the AWS account that owns the entity that was used to get the credentials.
*/
accountId?: __string;
/**
* The Amazon Resource Name (ARN) of the entity that was used to get the credentials.
*/
arn?: __string;
/**
* The unique identifier for the entity that was used to get the credentials.
*/
principalId?: __string;
/**
* The details of the session that was created for the credentials, including the entity that issued the session.
*/
sessionContext?: SessionContext;
}
export interface AwsAccount {
/**
* The unique identifier for the AWS account.
*/
accountId?: __string;
/**
* The unique identifier for the entity that performed the action.
*/
principalId?: __string;
}
export interface AwsService {
/**
* The name of the AWS service that performed the action.
*/
invokedBy?: __string;
}
export interface BatchGetCustomDataIdentifierSummary {
/**
* The Amazon Resource Name (ARN) of the custom data identifier.
*/
arn?: __string;
/**
* The date and time, in UTC and extended ISO 8601 format, when the custom data identifier was created.
*/
createdAt?: __timestampIso8601;
/**
* Specifies whether the custom data identifier was deleted. If you delete a custom data identifier, Amazon Macie doesn't delete it permanently. Instead, it soft deletes the identifier.
*/
deleted?: __boolean;
/**
* The custom description of the custom data identifier.
*/
description?: __string;
/**
* The unique identifier for the custom data identifier.
*/
id?: __string;
/**
* The custom name of the custom data identifier.
*/
name?: __string;
}
export interface BatchGetCustomDataIdentifiersRequest {
/**
* An array of strings that lists the unique identifiers for the custom data identifiers to retrieve information about.
*/
ids?: __listOf__string;
}
export interface BatchGetCustomDataIdentifiersResponse {
/**
* An array of objects, one for each custom data identifier that meets the criteria specified in the request.
*/
customDataIdentifiers?: __listOfBatchGetCustomDataIdentifierSummary;
/**
* An array of identifiers, one for each identifier that was specified in the request, but doesn't correlate to an existing custom data identifier.
*/
notFoundIdentifierIds?: __listOf__string;
}
export interface BlockPublicAccess {
/**
* Specifies whether Amazon S3 blocks public access control lists (ACLs) for the bucket and objects in the bucket.
*/
blockPublicAcls?: __boolean;
/**
* Specifies whether Amazon S3 blocks public bucket policies for the bucket.
*/
blockPublicPolicy?: __boolean;
/**
* Specifies whether Amazon S3 ignores public ACLs for the bucket and objects in the bucket.
*/
ignorePublicAcls?: __boolean;
/**
* Specifies whether Amazon S3 restricts public bucket policies for the bucket.
*/
restrictPublicBuckets?: __boolean;
}
export interface BucketCountByEffectivePermission {
/**
* The total number of buckets that allow the general public to have read or write access to the bucket.
*/
publiclyAccessible?: __long;
/**
* The total number of buckets that allow the general public to have read access to the bucket.
*/
publiclyReadable?: __long;
/**
* The total number of buckets that allow the general public to have write access to the bucket.
*/
publiclyWritable?: __long;
}
export interface BucketCountByEncryptionType {
/**
* The total number of buckets that use an AWS Key Management Service (AWS KMS) customer master key (CMK) to encrypt objects. These buckets use AWS KMS AWS-managed (AWS-KMS) encryption or AWS KMS customer-managed (SSE-KMS) encryption.
*/
kmsManaged?: __long;
/**
* The total number of buckets that use an Amazon S3-managed key to encrypt objects. These buckets use Amazon S3-managed (SSE-S3) encryption.
*/
s3Managed?: __long;
/**
* The total number of buckets that don't encrypt objects by default. Default encryption is disabled for these buckets.
*/
unencrypted?: __long;
}
export interface BucketCountBySharedAccessType {
/**
* The total number of buckets that are shared with an AWS account that isn't part of the same Amazon Macie organization.
*/
external?: __long;
/**
* The total number of buckets that are shared with an AWS account that's part of the same Amazon Macie organization.
*/
internal?: __long;
/**
* The total number of buckets that aren't shared with any other AWS accounts.
*/
notShared?: __long;
}
export type BucketCriteria = {[key: string]: BucketCriteriaAdditionalProperties};
export interface BucketCriteriaAdditionalProperties {
/**
* An equal to condition to apply to a specified attribute value for buckets.
*/
eq?: __listOf__string;
/**
* A greater than condition to apply to a specified attribute value for buckets.
*/
gt?: __long;
/**
* A greater than or equal to condition to apply to a specified attribute value for buckets.
*/
gte?: __long;
/**
* A less than condition to apply to a specified attribute value for buckets.
*/
lt?: __long;
/**
* A less than or equal to condition to apply to a specified attribute value for buckets.
*/
lte?: __long;
/**
* A not equal to condition to apply to a specified attribute value for buckets.
*/
neq?: __listOf__string;
/**
* The prefix of the buckets to include in the results.
*/
prefix?: __string;
}
export interface BucketLevelPermissions {
/**
* The permissions settings of the access control list (ACL) for the bucket. This value is null if an ACL hasn't been defined for the bucket.
*/
accessControlList?: AccessControlList;
/**
* The block public access settings for the bucket.
*/
blockPublicAccess?: BlockPublicAccess;
/**
* The permissions settings of the bucket policy for the bucket. This value is null if a bucket policy hasn't been defined for the bucket.
*/
bucketPolicy?: BucketPolicy;
}
export interface BucketMetadata {
/**
* The unique identifier for the AWS account that owns the bucket.
*/
accountId?: __string;
/**
* The Amazon Resource Name (ARN) of the bucket.
*/
bucketArn?: __string;
/**
* The date and time, in UTC and extended ISO 8601 format, when the bucket was created.
*/
bucketCreatedAt?: __timestampIso8601;
/**
* The name of the bucket.
*/
bucketName?: __string;
/**
* The total number of objects that Amazon Macie can analyze in the bucket. These objects use a supported file or storage format and storage class.
*/
classifiableObjectCount?: __long;
/**
* The total storage size, in bytes, of the objects that Amazon Macie can analyze in the bucket. These objects use a supported file or storage format and storage class.
*/
classifiableSizeInBytes?: __long;
/**
* The date and time, in UTC and extended ISO 8601 format, when Amazon Macie most recently retrieved data about the bucket from Amazon S3.
*/
lastUpdated?: __timestampIso8601;
/**
* The total number of objects in the bucket.
*/
objectCount?: __long;
/**
* The total number of objects that are in the bucket, grouped by server-side encryption type. This includes a grouping that reports the total number of objects that aren't encrypted or use client-side encryption.
*/
objectCountByEncryptionType?: ObjectCountByEncryptionType;
/**
* Specifies whether the bucket is publicly accessible. If this value is true, an access control list (ACL), bucket policy, or block public access settings allow the bucket to be accessed by the general public.
*/
publicAccess?: BucketPublicAccess;
/**
* The AWS Region that hosts the bucket.
*/
region?: __string;
/**
* Specifies whether the bucket is configured to replicate one or more objects to buckets for other AWS accounts and, if so, which accounts.
*/
replicationDetails?: ReplicationDetails;
/**
* Specifies whether the bucket is shared with another AWS account. Possible values are: EXTERNAL - The bucket is shared with an AWS account that isn’t part of the same Amazon Macie organization. INTERNAL - The bucket is shared with an AWS account that's part of the same Amazon Macie organization. NOT_SHARED - The bucket isn't shared with other AWS accounts. UNKNOWN - Amazon Macie wasn't able to evaluate the shared access settings for the bucket.
*/
sharedAccess?: SharedAccess;
/**
* The total storage size, in bytes, of the bucket.
*/
sizeInBytes?: __long;
/**
* The total compressed storage size, in bytes, of the bucket.
*/
sizeInBytesCompressed?: __long;
/**
* An array that specifies the tags (keys and values) that are associated with the bucket.
*/
tags?: __listOfKeyValuePair;
/**
* The total number of objects that Amazon Macie can't analyze in the bucket. These objects use an unsupported file or storage format or storage class.
*/
unclassifiableObjectCount?: ObjectLevelStatistics;
/**
* The total storage size, in bytes, of the objects that Amazon Macie can't analyze in the bucket. These objects use an unsupported file or storage format or storage class.
*/
unclassifiableObjectSizeInBytes?: ObjectLevelStatistics;
/**
* Specifies whether versioning is enabled for the bucket.
*/
versioning?: __boolean;
}
export interface BucketPermissionConfiguration {
/**
* The account-level permissions settings that apply to the bucket.
*/
accountLevelPermissions?: AccountLevelPermissions;
/**
* The bucket-level permissions settings for the bucket.
*/
bucketLevelPermissions?: BucketLevelPermissions;
}
export interface BucketPolicy {
/**
* Specifies whether the bucket policy allows the general public to have read access to the bucket.
*/
allowsPublicReadAccess?: __boolean;
/**
* Specifies whether the bucket policy allows the general public to have write access to the bucket.
*/
allowsPublicWriteAccess?: __boolean;
}
export interface BucketPublicAccess {
/**
* Specifies whether the bucket is publicly accessible due to the combination of permissions settings that apply to the bucket. Possible values are: NOT_PUBLIC - The bucket isn't publicly accessible. PUBLIC - The bucket is publicly accessible. UNKNOWN - Amazon Macie can't determine whether the bucket is publicly accessible.
*/
effectivePermission?: EffectivePermission;
/**
* The account-level and bucket-level permissions for the bucket.
*/
permissionConfiguration?: BucketPermissionConfiguration;
}
export interface BucketSortCriteria {
/**
* The name of the attribute to sort the results by. This value can be the name of any property that Amazon Macie defines as bucket metadata, such as bucketName or accountId.
*/
attributeName?: __string;
/**
* The sort order to apply to the results, based on the value for the property specified by the attributeName property. Valid values are: ASC, sort the results in ascending order; and, DESC, sort the results in descending order.
*/
orderBy?: OrderBy;
}
export interface ClassificationDetails {
/**
* The path to the folder or file (in Amazon S3) that contains the corresponding sensitive data discovery results for the finding. If a finding applies to a large archive or compressed file, this is a path to a folder. Otherwise, this is a path to a file.
*/
detailedResultsLocation?: __string;
/**
* The Amazon Resource Name (ARN) of the classification job that produced the finding.
*/
jobArn?: __string;
/**
* The unique identifier for the classification job that produced the finding.
*/
jobId?: __string;
/**
* The status and other details for the finding.
*/
result?: ClassificationResult;
}
export interface ClassificationExportConfiguration {
/**
* The S3 bucket to store data classification results in, and the encryption settings to use when storing results in that bucket.
*/
s3Destination?: S3Destination;
}
export interface ClassificationResult {
/**
* The number of occurrences of the data that produced the finding, and the custom data identifiers that detected the data.
*/
customDataIdentifiers?: CustomDataIdentifiers;
/**
* The type of content, expressed as a MIME type, that the finding applies to. For example, application/gzip, for a GNU Gzip compressed archive file, or application/pdf, for an Adobe PDF file.
*/
mimeType?: __string;
/**
* The category and number of occurrences of the sensitive data that produced the finding.
*/
sensitiveData?: SensitiveData;
/**
* The total size, in bytes, of the data that the finding applies to.
*/
sizeClassified?: __long;
/**
* The status of the finding.
*/
status?: ClassificationResultStatus;
}
export interface ClassificationResultStatus {
/**
* The status of the finding. Possible values are: COMPLETE - Amazon Macie successfully completed its analysis of the object that the finding applies to. PARTIAL - Macie was able to analyze only a subset of the data in the object that the finding applies to. For example, the object is a compressed or archive file that contains files in an unsupported format. SKIPPED - Macie wasn't able to analyze the object that the finding applies to. For example, the object is a malformed file or a file that's in an unsupported format.
*/
code?: __string;
/**
* A brief description of the status of the finding. Amazon Macie uses this value to notify you of any errors, warnings, or considerations that might impact your analysis of the finding.
*/
reason?: __string;
}
export interface CreateClassificationJobRequest {
/**
* A unique, case-sensitive token that you provide to ensure the idempotency of the request.
*/
clientToken: __string;
/**
* The custom data identifiers to use for data analysis and classification.
*/
customDataIdentifierIds?: __listOf__string;
/**
* A custom description of the job. The description can contain as many as 200 characters.
*/
description?: __string;
/**
* Specifies whether to analyze all existing, eligible objects immediately after the job is created.
*/
initialRun?: __boolean;
/**
* The schedule for running the job. Valid values are: ONE_TIME - Run the job only once. If you specify this value, don't specify a value for the scheduleFrequency property. SCHEDULED - Run the job on a daily, weekly, or monthly basis. If you specify this value, use the scheduleFrequency property to define the recurrence pattern for the job.
*/
jobType: JobType;
/**
* A custom name for the job. The name can contain as many as 500 characters.
*/
name: __string;
/**
* The S3 buckets that contain the objects to analyze, and the scope of that analysis.
*/
s3JobDefinition: S3JobDefinition;
/**
* The sampling depth, as a percentage, to apply when processing objects. This value determines the percentage of eligible objects that the job analyzes. If this value is less than 100, Amazon Macie selects the objects to analyze at random, up to the specified percentage, and analyzes all the data in those objects.
*/
samplingPercentage?: __integer;
/**
* The recurrence pattern for running the job. To run the job only once, don't specify a value for this property and set the value of the jobType property to ONE_TIME.
*/
scheduleFrequency?: JobScheduleFrequency;
/**
* A map of key-value pairs that specifies the tags to associate with the job. A job can have a maximum of 50 tags. Each tag consists of a tag key and an associated tag value. The maximum length of a tag key is 128 characters. The maximum length of a tag value is 256 characters.
*/
tags?: TagMap;
}
export interface CreateClassificationJobResponse {
/**
* The Amazon Resource Name (ARN) of the job.
*/
jobArn?: __string;
/**
* The unique identifier for the job.
*/
jobId?: __string;
}
export interface CreateCustomDataIdentifierRequest {
/**
* A unique, case-sensitive token that you provide to ensure the idempotency of the request.
*/
clientToken?: __string;
/**
* A custom description of the custom data identifier. The description can contain as many as 512 characters. We strongly recommend that you avoid including any sensitive data in the description of a custom data identifier. Other users of your account might be able to see the identifier's description, depending on the actions that they're allowed to perform in Amazon Macie.
*/
description?: __string;
/**
* An array that lists specific character sequences (ignore words) to exclude from the results. If the text matched by the regular expression is the same as any string in this array, Amazon Macie ignores it. The array can contain as many as 10 ignore words. Each ignore word can contain 4 - 90 characters. Ignore words are case sensitive.
*/
ignoreWords?: __listOf__string;
/**
* An array that lists specific character sequences (keywords), one of which must be within proximity (maximumMatchDistance) of the regular expression to match. The array can contain as many as 50 keywords. Each keyword can contain 4 - 90 characters. Keywords aren't case sensitive.
*/
keywords?: __listOf__string;
/**
* The maximum number of characters that can exist between text that matches the regex pattern and the character sequences specified by the keywords array. Macie includes or excludes a result based on the proximity of a keyword to text that matches the regex pattern. The distance can be 1 - 300 characters. The default value is 50.
*/
maximumMatchDistance?: __integer;
/**
* A custom name for the custom data identifier. The name can contain as many as 128 characters. We strongly recommend that you avoid including any sensitive data in the name of a custom data identifier. Other users of your account might be able to see the identifier's name, depending on the actions that they're allowed to perform in Amazon Macie.
*/
name?: __string;
/**
* The regular expression (regex) that defines the pattern to match. The expression can contain as many as 512 characters.
*/
regex?: __string;
/**
* A map of key-value pairs that specifies the tags to associate with the custom data identifier. A custom data identifier can have a maximum of 50 tags. Each tag consists of a tag key and an associated tag value. The maximum length of a tag key is 128 characters. The maximum length of a tag value is 256 characters.
*/
tags?: TagMap;
}
export interface CreateCustomDataIdentifierResponse {
/**
* The unique identifier for the custom data identifier that was created.
*/
customDataIdentifierId?: __string;
}
export interface CreateFindingsFilterRequest {
/**
* The action to perform on findings that meet the filter criteria (findingCriteria). Valid values are: ARCHIVE, suppress (automatically archive) the findings; and, NOOP, don't perform any action on the findings.
*/
action: FindingsFilterAction;
/**
* A unique, case-sensitive token that you provide to ensure the idempotency of the request.
*/
clientToken?: __string;
/**
* A custom description of the filter. The description can contain as many as 512 characters. We strongly recommend that you avoid including any sensitive data in the description of a filter. Other users of your account might be able to see the filter's description, depending on the actions that they're allowed to perform in Amazon Macie.
*/
description?: __string;
/**
* The criteria to use to filter findings.
*/
findingCriteria: FindingCriteria;
/**
* A custom name for the filter. The name must contain at least 3 characters and can contain as many as 64 characters. We strongly recommend that you avoid including any sensitive data in the name of a filter. Other users of your account might be able to see the filter's name, depending on the actions that they're allowed to perform in Amazon Macie.
*/
name: __string;
/**
* The position of the filter in the list of saved filters on the Amazon Macie console. This value also determines the order in which the filter is applied to findings, relative to other filters that are also applied to the findings.
*/
position?: __integer;
/**
* A map of key-value pairs that specifies the tags to associate with the filter. A findings filter can have a maximum of 50 tags. Each tag consists of a tag key and an associated tag value. The maximum length of a tag key is 128 characters. The maximum length of a tag value is 256 characters.
*/
tags?: TagMap;
}
export interface CreateFindingsFilterResponse {
/**
* The Amazon Resource Name (ARN) of the filter that was created.
*/
arn?: __string;
/**
* The unique identifier for the filter that was created.
*/
id?: __string;
}
export interface CreateInvitationsRequest {
/**
* An array that lists AWS account IDs, one for each account to send the invitation to.
*/
accountIds: __listOf__string;
/**
* Specifies whether to send an email notification to the root user of each account that the invitation will be sent to. This notification is in addition to an alert that the root user receives in AWS Personal Health Dashboard. To send an email notification to the root user of each account, set this value to true.
*/
disableEmailNotification?: __boolean;
/**
* A custom message to include in the invitation. Amazon Macie adds this message to the standard content that it sends for an invitation.
*/
message?: __string;
}
export interface CreateInvitationsResponse {
/**
* An array of objects, one for each account whose invitation hasn't been processed. Each object identifies the account and explains why the invitation hasn't been processed for the account.
*/
unprocessedAccounts?: __listOfUnprocessedAccount;
}
export interface CreateMemberRequest {
/**
* The details for the account to associate with the master account.
*/
account: AccountDetail;
/**
* A map of key-value pairs that specifies the tags to associate with the account in Amazon Macie. An account can have a maximum of 50 tags. Each tag consists of a tag key and an associated tag value. The maximum length of a tag key is 128 characters. The maximum length of a tag value is 256 characters.
*/
tags?: TagMap;
}
export interface CreateMemberResponse {
/**
* The Amazon Resource Name (ARN) of the account that was associated with the master account.
*/
arn?: __string;
}
export interface CreateSampleFindingsRequest {
/**
* An array that lists one or more types of findings to include in the set of sample findings. Currently, the only supported value is Policy:IAMUser/S3BucketEncryptionDisabled.
*/
findingTypes?: __listOfFindingType;
}
export interface CreateSampleFindingsResponse {
}
export type Criterion = {[key: string]: CriterionAdditionalProperties};
export interface CriterionAdditionalProperties {
/**
* An equal to condition to apply to a specified property value for findings.
*/
eq?: __listOf__string;
/**
* A greater than condition to apply to a specified property value for findings.
*/
gt?: __long;
/**
* A greater than or equal to condition to apply to a specified property value for findings.
*/
gte?: __long;
/**
* A less than condition to apply to a specified property value for findings.
*/
lt?: __long;
/**
* A less than or equal to condition to apply to a specified property value for findings.
*/
lte?: __long;
/**
* A not equal to condition to apply to a specified property value for findings.
*/
neq?: __listOf__string;
}
export type Currency = "USD"|string;
export interface CustomDataIdentifierSummary {
/**
* The Amazon Resource Name (ARN) of the custom data identifier.
*/
arn?: __string;
/**
* The date and time, in UTC and extended ISO 8601 format, when the custom data identifier was created.
*/
createdAt?: __timestampIso8601;
/**
* The custom description of the custom data identifier.
*/
description?: __string;
/**
* The unique identifier for the custom data identifier.
*/
id?: __string;
/**
* The custom name of the custom data identifier.
*/
name?: __string;
}
export interface CustomDataIdentifiers {
/**
* The custom data identifiers that detected the data, and the number of occurrences of the data that each identifier detected.
*/
detections?: CustomDetections;
/**
* The total number of occurrences of the data that was detected by the custom data identifiers and produced the finding.
*/
totalCount?: __long;
}
export interface CustomDetection {
/**
* The Amazon Resource Name (ARN) of the custom data identifier.
*/
arn?: __string;
/**
* The total number of occurrences of the data that the custom data identifier detected for the finding.
*/
count?: __long;
/**
* The name of the custom data identifier.
*/
name?: __string;
}
export type CustomDetections = CustomDetection[];
export interface DailySchedule {
}
export type DayOfWeek = "SUNDAY"|"MONDAY"|"TUESDAY"|"WEDNESDAY"|"THURSDAY"|"FRIDAY"|"SATURDAY"|string;
export interface DeclineInvitationsRequest {
/**
* An array that lists AWS account IDs, one for each account that sent an invitation to decline.
*/
accountIds: __listOf__string;
}
export interface DeclineInvitationsResponse {
/**
* An array of objects, one for each account whose invitation hasn't been declined. Each object identifies the account and explains why the request hasn't been processed for that account.
*/
unprocessedAccounts?: __listOfUnprocessedAccount;
}
export interface DefaultDetection {
/**
* The total number of occurrences of the type of data that was detected.
*/
count?: __long;
/**
* The type of data that was detected. For example, AWS_CREDENTIALS, PHONE_NUMBER, or ADDRESS.
*/
type?: __string;
}
export type DefaultDetections = DefaultDetection[];
export interface DeleteCustomDataIdentifierRequest {
/**
* The unique identifier for the Amazon Macie resource or account that the request applies to.
*/
id: __string;
}
export interface DeleteCustomDataIdentifierResponse {
}
export interface DeleteFindingsFilterRequest {
/**
* The unique identifier for the Amazon Macie resource or account that the request applies to.
*/
id: __string;
}
export interface DeleteFindingsFilterResponse {
}
export interface DeleteInvitationsRequest {
/**
* An array that lists AWS account IDs, one for each account that sent an invitation to delete.
*/
accountIds: __listOf__string;
}
export interface DeleteInvitationsResponse {
/**
* An array of objects, one for each account whose invitation hasn't been deleted. Each object identifies the account and explains why the request hasn't been processed for that account.
*/
unprocessedAccounts?: __listOfUnprocessedAccount;
}
export interface DeleteMemberRequest {
/**
* The unique identifier for the Amazon Macie resource or account that the request applies to.
*/
id: __string;
}
export interface DeleteMemberResponse {
}
export interface DescribeBucketsRequest {
/**
* The criteria to use to filter the query results.
*/
criteria?: BucketCriteria;
/**
* The maximum number of items to include in each page of the response. The default value is 50.
*/
maxResults?: __integer;
/**
* The nextToken string that specifies which page of results to return in a paginated response.
*/
nextToken?: __string;
/**
* The criteria to use to sort the query results.
*/
sortCriteria?: BucketSortCriteria;
}
export interface DescribeBucketsResponse {
/**
* An array of objects, one for each bucket that meets the filter criteria specified in the request.
*/
buckets?: __listOfBucketMetadata;
/**
* The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.
*/
nextToken?: __string;
}
export interface DescribeClassificationJobRequest {
/**
* The unique identifier for the classification job.
*/
jobId: __string;
}
export interface DescribeClassificationJobResponse {
/**
* The token that was provided to ensure the idempotency of the request to create the job.
*/
clientToken?: __string;
/**
* The date and time, in UTC and extended ISO 8601 format, when the job was created.
*/
createdAt?: __timestampIso8601;
/**
* The custom data identifiers that the job uses to analyze data.
*/
customDataIdentifierIds?: __listOf__string;
/**
* The custom description of the job.
*/
description?: __string;
/**
* Specifies whether the job is configured to analyze all existing, eligible objects immediately after it's created.
*/
initialRun?: __boolean;
/**
* The Amazon Resource Name (ARN) of the job.
*/
jobArn?: __string;
/**
* The unique identifier for the job.
*/
jobId?: __string;
/**
* The current status of the job. Possible values are: CANCELLED - You cancelled the job. A job might also be cancelled if ownership of an S3 bucket changed while the job was running, and that change affected the job's access to the bucket. COMPLETE - Amazon Macie finished processing all the data specified for the job. IDLE - For a recurring job, the previous scheduled run is complete and the next scheduled run is pending. This value doesn't apply to jobs that occur only once. PAUSED - Amazon Macie started the job, but completion of the job would exceed one or more quotas for your account. RUNNING - The job is in progress.
*/
jobStatus?: JobStatus;
/**
* The schedule for running the job. Possible values are: ONE_TIME - The job ran or will run only once. SCHEDULED - The job runs on a daily, weekly, or monthly basis. The scheduleFrequency property indicates the recurrence pattern for the job.
*/
jobType?: JobType;
/**
* The date and time, in UTC and extended ISO 8601 format, when the job last ran.
*/
lastRunTime?: __timestampIso8601;
/**
* The custom name of the job.
*/
name?: __string;
/**
* The S3 buckets that the job is configured to analyze, and the scope of that analysis.
*/
s3JobDefinition?: S3JobDefinition;
/**
* The sampling depth, as a percentage, that determines the percentage of eligible objects that the job analyzes.
*/
samplingPercentage?: __integer;
/**
* The recurrence pattern for running the job. If the job is configured to run only once, this value is null.
*/
scheduleFrequency?: JobScheduleFrequency;
/**
* The number of times that the job has run and processing statistics for the job's most recent run.
*/
statistics?: Statistics;
/**
* A map of key-value pairs that identifies the tags (keys and values) that are associated with the classification job.
*/
tags?: TagMap;
}
export interface DescribeOrganizationConfigurationRequest {
}
export interface DescribeOrganizationConfigurationResponse {
/**
* Specifies whether Amazon Macie is enabled automatically for accounts that are added to the AWS organization.
*/
autoEnable?: __boolean;
/**
* Specifies whether the maximum number of Amazon Macie member accounts are already associated with the AWS organization.
*/
maxAccountLimitReached?: __boolean;
}
export interface DisableMacieRequest {
}
export interface DisableMacieResponse {
}
export interface DisableOrganizationAdminAccountRequest {
/**
* The AWS account ID of the delegated administrator account.
*/
adminAccountId: __string;
}
export interface DisableOrganizationAdminAccountResponse {
}
export interface DisassociateFromMasterAccountRequest {
}
export interface DisassociateFromMasterAccountResponse {
}
export interface DisassociateMemberRequest {
/**
* The unique identifier for the Amazon Macie resource or account that the request applies to.
*/
id: __string;
}
export interface DisassociateMemberResponse {
}
export interface DomainDetails {
/**
* The name of the domain.
*/
domainName?: __string;
}
export type EffectivePermission = "PUBLIC"|"NOT_PUBLIC"|"UNKNOWN"|string;
export interface EnableMacieRequest {
/**
* A unique, case-sensitive token that you provide to ensure the idempotency of the request.
*/
clientToken?: __string;
/**
* Specifies how often to publish updates to policy findings for the account. This includes publishing updates to AWS Security Hub and Amazon EventBridge (formerly called Amazon CloudWatch Events).
*/
findingPublishingFrequency?: FindingPublishingFrequency;
/**
* Specifies the status for the account. To enable Amazon Macie and start all Amazon Macie activities for the account, set this value to ENABLED.
*/
status?: MacieStatus;
}
export interface EnableMacieResponse {
}
export interface EnableOrganizationAdminAccountRequest {
/**
* The AWS account ID for the account.
*/
adminAccountId: __string;
/**
* A unique, case-sensitive token that you provide to ensure the idempotency of the request.
*/
clientToken?: __string;
}
export interface EnableOrganizationAdminAccountResponse {
}
export type EncryptionType = "NONE"|"AES256"|"aws:kms"|"UNKNOWN"|string;
export type ErrorCode = "ClientError"|"InternalError"|string;
export interface FederatedUser {
/**
* The AWS access key ID that identifies the credentials.
*/
accessKeyId?: __string;
/**
* The unique identifier for the AWS account that owns the entity that was used to get the credentials.
*/
accountId?: __string;
/**
* The Amazon Resource Name (ARN) of the entity that was used to get the credentials.
*/
arn?: __string;
/**
* The unique identifier for the entity that was used to get the credentials.
*/
principalId?: __string;
/**
* The details of the session that was created for the credentials, including the entity that issued the session.
*/
sessionContext?: SessionContext;
}
export interface Finding {
/**
* The unique identifier for the AWS account that the finding applies to. This is typically the account that owns the affected resource.
*/
accountId?: __string;
/**
* Specifies whether the finding is archived.
*/
archived?: __boolean;
/**
* The category of the finding. Possible values are: CLASSIFICATION, for a sensitive data finding; and, POLICY, for a policy finding.
*/
category?: FindingCategory;
/**
* The details of a sensitive data finding. This value is null for a policy finding.
*/
classificationDetails?: ClassificationDetails;
/**
* The total number of occurrences of this finding.
*/
count?: __long;
/**
* The date and time, in UTC and extended ISO 8601 format, when the finding was created.
*/
createdAt?: __timestampIso8601;
/**
* The description of the finding.
*/
description?: __string;
/**
* The unique identifier for the finding. This is a random string that Amazon Macie generates and assigns to a finding when it creates the finding.
*/
id?: __string;
/**
* The AWS partition that Amazon Macie created the finding in.
*/
partition?: __string;
/**
* The details of a policy finding. This value is null for a sensitive data finding.
*/
policyDetails?: PolicyDetails;
/**
* The AWS Region that Amazon Macie created the finding in.
*/
region?: __string;
/**
* The resources that the finding applies to.
*/
resourcesAffected?: ResourcesAffected;
/**
* Specifies whether the finding is a sample finding. A sample finding is a finding that uses example data to demonstrate what a finding might contain.
*/
sample?: __boolean;
/**
* The version of the schema that was used to define the data structures in the finding.
*/
schemaVersion?: __string;
/**
* The severity of the finding.
*/
severity?: Severity;
/**
* The brief description of the finding.
*/
title?: __string;
/**
* The type of the finding.
*/
type?: FindingType;
/**
* The date and time, in UTC and extended ISO 8601 format, when the finding was last updated. For sensitive data findings, this value is the same as the value for the createdAt property. Sensitive data findings aren't updated.
*/
updatedAt?: __timestampIso8601;
}
export interface FindingAction {
/**
* The type of action that occurred for the affected resource. This value is typically AWS_API_CALL, which indicates that an entity invoked an API operation for the resource.
*/
actionType?: FindingActionType;
/**
* The invocation details of the API operation that an entity invoked for the affected resource, if the value for the actionType property is AWS_API_CALL.
*/
apiCallDetails?: ApiCallDetails;
}
export type FindingActionType = "AWS_API_CALL"|string;
export interface FindingActor {
/**
* The domain name of the device that the entity used to perform the action on the affected resource.
*/
domainDetails?: DomainDetails;
/**
* The IP address of the device that the entity used to perform the action on the affected resource. This object also provides information such as the owner and geographic location for the IP address.
*/
ipAddressDetails?: IpAddressDetails;
/**
* The type and other characteristics of the entity that performed the action on the affected resource.
*/
userIdentity?: UserIdentity;
}
export type FindingCategory = "CLASSIFICATION"|"POLICY"|string;
export interface FindingCriteria {
/**
* A condition that specifies the property, operator, and value to use to filter the results.
*/
criterion?: Criterion;
}
export type FindingPublishingFrequency = "FIFTEEN_MINUTES"|"ONE_HOUR"|"SIX_HOURS"|string;
export type FindingStatisticsSortAttributeName = "groupKey"|"count"|string;
export interface FindingStatisticsSortCriteria {
/**
* The grouping to sort the results by. Valid values are: count, sort the results by the number of findings in each group of results; and, groupKey, sort the results by the name of each group of results.
*/
attributeName?: FindingStatisticsSortAttributeName;
/**
* The sort order to apply to the results, based on the value for the property specified by the attributeName property. Valid values are: ASC, sort the results in ascending order; and, DESC, sort the results in descending order.
*/
orderBy?: OrderBy;
}
export type FindingType = "SensitiveData:S3Object/Multiple"|"SensitiveData:S3Object/Financial"|"SensitiveData:S3Object/Personal"|"SensitiveData:S3Object/Credentials"|"SensitiveData:S3Object/CustomIdentifier"|"Policy:IAMUser/S3BucketPublic"|"Policy:IAMUser/S3BucketSharedExternally"|"Policy:IAMUser/S3BucketReplicatedExternally"|"Policy:IAMUser/S3BucketEncryptionDisabled"|"Policy:IAMUser/S3BlockPublicAccessDisabled"|string;
export type FindingsFilterAction = "ARCHIVE"|"NOOP"|string;
export interface FindingsFilterListItem {
/**
* The action that's performed on findings that meet the filter criteria. Possible values are: ARCHIVE, suppress (automatically archive) the findings; and, NOOP, don't perform any action on the findings.
*/
action?: FindingsFilterAction;
/**
* The Amazon Resource Name (ARN) of the filter.
*/
arn?: __string;
/**
* The unique identifier for the filter.
*/
id?: __string;
/**
* The custom name of the filter.
*/
name?: __string;
/**
* A map of key-value pairs that identifies the tags (keys and values) that are associated with the filter.
*/
tags?: TagMap;
}
export interface GetBucketStatisticsRequest {
/**
* The unique identifier for the AWS account.
*/
accountId?: __string;
}
export interface GetBucketStatisticsResponse {
/**
* The total number of buckets.
*/
bucketCount?: __long;
/**
* The total number of buckets that are publicly accessible based on a combination of permissions settings for each bucket.
*/
bucketCountByEffectivePermission?: BucketCountByEffectivePermission;
/**
* The total number of buckets, grouped by server-side encryption type. This object also reports the total number of buckets that don't encrypt objects by default.
*/
bucketCountByEncryptionType?: BucketCountByEncryptionType;
/**
* The total number of buckets that are shared with another AWS account.
*/
bucketCountBySharedAccessType?: BucketCountBySharedAccessType;
/**
* The total number of objects that Amazon Macie can analyze in the buckets. These objects use a supported file or storage format and storage class.
*/
classifiableObjectCount?: __long;
/**
* The total storage size, in bytes, of all the objects that Amazon Macie can analyze in the buckets. These objects use a supported file or storage format and storage class.
*/
classifiableSizeInBytes?: __long;
/**
* The date and time, in UTC and extended ISO 8601 format, when Amazon Macie most recently retrieved data about the buckets from Amazon S3.
*/
lastUpdated?: __timestampIso8601;
/**
* The total number of objects in the buckets.
*/
objectCount?: __long;
/**
* The total storage size, in bytes, of the buckets.
*/
sizeInBytes?: __long;
/**
* The total compressed storage size, in bytes, of the buckets.
*/
sizeInBytesCompressed?: __long;
/**
* The total number of objects that Amazon Macie can't analyze in the buckets. These objects use an unsupported file or storage format or storage class.
*/
unclassifiableObjectCount?: ObjectLevelStatistics;
/**
* The total storage size, in bytes, of all the objects that Amazon Macie can't analyze in the buckets. These objects use an unsupported file or storage format or storage class.
*/
unclassifiableObjectSizeInBytes?: ObjectLevelStatistics;
}
export interface GetClassificationExportConfigurationRequest {
}
export interface GetClassificationExportConfigurationResponse {
/**
* The location where data classification results are stored, and the encryption settings that are used when storing results in that location.
*/
configuration?: ClassificationExportConfiguration;
}
export interface GetCustomDataIdentifierRequest {
/**
* The unique identifier for the Amazon Macie resource or account that the request applies to.
*/
id: __string;
}
export interface GetCustomDataIdentifierResponse {
/**
* The Amazon Resource Name (ARN) of the custom data identifier.
*/
arn?: __string;
/**
* The date and time, in UTC and extended ISO 8601 format, when the custom data identifier was created.
*/
createdAt?: __timestampIso8601;
/**
* Specifies whether the custom data identifier was deleted. If you delete a custom data identifier, Amazon Macie doesn't delete it permanently. Instead, it soft deletes the identifier.
*/
deleted?: __boolean;
/**
* The custom description of the custom data identifier.
*/
description?: __string;
/**
* The unique identifier for the custom data identifier.
*/
id?: __string;
/**
* An array that lists specific character sequences (ignore words) to exclude from the results. If the text matched by the regular expression is the same as any string in this array, Amazon Macie ignores it. Ignore words are case sensitive.
*/
ignoreWords?: __listOf__string;
/**
* An array that lists specific character sequences (keywords), one of which must be within proximity (maximumMatchDistance) of the regular expression to match. Keywords aren't case sensitive.
*/
keywords?: __listOf__string;
/**
* The maximum number of characters that can exist between text that matches the regex pattern and the character sequences specified by the keywords array. Macie includes or excludes a result based on the proximity of a keyword to text that matches the regex pattern.
*/
maximumMatchDistance?: __integer;
/**
* The custom name of the custom data identifier.
*/
name?: __string;
/**
* The regular expression (regex) that defines the pattern to match.
*/
regex?: __string;
/**
* A map of key-value pairs that identifies the tags (keys and values) that are associated with the custom data identifier.
*/
tags?: TagMap;
}
export interface GetFindingStatisticsRequest {
/**
* The criteria to use to filter the query results.
*/
findingCriteria?: FindingCriteria;
/**
* The finding property to use to group the query results. Valid values are: classificationDetails.jobId - The unique identifier for the classification job that produced the finding. resourcesAffected.s3Bucket.name - The name of the S3 bucket that the finding applies to. severity.description - The severity of the finding, such as High or Medium. type - The type of finding, such as Policy:IAMUser/S3BucketPublic and SensitiveData:S3Object/Personal.
*/
groupBy: GroupBy;
/**
* The maximum number of items to include in each page of the response.
*/
size?: __integer;
/**
* The criteria to use to sort the query results.
*/
sortCriteria?: FindingStatisticsSortCriteria;
}
export interface GetFindingStatisticsResponse {
/**
* An array of objects, one for each group of findings that meet the filter criteria specified in the request.
*/
countsByGroup?: __listOfGroupCount;
}
export interface GetFindingsFilterRequest {
/**
* The unique identifier for the Amazon Macie resource or account that the request applies to.
*/
id: __string;
}
export interface GetFindingsFilterResponse {
/**
* The action that's performed on findings that meet the filter criteria (findingCriteria). Possible values are: ARCHIVE, suppress (automatically archive) the findings; and, NOOP, don't perform any action on the findings.
*/
action?: FindingsFilterAction;
/**
* The Amazon Resource Name (ARN) of the filter.
*/
arn?: __string;
/**
* The custom description of the filter.
*/
description?: __string;
/**
* The criteria that's used to filter findings.
*/
findingCriteria?: FindingCriteria;
/**
* The unique identifier for the filter.
*/
id?: __string;
/**
* The custom name of the filter.
*/
name?: __string;
/**
* The position of the filter in the list of saved filters on the Amazon Macie console. This value also determines the order in which the filter is applied to findings, relative to other filters that are also applied to the findings.
*/
position?: __integer;
/**
* A map of key-value pairs that identifies the tags (keys and values) that are associated with the filter.
*/
tags?: TagMap;
}
export interface GetFindingsRequest {
/**
* An array of strings that lists the unique identifiers for the findings to retrieve information about.
*/
findingIds: __listOf__string;
/**
* The criteria for sorting the results of the request.
*/
sortCriteria?: SortCriteria;
}
export interface GetFindingsResponse {
/**
* An array of objects, one for each finding that meets the criteria specified in the request.
*/
findings?: __listOfFinding;
}
export interface GetInvitationsCountRequest {
}
export interface GetInvitationsCountResponse {
/**
* The total number of invitations that were received by the account, not including the currently accepted invitation.
*/
invitationsCount?: __long;
}
export interface GetMacieSessionRequest {
}
export interface GetMacieSessionResponse {
/**
* The date and time, in UTC and extended ISO 8601 format, when the Amazon Macie account was created.
*/
createdAt?: __timestampIso8601;
/**
* The frequency with which Amazon Macie publishes updates to policy findings for the account. This includes publishing updates to AWS Security Hub and Amazon EventBridge (formerly called Amazon CloudWatch Events).
*/
findingPublishingFrequency?: FindingPublishingFrequency;
/**
* The Amazon Resource Name (ARN) of the service-linked role that allows Amazon Macie to monitor and analyze data in AWS resources for the account.
*/
serviceRole?: __string;
/**
* The current status of the Amazon Macie account. Possible values are: PAUSED, the account is enabled but all Amazon Macie activities are suspended (paused) for the account; and, ENABLED, the account is enabled and all Amazon Macie activities are enabled for the account.
*/
status?: MacieStatus;
/**
* The date and time, in UTC and extended ISO 8601 format, of the most recent change to the status of the Amazon Macie account.
*/
updatedAt?: __timestampIso8601;
}
export interface GetMasterAccountRequest {
}
export interface GetMasterAccountResponse {
/**
* The AWS account ID for the master account. If the accounts are associated by a Macie membership invitation, this object also provides details about the invitation that was sent and accepted to establish the relationship between the accounts.
*/
master?: Invitation;
}
export interface GetMemberRequest {
/**
* The unique identifier for the Amazon Macie resource or account that the request applies to.
*/
id: __string;
}
export interface GetMemberResponse {
/**
* The AWS account ID for the account.
*/
accountId?: __string;
/**
* The Amazon Resource Name (ARN) of the account.
*/
arn?: __string;
/**
* The email address for the account.
*/
email?: __string;
/**
* The date and time, in UTC and extended ISO 8601 format, when an Amazon Macie membership invitation was last sent to the account. This value is null if a Macie invitation hasn't been sent to the account.
*/
invitedAt?: __timestampIso8601;
/**
* The AWS account ID for the master account.
*/
masterAccountId?: __string;
/**
* The current status of the relationship between the account and the master account.
*/
relationshipStatus?: RelationshipStatus;
/**
* A map of key-value pairs that identifies the tags (keys and values) that are associated with the member account in Amazon Macie.
*/
tags?: TagMap;
/**
* The date and time, in UTC and extended ISO 8601 format, of the most recent change to the status of the relationship between the account and the master account.
*/
updatedAt?: __timestampIso8601;
}
export interface GetUsageStatisticsRequest {
/**
* An array of objects, one for each condition to use to filter the query results. If the array contains more than one object, Amazon Macie uses an AND operator to join the conditions specified by the objects.
*/
filterBy?: __listOfUsageStatisticsFilter;
/**
* The maximum number of items to include in each page of the response.
*/
maxResults?: __integer;
/**
* The nextToken string that specifies which page of results to return in a paginated response.
*/
nextToken?: __string;
/**
* The criteria to use to sort the query results.
*/
sortBy?: UsageStatisticsSortBy;
}
export interface GetUsageStatisticsResponse {
/**
* The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.
*/
nextToken?: __string;
/**
* An array of objects that contains the results of the query. Each object contains the data for an account that meets the filter criteria specified in the request.
*/
records?: __listOfUsageRecord;
}
export interface GetUsageTotalsRequest {
}
export interface GetUsageTotalsResponse {
/**
* An array of objects that contains the results of the query. Each object contains the data for a specific usage metric.
*/
usageTotals?: __listOfUsageTotal;
}
export type GroupBy = "resourcesAffected.s3Bucket.name"|"type"|"classificationDetails.jobId"|"severity.description"|string;
export interface GroupCount {
/**
* The total number of findings in the group of query results.
*/
count?: __long;
/**
* The name of the property that defines the group in the query results, as specified by the groupBy property in the query request.
*/
groupKey?: __string;
}
export interface IamUser {
/**
* The unique identifier for the AWS account that's associated with the IAM user who performed the action.
*/
accountId?: __string;
/**
* The Amazon Resource Name (ARN) of the principal that performed the action. The last section of the ARN contains the name of the user who performed the action.
*/
arn?: __string;
/**
* The unique identifier for the IAM user who performed the action.
*/
principalId?: __string;
/**
* The user name of the IAM user who performed the action.
*/
userName?: __string;
}
export interface Invitation {
/**
* The AWS account ID for the account that sent the invitation.
*/
accountId?: __string;
/**
* The unique identifier for the invitation. Amazon Macie uses this identifier to validate the inviter account with the invitee account.
*/
invitationId?: __string;
/**
* The date and time, in UTC and extended ISO 8601 format, when the invitation was sent.
*/
invitedAt?: __timestampIso8601;
/**
* The status of the relationship between the account that sent the invitation (inviter account) and the account that received the invitation (invitee account).
*/
relationshipStatus?: RelationshipStatus;
}
export interface IpAddressDetails {
/**
* The Internet Protocol version 4 (IPv4) address of the device.
*/
ipAddressV4?: __string;
/**
* The city that the IP address originated from.
*/
ipCity?: IpCity;
/**
* The country that the IP address originated from.
*/
ipCountry?: IpCountry;
/**
* The geographic coordinates of the location that the IP address originated from.
*/
ipGeoLocation?: IpGeoLocation;
/**
* The registered owner of the IP address.
*/
ipOwner?: IpOwner;
}
export interface IpCity {
/**
* The name of the city.
*/
name?: __string;
}
export interface IpCountry {
/**
* The two-character code, in ISO 3166-1 alpha-2 format, for the country that the IP address originated from. For example, US for the United States.
*/
code?: __string;
/**
* The name of the country that the IP address originated from.
*/
name?: __string;
}
export interface IpGeoLocation {
/**
* The latitude coordinate of the location, rounded to four decimal places.
*/
lat?: __double;
/**
* The longitude coordinate of the location, rounded to four decimal places.
*/
lon?: __double;
}
export interface IpOwner {
/**
* The autonomous system number (ASN) for the autonomous system that included the IP address.
*/
asn?: __string;
/**
* The organization identifier that's associated with the autonomous system number (ASN) for the autonomous system that included the IP address.
*/
asnOrg?: __string;
/**
* The name of the internet service provider (ISP) that owned the IP address.
*/
isp?: __string;
/**
* The name of the organization that owned the IP address.
*/
org?: __string;
}
export type JobComparator = "EQ"|"GT"|"GTE"|"LT"|"LTE"|"NE"|"CONTAINS"|string;
export interface JobScheduleFrequency {
/**
* Specifies a daily recurrence pattern for running the job.
*/
dailySchedule?: DailySchedule;
/**
* Specifies a monthly recurrence pattern for running the job.
*/
monthlySchedule?: MonthlySchedule;
/**
* Specifies a weekly recurrence pattern for running the job.
*/
weeklySchedule?: WeeklySchedule;
}
export interface JobScopeTerm {
/**
* A property-based condition that defines a property, operator, and one or more values for including or excluding an object from the job.
*/
simpleScopeTerm?: SimpleScopeTerm;
/**
* A tag-based condition that defines the operator and a tag key or tag keys and values for including or excluding an object from the job.
*/
tagScopeTerm?: TagScopeTerm;
}
export interface JobScopingBlock {
/**
* An array of conditions, one for each condition that determines which objects to include or exclude from the job.
*/
and?: __listOfJobScopeTerm;
}
export type JobStatus = "RUNNING"|"PAUSED"|"CANCELLED"|"COMPLETE"|"IDLE"|string;
export interface JobSummary {
/**
* The S3 buckets that the job is configured to analyze.
*/
bucketDefinitions?: __listOfS3BucketDefinitionForJob;
/**
* The date and time, in UTC and extended ISO 8601 format, when the job was created.
*/
createdAt?: __timestampIso8601;
/**
* The unique identifier for the job.
*/
jobId?: __string;
/**
* The current status of the job. Possible values are: CANCELLED - You cancelled the job. A job might also be cancelled if ownership of an S3 bucket changed while the job was running, and that change affected the job's access to the bucket. COMPLETE - Amazon Macie finished processing all the data specified for the job. IDLE - For a recurring job, the previous scheduled run is complete and the next scheduled run is pending. This value doesn't apply to jobs that occur only once. PAUSED - Amazon Macie started the job, but completion of the job would exceed one or more quotas for your account. RUNNING - The job is in progress.
*/
jobStatus?: JobStatus;
/**
* The schedule for running the job. Possible values are: ONE_TIME - The job ran or will run only once. SCHEDULED - The job runs on a daily, weekly, or monthly basis.
*/
jobType?: JobType;
/**
* The custom name of the job.
*/
name?: __string;
}
export type JobType = "ONE_TIME"|"SCHEDULED"|string;
export interface KeyValuePair {
/**
* One part of a key-value pair that comprises a tag. A tag key is a general label that acts as a category for more specific tag values.
*/
key?: __string;
/**
* One part of a key-value pair that comprises a tag. A tag value acts as a descriptor for a tag key. A tag value can be empty or null.
*/
value?: __string;
}
export type KeyValuePairList = KeyValuePair[];
export interface ListClassificationJobsRequest {
/**
* The criteria to use to filter the results.
*/
filterCriteria?: ListJobsFilterCriteria;
/**
* The maximum number of items to include in each page of the response.
*/
maxResults?: __integer;
/**
* The nextToken string that specifies which page of results to return in a paginated response.
*/
nextToken?: __string;
/**
* The criteria to use to sort the results.
*/
sortCriteria?: ListJobsSortCriteria;
}
export interface ListClassificationJobsResponse {
/**
* An array of objects, one for each job that meets the filter criteria specified in the request.
*/
items?: __listOfJobSummary;
/**
* The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.
*/
nextToken?: __string;
}
export interface ListCustomDataIdentifiersRequest {
/**
* The maximum number of items to include in each page of the response.
*/
maxResults?: __integer;
/**
* The nextToken string that specifies which page of results to return in a paginated response.
*/
nextToken?: __string;
}
export interface ListCustomDataIdentifiersResponse {
/**
* An array of objects, one for each custom data identifier.
*/
items?: __listOfCustomDataIdentifierSummary;
/**
* The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.
*/
nextToken?: __string;
}
export interface ListFindingsFiltersRequest {
/**
* The maximum number of items to include in each page of a paginated response.
*/
maxResults?: MaxResults;
/**
* The nextToken string that specifies which page of results to return in a paginated response.
*/
nextToken?: __string;
}
export interface ListFindingsFiltersResponse {
/**
* An array of objects, one for each filter that's associated with the account.
*/
findingsFilterListItems?: __listOfFindingsFilterListItem;
/**
* The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.
*/
nextToken?: __string;
}
export interface ListFindingsRequest {
/**
* The criteria to use to filter the results.
*/
findingCriteria?: FindingCriteria;
/**
* The maximum number of items to include in each page of the response.
*/
maxResults?: __integer;
/**
* The nextToken string that specifies which page of results to return in a paginated response.
*/
nextToken?: __string;
/**
* The criteria to use to sort the results.
*/
sortCriteria?: SortCriteria;
}
export interface ListFindingsResponse {
/**
* An array of strings, where each string is the unique identifier for a finding that meets the filter criteria specified in the request.
*/
findingIds?: __listOf__string;
/**
* The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.
*/
nextToken?: __string;
}
export interface ListInvitationsRequest {
/**
* The maximum number of items to include in each page of a paginated response.
*/
maxResults?: MaxResults;
/**
* The nextToken string that specifies which page of results to return in a paginated response.
*/
nextToken?: __string;
}
export interface ListInvitationsResponse {
/**
* An array of objects, one for each invitation that was received by the account.
*/
invitations?: __listOfInvitation;
/**
* The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.
*/
nextToken?: __string;
}
export interface ListJobsFilterCriteria {
/**
* An array of objects, one for each condition that determines which jobs to exclude from the results.
*/
excludes?: __listOfListJobsFilterTerm;
/**
* An array of objects, one for each condition that determines which jobs to include in the results.
*/
includes?: __listOfListJobsFilterTerm;
}
export type ListJobsFilterKey = "jobType"|"jobStatus"|"createdAt"|"name"|string;
export interface ListJobsFilterTerm {
/**
* The operator to use to filter the results.
*/
comparator?: JobComparator;
/**
* The property to use to filter the results.
*/
key?: ListJobsFilterKey;
/**
* An array that lists one or more values to use to filter the results.
*/
values?: __listOf__string;
}
export type ListJobsSortAttributeName = "createdAt"|"jobStatus"|"name"|"jobType"|string;
export interface ListJobsSortCriteria {
/**
* The property to sort the results by.
*/
attributeName?: ListJobsSortAttributeName;
/**
* The sort order to apply to the results, based on the value for the property specified by the attributeName property. Valid values are: ASC, sort the results in ascending order; and, DESC, sort the results in descending order.
*/
orderBy?: OrderBy;
}
export interface ListMembersRequest {
/**
* The maximum number of items to include in each page of a paginated response.
*/
maxResults?: MaxResults;
/**
* The nextToken string that specifies which page of results to return in a paginated response.
*/
nextToken?: __string;
/**
* Specifies which accounts to include in the response, based on the status of an account's relationship with the master account. By default, the response includes only current member accounts. To include all accounts, set the value for this parameter to false.
*/
onlyAssociated?: __string;
}
export interface ListMembersResponse {
/**
* An array of objects, one for each account that's associated with the master account and meets the criteria specified by the onlyAssociated request parameter.
*/
members?: __listOfMember;
/**
* The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.
*/
nextToken?: __string;
}
export interface ListOrganizationAdminAccountsRequest {
/**
* The maximum number of items to include in each page of a paginated response.
*/
maxResults?: MaxResults;
/**
* The nextToken string that specifies which page of results to return in a paginated response.
*/
nextToken?: __string;
}
export interface ListOrganizationAdminAccountsResponse {
/**
* An array of objects, one for each account that's designated as a delegated administrator of Amazon Macie for the AWS organization. Of those accounts, only one can have a status of ENABLED.
*/
adminAccounts?: __listOfAdminAccount;
/**
* The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.
*/
nextToken?: __string;
}
export interface ListTagsForResourceRequest {
/**
* The Amazon Resource Name (ARN) of the classification job, custom data identifier, findings filter, or member account.
*/
resourceArn: __string;
}
export interface ListTagsForResourceResponse {
/**
* A map of key-value pairs that identifies the tags (keys and values) that are associated with the resource.
*/
tags?: TagMap;
}
export type MacieStatus = "PAUSED"|"ENABLED"|string;
export type MaxResults = number;
export interface Member {
/**
* The AWS account ID for the account.
*/
accountId?: __string;
/**
* The Amazon Resource Name (ARN) of the account.
*/
arn?: __string;
/**
* The email address for the account.
*/
email?: __string;
/**
* The date and time, in UTC and extended ISO 8601 format, when an Amazon Macie membership invitation was last sent to the account. This value is null if a Macie invitation hasn't been sent to the account.
*/
invitedAt?: __timestampIso8601;
/**
* The AWS account ID for the master account.
*/
masterAccountId?: __string;
/**
* The current status of the relationship between the account and the master account.
*/
relationshipStatus?: RelationshipStatus;
/**
* A map of key-value pairs that identifies the tags (keys and values) that are associated with the account in Amazon Macie.
*/
tags?: TagMap;
/**
* The date and time, in UTC and extended ISO 8601 format, of the most recent change to the status of the relationship between the account and the master account.
*/
updatedAt?: __timestampIso8601;
}
export interface MonthlySchedule {
/**
* The numeric day of the month when Amazon Macie runs the job. This value can be an integer from 1 through 30.
*/
dayOfMonth?: __integer;
}
export interface ObjectCountByEncryptionType {
/**
* The total number of objects that are encrypted using a customer-managed key. The objects use customer-provided server-side (SSE-C) encryption.
*/
customerManaged?: __long;
/**
* The total number of objects that are encrypted using an AWS Key Management Service (AWS KMS) customer master key (CMK). The objects use AWS KMS AWS-managed (AWS-KMS) encryption or AWS KMS customer-managed (SSE-KMS) encryption.
*/
kmsManaged?: __long;
/**
* The total number of objects that are encrypted using an Amazon S3-managed key. The objects use Amazon S3-managed (SSE-S3) encryption.
*/
s3Managed?: __long;
/**
* The total number of objects that aren't encrypted or use client-side encryption.
*/
unencrypted?: __long;
}
export interface ObjectLevelStatistics {
/**
* The total storage size (in bytes) or number of objects that Amazon Macie can't analyze because the objects use an unsupported file or storage format.
*/
fileType?: __long;
/**
* The total storage size (in bytes) or number of objects that Amazon Macie can't analyze because the objects use an unsupported storage class.
*/
storageClass?: __long;
/**
* The total storage size (in bytes) or number of objects that Amazon Macie can't analyze because the objects use an unsupported file or storage format or storage class.
*/
total?: __long;
}
export type OrderBy = "ASC"|"DESC"|string;
export interface PolicyDetails {
/**
* The action that produced the finding.
*/
action?: FindingAction;
/**
* The entity that performed the action that produced the finding.
*/
actor?: FindingActor;
}
export interface PutClassificationExportConfigurationRequest {
/**
* The location to store data classification results in, and the encryption settings to use when storing results in that location.
*/
configuration: ClassificationExportConfiguration;
}
export interface PutClassificationExportConfigurationResponse {
/**
* The location where the data classification results are stored, and the encryption settings that are used when storing results in that location.
*/
configuration?: ClassificationExportConfiguration;
}
export type RelationshipStatus = "Enabled"|"Paused"|"Invited"|"Created"|"Removed"|"Resigned"|"EmailVerificationInProgress"|"EmailVerificationFailed"|"RegionDisabled"|"AccountSuspended"|string;
export interface ReplicationDetails {
/**
* Specifies whether the bucket is configured to replicate one or more objects to any destination.
*/
replicated?: __boolean;
/**
* Specifies whether the bucket is configured to replicate one or more objects to an AWS account that isn't part of the same Amazon Macie organization.
*/
replicatedExternally?: __boolean;
/**
* An array of AWS account IDs, one for each AWS account that the bucket is configured to replicate one or more objects to.
*/
replicationAccounts?: __listOf__string;
}
export interface ResourcesAffected {
/**
* An array of objects, one for each S3 bucket that the finding applies to. Each object provides a set of metadata about an affected S3 bucket.
*/
s3Bucket?: S3Bucket;
/**
* An array of objects, one for each S3 object that the finding applies to. Each object provides a set of metadata about an affected S3 object.
*/
s3Object?: S3Object;
}
export interface S3Bucket {
/**
* The Amazon Resource Name (ARN) of the bucket.
*/
arn?: __string;
/**
* The date and time, in UTC and extended ISO 8601 format, when the bucket was created.
*/
createdAt?: __timestampIso8601;
/**
* The server-side encryption settings for the bucket.
*/
defaultServerSideEncryption?: ServerSideEncryption;
/**
* The name of the bucket.
*/
name?: __string;
/**
* The display name and account identifier for the user who owns the bucket.
*/
owner?: S3BucketOwner;
/**
* The permissions settings that determine whether the bucket is publicly accessible.
*/
publicAccess?: BucketPublicAccess;
/**
* The tags that are associated with the bucket.
*/
tags?: KeyValuePairList;
}
export interface S3BucketDefinitionForJob {
/**
* The unique identifier for the AWS account that owns one or more of the buckets. If specified, the job analyzes objects in all the buckets that are owned by the account and meet other conditions specified for the job.
*/
accountId?: __string;
/**
* An array that lists the names of the buckets.
*/
buckets?: __listOf__string;
}
export interface S3BucketOwner {
/**
* The display name of the user who owns the bucket.
*/
displayName?: __string;
/**
* The AWS account ID for the user who owns the bucket.
*/
id?: __string;
}
export interface S3Destination {
/**
* The name of the bucket.
*/
bucketName: __string;
/**
* The path prefix to use in the path to the location in the bucket. This prefix specifies where to store classification results in the bucket.
*/
keyPrefix?: __string;
/**
* The Amazon Resource Name (ARN) of the AWS Key Management Service (AWS KMS) customer master key (CMK) to use for encryption of the results. This must be the ARN of an existing CMK that's in the same AWS Region as the bucket.
*/
kmsKeyArn: __string;
}
export interface S3JobDefinition {
/**
* An array of objects, one for each bucket that contains objects to analyze.
*/
bucketDefinitions?: __listOfS3BucketDefinitionForJob;
/**
* The property- and tag-based conditions that determine which objects to include or exclude from the analysis.
*/
scoping?: Scoping;
}
export interface S3Object {
/**
* The Amazon Resource Name (ARN) of the bucket that contains the object.
*/
bucketArn?: __string;
/**
* The entity tag (ETag) that identifies the affected version of the object. If the object was overwritten or changed after Amazon Macie produced the finding, this value might be different from the current ETag for the object.
*/
eTag?: __string;
/**
* The file name extension of the object. If the object doesn't have a file name extension, this value is "".
*/
extension?: __string;
/**
* The full key (name) that's assigned to the object.
*/
key?: __string;
/**
* The date and time, in UTC and extended ISO 8601 format, when the object was last modified.
*/
lastModified?: __timestampIso8601;
/**
* The path to the object, including the full key (name).
*/
path?: __string;
/**
* Specifies whether the object is publicly accessible due to the combination of permissions settings that apply to the object.
*/
publicAccess?: __boolean;
/**
* The server-side encryption settings for the object.
*/
serverSideEncryption?: ServerSideEncryption;
/**
* The total storage size, in bytes, of the object.
*/
size?: __long;
/**
* The storage class of the object.
*/
storageClass?: StorageClass;
/**
* The tags that are associated with the object.
*/
tags?: KeyValuePairList;
/**
* The identifier for the affected version of the object.
*/
versionId?: __string;
}
export type ScopeFilterKey = "BUCKET_CREATION_DATE"|"OBJECT_EXTENSION"|"OBJECT_LAST_MODIFIED_DATE"|"OBJECT_SIZE"|"TAG"|string;
export interface Scoping {
/**
* The property- or tag-based conditions that determine which objects to exclude from the analysis.
*/
excludes?: JobScopingBlock;
/**
* The property- or tag-based conditions that determine which objects to include in the analysis.
*/
includes?: JobScopingBlock;
}
export type SensitiveData = SensitiveDataItem[];
export interface SensitiveDataItem {
/**
* The category of sensitive data that was detected. For example: FINANCIAL_INFORMATION, for financial information such as credit card numbers; PERSONAL_INFORMATION, for personally identifiable information such as full names and mailing addresses; or, CUSTOM_IDENTIFIER, for data that was detected by a custom data identifier.
*/
category?: SensitiveDataItemCategory;
/**
* An array of objects, one for each type of sensitive data that was detected. Each object reports the number of occurrences of a specific type of sensitive data that was detected.
*/
detections?: DefaultDetections;
/**
* The total number of occurrences of the sensitive data that was detected.
*/
totalCount?: __long;
}
export type SensitiveDataItemCategory = "FINANCIAL_INFORMATION"|"PERSONAL_INFORMATION"|"CREDENTIALS"|"CUSTOM_IDENTIFIER"|string;
export interface ServerSideEncryption {
/**
* The server-side encryption algorithm that's used when storing data in the bucket or object. If encryption is disabled for the bucket or object, this value is NONE.
*/
encryptionType?: EncryptionType;
/**
* The unique identifier for the AWS Key Management Service (AWS KMS) master key that's used to encrypt the bucket or object. This value is null if AWS KMS isn't used to encrypt the bucket or object.
*/
kmsMasterKeyId?: __string;
}
export interface ServiceLimit {
/**
* Specifies whether the account has met the quota that corresponds to the metric specified by the UsageByAccount.type field in the response.
*/
isServiceLimited?: __boolean;
/**
* The unit of measurement for the value specified by the value field.
*/
unit?: Unit;
/**
* The value for the metric specified by the UsageByAccount.type field in the response.
*/
value?: __long;
}
export interface SessionContext {
/**
* The date and time when the credentials were issued, and whether the credentials were authenticated with a multi-factor authentication (MFA) device.
*/
attributes?: SessionContextAttributes;
/**
* The source and type of credentials that were issued to the entity.
*/
sessionIssuer?: SessionIssuer;
}
export interface SessionContextAttributes {
/**
* The date and time, in UTC and ISO 8601 format, when the credentials were issued.
*/
creationDate?: __timestampIso8601;
/**
* Specifies whether the credentials were authenticated with a multi-factor authentication (MFA) device.
*/
mfaAuthenticated?: __boolean;
}
export interface SessionIssuer {
/**
* The unique identifier for the AWS account that owns the entity that was used to get the credentials.
*/
accountId?: __string;
/**
* The Amazon Resource Name (ARN) of the source account, IAM user, or role that was used to get the credentials.
*/
arn?: __string;
/**
* The unique identifier for the entity that was used to get the credentials.
*/
principalId?: __string;
/**
* The source of the temporary security credentials, such as Root, IAMUser, or Role.
*/
type?: __string;
/**
* The name or alias of the user or role that issued the session. This value is null if the credentials were obtained from a root account that doesn't have an alias.
*/
userName?: __string;
}
export interface Severity {
/**
* The textual representation of the severity value, such as Low or High.
*/
description?: SeverityDescription;
/**
* The numeric score for the severity value, ranging from 0 (least severe) to 4 (most severe).
*/
score?: __long;
}
export type SeverityDescription = "Low"|"Medium"|"High"|string;
export type SharedAccess = "EXTERNAL"|"INTERNAL"|"NOT_SHARED"|"UNKNOWN"|string;
export interface SimpleScopeTerm {
/**
* The operator to use in the condition.
*/
comparator?: JobComparator;
/**
* The property to use in the condition.
*/
key?: ScopeFilterKey;
/**
* An array that lists one or more values to use in the condition.
*/
values?: __listOf__string;
}
export interface SortCriteria {
/**
* The name of the property to sort the results by. This value can be the name of any property that Amazon Macie defines for a finding.
*/
attributeName?: __string;
/**
* The sort order to apply to the results, based on the value for the property specified by the attributeName property. Valid values are: ASC, sort the results in ascending order; and, DESC, sort the results in descending order.
*/
orderBy?: OrderBy;
}
export interface Statistics {
/**
* The approximate number of objects that the job has yet to process during its current run.
*/
approximateNumberOfObjectsToProcess?: __double;
/**
* The number of times that the job has run.
*/
numberOfRuns?: __double;
}
export type StorageClass = "STANDARD"|"REDUCED_REDUNDANCY"|"STANDARD_IA"|"INTELLIGENT_TIERING"|"DEEP_ARCHIVE"|"ONEZONE_IA"|"GLACIER"|string;
export type TagMap = {[key: string]: __string};
export interface TagResourceRequest {
/**
* The Amazon Resource Name (ARN) of the classification job, custom data identifier, findings filter, or member account.
*/
resourceArn: __string;
/**
* A map of key-value pairs that specifies the tags to associate with the resource. A resource can have a maximum of 50 tags. Each tag consists of a tag key and an associated tag value. The maximum length of a tag key is 128 characters. The maximum length of a tag value is 256 characters.
*/
tags: TagMap;
}
export interface TagResourceResponse {
}
export interface TagScopeTerm {
/**
* The operator to use in the condition.
*/
comparator?: JobComparator;
/**
* The tag key to use in the condition.
*/
key?: __string;
/**
* The tag key and value pairs to use in the condition.
*/
tagValues?: __listOfTagValuePair;
/**
* The type of object to apply the condition to.
*/
target?: TagTarget;
}
export type TagTarget = "S3_OBJECT"|string;
export interface TagValuePair {
/**
* The value for the tag key to use in the condition.
*/
key?: __string;
/**
* The tag value, associated with the specified tag key, to use in the condition.
*/
value?: __string;
}
export interface TestCustomDataIdentifierRequest {
/**
* An array that lists specific character sequences (ignore words) to exclude from the results. If the text matched by the regular expression is the same as any string in this array, Amazon Macie ignores it. The array can contain as many as 10 ignore words. Each ignore word can contain 4 - 90 characters. Ignore words are case sensitive.
*/
ignoreWords?: __listOf__string;
/**
* An array that lists specific character sequences (keywords), one of which must be within proximity (maximumMatchDistance) of the regular expression to match. The array can contain as many as 50 keywords. Each keyword can contain 4 - 90 characters. Keywords aren't case sensitive.
*/
keywords?: __listOf__string;
/**
* The maximum number of characters that can exist between text that matches the regex pattern and the character sequences specified by the keywords array. Macie includes or excludes a result based on the proximity of a keyword to text that matches the regex pattern. The distance can be 1 - 300 characters. The default value is 50.
*/
maximumMatchDistance?: __integer;
/**
* The regular expression (regex) that defines the pattern to match. The expression can contain as many as 512 characters.
*/
regex: __string;
/**
* The sample text to inspect by using the custom data identifier. The text can contain as many as 1,000 characters.
*/
sampleText: __string;
}
export interface TestCustomDataIdentifierResponse {
/**
* The number of instances of sample text that matched the detection criteria specified in the custom data identifier.
*/
matchCount?: __integer;
}
export type Unit = "TERABYTES"|string;
export interface UnprocessedAccount {
/**
* The AWS account ID for the account that the request applies to.
*/
accountId?: __string;
/**
* The source of the issue or delay in processing the request.
*/
errorCode?: ErrorCode;
/**
* The reason why the request hasn't been processed.
*/
errorMessage?: __string;
}
export interface UntagResourceRequest {
/**
* The Amazon Resource Name (ARN) of the classification job, custom data identifier, findings filter, or member account.
*/
resourceArn: __string;
/**
* The key of the tag to remove from the resource. To remove multiple tags, append the tagKeys parameter and argument for each additional tag to remove, separated by an ampersand (&).
*/
tagKeys: __listOf__string;
}
export interface UntagResourceResponse {
}
export interface UpdateClassificationJobRequest {
/**
* The unique identifier for the classification job.
*/
jobId: __string;
/**
* The status to change the job's status to. The only supported value is CANCELLED, which cancels the job completely.
*/
jobStatus: JobStatus;
}
export interface UpdateClassificationJobResponse {
}
export interface UpdateFindingsFilterRequest {
/**
* The action to perform on findings that meet the filter criteria (findingCriteria). Valid values are: ARCHIVE, suppress (automatically archive) the findings; and, NOOP, don't perform any action on the findings.
*/
action?: FindingsFilterAction;
/**
* A custom description of the filter. The description can contain as many as 512 characters. We strongly recommend that you avoid including any sensitive data in the description of a filter. Other users might be able to see the filter's description, depending on the actions that they're allowed to perform in Amazon Macie.
*/
description?: __string;
/**
* The criteria to use to filter findings.
*/
findingCriteria?: FindingCriteria;
/**
* The unique identifier for the Amazon Macie resource or account that the request applies to.
*/
id: __string;
/**
* A custom name for the filter. The name must contain at least 3 characters and can contain as many as 64 characters. We strongly recommend that you avoid including any sensitive data in the name of a filter. Other users might be able to see the filter's name, depending on the actions that they're allowed to perform in Amazon Macie.
*/
name?: __string;
/**
* The position of the filter in the list of saved filters on the Amazon Macie console. This value also determines the order in which the filter is applied to findings, relative to other filters that are also applied to the findings.
*/
position?: __integer;
}
export interface UpdateFindingsFilterResponse {
/**
* The Amazon Resource Name (ARN) of the filter that was updated.
*/
arn?: __string;
/**
* The unique identifier for the filter that was updated.
*/
id?: __string;
}
export interface UpdateMacieSessionRequest {
/**
* Specifies how often to publish updates to policy findings for the account. This includes publishing updates to AWS Security Hub and Amazon EventBridge (formerly called Amazon CloudWatch Events).
*/
findingPublishingFrequency?: FindingPublishingFrequency;
/**
* Specifies whether to change the status of the account. Valid values are: ENABLED, resume all Amazon Macie activities for the account; and, PAUSED, suspend all Macie activities for the account.
*/
status?: MacieStatus;
}
export interface UpdateMacieSessionResponse {
}
export interface UpdateMemberSessionRequest {
/**
* The unique identifier for the Amazon Macie resource or account that the request applies to.
*/
id: __string;
/**
* Specifies the new status for the account. Valid values are: ENABLED, resume all Amazon Macie activities for the account; and, PAUSED, suspend all Macie activities for the account.
*/
status: MacieStatus;
}
export interface UpdateMemberSessionResponse {
}
export interface UpdateOrganizationConfigurationRequest {
/**
* Specifies whether Amazon Macie is enabled automatically for each account, when the account is added to the AWS organization.
*/
autoEnable: __boolean;
}
export interface UpdateOrganizationConfigurationResponse {
}
export interface UsageByAccount {
/**
* The type of currency that the value for the metric (estimatedCost) is reported in.
*/
currency?: Currency;
/**
* The estimated value for the metric.
*/
estimatedCost?: __string;
/**
* The current value for the quota that corresponds to the metric specified by the type field.
*/
serviceLimit?: ServiceLimit;
/**
* The name of the metric. Possible values are: DATA_INVENTORY_EVALUATION, for monitoring S3 buckets; and, SENSITIVE_DATA_DISCOVERY, for analyzing sensitive data.
*/
type?: UsageType;
}
export interface UsageRecord {
/**
* The unique identifier for the AWS account that the data applies to.
*/
accountId?: __string;
/**
* The date and time, in UTC and extended ISO 8601 format, when the free trial started for the account.
*/
freeTrialStartDate?: __timestampIso8601;
/**
* An array of objects that contains usage data and quotas for the account. Each object contains the data for a specific usage metric and the corresponding quota.
*/
usage?: __listOfUsageByAccount;
}
export interface UsageStatisticsFilter {
/**
* The operator to use in the condition. If the value for the key property is accountId, this value must be CONTAINS. If the value for the key property is any other supported field, this value can be EQ, GT, GTE, LT, LTE, or NE.
*/
comparator?: UsageStatisticsFilterComparator;
/**
* The field to use in the condition.
*/
key?: UsageStatisticsFilterKey;
/**
* An array that lists values to use in the condition, based on the value for the field specified by the key property. If the value for the key property is accountId, this array can specify multiple values. Otherwise, this array can specify only one value. Valid values for each supported field are: accountId - The unique identifier for an AWS account. freeTrialStartDate - The date and time, in UTC and extended ISO 8601 format, when the free trial started for an account. serviceLimit - A Boolean (true or false) value that indicates whether an account has reached its monthly quota. total - A string that represents the current, estimated month-to-date cost for an account.
*/
values?: __listOf__string;
}
export type UsageStatisticsFilterComparator = "GT"|"GTE"|"LT"|"LTE"|"EQ"|"NE"|"CONTAINS"|string;
export type UsageStatisticsFilterKey = "accountId"|"serviceLimit"|"freeTrialStartDate"|"total"|string;
export interface UsageStatisticsSortBy {
/**
* The field to sort the results by.
*/
key?: UsageStatisticsSortKey;
/**
* The sort order to apply to the results, based on the value for the field specified by the key property. Valid values are: ASC, sort the results in ascending order; and, DESC, sort the results in descending order.
*/
orderBy?: OrderBy;
}
export type UsageStatisticsSortKey = "accountId"|"total"|"serviceLimitValue"|"freeTrialStartDate"|string;
export interface UsageTotal {
/**
* The type of currency that the value for the metric (estimatedCost) is reported in.
*/
currency?: Currency;
/**
* The estimated value for the metric.
*/
estimatedCost?: __string;
/**
* The name of the metric. Possible values are: DATA_INVENTORY_EVALUATION, for monitoring S3 buckets; and, SENSITIVE_DATA_DISCOVERY, for analyzing sensitive data.
*/
type?: UsageType;
}
export type UsageType = "DATA_INVENTORY_EVALUATION"|"SENSITIVE_DATA_DISCOVERY"|string;
export interface UserIdentity {
/**
* If the action was performed with temporary security credentials that were obtained using the AssumeRole operation of the AWS Security Token Service (AWS STS) API, the identifiers, session context, and other details about the identity.
*/
assumedRole?: AssumedRole;
/**
* If the action was performed using the credentials for another AWS account, the details of that account.
*/
awsAccount?: AwsAccount;
/**
* If the action was performed by an AWS account that belongs to an AWS service, the name of the service.
*/
awsService?: AwsService;
/**
* If the action was performed with temporary security credentials that were obtained using the GetFederationToken operation of the AWS Security Token Service (AWS STS) API, the identifiers, session context, and other details about the identity.
*/
federatedUser?: FederatedUser;
/**
* If the action was performed using the credentials for an AWS Identity and Access Management (IAM) user, the name and other details about the user.
*/
iamUser?: IamUser;
/**
* If the action was performed using the credentials for your AWS account, the details of your account.
*/
root?: UserIdentityRoot;
/**
* The type of entity that performed the action.
*/
type?: UserIdentityType;
}
export interface UserIdentityRoot {
/**
* The unique identifier for the AWS account.
*/
accountId?: __string;
/**
* The Amazon Resource Name (ARN) of the principal that performed the action. The last section of the ARN contains the name of the user or role that performed the action.
*/
arn?: __string;
/**
* The unique identifier for the entity that performed the action.
*/
principalId?: __string;
}
export type UserIdentityType = "AssumedRole"|"IAMUser"|"FederatedUser"|"Root"|"AWSAccount"|"AWSService"|string;
export interface WeeklySchedule {
/**
* The day of the week when Amazon Macie runs the job.
*/
dayOfWeek?: DayOfWeek;
}
export type __boolean = boolean;
export type __double = number;
export type __integer = number;
export type __listOfAdminAccount = AdminAccount[];
export type __listOfBatchGetCustomDataIdentifierSummary = BatchGetCustomDataIdentifierSummary[];
export type __listOfBucketMetadata = BucketMetadata[];
export type __listOfCustomDataIdentifierSummary = CustomDataIdentifierSummary[];
export type __listOfFinding = Finding[];
export type __listOfFindingType = FindingType[];
export type __listOfFindingsFilterListItem = FindingsFilterListItem[];
export type __listOfGroupCount = GroupCount[];
export type __listOfInvitation = Invitation[];
export type __listOfJobScopeTerm = JobScopeTerm[];
export type __listOfJobSummary = JobSummary[];
export type __listOfKeyValuePair = KeyValuePair[];
export type __listOfListJobsFilterTerm = ListJobsFilterTerm[];
export type __listOfMember = Member[];
export type __listOfS3BucketDefinitionForJob = S3BucketDefinitionForJob[];
export type __listOfTagValuePair = TagValuePair[];
export type __listOfUnprocessedAccount = UnprocessedAccount[];
export type __listOfUsageByAccount = UsageByAccount[];
export type __listOfUsageRecord = UsageRecord[];
export type __listOfUsageStatisticsFilter = UsageStatisticsFilter[];
export type __listOfUsageTotal = UsageTotal[];
export type __listOf__string = __string[];
export type __long = number;
export type __string = string;
export type __timestampIso8601 = Date;
/**
* 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 = "2020-01-01"|"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 Macie2 client.
*/
export import Types = Macie2;
}
export = Macie2;