@aws-sdk/client-guardduty 3.321.1 → 3.322.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/GuardDuty.js +2 -0
- package/dist-cjs/commands/StartMalwareScanCommand.js +45 -0
- package/dist-cjs/commands/index.js +1 -0
- package/dist-cjs/models/models_0.js +22 -1
- package/dist-cjs/protocols/Aws_restJson1.js +79 -2
- package/dist-es/GuardDuty.js +2 -0
- package/dist-es/commands/StartMalwareScanCommand.js +41 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/models_0.js +20 -0
- package/dist-es/protocols/Aws_restJson1.js +76 -1
- package/dist-types/GuardDuty.d.ts +7 -0
- package/dist-types/GuardDutyClient.d.ts +3 -2
- package/dist-types/commands/DescribeMalwareScansCommand.d.ts +1 -1
- package/dist-types/commands/StartMalwareScanCommand.d.ts +73 -0
- package/dist-types/commands/StopMonitoringMembersCommand.d.ts +1 -1
- package/dist-types/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +56 -37
- package/dist-types/models/models_1.d.ts +42 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +9 -0
- package/dist-types/ts3.4/GuardDuty.d.ts +17 -0
- package/dist-types/ts3.4/GuardDutyClient.d.ts +6 -0
- package/dist-types/ts3.4/commands/StartMalwareScanCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/StopMonitoringMembersCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +22 -12
- package/dist-types/ts3.4/models/models_1.d.ts +12 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +12 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -647,6 +647,14 @@ ListThreatIntelSets
|
|
|
647
647
|
|
|
648
648
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-guardduty/classes/listthreatintelsetscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-guardduty/interfaces/listthreatintelsetscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-guardduty/interfaces/listthreatintelsetscommandoutput.html)
|
|
649
649
|
|
|
650
|
+
</details>
|
|
651
|
+
<details>
|
|
652
|
+
<summary>
|
|
653
|
+
StartMalwareScan
|
|
654
|
+
</summary>
|
|
655
|
+
|
|
656
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-guardduty/classes/startmalwarescancommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-guardduty/interfaces/startmalwarescancommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-guardduty/interfaces/startmalwarescancommandoutput.html)
|
|
657
|
+
|
|
650
658
|
</details>
|
|
651
659
|
<details>
|
|
652
660
|
<summary>
|
package/dist-cjs/GuardDuty.js
CHANGED
|
@@ -55,6 +55,7 @@ const ListOrganizationAdminAccountsCommand_1 = require("./commands/ListOrganizat
|
|
|
55
55
|
const ListPublishingDestinationsCommand_1 = require("./commands/ListPublishingDestinationsCommand");
|
|
56
56
|
const ListTagsForResourceCommand_1 = require("./commands/ListTagsForResourceCommand");
|
|
57
57
|
const ListThreatIntelSetsCommand_1 = require("./commands/ListThreatIntelSetsCommand");
|
|
58
|
+
const StartMalwareScanCommand_1 = require("./commands/StartMalwareScanCommand");
|
|
58
59
|
const StartMonitoringMembersCommand_1 = require("./commands/StartMonitoringMembersCommand");
|
|
59
60
|
const StopMonitoringMembersCommand_1 = require("./commands/StopMonitoringMembersCommand");
|
|
60
61
|
const TagResourceCommand_1 = require("./commands/TagResourceCommand");
|
|
@@ -124,6 +125,7 @@ const commands = {
|
|
|
124
125
|
ListPublishingDestinationsCommand: ListPublishingDestinationsCommand_1.ListPublishingDestinationsCommand,
|
|
125
126
|
ListTagsForResourceCommand: ListTagsForResourceCommand_1.ListTagsForResourceCommand,
|
|
126
127
|
ListThreatIntelSetsCommand: ListThreatIntelSetsCommand_1.ListThreatIntelSetsCommand,
|
|
128
|
+
StartMalwareScanCommand: StartMalwareScanCommand_1.StartMalwareScanCommand,
|
|
127
129
|
StartMonitoringMembersCommand: StartMonitoringMembersCommand_1.StartMonitoringMembersCommand,
|
|
128
130
|
StopMonitoringMembersCommand: StopMonitoringMembersCommand_1.StopMonitoringMembersCommand,
|
|
129
131
|
TagResourceCommand: TagResourceCommand_1.TagResourceCommand,
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.StartMalwareScanCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
+
class StartMalwareScanCommand extends smithy_client_1.Command {
|
|
9
|
+
static getEndpointParameterInstructions() {
|
|
10
|
+
return {
|
|
11
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
12
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
13
|
+
Region: { type: "builtInParams", name: "region" },
|
|
14
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
constructor(input) {
|
|
18
|
+
super();
|
|
19
|
+
this.input = input;
|
|
20
|
+
}
|
|
21
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
22
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
23
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, StartMalwareScanCommand.getEndpointParameterInstructions()));
|
|
24
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
25
|
+
const { logger } = configuration;
|
|
26
|
+
const clientName = "GuardDutyClient";
|
|
27
|
+
const commandName = "StartMalwareScanCommand";
|
|
28
|
+
const handlerExecutionContext = {
|
|
29
|
+
logger,
|
|
30
|
+
clientName,
|
|
31
|
+
commandName,
|
|
32
|
+
inputFilterSensitiveLog: (_) => _,
|
|
33
|
+
outputFilterSensitiveLog: (_) => _,
|
|
34
|
+
};
|
|
35
|
+
const { requestHandler } = configuration;
|
|
36
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
37
|
+
}
|
|
38
|
+
serialize(input, context) {
|
|
39
|
+
return (0, Aws_restJson1_1.se_StartMalwareScanCommand)(input, context);
|
|
40
|
+
}
|
|
41
|
+
deserialize(output, context) {
|
|
42
|
+
return (0, Aws_restJson1_1.de_StartMalwareScanCommand)(output, context);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
exports.StartMalwareScanCommand = StartMalwareScanCommand;
|
|
@@ -54,6 +54,7 @@ tslib_1.__exportStar(require("./ListOrganizationAdminAccountsCommand"), exports)
|
|
|
54
54
|
tslib_1.__exportStar(require("./ListPublishingDestinationsCommand"), exports);
|
|
55
55
|
tslib_1.__exportStar(require("./ListTagsForResourceCommand"), exports);
|
|
56
56
|
tslib_1.__exportStar(require("./ListThreatIntelSetsCommand"), exports);
|
|
57
|
+
tslib_1.__exportStar(require("./StartMalwareScanCommand"), exports);
|
|
57
58
|
tslib_1.__exportStar(require("./StartMonitoringMembersCommand"), exports);
|
|
58
59
|
tslib_1.__exportStar(require("./StopMonitoringMembersCommand"), exports);
|
|
59
60
|
tslib_1.__exportStar(require("./TagResourceCommand"), exports);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.UsageStatisticType = exports.UsageFeature = exports.ThreatIntelSetStatus = exports.ScanCriterionKey = exports.IpSetStatus = exports.FindingStatisticType = exports.Feedback = exports.EbsSnapshotPreservation = exports.DetectorStatus = exports.DetectorFeatureResult = exports.PublishingStatus = exports.OrgFeature = exports.OrgFeatureAdditionalConfiguration = exports.OrgFeatureStatus = exports.ScanStatus = exports.ScanResult = exports.DataSource = exports.CriterionKey = exports.ThreatIntelSetFormat = exports.DestinationType = exports.IpSetFormat = exports.FilterAction = exports.FindingPublishingFrequency = exports.DetectorFeature = exports.FeatureStatus = exports.FeatureAdditionalConfiguration = exports.CoverageStatisticsType = exports.OrderBy = exports.CoverageSortKey = exports.CoverageFilterCriterionKey = exports.ResourceType = exports.CoverageStatus = exports.DataSourceStatus = exports.AutoEnableMembers = exports.AdminStatus = exports.FreeTrialFeatureResult = exports.InternalServerErrorException = exports.BadRequestException = void 0;
|
|
3
|
+
exports.UsageStatisticType = exports.UsageFeature = exports.ThreatIntelSetStatus = exports.ScanCriterionKey = exports.IpSetStatus = exports.FindingStatisticType = exports.Feedback = exports.EbsSnapshotPreservation = exports.DetectorStatus = exports.DetectorFeatureResult = exports.PublishingStatus = exports.OrgFeature = exports.OrgFeatureAdditionalConfiguration = exports.OrgFeatureStatus = exports.ScanType = exports.ScanStatus = exports.ScanResult = exports.DataSource = exports.CriterionKey = exports.ThreatIntelSetFormat = exports.DestinationType = exports.IpSetFormat = exports.FilterAction = exports.FindingPublishingFrequency = exports.DetectorFeature = exports.FeatureStatus = exports.FeatureAdditionalConfiguration = exports.CoverageStatisticsType = exports.OrderBy = exports.CoverageSortKey = exports.CoverageFilterCriterionKey = exports.ResourceType = exports.CoverageStatus = exports.ConflictException = exports.DataSourceStatus = exports.AutoEnableMembers = exports.AdminStatus = exports.FreeTrialFeatureResult = exports.InternalServerErrorException = exports.BadRequestException = void 0;
|
|
4
4
|
const GuardDutyServiceException_1 = require("./GuardDutyServiceException");
|
|
5
5
|
class BadRequestException extends GuardDutyServiceException_1.GuardDutyServiceException {
|
|
6
6
|
constructor(opts) {
|
|
@@ -56,6 +56,21 @@ exports.DataSourceStatus = {
|
|
|
56
56
|
DISABLED: "DISABLED",
|
|
57
57
|
ENABLED: "ENABLED",
|
|
58
58
|
};
|
|
59
|
+
class ConflictException extends GuardDutyServiceException_1.GuardDutyServiceException {
|
|
60
|
+
constructor(opts) {
|
|
61
|
+
super({
|
|
62
|
+
name: "ConflictException",
|
|
63
|
+
$fault: "client",
|
|
64
|
+
...opts,
|
|
65
|
+
});
|
|
66
|
+
this.name = "ConflictException";
|
|
67
|
+
this.$fault = "client";
|
|
68
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
69
|
+
this.Message = opts.Message;
|
|
70
|
+
this.Type = opts.Type;
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
exports.ConflictException = ConflictException;
|
|
59
74
|
exports.CoverageStatus = {
|
|
60
75
|
HEALTHY: "HEALTHY",
|
|
61
76
|
UNHEALTHY: "UNHEALTHY",
|
|
@@ -136,6 +151,7 @@ exports.CriterionKey = {
|
|
|
136
151
|
SCAN_ID: "SCAN_ID",
|
|
137
152
|
SCAN_START_TIME: "SCAN_START_TIME",
|
|
138
153
|
SCAN_STATUS: "SCAN_STATUS",
|
|
154
|
+
SCAN_TYPE: "SCAN_TYPE",
|
|
139
155
|
};
|
|
140
156
|
exports.DataSource = {
|
|
141
157
|
CLOUD_TRAIL: "CLOUD_TRAIL",
|
|
@@ -153,6 +169,11 @@ exports.ScanStatus = {
|
|
|
153
169
|
COMPLETED: "COMPLETED",
|
|
154
170
|
FAILED: "FAILED",
|
|
155
171
|
RUNNING: "RUNNING",
|
|
172
|
+
SKIPPED: "SKIPPED",
|
|
173
|
+
};
|
|
174
|
+
exports.ScanType = {
|
|
175
|
+
GUARDDUTY_INITIATED: "GUARDDUTY_INITIATED",
|
|
176
|
+
ON_DEMAND: "ON_DEMAND",
|
|
156
177
|
};
|
|
157
178
|
exports.OrgFeatureStatus = {
|
|
158
179
|
NEW: "NEW",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.se_ListOrganizationAdminAccountsCommand = exports.se_ListMembersCommand = exports.se_ListIPSetsCommand = exports.se_ListInvitationsCommand = exports.se_ListFindingsCommand = exports.se_ListFiltersCommand = exports.se_ListDetectorsCommand = exports.se_ListCoverageCommand = exports.se_InviteMembersCommand = exports.se_GetUsageStatisticsCommand = exports.se_GetThreatIntelSetCommand = exports.se_GetRemainingFreeTrialDaysCommand = exports.se_GetMembersCommand = exports.se_GetMemberDetectorsCommand = exports.se_GetMasterAccountCommand = exports.se_GetMalwareScanSettingsCommand = exports.se_GetIPSetCommand = exports.se_GetInvitationsCountCommand = exports.se_GetFindingsStatisticsCommand = exports.se_GetFindingsCommand = exports.se_GetFilterCommand = exports.se_GetDetectorCommand = exports.se_GetCoverageStatisticsCommand = exports.se_GetAdministratorAccountCommand = exports.se_EnableOrganizationAdminAccountCommand = exports.se_DisassociateMembersCommand = exports.se_DisassociateFromMasterAccountCommand = exports.se_DisassociateFromAdministratorAccountCommand = exports.se_DisableOrganizationAdminAccountCommand = exports.se_DescribePublishingDestinationCommand = exports.se_DescribeOrganizationConfigurationCommand = exports.se_DescribeMalwareScansCommand = exports.se_DeleteThreatIntelSetCommand = exports.se_DeletePublishingDestinationCommand = exports.se_DeleteMembersCommand = exports.se_DeleteIPSetCommand = exports.se_DeleteInvitationsCommand = exports.se_DeleteFilterCommand = exports.se_DeleteDetectorCommand = exports.se_DeclineInvitationsCommand = exports.se_CreateThreatIntelSetCommand = exports.se_CreateSampleFindingsCommand = exports.se_CreatePublishingDestinationCommand = exports.se_CreateMembersCommand = exports.se_CreateIPSetCommand = exports.se_CreateFilterCommand = exports.se_CreateDetectorCommand = exports.se_ArchiveFindingsCommand = exports.se_AcceptInvitationCommand = exports.se_AcceptAdministratorInvitationCommand = void 0;
|
|
4
|
-
exports.
|
|
5
|
-
exports.de_UpdateThreatIntelSetCommand = exports.de_UpdatePublishingDestinationCommand = exports.de_UpdateOrganizationConfigurationCommand = exports.de_UpdateMemberDetectorsCommand = exports.de_UpdateMalwareScanSettingsCommand = exports.de_UpdateIPSetCommand = exports.de_UpdateFindingsFeedbackCommand = exports.de_UpdateFilterCommand = exports.de_UpdateDetectorCommand = exports.de_UntagResourceCommand = exports.de_UnarchiveFindingsCommand = exports.de_TagResourceCommand = exports.de_StopMonitoringMembersCommand = exports.de_StartMonitoringMembersCommand = exports.de_ListThreatIntelSetsCommand = exports.de_ListTagsForResourceCommand = exports.de_ListPublishingDestinationsCommand = exports.de_ListOrganizationAdminAccountsCommand = exports.de_ListMembersCommand = exports.de_ListIPSetsCommand = exports.de_ListInvitationsCommand = exports.de_ListFindingsCommand = exports.de_ListFiltersCommand = exports.de_ListDetectorsCommand = exports.de_ListCoverageCommand = exports.de_InviteMembersCommand = exports.de_GetUsageStatisticsCommand = exports.de_GetThreatIntelSetCommand = exports.de_GetRemainingFreeTrialDaysCommand = exports.de_GetMembersCommand = exports.de_GetMemberDetectorsCommand = exports.de_GetMasterAccountCommand = exports.de_GetMalwareScanSettingsCommand = exports.de_GetIPSetCommand = void 0;
|
|
4
|
+
exports.de_GetFindingsStatisticsCommand = exports.de_GetFindingsCommand = exports.de_GetFilterCommand = exports.de_GetDetectorCommand = exports.de_GetCoverageStatisticsCommand = exports.de_GetAdministratorAccountCommand = exports.de_EnableOrganizationAdminAccountCommand = exports.de_DisassociateMembersCommand = exports.de_DisassociateFromMasterAccountCommand = exports.de_DisassociateFromAdministratorAccountCommand = exports.de_DisableOrganizationAdminAccountCommand = exports.de_DescribePublishingDestinationCommand = exports.de_DescribeOrganizationConfigurationCommand = exports.de_DescribeMalwareScansCommand = exports.de_DeleteThreatIntelSetCommand = exports.de_DeletePublishingDestinationCommand = exports.de_DeleteMembersCommand = exports.de_DeleteIPSetCommand = exports.de_DeleteInvitationsCommand = exports.de_DeleteFilterCommand = exports.de_DeleteDetectorCommand = exports.de_DeclineInvitationsCommand = exports.de_CreateThreatIntelSetCommand = exports.de_CreateSampleFindingsCommand = exports.de_CreatePublishingDestinationCommand = exports.de_CreateMembersCommand = exports.de_CreateIPSetCommand = exports.de_CreateFilterCommand = exports.de_CreateDetectorCommand = exports.de_ArchiveFindingsCommand = exports.de_AcceptInvitationCommand = exports.de_AcceptAdministratorInvitationCommand = exports.se_UpdateThreatIntelSetCommand = exports.se_UpdatePublishingDestinationCommand = exports.se_UpdateOrganizationConfigurationCommand = exports.se_UpdateMemberDetectorsCommand = exports.se_UpdateMalwareScanSettingsCommand = exports.se_UpdateIPSetCommand = exports.se_UpdateFindingsFeedbackCommand = exports.se_UpdateFilterCommand = exports.se_UpdateDetectorCommand = exports.se_UntagResourceCommand = exports.se_UnarchiveFindingsCommand = exports.se_TagResourceCommand = exports.se_StopMonitoringMembersCommand = exports.se_StartMonitoringMembersCommand = exports.se_StartMalwareScanCommand = exports.se_ListThreatIntelSetsCommand = exports.se_ListTagsForResourceCommand = exports.se_ListPublishingDestinationsCommand = void 0;
|
|
5
|
+
exports.de_UpdateThreatIntelSetCommand = exports.de_UpdatePublishingDestinationCommand = exports.de_UpdateOrganizationConfigurationCommand = exports.de_UpdateMemberDetectorsCommand = exports.de_UpdateMalwareScanSettingsCommand = exports.de_UpdateIPSetCommand = exports.de_UpdateFindingsFeedbackCommand = exports.de_UpdateFilterCommand = exports.de_UpdateDetectorCommand = exports.de_UntagResourceCommand = exports.de_UnarchiveFindingsCommand = exports.de_TagResourceCommand = exports.de_StopMonitoringMembersCommand = exports.de_StartMonitoringMembersCommand = exports.de_StartMalwareScanCommand = exports.de_ListThreatIntelSetsCommand = exports.de_ListTagsForResourceCommand = exports.de_ListPublishingDestinationsCommand = exports.de_ListOrganizationAdminAccountsCommand = exports.de_ListMembersCommand = exports.de_ListIPSetsCommand = exports.de_ListInvitationsCommand = exports.de_ListFindingsCommand = exports.de_ListFiltersCommand = exports.de_ListDetectorsCommand = exports.de_ListCoverageCommand = exports.de_InviteMembersCommand = exports.de_GetUsageStatisticsCommand = exports.de_GetThreatIntelSetCommand = exports.de_GetRemainingFreeTrialDaysCommand = exports.de_GetMembersCommand = exports.de_GetMemberDetectorsCommand = exports.de_GetMasterAccountCommand = exports.de_GetMalwareScanSettingsCommand = exports.de_GetIPSetCommand = exports.de_GetInvitationsCountCommand = void 0;
|
|
6
6
|
const protocol_http_1 = require("@aws-sdk/protocol-http");
|
|
7
7
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
8
8
|
const uuid_1 = require("uuid");
|
|
@@ -1151,6 +1151,27 @@ const se_ListThreatIntelSetsCommand = async (input, context) => {
|
|
|
1151
1151
|
});
|
|
1152
1152
|
};
|
|
1153
1153
|
exports.se_ListThreatIntelSetsCommand = se_ListThreatIntelSetsCommand;
|
|
1154
|
+
const se_StartMalwareScanCommand = async (input, context) => {
|
|
1155
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1156
|
+
const headers = {
|
|
1157
|
+
"content-type": "application/json",
|
|
1158
|
+
};
|
|
1159
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/malware-scan/start";
|
|
1160
|
+
let body;
|
|
1161
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1162
|
+
resourceArn: [, , `ResourceArn`],
|
|
1163
|
+
}));
|
|
1164
|
+
return new protocol_http_1.HttpRequest({
|
|
1165
|
+
protocol,
|
|
1166
|
+
hostname,
|
|
1167
|
+
port,
|
|
1168
|
+
method: "POST",
|
|
1169
|
+
headers,
|
|
1170
|
+
path: resolvedPath,
|
|
1171
|
+
body,
|
|
1172
|
+
});
|
|
1173
|
+
};
|
|
1174
|
+
exports.se_StartMalwareScanCommand = se_StartMalwareScanCommand;
|
|
1154
1175
|
const se_StartMonitoringMembersCommand = async (input, context) => {
|
|
1155
1176
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1156
1177
|
const headers = {
|
|
@@ -3443,6 +3464,46 @@ const de_ListThreatIntelSetsCommandError = async (output, context) => {
|
|
|
3443
3464
|
});
|
|
3444
3465
|
}
|
|
3445
3466
|
};
|
|
3467
|
+
const de_StartMalwareScanCommand = async (output, context) => {
|
|
3468
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3469
|
+
return de_StartMalwareScanCommandError(output, context);
|
|
3470
|
+
}
|
|
3471
|
+
const contents = (0, smithy_client_1.map)({
|
|
3472
|
+
$metadata: deserializeMetadata(output),
|
|
3473
|
+
});
|
|
3474
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
3475
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
3476
|
+
ScanId: [, smithy_client_1.expectString, `scanId`],
|
|
3477
|
+
});
|
|
3478
|
+
Object.assign(contents, doc);
|
|
3479
|
+
return contents;
|
|
3480
|
+
};
|
|
3481
|
+
exports.de_StartMalwareScanCommand = de_StartMalwareScanCommand;
|
|
3482
|
+
const de_StartMalwareScanCommandError = async (output, context) => {
|
|
3483
|
+
const parsedOutput = {
|
|
3484
|
+
...output,
|
|
3485
|
+
body: await parseErrorBody(output.body, context),
|
|
3486
|
+
};
|
|
3487
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3488
|
+
switch (errorCode) {
|
|
3489
|
+
case "BadRequestException":
|
|
3490
|
+
case "com.amazonaws.guardduty#BadRequestException":
|
|
3491
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
3492
|
+
case "ConflictException":
|
|
3493
|
+
case "com.amazonaws.guardduty#ConflictException":
|
|
3494
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
3495
|
+
case "InternalServerErrorException":
|
|
3496
|
+
case "com.amazonaws.guardduty#InternalServerErrorException":
|
|
3497
|
+
throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
|
|
3498
|
+
default:
|
|
3499
|
+
const parsedBody = parsedOutput.body;
|
|
3500
|
+
return throwDefaultError({
|
|
3501
|
+
output,
|
|
3502
|
+
parsedBody,
|
|
3503
|
+
errorCode,
|
|
3504
|
+
});
|
|
3505
|
+
}
|
|
3506
|
+
};
|
|
3446
3507
|
const de_StartMonitoringMembersCommand = async (output, context) => {
|
|
3447
3508
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3448
3509
|
return de_StartMonitoringMembersCommandError(output, context);
|
|
@@ -3936,6 +3997,20 @@ const de_BadRequestExceptionRes = async (parsedOutput, context) => {
|
|
|
3936
3997
|
});
|
|
3937
3998
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
3938
3999
|
};
|
|
4000
|
+
const de_ConflictExceptionRes = async (parsedOutput, context) => {
|
|
4001
|
+
const contents = (0, smithy_client_1.map)({});
|
|
4002
|
+
const data = parsedOutput.body;
|
|
4003
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
4004
|
+
Message: [, smithy_client_1.expectString, `message`],
|
|
4005
|
+
Type: [, smithy_client_1.expectString, `__type`],
|
|
4006
|
+
});
|
|
4007
|
+
Object.assign(contents, doc);
|
|
4008
|
+
const exception = new models_0_1.ConflictException({
|
|
4009
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
4010
|
+
...contents,
|
|
4011
|
+
});
|
|
4012
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
4013
|
+
};
|
|
3939
4014
|
const de_InternalServerErrorExceptionRes = async (parsedOutput, context) => {
|
|
3940
4015
|
const contents = (0, smithy_client_1.map)({});
|
|
3941
4016
|
const data = parsedOutput.body;
|
|
@@ -4577,6 +4652,7 @@ const de_EbsVolumeScanDetails = (output, context) => {
|
|
|
4577
4652
|
ScanDetections: [, (_) => de_ScanDetections(_, context), `scanDetections`],
|
|
4578
4653
|
ScanId: [, smithy_client_1.expectString, `scanId`],
|
|
4579
4654
|
ScanStartedAt: [, (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))), `scanStartedAt`],
|
|
4655
|
+
ScanType: [, smithy_client_1.expectString, `scanType`],
|
|
4580
4656
|
Sources: [, smithy_client_1._json, `sources`],
|
|
4581
4657
|
TriggerFindingId: [, smithy_client_1.expectString, `triggerFindingId`],
|
|
4582
4658
|
});
|
|
@@ -5303,6 +5379,7 @@ const de_Scan = (output, context) => {
|
|
|
5303
5379
|
ScanResultDetails: [, (_) => de_ScanResultDetails(_, context), `scanResultDetails`],
|
|
5304
5380
|
ScanStartTime: [, (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))), `scanStartTime`],
|
|
5305
5381
|
ScanStatus: [, smithy_client_1.expectString, `scanStatus`],
|
|
5382
|
+
ScanType: [, smithy_client_1.expectString, `scanType`],
|
|
5306
5383
|
TotalBytes: [, smithy_client_1.expectLong, `totalBytes`],
|
|
5307
5384
|
TriggerDetails: [, (_) => de_TriggerDetails(_, context), `triggerDetails`],
|
|
5308
5385
|
});
|
package/dist-es/GuardDuty.js
CHANGED
|
@@ -52,6 +52,7 @@ import { ListOrganizationAdminAccountsCommand, } from "./commands/ListOrganizati
|
|
|
52
52
|
import { ListPublishingDestinationsCommand, } from "./commands/ListPublishingDestinationsCommand";
|
|
53
53
|
import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
|
|
54
54
|
import { ListThreatIntelSetsCommand, } from "./commands/ListThreatIntelSetsCommand";
|
|
55
|
+
import { StartMalwareScanCommand, } from "./commands/StartMalwareScanCommand";
|
|
55
56
|
import { StartMonitoringMembersCommand, } from "./commands/StartMonitoringMembersCommand";
|
|
56
57
|
import { StopMonitoringMembersCommand, } from "./commands/StopMonitoringMembersCommand";
|
|
57
58
|
import { TagResourceCommand } from "./commands/TagResourceCommand";
|
|
@@ -121,6 +122,7 @@ const commands = {
|
|
|
121
122
|
ListPublishingDestinationsCommand,
|
|
122
123
|
ListTagsForResourceCommand,
|
|
123
124
|
ListThreatIntelSetsCommand,
|
|
125
|
+
StartMalwareScanCommand,
|
|
124
126
|
StartMonitoringMembersCommand,
|
|
125
127
|
StopMonitoringMembersCommand,
|
|
126
128
|
TagResourceCommand,
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { de_StartMalwareScanCommand, se_StartMalwareScanCommand } from "../protocols/Aws_restJson1";
|
|
5
|
+
export class StartMalwareScanCommand extends $Command {
|
|
6
|
+
static getEndpointParameterInstructions() {
|
|
7
|
+
return {
|
|
8
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
9
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
10
|
+
Region: { type: "builtInParams", name: "region" },
|
|
11
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
constructor(input) {
|
|
15
|
+
super();
|
|
16
|
+
this.input = input;
|
|
17
|
+
}
|
|
18
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
19
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
20
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, StartMalwareScanCommand.getEndpointParameterInstructions()));
|
|
21
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
22
|
+
const { logger } = configuration;
|
|
23
|
+
const clientName = "GuardDutyClient";
|
|
24
|
+
const commandName = "StartMalwareScanCommand";
|
|
25
|
+
const handlerExecutionContext = {
|
|
26
|
+
logger,
|
|
27
|
+
clientName,
|
|
28
|
+
commandName,
|
|
29
|
+
inputFilterSensitiveLog: (_) => _,
|
|
30
|
+
outputFilterSensitiveLog: (_) => _,
|
|
31
|
+
};
|
|
32
|
+
const { requestHandler } = configuration;
|
|
33
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
34
|
+
}
|
|
35
|
+
serialize(input, context) {
|
|
36
|
+
return se_StartMalwareScanCommand(input, context);
|
|
37
|
+
}
|
|
38
|
+
deserialize(output, context) {
|
|
39
|
+
return de_StartMalwareScanCommand(output, context);
|
|
40
|
+
}
|
|
41
|
+
}
|
|
@@ -51,6 +51,7 @@ export * from "./ListOrganizationAdminAccountsCommand";
|
|
|
51
51
|
export * from "./ListPublishingDestinationsCommand";
|
|
52
52
|
export * from "./ListTagsForResourceCommand";
|
|
53
53
|
export * from "./ListThreatIntelSetsCommand";
|
|
54
|
+
export * from "./StartMalwareScanCommand";
|
|
54
55
|
export * from "./StartMonitoringMembersCommand";
|
|
55
56
|
export * from "./StopMonitoringMembersCommand";
|
|
56
57
|
export * from "./TagResourceCommand";
|
|
@@ -51,6 +51,20 @@ export const DataSourceStatus = {
|
|
|
51
51
|
DISABLED: "DISABLED",
|
|
52
52
|
ENABLED: "ENABLED",
|
|
53
53
|
};
|
|
54
|
+
export class ConflictException extends __BaseException {
|
|
55
|
+
constructor(opts) {
|
|
56
|
+
super({
|
|
57
|
+
name: "ConflictException",
|
|
58
|
+
$fault: "client",
|
|
59
|
+
...opts,
|
|
60
|
+
});
|
|
61
|
+
this.name = "ConflictException";
|
|
62
|
+
this.$fault = "client";
|
|
63
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
64
|
+
this.Message = opts.Message;
|
|
65
|
+
this.Type = opts.Type;
|
|
66
|
+
}
|
|
67
|
+
}
|
|
54
68
|
export const CoverageStatus = {
|
|
55
69
|
HEALTHY: "HEALTHY",
|
|
56
70
|
UNHEALTHY: "UNHEALTHY",
|
|
@@ -131,6 +145,7 @@ export const CriterionKey = {
|
|
|
131
145
|
SCAN_ID: "SCAN_ID",
|
|
132
146
|
SCAN_START_TIME: "SCAN_START_TIME",
|
|
133
147
|
SCAN_STATUS: "SCAN_STATUS",
|
|
148
|
+
SCAN_TYPE: "SCAN_TYPE",
|
|
134
149
|
};
|
|
135
150
|
export const DataSource = {
|
|
136
151
|
CLOUD_TRAIL: "CLOUD_TRAIL",
|
|
@@ -148,6 +163,11 @@ export const ScanStatus = {
|
|
|
148
163
|
COMPLETED: "COMPLETED",
|
|
149
164
|
FAILED: "FAILED",
|
|
150
165
|
RUNNING: "RUNNING",
|
|
166
|
+
SKIPPED: "SKIPPED",
|
|
167
|
+
};
|
|
168
|
+
export const ScanType = {
|
|
169
|
+
GUARDDUTY_INITIATED: "GUARDDUTY_INITIATED",
|
|
170
|
+
ON_DEMAND: "ON_DEMAND",
|
|
151
171
|
};
|
|
152
172
|
export const OrgFeatureStatus = {
|
|
153
173
|
NEW: "NEW",
|
|
@@ -2,7 +2,7 @@ import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
|
|
|
2
2
|
import { _json, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectObject as __expectObject, expectString as __expectString, limitedParseDouble as __limitedParseDouble, map, parseEpochTimestamp as __parseEpochTimestamp, resolvedPath as __resolvedPath, take, withBaseException, } from "@aws-sdk/smithy-client";
|
|
3
3
|
import { v4 as generateIdempotencyToken } from "uuid";
|
|
4
4
|
import { GuardDutyServiceException as __BaseException } from "../models/GuardDutyServiceException";
|
|
5
|
-
import { BadRequestException, InternalServerErrorException, } from "../models/models_0";
|
|
5
|
+
import { BadRequestException, ConflictException, InternalServerErrorException, } from "../models/models_0";
|
|
6
6
|
export const se_AcceptAdministratorInvitationCommand = async (input, context) => {
|
|
7
7
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
8
8
|
const headers = {
|
|
@@ -1093,6 +1093,26 @@ export const se_ListThreatIntelSetsCommand = async (input, context) => {
|
|
|
1093
1093
|
body,
|
|
1094
1094
|
});
|
|
1095
1095
|
};
|
|
1096
|
+
export const se_StartMalwareScanCommand = async (input, context) => {
|
|
1097
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1098
|
+
const headers = {
|
|
1099
|
+
"content-type": "application/json",
|
|
1100
|
+
};
|
|
1101
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/malware-scan/start";
|
|
1102
|
+
let body;
|
|
1103
|
+
body = JSON.stringify(take(input, {
|
|
1104
|
+
resourceArn: [, , `ResourceArn`],
|
|
1105
|
+
}));
|
|
1106
|
+
return new __HttpRequest({
|
|
1107
|
+
protocol,
|
|
1108
|
+
hostname,
|
|
1109
|
+
port,
|
|
1110
|
+
method: "POST",
|
|
1111
|
+
headers,
|
|
1112
|
+
path: resolvedPath,
|
|
1113
|
+
body,
|
|
1114
|
+
});
|
|
1115
|
+
};
|
|
1096
1116
|
export const se_StartMonitoringMembersCommand = async (input, context) => {
|
|
1097
1117
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1098
1118
|
const headers = {
|
|
@@ -3318,6 +3338,45 @@ const de_ListThreatIntelSetsCommandError = async (output, context) => {
|
|
|
3318
3338
|
});
|
|
3319
3339
|
}
|
|
3320
3340
|
};
|
|
3341
|
+
export const de_StartMalwareScanCommand = async (output, context) => {
|
|
3342
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3343
|
+
return de_StartMalwareScanCommandError(output, context);
|
|
3344
|
+
}
|
|
3345
|
+
const contents = map({
|
|
3346
|
+
$metadata: deserializeMetadata(output),
|
|
3347
|
+
});
|
|
3348
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
3349
|
+
const doc = take(data, {
|
|
3350
|
+
ScanId: [, __expectString, `scanId`],
|
|
3351
|
+
});
|
|
3352
|
+
Object.assign(contents, doc);
|
|
3353
|
+
return contents;
|
|
3354
|
+
};
|
|
3355
|
+
const de_StartMalwareScanCommandError = async (output, context) => {
|
|
3356
|
+
const parsedOutput = {
|
|
3357
|
+
...output,
|
|
3358
|
+
body: await parseErrorBody(output.body, context),
|
|
3359
|
+
};
|
|
3360
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3361
|
+
switch (errorCode) {
|
|
3362
|
+
case "BadRequestException":
|
|
3363
|
+
case "com.amazonaws.guardduty#BadRequestException":
|
|
3364
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
3365
|
+
case "ConflictException":
|
|
3366
|
+
case "com.amazonaws.guardduty#ConflictException":
|
|
3367
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
3368
|
+
case "InternalServerErrorException":
|
|
3369
|
+
case "com.amazonaws.guardduty#InternalServerErrorException":
|
|
3370
|
+
throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
|
|
3371
|
+
default:
|
|
3372
|
+
const parsedBody = parsedOutput.body;
|
|
3373
|
+
return throwDefaultError({
|
|
3374
|
+
output,
|
|
3375
|
+
parsedBody,
|
|
3376
|
+
errorCode,
|
|
3377
|
+
});
|
|
3378
|
+
}
|
|
3379
|
+
};
|
|
3321
3380
|
export const de_StartMonitoringMembersCommand = async (output, context) => {
|
|
3322
3381
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3323
3382
|
return de_StartMonitoringMembersCommandError(output, context);
|
|
@@ -3797,6 +3856,20 @@ const de_BadRequestExceptionRes = async (parsedOutput, context) => {
|
|
|
3797
3856
|
});
|
|
3798
3857
|
return __decorateServiceException(exception, parsedOutput.body);
|
|
3799
3858
|
};
|
|
3859
|
+
const de_ConflictExceptionRes = async (parsedOutput, context) => {
|
|
3860
|
+
const contents = map({});
|
|
3861
|
+
const data = parsedOutput.body;
|
|
3862
|
+
const doc = take(data, {
|
|
3863
|
+
Message: [, __expectString, `message`],
|
|
3864
|
+
Type: [, __expectString, `__type`],
|
|
3865
|
+
});
|
|
3866
|
+
Object.assign(contents, doc);
|
|
3867
|
+
const exception = new ConflictException({
|
|
3868
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
3869
|
+
...contents,
|
|
3870
|
+
});
|
|
3871
|
+
return __decorateServiceException(exception, parsedOutput.body);
|
|
3872
|
+
};
|
|
3800
3873
|
const de_InternalServerErrorExceptionRes = async (parsedOutput, context) => {
|
|
3801
3874
|
const contents = map({});
|
|
3802
3875
|
const data = parsedOutput.body;
|
|
@@ -4438,6 +4511,7 @@ const de_EbsVolumeScanDetails = (output, context) => {
|
|
|
4438
4511
|
ScanDetections: [, (_) => de_ScanDetections(_, context), `scanDetections`],
|
|
4439
4512
|
ScanId: [, __expectString, `scanId`],
|
|
4440
4513
|
ScanStartedAt: [, (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), `scanStartedAt`],
|
|
4514
|
+
ScanType: [, __expectString, `scanType`],
|
|
4441
4515
|
Sources: [, _json, `sources`],
|
|
4442
4516
|
TriggerFindingId: [, __expectString, `triggerFindingId`],
|
|
4443
4517
|
});
|
|
@@ -5164,6 +5238,7 @@ const de_Scan = (output, context) => {
|
|
|
5164
5238
|
ScanResultDetails: [, (_) => de_ScanResultDetails(_, context), `scanResultDetails`],
|
|
5165
5239
|
ScanStartTime: [, (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), `scanStartTime`],
|
|
5166
5240
|
ScanStatus: [, __expectString, `scanStatus`],
|
|
5241
|
+
ScanType: [, __expectString, `scanType`],
|
|
5167
5242
|
TotalBytes: [, __expectLong, `totalBytes`],
|
|
5168
5243
|
TriggerDetails: [, (_) => de_TriggerDetails(_, context), `triggerDetails`],
|
|
5169
5244
|
});
|
|
@@ -52,6 +52,7 @@ import { ListOrganizationAdminAccountsCommandInput, ListOrganizationAdminAccount
|
|
|
52
52
|
import { ListPublishingDestinationsCommandInput, ListPublishingDestinationsCommandOutput } from "./commands/ListPublishingDestinationsCommand";
|
|
53
53
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
54
54
|
import { ListThreatIntelSetsCommandInput, ListThreatIntelSetsCommandOutput } from "./commands/ListThreatIntelSetsCommand";
|
|
55
|
+
import { StartMalwareScanCommandInput, StartMalwareScanCommandOutput } from "./commands/StartMalwareScanCommand";
|
|
55
56
|
import { StartMonitoringMembersCommandInput, StartMonitoringMembersCommandOutput } from "./commands/StartMonitoringMembersCommand";
|
|
56
57
|
import { StopMonitoringMembersCommandInput, StopMonitoringMembersCommandOutput } from "./commands/StopMonitoringMembersCommand";
|
|
57
58
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
@@ -386,6 +387,12 @@ export interface GuardDuty {
|
|
|
386
387
|
listThreatIntelSets(args: ListThreatIntelSetsCommandInput, options?: __HttpHandlerOptions): Promise<ListThreatIntelSetsCommandOutput>;
|
|
387
388
|
listThreatIntelSets(args: ListThreatIntelSetsCommandInput, cb: (err: any, data?: ListThreatIntelSetsCommandOutput) => void): void;
|
|
388
389
|
listThreatIntelSets(args: ListThreatIntelSetsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListThreatIntelSetsCommandOutput) => void): void;
|
|
390
|
+
/**
|
|
391
|
+
* @see {@link StartMalwareScanCommand}
|
|
392
|
+
*/
|
|
393
|
+
startMalwareScan(args: StartMalwareScanCommandInput, options?: __HttpHandlerOptions): Promise<StartMalwareScanCommandOutput>;
|
|
394
|
+
startMalwareScan(args: StartMalwareScanCommandInput, cb: (err: any, data?: StartMalwareScanCommandOutput) => void): void;
|
|
395
|
+
startMalwareScan(args: StartMalwareScanCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartMalwareScanCommandOutput) => void): void;
|
|
389
396
|
/**
|
|
390
397
|
* @see {@link StartMonitoringMembersCommand}
|
|
391
398
|
*/
|
|
@@ -60,6 +60,7 @@ import { ListOrganizationAdminAccountsCommandInput, ListOrganizationAdminAccount
|
|
|
60
60
|
import { ListPublishingDestinationsCommandInput, ListPublishingDestinationsCommandOutput } from "./commands/ListPublishingDestinationsCommand";
|
|
61
61
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
62
62
|
import { ListThreatIntelSetsCommandInput, ListThreatIntelSetsCommandOutput } from "./commands/ListThreatIntelSetsCommand";
|
|
63
|
+
import { StartMalwareScanCommandInput, StartMalwareScanCommandOutput } from "./commands/StartMalwareScanCommand";
|
|
63
64
|
import { StartMonitoringMembersCommandInput, StartMonitoringMembersCommandOutput } from "./commands/StartMonitoringMembersCommand";
|
|
64
65
|
import { StopMonitoringMembersCommandInput, StopMonitoringMembersCommandOutput } from "./commands/StopMonitoringMembersCommand";
|
|
65
66
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
@@ -78,11 +79,11 @@ import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, Endpoi
|
|
|
78
79
|
/**
|
|
79
80
|
* @public
|
|
80
81
|
*/
|
|
81
|
-
export type ServiceInputTypes = AcceptAdministratorInvitationCommandInput | AcceptInvitationCommandInput | ArchiveFindingsCommandInput | CreateDetectorCommandInput | CreateFilterCommandInput | CreateIPSetCommandInput | CreateMembersCommandInput | CreatePublishingDestinationCommandInput | CreateSampleFindingsCommandInput | CreateThreatIntelSetCommandInput | DeclineInvitationsCommandInput | DeleteDetectorCommandInput | DeleteFilterCommandInput | DeleteIPSetCommandInput | DeleteInvitationsCommandInput | DeleteMembersCommandInput | DeletePublishingDestinationCommandInput | DeleteThreatIntelSetCommandInput | DescribeMalwareScansCommandInput | DescribeOrganizationConfigurationCommandInput | DescribePublishingDestinationCommandInput | DisableOrganizationAdminAccountCommandInput | DisassociateFromAdministratorAccountCommandInput | DisassociateFromMasterAccountCommandInput | DisassociateMembersCommandInput | EnableOrganizationAdminAccountCommandInput | GetAdministratorAccountCommandInput | GetCoverageStatisticsCommandInput | GetDetectorCommandInput | GetFilterCommandInput | GetFindingsCommandInput | GetFindingsStatisticsCommandInput | GetIPSetCommandInput | GetInvitationsCountCommandInput | GetMalwareScanSettingsCommandInput | GetMasterAccountCommandInput | GetMemberDetectorsCommandInput | GetMembersCommandInput | GetRemainingFreeTrialDaysCommandInput | GetThreatIntelSetCommandInput | GetUsageStatisticsCommandInput | InviteMembersCommandInput | ListCoverageCommandInput | ListDetectorsCommandInput | ListFiltersCommandInput | ListFindingsCommandInput | ListIPSetsCommandInput | ListInvitationsCommandInput | ListMembersCommandInput | ListOrganizationAdminAccountsCommandInput | ListPublishingDestinationsCommandInput | ListTagsForResourceCommandInput | ListThreatIntelSetsCommandInput | StartMonitoringMembersCommandInput | StopMonitoringMembersCommandInput | TagResourceCommandInput | UnarchiveFindingsCommandInput | UntagResourceCommandInput | UpdateDetectorCommandInput | UpdateFilterCommandInput | UpdateFindingsFeedbackCommandInput | UpdateIPSetCommandInput | UpdateMalwareScanSettingsCommandInput | UpdateMemberDetectorsCommandInput | UpdateOrganizationConfigurationCommandInput | UpdatePublishingDestinationCommandInput | UpdateThreatIntelSetCommandInput;
|
|
82
|
+
export type ServiceInputTypes = AcceptAdministratorInvitationCommandInput | AcceptInvitationCommandInput | ArchiveFindingsCommandInput | CreateDetectorCommandInput | CreateFilterCommandInput | CreateIPSetCommandInput | CreateMembersCommandInput | CreatePublishingDestinationCommandInput | CreateSampleFindingsCommandInput | CreateThreatIntelSetCommandInput | DeclineInvitationsCommandInput | DeleteDetectorCommandInput | DeleteFilterCommandInput | DeleteIPSetCommandInput | DeleteInvitationsCommandInput | DeleteMembersCommandInput | DeletePublishingDestinationCommandInput | DeleteThreatIntelSetCommandInput | DescribeMalwareScansCommandInput | DescribeOrganizationConfigurationCommandInput | DescribePublishingDestinationCommandInput | DisableOrganizationAdminAccountCommandInput | DisassociateFromAdministratorAccountCommandInput | DisassociateFromMasterAccountCommandInput | DisassociateMembersCommandInput | EnableOrganizationAdminAccountCommandInput | GetAdministratorAccountCommandInput | GetCoverageStatisticsCommandInput | GetDetectorCommandInput | GetFilterCommandInput | GetFindingsCommandInput | GetFindingsStatisticsCommandInput | GetIPSetCommandInput | GetInvitationsCountCommandInput | GetMalwareScanSettingsCommandInput | GetMasterAccountCommandInput | GetMemberDetectorsCommandInput | GetMembersCommandInput | GetRemainingFreeTrialDaysCommandInput | GetThreatIntelSetCommandInput | GetUsageStatisticsCommandInput | InviteMembersCommandInput | ListCoverageCommandInput | ListDetectorsCommandInput | ListFiltersCommandInput | ListFindingsCommandInput | ListIPSetsCommandInput | ListInvitationsCommandInput | ListMembersCommandInput | ListOrganizationAdminAccountsCommandInput | ListPublishingDestinationsCommandInput | ListTagsForResourceCommandInput | ListThreatIntelSetsCommandInput | StartMalwareScanCommandInput | StartMonitoringMembersCommandInput | StopMonitoringMembersCommandInput | TagResourceCommandInput | UnarchiveFindingsCommandInput | UntagResourceCommandInput | UpdateDetectorCommandInput | UpdateFilterCommandInput | UpdateFindingsFeedbackCommandInput | UpdateIPSetCommandInput | UpdateMalwareScanSettingsCommandInput | UpdateMemberDetectorsCommandInput | UpdateOrganizationConfigurationCommandInput | UpdatePublishingDestinationCommandInput | UpdateThreatIntelSetCommandInput;
|
|
82
83
|
/**
|
|
83
84
|
* @public
|
|
84
85
|
*/
|
|
85
|
-
export type ServiceOutputTypes = AcceptAdministratorInvitationCommandOutput | AcceptInvitationCommandOutput | ArchiveFindingsCommandOutput | CreateDetectorCommandOutput | CreateFilterCommandOutput | CreateIPSetCommandOutput | CreateMembersCommandOutput | CreatePublishingDestinationCommandOutput | CreateSampleFindingsCommandOutput | CreateThreatIntelSetCommandOutput | DeclineInvitationsCommandOutput | DeleteDetectorCommandOutput | DeleteFilterCommandOutput | DeleteIPSetCommandOutput | DeleteInvitationsCommandOutput | DeleteMembersCommandOutput | DeletePublishingDestinationCommandOutput | DeleteThreatIntelSetCommandOutput | DescribeMalwareScansCommandOutput | DescribeOrganizationConfigurationCommandOutput | DescribePublishingDestinationCommandOutput | DisableOrganizationAdminAccountCommandOutput | DisassociateFromAdministratorAccountCommandOutput | DisassociateFromMasterAccountCommandOutput | DisassociateMembersCommandOutput | EnableOrganizationAdminAccountCommandOutput | GetAdministratorAccountCommandOutput | GetCoverageStatisticsCommandOutput | GetDetectorCommandOutput | GetFilterCommandOutput | GetFindingsCommandOutput | GetFindingsStatisticsCommandOutput | GetIPSetCommandOutput | GetInvitationsCountCommandOutput | GetMalwareScanSettingsCommandOutput | GetMasterAccountCommandOutput | GetMemberDetectorsCommandOutput | GetMembersCommandOutput | GetRemainingFreeTrialDaysCommandOutput | GetThreatIntelSetCommandOutput | GetUsageStatisticsCommandOutput | InviteMembersCommandOutput | ListCoverageCommandOutput | ListDetectorsCommandOutput | ListFiltersCommandOutput | ListFindingsCommandOutput | ListIPSetsCommandOutput | ListInvitationsCommandOutput | ListMembersCommandOutput | ListOrganizationAdminAccountsCommandOutput | ListPublishingDestinationsCommandOutput | ListTagsForResourceCommandOutput | ListThreatIntelSetsCommandOutput | StartMonitoringMembersCommandOutput | StopMonitoringMembersCommandOutput | TagResourceCommandOutput | UnarchiveFindingsCommandOutput | UntagResourceCommandOutput | UpdateDetectorCommandOutput | UpdateFilterCommandOutput | UpdateFindingsFeedbackCommandOutput | UpdateIPSetCommandOutput | UpdateMalwareScanSettingsCommandOutput | UpdateMemberDetectorsCommandOutput | UpdateOrganizationConfigurationCommandOutput | UpdatePublishingDestinationCommandOutput | UpdateThreatIntelSetCommandOutput;
|
|
86
|
+
export type ServiceOutputTypes = AcceptAdministratorInvitationCommandOutput | AcceptInvitationCommandOutput | ArchiveFindingsCommandOutput | CreateDetectorCommandOutput | CreateFilterCommandOutput | CreateIPSetCommandOutput | CreateMembersCommandOutput | CreatePublishingDestinationCommandOutput | CreateSampleFindingsCommandOutput | CreateThreatIntelSetCommandOutput | DeclineInvitationsCommandOutput | DeleteDetectorCommandOutput | DeleteFilterCommandOutput | DeleteIPSetCommandOutput | DeleteInvitationsCommandOutput | DeleteMembersCommandOutput | DeletePublishingDestinationCommandOutput | DeleteThreatIntelSetCommandOutput | DescribeMalwareScansCommandOutput | DescribeOrganizationConfigurationCommandOutput | DescribePublishingDestinationCommandOutput | DisableOrganizationAdminAccountCommandOutput | DisassociateFromAdministratorAccountCommandOutput | DisassociateFromMasterAccountCommandOutput | DisassociateMembersCommandOutput | EnableOrganizationAdminAccountCommandOutput | GetAdministratorAccountCommandOutput | GetCoverageStatisticsCommandOutput | GetDetectorCommandOutput | GetFilterCommandOutput | GetFindingsCommandOutput | GetFindingsStatisticsCommandOutput | GetIPSetCommandOutput | GetInvitationsCountCommandOutput | GetMalwareScanSettingsCommandOutput | GetMasterAccountCommandOutput | GetMemberDetectorsCommandOutput | GetMembersCommandOutput | GetRemainingFreeTrialDaysCommandOutput | GetThreatIntelSetCommandOutput | GetUsageStatisticsCommandOutput | InviteMembersCommandOutput | ListCoverageCommandOutput | ListDetectorsCommandOutput | ListFiltersCommandOutput | ListFindingsCommandOutput | ListIPSetsCommandOutput | ListInvitationsCommandOutput | ListMembersCommandOutput | ListOrganizationAdminAccountsCommandOutput | ListPublishingDestinationsCommandOutput | ListTagsForResourceCommandOutput | ListThreatIntelSetsCommandOutput | StartMalwareScanCommandOutput | StartMonitoringMembersCommandOutput | StopMonitoringMembersCommandOutput | TagResourceCommandOutput | UnarchiveFindingsCommandOutput | UntagResourceCommandOutput | UpdateDetectorCommandOutput | UpdateFilterCommandOutput | UpdateFindingsFeedbackCommandOutput | UpdateIPSetCommandOutput | UpdateMalwareScanSettingsCommandOutput | UpdateMemberDetectorsCommandOutput | UpdateOrganizationConfigurationCommandOutput | UpdatePublishingDestinationCommandOutput | UpdateThreatIntelSetCommandOutput;
|
|
86
87
|
/**
|
|
87
88
|
* @public
|
|
88
89
|
*/
|
|
@@ -37,7 +37,7 @@ export interface DescribeMalwareScansCommandOutput extends DescribeMalwareScansR
|
|
|
37
37
|
* FilterCriteria: { // FilterCriteria
|
|
38
38
|
* FilterCriterion: [ // FilterCriterionList
|
|
39
39
|
* { // FilterCriterion
|
|
40
|
-
* CriterionKey: "EC2_INSTANCE_ARN" || "SCAN_ID" || "ACCOUNT_ID" || "GUARDDUTY_FINDING_ID" || "SCAN_START_TIME" || "SCAN_STATUS",
|
|
40
|
+
* CriterionKey: "EC2_INSTANCE_ARN" || "SCAN_ID" || "ACCOUNT_ID" || "GUARDDUTY_FINDING_ID" || "SCAN_START_TIME" || "SCAN_STATUS" || "SCAN_TYPE",
|
|
41
41
|
* FilterCondition: { // FilterCondition
|
|
42
42
|
* EqualsValue: "STRING_VALUE",
|
|
43
43
|
* GreaterThan: Number("long"),
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { GuardDutyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GuardDutyClient";
|
|
5
|
+
import { StartMalwareScanRequest, StartMalwareScanResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
9
|
+
* The input for {@link StartMalwareScanCommand}.
|
|
10
|
+
*/
|
|
11
|
+
export interface StartMalwareScanCommandInput extends StartMalwareScanRequest {
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
16
|
+
* The output of {@link StartMalwareScanCommand}.
|
|
17
|
+
*/
|
|
18
|
+
export interface StartMalwareScanCommandOutput extends StartMalwareScanResponse, __MetadataBearer {
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* @public
|
|
22
|
+
* <p>Initiates the malware scan. Invoking this API will automatically create the <a href="https://docs.aws.amazon.com/guardduty/latest/ug/slr-permissions-malware-protection.html">Service-linked role </a> in
|
|
23
|
+
* the corresponding account.</p>
|
|
24
|
+
* @example
|
|
25
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
26
|
+
* ```javascript
|
|
27
|
+
* import { GuardDutyClient, StartMalwareScanCommand } from "@aws-sdk/client-guardduty"; // ES Modules import
|
|
28
|
+
* // const { GuardDutyClient, StartMalwareScanCommand } = require("@aws-sdk/client-guardduty"); // CommonJS import
|
|
29
|
+
* const client = new GuardDutyClient(config);
|
|
30
|
+
* const input = { // StartMalwareScanRequest
|
|
31
|
+
* ResourceArn: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
33
|
+
* const command = new StartMalwareScanCommand(input);
|
|
34
|
+
* const response = await client.send(command);
|
|
35
|
+
* ```
|
|
36
|
+
*
|
|
37
|
+
* @param StartMalwareScanCommandInput - {@link StartMalwareScanCommandInput}
|
|
38
|
+
* @returns {@link StartMalwareScanCommandOutput}
|
|
39
|
+
* @see {@link StartMalwareScanCommandInput} for command's `input` shape.
|
|
40
|
+
* @see {@link StartMalwareScanCommandOutput} for command's `response` shape.
|
|
41
|
+
* @see {@link GuardDutyClientResolvedConfig | config} for GuardDutyClient's `config` shape.
|
|
42
|
+
*
|
|
43
|
+
* @throws {@link BadRequestException} (client fault)
|
|
44
|
+
* <p>A bad request exception object.</p>
|
|
45
|
+
*
|
|
46
|
+
* @throws {@link ConflictException} (client fault)
|
|
47
|
+
* <p>A request conflict exception object.</p>
|
|
48
|
+
*
|
|
49
|
+
* @throws {@link InternalServerErrorException} (server fault)
|
|
50
|
+
* <p>An internal server error exception object.</p>
|
|
51
|
+
*
|
|
52
|
+
*
|
|
53
|
+
*/
|
|
54
|
+
export declare class StartMalwareScanCommand extends $Command<StartMalwareScanCommandInput, StartMalwareScanCommandOutput, GuardDutyClientResolvedConfig> {
|
|
55
|
+
readonly input: StartMalwareScanCommandInput;
|
|
56
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
57
|
+
/**
|
|
58
|
+
* @public
|
|
59
|
+
*/
|
|
60
|
+
constructor(input: StartMalwareScanCommandInput);
|
|
61
|
+
/**
|
|
62
|
+
* @internal
|
|
63
|
+
*/
|
|
64
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: GuardDutyClientResolvedConfig, options?: __HttpHandlerOptions): Handler<StartMalwareScanCommandInput, StartMalwareScanCommandOutput>;
|
|
65
|
+
/**
|
|
66
|
+
* @internal
|
|
67
|
+
*/
|
|
68
|
+
private serialize;
|
|
69
|
+
/**
|
|
70
|
+
* @internal
|
|
71
|
+
*/
|
|
72
|
+
private deserialize;
|
|
73
|
+
}
|
|
@@ -2,7 +2,7 @@ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
|
2
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { GuardDutyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GuardDutyClient";
|
|
5
|
-
import { StopMonitoringMembersRequest, StopMonitoringMembersResponse } from "../models/
|
|
5
|
+
import { StopMonitoringMembersRequest, StopMonitoringMembersResponse } from "../models/models_1";
|
|
6
6
|
/**
|
|
7
7
|
* @public
|
|
8
8
|
*
|
|
@@ -2,7 +2,7 @@ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
|
2
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { GuardDutyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GuardDutyClient";
|
|
5
|
-
import { TagResourceRequest, TagResourceResponse } from "../models/
|
|
5
|
+
import { TagResourceRequest, TagResourceResponse } from "../models/models_1";
|
|
6
6
|
/**
|
|
7
7
|
* @public
|
|
8
8
|
*
|
|
@@ -51,6 +51,7 @@ export * from "./ListOrganizationAdminAccountsCommand";
|
|
|
51
51
|
export * from "./ListPublishingDestinationsCommand";
|
|
52
52
|
export * from "./ListTagsForResourceCommand";
|
|
53
53
|
export * from "./ListThreatIntelSetsCommand";
|
|
54
|
+
export * from "./StartMalwareScanCommand";
|
|
54
55
|
export * from "./StartMonitoringMembersCommand";
|
|
55
56
|
export * from "./StopMonitoringMembersCommand";
|
|
56
57
|
export * from "./TagResourceCommand";
|
|
@@ -913,6 +913,26 @@ export interface Condition {
|
|
|
913
913
|
*/
|
|
914
914
|
LessThanOrEqual?: number;
|
|
915
915
|
}
|
|
916
|
+
/**
|
|
917
|
+
* @public
|
|
918
|
+
* <p>A request conflict exception object.</p>
|
|
919
|
+
*/
|
|
920
|
+
export declare class ConflictException extends __BaseException {
|
|
921
|
+
readonly name: "ConflictException";
|
|
922
|
+
readonly $fault: "client";
|
|
923
|
+
/**
|
|
924
|
+
* <p>The error message.</p>
|
|
925
|
+
*/
|
|
926
|
+
Message?: string;
|
|
927
|
+
/**
|
|
928
|
+
* <p>The error type.</p>
|
|
929
|
+
*/
|
|
930
|
+
Type?: string;
|
|
931
|
+
/**
|
|
932
|
+
* @internal
|
|
933
|
+
*/
|
|
934
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
935
|
+
}
|
|
916
936
|
/**
|
|
917
937
|
* @public
|
|
918
938
|
* <p>Container security context.</p>
|
|
@@ -1944,6 +1964,7 @@ export declare const CriterionKey: {
|
|
|
1944
1964
|
readonly SCAN_ID: "SCAN_ID";
|
|
1945
1965
|
readonly SCAN_START_TIME: "SCAN_START_TIME";
|
|
1946
1966
|
readonly SCAN_STATUS: "SCAN_STATUS";
|
|
1967
|
+
readonly SCAN_TYPE: "SCAN_TYPE";
|
|
1947
1968
|
};
|
|
1948
1969
|
/**
|
|
1949
1970
|
* @public
|
|
@@ -2386,11 +2407,24 @@ export declare const ScanStatus: {
|
|
|
2386
2407
|
readonly COMPLETED: "COMPLETED";
|
|
2387
2408
|
readonly FAILED: "FAILED";
|
|
2388
2409
|
readonly RUNNING: "RUNNING";
|
|
2410
|
+
readonly SKIPPED: "SKIPPED";
|
|
2389
2411
|
};
|
|
2390
2412
|
/**
|
|
2391
2413
|
* @public
|
|
2392
2414
|
*/
|
|
2393
2415
|
export type ScanStatus = (typeof ScanStatus)[keyof typeof ScanStatus];
|
|
2416
|
+
/**
|
|
2417
|
+
* @public
|
|
2418
|
+
* @enum
|
|
2419
|
+
*/
|
|
2420
|
+
export declare const ScanType: {
|
|
2421
|
+
readonly GUARDDUTY_INITIATED: "GUARDDUTY_INITIATED";
|
|
2422
|
+
readonly ON_DEMAND: "ON_DEMAND";
|
|
2423
|
+
};
|
|
2424
|
+
/**
|
|
2425
|
+
* @public
|
|
2426
|
+
*/
|
|
2427
|
+
export type ScanType = (typeof ScanType)[keyof typeof ScanType];
|
|
2394
2428
|
/**
|
|
2395
2429
|
* @public
|
|
2396
2430
|
* <p>Represents the reason the scan was triggered.</p>
|
|
@@ -2468,6 +2502,10 @@ export interface Scan {
|
|
|
2468
2502
|
* <p>List of volumes that were attached to the original instance to be scanned.</p>
|
|
2469
2503
|
*/
|
|
2470
2504
|
AttachedVolumes?: VolumeDetail[];
|
|
2505
|
+
/**
|
|
2506
|
+
* <p>Specifies the scan type that invoked the malware scan.</p>
|
|
2507
|
+
*/
|
|
2508
|
+
ScanType?: ScanType | string;
|
|
2471
2509
|
}
|
|
2472
2510
|
/**
|
|
2473
2511
|
* @public
|
|
@@ -3146,6 +3184,10 @@ export interface EbsVolumeScanDetails {
|
|
|
3146
3184
|
* <p>Contains a complete view providing malware scan result details.</p>
|
|
3147
3185
|
*/
|
|
3148
3186
|
ScanDetections?: ScanDetections;
|
|
3187
|
+
/**
|
|
3188
|
+
* <p>Specifies the scan type that invoked the malware scan.</p>
|
|
3189
|
+
*/
|
|
3190
|
+
ScanType?: ScanType | string;
|
|
3149
3191
|
}
|
|
3150
3192
|
/**
|
|
3151
3193
|
* @public
|
|
@@ -5641,66 +5683,43 @@ export interface ListThreatIntelSetsResponse {
|
|
|
5641
5683
|
/**
|
|
5642
5684
|
* @public
|
|
5643
5685
|
*/
|
|
5644
|
-
export interface
|
|
5645
|
-
/**
|
|
5646
|
-
* <p>The unique ID of the detector of the GuardDuty administrator account associated with the
|
|
5647
|
-
* member accounts to monitor.</p>
|
|
5648
|
-
*/
|
|
5649
|
-
DetectorId: string | undefined;
|
|
5686
|
+
export interface StartMalwareScanRequest {
|
|
5650
5687
|
/**
|
|
5651
|
-
* <p>
|
|
5688
|
+
* <p>Amazon Resource Name (ARN) of the resource for which you invoked the API.</p>
|
|
5652
5689
|
*/
|
|
5653
|
-
|
|
5690
|
+
ResourceArn: string | undefined;
|
|
5654
5691
|
}
|
|
5655
5692
|
/**
|
|
5656
5693
|
* @public
|
|
5657
5694
|
*/
|
|
5658
|
-
export interface
|
|
5695
|
+
export interface StartMalwareScanResponse {
|
|
5659
5696
|
/**
|
|
5660
|
-
* <p>A
|
|
5661
|
-
*
|
|
5697
|
+
* <p>A unique identifier that gets generated when you invoke the API without any error. Each malware scan has
|
|
5698
|
+
* a corresponding scan ID. Using this scan ID, you can monitor the status of your malware scan.</p>
|
|
5662
5699
|
*/
|
|
5663
|
-
|
|
5700
|
+
ScanId?: string;
|
|
5664
5701
|
}
|
|
5665
5702
|
/**
|
|
5666
5703
|
* @public
|
|
5667
5704
|
*/
|
|
5668
|
-
export interface
|
|
5705
|
+
export interface StartMonitoringMembersRequest {
|
|
5669
5706
|
/**
|
|
5670
|
-
* <p>The unique ID of the detector
|
|
5671
|
-
*
|
|
5707
|
+
* <p>The unique ID of the detector of the GuardDuty administrator account associated with the
|
|
5708
|
+
* member accounts to monitor.</p>
|
|
5672
5709
|
*/
|
|
5673
5710
|
DetectorId: string | undefined;
|
|
5674
5711
|
/**
|
|
5675
|
-
* <p>A list of account IDs
|
|
5712
|
+
* <p>A list of account IDs of the GuardDuty member accounts to start monitoring.</p>
|
|
5676
5713
|
*/
|
|
5677
5714
|
AccountIds: string[] | undefined;
|
|
5678
5715
|
}
|
|
5679
5716
|
/**
|
|
5680
5717
|
* @public
|
|
5681
5718
|
*/
|
|
5682
|
-
export interface
|
|
5719
|
+
export interface StartMonitoringMembersResponse {
|
|
5683
5720
|
/**
|
|
5684
|
-
* <p>A list of objects that contain
|
|
5685
|
-
*
|
|
5721
|
+
* <p>A list of objects that contain the unprocessed account and a result string that explains
|
|
5722
|
+
* why it was unprocessed.</p>
|
|
5686
5723
|
*/
|
|
5687
5724
|
UnprocessedAccounts: UnprocessedAccount[] | undefined;
|
|
5688
5725
|
}
|
|
5689
|
-
/**
|
|
5690
|
-
* @public
|
|
5691
|
-
*/
|
|
5692
|
-
export interface TagResourceRequest {
|
|
5693
|
-
/**
|
|
5694
|
-
* <p>The Amazon Resource Name (ARN) for the GuardDuty resource to apply a tag to.</p>
|
|
5695
|
-
*/
|
|
5696
|
-
ResourceArn: string | undefined;
|
|
5697
|
-
/**
|
|
5698
|
-
* <p>The tags to be added to a resource.</p>
|
|
5699
|
-
*/
|
|
5700
|
-
Tags: Record<string, string> | undefined;
|
|
5701
|
-
}
|
|
5702
|
-
/**
|
|
5703
|
-
* @public
|
|
5704
|
-
*/
|
|
5705
|
-
export interface TagResourceResponse {
|
|
5706
|
-
}
|
|
@@ -1,4 +1,46 @@
|
|
|
1
1
|
import { AutoEnableMembers, DataSourceConfigurations, DestinationProperties, DetectorFeatureConfiguration, EbsSnapshotPreservation, FeatureStatus, Feedback, FilterAction, FindingCriteria, FindingPublishingFrequency, OrgFeature, OrgFeatureAdditionalConfiguration, OrgFeatureStatus, ScanResourceCriteria, UnprocessedAccount } from "./models_0";
|
|
2
|
+
/**
|
|
3
|
+
* @public
|
|
4
|
+
*/
|
|
5
|
+
export interface StopMonitoringMembersRequest {
|
|
6
|
+
/**
|
|
7
|
+
* <p>The unique ID of the detector associated with the GuardDuty administrator account that is
|
|
8
|
+
* monitoring member accounts.</p>
|
|
9
|
+
*/
|
|
10
|
+
DetectorId: string | undefined;
|
|
11
|
+
/**
|
|
12
|
+
* <p>A list of account IDs for the member accounts to stop monitoring.</p>
|
|
13
|
+
*/
|
|
14
|
+
AccountIds: string[] | undefined;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* @public
|
|
18
|
+
*/
|
|
19
|
+
export interface StopMonitoringMembersResponse {
|
|
20
|
+
/**
|
|
21
|
+
* <p>A list of objects that contain an accountId for each account that could not be processed,
|
|
22
|
+
* and a result string that indicates why the account was not processed. </p>
|
|
23
|
+
*/
|
|
24
|
+
UnprocessedAccounts: UnprocessedAccount[] | undefined;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* @public
|
|
28
|
+
*/
|
|
29
|
+
export interface TagResourceRequest {
|
|
30
|
+
/**
|
|
31
|
+
* <p>The Amazon Resource Name (ARN) for the GuardDuty resource to apply a tag to.</p>
|
|
32
|
+
*/
|
|
33
|
+
ResourceArn: string | undefined;
|
|
34
|
+
/**
|
|
35
|
+
* <p>The tags to be added to a resource.</p>
|
|
36
|
+
*/
|
|
37
|
+
Tags: Record<string, string> | undefined;
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* @public
|
|
41
|
+
*/
|
|
42
|
+
export interface TagResourceResponse {
|
|
43
|
+
}
|
|
2
44
|
/**
|
|
3
45
|
* @public
|
|
4
46
|
*/
|
|
@@ -53,6 +53,7 @@ import { ListOrganizationAdminAccountsCommandInput, ListOrganizationAdminAccount
|
|
|
53
53
|
import { ListPublishingDestinationsCommandInput, ListPublishingDestinationsCommandOutput } from "../commands/ListPublishingDestinationsCommand";
|
|
54
54
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "../commands/ListTagsForResourceCommand";
|
|
55
55
|
import { ListThreatIntelSetsCommandInput, ListThreatIntelSetsCommandOutput } from "../commands/ListThreatIntelSetsCommand";
|
|
56
|
+
import { StartMalwareScanCommandInput, StartMalwareScanCommandOutput } from "../commands/StartMalwareScanCommand";
|
|
56
57
|
import { StartMonitoringMembersCommandInput, StartMonitoringMembersCommandOutput } from "../commands/StartMonitoringMembersCommand";
|
|
57
58
|
import { StopMonitoringMembersCommandInput, StopMonitoringMembersCommandOutput } from "../commands/StopMonitoringMembersCommand";
|
|
58
59
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "../commands/TagResourceCommand";
|
|
@@ -279,6 +280,10 @@ export declare const se_ListTagsForResourceCommand: (input: ListTagsForResourceC
|
|
|
279
280
|
* serializeAws_restJson1ListThreatIntelSetsCommand
|
|
280
281
|
*/
|
|
281
282
|
export declare const se_ListThreatIntelSetsCommand: (input: ListThreatIntelSetsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
283
|
+
/**
|
|
284
|
+
* serializeAws_restJson1StartMalwareScanCommand
|
|
285
|
+
*/
|
|
286
|
+
export declare const se_StartMalwareScanCommand: (input: StartMalwareScanCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
282
287
|
/**
|
|
283
288
|
* serializeAws_restJson1StartMonitoringMembersCommand
|
|
284
289
|
*/
|
|
@@ -547,6 +552,10 @@ export declare const de_ListTagsForResourceCommand: (output: __HttpResponse, con
|
|
|
547
552
|
* deserializeAws_restJson1ListThreatIntelSetsCommand
|
|
548
553
|
*/
|
|
549
554
|
export declare const de_ListThreatIntelSetsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListThreatIntelSetsCommandOutput>;
|
|
555
|
+
/**
|
|
556
|
+
* deserializeAws_restJson1StartMalwareScanCommand
|
|
557
|
+
*/
|
|
558
|
+
export declare const de_StartMalwareScanCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<StartMalwareScanCommandOutput>;
|
|
550
559
|
/**
|
|
551
560
|
* deserializeAws_restJson1StartMonitoringMembersCommand
|
|
552
561
|
*/
|
|
@@ -211,6 +211,10 @@ import {
|
|
|
211
211
|
ListThreatIntelSetsCommandInput,
|
|
212
212
|
ListThreatIntelSetsCommandOutput,
|
|
213
213
|
} from "./commands/ListThreatIntelSetsCommand";
|
|
214
|
+
import {
|
|
215
|
+
StartMalwareScanCommandInput,
|
|
216
|
+
StartMalwareScanCommandOutput,
|
|
217
|
+
} from "./commands/StartMalwareScanCommand";
|
|
214
218
|
import {
|
|
215
219
|
StartMonitoringMembersCommandInput,
|
|
216
220
|
StartMonitoringMembersCommandOutput,
|
|
@@ -970,6 +974,19 @@ export interface GuardDuty {
|
|
|
970
974
|
options: __HttpHandlerOptions,
|
|
971
975
|
cb: (err: any, data?: ListThreatIntelSetsCommandOutput) => void
|
|
972
976
|
): void;
|
|
977
|
+
startMalwareScan(
|
|
978
|
+
args: StartMalwareScanCommandInput,
|
|
979
|
+
options?: __HttpHandlerOptions
|
|
980
|
+
): Promise<StartMalwareScanCommandOutput>;
|
|
981
|
+
startMalwareScan(
|
|
982
|
+
args: StartMalwareScanCommandInput,
|
|
983
|
+
cb: (err: any, data?: StartMalwareScanCommandOutput) => void
|
|
984
|
+
): void;
|
|
985
|
+
startMalwareScan(
|
|
986
|
+
args: StartMalwareScanCommandInput,
|
|
987
|
+
options: __HttpHandlerOptions,
|
|
988
|
+
cb: (err: any, data?: StartMalwareScanCommandOutput) => void
|
|
989
|
+
): void;
|
|
973
990
|
startMonitoringMembers(
|
|
974
991
|
args: StartMonitoringMembersCommandInput,
|
|
975
992
|
options?: __HttpHandlerOptions
|
|
@@ -256,6 +256,10 @@ import {
|
|
|
256
256
|
ListThreatIntelSetsCommandInput,
|
|
257
257
|
ListThreatIntelSetsCommandOutput,
|
|
258
258
|
} from "./commands/ListThreatIntelSetsCommand";
|
|
259
|
+
import {
|
|
260
|
+
StartMalwareScanCommandInput,
|
|
261
|
+
StartMalwareScanCommandOutput,
|
|
262
|
+
} from "./commands/StartMalwareScanCommand";
|
|
259
263
|
import {
|
|
260
264
|
StartMonitoringMembersCommandInput,
|
|
261
265
|
StartMonitoringMembersCommandOutput,
|
|
@@ -371,6 +375,7 @@ export type ServiceInputTypes =
|
|
|
371
375
|
| ListPublishingDestinationsCommandInput
|
|
372
376
|
| ListTagsForResourceCommandInput
|
|
373
377
|
| ListThreatIntelSetsCommandInput
|
|
378
|
+
| StartMalwareScanCommandInput
|
|
374
379
|
| StartMonitoringMembersCommandInput
|
|
375
380
|
| StopMonitoringMembersCommandInput
|
|
376
381
|
| TagResourceCommandInput
|
|
@@ -439,6 +444,7 @@ export type ServiceOutputTypes =
|
|
|
439
444
|
| ListPublishingDestinationsCommandOutput
|
|
440
445
|
| ListTagsForResourceCommandOutput
|
|
441
446
|
| ListThreatIntelSetsCommandOutput
|
|
447
|
+
| StartMalwareScanCommandOutput
|
|
442
448
|
| StartMonitoringMembersCommandOutput
|
|
443
449
|
| StopMonitoringMembersCommandOutput
|
|
444
450
|
| TagResourceCommandOutput
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import {
|
|
4
|
+
Handler,
|
|
5
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
6
|
+
MetadataBearer as __MetadataBearer,
|
|
7
|
+
MiddlewareStack,
|
|
8
|
+
} from "@aws-sdk/types";
|
|
9
|
+
import {
|
|
10
|
+
GuardDutyClientResolvedConfig,
|
|
11
|
+
ServiceInputTypes,
|
|
12
|
+
ServiceOutputTypes,
|
|
13
|
+
} from "../GuardDutyClient";
|
|
14
|
+
import {
|
|
15
|
+
StartMalwareScanRequest,
|
|
16
|
+
StartMalwareScanResponse,
|
|
17
|
+
} from "../models/models_0";
|
|
18
|
+
export interface StartMalwareScanCommandInput extends StartMalwareScanRequest {}
|
|
19
|
+
export interface StartMalwareScanCommandOutput
|
|
20
|
+
extends StartMalwareScanResponse,
|
|
21
|
+
__MetadataBearer {}
|
|
22
|
+
export declare class StartMalwareScanCommand extends $Command<
|
|
23
|
+
StartMalwareScanCommandInput,
|
|
24
|
+
StartMalwareScanCommandOutput,
|
|
25
|
+
GuardDutyClientResolvedConfig
|
|
26
|
+
> {
|
|
27
|
+
readonly input: StartMalwareScanCommandInput;
|
|
28
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
29
|
+
constructor(input: StartMalwareScanCommandInput);
|
|
30
|
+
resolveMiddleware(
|
|
31
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
32
|
+
configuration: GuardDutyClientResolvedConfig,
|
|
33
|
+
options?: __HttpHandlerOptions
|
|
34
|
+
): Handler<StartMalwareScanCommandInput, StartMalwareScanCommandOutput>;
|
|
35
|
+
private serialize;
|
|
36
|
+
private deserialize;
|
|
37
|
+
}
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
import {
|
|
15
15
|
StopMonitoringMembersRequest,
|
|
16
16
|
StopMonitoringMembersResponse,
|
|
17
|
-
} from "../models/
|
|
17
|
+
} from "../models/models_1";
|
|
18
18
|
export interface StopMonitoringMembersCommandInput
|
|
19
19
|
extends StopMonitoringMembersRequest {}
|
|
20
20
|
export interface StopMonitoringMembersCommandOutput
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
ServiceInputTypes,
|
|
12
12
|
ServiceOutputTypes,
|
|
13
13
|
} from "../GuardDutyClient";
|
|
14
|
-
import { TagResourceRequest, TagResourceResponse } from "../models/
|
|
14
|
+
import { TagResourceRequest, TagResourceResponse } from "../models/models_1";
|
|
15
15
|
export interface TagResourceCommandInput extends TagResourceRequest {}
|
|
16
16
|
export interface TagResourceCommandOutput
|
|
17
17
|
extends TagResourceResponse,
|
|
@@ -51,6 +51,7 @@ export * from "./ListOrganizationAdminAccountsCommand";
|
|
|
51
51
|
export * from "./ListPublishingDestinationsCommand";
|
|
52
52
|
export * from "./ListTagsForResourceCommand";
|
|
53
53
|
export * from "./ListThreatIntelSetsCommand";
|
|
54
|
+
export * from "./StartMalwareScanCommand";
|
|
54
55
|
export * from "./StartMonitoringMembersCommand";
|
|
55
56
|
export * from "./StopMonitoringMembersCommand";
|
|
56
57
|
export * from "./TagResourceCommand";
|
|
@@ -259,6 +259,13 @@ export interface Condition {
|
|
|
259
259
|
LessThan?: number;
|
|
260
260
|
LessThanOrEqual?: number;
|
|
261
261
|
}
|
|
262
|
+
export declare class ConflictException extends __BaseException {
|
|
263
|
+
readonly name: "ConflictException";
|
|
264
|
+
readonly $fault: "client";
|
|
265
|
+
Message?: string;
|
|
266
|
+
Type?: string;
|
|
267
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
268
|
+
}
|
|
262
269
|
export interface SecurityContext {
|
|
263
270
|
Privileged?: boolean;
|
|
264
271
|
}
|
|
@@ -540,6 +547,7 @@ export declare const CriterionKey: {
|
|
|
540
547
|
readonly SCAN_ID: "SCAN_ID";
|
|
541
548
|
readonly SCAN_START_TIME: "SCAN_START_TIME";
|
|
542
549
|
readonly SCAN_STATUS: "SCAN_STATUS";
|
|
550
|
+
readonly SCAN_TYPE: "SCAN_TYPE";
|
|
543
551
|
};
|
|
544
552
|
export type CriterionKey = (typeof CriterionKey)[keyof typeof CriterionKey];
|
|
545
553
|
export declare const DataSource: {
|
|
@@ -668,8 +676,14 @@ export declare const ScanStatus: {
|
|
|
668
676
|
readonly COMPLETED: "COMPLETED";
|
|
669
677
|
readonly FAILED: "FAILED";
|
|
670
678
|
readonly RUNNING: "RUNNING";
|
|
679
|
+
readonly SKIPPED: "SKIPPED";
|
|
671
680
|
};
|
|
672
681
|
export type ScanStatus = (typeof ScanStatus)[keyof typeof ScanStatus];
|
|
682
|
+
export declare const ScanType: {
|
|
683
|
+
readonly GUARDDUTY_INITIATED: "GUARDDUTY_INITIATED";
|
|
684
|
+
readonly ON_DEMAND: "ON_DEMAND";
|
|
685
|
+
};
|
|
686
|
+
export type ScanType = (typeof ScanType)[keyof typeof ScanType];
|
|
673
687
|
export interface TriggerDetails {
|
|
674
688
|
GuardDutyFindingId?: string;
|
|
675
689
|
Description?: string;
|
|
@@ -689,6 +703,7 @@ export interface Scan {
|
|
|
689
703
|
TotalBytes?: number;
|
|
690
704
|
FileCount?: number;
|
|
691
705
|
AttachedVolumes?: VolumeDetail[];
|
|
706
|
+
ScanType?: ScanType | string;
|
|
692
707
|
}
|
|
693
708
|
export interface DescribeMalwareScansResponse {
|
|
694
709
|
Scans: Scan[] | undefined;
|
|
@@ -886,6 +901,7 @@ export interface EbsVolumeScanDetails {
|
|
|
886
901
|
TriggerFindingId?: string;
|
|
887
902
|
Sources?: string[];
|
|
888
903
|
ScanDetections?: ScanDetections;
|
|
904
|
+
ScanType?: ScanType | string;
|
|
889
905
|
}
|
|
890
906
|
export interface Tag {
|
|
891
907
|
Key?: string;
|
|
@@ -1534,22 +1550,16 @@ export interface ListThreatIntelSetsResponse {
|
|
|
1534
1550
|
ThreatIntelSetIds: string[] | undefined;
|
|
1535
1551
|
NextToken?: string;
|
|
1536
1552
|
}
|
|
1537
|
-
export interface
|
|
1538
|
-
|
|
1539
|
-
AccountIds: string[] | undefined;
|
|
1553
|
+
export interface StartMalwareScanRequest {
|
|
1554
|
+
ResourceArn: string | undefined;
|
|
1540
1555
|
}
|
|
1541
|
-
export interface
|
|
1542
|
-
|
|
1556
|
+
export interface StartMalwareScanResponse {
|
|
1557
|
+
ScanId?: string;
|
|
1543
1558
|
}
|
|
1544
|
-
export interface
|
|
1559
|
+
export interface StartMonitoringMembersRequest {
|
|
1545
1560
|
DetectorId: string | undefined;
|
|
1546
1561
|
AccountIds: string[] | undefined;
|
|
1547
1562
|
}
|
|
1548
|
-
export interface
|
|
1563
|
+
export interface StartMonitoringMembersResponse {
|
|
1549
1564
|
UnprocessedAccounts: UnprocessedAccount[] | undefined;
|
|
1550
1565
|
}
|
|
1551
|
-
export interface TagResourceRequest {
|
|
1552
|
-
ResourceArn: string | undefined;
|
|
1553
|
-
Tags: Record<string, string> | undefined;
|
|
1554
|
-
}
|
|
1555
|
-
export interface TagResourceResponse {}
|
|
@@ -15,6 +15,18 @@ import {
|
|
|
15
15
|
ScanResourceCriteria,
|
|
16
16
|
UnprocessedAccount,
|
|
17
17
|
} from "./models_0";
|
|
18
|
+
export interface StopMonitoringMembersRequest {
|
|
19
|
+
DetectorId: string | undefined;
|
|
20
|
+
AccountIds: string[] | undefined;
|
|
21
|
+
}
|
|
22
|
+
export interface StopMonitoringMembersResponse {
|
|
23
|
+
UnprocessedAccounts: UnprocessedAccount[] | undefined;
|
|
24
|
+
}
|
|
25
|
+
export interface TagResourceRequest {
|
|
26
|
+
ResourceArn: string | undefined;
|
|
27
|
+
Tags: Record<string, string> | undefined;
|
|
28
|
+
}
|
|
29
|
+
export interface TagResourceResponse {}
|
|
18
30
|
export interface UnarchiveFindingsRequest {
|
|
19
31
|
DetectorId: string | undefined;
|
|
20
32
|
FindingIds: string[] | undefined;
|
|
@@ -215,6 +215,10 @@ import {
|
|
|
215
215
|
ListThreatIntelSetsCommandInput,
|
|
216
216
|
ListThreatIntelSetsCommandOutput,
|
|
217
217
|
} from "../commands/ListThreatIntelSetsCommand";
|
|
218
|
+
import {
|
|
219
|
+
StartMalwareScanCommandInput,
|
|
220
|
+
StartMalwareScanCommandOutput,
|
|
221
|
+
} from "../commands/StartMalwareScanCommand";
|
|
218
222
|
import {
|
|
219
223
|
StartMonitoringMembersCommandInput,
|
|
220
224
|
StartMonitoringMembersCommandOutput,
|
|
@@ -483,6 +487,10 @@ export declare const se_ListThreatIntelSetsCommand: (
|
|
|
483
487
|
input: ListThreatIntelSetsCommandInput,
|
|
484
488
|
context: __SerdeContext
|
|
485
489
|
) => Promise<__HttpRequest>;
|
|
490
|
+
export declare const se_StartMalwareScanCommand: (
|
|
491
|
+
input: StartMalwareScanCommandInput,
|
|
492
|
+
context: __SerdeContext
|
|
493
|
+
) => Promise<__HttpRequest>;
|
|
486
494
|
export declare const se_StartMonitoringMembersCommand: (
|
|
487
495
|
input: StartMonitoringMembersCommandInput,
|
|
488
496
|
context: __SerdeContext
|
|
@@ -751,6 +759,10 @@ export declare const de_ListThreatIntelSetsCommand: (
|
|
|
751
759
|
output: __HttpResponse,
|
|
752
760
|
context: __SerdeContext
|
|
753
761
|
) => Promise<ListThreatIntelSetsCommandOutput>;
|
|
762
|
+
export declare const de_StartMalwareScanCommand: (
|
|
763
|
+
output: __HttpResponse,
|
|
764
|
+
context: __SerdeContext
|
|
765
|
+
) => Promise<StartMalwareScanCommandOutput>;
|
|
754
766
|
export declare const de_StartMonitoringMembersCommand: (
|
|
755
767
|
output: __HttpResponse,
|
|
756
768
|
context: __SerdeContext
|
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.322.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|