@aws-sdk/client-guardduty 3.1072.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.
Files changed (43) hide show
  1. package/README.md +21 -0
  2. package/dist-cjs/index.js +80 -1
  3. package/dist-cjs/schemas/schemas_0.js +179 -55
  4. package/dist-es/GuardDuty.js +8 -0
  5. package/dist-es/commands/CreateInvestigationCommand.js +16 -0
  6. package/dist-es/commands/GetInvestigationCommand.js +16 -0
  7. package/dist-es/commands/ListInvestigationsCommand.js +16 -0
  8. package/dist-es/commands/index.js +3 -0
  9. package/dist-es/models/enums.js +28 -0
  10. package/dist-es/pagination/ListInvestigationsPaginator.js +4 -0
  11. package/dist-es/pagination/index.js +1 -0
  12. package/dist-es/schemas/schemas_0.js +167 -55
  13. package/dist-types/GuardDuty.d.ts +28 -0
  14. package/dist-types/GuardDutyClient.d.ts +5 -2
  15. package/dist-types/commands/CreateInvestigationCommand.d.ts +87 -0
  16. package/dist-types/commands/GetInvestigationCommand.d.ts +113 -0
  17. package/dist-types/commands/GetMalwareScanCommand.d.ts +2 -1
  18. package/dist-types/commands/GetMalwareScanSettingsCommand.d.ts +1 -1
  19. package/dist-types/commands/GetMasterAccountCommand.d.ts +1 -2
  20. package/dist-types/commands/ListInvestigationsCommand.d.ts +104 -0
  21. package/dist-types/commands/index.d.ts +3 -0
  22. package/dist-types/models/enums.d.ts +68 -0
  23. package/dist-types/models/models_0.d.ts +180 -196
  24. package/dist-types/models/models_1.d.ts +304 -2
  25. package/dist-types/pagination/ListInvestigationsPaginator.d.ts +7 -0
  26. package/dist-types/pagination/index.d.ts +1 -0
  27. package/dist-types/schemas/schemas_0.d.ts +15 -0
  28. package/dist-types/ts3.4/GuardDuty.d.ts +58 -0
  29. package/dist-types/ts3.4/GuardDutyClient.d.ts +18 -0
  30. package/dist-types/ts3.4/commands/CreateInvestigationCommand.d.ts +53 -0
  31. package/dist-types/ts3.4/commands/GetInvestigationCommand.d.ts +52 -0
  32. package/dist-types/ts3.4/commands/GetMalwareScanCommand.d.ts +2 -4
  33. package/dist-types/ts3.4/commands/GetMalwareScanSettingsCommand.d.ts +1 -1
  34. package/dist-types/ts3.4/commands/GetMasterAccountCommand.d.ts +4 -2
  35. package/dist-types/ts3.4/commands/ListInvestigationsCommand.d.ts +53 -0
  36. package/dist-types/ts3.4/commands/index.d.ts +3 -0
  37. package/dist-types/ts3.4/models/enums.d.ts +35 -0
  38. package/dist-types/ts3.4/models/models_0.d.ts +47 -48
  39. package/dist-types/ts3.4/models/models_1.d.ts +82 -2
  40. package/dist-types/ts3.4/pagination/ListInvestigationsPaginator.d.ts +11 -0
  41. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  42. package/dist-types/ts3.4/schemas/schemas_0.d.ts +15 -0
  43. package/package.json +3 -3
