@@ -164,6 +164,21 @@ import {
164
164
GetMasterAccountCommandOutput ,
165
165
} from "./commands/GetMasterAccountCommand" ;
166
166
import { GetMemberCommand , GetMemberCommandInput , GetMemberCommandOutput } from "./commands/GetMemberCommand" ;
167
+ import {
168
+ GetRevealConfigurationCommand ,
169
+ GetRevealConfigurationCommandInput ,
170
+ GetRevealConfigurationCommandOutput ,
171
+ } from "./commands/GetRevealConfigurationCommand" ;
172
+ import {
173
+ GetSensitiveDataOccurrencesAvailabilityCommand ,
174
+ GetSensitiveDataOccurrencesAvailabilityCommandInput ,
175
+ GetSensitiveDataOccurrencesAvailabilityCommandOutput ,
176
+ } from "./commands/GetSensitiveDataOccurrencesAvailabilityCommand" ;
177
+ import {
178
+ GetSensitiveDataOccurrencesCommand ,
179
+ GetSensitiveDataOccurrencesCommandInput ,
180
+ GetSensitiveDataOccurrencesCommandOutput ,
181
+ } from "./commands/GetSensitiveDataOccurrencesCommand" ;
167
182
import {
168
183
GetUsageStatisticsCommand ,
169
184
GetUsageStatisticsCommandInput ,
@@ -266,6 +281,11 @@ import {
266
281
UpdateOrganizationConfigurationCommandInput ,
267
282
UpdateOrganizationConfigurationCommandOutput ,
268
283
} from "./commands/UpdateOrganizationConfigurationCommand" ;
284
+ import {
285
+ UpdateRevealConfigurationCommand ,
286
+ UpdateRevealConfigurationCommandInput ,
287
+ UpdateRevealConfigurationCommandOutput ,
288
+ } from "./commands/UpdateRevealConfigurationCommand" ;
269
289
import { Macie2Client } from "./Macie2Client" ;
270
290
271
291
/**
@@ -1365,6 +1385,104 @@ export class Macie2 extends Macie2Client {
1365
1385
}
1366
1386
}
1367
1387
1388
+ /**
1389
+ * <p>Retrieves the status and configuration settings for retrieving (revealing) occurrences of sensitive data reported by findings.</p>
1390
+ */
1391
+ public getRevealConfiguration (
1392
+ args : GetRevealConfigurationCommandInput ,
1393
+ options ?: __HttpHandlerOptions
1394
+ ) : Promise < GetRevealConfigurationCommandOutput > ;
1395
+ public getRevealConfiguration (
1396
+ args : GetRevealConfigurationCommandInput ,
1397
+ cb : ( err : any , data ?: GetRevealConfigurationCommandOutput ) => void
1398
+ ) : void ;
1399
+ public getRevealConfiguration (
1400
+ args : GetRevealConfigurationCommandInput ,
1401
+ options : __HttpHandlerOptions ,
1402
+ cb : ( err : any , data ?: GetRevealConfigurationCommandOutput ) => void
1403
+ ) : void ;
1404
+ public getRevealConfiguration (
1405
+ args : GetRevealConfigurationCommandInput ,
1406
+ optionsOrCb ?: __HttpHandlerOptions | ( ( err : any , data ?: GetRevealConfigurationCommandOutput ) => void ) ,
1407
+ cb ?: ( err : any , data ?: GetRevealConfigurationCommandOutput ) => void
1408
+ ) : Promise < GetRevealConfigurationCommandOutput > | void {
1409
+ const command = new GetRevealConfigurationCommand ( args ) ;
1410
+ if ( typeof optionsOrCb === "function" ) {
1411
+ this . send ( command , optionsOrCb ) ;
1412
+ } else if ( typeof cb === "function" ) {
1413
+ if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb } ` ) ;
1414
+ this . send ( command , optionsOrCb || { } , cb ) ;
1415
+ } else {
1416
+ return this . send ( command , optionsOrCb ) ;
1417
+ }
1418
+ }
1419
+
1420
+ /**
1421
+ * <p>Retrieves (reveals) occurrences of sensitive data reported by a finding.</p>
1422
+ */
1423
+ public getSensitiveDataOccurrences (
1424
+ args : GetSensitiveDataOccurrencesCommandInput ,
1425
+ options ?: __HttpHandlerOptions
1426
+ ) : Promise < GetSensitiveDataOccurrencesCommandOutput > ;
1427
+ public getSensitiveDataOccurrences (
1428
+ args : GetSensitiveDataOccurrencesCommandInput ,
1429
+ cb : ( err : any , data ?: GetSensitiveDataOccurrencesCommandOutput ) => void
1430
+ ) : void ;
1431
+ public getSensitiveDataOccurrences (
1432
+ args : GetSensitiveDataOccurrencesCommandInput ,
1433
+ options : __HttpHandlerOptions ,
1434
+ cb : ( err : any , data ?: GetSensitiveDataOccurrencesCommandOutput ) => void
1435
+ ) : void ;
1436
+ public getSensitiveDataOccurrences (
1437
+ args : GetSensitiveDataOccurrencesCommandInput ,
1438
+ optionsOrCb ?: __HttpHandlerOptions | ( ( err : any , data ?: GetSensitiveDataOccurrencesCommandOutput ) => void ) ,
1439
+ cb ?: ( err : any , data ?: GetSensitiveDataOccurrencesCommandOutput ) => void
1440
+ ) : Promise < GetSensitiveDataOccurrencesCommandOutput > | void {
1441
+ const command = new GetSensitiveDataOccurrencesCommand ( args ) ;
1442
+ if ( typeof optionsOrCb === "function" ) {
1443
+ this . send ( command , optionsOrCb ) ;
1444
+ } else if ( typeof cb === "function" ) {
1445
+ if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb } ` ) ;
1446
+ this . send ( command , optionsOrCb || { } , cb ) ;
1447
+ } else {
1448
+ return this . send ( command , optionsOrCb ) ;
1449
+ }
1450
+ }
1451
+
1452
+ /**
1453
+ * <p>Checks whether occurrences of sensitive data can be retrieved (revealed) for a finding.</p>
1454
+ */
1455
+ public getSensitiveDataOccurrencesAvailability (
1456
+ args : GetSensitiveDataOccurrencesAvailabilityCommandInput ,
1457
+ options ?: __HttpHandlerOptions
1458
+ ) : Promise < GetSensitiveDataOccurrencesAvailabilityCommandOutput > ;
1459
+ public getSensitiveDataOccurrencesAvailability (
1460
+ args : GetSensitiveDataOccurrencesAvailabilityCommandInput ,
1461
+ cb : ( err : any , data ?: GetSensitiveDataOccurrencesAvailabilityCommandOutput ) => void
1462
+ ) : void ;
1463
+ public getSensitiveDataOccurrencesAvailability (
1464
+ args : GetSensitiveDataOccurrencesAvailabilityCommandInput ,
1465
+ options : __HttpHandlerOptions ,
1466
+ cb : ( err : any , data ?: GetSensitiveDataOccurrencesAvailabilityCommandOutput ) => void
1467
+ ) : void ;
1468
+ public getSensitiveDataOccurrencesAvailability (
1469
+ args : GetSensitiveDataOccurrencesAvailabilityCommandInput ,
1470
+ optionsOrCb ?:
1471
+ | __HttpHandlerOptions
1472
+ | ( ( err : any , data ?: GetSensitiveDataOccurrencesAvailabilityCommandOutput ) => void ) ,
1473
+ cb ?: ( err : any , data ?: GetSensitiveDataOccurrencesAvailabilityCommandOutput ) => void
1474
+ ) : Promise < GetSensitiveDataOccurrencesAvailabilityCommandOutput > | void {
1475
+ const command = new GetSensitiveDataOccurrencesAvailabilityCommand ( args ) ;
1476
+ if ( typeof optionsOrCb === "function" ) {
1477
+ this . send ( command , optionsOrCb ) ;
1478
+ } else if ( typeof cb === "function" ) {
1479
+ if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb } ` ) ;
1480
+ this . send ( command , optionsOrCb || { } , cb ) ;
1481
+ } else {
1482
+ return this . send ( command , optionsOrCb ) ;
1483
+ }
1484
+ }
1485
+
1368
1486
/**
1369
1487
* <p>Retrieves (queries) quotas and aggregated usage data for one or more accounts.</p>
1370
1488
*/
@@ -2053,4 +2171,36 @@ export class Macie2 extends Macie2Client {
2053
2171
return this . send ( command , optionsOrCb ) ;
2054
2172
}
2055
2173
}
2174
+
2175
+ /**
2176
+ * <p>Updates the status and configuration settings for retrieving (revealing) occurrences of sensitive data reported by findings.</p>
2177
+ */
2178
+ public updateRevealConfiguration (
2179
+ args : UpdateRevealConfigurationCommandInput ,
2180
+ options ?: __HttpHandlerOptions
2181
+ ) : Promise < UpdateRevealConfigurationCommandOutput > ;
2182
+ public updateRevealConfiguration (
2183
+ args : UpdateRevealConfigurationCommandInput ,
2184
+ cb : ( err : any , data ?: UpdateRevealConfigurationCommandOutput ) => void
2185
+ ) : void ;
2186
+ public updateRevealConfiguration (
2187
+ args : UpdateRevealConfigurationCommandInput ,
2188
+ options : __HttpHandlerOptions ,
2189
+ cb : ( err : any , data ?: UpdateRevealConfigurationCommandOutput ) => void
2190
+ ) : void ;
2191
+ public updateRevealConfiguration (
2192
+ args : UpdateRevealConfigurationCommandInput ,
2193
+ optionsOrCb ?: __HttpHandlerOptions | ( ( err : any , data ?: UpdateRevealConfigurationCommandOutput ) => void ) ,
2194
+ cb ?: ( err : any , data ?: UpdateRevealConfigurationCommandOutput ) => void
2195
+ ) : Promise < UpdateRevealConfigurationCommandOutput > | void {
2196
+ const command = new UpdateRevealConfigurationCommand ( args ) ;
2197
+ if ( typeof optionsOrCb === "function" ) {
2198
+ this . send ( command , optionsOrCb ) ;
2199
+ } else if ( typeof cb === "function" ) {
2200
+ if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb } ` ) ;
2201
+ this . send ( command , optionsOrCb || { } , cb ) ;
2202
+ } else {
2203
+ return this . send ( command , optionsOrCb ) ;
2204
+ }
2205
+ }
2056
2206
}
0 commit comments