@aws-sdk/client-guardduty 3.932.0 → 3.933.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -0
- package/dist-cjs/index.js +73 -0
- package/dist-es/GuardDuty.js +2 -0
- package/dist-es/commands/SendObjectMalwareScanCommand.js +16 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/schemas/schemas_0.js +59 -0
- package/dist-types/GuardDuty.d.ts +8 -0
- package/dist-types/GuardDutyClient.d.ts +3 -2
- package/dist-types/commands/SendObjectMalwareScanCommand.d.ts +87 -0
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_1.d.ts +36 -0
- package/dist-types/schemas/schemas_0.d.ts +4 -0
- package/dist-types/ts3.4/GuardDuty.d.ts +18 -0
- package/dist-types/ts3.4/GuardDutyClient.d.ts +6 -0
- package/dist-types/ts3.4/commands/SendObjectMalwareScanCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_1.d.ts +9 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +4 -0
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -749,6 +749,14 @@ ListTrustedEntitySets
|
|
|
749
749
|
|
|
750
750
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/guardduty/command/ListTrustedEntitySetsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-guardduty/Interface/ListTrustedEntitySetsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-guardduty/Interface/ListTrustedEntitySetsCommandOutput/)
|
|
751
751
|
|
|
752
|
+
</details>
|
|
753
|
+
<details>
|
|
754
|
+
<summary>
|
|
755
|
+
SendObjectMalwareScan
|
|
756
|
+
</summary>
|
|
757
|
+
|
|
758
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/guardduty/command/SendObjectMalwareScanCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-guardduty/Interface/SendObjectMalwareScanCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-guardduty/Interface/SendObjectMalwareScanCommandOutput/)
|
|
759
|
+
|
|
752
760
|
</details>
|
|
753
761
|
<details>
|
|
754
762
|
<summary>
|
package/dist-cjs/index.js
CHANGED
|
@@ -668,6 +668,7 @@ const _BPAu = "BucketPublicAccess";
|
|
|
668
668
|
const _BPP = "BlockPublicPolicy";
|
|
669
669
|
const _BRE = "BadRequestException";
|
|
670
670
|
const _Bl = "Blocked";
|
|
671
|
+
const _Bu = "Bucket";
|
|
671
672
|
const _C = "City";
|
|
672
673
|
const _CA = "ClusterArn";
|
|
673
674
|
const _CAr = "CreatedAt";
|
|
@@ -1366,6 +1367,10 @@ const _SNe = "SessionName";
|
|
|
1366
1367
|
const _SO = "S3Object";
|
|
1367
1368
|
const _SOD = "S3ObjectDetails";
|
|
1368
1369
|
const _SODb = "S3ObjectDetail";
|
|
1370
|
+
const _SOFSOMS = "S3ObjectForSendObjectMalwareScan";
|
|
1371
|
+
const _SOMS = "SendObjectMalwareScan";
|
|
1372
|
+
const _SOMSR = "SendObjectMalwareScanRequest";
|
|
1373
|
+
const _SOMSRe = "SendObjectMalwareScanResponse";
|
|
1369
1374
|
const _SOU = "S3ObjectUids";
|
|
1370
1375
|
const _SP = "ScriptPath";
|
|
1371
1376
|
const _SPo = "SocketPath";
|
|
@@ -1600,6 +1605,7 @@ const _bPAl = "blockPublicAcls";
|
|
|
1600
1605
|
const _bPAu = "bucketPublicAccess";
|
|
1601
1606
|
const _bPP = "blockPublicPolicy";
|
|
1602
1607
|
const _bl = "blocked";
|
|
1608
|
+
const _bu = "bucket";
|
|
1603
1609
|
const _c = "client";
|
|
1604
1610
|
const _cA = "clusterArn";
|
|
1605
1611
|
const _cAr = "createdAt";
|
|
@@ -10719,6 +10725,33 @@ var S3ObjectDetail = [
|
|
|
10719
10725
|
],
|
|
10720
10726
|
],
|
|
10721
10727
|
];
|
|
10728
|
+
var S3ObjectForSendObjectMalwareScan = [
|
|
10729
|
+
3,
|
|
10730
|
+
n0,
|
|
10731
|
+
_SOFSOMS,
|
|
10732
|
+
0,
|
|
10733
|
+
[_Bu, _Ke, _VIe],
|
|
10734
|
+
[
|
|
10735
|
+
[
|
|
10736
|
+
0,
|
|
10737
|
+
{
|
|
10738
|
+
[_jN]: _bu,
|
|
10739
|
+
},
|
|
10740
|
+
],
|
|
10741
|
+
[
|
|
10742
|
+
0,
|
|
10743
|
+
{
|
|
10744
|
+
[_jN]: _ke,
|
|
10745
|
+
},
|
|
10746
|
+
],
|
|
10747
|
+
[
|
|
10748
|
+
0,
|
|
10749
|
+
{
|
|
10750
|
+
[_jN]: _vIe,
|
|
10751
|
+
},
|
|
10752
|
+
],
|
|
10753
|
+
],
|
|
10754
|
+
];
|
|
10722
10755
|
var Scan = [
|
|
10723
10756
|
3,
|
|
10724
10757
|
n0,
|
|
@@ -11088,6 +11121,22 @@ var SecurityGroup = [
|
|
|
11088
11121
|
],
|
|
11089
11122
|
],
|
|
11090
11123
|
];
|
|
11124
|
+
var SendObjectMalwareScanRequest = [
|
|
11125
|
+
3,
|
|
11126
|
+
n0,
|
|
11127
|
+
_SOMSR,
|
|
11128
|
+
0,
|
|
11129
|
+
[_SO],
|
|
11130
|
+
[
|
|
11131
|
+
[
|
|
11132
|
+
() => S3ObjectForSendObjectMalwareScan,
|
|
11133
|
+
{
|
|
11134
|
+
[_jN]: _sO,
|
|
11135
|
+
},
|
|
11136
|
+
],
|
|
11137
|
+
],
|
|
11138
|
+
];
|
|
11139
|
+
var SendObjectMalwareScanResponse = [3, n0, _SOMSRe, 0, [], []];
|
|
11091
11140
|
var Sequence = [
|
|
11092
11141
|
3,
|
|
11093
11142
|
n0,
|
|
@@ -13558,6 +13607,16 @@ var ListTrustedEntitySets = [
|
|
|
13558
13607
|
() => ListTrustedEntitySetsRequest,
|
|
13559
13608
|
() => ListTrustedEntitySetsResponse,
|
|
13560
13609
|
];
|
|
13610
|
+
var SendObjectMalwareScan = [
|
|
13611
|
+
9,
|
|
13612
|
+
n0,
|
|
13613
|
+
_SOMS,
|
|
13614
|
+
{
|
|
13615
|
+
[_ht]: ["POST", "/object-malware-scan/send", 200],
|
|
13616
|
+
},
|
|
13617
|
+
() => SendObjectMalwareScanRequest,
|
|
13618
|
+
() => SendObjectMalwareScanResponse,
|
|
13619
|
+
];
|
|
13561
13620
|
var StartMalwareScan = [
|
|
13562
13621
|
9,
|
|
13563
13622
|
n0,
|
|
@@ -14531,6 +14590,18 @@ class ListTrustedEntitySetsCommand extends smithyClient.Command
|
|
|
14531
14590
|
.build() {
|
|
14532
14591
|
}
|
|
14533
14592
|
|
|
14593
|
+
class SendObjectMalwareScanCommand extends smithyClient.Command
|
|
14594
|
+
.classBuilder()
|
|
14595
|
+
.ep(commonParams)
|
|
14596
|
+
.m(function (Command, cs, config, o) {
|
|
14597
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
14598
|
+
})
|
|
14599
|
+
.s("GuardDutyAPIService", "SendObjectMalwareScan", {})
|
|
14600
|
+
.n("GuardDutyClient", "SendObjectMalwareScanCommand")
|
|
14601
|
+
.sc(SendObjectMalwareScan)
|
|
14602
|
+
.build() {
|
|
14603
|
+
}
|
|
14604
|
+
|
|
14534
14605
|
class StartMalwareScanCommand extends smithyClient.Command
|
|
14535
14606
|
.classBuilder()
|
|
14536
14607
|
.ep(commonParams)
|
|
@@ -14814,6 +14885,7 @@ const commands = {
|
|
|
14814
14885
|
ListThreatEntitySetsCommand,
|
|
14815
14886
|
ListThreatIntelSetsCommand,
|
|
14816
14887
|
ListTrustedEntitySetsCommand,
|
|
14888
|
+
SendObjectMalwareScanCommand,
|
|
14817
14889
|
StartMalwareScanCommand,
|
|
14818
14890
|
StartMonitoringMembersCommand,
|
|
14819
14891
|
StopMonitoringMembersCommand,
|
|
@@ -14997,6 +15069,7 @@ exports.ScanCriterionKey = ScanCriterionKey;
|
|
|
14997
15069
|
exports.ScanResult = ScanResult;
|
|
14998
15070
|
exports.ScanStatus = ScanStatus;
|
|
14999
15071
|
exports.ScanType = ScanType;
|
|
15072
|
+
exports.SendObjectMalwareScanCommand = SendObjectMalwareScanCommand;
|
|
15000
15073
|
exports.SignalType = SignalType;
|
|
15001
15074
|
exports.StartMalwareScanCommand = StartMalwareScanCommand;
|
|
15002
15075
|
exports.StartMonitoringMembersCommand = StartMonitoringMembersCommand;
|
package/dist-es/GuardDuty.js
CHANGED
|
@@ -65,6 +65,7 @@ import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceComma
|
|
|
65
65
|
import { ListThreatEntitySetsCommand, } from "./commands/ListThreatEntitySetsCommand";
|
|
66
66
|
import { ListThreatIntelSetsCommand, } from "./commands/ListThreatIntelSetsCommand";
|
|
67
67
|
import { ListTrustedEntitySetsCommand, } from "./commands/ListTrustedEntitySetsCommand";
|
|
68
|
+
import { SendObjectMalwareScanCommand, } from "./commands/SendObjectMalwareScanCommand";
|
|
68
69
|
import { StartMalwareScanCommand, } from "./commands/StartMalwareScanCommand";
|
|
69
70
|
import { StartMonitoringMembersCommand, } from "./commands/StartMonitoringMembersCommand";
|
|
70
71
|
import { StopMonitoringMembersCommand, } from "./commands/StopMonitoringMembersCommand";
|
|
@@ -151,6 +152,7 @@ const commands = {
|
|
|
151
152
|
ListThreatEntitySetsCommand,
|
|
152
153
|
ListThreatIntelSetsCommand,
|
|
153
154
|
ListTrustedEntitySetsCommand,
|
|
155
|
+
SendObjectMalwareScanCommand,
|
|
154
156
|
StartMalwareScanCommand,
|
|
155
157
|
StartMonitoringMembersCommand,
|
|
156
158
|
StopMonitoringMembersCommand,
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { SendObjectMalwareScan } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class SendObjectMalwareScanCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("GuardDutyAPIService", "SendObjectMalwareScan", {})
|
|
13
|
+
.n("GuardDutyClient", "SendObjectMalwareScanCommand")
|
|
14
|
+
.sc(SendObjectMalwareScan)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -64,6 +64,7 @@ export * from "./ListTagsForResourceCommand";
|
|
|
64
64
|
export * from "./ListThreatEntitySetsCommand";
|
|
65
65
|
export * from "./ListThreatIntelSetsCommand";
|
|
66
66
|
export * from "./ListTrustedEntitySetsCommand";
|
|
67
|
+
export * from "./SendObjectMalwareScanCommand";
|
|
67
68
|
export * from "./StartMalwareScanCommand";
|
|
68
69
|
export * from "./StartMonitoringMembersCommand";
|
|
69
70
|
export * from "./StopMonitoringMembersCommand";
|
|
@@ -88,6 +88,7 @@ const _BPAu = "BucketPublicAccess";
|
|
|
88
88
|
const _BPP = "BlockPublicPolicy";
|
|
89
89
|
const _BRE = "BadRequestException";
|
|
90
90
|
const _Bl = "Blocked";
|
|
91
|
+
const _Bu = "Bucket";
|
|
91
92
|
const _C = "City";
|
|
92
93
|
const _CA = "ClusterArn";
|
|
93
94
|
const _CAr = "CreatedAt";
|
|
@@ -786,6 +787,10 @@ const _SNe = "SessionName";
|
|
|
786
787
|
const _SO = "S3Object";
|
|
787
788
|
const _SOD = "S3ObjectDetails";
|
|
788
789
|
const _SODb = "S3ObjectDetail";
|
|
790
|
+
const _SOFSOMS = "S3ObjectForSendObjectMalwareScan";
|
|
791
|
+
const _SOMS = "SendObjectMalwareScan";
|
|
792
|
+
const _SOMSR = "SendObjectMalwareScanRequest";
|
|
793
|
+
const _SOMSRe = "SendObjectMalwareScanResponse";
|
|
789
794
|
const _SOU = "S3ObjectUids";
|
|
790
795
|
const _SP = "ScriptPath";
|
|
791
796
|
const _SPo = "SocketPath";
|
|
@@ -1020,6 +1025,7 @@ const _bPAl = "blockPublicAcls";
|
|
|
1020
1025
|
const _bPAu = "bucketPublicAccess";
|
|
1021
1026
|
const _bPP = "blockPublicPolicy";
|
|
1022
1027
|
const _bl = "blocked";
|
|
1028
|
+
const _bu = "bucket";
|
|
1023
1029
|
const _c = "client";
|
|
1024
1030
|
const _cA = "clusterArn";
|
|
1025
1031
|
const _cAr = "createdAt";
|
|
@@ -10142,6 +10148,33 @@ export var S3ObjectDetail = [
|
|
|
10142
10148
|
],
|
|
10143
10149
|
],
|
|
10144
10150
|
];
|
|
10151
|
+
export var S3ObjectForSendObjectMalwareScan = [
|
|
10152
|
+
3,
|
|
10153
|
+
n0,
|
|
10154
|
+
_SOFSOMS,
|
|
10155
|
+
0,
|
|
10156
|
+
[_Bu, _Ke, _VIe],
|
|
10157
|
+
[
|
|
10158
|
+
[
|
|
10159
|
+
0,
|
|
10160
|
+
{
|
|
10161
|
+
[_jN]: _bu,
|
|
10162
|
+
},
|
|
10163
|
+
],
|
|
10164
|
+
[
|
|
10165
|
+
0,
|
|
10166
|
+
{
|
|
10167
|
+
[_jN]: _ke,
|
|
10168
|
+
},
|
|
10169
|
+
],
|
|
10170
|
+
[
|
|
10171
|
+
0,
|
|
10172
|
+
{
|
|
10173
|
+
[_jN]: _vIe,
|
|
10174
|
+
},
|
|
10175
|
+
],
|
|
10176
|
+
],
|
|
10177
|
+
];
|
|
10145
10178
|
export var Scan = [
|
|
10146
10179
|
3,
|
|
10147
10180
|
n0,
|
|
@@ -10511,6 +10544,22 @@ export var SecurityGroup = [
|
|
|
10511
10544
|
],
|
|
10512
10545
|
],
|
|
10513
10546
|
];
|
|
10547
|
+
export var SendObjectMalwareScanRequest = [
|
|
10548
|
+
3,
|
|
10549
|
+
n0,
|
|
10550
|
+
_SOMSR,
|
|
10551
|
+
0,
|
|
10552
|
+
[_SO],
|
|
10553
|
+
[
|
|
10554
|
+
[
|
|
10555
|
+
() => S3ObjectForSendObjectMalwareScan,
|
|
10556
|
+
{
|
|
10557
|
+
[_jN]: _sO,
|
|
10558
|
+
},
|
|
10559
|
+
],
|
|
10560
|
+
],
|
|
10561
|
+
];
|
|
10562
|
+
export var SendObjectMalwareScanResponse = [3, n0, _SOMSRe, 0, [], []];
|
|
10514
10563
|
export var Sequence = [
|
|
10515
10564
|
3,
|
|
10516
10565
|
n0,
|
|
@@ -13026,6 +13075,16 @@ export var ListTrustedEntitySets = [
|
|
|
13026
13075
|
() => ListTrustedEntitySetsRequest,
|
|
13027
13076
|
() => ListTrustedEntitySetsResponse,
|
|
13028
13077
|
];
|
|
13078
|
+
export var SendObjectMalwareScan = [
|
|
13079
|
+
9,
|
|
13080
|
+
n0,
|
|
13081
|
+
_SOMS,
|
|
13082
|
+
{
|
|
13083
|
+
[_ht]: ["POST", "/object-malware-scan/send", 200],
|
|
13084
|
+
},
|
|
13085
|
+
() => SendObjectMalwareScanRequest,
|
|
13086
|
+
() => SendObjectMalwareScanResponse,
|
|
13087
|
+
];
|
|
13029
13088
|
export var StartMalwareScan = [
|
|
13030
13089
|
9,
|
|
13031
13090
|
n0,
|
|
@@ -65,6 +65,7 @@ import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } fro
|
|
|
65
65
|
import { ListThreatEntitySetsCommandInput, ListThreatEntitySetsCommandOutput } from "./commands/ListThreatEntitySetsCommand";
|
|
66
66
|
import { ListThreatIntelSetsCommandInput, ListThreatIntelSetsCommandOutput } from "./commands/ListThreatIntelSetsCommand";
|
|
67
67
|
import { ListTrustedEntitySetsCommandInput, ListTrustedEntitySetsCommandOutput } from "./commands/ListTrustedEntitySetsCommand";
|
|
68
|
+
import { SendObjectMalwareScanCommandInput, SendObjectMalwareScanCommandOutput } from "./commands/SendObjectMalwareScanCommand";
|
|
68
69
|
import { StartMalwareScanCommandInput, StartMalwareScanCommandOutput } from "./commands/StartMalwareScanCommand";
|
|
69
70
|
import { StartMonitoringMembersCommandInput, StartMonitoringMembersCommandOutput } from "./commands/StartMonitoringMembersCommand";
|
|
70
71
|
import { StopMonitoringMembersCommandInput, StopMonitoringMembersCommandOutput } from "./commands/StopMonitoringMembersCommand";
|
|
@@ -487,6 +488,13 @@ export interface GuardDuty {
|
|
|
487
488
|
listTrustedEntitySets(args: ListTrustedEntitySetsCommandInput, options?: __HttpHandlerOptions): Promise<ListTrustedEntitySetsCommandOutput>;
|
|
488
489
|
listTrustedEntitySets(args: ListTrustedEntitySetsCommandInput, cb: (err: any, data?: ListTrustedEntitySetsCommandOutput) => void): void;
|
|
489
490
|
listTrustedEntitySets(args: ListTrustedEntitySetsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTrustedEntitySetsCommandOutput) => void): void;
|
|
491
|
+
/**
|
|
492
|
+
* @see {@link SendObjectMalwareScanCommand}
|
|
493
|
+
*/
|
|
494
|
+
sendObjectMalwareScan(): Promise<SendObjectMalwareScanCommandOutput>;
|
|
495
|
+
sendObjectMalwareScan(args: SendObjectMalwareScanCommandInput, options?: __HttpHandlerOptions): Promise<SendObjectMalwareScanCommandOutput>;
|
|
496
|
+
sendObjectMalwareScan(args: SendObjectMalwareScanCommandInput, cb: (err: any, data?: SendObjectMalwareScanCommandOutput) => void): void;
|
|
497
|
+
sendObjectMalwareScan(args: SendObjectMalwareScanCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SendObjectMalwareScanCommandOutput) => void): void;
|
|
490
498
|
/**
|
|
491
499
|
* @see {@link StartMalwareScanCommand}
|
|
492
500
|
*/
|
|
@@ -73,6 +73,7 @@ import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } fro
|
|
|
73
73
|
import { ListThreatEntitySetsCommandInput, ListThreatEntitySetsCommandOutput } from "./commands/ListThreatEntitySetsCommand";
|
|
74
74
|
import { ListThreatIntelSetsCommandInput, ListThreatIntelSetsCommandOutput } from "./commands/ListThreatIntelSetsCommand";
|
|
75
75
|
import { ListTrustedEntitySetsCommandInput, ListTrustedEntitySetsCommandOutput } from "./commands/ListTrustedEntitySetsCommand";
|
|
76
|
+
import { SendObjectMalwareScanCommandInput, SendObjectMalwareScanCommandOutput } from "./commands/SendObjectMalwareScanCommand";
|
|
76
77
|
import { StartMalwareScanCommandInput, StartMalwareScanCommandOutput } from "./commands/StartMalwareScanCommand";
|
|
77
78
|
import { StartMonitoringMembersCommandInput, StartMonitoringMembersCommandOutput } from "./commands/StartMonitoringMembersCommand";
|
|
78
79
|
import { StopMonitoringMembersCommandInput, StopMonitoringMembersCommandOutput } from "./commands/StopMonitoringMembersCommand";
|
|
@@ -97,11 +98,11 @@ export { __Client };
|
|
|
97
98
|
/**
|
|
98
99
|
* @public
|
|
99
100
|
*/
|
|
100
|
-
export type ServiceInputTypes = AcceptAdministratorInvitationCommandInput | AcceptInvitationCommandInput | ArchiveFindingsCommandInput | CreateDetectorCommandInput | CreateFilterCommandInput | CreateIPSetCommandInput | CreateMalwareProtectionPlanCommandInput | CreateMembersCommandInput | CreatePublishingDestinationCommandInput | CreateSampleFindingsCommandInput | CreateThreatEntitySetCommandInput | CreateThreatIntelSetCommandInput | CreateTrustedEntitySetCommandInput | DeclineInvitationsCommandInput | DeleteDetectorCommandInput | DeleteFilterCommandInput | DeleteIPSetCommandInput | DeleteInvitationsCommandInput | DeleteMalwareProtectionPlanCommandInput | DeleteMembersCommandInput | DeletePublishingDestinationCommandInput | DeleteThreatEntitySetCommandInput | DeleteThreatIntelSetCommandInput | DeleteTrustedEntitySetCommandInput | DescribeMalwareScansCommandInput | DescribeOrganizationConfigurationCommandInput | DescribePublishingDestinationCommandInput | DisableOrganizationAdminAccountCommandInput | DisassociateFromAdministratorAccountCommandInput | DisassociateFromMasterAccountCommandInput | DisassociateMembersCommandInput | EnableOrganizationAdminAccountCommandInput | GetAdministratorAccountCommandInput | GetCoverageStatisticsCommandInput | GetDetectorCommandInput | GetFilterCommandInput | GetFindingsCommandInput | GetFindingsStatisticsCommandInput | GetIPSetCommandInput | GetInvitationsCountCommandInput | GetMalwareProtectionPlanCommandInput | GetMalwareScanSettingsCommandInput | GetMasterAccountCommandInput | GetMemberDetectorsCommandInput | GetMembersCommandInput | GetOrganizationStatisticsCommandInput | GetRemainingFreeTrialDaysCommandInput | GetThreatEntitySetCommandInput | GetThreatIntelSetCommandInput | GetTrustedEntitySetCommandInput | GetUsageStatisticsCommandInput | InviteMembersCommandInput | ListCoverageCommandInput | ListDetectorsCommandInput | ListFiltersCommandInput | ListFindingsCommandInput | ListIPSetsCommandInput | ListInvitationsCommandInput | ListMalwareProtectionPlansCommandInput | ListMembersCommandInput | ListOrganizationAdminAccountsCommandInput | ListPublishingDestinationsCommandInput | ListTagsForResourceCommandInput | ListThreatEntitySetsCommandInput | ListThreatIntelSetsCommandInput | ListTrustedEntitySetsCommandInput | StartMalwareScanCommandInput | StartMonitoringMembersCommandInput | StopMonitoringMembersCommandInput | TagResourceCommandInput | UnarchiveFindingsCommandInput | UntagResourceCommandInput | UpdateDetectorCommandInput | UpdateFilterCommandInput | UpdateFindingsFeedbackCommandInput | UpdateIPSetCommandInput | UpdateMalwareProtectionPlanCommandInput | UpdateMalwareScanSettingsCommandInput | UpdateMemberDetectorsCommandInput | UpdateOrganizationConfigurationCommandInput | UpdatePublishingDestinationCommandInput | UpdateThreatEntitySetCommandInput | UpdateThreatIntelSetCommandInput | UpdateTrustedEntitySetCommandInput;
|
|
101
|
+
export type ServiceInputTypes = AcceptAdministratorInvitationCommandInput | AcceptInvitationCommandInput | ArchiveFindingsCommandInput | CreateDetectorCommandInput | CreateFilterCommandInput | CreateIPSetCommandInput | CreateMalwareProtectionPlanCommandInput | CreateMembersCommandInput | CreatePublishingDestinationCommandInput | CreateSampleFindingsCommandInput | CreateThreatEntitySetCommandInput | CreateThreatIntelSetCommandInput | CreateTrustedEntitySetCommandInput | DeclineInvitationsCommandInput | DeleteDetectorCommandInput | DeleteFilterCommandInput | DeleteIPSetCommandInput | DeleteInvitationsCommandInput | DeleteMalwareProtectionPlanCommandInput | DeleteMembersCommandInput | DeletePublishingDestinationCommandInput | DeleteThreatEntitySetCommandInput | DeleteThreatIntelSetCommandInput | DeleteTrustedEntitySetCommandInput | DescribeMalwareScansCommandInput | DescribeOrganizationConfigurationCommandInput | DescribePublishingDestinationCommandInput | DisableOrganizationAdminAccountCommandInput | DisassociateFromAdministratorAccountCommandInput | DisassociateFromMasterAccountCommandInput | DisassociateMembersCommandInput | EnableOrganizationAdminAccountCommandInput | GetAdministratorAccountCommandInput | GetCoverageStatisticsCommandInput | GetDetectorCommandInput | GetFilterCommandInput | GetFindingsCommandInput | GetFindingsStatisticsCommandInput | GetIPSetCommandInput | GetInvitationsCountCommandInput | GetMalwareProtectionPlanCommandInput | GetMalwareScanSettingsCommandInput | GetMasterAccountCommandInput | GetMemberDetectorsCommandInput | GetMembersCommandInput | GetOrganizationStatisticsCommandInput | GetRemainingFreeTrialDaysCommandInput | GetThreatEntitySetCommandInput | GetThreatIntelSetCommandInput | GetTrustedEntitySetCommandInput | GetUsageStatisticsCommandInput | InviteMembersCommandInput | ListCoverageCommandInput | ListDetectorsCommandInput | ListFiltersCommandInput | ListFindingsCommandInput | ListIPSetsCommandInput | ListInvitationsCommandInput | ListMalwareProtectionPlansCommandInput | ListMembersCommandInput | ListOrganizationAdminAccountsCommandInput | ListPublishingDestinationsCommandInput | ListTagsForResourceCommandInput | ListThreatEntitySetsCommandInput | ListThreatIntelSetsCommandInput | ListTrustedEntitySetsCommandInput | SendObjectMalwareScanCommandInput | StartMalwareScanCommandInput | StartMonitoringMembersCommandInput | StopMonitoringMembersCommandInput | TagResourceCommandInput | UnarchiveFindingsCommandInput | UntagResourceCommandInput | UpdateDetectorCommandInput | UpdateFilterCommandInput | UpdateFindingsFeedbackCommandInput | UpdateIPSetCommandInput | UpdateMalwareProtectionPlanCommandInput | UpdateMalwareScanSettingsCommandInput | UpdateMemberDetectorsCommandInput | UpdateOrganizationConfigurationCommandInput | UpdatePublishingDestinationCommandInput | UpdateThreatEntitySetCommandInput | UpdateThreatIntelSetCommandInput | UpdateTrustedEntitySetCommandInput;
|
|
101
102
|
/**
|
|
102
103
|
* @public
|
|
103
104
|
*/
|
|
104
|
-
export type ServiceOutputTypes = AcceptAdministratorInvitationCommandOutput | AcceptInvitationCommandOutput | ArchiveFindingsCommandOutput | CreateDetectorCommandOutput | CreateFilterCommandOutput | CreateIPSetCommandOutput | CreateMalwareProtectionPlanCommandOutput | CreateMembersCommandOutput | CreatePublishingDestinationCommandOutput | CreateSampleFindingsCommandOutput | CreateThreatEntitySetCommandOutput | CreateThreatIntelSetCommandOutput | CreateTrustedEntitySetCommandOutput | DeclineInvitationsCommandOutput | DeleteDetectorCommandOutput | DeleteFilterCommandOutput | DeleteIPSetCommandOutput | DeleteInvitationsCommandOutput | DeleteMalwareProtectionPlanCommandOutput | DeleteMembersCommandOutput | DeletePublishingDestinationCommandOutput | DeleteThreatEntitySetCommandOutput | DeleteThreatIntelSetCommandOutput | DeleteTrustedEntitySetCommandOutput | DescribeMalwareScansCommandOutput | DescribeOrganizationConfigurationCommandOutput | DescribePublishingDestinationCommandOutput | DisableOrganizationAdminAccountCommandOutput | DisassociateFromAdministratorAccountCommandOutput | DisassociateFromMasterAccountCommandOutput | DisassociateMembersCommandOutput | EnableOrganizationAdminAccountCommandOutput | GetAdministratorAccountCommandOutput | GetCoverageStatisticsCommandOutput | GetDetectorCommandOutput | GetFilterCommandOutput | GetFindingsCommandOutput | GetFindingsStatisticsCommandOutput | GetIPSetCommandOutput | GetInvitationsCountCommandOutput | GetMalwareProtectionPlanCommandOutput | GetMalwareScanSettingsCommandOutput | GetMasterAccountCommandOutput | GetMemberDetectorsCommandOutput | GetMembersCommandOutput | GetOrganizationStatisticsCommandOutput | GetRemainingFreeTrialDaysCommandOutput | GetThreatEntitySetCommandOutput | GetThreatIntelSetCommandOutput | GetTrustedEntitySetCommandOutput | GetUsageStatisticsCommandOutput | InviteMembersCommandOutput | ListCoverageCommandOutput | ListDetectorsCommandOutput | ListFiltersCommandOutput | ListFindingsCommandOutput | ListIPSetsCommandOutput | ListInvitationsCommandOutput | ListMalwareProtectionPlansCommandOutput | ListMembersCommandOutput | ListOrganizationAdminAccountsCommandOutput | ListPublishingDestinationsCommandOutput | ListTagsForResourceCommandOutput | ListThreatEntitySetsCommandOutput | ListThreatIntelSetsCommandOutput | ListTrustedEntitySetsCommandOutput | StartMalwareScanCommandOutput | StartMonitoringMembersCommandOutput | StopMonitoringMembersCommandOutput | TagResourceCommandOutput | UnarchiveFindingsCommandOutput | UntagResourceCommandOutput | UpdateDetectorCommandOutput | UpdateFilterCommandOutput | UpdateFindingsFeedbackCommandOutput | UpdateIPSetCommandOutput | UpdateMalwareProtectionPlanCommandOutput | UpdateMalwareScanSettingsCommandOutput | UpdateMemberDetectorsCommandOutput | UpdateOrganizationConfigurationCommandOutput | UpdatePublishingDestinationCommandOutput | UpdateThreatEntitySetCommandOutput | UpdateThreatIntelSetCommandOutput | UpdateTrustedEntitySetCommandOutput;
|
|
105
|
+
export type ServiceOutputTypes = AcceptAdministratorInvitationCommandOutput | AcceptInvitationCommandOutput | ArchiveFindingsCommandOutput | CreateDetectorCommandOutput | CreateFilterCommandOutput | CreateIPSetCommandOutput | CreateMalwareProtectionPlanCommandOutput | CreateMembersCommandOutput | CreatePublishingDestinationCommandOutput | CreateSampleFindingsCommandOutput | CreateThreatEntitySetCommandOutput | CreateThreatIntelSetCommandOutput | CreateTrustedEntitySetCommandOutput | DeclineInvitationsCommandOutput | DeleteDetectorCommandOutput | DeleteFilterCommandOutput | DeleteIPSetCommandOutput | DeleteInvitationsCommandOutput | DeleteMalwareProtectionPlanCommandOutput | DeleteMembersCommandOutput | DeletePublishingDestinationCommandOutput | DeleteThreatEntitySetCommandOutput | DeleteThreatIntelSetCommandOutput | DeleteTrustedEntitySetCommandOutput | DescribeMalwareScansCommandOutput | DescribeOrganizationConfigurationCommandOutput | DescribePublishingDestinationCommandOutput | DisableOrganizationAdminAccountCommandOutput | DisassociateFromAdministratorAccountCommandOutput | DisassociateFromMasterAccountCommandOutput | DisassociateMembersCommandOutput | EnableOrganizationAdminAccountCommandOutput | GetAdministratorAccountCommandOutput | GetCoverageStatisticsCommandOutput | GetDetectorCommandOutput | GetFilterCommandOutput | GetFindingsCommandOutput | GetFindingsStatisticsCommandOutput | GetIPSetCommandOutput | GetInvitationsCountCommandOutput | GetMalwareProtectionPlanCommandOutput | GetMalwareScanSettingsCommandOutput | GetMasterAccountCommandOutput | GetMemberDetectorsCommandOutput | GetMembersCommandOutput | GetOrganizationStatisticsCommandOutput | GetRemainingFreeTrialDaysCommandOutput | GetThreatEntitySetCommandOutput | GetThreatIntelSetCommandOutput | GetTrustedEntitySetCommandOutput | GetUsageStatisticsCommandOutput | InviteMembersCommandOutput | ListCoverageCommandOutput | ListDetectorsCommandOutput | ListFiltersCommandOutput | ListFindingsCommandOutput | ListIPSetsCommandOutput | ListInvitationsCommandOutput | ListMalwareProtectionPlansCommandOutput | ListMembersCommandOutput | ListOrganizationAdminAccountsCommandOutput | ListPublishingDestinationsCommandOutput | ListTagsForResourceCommandOutput | ListThreatEntitySetsCommandOutput | ListThreatIntelSetsCommandOutput | ListTrustedEntitySetsCommandOutput | SendObjectMalwareScanCommandOutput | StartMalwareScanCommandOutput | StartMonitoringMembersCommandOutput | StopMonitoringMembersCommandOutput | TagResourceCommandOutput | UnarchiveFindingsCommandOutput | UntagResourceCommandOutput | UpdateDetectorCommandOutput | UpdateFilterCommandOutput | UpdateFindingsFeedbackCommandOutput | UpdateIPSetCommandOutput | UpdateMalwareProtectionPlanCommandOutput | UpdateMalwareScanSettingsCommandOutput | UpdateMemberDetectorsCommandOutput | UpdateOrganizationConfigurationCommandOutput | UpdatePublishingDestinationCommandOutput | UpdateThreatEntitySetCommandOutput | UpdateThreatIntelSetCommandOutput | UpdateTrustedEntitySetCommandOutput;
|
|
105
106
|
/**
|
|
106
107
|
* @public
|
|
107
108
|
*/
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { GuardDutyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GuardDutyClient";
|
|
4
|
+
import { SendObjectMalwareScanRequest, SendObjectMalwareScanResponse } from "../models/models_1";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link SendObjectMalwareScanCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface SendObjectMalwareScanCommandInput extends SendObjectMalwareScanRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link SendObjectMalwareScanCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface SendObjectMalwareScanCommandOutput extends SendObjectMalwareScanResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const SendObjectMalwareScanCommand_base: {
|
|
25
|
+
new (input: SendObjectMalwareScanCommandInput): import("@smithy/smithy-client").CommandImpl<SendObjectMalwareScanCommandInput, SendObjectMalwareScanCommandOutput, GuardDutyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (...[input]: [] | [SendObjectMalwareScanCommandInput]): import("@smithy/smithy-client").CommandImpl<SendObjectMalwareScanCommandInput, SendObjectMalwareScanCommandOutput, GuardDutyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Initiates a malware scan for a specific S3 object. This API allows you to perform on-demand malware scanning of individual objects in S3 buckets that have Malware Protection for S3 enabled.</p>
|
|
31
|
+
* <p>When you use this API, the Amazon Web Services service terms for GuardDuty Malware
|
|
32
|
+
* Protection apply. For more information, see <a href="http://aws.amazon.com/service-terms/#87._Amazon_GuardDuty">Amazon Web Services service terms for GuardDuty Malware Protection</a>.</p>
|
|
33
|
+
* @example
|
|
34
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
35
|
+
* ```javascript
|
|
36
|
+
* import { GuardDutyClient, SendObjectMalwareScanCommand } from "@aws-sdk/client-guardduty"; // ES Modules import
|
|
37
|
+
* // const { GuardDutyClient, SendObjectMalwareScanCommand } = require("@aws-sdk/client-guardduty"); // CommonJS import
|
|
38
|
+
* // import type { GuardDutyClientConfig } from "@aws-sdk/client-guardduty";
|
|
39
|
+
* const config = {}; // type is GuardDutyClientConfig
|
|
40
|
+
* const client = new GuardDutyClient(config);
|
|
41
|
+
* const input = { // SendObjectMalwareScanRequest
|
|
42
|
+
* S3Object: { // S3ObjectForSendObjectMalwareScan
|
|
43
|
+
* Bucket: "STRING_VALUE",
|
|
44
|
+
* Key: "STRING_VALUE",
|
|
45
|
+
* VersionId: "STRING_VALUE",
|
|
46
|
+
* },
|
|
47
|
+
* };
|
|
48
|
+
* const command = new SendObjectMalwareScanCommand(input);
|
|
49
|
+
* const response = await client.send(command);
|
|
50
|
+
* // {};
|
|
51
|
+
*
|
|
52
|
+
* ```
|
|
53
|
+
*
|
|
54
|
+
* @param SendObjectMalwareScanCommandInput - {@link SendObjectMalwareScanCommandInput}
|
|
55
|
+
* @returns {@link SendObjectMalwareScanCommandOutput}
|
|
56
|
+
* @see {@link SendObjectMalwareScanCommandInput} for command's `input` shape.
|
|
57
|
+
* @see {@link SendObjectMalwareScanCommandOutput} for command's `response` shape.
|
|
58
|
+
* @see {@link GuardDutyClientResolvedConfig | config} for GuardDutyClient's `config` shape.
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
61
|
+
* <p>An access denied exception object.</p>
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link BadRequestException} (client fault)
|
|
64
|
+
* <p>A bad request exception object.</p>
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link InternalServerErrorException} (server fault)
|
|
67
|
+
* <p>An internal server error exception object.</p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link GuardDutyServiceException}
|
|
70
|
+
* <p>Base exception class for all service exceptions from GuardDuty service.</p>
|
|
71
|
+
*
|
|
72
|
+
*
|
|
73
|
+
* @public
|
|
74
|
+
*/
|
|
75
|
+
export declare class SendObjectMalwareScanCommand extends SendObjectMalwareScanCommand_base {
|
|
76
|
+
/** @internal type navigation helper, not in runtime. */
|
|
77
|
+
protected static __types: {
|
|
78
|
+
api: {
|
|
79
|
+
input: SendObjectMalwareScanRequest;
|
|
80
|
+
output: {};
|
|
81
|
+
};
|
|
82
|
+
sdk: {
|
|
83
|
+
input: SendObjectMalwareScanCommandInput;
|
|
84
|
+
output: SendObjectMalwareScanCommandOutput;
|
|
85
|
+
};
|
|
86
|
+
};
|
|
87
|
+
}
|
|
@@ -64,6 +64,7 @@ export * from "./ListTagsForResourceCommand";
|
|
|
64
64
|
export * from "./ListThreatEntitySetsCommand";
|
|
65
65
|
export * from "./ListThreatIntelSetsCommand";
|
|
66
66
|
export * from "./ListTrustedEntitySetsCommand";
|
|
67
|
+
export * from "./SendObjectMalwareScanCommand";
|
|
67
68
|
export * from "./StartMalwareScanCommand";
|
|
68
69
|
export * from "./StartMonitoringMembersCommand";
|
|
69
70
|
export * from "./StopMonitoringMembersCommand";
|
|
@@ -2254,6 +2254,42 @@ export interface ListTrustedEntitySetsResponse {
|
|
|
2254
2254
|
*/
|
|
2255
2255
|
NextToken?: string | undefined;
|
|
2256
2256
|
}
|
|
2257
|
+
/**
|
|
2258
|
+
* <p>The S3 object path to initiate a scan, including bucket name, object key, and optional version ID.</p>
|
|
2259
|
+
* @public
|
|
2260
|
+
*/
|
|
2261
|
+
export interface S3ObjectForSendObjectMalwareScan {
|
|
2262
|
+
/**
|
|
2263
|
+
* <p>The name of the S3 bucket containing the object to scan. The bucket must have GuardDuty Malware Protection enabled.</p>
|
|
2264
|
+
* @public
|
|
2265
|
+
*/
|
|
2266
|
+
Bucket?: string | undefined;
|
|
2267
|
+
/**
|
|
2268
|
+
* <p>The key (name) of the S3 object to scan for malware. This must be the full key path of the object within the bucket.</p>
|
|
2269
|
+
* @public
|
|
2270
|
+
*/
|
|
2271
|
+
Key?: string | undefined;
|
|
2272
|
+
/**
|
|
2273
|
+
* <p>The version ID of the S3 object to scan. If not specified, the latest version of the object is scanned.</p>
|
|
2274
|
+
* @public
|
|
2275
|
+
*/
|
|
2276
|
+
VersionId?: string | undefined;
|
|
2277
|
+
}
|
|
2278
|
+
/**
|
|
2279
|
+
* @public
|
|
2280
|
+
*/
|
|
2281
|
+
export interface SendObjectMalwareScanRequest {
|
|
2282
|
+
/**
|
|
2283
|
+
* <p>The S3 object information for the object you want to scan. The bucket must have a Malware Protection plan configured to use this API.</p>
|
|
2284
|
+
* @public
|
|
2285
|
+
*/
|
|
2286
|
+
S3Object?: S3ObjectForSendObjectMalwareScan | undefined;
|
|
2287
|
+
}
|
|
2288
|
+
/**
|
|
2289
|
+
* @public
|
|
2290
|
+
*/
|
|
2291
|
+
export interface SendObjectMalwareScanResponse {
|
|
2292
|
+
}
|
|
2257
2293
|
/**
|
|
2258
2294
|
* @public
|
|
2259
2295
|
*/
|
|
@@ -314,6 +314,7 @@ export declare var S3LogsConfiguration: StaticStructureSchema;
|
|
|
314
314
|
export declare var S3LogsConfigurationResult: StaticStructureSchema;
|
|
315
315
|
export declare var S3Object: StaticStructureSchema;
|
|
316
316
|
export declare var S3ObjectDetail: StaticStructureSchema;
|
|
317
|
+
export declare var S3ObjectForSendObjectMalwareScan: StaticStructureSchema;
|
|
317
318
|
export declare var Scan: StaticStructureSchema;
|
|
318
319
|
export declare var ScanCondition: StaticStructureSchema;
|
|
319
320
|
export declare var ScanConditionPair: StaticStructureSchema;
|
|
@@ -327,6 +328,8 @@ export declare var ScanResultDetails: StaticStructureSchema;
|
|
|
327
328
|
export declare var ScanThreatName: StaticStructureSchema;
|
|
328
329
|
export declare var SecurityContext: StaticStructureSchema;
|
|
329
330
|
export declare var SecurityGroup: StaticStructureSchema;
|
|
331
|
+
export declare var SendObjectMalwareScanRequest: StaticStructureSchema;
|
|
332
|
+
export declare var SendObjectMalwareScanResponse: StaticStructureSchema;
|
|
330
333
|
export declare var Sequence: StaticStructureSchema;
|
|
331
334
|
export declare var Service: StaticStructureSchema;
|
|
332
335
|
export declare var ServiceAdditionalInfo: StaticStructureSchema;
|
|
@@ -579,6 +582,7 @@ export declare var ListTagsForResource: StaticOperationSchema;
|
|
|
579
582
|
export declare var ListThreatEntitySets: StaticOperationSchema;
|
|
580
583
|
export declare var ListThreatIntelSets: StaticOperationSchema;
|
|
581
584
|
export declare var ListTrustedEntitySets: StaticOperationSchema;
|
|
585
|
+
export declare var SendObjectMalwareScan: StaticOperationSchema;
|
|
582
586
|
export declare var StartMalwareScan: StaticOperationSchema;
|
|
583
587
|
export declare var StartMonitoringMembers: StaticOperationSchema;
|
|
584
588
|
export declare var StopMonitoringMembers: StaticOperationSchema;
|
|
@@ -263,6 +263,10 @@ import {
|
|
|
263
263
|
ListTrustedEntitySetsCommandInput,
|
|
264
264
|
ListTrustedEntitySetsCommandOutput,
|
|
265
265
|
} from "./commands/ListTrustedEntitySetsCommand";
|
|
266
|
+
import {
|
|
267
|
+
SendObjectMalwareScanCommandInput,
|
|
268
|
+
SendObjectMalwareScanCommandOutput,
|
|
269
|
+
} from "./commands/SendObjectMalwareScanCommand";
|
|
266
270
|
import {
|
|
267
271
|
StartMalwareScanCommandInput,
|
|
268
272
|
StartMalwareScanCommandOutput,
|
|
@@ -1213,6 +1217,20 @@ export interface GuardDuty {
|
|
|
1213
1217
|
options: __HttpHandlerOptions,
|
|
1214
1218
|
cb: (err: any, data?: ListTrustedEntitySetsCommandOutput) => void
|
|
1215
1219
|
): void;
|
|
1220
|
+
sendObjectMalwareScan(): Promise<SendObjectMalwareScanCommandOutput>;
|
|
1221
|
+
sendObjectMalwareScan(
|
|
1222
|
+
args: SendObjectMalwareScanCommandInput,
|
|
1223
|
+
options?: __HttpHandlerOptions
|
|
1224
|
+
): Promise<SendObjectMalwareScanCommandOutput>;
|
|
1225
|
+
sendObjectMalwareScan(
|
|
1226
|
+
args: SendObjectMalwareScanCommandInput,
|
|
1227
|
+
cb: (err: any, data?: SendObjectMalwareScanCommandOutput) => void
|
|
1228
|
+
): void;
|
|
1229
|
+
sendObjectMalwareScan(
|
|
1230
|
+
args: SendObjectMalwareScanCommandInput,
|
|
1231
|
+
options: __HttpHandlerOptions,
|
|
1232
|
+
cb: (err: any, data?: SendObjectMalwareScanCommandOutput) => void
|
|
1233
|
+
): void;
|
|
1216
1234
|
startMalwareScan(
|
|
1217
1235
|
args: StartMalwareScanCommandInput,
|
|
1218
1236
|
options?: __HttpHandlerOptions
|
|
@@ -312,6 +312,10 @@ import {
|
|
|
312
312
|
ListTrustedEntitySetsCommandInput,
|
|
313
313
|
ListTrustedEntitySetsCommandOutput,
|
|
314
314
|
} from "./commands/ListTrustedEntitySetsCommand";
|
|
315
|
+
import {
|
|
316
|
+
SendObjectMalwareScanCommandInput,
|
|
317
|
+
SendObjectMalwareScanCommandOutput,
|
|
318
|
+
} from "./commands/SendObjectMalwareScanCommand";
|
|
315
319
|
import {
|
|
316
320
|
StartMalwareScanCommandInput,
|
|
317
321
|
StartMalwareScanCommandOutput,
|
|
@@ -458,6 +462,7 @@ export type ServiceInputTypes =
|
|
|
458
462
|
| ListThreatEntitySetsCommandInput
|
|
459
463
|
| ListThreatIntelSetsCommandInput
|
|
460
464
|
| ListTrustedEntitySetsCommandInput
|
|
465
|
+
| SendObjectMalwareScanCommandInput
|
|
461
466
|
| StartMalwareScanCommandInput
|
|
462
467
|
| StartMonitoringMembersCommandInput
|
|
463
468
|
| StopMonitoringMembersCommandInput
|
|
@@ -543,6 +548,7 @@ export type ServiceOutputTypes =
|
|
|
543
548
|
| ListThreatEntitySetsCommandOutput
|
|
544
549
|
| ListThreatIntelSetsCommandOutput
|
|
545
550
|
| ListTrustedEntitySetsCommandOutput
|
|
551
|
+
| SendObjectMalwareScanCommandOutput
|
|
546
552
|
| StartMalwareScanCommandOutput
|
|
547
553
|
| StartMonitoringMembersCommandOutput
|
|
548
554
|
| StopMonitoringMembersCommandOutput
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
GuardDutyClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../GuardDutyClient";
|
|
8
|
+
import {
|
|
9
|
+
SendObjectMalwareScanRequest,
|
|
10
|
+
SendObjectMalwareScanResponse,
|
|
11
|
+
} from "../models/models_1";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface SendObjectMalwareScanCommandInput
|
|
15
|
+
extends SendObjectMalwareScanRequest {}
|
|
16
|
+
export interface SendObjectMalwareScanCommandOutput
|
|
17
|
+
extends SendObjectMalwareScanResponse,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
declare const SendObjectMalwareScanCommand_base: {
|
|
20
|
+
new (
|
|
21
|
+
input: SendObjectMalwareScanCommandInput
|
|
22
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
23
|
+
SendObjectMalwareScanCommandInput,
|
|
24
|
+
SendObjectMalwareScanCommandOutput,
|
|
25
|
+
GuardDutyClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
new (
|
|
30
|
+
...[input]: [] | [SendObjectMalwareScanCommandInput]
|
|
31
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
32
|
+
SendObjectMalwareScanCommandInput,
|
|
33
|
+
SendObjectMalwareScanCommandOutput,
|
|
34
|
+
GuardDutyClientResolvedConfig,
|
|
35
|
+
ServiceInputTypes,
|
|
36
|
+
ServiceOutputTypes
|
|
37
|
+
>;
|
|
38
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
39
|
+
};
|
|
40
|
+
export declare class SendObjectMalwareScanCommand extends SendObjectMalwareScanCommand_base {
|
|
41
|
+
protected static __types: {
|
|
42
|
+
api: {
|
|
43
|
+
input: SendObjectMalwareScanRequest;
|
|
44
|
+
output: {};
|
|
45
|
+
};
|
|
46
|
+
sdk: {
|
|
47
|
+
input: SendObjectMalwareScanCommandInput;
|
|
48
|
+
output: SendObjectMalwareScanCommandOutput;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -64,6 +64,7 @@ export * from "./ListTagsForResourceCommand";
|
|
|
64
64
|
export * from "./ListThreatEntitySetsCommand";
|
|
65
65
|
export * from "./ListThreatIntelSetsCommand";
|
|
66
66
|
export * from "./ListTrustedEntitySetsCommand";
|
|
67
|
+
export * from "./SendObjectMalwareScanCommand";
|
|
67
68
|
export * from "./StartMalwareScanCommand";
|
|
68
69
|
export * from "./StartMonitoringMembersCommand";
|
|
69
70
|
export * from "./StopMonitoringMembersCommand";
|
|
@@ -565,6 +565,15 @@ export interface ListTrustedEntitySetsResponse {
|
|
|
565
565
|
TrustedEntitySetIds: string[] | undefined;
|
|
566
566
|
NextToken?: string | undefined;
|
|
567
567
|
}
|
|
568
|
+
export interface S3ObjectForSendObjectMalwareScan {
|
|
569
|
+
Bucket?: string | undefined;
|
|
570
|
+
Key?: string | undefined;
|
|
571
|
+
VersionId?: string | undefined;
|
|
572
|
+
}
|
|
573
|
+
export interface SendObjectMalwareScanRequest {
|
|
574
|
+
S3Object?: S3ObjectForSendObjectMalwareScan | undefined;
|
|
575
|
+
}
|
|
576
|
+
export interface SendObjectMalwareScanResponse {}
|
|
568
577
|
export interface StartMalwareScanRequest {
|
|
569
578
|
ResourceArn: string | undefined;
|
|
570
579
|
}
|
|
@@ -321,6 +321,7 @@ export declare var S3LogsConfiguration: StaticStructureSchema;
|
|
|
321
321
|
export declare var S3LogsConfigurationResult: StaticStructureSchema;
|
|
322
322
|
export declare var S3Object: StaticStructureSchema;
|
|
323
323
|
export declare var S3ObjectDetail: StaticStructureSchema;
|
|
324
|
+
export declare var S3ObjectForSendObjectMalwareScan: StaticStructureSchema;
|
|
324
325
|
export declare var Scan: StaticStructureSchema;
|
|
325
326
|
export declare var ScanCondition: StaticStructureSchema;
|
|
326
327
|
export declare var ScanConditionPair: StaticStructureSchema;
|
|
@@ -334,6 +335,8 @@ export declare var ScanResultDetails: StaticStructureSchema;
|
|
|
334
335
|
export declare var ScanThreatName: StaticStructureSchema;
|
|
335
336
|
export declare var SecurityContext: StaticStructureSchema;
|
|
336
337
|
export declare var SecurityGroup: StaticStructureSchema;
|
|
338
|
+
export declare var SendObjectMalwareScanRequest: StaticStructureSchema;
|
|
339
|
+
export declare var SendObjectMalwareScanResponse: StaticStructureSchema;
|
|
337
340
|
export declare var Sequence: StaticStructureSchema;
|
|
338
341
|
export declare var Service: StaticStructureSchema;
|
|
339
342
|
export declare var ServiceAdditionalInfo: StaticStructureSchema;
|
|
@@ -586,6 +589,7 @@ export declare var ListTagsForResource: StaticOperationSchema;
|
|
|
586
589
|
export declare var ListThreatEntitySets: StaticOperationSchema;
|
|
587
590
|
export declare var ListThreatIntelSets: StaticOperationSchema;
|
|
588
591
|
export declare var ListTrustedEntitySets: StaticOperationSchema;
|
|
592
|
+
export declare var SendObjectMalwareScan: StaticOperationSchema;
|
|
589
593
|
export declare var StartMalwareScan: StaticOperationSchema;
|
|
590
594
|
export declare var StartMonitoringMembers: StaticOperationSchema;
|
|
591
595
|
export declare var StopMonitoringMembers: StaticOperationSchema;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-guardduty",
|
|
3
3
|
"description": "AWS SDK for JavaScript Guardduty Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.933.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-guardduty",
|
|
@@ -21,10 +21,10 @@
|
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
23
|
"@aws-sdk/core": "3.932.0",
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.933.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.930.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.930.0",
|
|
27
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
27
|
+
"@aws-sdk/middleware-recursion-detection": "3.933.0",
|
|
28
28
|
"@aws-sdk/middleware-user-agent": "3.932.0",
|
|
29
29
|
"@aws-sdk/region-config-resolver": "3.930.0",
|
|
30
30
|
"@aws-sdk/types": "3.930.0",
|