@@ -0,0 +1,52 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ GuardDutyClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../GuardDutyClient";
8
+ import {
9
+ GetInvestigationRequest,
10
+ GetInvestigationResponse,
11
+ } from "../models/models_0";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface GetInvestigationCommandInput extends GetInvestigationRequest {}
15
+ export interface GetInvestigationCommandOutput
16
+ extends GetInvestigationResponse,
17
+ __MetadataBearer {}
18
+ declare const GetInvestigationCommand_base: {
19
+ new (
20
+ input: GetInvestigationCommandInput
21
+ ): import("@smithy/core/client").CommandImpl<
22
+ GetInvestigationCommandInput,
23
+ GetInvestigationCommandOutput,
24
+ GuardDutyClientResolvedConfig,
25
+ ServiceInputTypes,
26
+ ServiceOutputTypes
27
+ >;
28
+ new (
29
+ input: GetInvestigationCommandInput
30
+ ): import("@smithy/core/client").CommandImpl<
31
+ GetInvestigationCommandInput,
32
+ GetInvestigationCommandOutput,
33
+ GuardDutyClientResolvedConfig,
34
+ ServiceInputTypes,
35
+ ServiceOutputTypes
36
+ >;
37
+ getEndpointParameterInstructions(): {
38
+ [x: string]: unknown;
39
+ };
40
+ };
41
+ export declare class GetInvestigationCommand extends GetInvestigationCommand_base {
42
+ protected static __types: {
43
+ api: {
44
+ input: GetInvestigationRequest;
45
+ output: GetInvestigationResponse;
46
+ };
47
+ sdk: {
48
+ input: GetInvestigationCommandInput;
49
+ output: GetInvestigationCommandOutput;
50
+ };
51
+ };
52
+ }
@@ -5,10 +5,8 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../GuardDutyClient";
8
- import {
9
- GetMalwareScanRequest,
10
- GetMalwareScanResponse,
11
- } from "../models/models_0";
8
+ import { GetMalwareScanRequest } from "../models/models_0";
9
+ import { GetMalwareScanResponse } from "../models/models_1";
12
10
  export { __MetadataBearer };
13
11
  export { $Command };
14
12
  export interface GetMalwareScanCommandInput extends GetMalwareScanRequest {}
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  GetMalwareScanSettingsRequest,
10
10
  GetMalwareScanSettingsResponse,
11
- } from "../models/models_0";
11
+ } from "../models/models_1";
12
12
  export { __MetadataBearer };
13
13
  export { $Command };
14
14
  export interface GetMalwareScanSettingsCommandInput
@@ -5,8 +5,10 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../GuardDutyClient";
8
- import { GetMasterAccountRequest } from "../models/models_0";
9
- import { GetMasterAccountResponse } from "../models/models_1";
8
+ import {
9
+ GetMasterAccountRequest,
10
+ GetMasterAccountResponse,
11
+ } from "../models/models_1";
10
12
  export { __MetadataBearer };
11
13
  export { $Command };
12
14
  export interface GetMasterAccountCommandInput extends GetMasterAccountRequest {}
@@ -0,0 +1,53 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ GuardDutyClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../GuardDutyClient";
8
+ import {
9
+ ListInvestigationsRequest,
10
+ ListInvestigationsResponse,
11
+ } from "../models/models_1";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface ListInvestigationsCommandInput
15
+ extends ListInvestigationsRequest {}
16
+ export interface ListInvestigationsCommandOutput
17
+ extends ListInvestigationsResponse,
18
+ __MetadataBearer {}
19
+ declare const ListInvestigationsCommand_base: {
20
+ new (
21
+ input: ListInvestigationsCommandInput
22
+ ): import("@smithy/core/client").CommandImpl<
23
+ ListInvestigationsCommandInput,
24
+ ListInvestigationsCommandOutput,
25
+ GuardDutyClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ input: ListInvestigationsCommandInput
31
+ ): import("@smithy/core/client").CommandImpl<
32
+ ListInvestigationsCommandInput,
33
+ ListInvestigationsCommandOutput,
34
+ GuardDutyClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): {
39
+ [x: string]: unknown;
40
+ };
41
+ };
42
+ export declare class ListInvestigationsCommand extends ListInvestigationsCommand_base {
43
+ protected static __types: {
44
+ api: {
45
+ input: ListInvestigationsRequest;
46
+ output: ListInvestigationsResponse;
47
+ };
48
+ sdk: {
49
+ input: ListInvestigationsCommandInput;
50
+ output: ListInvestigationsCommandOutput;
51
+ };
52
+ };
53
+ }
@@ -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";
@@ -42,6 +42,10 @@ export declare const AutoEnableMembers: {
42
42
  };
