@aws-sdk/client-guardduty 3.1073.0 → 3.1074.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 +21 -0
- package/dist-cjs/index.js +80 -1
- package/dist-cjs/schemas/schemas_0.js +179 -55
- package/dist-es/GuardDuty.js +8 -0
- package/dist-es/commands/CreateInvestigationCommand.js +16 -0
- package/dist-es/commands/GetInvestigationCommand.js +16 -0
- package/dist-es/commands/ListInvestigationsCommand.js +16 -0
- package/dist-es/commands/index.js +3 -0
- package/dist-es/models/enums.js +28 -0
- package/dist-es/pagination/ListInvestigationsPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/schemas/schemas_0.js +167 -55
- package/dist-types/GuardDuty.d.ts +28 -0
- package/dist-types/GuardDutyClient.d.ts +5 -2
- package/dist-types/commands/CreateInvestigationCommand.d.ts +87 -0
- package/dist-types/commands/GetInvestigationCommand.d.ts +113 -0
- package/dist-types/commands/GetMalwareScanCommand.d.ts +2 -1
- package/dist-types/commands/GetMalwareScanSettingsCommand.d.ts +1 -1
- package/dist-types/commands/GetMasterAccountCommand.d.ts +1 -2
- package/dist-types/commands/ListInvestigationsCommand.d.ts +104 -0
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/models/enums.d.ts +68 -0
- package/dist-types/models/models_0.d.ts +180 -196
- package/dist-types/models/models_1.d.ts +304 -2
- package/dist-types/pagination/ListInvestigationsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +15 -0
- package/dist-types/ts3.4/GuardDuty.d.ts +58 -0
- package/dist-types/ts3.4/GuardDutyClient.d.ts +18 -0
- package/dist-types/ts3.4/commands/CreateInvestigationCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/GetInvestigationCommand.d.ts +52 -0
- package/dist-types/ts3.4/commands/GetMalwareScanCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/GetMalwareScanSettingsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetMasterAccountCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/ListInvestigationsCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist-types/ts3.4/models/enums.d.ts +35 -0
- package/dist-types/ts3.4/models/models_0.d.ts +47 -48
- package/dist-types/ts3.4/models/models_1.d.ts +82 -2
- package/dist-types/ts3.4/pagination/ListInvestigationsPaginator.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 +15 -0
- package/package.json +3 -3
|
@@ -4,6 +4,7 @@ import { type AcceptInvitationCommandInput, type AcceptInvitationCommandOutput }
|
|
|
4
4
|
import { type ArchiveFindingsCommandInput, type ArchiveFindingsCommandOutput } from "./commands/ArchiveFindingsCommand";
|
|
5
5
|
import { type CreateDetectorCommandInput, type CreateDetectorCommandOutput } from "./commands/CreateDetectorCommand";
|
|
6
6
|
import { type CreateFilterCommandInput, type CreateFilterCommandOutput } from "./commands/CreateFilterCommand";
|
|
7
|
+
import { type CreateInvestigationCommandInput, type CreateInvestigationCommandOutput } from "./commands/CreateInvestigationCommand";
|
|
7
8
|
import { type CreateIPSetCommandInput, type CreateIPSetCommandOutput } from "./commands/CreateIPSetCommand";
|
|
8
9
|
import { type CreateMalwareProtectionPlanCommandInput, type CreateMalwareProtectionPlanCommandOutput } from "./commands/CreateMalwareProtectionPlanCommand";
|
|
9
10
|
import { type CreateMembersCommandInput, type CreateMembersCommandOutput } from "./commands/CreateMembersCommand";
|
|
@@ -37,6 +38,7 @@ import { type GetDetectorCommandInput, type GetDetectorCommandOutput } from "./c
|
|
|
37
38
|
import { type GetFilterCommandInput, type GetFilterCommandOutput } from "./commands/GetFilterCommand";
|
|
38
39
|
import { type GetFindingsCommandInput, type GetFindingsCommandOutput } from "./commands/GetFindingsCommand";
|
|
39
40
|
import { type GetFindingsStatisticsCommandInput, type GetFindingsStatisticsCommandOutput } from "./commands/GetFindingsStatisticsCommand";
|
|
41
|
+
import { type GetInvestigationCommandInput, type GetInvestigationCommandOutput } from "./commands/GetInvestigationCommand";
|
|
40
42
|
import { type GetInvitationsCountCommandInput, type GetInvitationsCountCommandOutput } from "./commands/GetInvitationsCountCommand";
|
|
41
43
|
import { type GetIPSetCommandInput, type GetIPSetCommandOutput } from "./commands/GetIPSetCommand";
|
|
42
44
|
import { type GetMalwareProtectionPlanCommandInput, type GetMalwareProtectionPlanCommandOutput } from "./commands/GetMalwareProtectionPlanCommand";
|
|
@@ -56,6 +58,7 @@ import { type ListCoverageCommandInput, type ListCoverageCommandOutput } from ".
|
|
|
56
58
|
import { type ListDetectorsCommandInput, type ListDetectorsCommandOutput } from "./commands/ListDetectorsCommand";
|
|
57
59
|
import { type ListFiltersCommandInput, type ListFiltersCommandOutput } from "./commands/ListFiltersCommand";
|
|
58
60
|
import { type ListFindingsCommandInput, type ListFindingsCommandOutput } from "./commands/ListFindingsCommand";
|
|
61
|
+
import { type ListInvestigationsCommandInput, type ListInvestigationsCommandOutput } from "./commands/ListInvestigationsCommand";
|
|
59
62
|
import { type ListInvitationsCommandInput, type ListInvitationsCommandOutput } from "./commands/ListInvitationsCommand";
|
|
60
63
|
import { type ListIPSetsCommandInput, type ListIPSetsCommandOutput } from "./commands/ListIPSetsCommand";
|
|
61
64
|
import { type ListMalwareProtectionPlansCommandInput, type ListMalwareProtectionPlansCommandOutput } from "./commands/ListMalwareProtectionPlansCommand";
|
|
@@ -118,6 +121,12 @@ export interface GuardDuty {
|
|
|
118
121
|
createFilter(args: CreateFilterCommandInput, options?: __HttpHandlerOptions): Promise<CreateFilterCommandOutput>;
|
|
119
122
|
createFilter(args: CreateFilterCommandInput, cb: (err: any, data?: CreateFilterCommandOutput) => void): void;
|
|
120
123
|
createFilter(args: CreateFilterCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateFilterCommandOutput) => void): void;
|
|
124
|
+
/**
|
|
125
|
+
* @see {@link CreateInvestigationCommand}
|
|
126
|
+
*/
|
|
127
|
+
createInvestigation(args: CreateInvestigationCommandInput, options?: __HttpHandlerOptions): Promise<CreateInvestigationCommandOutput>;
|
|
128
|
+
createInvestigation(args: CreateInvestigationCommandInput, cb: (err: any, data?: CreateInvestigationCommandOutput) => void): void;
|
|
129
|
+
createInvestigation(args: CreateInvestigationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateInvestigationCommandOutput) => void): void;
|
|
121
130
|
/**
|
|
122
131
|
* @see {@link CreateIPSetCommand}
|
|
123
132
|
*/
|
|
@@ -316,6 +325,12 @@ export interface GuardDuty {
|
|
|
316
325
|
getFindingsStatistics(args: GetFindingsStatisticsCommandInput, options?: __HttpHandlerOptions): Promise<GetFindingsStatisticsCommandOutput>;
|
|
317
326
|
getFindingsStatistics(args: GetFindingsStatisticsCommandInput, cb: (err: any, data?: GetFindingsStatisticsCommandOutput) => void): void;
|
|
318
327
|
getFindingsStatistics(args: GetFindingsStatisticsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetFindingsStatisticsCommandOutput) => void): void;
|
|
328
|
+
/**
|
|
329
|
+
* @see {@link GetInvestigationCommand}
|
|
330
|
+
*/
|
|
331
|
+
getInvestigation(args: GetInvestigationCommandInput, options?: __HttpHandlerOptions): Promise<GetInvestigationCommandOutput>;
|
|
332
|
+
getInvestigation(args: GetInvestigationCommandInput, cb: (err: any, data?: GetInvestigationCommandOutput) => void): void;
|
|
333
|
+
getInvestigation(args: GetInvestigationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetInvestigationCommandOutput) => void): void;
|
|
319
334
|
/**
|
|
320
335
|
* @see {@link GetInvitationsCountCommand}
|
|
321
336
|
*/
|
|
@@ -433,6 +448,12 @@ export interface GuardDuty {
|
|
|
433
448
|
listFindings(args: ListFindingsCommandInput, options?: __HttpHandlerOptions): Promise<ListFindingsCommandOutput>;
|
|
434
449
|
listFindings(args: ListFindingsCommandInput, cb: (err: any, data?: ListFindingsCommandOutput) => void): void;
|
|
435
450
|
listFindings(args: ListFindingsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListFindingsCommandOutput) => void): void;
|
|
451
|
+
/**
|
|
452
|
+
* @see {@link ListInvestigationsCommand}
|
|
453
|
+
*/
|
|
454
|
+
listInvestigations(args: ListInvestigationsCommandInput, options?: __HttpHandlerOptions): Promise<ListInvestigationsCommandOutput>;
|
|
455
|
+
listInvestigations(args: ListInvestigationsCommandInput, cb: (err: any, data?: ListInvestigationsCommandOutput) => void): void;
|
|
456
|
+
listInvestigations(args: ListInvestigationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListInvestigationsCommandOutput) => void): void;
|
|
436
457
|
/**
|
|
437
458
|
* @see {@link ListInvitationsCommand}
|
|
438
459
|
*/
|
|
@@ -667,6 +688,13 @@ export interface GuardDuty {
|
|
|
667
688
|
* @returns AsyncIterable of {@link ListFindingsCommandOutput}.
|
|
668
689
|
*/
|
|
669
690
|
paginateListFindings(args: ListFindingsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListFindingsCommandOutput>;
|
|
691
|
+
/**
|
|
692
|
+
* @see {@link ListInvestigationsCommand}
|
|
693
|
+
* @param args - command input.
|
|
694
|
+
* @param paginationConfig - optional pagination config.
|
|
695
|
+
* @returns AsyncIterable of {@link ListInvestigationsCommandOutput}.
|
|
696
|
+
*/
|
|
697
|
+
paginateListInvestigations(args: ListInvestigationsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListInvestigationsCommandOutput>;
|
|
670
698
|
/**
|
|
671
699
|
* @see {@link ListInvitationsCommand}
|
|
672
700
|
* @param args - command input.
|
|
@@ -11,6 +11,7 @@ import type { AcceptInvitationCommandInput, AcceptInvitationCommandOutput } from
|
|
|
11
11
|
import type { ArchiveFindingsCommandInput, ArchiveFindingsCommandOutput } from "./commands/ArchiveFindingsCommand";
|
|
12
12
|
import type { CreateDetectorCommandInput, CreateDetectorCommandOutput } from "./commands/CreateDetectorCommand";
|
|
13
13
|
import type { CreateFilterCommandInput, CreateFilterCommandOutput } from "./commands/CreateFilterCommand";
|
|
14
|
+
import type { CreateInvestigationCommandInput, CreateInvestigationCommandOutput } from "./commands/CreateInvestigationCommand";
|
|
14
15
|
import type { CreateIPSetCommandInput, CreateIPSetCommandOutput } from "./commands/CreateIPSetCommand";
|
|
15
16
|
import type { CreateMalwareProtectionPlanCommandInput, CreateMalwareProtectionPlanCommandOutput } from "./commands/CreateMalwareProtectionPlanCommand";
|
|
16
17
|
import type { CreateMembersCommandInput, CreateMembersCommandOutput } from "./commands/CreateMembersCommand";
|
|
@@ -44,6 +45,7 @@ import type { GetDetectorCommandInput, GetDetectorCommandOutput } from "./comman
|
|
|
44
45
|
import type { GetFilterCommandInput, GetFilterCommandOutput } from "./commands/GetFilterCommand";
|
|
45
46
|
import type { GetFindingsCommandInput, GetFindingsCommandOutput } from "./commands/GetFindingsCommand";
|
|
46
47
|
import type { GetFindingsStatisticsCommandInput, GetFindingsStatisticsCommandOutput } from "./commands/GetFindingsStatisticsCommand";
|
|
48
|
+
import type { GetInvestigationCommandInput, GetInvestigationCommandOutput } from "./commands/GetInvestigationCommand";
|
|
47
49
|
import type { GetInvitationsCountCommandInput, GetInvitationsCountCommandOutput } from "./commands/GetInvitationsCountCommand";
|
|
48
50
|
import type { GetIPSetCommandInput, GetIPSetCommandOutput } from "./commands/GetIPSetCommand";
|
|
49
51
|
import type { GetMalwareProtectionPlanCommandInput, GetMalwareProtectionPlanCommandOutput } from "./commands/GetMalwareProtectionPlanCommand";
|
|
@@ -63,6 +65,7 @@ import type { ListCoverageCommandInput, ListCoverageCommandOutput } from "./comm
|
|
|
63
65
|
import type { ListDetectorsCommandInput, ListDetectorsCommandOutput } from "./commands/ListDetectorsCommand";
|
|
64
66
|
import type { ListFiltersCommandInput, ListFiltersCommandOutput } from "./commands/ListFiltersCommand";
|
|
65
67
|
import type { ListFindingsCommandInput, ListFindingsCommandOutput } from "./commands/ListFindingsCommand";
|
|
68
|
+
import type { ListInvestigationsCommandInput, ListInvestigationsCommandOutput } from "./commands/ListInvestigationsCommand";
|
|
66
69
|
import type { ListInvitationsCommandInput, ListInvitationsCommandOutput } from "./commands/ListInvitationsCommand";
|
|
67
70
|
import type { ListIPSetsCommandInput, ListIPSetsCommandOutput } from "./commands/ListIPSetsCommand";
|
|
68
71
|
import type { ListMalwareProtectionPlansCommandInput, ListMalwareProtectionPlansCommandOutput } from "./commands/ListMalwareProtectionPlansCommand";
|
|
@@ -99,11 +102,11 @@ export { __Client };
|
|
|
99
102
|
/**
|
|
100
103
|
* @public
|
|
101
104
|
*/
|
|
102
|
-
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;
|
|
105
|
+
export type ServiceInputTypes = AcceptAdministratorInvitationCommandInput | AcceptInvitationCommandInput | ArchiveFindingsCommandInput | CreateDetectorCommandInput | CreateFilterCommandInput | CreateIPSetCommandInput | CreateInvestigationCommandInput | 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 | GetInvestigationCommandInput | GetInvitationsCountCommandInput | GetMalwareProtectionPlanCommandInput | GetMalwareScanCommandInput | GetMalwareScanSettingsCommandInput | GetMasterAccountCommandInput | GetMemberDetectorsCommandInput | GetMembersCommandInput | GetOrganizationStatisticsCommandInput | GetRemainingFreeTrialDaysCommandInput | GetThreatEntitySetCommandInput | GetThreatIntelSetCommandInput | GetTrustedEntitySetCommandInput | GetUsageStatisticsCommandInput | InviteMembersCommandInput | ListCoverageCommandInput | ListDetectorsCommandInput | ListFiltersCommandInput | ListFindingsCommandInput | ListIPSetsCommandInput | ListInvestigationsCommandInput | 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;
|
|
103
106
|
/**
|
|
104
107
|
* @public
|
|
105
108
|
*/
|
|
106
|
-
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;
|
|
109
|
+
export type ServiceOutputTypes = AcceptAdministratorInvitationCommandOutput | AcceptInvitationCommandOutput | ArchiveFindingsCommandOutput | CreateDetectorCommandOutput | CreateFilterCommandOutput | CreateIPSetCommandOutput | CreateInvestigationCommandOutput | 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 | GetInvestigationCommandOutput | GetInvitationsCountCommandOutput | GetMalwareProtectionPlanCommandOutput | GetMalwareScanCommandOutput | GetMalwareScanSettingsCommandOutput | GetMasterAccountCommandOutput | GetMemberDetectorsCommandOutput | GetMembersCommandOutput | GetOrganizationStatisticsCommandOutput | GetRemainingFreeTrialDaysCommandOutput | GetThreatEntitySetCommandOutput | GetThreatIntelSetCommandOutput | GetTrustedEntitySetCommandOutput | GetUsageStatisticsCommandOutput | InviteMembersCommandOutput | ListCoverageCommandOutput | ListDetectorsCommandOutput | ListFiltersCommandOutput | ListFindingsCommandOutput | ListIPSetsCommandOutput | ListInvestigationsCommandOutput | 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;
|
|
107
110
|
/**
|
|
108
111
|
* @public
|
|
109
112
|
*/
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { GuardDutyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GuardDutyClient";
|
|
4
|
+
import type { CreateInvestigationRequest, CreateInvestigationResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link CreateInvestigationCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface CreateInvestigationCommandInput extends CreateInvestigationRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link CreateInvestigationCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateInvestigationCommandOutput extends CreateInvestigationResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const CreateInvestigationCommand_base: {
|
|
25
|
+
new (input: CreateInvestigationCommandInput): import("@smithy/core/client").CommandImpl<CreateInvestigationCommandInput, CreateInvestigationCommandOutput, GuardDutyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: CreateInvestigationCommandInput): import("@smithy/core/client").CommandImpl<CreateInvestigationCommandInput, CreateInvestigationCommandOutput, GuardDutyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* <p>This API is currently available as a preview. During the preview, you can initiate up to 10 investigations per account per day, with a total limit of 100 investigations per account. This feature is available in the following Amazon Web Services Regions: US East (N. Virginia), US East (Ohio), US West (Oregon), Canada (Central), Europe (Frankfurt), Europe (Ireland), Europe (London), Europe (Paris), Europe (Stockholm), and Asia Pacific (Tokyo).</p> <p>Initiates a GuardDuty investigation that automatically analyzes security findings, correlates related activity, performs account-level analysis, and produces a structured investigation summary with recommended next steps.</p> <p>Only the administrator account can create an investigation. Member accounts don't have permission to create investigations from their accounts.</p> <p>To use this operation, the <code>AI_ANALYST</code> feature must be enabled on your detector.</p> <p>This feature uses Amazon Bedrock models that leverage Cross-Region Inference (CRIS), which automatically selects the optimal Amazon Web Services Region within your geography to process the investigation analysis and generate the investigation report. This maximizes available compute resources, model availability, and delivers the best customer experience. Your data remains stored only in the Region where the investigation request originates, however, investigation data and summary results may be processed outside that Region. All data is transmitted encrypted across Amazon's secure network. For more information, see <a href="https://docs.aws.amazon.com/guardduty/latest/ug/guardduty-investigation.html">GuardDuty Investigation</a>.</p>
|
|
33
|
+
* @example
|
|
34
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
35
|
+
* ```javascript
|
|
36
|
+
* import { GuardDutyClient, CreateInvestigationCommand } from "@aws-sdk/client-guardduty"; // ES Modules import
|
|
37
|
+
* // const { GuardDutyClient, CreateInvestigationCommand } = require("@aws-sdk/client-guardduty"); // CommonJS import
|
|
38
|
+
* // import type { GuardDutyClientConfig } from "@aws-sdk/client-guardduty";
|
|
39
|
+
* const config = {}; // type is GuardDutyClientConfig
|
|
40
|
+
* const client = new GuardDutyClient(config);
|
|
41
|
+
* const input = { // CreateInvestigationRequest
|
|
42
|
+
* DetectorId: "STRING_VALUE", // required
|
|
43
|
+
* TriggerPrompt: "STRING_VALUE", // required
|
|
44
|
+
* ClientToken: "STRING_VALUE",
|
|
45
|
+
* };
|
|
46
|
+
* const command = new CreateInvestigationCommand(input);
|
|
47
|
+
* const response = await client.send(command);
|
|
48
|
+
* // { // CreateInvestigationResponse
|
|
49
|
+
* // InvestigationId: "STRING_VALUE", // required
|
|
50
|
+
* // };
|
|
51
|
+
*
|
|
52
|
+
* ```
|
|
53
|
+
*
|
|
54
|
+
* @param CreateInvestigationCommandInput - {@link CreateInvestigationCommandInput}
|
|
55
|
+
* @returns {@link CreateInvestigationCommandOutput}
|
|
56
|
+
* @see {@link CreateInvestigationCommandInput} for command's `input` shape.
|
|
57
|
+
* @see {@link CreateInvestigationCommandOutput} for command's `response` shape.
|
|
58
|
+
* @see {@link GuardDutyClientResolvedConfig | config} for GuardDutyClient's `config` shape.
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
61
|
+
* <p>An access denied exception object.</p>
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link BadRequestException} (client fault)
|
|
64
|
+
* <p>A bad request exception object.</p>
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link InternalServerErrorException} (server fault)
|
|
67
|
+
* <p>An internal server error exception object.</p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link GuardDutyServiceException}
|
|
70
|
+
* <p>Base exception class for all service exceptions from GuardDuty service.</p>
|
|
71
|
+
*
|
|
72
|
+
*
|
|
73
|
+
* @public
|
|
74
|
+
*/
|
|
75
|
+
export declare class CreateInvestigationCommand extends CreateInvestigationCommand_base {
|
|
76
|
+
/** @internal type navigation helper, not in runtime. */
|
|
77
|
+
protected static __types: {
|
|
78
|
+
api: {
|
|
79
|
+
input: CreateInvestigationRequest;
|
|
80
|
+
output: CreateInvestigationResponse;
|
|
81
|
+
};
|
|
82
|
+
sdk: {
|
|
83
|
+
input: CreateInvestigationCommandInput;
|
|
84
|
+
output: CreateInvestigationCommandOutput;
|
|
85
|
+
};
|
|
86
|
+
};
|
|
87
|
+
}
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { GuardDutyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GuardDutyClient";
|
|
4
|
+
import type { GetInvestigationRequest, GetInvestigationResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link GetInvestigationCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetInvestigationCommandInput extends GetInvestigationRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetInvestigationCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetInvestigationCommandOutput extends GetInvestigationResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const GetInvestigationCommand_base: {
|
|
25
|
+
new (input: GetInvestigationCommandInput): import("@smithy/core/client").CommandImpl<GetInvestigationCommandInput, GetInvestigationCommandOutput, GuardDutyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: GetInvestigationCommandInput): import("@smithy/core/client").CommandImpl<GetInvestigationCommandInput, GetInvestigationCommandOutput, GuardDutyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* <p>This API is currently available as a preview. This feature is available in the following Amazon Web Services Regions: US East (N. Virginia), US East (Ohio), US West (Oregon), Canada (Central), Europe (Frankfurt), Europe (Ireland), Europe (London), Europe (Paris), Europe (Stockholm), and Asia Pacific (Tokyo).</p> <p>Retrieves the results and status of a specific GuardDuty investigation.</p> <p>An administrator account can retrieve any investigation within the organization. Member accounts can only retrieve investigations that belong to them.</p>
|
|
33
|
+
* @example
|
|
34
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
35
|
+
* ```javascript
|
|
36
|
+
* import { GuardDutyClient, GetInvestigationCommand } from "@aws-sdk/client-guardduty"; // ES Modules import
|
|
37
|
+
* // const { GuardDutyClient, GetInvestigationCommand } = require("@aws-sdk/client-guardduty"); // CommonJS import
|
|
38
|
+
* // import type { GuardDutyClientConfig } from "@aws-sdk/client-guardduty";
|
|
39
|
+
* const config = {}; // type is GuardDutyClientConfig
|
|
40
|
+
* const client = new GuardDutyClient(config);
|
|
41
|
+
* const input = { // GetInvestigationRequest
|
|
42
|
+
* DetectorId: "STRING_VALUE", // required
|
|
43
|
+
* InvestigationId: "STRING_VALUE", // required
|
|
44
|
+
* };
|
|
45
|
+
* const command = new GetInvestigationCommand(input);
|
|
46
|
+
* const response = await client.send(command);
|
|
47
|
+
* // { // GetInvestigationResponse
|
|
48
|
+
* // Investigation: { // Investigation
|
|
49
|
+
* // InvestigationId: "STRING_VALUE", // required
|
|
50
|
+
* // Status: "RUNNING" || "COMPLETED" || "FAILED", // required
|
|
51
|
+
* // TriggerPrompt: "STRING_VALUE", // required
|
|
52
|
+
* // TriggeredBy: "STRING_VALUE", // required
|
|
53
|
+
* // Metadata: { // InvestigationMetadata
|
|
54
|
+
* // Version: "STRING_VALUE", // required
|
|
55
|
+
* // Product: { // Product
|
|
56
|
+
* // Name: "STRING_VALUE", // required
|
|
57
|
+
* // Feature: "STRING_VALUE",
|
|
58
|
+
* // },
|
|
59
|
+
* // },
|
|
60
|
+
* // Cloud: { // CloudDetails
|
|
61
|
+
* // Provider: "AWS", // required
|
|
62
|
+
* // Region: "STRING_VALUE", // required
|
|
63
|
+
* // Account: "STRING_VALUE", // required
|
|
64
|
+
* // },
|
|
65
|
+
* // RiskLevel: "Info" || "Low" || "Medium" || "High" || "Critical",
|
|
66
|
+
* // Risk: "STRING_VALUE",
|
|
67
|
+
* // Confidence: "Unknown" || "Low" || "Medium" || "High",
|
|
68
|
+
* // Summary: "STRING_VALUE",
|
|
69
|
+
* // StartTime: new Date("TIMESTAMP"),
|
|
70
|
+
* // EndTime: new Date("TIMESTAMP"),
|
|
71
|
+
* // Error: "STRING_VALUE",
|
|
72
|
+
* // },
|
|
73
|
+
* // };
|
|
74
|
+
*
|
|
75
|
+
* ```
|
|
76
|
+
*
|
|
77
|
+
* @param GetInvestigationCommandInput - {@link GetInvestigationCommandInput}
|
|
78
|
+
* @returns {@link GetInvestigationCommandOutput}
|
|
79
|
+
* @see {@link GetInvestigationCommandInput} for command's `input` shape.
|
|
80
|
+
* @see {@link GetInvestigationCommandOutput} for command's `response` shape.
|
|
81
|
+
* @see {@link GuardDutyClientResolvedConfig | config} for GuardDutyClient's `config` shape.
|
|
82
|
+
*
|
|
83
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
84
|
+
* <p>An access denied exception object.</p>
|
|
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 ResourceNotFoundException} (client fault)
|
|
93
|
+
* <p>The requested resource can't be found.</p>
|
|
94
|
+
*
|
|
95
|
+
* @throws {@link GuardDutyServiceException}
|
|
96
|
+
* <p>Base exception class for all service exceptions from GuardDuty service.</p>
|
|
97
|
+
*
|
|
98
|
+
*
|
|
99
|
+
* @public
|
|
100
|
+
*/
|
|
101
|
+
export declare class GetInvestigationCommand extends GetInvestigationCommand_base {
|
|
102
|
+
/** @internal type navigation helper, not in runtime. */
|
|
103
|
+
protected static __types: {
|
|
104
|
+
api: {
|
|
105
|
+
input: GetInvestigationRequest;
|
|
106
|
+
output: GetInvestigationResponse;
|
|
107
|
+
};
|
|
108
|
+
sdk: {
|
|
109
|
+
input: GetInvestigationCommandInput;
|
|
110
|
+
output: GetInvestigationCommandOutput;
|
|
111
|
+
};
|
|
112
|
+
};
|
|
113
|
+
}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { GuardDutyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GuardDutyClient";
|
|
4
|
-
import type { GetMalwareScanRequest
|
|
4
|
+
import type { GetMalwareScanRequest } from "../models/models_0";
|
|
5
|
+
import type { GetMalwareScanResponse } from "../models/models_1";
|
|
5
6
|
/**
|
|
6
7
|
* @public
|
|
7
8
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { GuardDutyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GuardDutyClient";
|
|
4
|
-
import type { GetMalwareScanSettingsRequest, GetMalwareScanSettingsResponse } from "../models/
|
|
4
|
+
import type { GetMalwareScanSettingsRequest, GetMalwareScanSettingsResponse } from "../models/models_1";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { GuardDutyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GuardDutyClient";
|
|
4
|
-
import type { GetMasterAccountRequest } from "../models/
|
|
5
|
-
import type { GetMasterAccountResponse } from "../models/models_1";
|
|
4
|
+
import type { GetMasterAccountRequest, GetMasterAccountResponse } from "../models/models_1";
|
|
6
5
|
/**
|
|
7
6
|
* @public
|
|
8
7
|
*/
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { GuardDutyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GuardDutyClient";
|
|
4
|
+
import type { ListInvestigationsRequest, ListInvestigationsResponse } from "../models/models_1";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListInvestigationsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListInvestigationsCommandInput extends ListInvestigationsRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListInvestigationsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListInvestigationsCommandOutput extends ListInvestigationsResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListInvestigationsCommand_base: {
|
|
25
|
+
new (input: ListInvestigationsCommandInput): import("@smithy/core/client").CommandImpl<ListInvestigationsCommandInput, ListInvestigationsCommandOutput, GuardDutyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: ListInvestigationsCommandInput): import("@smithy/core/client").CommandImpl<ListInvestigationsCommandInput, ListInvestigationsCommandOutput, GuardDutyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* <p>This API is currently available as a preview. This feature is available in the following Amazon Web Services Regions: US East (N. Virginia), US East (Ohio), US West (Oregon), Canada (Central), Europe (Frankfurt), Europe (Ireland), Europe (London), Europe (Paris), Europe (Stockholm), and Asia Pacific (Tokyo).</p> <p>Returns a list of investigations associated with the specified GuardDuty detector.</p> <p>An administrator account sees all investigations across the organization. Member accounts see only the investigations that belong to them.</p>
|
|
33
|
+
* @example
|
|
34
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
35
|
+
* ```javascript
|
|
36
|
+
* import { GuardDutyClient, ListInvestigationsCommand } from "@aws-sdk/client-guardduty"; // ES Modules import
|
|
37
|
+
* // const { GuardDutyClient, ListInvestigationsCommand } = require("@aws-sdk/client-guardduty"); // CommonJS import
|
|
38
|
+
* // import type { GuardDutyClientConfig } from "@aws-sdk/client-guardduty";
|
|
39
|
+
* const config = {}; // type is GuardDutyClientConfig
|
|
40
|
+
* const client = new GuardDutyClient(config);
|
|
41
|
+
* const input = { // ListInvestigationsRequest
|
|
42
|
+
* DetectorId: "STRING_VALUE", // required
|
|
43
|
+
* SortCriteria: { // InvestigationSortCriteria
|
|
44
|
+
* AttributeName: "START_TIME" || "END_TIME" || "STATUS" || "RISK_LEVEL" || "CONFIDENCE",
|
|
45
|
+
* OrderBy: "ASC" || "DESC",
|
|
46
|
+
* },
|
|
47
|
+
* MaxResults: Number("int"),
|
|
48
|
+
* NextToken: "STRING_VALUE",
|
|
49
|
+
* };
|
|
50
|
+
* const command = new ListInvestigationsCommand(input);
|
|
51
|
+
* const response = await client.send(command);
|
|
52
|
+
* // { // ListInvestigationsResponse
|
|
53
|
+
* // Investigations: [ // InvestigationSummaries // required
|
|
54
|
+
* // { // InvestigationSummary
|
|
55
|
+
* // InvestigationId: "STRING_VALUE",
|
|
56
|
+
* // Status: "RUNNING" || "COMPLETED" || "FAILED",
|
|
57
|
+
* // TriggerPrompt: "STRING_VALUE",
|
|
58
|
+
* // RiskLevel: "Info" || "Low" || "Medium" || "High" || "Critical",
|
|
59
|
+
* // Confidence: "Unknown" || "Low" || "Medium" || "High",
|
|
60
|
+
* // Title: "STRING_VALUE",
|
|
61
|
+
* // AccountId: "STRING_VALUE",
|
|
62
|
+
* // StartTime: new Date("TIMESTAMP"),
|
|
63
|
+
* // EndTime: new Date("TIMESTAMP"),
|
|
64
|
+
* // },
|
|
65
|
+
* // ],
|
|
66
|
+
* // NextToken: "STRING_VALUE",
|
|
67
|
+
* // };
|
|
68
|
+
*
|
|
69
|
+
* ```
|
|
70
|
+
*
|
|
71
|
+
* @param ListInvestigationsCommandInput - {@link ListInvestigationsCommandInput}
|
|
72
|
+
* @returns {@link ListInvestigationsCommandOutput}
|
|
73
|
+
* @see {@link ListInvestigationsCommandInput} for command's `input` shape.
|
|
74
|
+
* @see {@link ListInvestigationsCommandOutput} for command's `response` shape.
|
|
75
|
+
* @see {@link GuardDutyClientResolvedConfig | config} for GuardDutyClient's `config` shape.
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
78
|
+
* <p>An access denied exception object.</p>
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link BadRequestException} (client fault)
|
|
81
|
+
* <p>A bad request exception object.</p>
|
|
82
|
+
*
|
|
83
|
+
* @throws {@link InternalServerErrorException} (server fault)
|
|
84
|
+
* <p>An internal server error exception object.</p>
|
|
85
|
+
*
|
|
86
|
+
* @throws {@link GuardDutyServiceException}
|
|
87
|
+
* <p>Base exception class for all service exceptions from GuardDuty service.</p>
|
|
88
|
+
*
|
|
89
|
+
*
|
|
90
|
+
* @public
|
|
91
|
+
*/
|
|
92
|
+
export declare class ListInvestigationsCommand extends ListInvestigationsCommand_base {
|
|
93
|
+
/** @internal type navigation helper, not in runtime. */
|
|
94
|
+
protected static __types: {
|
|
95
|
+
api: {
|
|
96
|
+
input: ListInvestigationsRequest;
|
|
97
|
+
output: ListInvestigationsResponse;
|
|
98
|
+
};
|
|
99
|
+
sdk: {
|
|
100
|
+
input: ListInvestigationsCommandInput;
|
|
101
|
+
output: ListInvestigationsCommandOutput;
|
|
102
|
+
};
|
|
103
|
+
};
|
|
104
|
+
}
|
|
@@ -4,6 +4,7 @@ export * from "./ArchiveFindingsCommand";
|
|
|
4
4
|
export * from "./CreateDetectorCommand";
|
|
5
5
|
export * from "./CreateFilterCommand";
|
|
6
6
|
export * from "./CreateIPSetCommand";
|
|
7
|
+
export * from "./CreateInvestigationCommand";
|
|
7
8
|
export * from "./CreateMalwareProtectionPlanCommand";
|
|
8
9
|
export * from "./CreateMembersCommand";
|
|
9
10
|
export * from "./CreatePublishingDestinationCommand";
|
|
@@ -37,6 +38,7 @@ export * from "./GetFilterCommand";
|
|
|
37
38
|
export * from "./GetFindingsCommand";
|
|
38
39
|
export * from "./GetFindingsStatisticsCommand";
|
|
39
40
|
export * from "./GetIPSetCommand";
|
|
41
|
+
export * from "./GetInvestigationCommand";
|
|
40
42
|
export * from "./GetInvitationsCountCommand";
|
|
41
43
|
export * from "./GetMalwareProtectionPlanCommand";
|
|
42
44
|
export * from "./GetMalwareScanCommand";
|
|
@@ -56,6 +58,7 @@ export * from "./ListDetectorsCommand";
|
|
|
56
58
|
export * from "./ListFiltersCommand";
|
|
57
59
|
export * from "./ListFindingsCommand";
|
|
58
60
|
export * from "./ListIPSetsCommand";
|
|
61
|
+
export * from "./ListInvestigationsCommand";
|
|
59
62
|
export * from "./ListInvitationsCommand";
|
|
60
63
|
export * from "./ListMalwareProtectionPlansCommand";
|
|
61
64
|
export * from "./ListMalwareScansCommand";
|
|
@@ -81,6 +81,17 @@ export declare const AutoEnableMembers: {
|
|
|
81
81
|
* @public
|
|
82
82
|
*/
|
|
83
83
|
export type AutoEnableMembers = (typeof AutoEnableMembers)[keyof typeof AutoEnableMembers];
|
|
84
|
+
/**
|
|
85
|
+
* @public
|
|
86
|
+
* @enum
|
|
87
|
+
*/
|
|
88
|
+
export declare const CloudProvider: {
|
|
89
|
+
readonly AWS: "AWS";
|
|
90
|
+
};
|
|
91
|
+
/**
|
|
92
|
+
* @public
|
|
93
|
+
*/
|
|
94
|
+
export type CloudProvider = (typeof CloudProvider)[keyof typeof CloudProvider];
|
|
84
95
|
/**
|
|
85
96
|
* @public
|
|
86
97
|
* @enum
|
|
@@ -109,6 +120,20 @@ export declare const ClusterStatus: {
|
|
|
109
120
|
* @public
|
|
110
121
|
*/
|
|
111
122
|
export type ClusterStatus = (typeof ClusterStatus)[keyof typeof ClusterStatus];
|
|
123
|
+
/**
|
|
124
|
+
* @public
|
|
125
|
+
* @enum
|
|
126
|
+
*/
|
|
127
|
+
export declare const Confidence: {
|
|
128
|
+
readonly HIGH: "High";
|
|
129
|
+
readonly LOW: "Low";
|
|
130
|
+
readonly MEDIUM: "Medium";
|
|
131
|
+
readonly UNKNOWN: "Unknown";
|
|
132
|
+
};
|
|
133
|
+
/**
|
|
134
|
+
* @public
|
|
135
|
+
*/
|
|
136
|
+
export type Confidence = (typeof Confidence)[keyof typeof Confidence];
|
|
112
137
|
/**
|
|
113
138
|
* @public
|
|
114
139
|
* @enum
|
|
@@ -792,6 +817,34 @@ export declare const GroupByType: {
|
|
|
792
817
|
* @public
|
|
793
818
|
*/
|
|
794
819
|
export type GroupByType = (typeof GroupByType)[keyof typeof GroupByType];
|
|
820
|
+
/**
|
|
821
|
+
* @public
|
|
822
|
+
* @enum
|
|
823
|
+
*/
|
|
824
|
+
export declare const RiskLevel: {
|
|
825
|
+
readonly CRITICAL: "Critical";
|
|
826
|
+
readonly HIGH: "High";
|
|
827
|
+
readonly INFO: "Info";
|
|
828
|
+
readonly LOW: "Low";
|
|
829
|
+
readonly MEDIUM: "Medium";
|
|
830
|
+
};
|
|
831
|
+
/**
|
|
832
|
+
* @public
|
|
833
|
+
*/
|
|
834
|
+
export type RiskLevel = (typeof RiskLevel)[keyof typeof RiskLevel];
|
|
835
|
+
/**
|
|
836
|
+
* @public
|
|
837
|
+
* @enum
|
|
838
|
+
*/
|
|
839
|
+
export declare const InvestigationStatus: {
|
|
840
|
+
readonly COMPLETED: "COMPLETED";
|
|
841
|
+
readonly FAILED: "FAILED";
|
|
842
|
+
readonly RUNNING: "RUNNING";
|
|
843
|
+
};
|
|
844
|
+
/**
|
|
845
|
+
* @public
|
|
846
|
+
*/
|
|
847
|
+
export type InvestigationStatus = (typeof InvestigationStatus)[keyof typeof InvestigationStatus];
|
|
795
848
|
/**
|
|
796
849
|
* @public
|
|
797
850
|
* @enum
|
|
@@ -996,6 +1049,21 @@ export declare const UsageStatisticType: {
|
|
|
996
1049
|
* @public
|
|
997
1050
|
*/
|
|
998
1051
|
export type UsageStatisticType = (typeof UsageStatisticType)[keyof typeof UsageStatisticType];
|
|
1052
|
+
/**
|
|
1053
|
+
* @public
|
|
1054
|
+
* @enum
|
|
1055
|
+
*/
|
|
1056
|
+
export declare const InvestigationSortField: {
|
|
1057
|
+
readonly CONFIDENCE: "CONFIDENCE";
|
|
1058
|
+
readonly END_TIME: "END_TIME";
|
|
1059
|
+
readonly RISK_LEVEL: "RISK_LEVEL";
|
|
1060
|
+
readonly START_TIME: "START_TIME";
|
|
1061
|
+
readonly STATUS: "STATUS";
|
|
1062
|
+
};
|
|
1063
|
+
/**
|
|
1064
|
+
* @public
|
|
1065
|
+
*/
|
|
1066
|
+
export type InvestigationSortField = (typeof InvestigationSortField)[keyof typeof InvestigationSortField];
|
|
999
1067
|
/**
|
|
1000
1068
|
* @public
|
|
1001
1069
|
* @enum
|