@aws-sdk/client-guardduty 3.934.0 → 3.936.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 +16 -0
- package/dist-cjs/index.js +1505 -525
- package/dist-es/GuardDuty.js +4 -0
- package/dist-es/commands/GetMalwareScanCommand.js +16 -0
- package/dist-es/commands/ListMalwareScansCommand.js +16 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/index.js +2 -1
- package/dist-es/models/enums.js +445 -0
- package/dist-es/models/errors.js +81 -0
- package/dist-es/models/models_0.js +1 -383
- package/dist-es/models/models_1.js +1 -77
- package/dist-es/pagination/ListMalwareScansPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/schemas/schemas_0.js +942 -68
- package/dist-types/GuardDuty.d.ts +15 -0
- package/dist-types/GuardDutyClient.d.ts +4 -2
- package/dist-types/commands/DescribeMalwareScansCommand.d.ts +1 -0
- package/dist-types/commands/GetAdministratorAccountCommand.d.ts +1 -1
- package/dist-types/commands/GetCoverageStatisticsCommand.d.ts +1 -1
- package/dist-types/commands/GetDetectorCommand.d.ts +1 -1
- package/dist-types/commands/GetFilterCommand.d.ts +1 -1
- package/dist-types/commands/GetFindingsCommand.d.ts +34 -1
- package/dist-types/commands/GetFindingsStatisticsCommand.d.ts +1 -1
- package/dist-types/commands/GetIPSetCommand.d.ts +1 -1
- package/dist-types/commands/GetInvitationsCountCommand.d.ts +1 -1
- package/dist-types/commands/GetMalwareProtectionPlanCommand.d.ts +1 -1
- package/dist-types/commands/GetMalwareScanCommand.d.ts +164 -0
- package/dist-types/commands/GetMalwareScanSettingsCommand.d.ts +1 -1
- package/dist-types/commands/GetMasterAccountCommand.d.ts +1 -1
- package/dist-types/commands/GetMemberDetectorsCommand.d.ts +1 -1
- package/dist-types/commands/GetMembersCommand.d.ts +1 -1
- package/dist-types/commands/ListMalwareScansCommand.d.ts +110 -0
- package/dist-types/commands/StartMalwareScanCommand.d.ts +14 -2
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/index.d.ts +4 -1
- package/dist-types/models/enums.d.ts +973 -0
- package/dist-types/models/errors.d.ts +112 -0
- package/dist-types/models/models_0.d.ts +1178 -784
- package/dist-types/models/models_1.d.ts +169 -893
- package/dist-types/pagination/ListMalwareScansPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +30 -0
- package/dist-types/ts3.4/GuardDuty.d.ts +35 -0
- package/dist-types/ts3.4/GuardDutyClient.d.ts +12 -0
- package/dist-types/ts3.4/commands/GetAdministratorAccountCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetCoverageStatisticsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetDetectorCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetFilterCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetFindingsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetFindingsStatisticsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetIPSetCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetInvitationsCountCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetMalwareProtectionPlanCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetMalwareScanCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/GetMalwareScanSettingsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetMasterAccountCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetMemberDetectorsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetMembersCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListMalwareScansCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/index.d.ts +4 -1
- package/dist-types/ts3.4/models/enums.d.ts +554 -0
- package/dist-types/ts3.4/models/errors.d.ts +45 -0
- package/dist-types/ts3.4/models/models_0.d.ts +329 -423
- package/dist-types/ts3.4/models/models_1.d.ts +68 -285
- package/dist-types/ts3.4/pagination/ListMalwareScansPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +30 -0
- package/package.json +19 -19
- package/dist-es/models/index.js +0 -2
- package/dist-types/models/index.d.ts +0 -2
- package/dist-types/ts3.4/models/index.d.ts +0 -2
|
@@ -40,6 +40,7 @@ import { GetFindingsStatisticsCommandInput, GetFindingsStatisticsCommandOutput }
|
|
|
40
40
|
import { GetInvitationsCountCommandInput, GetInvitationsCountCommandOutput } from "./commands/GetInvitationsCountCommand";
|
|
41
41
|
import { GetIPSetCommandInput, GetIPSetCommandOutput } from "./commands/GetIPSetCommand";
|
|
42
42
|
import { GetMalwareProtectionPlanCommandInput, GetMalwareProtectionPlanCommandOutput } from "./commands/GetMalwareProtectionPlanCommand";
|
|
43
|
+
import { GetMalwareScanCommandInput, GetMalwareScanCommandOutput } from "./commands/GetMalwareScanCommand";
|
|
43
44
|
import { GetMalwareScanSettingsCommandInput, GetMalwareScanSettingsCommandOutput } from "./commands/GetMalwareScanSettingsCommand";
|
|
44
45
|
import { GetMasterAccountCommandInput, GetMasterAccountCommandOutput } from "./commands/GetMasterAccountCommand";
|
|
45
46
|
import { GetMemberDetectorsCommandInput, GetMemberDetectorsCommandOutput } from "./commands/GetMemberDetectorsCommand";
|
|
@@ -58,6 +59,7 @@ import { ListFindingsCommandInput, ListFindingsCommandOutput } from "./commands/
|
|
|
58
59
|
import { ListInvitationsCommandInput, ListInvitationsCommandOutput } from "./commands/ListInvitationsCommand";
|
|
59
60
|
import { ListIPSetsCommandInput, ListIPSetsCommandOutput } from "./commands/ListIPSetsCommand";
|
|
60
61
|
import { ListMalwareProtectionPlansCommandInput, ListMalwareProtectionPlansCommandOutput } from "./commands/ListMalwareProtectionPlansCommand";
|
|
62
|
+
import { ListMalwareScansCommandInput, ListMalwareScansCommandOutput } from "./commands/ListMalwareScansCommand";
|
|
61
63
|
import { ListMembersCommandInput, ListMembersCommandOutput } from "./commands/ListMembersCommand";
|
|
62
64
|
import { ListOrganizationAdminAccountsCommandInput, ListOrganizationAdminAccountsCommandOutput } from "./commands/ListOrganizationAdminAccountsCommand";
|
|
63
65
|
import { ListPublishingDestinationsCommandInput, ListPublishingDestinationsCommandOutput } from "./commands/ListPublishingDestinationsCommand";
|
|
@@ -333,6 +335,12 @@ export interface GuardDuty {
|
|
|
333
335
|
getMalwareProtectionPlan(args: GetMalwareProtectionPlanCommandInput, options?: __HttpHandlerOptions): Promise<GetMalwareProtectionPlanCommandOutput>;
|
|
334
336
|
getMalwareProtectionPlan(args: GetMalwareProtectionPlanCommandInput, cb: (err: any, data?: GetMalwareProtectionPlanCommandOutput) => void): void;
|
|
335
337
|
getMalwareProtectionPlan(args: GetMalwareProtectionPlanCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetMalwareProtectionPlanCommandOutput) => void): void;
|
|
338
|
+
/**
|
|
339
|
+
* @see {@link GetMalwareScanCommand}
|
|
340
|
+
*/
|
|
341
|
+
getMalwareScan(args: GetMalwareScanCommandInput, options?: __HttpHandlerOptions): Promise<GetMalwareScanCommandOutput>;
|
|
342
|
+
getMalwareScan(args: GetMalwareScanCommandInput, cb: (err: any, data?: GetMalwareScanCommandOutput) => void): void;
|
|
343
|
+
getMalwareScan(args: GetMalwareScanCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetMalwareScanCommandOutput) => void): void;
|
|
336
344
|
/**
|
|
337
345
|
* @see {@link GetMalwareScanSettingsCommand}
|
|
338
346
|
*/
|
|
@@ -445,6 +453,13 @@ export interface GuardDuty {
|
|
|
445
453
|
listMalwareProtectionPlans(args: ListMalwareProtectionPlansCommandInput, options?: __HttpHandlerOptions): Promise<ListMalwareProtectionPlansCommandOutput>;
|
|
446
454
|
listMalwareProtectionPlans(args: ListMalwareProtectionPlansCommandInput, cb: (err: any, data?: ListMalwareProtectionPlansCommandOutput) => void): void;
|
|
447
455
|
listMalwareProtectionPlans(args: ListMalwareProtectionPlansCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListMalwareProtectionPlansCommandOutput) => void): void;
|
|
456
|
+
/**
|
|
457
|
+
* @see {@link ListMalwareScansCommand}
|
|
458
|
+
*/
|
|
459
|
+
listMalwareScans(): Promise<ListMalwareScansCommandOutput>;
|
|
460
|
+
listMalwareScans(args: ListMalwareScansCommandInput, options?: __HttpHandlerOptions): Promise<ListMalwareScansCommandOutput>;
|
|
461
|
+
listMalwareScans(args: ListMalwareScansCommandInput, cb: (err: any, data?: ListMalwareScansCommandOutput) => void): void;
|
|
462
|
+
listMalwareScans(args: ListMalwareScansCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListMalwareScansCommandOutput) => void): void;
|
|
448
463
|
/**
|
|
449
464
|
* @see {@link ListMembersCommand}
|
|
450
465
|
*/
|
|
@@ -48,6 +48,7 @@ import { GetFindingsStatisticsCommandInput, GetFindingsStatisticsCommandOutput }
|
|
|
48
48
|
import { GetInvitationsCountCommandInput, GetInvitationsCountCommandOutput } from "./commands/GetInvitationsCountCommand";
|
|
49
49
|
import { GetIPSetCommandInput, GetIPSetCommandOutput } from "./commands/GetIPSetCommand";
|
|
50
50
|
import { GetMalwareProtectionPlanCommandInput, GetMalwareProtectionPlanCommandOutput } from "./commands/GetMalwareProtectionPlanCommand";
|
|
51
|
+
import { GetMalwareScanCommandInput, GetMalwareScanCommandOutput } from "./commands/GetMalwareScanCommand";
|
|
51
52
|
import { GetMalwareScanSettingsCommandInput, GetMalwareScanSettingsCommandOutput } from "./commands/GetMalwareScanSettingsCommand";
|
|
52
53
|
import { GetMasterAccountCommandInput, GetMasterAccountCommandOutput } from "./commands/GetMasterAccountCommand";
|
|
53
54
|
import { GetMemberDetectorsCommandInput, GetMemberDetectorsCommandOutput } from "./commands/GetMemberDetectorsCommand";
|
|
@@ -66,6 +67,7 @@ import { ListFindingsCommandInput, ListFindingsCommandOutput } from "./commands/
|
|
|
66
67
|
import { ListInvitationsCommandInput, ListInvitationsCommandOutput } from "./commands/ListInvitationsCommand";
|
|
67
68
|
import { ListIPSetsCommandInput, ListIPSetsCommandOutput } from "./commands/ListIPSetsCommand";
|
|
68
69
|
import { ListMalwareProtectionPlansCommandInput, ListMalwareProtectionPlansCommandOutput } from "./commands/ListMalwareProtectionPlansCommand";
|
|
70
|
+
import { ListMalwareScansCommandInput, ListMalwareScansCommandOutput } from "./commands/ListMalwareScansCommand";
|
|
69
71
|
import { ListMembersCommandInput, ListMembersCommandOutput } from "./commands/ListMembersCommand";
|
|
70
72
|
import { ListOrganizationAdminAccountsCommandInput, ListOrganizationAdminAccountsCommandOutput } from "./commands/ListOrganizationAdminAccountsCommand";
|
|
71
73
|
import { ListPublishingDestinationsCommandInput, ListPublishingDestinationsCommandOutput } from "./commands/ListPublishingDestinationsCommand";
|
|
@@ -98,11 +100,11 @@ export { __Client };
|
|
|
98
100
|
/**
|
|
99
101
|
* @public
|
|
100
102
|
*/
|
|
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;
|
|
103
|
+
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 | GetMalwareScanCommandInput | GetMalwareScanSettingsCommandInput | GetMasterAccountCommandInput | GetMemberDetectorsCommandInput | GetMembersCommandInput | GetOrganizationStatisticsCommandInput | GetRemainingFreeTrialDaysCommandInput | GetThreatEntitySetCommandInput | GetThreatIntelSetCommandInput | GetTrustedEntitySetCommandInput | GetUsageStatisticsCommandInput | InviteMembersCommandInput | ListCoverageCommandInput | ListDetectorsCommandInput | ListFiltersCommandInput | ListFindingsCommandInput | ListIPSetsCommandInput | ListInvitationsCommandInput | ListMalwareProtectionPlansCommandInput | ListMalwareScansCommandInput | 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;
|
|
102
104
|
/**
|
|
103
105
|
* @public
|
|
104
106
|
*/
|
|
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;
|
|
107
|
+
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 | GetMalwareScanCommandOutput | GetMalwareScanSettingsCommandOutput | GetMasterAccountCommandOutput | GetMemberDetectorsCommandOutput | GetMembersCommandOutput | GetOrganizationStatisticsCommandOutput | GetRemainingFreeTrialDaysCommandOutput | GetThreatEntitySetCommandOutput | GetThreatIntelSetCommandOutput | GetTrustedEntitySetCommandOutput | GetUsageStatisticsCommandOutput | InviteMembersCommandOutput | ListCoverageCommandOutput | ListDetectorsCommandOutput | ListFiltersCommandOutput | ListFindingsCommandOutput | ListIPSetsCommandOutput | ListInvitationsCommandOutput | ListMalwareProtectionPlansCommandOutput | ListMalwareScansCommandOutput | 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;
|
|
106
108
|
/**
|
|
107
109
|
* @public
|
|
108
110
|
*/
|
|
@@ -76,6 +76,7 @@ declare const DescribeMalwareScansCommand_base: {
|
|
|
76
76
|
* // TriggerDetails: { // TriggerDetails
|
|
77
77
|
* // GuardDutyFindingId: "STRING_VALUE",
|
|
78
78
|
* // Description: "STRING_VALUE",
|
|
79
|
+
* // TriggerType: "BACKUP" || "GUARDDUTY",
|
|
79
80
|
* // },
|
|
80
81
|
* // ResourceDetails: { // ResourceDetails
|
|
81
82
|
* // InstanceArn: "STRING_VALUE",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { GuardDutyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GuardDutyClient";
|
|
4
|
-
import { GetAdministratorAccountRequest, GetAdministratorAccountResponse } from "../models/
|
|
4
|
+
import { GetAdministratorAccountRequest, GetAdministratorAccountResponse } from "../models/models_0";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { GuardDutyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GuardDutyClient";
|
|
4
|
-
import { GetCoverageStatisticsRequest, GetCoverageStatisticsResponse } from "../models/
|
|
4
|
+
import { GetCoverageStatisticsRequest, GetCoverageStatisticsResponse } from "../models/models_0";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { GuardDutyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GuardDutyClient";
|
|
4
|
-
import { GetDetectorRequest, GetDetectorResponse } from "../models/
|
|
4
|
+
import { GetDetectorRequest, GetDetectorResponse } from "../models/models_0";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { GuardDutyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GuardDutyClient";
|
|
4
|
-
import { GetFilterRequest, GetFilterResponse } from "../models/
|
|
4
|
+
import { GetFilterRequest, GetFilterResponse } from "../models/models_0";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { GuardDutyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GuardDutyClient";
|
|
4
|
-
import { GetFindingsRequest, GetFindingsResponse } from "../models/
|
|
4
|
+
import { GetFindingsRequest, GetFindingsResponse } from "../models/models_0";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -391,6 +391,16 @@ declare const GetFindingsCommand_base: {
|
|
|
391
391
|
* // },
|
|
392
392
|
* // Tags: "<Tags>",
|
|
393
393
|
* // },
|
|
394
|
+
* // EbsSnapshotDetails: { // EbsSnapshotDetails
|
|
395
|
+
* // SnapshotArn: "STRING_VALUE",
|
|
396
|
+
* // },
|
|
397
|
+
* // Ec2ImageDetails: { // Ec2ImageDetails
|
|
398
|
+
* // ImageArn: "STRING_VALUE",
|
|
399
|
+
* // },
|
|
400
|
+
* // RecoveryPointDetails: { // RecoveryPointDetails
|
|
401
|
+
* // RecoveryPointArn: "STRING_VALUE",
|
|
402
|
+
* // BackupVaultName: "STRING_VALUE",
|
|
403
|
+
* // },
|
|
394
404
|
* // },
|
|
395
405
|
* // SchemaVersion: "STRING_VALUE", // required
|
|
396
406
|
* // Service: { // Service
|
|
@@ -1026,8 +1036,31 @@ declare const GetFindingsCommand_base: {
|
|
|
1026
1036
|
* // Hash: "STRING_VALUE",
|
|
1027
1037
|
* // },
|
|
1028
1038
|
* // ],
|
|
1039
|
+
* // Count: Number("long"),
|
|
1040
|
+
* // Hash: "STRING_VALUE",
|
|
1041
|
+
* // ItemDetails: [ // ItemDetailsList
|
|
1042
|
+
* // { // ItemDetails
|
|
1043
|
+
* // ResourceArn: "STRING_VALUE",
|
|
1044
|
+
* // ItemPath: "STRING_VALUE",
|
|
1045
|
+
* // Hash: "STRING_VALUE",
|
|
1046
|
+
* // AdditionalInfo: { // AdditionalInfo
|
|
1047
|
+
* // VersionId: "STRING_VALUE",
|
|
1048
|
+
* // DeviceName: "STRING_VALUE",
|
|
1049
|
+
* // },
|
|
1050
|
+
* // },
|
|
1051
|
+
* // ],
|
|
1029
1052
|
* // },
|
|
1030
1053
|
* // ],
|
|
1054
|
+
* // ScanId: "STRING_VALUE",
|
|
1055
|
+
* // ScanType: "BACKUP_INITIATED" || "ON_DEMAND" || "GUARDDUTY_INITIATED",
|
|
1056
|
+
* // ScanCategory: "FULL_SCAN" || "INCREMENTAL_SCAN",
|
|
1057
|
+
* // ScanConfiguration: { // MalwareProtectionFindingsScanConfiguration
|
|
1058
|
+
* // TriggerType: "BACKUP" || "GUARDDUTY",
|
|
1059
|
+
* // IncrementalScanDetails: { // IncrementalScanDetails
|
|
1060
|
+
* // BaselineResourceArn: "STRING_VALUE", // required
|
|
1061
|
+
* // },
|
|
1062
|
+
* // },
|
|
1063
|
+
* // UniqueThreatCount: Number("int"),
|
|
1031
1064
|
* // },
|
|
1032
1065
|
* // },
|
|
1033
1066
|
* // Severity: Number("double"), // required
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { GuardDutyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GuardDutyClient";
|
|
4
|
-
import { GetFindingsStatisticsRequest, GetFindingsStatisticsResponse } from "../models/
|
|
4
|
+
import { GetFindingsStatisticsRequest, GetFindingsStatisticsResponse } from "../models/models_0";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { GuardDutyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GuardDutyClient";
|
|
4
|
-
import { GetIPSetRequest, GetIPSetResponse } from "../models/
|
|
4
|
+
import { GetIPSetRequest, GetIPSetResponse } from "../models/models_0";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { GuardDutyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GuardDutyClient";
|
|
4
|
-
import { GetInvitationsCountRequest, GetInvitationsCountResponse } from "../models/
|
|
4
|
+
import { GetInvitationsCountRequest, GetInvitationsCountResponse } from "../models/models_0";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { GuardDutyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GuardDutyClient";
|
|
4
|
-
import { GetMalwareProtectionPlanRequest, GetMalwareProtectionPlanResponse } from "../models/
|
|
4
|
+
import { GetMalwareProtectionPlanRequest, GetMalwareProtectionPlanResponse } from "../models/models_0";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -0,0 +1,164 @@
|
|
|
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 { GetMalwareScanRequest, GetMalwareScanResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link GetMalwareScanCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetMalwareScanCommandInput extends GetMalwareScanRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetMalwareScanCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetMalwareScanCommandOutput extends GetMalwareScanResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const GetMalwareScanCommand_base: {
|
|
25
|
+
new (input: GetMalwareScanCommandInput): import("@smithy/smithy-client").CommandImpl<GetMalwareScanCommandInput, GetMalwareScanCommandOutput, GuardDutyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: GetMalwareScanCommandInput): import("@smithy/smithy-client").CommandImpl<GetMalwareScanCommandInput, GetMalwareScanCommandOutput, GuardDutyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Retrieves the detailed information for a specific malware scan. Each member account can view the malware scan details for their
|
|
31
|
+
* own account. An administrator can view malware scan details for all accounts in the organization.</p>
|
|
32
|
+
* <p>There might be regional differences because some data sources might not be
|
|
33
|
+
* available in all the Amazon Web Services Regions where GuardDuty is presently supported. For more
|
|
34
|
+
* information, see <a href="https://docs.aws.amazon.com/guardduty/latest/ug/guardduty_regions.html">Regions and endpoints</a>.</p>
|
|
35
|
+
* @example
|
|
36
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
37
|
+
* ```javascript
|
|
38
|
+
* import { GuardDutyClient, GetMalwareScanCommand } from "@aws-sdk/client-guardduty"; // ES Modules import
|
|
39
|
+
* // const { GuardDutyClient, GetMalwareScanCommand } = require("@aws-sdk/client-guardduty"); // CommonJS import
|
|
40
|
+
* // import type { GuardDutyClientConfig } from "@aws-sdk/client-guardduty";
|
|
41
|
+
* const config = {}; // type is GuardDutyClientConfig
|
|
42
|
+
* const client = new GuardDutyClient(config);
|
|
43
|
+
* const input = { // GetMalwareScanRequest
|
|
44
|
+
* ScanId: "STRING_VALUE", // required
|
|
45
|
+
* };
|
|
46
|
+
* const command = new GetMalwareScanCommand(input);
|
|
47
|
+
* const response = await client.send(command);
|
|
48
|
+
* // { // GetMalwareScanResponse
|
|
49
|
+
* // ScanId: "STRING_VALUE",
|
|
50
|
+
* // DetectorId: "STRING_VALUE",
|
|
51
|
+
* // AdminDetectorId: "STRING_VALUE",
|
|
52
|
+
* // ResourceArn: "STRING_VALUE",
|
|
53
|
+
* // ResourceType: "EBS_RECOVERY_POINT" || "EBS_SNAPSHOT" || "EBS_VOLUME" || "EC2_AMI" || "EC2_INSTANCE" || "EC2_RECOVERY_POINT" || "S3_RECOVERY_POINT" || "S3_BUCKET",
|
|
54
|
+
* // ScannedResourcesCount: Number("int"),
|
|
55
|
+
* // SkippedResourcesCount: Number("int"),
|
|
56
|
+
* // FailedResourcesCount: Number("int"),
|
|
57
|
+
* // ScannedResources: [ // ScannedResources
|
|
58
|
+
* // { // ScannedResource
|
|
59
|
+
* // ScannedResourceArn: "STRING_VALUE",
|
|
60
|
+
* // ScannedResourceType: "EBS_RECOVERY_POINT" || "EBS_SNAPSHOT" || "EBS_VOLUME" || "EC2_AMI" || "EC2_INSTANCE" || "EC2_RECOVERY_POINT" || "S3_RECOVERY_POINT" || "S3_BUCKET",
|
|
61
|
+
* // ScannedResourceStatus: "RUNNING" || "COMPLETED" || "COMPLETED_WITH_ISSUES" || "FAILED" || "SKIPPED",
|
|
62
|
+
* // ScanStatusReason: "ACCESS_DENIED" || "RESOURCE_NOT_FOUND" || "SNAPSHOT_SIZE_LIMIT_EXCEEDED" || "RESOURCE_UNAVAILABLE" || "INCONSISTENT_SOURCE" || "INCREMENTAL_NO_DIFFERENCE" || "NO_EBS_VOLUMES_FOUND" || "UNSUPPORTED_PRODUCT_CODE_TYPE" || "AMI_SNAPSHOT_LIMIT_EXCEEDED" || "UNRELATED_RESOURCES" || "BASE_RESOURCE_NOT_SCANNED" || "BASE_CREATED_AFTER_TARGET" || "UNSUPPORTED_FOR_INCREMENTAL" || "UNSUPPORTED_AMI" || "UNSUPPORTED_SNAPSHOT" || "UNSUPPORTED_COMPOSITE_RECOVERY_POINT",
|
|
63
|
+
* // ResourceDetails: { // ScannedResourceDetails
|
|
64
|
+
* // EbsVolume: { // VolumeDetail
|
|
65
|
+
* // VolumeArn: "STRING_VALUE",
|
|
66
|
+
* // VolumeType: "STRING_VALUE",
|
|
67
|
+
* // DeviceName: "STRING_VALUE",
|
|
68
|
+
* // VolumeSizeInGB: Number("int"),
|
|
69
|
+
* // EncryptionType: "STRING_VALUE",
|
|
70
|
+
* // SnapshotArn: "STRING_VALUE",
|
|
71
|
+
* // KmsKeyArn: "STRING_VALUE",
|
|
72
|
+
* // },
|
|
73
|
+
* // EbsSnapshot: { // EbsSnapshot
|
|
74
|
+
* // DeviceName: "STRING_VALUE",
|
|
75
|
+
* // },
|
|
76
|
+
* // },
|
|
77
|
+
* // },
|
|
78
|
+
* // ],
|
|
79
|
+
* // ScanConfiguration: { // ScanConfiguration
|
|
80
|
+
* // Role: "STRING_VALUE",
|
|
81
|
+
* // TriggerDetails: { // TriggerDetails
|
|
82
|
+
* // GuardDutyFindingId: "STRING_VALUE",
|
|
83
|
+
* // Description: "STRING_VALUE",
|
|
84
|
+
* // TriggerType: "BACKUP" || "GUARDDUTY",
|
|
85
|
+
* // },
|
|
86
|
+
* // IncrementalScanDetails: { // IncrementalScanDetails
|
|
87
|
+
* // BaselineResourceArn: "STRING_VALUE", // required
|
|
88
|
+
* // },
|
|
89
|
+
* // RecoveryPoint: { // ScanConfigurationRecoveryPoint
|
|
90
|
+
* // BackupVaultName: "STRING_VALUE",
|
|
91
|
+
* // },
|
|
92
|
+
* // },
|
|
93
|
+
* // ScanCategory: "FULL_SCAN" || "INCREMENTAL_SCAN",
|
|
94
|
+
* // ScanStatus: "RUNNING" || "COMPLETED" || "COMPLETED_WITH_ISSUES" || "FAILED" || "SKIPPED",
|
|
95
|
+
* // ScanStatusReason: "ACCESS_DENIED" || "RESOURCE_NOT_FOUND" || "SNAPSHOT_SIZE_LIMIT_EXCEEDED" || "RESOURCE_UNAVAILABLE" || "INCONSISTENT_SOURCE" || "INCREMENTAL_NO_DIFFERENCE" || "NO_EBS_VOLUMES_FOUND" || "UNSUPPORTED_PRODUCT_CODE_TYPE" || "AMI_SNAPSHOT_LIMIT_EXCEEDED" || "UNRELATED_RESOURCES" || "BASE_RESOURCE_NOT_SCANNED" || "BASE_CREATED_AFTER_TARGET" || "UNSUPPORTED_FOR_INCREMENTAL" || "UNSUPPORTED_AMI" || "UNSUPPORTED_SNAPSHOT" || "UNSUPPORTED_COMPOSITE_RECOVERY_POINT",
|
|
96
|
+
* // ScanType: "BACKUP_INITIATED" || "ON_DEMAND" || "GUARDDUTY_INITIATED",
|
|
97
|
+
* // ScanStartedAt: new Date("TIMESTAMP"),
|
|
98
|
+
* // ScanCompletedAt: new Date("TIMESTAMP"),
|
|
99
|
+
* // ScanResultDetails: { // GetMalwareScanResultDetails
|
|
100
|
+
* // ScanResultStatus: "NO_THREATS_FOUND" || "THREATS_FOUND",
|
|
101
|
+
* // SkippedFileCount: Number("long"),
|
|
102
|
+
* // FailedFileCount: Number("long"),
|
|
103
|
+
* // ThreatFoundFileCount: Number("long"),
|
|
104
|
+
* // TotalFileCount: Number("long"),
|
|
105
|
+
* // TotalBytes: Number("long"),
|
|
106
|
+
* // UniqueThreatCount: Number("long"),
|
|
107
|
+
* // Threats: [ // ScanResultThreats
|
|
108
|
+
* // { // ScanResultThreat
|
|
109
|
+
* // Name: "STRING_VALUE",
|
|
110
|
+
* // Source: "AMAZON" || "BITDEFENDER",
|
|
111
|
+
* // Count: Number("long"),
|
|
112
|
+
* // Hash: "STRING_VALUE",
|
|
113
|
+
* // ItemDetails: [ // ItemDetailsList
|
|
114
|
+
* // { // ItemDetails
|
|
115
|
+
* // ResourceArn: "STRING_VALUE",
|
|
116
|
+
* // ItemPath: "STRING_VALUE",
|
|
117
|
+
* // Hash: "STRING_VALUE",
|
|
118
|
+
* // AdditionalInfo: { // AdditionalInfo
|
|
119
|
+
* // VersionId: "STRING_VALUE",
|
|
120
|
+
* // DeviceName: "STRING_VALUE",
|
|
121
|
+
* // },
|
|
122
|
+
* // },
|
|
123
|
+
* // ],
|
|
124
|
+
* // },
|
|
125
|
+
* // ],
|
|
126
|
+
* // },
|
|
127
|
+
* // };
|
|
128
|
+
*
|
|
129
|
+
* ```
|
|
130
|
+
*
|
|
131
|
+
* @param GetMalwareScanCommandInput - {@link GetMalwareScanCommandInput}
|
|
132
|
+
* @returns {@link GetMalwareScanCommandOutput}
|
|
133
|
+
* @see {@link GetMalwareScanCommandInput} for command's `input` shape.
|
|
134
|
+
* @see {@link GetMalwareScanCommandOutput} for command's `response` shape.
|
|
135
|
+
* @see {@link GuardDutyClientResolvedConfig | config} for GuardDutyClient's `config` shape.
|
|
136
|
+
*
|
|
137
|
+
* @throws {@link BadRequestException} (client fault)
|
|
138
|
+
* <p>A bad request exception object.</p>
|
|
139
|
+
*
|
|
140
|
+
* @throws {@link InternalServerErrorException} (server fault)
|
|
141
|
+
* <p>An internal server error exception object.</p>
|
|
142
|
+
*
|
|
143
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
144
|
+
* <p>The requested resource can't be found.</p>
|
|
145
|
+
*
|
|
146
|
+
* @throws {@link GuardDutyServiceException}
|
|
147
|
+
* <p>Base exception class for all service exceptions from GuardDuty service.</p>
|
|
148
|
+
*
|
|
149
|
+
*
|
|
150
|
+
* @public
|
|
151
|
+
*/
|
|
152
|
+
export declare class GetMalwareScanCommand extends GetMalwareScanCommand_base {
|
|
153
|
+
/** @internal type navigation helper, not in runtime. */
|
|
154
|
+
protected static __types: {
|
|
155
|
+
api: {
|
|
156
|
+
input: GetMalwareScanRequest;
|
|
157
|
+
output: GetMalwareScanResponse;
|
|
158
|
+
};
|
|
159
|
+
sdk: {
|
|
160
|
+
input: GetMalwareScanCommandInput;
|
|
161
|
+
output: GetMalwareScanCommandOutput;
|
|
162
|
+
};
|
|
163
|
+
};
|
|
164
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { GuardDutyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GuardDutyClient";
|
|
4
|
-
import { GetMalwareScanSettingsRequest, GetMalwareScanSettingsResponse } from "../models/
|
|
4
|
+
import { GetMalwareScanSettingsRequest, GetMalwareScanSettingsResponse } from "../models/models_0";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { GuardDutyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GuardDutyClient";
|
|
4
|
-
import { GetMasterAccountRequest, GetMasterAccountResponse } from "../models/
|
|
4
|
+
import { GetMasterAccountRequest, GetMasterAccountResponse } from "../models/models_0";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { GuardDutyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GuardDutyClient";
|
|
4
|
-
import { GetMemberDetectorsRequest, GetMemberDetectorsResponse } from "../models/
|
|
4
|
+
import { GetMemberDetectorsRequest, GetMemberDetectorsResponse } from "../models/models_0";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { GuardDutyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GuardDutyClient";
|
|
4
|
-
import { GetMembersRequest, GetMembersResponse } from "../models/
|
|
4
|
+
import { GetMembersRequest, GetMembersResponse } from "../models/models_0";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -0,0 +1,110 @@
|
|
|
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 { ListMalwareScansRequest, ListMalwareScansResponse } from "../models/models_1";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListMalwareScansCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListMalwareScansCommandInput extends ListMalwareScansRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListMalwareScansCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListMalwareScansCommandOutput extends ListMalwareScansResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListMalwareScansCommand_base: {
|
|
25
|
+
new (input: ListMalwareScansCommandInput): import("@smithy/smithy-client").CommandImpl<ListMalwareScansCommandInput, ListMalwareScansCommandOutput, GuardDutyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (...[input]: [] | [ListMalwareScansCommandInput]): import("@smithy/smithy-client").CommandImpl<ListMalwareScansCommandInput, ListMalwareScansCommandOutput, GuardDutyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Returns a list of malware scans. Each member account can view the malware scans for their
|
|
31
|
+
* own accounts. An administrator can view the malware scans for all of its members' accounts.</p>
|
|
32
|
+
* @example
|
|
33
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
34
|
+
* ```javascript
|
|
35
|
+
* import { GuardDutyClient, ListMalwareScansCommand } from "@aws-sdk/client-guardduty"; // ES Modules import
|
|
36
|
+
* // const { GuardDutyClient, ListMalwareScansCommand } = require("@aws-sdk/client-guardduty"); // CommonJS import
|
|
37
|
+
* // import type { GuardDutyClientConfig } from "@aws-sdk/client-guardduty";
|
|
38
|
+
* const config = {}; // type is GuardDutyClientConfig
|
|
39
|
+
* const client = new GuardDutyClient(config);
|
|
40
|
+
* const input = { // ListMalwareScansRequest
|
|
41
|
+
* MaxResults: Number("int"),
|
|
42
|
+
* NextToken: "STRING_VALUE",
|
|
43
|
+
* FilterCriteria: { // ListMalwareScansFilterCriteria
|
|
44
|
+
* ListMalwareScansFilterCriterion: [ // ListMalwareScansFilterCriterionList
|
|
45
|
+
* { // ListMalwareScansFilterCriterion
|
|
46
|
+
* ListMalwareScansCriterionKey: "RESOURCE_ARN" || "SCAN_ID" || "ACCOUNT_ID" || "GUARDDUTY_FINDING_ID" || "RESOURCE_TYPE" || "SCAN_START_TIME" || "SCAN_STATUS" || "SCAN_TYPE",
|
|
47
|
+
* FilterCondition: { // FilterCondition
|
|
48
|
+
* EqualsValue: "STRING_VALUE",
|
|
49
|
+
* GreaterThan: Number("long"),
|
|
50
|
+
* LessThan: Number("long"),
|
|
51
|
+
* },
|
|
52
|
+
* },
|
|
53
|
+
* ],
|
|
54
|
+
* },
|
|
55
|
+
* SortCriteria: { // SortCriteria
|
|
56
|
+
* AttributeName: "STRING_VALUE",
|
|
57
|
+
* OrderBy: "ASC" || "DESC",
|
|
58
|
+
* },
|
|
59
|
+
* };
|
|
60
|
+
* const command = new ListMalwareScansCommand(input);
|
|
61
|
+
* const response = await client.send(command);
|
|
62
|
+
* // { // ListMalwareScansResponse
|
|
63
|
+
* // Scans: [ // MalwareScans // required
|
|
64
|
+
* // { // MalwareScan
|
|
65
|
+
* // ResourceArn: "STRING_VALUE",
|
|
66
|
+
* // ResourceType: "EBS_RECOVERY_POINT" || "EBS_SNAPSHOT" || "EBS_VOLUME" || "EC2_AMI" || "EC2_INSTANCE" || "EC2_RECOVERY_POINT" || "S3_RECOVERY_POINT" || "S3_BUCKET",
|
|
67
|
+
* // ScanId: "STRING_VALUE",
|
|
68
|
+
* // ScanStatus: "RUNNING" || "COMPLETED" || "COMPLETED_WITH_ISSUES" || "FAILED" || "SKIPPED",
|
|
69
|
+
* // ScanResultStatus: "NO_THREATS_FOUND" || "THREATS_FOUND",
|
|
70
|
+
* // ScanType: "BACKUP_INITIATED" || "ON_DEMAND" || "GUARDDUTY_INITIATED",
|
|
71
|
+
* // ScanStartedAt: new Date("TIMESTAMP"),
|
|
72
|
+
* // ScanCompletedAt: new Date("TIMESTAMP"),
|
|
73
|
+
* // },
|
|
74
|
+
* // ],
|
|
75
|
+
* // NextToken: "STRING_VALUE",
|
|
76
|
+
* // };
|
|
77
|
+
*
|
|
78
|
+
* ```
|
|
79
|
+
*
|
|
80
|
+
* @param ListMalwareScansCommandInput - {@link ListMalwareScansCommandInput}
|
|
81
|
+
* @returns {@link ListMalwareScansCommandOutput}
|
|
82
|
+
* @see {@link ListMalwareScansCommandInput} for command's `input` shape.
|
|
83
|
+
* @see {@link ListMalwareScansCommandOutput} for command's `response` shape.
|
|
84
|
+
* @see {@link GuardDutyClientResolvedConfig | config} for GuardDutyClient's `config` shape.
|
|
85
|
+
*
|
|
86
|
+
* @throws {@link BadRequestException} (client fault)
|
|
87
|
+
* <p>A bad request exception object.</p>
|
|
88
|
+
*
|
|
89
|
+
* @throws {@link InternalServerErrorException} (server fault)
|
|
90
|
+
* <p>An internal server error exception object.</p>
|
|
91
|
+
*
|
|
92
|
+
* @throws {@link GuardDutyServiceException}
|
|
93
|
+
* <p>Base exception class for all service exceptions from GuardDuty service.</p>
|
|
94
|
+
*
|
|
95
|
+
*
|
|
96
|
+
* @public
|
|
97
|
+
*/
|
|
98
|
+
export declare class ListMalwareScansCommand extends ListMalwareScansCommand_base {
|
|
99
|
+
/** @internal type navigation helper, not in runtime. */
|
|
100
|
+
protected static __types: {
|
|
101
|
+
api: {
|
|
102
|
+
input: ListMalwareScansRequest;
|
|
103
|
+
output: ListMalwareScansResponse;
|
|
104
|
+
};
|
|
105
|
+
sdk: {
|
|
106
|
+
input: ListMalwareScansCommandInput;
|
|
107
|
+
output: ListMalwareScansCommandOutput;
|
|
108
|
+
};
|
|
109
|
+
};
|
|
110
|
+
}
|
|
@@ -28,9 +28,11 @@ declare const StartMalwareScanCommand_base: {
|
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
30
|
* <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
|
|
31
|
-
* the corresponding account.</p>
|
|
31
|
+
* the corresponding account if the resourceArn belongs to an EC2 instance.</p>
|
|
32
32
|
* <p>When the malware scan starts, you can use the associated scan ID to track the status of the scan. For more information,
|
|
33
|
-
* see <a href="https://docs.aws.amazon.com/guardduty/latest/APIReference/
|
|
33
|
+
* see <a href="https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListMalwareScans.html">ListMalwareScans</a> and <a href="https://docs.aws.amazon.com/guardduty/latest/APIReference/API_GetMalwareScan.html">GetMalwareScan</a>.</p>
|
|
34
|
+
* <p>When you use this API, the Amazon Web Services service terms for GuardDuty Malware
|
|
35
|
+
* 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>
|
|
34
36
|
* @example
|
|
35
37
|
* Use a bare-bones client and the command you need to make an API call.
|
|
36
38
|
* ```javascript
|
|
@@ -41,6 +43,16 @@ declare const StartMalwareScanCommand_base: {
|
|
|
41
43
|
* const client = new GuardDutyClient(config);
|
|
42
44
|
* const input = { // StartMalwareScanRequest
|
|
43
45
|
* ResourceArn: "STRING_VALUE", // required
|
|
46
|
+
* ClientToken: "STRING_VALUE",
|
|
47
|
+
* ScanConfiguration: { // StartMalwareScanConfiguration
|
|
48
|
+
* Role: "STRING_VALUE", // required
|
|
49
|
+
* IncrementalScanDetails: { // IncrementalScanDetails
|
|
50
|
+
* BaselineResourceArn: "STRING_VALUE", // required
|
|
51
|
+
* },
|
|
52
|
+
* RecoveryPoint: { // RecoveryPoint
|
|
53
|
+
* BackupVaultName: "STRING_VALUE", // required
|
|
54
|
+
* },
|
|
55
|
+
* },
|
|
44
56
|
* };
|
|
45
57
|
* const command = new StartMalwareScanCommand(input);
|
|
46
58
|
* const response = await client.send(command);
|
|
@@ -39,6 +39,7 @@ export * from "./GetFindingsStatisticsCommand";
|
|
|
39
39
|
export * from "./GetIPSetCommand";
|
|
40
40
|
export * from "./GetInvitationsCountCommand";
|
|
41
41
|
export * from "./GetMalwareProtectionPlanCommand";
|
|
42
|
+
export * from "./GetMalwareScanCommand";
|
|
42
43
|
export * from "./GetMalwareScanSettingsCommand";
|
|
43
44
|
export * from "./GetMasterAccountCommand";
|
|
44
45
|
export * from "./GetMemberDetectorsCommand";
|
|
@@ -57,6 +58,7 @@ export * from "./ListFindingsCommand";
|
|
|
57
58
|
export * from "./ListIPSetsCommand";
|
|
58
59
|
export * from "./ListInvitationsCommand";
|
|
59
60
|
export * from "./ListMalwareProtectionPlansCommand";
|
|
61
|
+
export * from "./ListMalwareScansCommand";
|
|
60
62
|
export * from "./ListMembersCommand";
|
|
61
63
|
export * from "./ListOrganizationAdminAccountsCommand";
|
|
62
64
|
export * from "./ListPublishingDestinationsCommand";
|
package/dist-types/index.d.ts
CHANGED
|
@@ -29,5 +29,8 @@ export type { RuntimeExtension } from "./runtimeExtensions";
|
|
|
29
29
|
export type { GuardDutyExtensionConfiguration } from "./extensionConfiguration";
|
|
30
30
|
export * from "./commands";
|
|
31
31
|
export * from "./pagination";
|
|
32
|
-
export * from "./models";
|
|
32
|
+
export * from "./models/enums";
|
|
33
|
+
export * from "./models/errors";
|
|
34
|
+
export type * from "./models/models_0";
|
|
35
|
+
export type * from "./models/models_1";
|
|
33
36
|
export { GuardDutyServiceException } from "./models/GuardDutyServiceException";
|