43
43
  export type AutoEnableMembers =
44
44
  (typeof AutoEnableMembers)[keyof typeof AutoEnableMembers];
45
+ export declare const CloudProvider: {
46
+ readonly AWS: "AWS";
47
+ };
48
+ export type CloudProvider = (typeof CloudProvider)[keyof typeof CloudProvider];
45
49
  export declare const DataSourceStatus: {
46
50
  readonly DISABLED: "DISABLED";
47
51
  readonly ENABLED: "ENABLED";
@@ -57,6 +61,13 @@ export declare const ClusterStatus: {
57
61
  readonly UPDATING: "UPDATING";
58
62
  };
59
63
  export type ClusterStatus = (typeof ClusterStatus)[keyof typeof ClusterStatus];
64
+ export declare const Confidence: {
65
+ readonly HIGH: "High";
66
+ readonly LOW: "Low";
67
+ readonly MEDIUM: "Medium";
68
+ readonly UNKNOWN: "Unknown";
69
+ };
70
+ export type Confidence = (typeof Confidence)[keyof typeof Confidence];
60
71
  export declare const CoverageStatus: {
61
72
  readonly HEALTHY: "HEALTHY";
62
73
  readonly UNHEALTHY: "UNHEALTHY";
@@ -440,6 +451,21 @@ export declare const GroupByType: {
440
451
  readonly SEVERITY: "SEVERITY";
441
452
  };
442
453
  export type GroupByType = (typeof GroupByType)[keyof typeof GroupByType];
454
+ export declare const RiskLevel: {
455
+ readonly CRITICAL: "Critical";
456
+ readonly HIGH: "High";
457
+ readonly INFO: "Info";
458
+ readonly LOW: "Low";
459
+ readonly MEDIUM: "Medium";
460
+ };
461
+ export type RiskLevel = (typeof RiskLevel)[keyof typeof RiskLevel];
462
+ export declare const InvestigationStatus: {
463
+ readonly COMPLETED: "COMPLETED";
464
+ readonly FAILED: "FAILED";
465
+ readonly RUNNING: "RUNNING";
466
+ };
467
+ export type InvestigationStatus =
468
+ (typeof InvestigationStatus)[keyof typeof InvestigationStatus];
443
469
  export declare const IpSetStatus: {
444
470
  readonly ACTIVATING: "ACTIVATING";
445
471
  readonly ACTIVE: "ACTIVE";
@@ -570,6 +596,15 @@ export declare const UsageStatisticType: {
570
596
  };
571
597
  export type UsageStatisticType =
572
598
  (typeof UsageStatisticType)[keyof typeof UsageStatisticType];
599
+ export declare const InvestigationSortField: {
600
+ readonly CONFIDENCE: "CONFIDENCE";
601
+ readonly END_TIME: "END_TIME";
602
+ readonly RISK_LEVEL: "RISK_LEVEL";
603
+ readonly START_TIME: "START_TIME";
604
+ readonly STATUS: "STATUS";
605
+ };
606
+ export type InvestigationSortField =
607
+ (typeof InvestigationSortField)[keyof typeof InvestigationSortField];
573
608
  export declare const ListMalwareScansCriterionKey: {
574
609
  readonly ACCOUNT_ID: "ACCOUNT_ID";
575
610
  readonly GUARDDUTY_FINDING_ID: "GUARDDUTY_FINDING_ID";
@@ -1,7 +1,9 @@
1
1
  import {
2
2
  AdminStatus,
3
3
  AutoEnableMembers,
4
+ CloudProvider,
4
5
  ClusterStatus,
6
+ Confidence,
5
7
  CoverageFilterCriterionKey,
6
8
  CoverageSortKey,
7
9
  CoverageStatisticsType,
@@ -13,7 +15,6 @@ import {
13
15
  DetectorFeature,
14
16
  DetectorFeatureResult,
15
17
  DetectorStatus,
16
- EbsSnapshotPreservation,
17
18
  EcsClusterStatus,
18
19
  EcsLaunchType,
19
20
  FeatureAdditionalConfiguration,
@@ -25,6 +26,7 @@ import {
25
26
  FreeTrialFeatureResult,
26
27
  GroupByType,
27
28
  IndicatorType,
29
+ InvestigationStatus,
28
30
  IpSetFormat,
29
31
  IpSetStatus,
30
32
  KubernetesResourcesTypes,
@@ -47,8 +49,8 @@ import {
47
49
  PublicBucketRestrictBehavior,
48
50
  PublishingStatus,
49
51
  ResourceType,
52
+ RiskLevel,
50
53
  ScanCategory,
51
- ScanCriterionKey,
52
54
  ScanResult,
53
55
  ScanResultStatus,
54
56
  ScanStatus,
@@ -352,6 +354,11 @@ export interface BucketLevelPermissions {
352
354
  BucketPolicy?: BucketPolicy | undefined;
353
355
  BlockPublicAccess?: BlockPublicAccess | undefined;
354
356
  }
357
+ export interface CloudDetails {
358
+ Provider: CloudProvider | undefined;
359
+ Region: string | undefined;
360
+ Account: string | undefined;
361
+ }
355
362
  export interface CloudformationStack {
356
363
  Ec2InstanceUids?: string[] | undefined;
357
364
  }
@@ -531,6 +538,14 @@ export interface CreateFilterRequest {
531
538
  export interface CreateFilterResponse {
532
539
  Name: string | undefined;
533
540
  }
541
+ export interface CreateInvestigationRequest {
542
+ DetectorId: string | undefined;
543
+ TriggerPrompt: string | undefined;
544
+ ClientToken?: string | undefined;
545
+ }
546
+ export interface CreateInvestigationResponse {
547
+ InvestigationId: string | undefined;
548
+ }
534
549
  export interface CreateIPSetRequest {
535
550
  DetectorId: string | undefined;
536
551
  Name: string | undefined;
@@ -1538,6 +1553,36 @@ export interface GetFindingsStatisticsResponse {
1538
1553
  FindingStatistics: FindingStatistics | undefined;
1539
1554
  NextToken?: string | undefined;
1540
1555
  }
1556
+ export interface GetInvestigationRequest {
1557
+ DetectorId: string | undefined;
1558
+ InvestigationId: string | undefined;
1559
+ }
1560
+ export interface Product {
1561
+ Name: string | undefined;
1562
+ Feature?: string | undefined;
1563
+ }
1564
+ export interface InvestigationMetadata {
1565
+ Version: string | undefined;
1566
+ Product: Product | undefined;
1567
+ }
1568
+ export interface Investigation {
1569
+ InvestigationId: string | undefined;
1570
+ Status: InvestigationStatus | undefined;
1571
+ TriggerPrompt: string | undefined;
1572
+ TriggeredBy: string | undefined;
1573
+ Metadata?: InvestigationMetadata | undefined;
1574
+ Cloud?: CloudDetails | undefined;
1575
+ RiskLevel?: RiskLevel | undefined;
1576
+ Risk?: string | undefined;
1577
+ Confidence?: Confidence | undefined;
1578
+ Summary?: string | undefined;
1579
+ StartTime?: Date | undefined;
1580
+ EndTime?: Date | undefined;
1581
+ Error?: string | undefined;
1582
+ }
1583
+ export interface GetInvestigationResponse {
1584
+ Investigation: Investigation | undefined;
1585
+ }
1541
1586
  export interface GetInvitationsCountRequest {}
1542
1587
  export interface GetInvitationsCountResponse {
1543
1588
  InvitationsCount?: number | undefined;
@@ -1616,49 +1661,3 @@ export interface GetMalwareScanResultDetails {
1616
1661
  UniqueThreatCount?: number | undefined;
1617
1662
  Threats?: ScanResultThreat[] | undefined;
1618
1663
  }
1619
- export interface GetMalwareScanResponse {
1620
- ScanId?: string | undefined;
1621
- DetectorId?: string | undefined;
1622
- AdminDetectorId?: string | undefined;
1623
- ResourceArn?: string | undefined;
1624
- ResourceType?: MalwareProtectionResourceType | undefined;
1625
- ScannedResourcesCount?: number | undefined;
1626
- SkippedResourcesCount?: number | undefined;
1627
- FailedResourcesCount?: number | undefined;
1628
- ScannedResources?: ScannedResource[] | undefined;
1629
- ScanConfiguration?: ScanConfiguration | undefined;
1630
- ScanCategory?: ScanCategory | undefined;
1631
- ScanStatus?: MalwareProtectionScanStatus | undefined;
1632
- ScanStatusReason?: ScanStatusReason | undefined;
1633
- ScanType?: MalwareProtectionScanType | undefined;
1634
- ScanStartedAt?: Date | undefined;
1635
- ScanCompletedAt?: Date | undefined;
1636
- ScanResultDetails?: GetMalwareScanResultDetails | undefined;
1637
- }
1638
- export interface GetMalwareScanSettingsRequest {
1639
- DetectorId: string | undefined;
1640
- }
1641
- export interface ScanConditionPair {
1642
- Key: string | undefined;
1643
- Value?: string | undefined;
1644
- }
1645
- export interface ScanCondition {
1646
- MapEquals: ScanConditionPair[] | undefined;
1647
- }
1648
- export interface ScanResourceCriteria {
1649
- Include?: Partial<Record<ScanCriterionKey, ScanCondition>> | undefined;
1650
- Exclude?: Partial<Record<ScanCriterionKey, ScanCondition>> | undefined;
1651
- }
1652
- export interface GetMalwareScanSettingsResponse {
1653
- ScanResourceCriteria?: ScanResourceCriteria | undefined;
1654
- EbsSnapshotPreservation?: EbsSnapshotPreservation | undefined;
1655
- }
1656
- export interface GetMasterAccountRequest {
1657
- DetectorId: string | undefined;
1658
- }
1659
- export interface Master {
1660
- AccountId?: string | undefined;
1661
- InvitationId?: string | undefined;
1662
- RelationshipStatus?: string | undefined;
1663
- InvitedAt?: string | undefined;
1664
- }
@@ -1,19 +1,27 @@
1
1
  import {
2
2
  AutoEnableMembers,
3
+ Confidence,
3
4
  DataSource,
4
5
  EbsSnapshotPreservation,
5
6
  FeatureStatus,
6
7
  Feedback,
7
8
  FilterAction,
8
9
  FindingPublishingFrequency,
10
+ InvestigationSortField,
11
+ InvestigationStatus,
9
12
  ListMalwareScansCriterionKey,
10
13
  MalwareProtectionResourceType,
11
14
  MalwareProtectionScanStatus,
12
15
  MalwareProtectionScanType,
16
+ OrderBy,
13
17
  OrgFeature,
14
18
  OrgFeatureAdditionalConfiguration,
15
19
  OrgFeatureStatus,
20
+ RiskLevel,
21
+ ScanCategory,
22
+ ScanCriterionKey,
16
23
  ScanResultStatus,
24
+ ScanStatusReason,
17
25
  ThreatEntitySetFormat,
18
26
  ThreatEntitySetStatus,
19
27
  ThreatIntelSetFormat,
@@ -37,13 +45,60 @@ import {
37
45
  DetectorFeatureConfiguration,
38
46
  FilterCondition,
39
47
  FindingCriteria,
48
+ GetMalwareScanResultDetails,
40
49
  IncrementalScanDetails,
41
50
  MalwareProtectionPlanActions,
42
- Master,
43
- ScanResourceCriteria,
51
+ ScanConfiguration,
52
+ ScannedResource,
44
53
  SortCriteria,
45
54
  UnprocessedAccount,
46
55
  } from "./models_0";
56
+ export interface GetMalwareScanResponse {
57
+ ScanId?: string | undefined;
58
+ DetectorId?: string | undefined;
59
+ AdminDetectorId?: string | undefined;
60
+ ResourceArn?: string | undefined;
61
+ ResourceType?: MalwareProtectionResourceType | undefined;
62
+ ScannedResourcesCount?: number | undefined;
63
+ SkippedResourcesCount?: number | undefined;
64
+ FailedResourcesCount?: number | undefined;
65
+ ScannedResources?: ScannedResource[] | undefined;
66
+ ScanConfiguration?: ScanConfiguration | undefined;
67
+ ScanCategory?: ScanCategory | undefined;
68
+ ScanStatus?: MalwareProtectionScanStatus | undefined;
69
+ ScanStatusReason?: ScanStatusReason | undefined;
70
+ ScanType?: MalwareProtectionScanType | undefined;
71
+ ScanStartedAt?: Date | undefined;
72
+ ScanCompletedAt?: Date | undefined;
73
+ ScanResultDetails?: GetMalwareScanResultDetails | undefined;
74
+ }
75
+ export interface GetMalwareScanSettingsRequest {
76
+ DetectorId: string | undefined;
77
+ }
78
+ export interface ScanConditionPair {
79
+ Key: string | undefined;
80
+ Value?: string | undefined;
81
+ }
82
+ export interface ScanCondition {
83
+ MapEquals: ScanConditionPair[] | undefined;
84
+ }
85
+ export interface ScanResourceCriteria {
86
+ Include?: Partial<Record<ScanCriterionKey, ScanCondition>> | undefined;
87
+ Exclude?: Partial<Record<ScanCriterionKey, ScanCondition>> | undefined;
88
+ }
89
+ export interface GetMalwareScanSettingsResponse {
90
+ ScanResourceCriteria?: ScanResourceCriteria | undefined;
91
+ EbsSnapshotPreservation?: EbsSnapshotPreservation | undefined;
92
+ }
93
+ export interface GetMasterAccountRequest {
94
+ DetectorId: string | undefined;
95
+ }
96
+ export interface Master {
97
+ AccountId?: string | undefined;
98
+ InvitationId?: string | undefined;
99
+ RelationshipStatus?: string | undefined;
100
+ InvitedAt?: string | undefined;
101
+ }
47
102
  export interface GetMasterAccountResponse {
48
103
  Master: Master | undefined;
49
104
  }
@@ -266,6 +321,31 @@ export interface ListFindingsResponse {
266
321
  FindingIds: string[] | undefined;
267
322
  NextToken?: string | undefined;
268
323
  }
324
+ export interface InvestigationSortCriteria {
325
+ AttributeName?: InvestigationSortField | undefined;
326
+ OrderBy?: OrderBy | undefined;
327
+ }
328
+ export interface ListInvestigationsRequest {
329
+ DetectorId: string | undefined;
330
+ SortCriteria?: InvestigationSortCriteria | undefined;
331
+ MaxResults?: number | undefined;
332
+ NextToken?: string | undefined;
333
+ }
334
+ export interface InvestigationSummary {
335
+ InvestigationId?: string | undefined;
336
+ Status?: InvestigationStatus | undefined;
337
+ TriggerPrompt?: string | undefined;
338
+ RiskLevel?: RiskLevel | undefined;
339
+ Confidence?: Confidence | undefined;
340
+ Title?: string | undefined;
341
+ AccountId?: string | undefined;
342
+ StartTime?: Date | undefined;
343
+ EndTime?: Date | undefined;
344
+ }
345
+ export interface ListInvestigationsResponse {
346
+ Investigations: InvestigationSummary[] | undefined;
347
+ NextToken?: string | undefined;
348
+ }
269
349
  export interface ListInvitationsRequest {
270
350
  MaxResults?: number | undefined;
271
351
  NextToken?: string | undefined;
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ ListInvestigationsCommandInput,
4
+ ListInvestigationsCommandOutput,
5
+ } from "../commands/ListInvestigationsCommand";
6
+ import { GuardDutyPaginationConfiguration } from "./Interfaces";
7
+ export declare const paginateListInvestigations: (
8
+ config: GuardDutyPaginationConfiguration,
9
+ input: ListInvestigationsCommandInput,
10
+ ...rest: any[]
11
+ ) => Paginator<ListInvestigationsCommandOutput>;
@@ -6,6 +6,7 @@ export * from "./ListCoveragePaginator";
6
6
  export * from "./ListDetectorsPaginator";
7
7
  export * from "./ListFiltersPaginator";
8
8
  export * from "./ListFindingsPaginator";
9
+ export * from "./ListInvestigationsPaginator";
9
10
  export * from "./ListInvitationsPaginator";
10
11
  export * from "./ListIPSetsPaginator";
11
12
  export * from "./ListMalwareScansPaginator";
@@ -43,6 +43,7 @@ export declare var BlockPublicAccess$: StaticStructureSchema;
43
43
  export declare var BucketLevelPermissions$: StaticStructureSchema;
44
44
  export declare var BucketPolicy$: StaticStructureSchema;
45
45
  export declare var City$: StaticStructureSchema;
46
+ export declare var CloudDetails$: StaticStructureSchema;
46
47
  export declare var CloudformationStack$: StaticStructureSchema;
47
48
  export declare var CloudTrailConfigurationResult$: StaticStructureSchema;
48
49
  export declare var Condition$: StaticStructureSchema;
@@ -65,6 +66,8 @@ export declare var CreateDetectorRequest$: StaticStructureSchema;
65
66
  export declare var CreateDetectorResponse$: StaticStructureSchema;
66
67
  export declare var CreateFilterRequest$: StaticStructureSchema;
67
68
  export declare var CreateFilterResponse$: StaticStructureSchema;
69
+ export declare var CreateInvestigationRequest$: StaticStructureSchema;
70
+ export declare var CreateInvestigationResponse$: StaticStructureSchema;
68
71
  export declare var CreateIPSetRequest$: StaticStructureSchema;
69
72
  export declare var CreateIPSetResponse$: StaticStructureSchema;
70
73
  export declare var CreateMalwareProtectionPlanRequest$: StaticStructureSchema;
@@ -177,6 +180,8 @@ export declare var GetFindingsRequest$: StaticStructureSchema;
177
180
  export declare var GetFindingsResponse$: StaticStructureSchema;
178
181
  export declare var GetFindingsStatisticsRequest$: StaticStructureSchema;
179
182
  export declare var GetFindingsStatisticsResponse$: StaticStructureSchema;
183
+ export declare var GetInvestigationRequest$: StaticStructureSchema;
184
+ export declare var GetInvestigationResponse$: StaticStructureSchema;
180
185
  export declare var GetInvitationsCountRequest$: StaticStructureSchema;
181
186
  export declare var GetInvitationsCountResponse$: StaticStructureSchema;
182
187
  export declare var GetIPSetRequest$: StaticStructureSchema;
@@ -213,6 +218,10 @@ export declare var ImpersonatedUser$: StaticStructureSchema;
213
218
  export declare var IncrementalScanDetails$: StaticStructureSchema;
214
219
  export declare var Indicator$: StaticStructureSchema;
215
220
  export declare var InstanceDetails$: StaticStructureSchema;
221
+ export declare var Investigation$: StaticStructureSchema;
222
+ export declare var InvestigationMetadata$: StaticStructureSchema;
223
+ export declare var InvestigationSortCriteria$: StaticStructureSchema;
224
+ export declare var InvestigationSummary$: StaticStructureSchema;
216
225
  export declare var Invitation$: StaticStructureSchema;
217
226
  export declare var InviteMembersRequest$: StaticStructureSchema;
218
227
  export declare var InviteMembersResponse$: StaticStructureSchema;
@@ -241,6 +250,8 @@ export declare var ListFiltersRequest$: StaticStructureSchema;
241
250
  export declare var ListFiltersResponse$: StaticStructureSchema;
242
251
  export declare var ListFindingsRequest$: StaticStructureSchema;
243
252
  export declare var ListFindingsResponse$: StaticStructureSchema;
253
+ export declare var ListInvestigationsRequest$: StaticStructureSchema;
254
+ export declare var ListInvestigationsResponse$: StaticStructureSchema;
244
255
  export declare var ListInvitationsRequest$: StaticStructureSchema;
245
256
  export declare var ListInvitationsResponse$: StaticStructureSchema;
246
257
  export declare var ListIPSetsRequest$: StaticStructureSchema;
@@ -320,6 +331,7 @@ export declare var PortProbeAction$: StaticStructureSchema;
320
331
  export declare var PortProbeDetail$: StaticStructureSchema;
321
332
  export declare var PrivateIpAddressDetails$: StaticStructureSchema;
322
333
  export declare var ProcessDetails$: StaticStructureSchema;
334
+ export declare var Product$: StaticStructureSchema;
323
335
  export declare var ProductCode$: StaticStructureSchema;
324
336
  export declare var PublicAccess$: StaticStructureSchema;
325
337
  export declare var PublicAccessConfiguration$: StaticStructureSchema;
@@ -439,6 +451,7 @@ export declare var AcceptInvitation$: StaticOperationSchema;
439
451
  export declare var ArchiveFindings$: StaticOperationSchema;
440
452
  export declare var CreateDetector$: StaticOperationSchema;
441
453
  export declare var CreateFilter$: StaticOperationSchema;
454
+ export declare var CreateInvestigation$: StaticOperationSchema;
442
455
  export declare var CreateIPSet$: StaticOperationSchema;
443
456
  export declare var CreateMalwareProtectionPlan$: StaticOperationSchema;
444
457
  export declare var CreateMembers$: StaticOperationSchema;
@@ -472,6 +485,7 @@ export declare var GetDetector$: StaticOperationSchema;
472
485
  export declare var GetFilter$: StaticOperationSchema;
473
486
  export declare var GetFindings$: StaticOperationSchema;
474
487
  export declare var GetFindingsStatistics$: StaticOperationSchema;
488
+ export declare var GetInvestigation$: StaticOperationSchema;
475
489
  export declare var GetInvitationsCount$: StaticOperationSchema;
476
490
  export declare var GetIPSet$: StaticOperationSchema;
477
491
  export declare var GetMalwareProtectionPlan$: StaticOperationSchema;
@@ -491,6 +505,7 @@ export declare var ListCoverage$: StaticOperationSchema;
491
505
  export declare var ListDetectors$: StaticOperationSchema;
492
506
  export declare var ListFilters$: StaticOperationSchema;
493
507
  export declare var ListFindings$: StaticOperationSchema;
508
+ export declare var ListInvestigations$: StaticOperationSchema;
494
509
  export declare var ListInvitations$: StaticOperationSchema;
495
510
  export declare var ListIPSets$: StaticOperationSchema;
496
511
  export declare var ListMalwareProtectionPlans$: StaticOperationSchema;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-guardduty",
3
3
  "description": "AWS SDK for JavaScript Guardduty Client for Node.js, Browser and React Native",
4
- "version": "3.1072.0",
4
+ "version": "3.1074.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline",
@@ -21,8 +21,8 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "5.2.0",
23
23
  "@aws-crypto/sha256-js": "5.2.0",
24
- "@aws-sdk/core": "^3.974.22",
25
- "@aws-sdk/credential-provider-node": "^3.972.57",
24
+ "@aws-sdk/core": "^3.974.23",
25
+ "@aws-sdk/credential-provider-node": "^3.972.58",
26
26
  "@aws-sdk/types": "^3.973.13",
27
27
  "@smithy/core": "^3.24.6",
28
28
  "@smithy/fetch-http-handler": "^5.4.6",