@@ -83,6 +83,11 @@ import {
83
83
DeleteThreatIntelSetCommandInput ,
84
84
DeleteThreatIntelSetCommandOutput ,
85
85
} from "./commands/DeleteThreatIntelSetCommand" ;
86
+ import {
87
+ DescribeMalwareScansCommand ,
88
+ DescribeMalwareScansCommandInput ,
89
+ DescribeMalwareScansCommandOutput ,
90
+ } from "./commands/DescribeMalwareScansCommand" ;
86
91
import {
87
92
DescribeOrganizationConfigurationCommand ,
88
93
DescribeOrganizationConfigurationCommandInput ,
@@ -137,6 +142,11 @@ import {
137
142
GetInvitationsCountCommandOutput ,
138
143
} from "./commands/GetInvitationsCountCommand" ;
139
144
import { GetIPSetCommand , GetIPSetCommandInput , GetIPSetCommandOutput } from "./commands/GetIPSetCommand" ;
145
+ import {
146
+ GetMalwareScanSettingsCommand ,
147
+ GetMalwareScanSettingsCommandInput ,
148
+ GetMalwareScanSettingsCommandOutput ,
149
+ } from "./commands/GetMalwareScanSettingsCommand" ;
140
150
import {
141
151
GetMasterAccountCommand ,
142
152
GetMasterAccountCommandInput ,
@@ -243,6 +253,11 @@ import {
243
253
UpdateFindingsFeedbackCommandOutput ,
244
254
} from "./commands/UpdateFindingsFeedbackCommand" ;
245
255
import { UpdateIPSetCommand , UpdateIPSetCommandInput , UpdateIPSetCommandOutput } from "./commands/UpdateIPSetCommand" ;
256
+ import {
257
+ UpdateMalwareScanSettingsCommand ,
258
+ UpdateMalwareScanSettingsCommandInput ,
259
+ UpdateMalwareScanSettingsCommandOutput ,
260
+ } from "./commands/UpdateMalwareScanSettingsCommand" ;
246
261
import {
247
262
UpdateMemberDetectorsCommand ,
248
263
UpdateMemberDetectorsCommandInput ,
@@ -877,6 +892,38 @@ export class GuardDuty extends GuardDutyClient {
877
892
}
878
893
}
879
894
895
+ /**
896
+ * <p>Returns a list of malware scans.</p>
897
+ */
898
+ public describeMalwareScans (
899
+ args : DescribeMalwareScansCommandInput ,
900
+ options ?: __HttpHandlerOptions
901
+ ) : Promise < DescribeMalwareScansCommandOutput > ;
902
+ public describeMalwareScans (
903
+ args : DescribeMalwareScansCommandInput ,
904
+ cb : ( err : any , data ?: DescribeMalwareScansCommandOutput ) => void
905
+ ) : void ;
906
+ public describeMalwareScans (
907
+ args : DescribeMalwareScansCommandInput ,
908
+ options : __HttpHandlerOptions ,
909
+ cb : ( err : any , data ?: DescribeMalwareScansCommandOutput ) => void
910
+ ) : void ;
911
+ public describeMalwareScans (
912
+ args : DescribeMalwareScansCommandInput ,
913
+ optionsOrCb ?: __HttpHandlerOptions | ( ( err : any , data ?: DescribeMalwareScansCommandOutput ) => void ) ,
914
+ cb ?: ( err : any , data ?: DescribeMalwareScansCommandOutput ) => void
915
+ ) : Promise < DescribeMalwareScansCommandOutput > | void {
916
+ const command = new DescribeMalwareScansCommand ( args ) ;
917
+ if ( typeof optionsOrCb === "function" ) {
918
+ this . send ( command , optionsOrCb ) ;
919
+ } else if ( typeof cb === "function" ) {
920
+ if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb } ` ) ;
921
+ this . send ( command , optionsOrCb || { } , cb ) ;
922
+ } else {
923
+ return this . send ( command , optionsOrCb ) ;
924
+ }
925
+ }
926
+
880
927
/**
881
928
* <p>Returns information about the account selected as the delegated administrator for
882
929
* GuardDuty.</p>
@@ -1310,6 +1357,38 @@ export class GuardDuty extends GuardDutyClient {
1310
1357
}
1311
1358
}
1312
1359
1360
+ /**
1361
+ * <p>Returns the details of the malware scan settings.</p>
1362
+ */
1363
+ public getMalwareScanSettings (
1364
+ args : GetMalwareScanSettingsCommandInput ,
1365
+ options ?: __HttpHandlerOptions
1366
+ ) : Promise < GetMalwareScanSettingsCommandOutput > ;
1367
+ public getMalwareScanSettings (
1368
+ args : GetMalwareScanSettingsCommandInput ,
1369
+ cb : ( err : any , data ?: GetMalwareScanSettingsCommandOutput ) => void
1370
+ ) : void ;
1371
+ public getMalwareScanSettings (
1372
+ args : GetMalwareScanSettingsCommandInput ,
1373
+ options : __HttpHandlerOptions ,
1374
+ cb : ( err : any , data ?: GetMalwareScanSettingsCommandOutput ) => void
1375
+ ) : void ;
1376
+ public getMalwareScanSettings (
1377
+ args : GetMalwareScanSettingsCommandInput ,
1378
+ optionsOrCb ?: __HttpHandlerOptions | ( ( err : any , data ?: GetMalwareScanSettingsCommandOutput ) => void ) ,
1379
+ cb ?: ( err : any , data ?: GetMalwareScanSettingsCommandOutput ) => void
1380
+ ) : Promise < GetMalwareScanSettingsCommandOutput > | void {
1381
+ const command = new GetMalwareScanSettingsCommand ( args ) ;
1382
+ if ( typeof optionsOrCb === "function" ) {
1383
+ this . send ( command , optionsOrCb ) ;
1384
+ } else if ( typeof cb === "function" ) {
1385
+ if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb } ` ) ;
1386
+ this . send ( command , optionsOrCb || { } , cb ) ;
1387
+ } else {
1388
+ return this . send ( command , optionsOrCb ) ;
1389
+ }
1390
+ }
1391
+
1313
1392
/**
1314
1393
* @deprecated
1315
1394
*
@@ -2121,6 +2200,38 @@ export class GuardDuty extends GuardDutyClient {
2121
2200
}
2122
2201
}
2123
2202
2203
+ /**
2204
+ * <p>Updates the malware scan settings.</p>
2205
+ */
2206
+ public updateMalwareScanSettings (
2207
+ args : UpdateMalwareScanSettingsCommandInput ,
2208
+ options ?: __HttpHandlerOptions
2209
+ ) : Promise < UpdateMalwareScanSettingsCommandOutput > ;
2210
+ public updateMalwareScanSettings (
2211
+ args : UpdateMalwareScanSettingsCommandInput ,
2212
+ cb : ( err : any , data ?: UpdateMalwareScanSettingsCommandOutput ) => void
2213
+ ) : void ;
2214
+ public updateMalwareScanSettings (
2215
+ args : UpdateMalwareScanSettingsCommandInput ,
2216
+ options : __HttpHandlerOptions ,
2217
+ cb : ( err : any , data ?: UpdateMalwareScanSettingsCommandOutput ) => void
2218
+ ) : void ;
2219
+ public updateMalwareScanSettings (
2220
+ args : UpdateMalwareScanSettingsCommandInput ,
2221
+ optionsOrCb ?: __HttpHandlerOptions | ( ( err : any , data ?: UpdateMalwareScanSettingsCommandOutput ) => void ) ,
2222
+ cb ?: ( err : any , data ?: UpdateMalwareScanSettingsCommandOutput ) => void
2223
+ ) : Promise < UpdateMalwareScanSettingsCommandOutput > | void {
2224
+ const command = new UpdateMalwareScanSettingsCommand ( args ) ;
2225
+ if ( typeof optionsOrCb === "function" ) {
2226
+ this . send ( command , optionsOrCb ) ;
2227
+ } else if ( typeof cb === "function" ) {
2228
+ if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb } ` ) ;
2229
+ this . send ( command , optionsOrCb || { } , cb ) ;
2230
+ } else {
2231
+ return this . send ( command , optionsOrCb ) ;
2232
+ }
2233
+ }
2234
+
2124
2235
/**
2125
2236
* <p>Contains information on member accounts to be updated.</p>
2126
2237
*/
0 commit comments