@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.
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
@@ -1,5 +1,200 @@
1
- import type { AutoEnableMembers, DataSource, EbsSnapshotPreservation, FeatureStatus, Feedback, FilterAction, FindingPublishingFrequency, ListMalwareScansCriterionKey, MalwareProtectionResourceType, MalwareProtectionScanStatus, MalwareProtectionScanType, OrgFeature, OrgFeatureAdditionalConfiguration, OrgFeatureStatus, ScanResultStatus, ThreatEntitySetFormat, ThreatEntitySetStatus, ThreatIntelSetFormat, ThreatIntelSetStatus, TrustedEntitySetFormat, TrustedEntitySetStatus, UsageFeature, UsageStatisticType } from "./enums";
2
- import type { AccountFreeTrialInfo, AdminAccount, ContinuousScanDetails, CoverageFilterCriteria, CoverageResource, CoverageSortCriteria, DataSourceConfigurations, DataSourceConfigurationsResult, Destination, DestinationProperties, DetectorFeatureConfiguration, FilterCondition, FindingCriteria, IncrementalScanDetails, MalwareProtectionPlanActions, Master, ScanResourceCriteria, SortCriteria, UnprocessedAccount } from "./models_0";
1
+ import type { AutoEnableMembers, Confidence, DataSource, EbsSnapshotPreservation, FeatureStatus, Feedback, FilterAction, FindingPublishingFrequency, InvestigationSortField, InvestigationStatus, ListMalwareScansCriterionKey, MalwareProtectionResourceType, MalwareProtectionScanStatus, MalwareProtectionScanType, OrderBy, OrgFeature, OrgFeatureAdditionalConfiguration, OrgFeatureStatus, RiskLevel, ScanCategory, ScanCriterionKey, ScanResultStatus, ScanStatusReason, ThreatEntitySetFormat, ThreatEntitySetStatus, ThreatIntelSetFormat, ThreatIntelSetStatus, TrustedEntitySetFormat, TrustedEntitySetStatus, UsageFeature, UsageStatisticType } from "./enums";
2
+ import type { AccountFreeTrialInfo, AdminAccount, ContinuousScanDetails, CoverageFilterCriteria, CoverageResource, CoverageSortCriteria, DataSourceConfigurations, DataSourceConfigurationsResult, Destination, DestinationProperties, DetectorFeatureConfiguration, FilterCondition, FindingCriteria, GetMalwareScanResultDetails, IncrementalScanDetails, MalwareProtectionPlanActions, ScanConfiguration, ScannedResource, SortCriteria, UnprocessedAccount } from "./models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export interface GetMalwareScanResponse {
7
+ /**
8
+ * <p>A unique identifier associated with the malware scan. Each malware scan has a corresponding scan ID. Using this scan ID, you can monitor the status of your malware scan.</p>
9
+ * @public
10
+ */
11
+ ScanId?: string | undefined;
12
+ /**
13
+ * <p>The unique ID of the detector that is associated with the request, if it belongs to an account which is a GuardDuty customer.</p> <p>To find the <code>detectorId</code> in the current Region, see the Settings page in the GuardDuty console, or run the <a href="https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html">ListDetectors</a> API.</p>
14
+ * @public
15
+ */
16
+ DetectorId?: string | undefined;
17
+ /**
18
+ * <p>The unique detector ID of the administrator account that the request is associated with. If the account is an administrator, the <code>AdminDetectorId</code> will be the same as the one used for <code>DetectorId. If the customer is not a GuardDuty customer, this field will not be present.</code>.</p> <p>To find the <code>detectorId</code> in the current Region, see the Settings page in the GuardDuty console, or run the <a href="https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html">ListDetectors</a> API.</p>
19
+ * @public
20
+ */
21
+ AdminDetectorId?: string | undefined;
22
+ /**
23
+ * <p>Amazon Resource Name (ARN) of the resource on which a malware scan was invoked.</p>
24
+ * @public
25
+ */
26
+ ResourceArn?: string | undefined;
27
+ /**
28
+ * <p>The type of resource that was scanned for malware.</p>
29
+ * @public
30
+ */
31
+ ResourceType?: MalwareProtectionResourceType | undefined;
32
+ /**
33
+ * <p>The total number of resources that were successfully scanned. This is dependent on the resource type.</p>
34
+ * @public
35
+ */
36
+ ScannedResourcesCount?: number | undefined;
37
+ /**
38
+ * <p>The total number of resources that were skipped during the scan.</p>
39
+ * @public
40
+ */
41
+ SkippedResourcesCount?: number | undefined;
42
+ /**
43
+ * <p>The total number of resources that failed to be scanned.</p>
44
+ * @public
45
+ */
46
+ FailedResourcesCount?: number | undefined;
47
+ /**
48
+ * <p>A list of resources along with their metadata that were scanned as part of the malware scan operation.</p>
49
+ * @public
50
+ */
51
+ ScannedResources?: ScannedResource[] | undefined;
52
+ /**
53
+ * <p>Information about the scan configuration used for the malware scan.</p>
54
+ * @public
55
+ */
56
+ ScanConfiguration?: ScanConfiguration | undefined;
57
+ /**
58
+ * <p>The category of the malware scan, indicating the type of scan performed.</p>
59
+ * @public
60
+ */
61
+ ScanCategory?: ScanCategory | undefined;
62
+ /**
63
+ * <p>A value representing the current status of the malware scan.</p>
64
+ * @public
65
+ */
66
+ ScanStatus?: MalwareProtectionScanStatus | undefined;
67
+ /**
68
+ * <p>Represents the reason for the current scan status, if applicable.</p>
69
+ * @public
70
+ */
71
+ ScanStatusReason?: ScanStatusReason | undefined;
72
+ /**
73
+ * <p>A value representing the initiator of the scan.</p>
74
+ * @public
75
+ */
76
+ ScanType?: MalwareProtectionScanType | undefined;
77
+ /**
78
+ * <p>The timestamp representing when the malware scan was started.</p>
79
+ * @public
80
+ */
81
+ ScanStartedAt?: Date | undefined;
82
+ /**
83
+ * <p>The timestamp representing when the malware scan was completed.</p>
84
+ * @public
85
+ */
86
+ ScanCompletedAt?: Date | undefined;
87
+ /**
88
+ * <p>Detailed information about the results of the malware scan, if the scan completed.</p>
89
+ * @public
90
+ */
91
+ ScanResultDetails?: GetMalwareScanResultDetails | undefined;
92
+ }
93
+ /**
94
+ * @public
95
+ */
96
+ export interface GetMalwareScanSettingsRequest {
97
+ /**
98
+ * <p>The unique ID of the detector that is associated with this scan.</p> <p>To find the <code>detectorId</code> in the current Region, see the Settings page in the GuardDuty console, or run the <a href="https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html">ListDetectors</a> API.</p>
99
+ * @public
100
+ */
101
+ DetectorId: string | undefined;
102
+ }
103
+ /**
104
+ * <p>Represents the <code>key:value</code> pair to be matched against given resource property.</p>
105
+ * @public
106
+ */
107
+ export interface ScanConditionPair {
108
+ /**
109
+ * <p>Represents the <b>key</b> in the map condition.</p>
110
+ * @public
111
+ */
112
+ Key: string | undefined;
113
+ /**
114
+ * <p>Represents optional <b>value</b> in the map condition. If not specified, only the <b>key</b> will be matched.</p>
115
+ * @public
116
+ */
117
+ Value?: string | undefined;
118
+ }
119
+ /**
120
+ * <p>Contains information about the condition.</p>
121
+ * @public
122
+ */
123
+ export interface ScanCondition {
124
+ /**
125
+ * <p>Represents an <i>mapEqual</i> <b/> condition to be applied to a single field when triggering for malware scan.</p>
126
+ * @public
127
+ */
128
+ MapEquals: ScanConditionPair[] | undefined;
129
+ }
130
+ /**
131
+ * <p>Contains information about criteria used to filter resources before triggering malware scan.</p>
132
+ * @public
133
+ */
134
+ export interface ScanResourceCriteria {
135
+ /**
136
+ * <p>Represents condition that when matched will allow a malware scan for a certain resource.</p>
137
+ * @public
138
+ */
139
+ Include?: Partial<Record<ScanCriterionKey, ScanCondition>> | undefined;
140
+ /**
141
+ * <p>Represents condition that when matched will prevent a malware scan for a certain resource.</p>
142
+ * @public
143
+ */
144
+ Exclude?: Partial<Record<ScanCriterionKey, ScanCondition>> | undefined;
145
+ }
146
+ /**
147
+ * @public
148
+ */
149
+ export interface GetMalwareScanSettingsResponse {
150
+ /**
151
+ * <p>Represents the criteria to be used in the filter for scanning resources.</p>
152
+ * @public
153
+ */
154
+ ScanResourceCriteria?: ScanResourceCriteria | undefined;
155
+ /**
156
+ * <p>An enum value representing possible snapshot preservation settings.</p>
157
+ * @public
158
+ */
159
+ EbsSnapshotPreservation?: EbsSnapshotPreservation | undefined;
160
+ }
161
+ /**
162
+ * @deprecated This input is deprecated, use GetAdministratorAccountRequest instead.
163
+ * @public
164
+ */
165
+ export interface GetMasterAccountRequest {
166
+ /**
167
+ * <p>The unique ID of the detector of the GuardDuty member account.</p> <p>To find the <code>detectorId</code> in the current Region, see the Settings page in the GuardDuty console, or run the <a href="https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html">ListDetectors</a> API.</p>
168
+ * @public
169
+ */
170
+ DetectorId: string | undefined;
171
+ }
172
+ /**
173
+ * <p>Contains information about the administrator account and invitation.</p>
174
+ * @public
175
+ */
176
+ export interface Master {
177
+ /**
178
+ * <p>The ID of the account used as the administrator account.</p>
179
+ * @public
180
+ */
181
+ AccountId?: string | undefined;
182
+ /**
183
+ * <p>The value used to validate the administrator account to the member account.</p>
184
+ * @public
185
+ */
186
+ InvitationId?: string | undefined;
187
+ /**
188
+ * <p>The status of the relationship between the administrator and member accounts.</p>
189
+ * @public
190
+ */
191
+ RelationshipStatus?: string | undefined;
192
+ /**
193
+ * <p>The timestamp when the invitation was sent.</p>
194
+ * @public
195
+ */
196
+ InvitedAt?: string | undefined;
197
+ }
3
198
  /**
4
199
  * @deprecated This output is deprecated, use GetAdministratorAccountResponse instead.
5
200
  * @public
@@ -907,6 +1102,113 @@ export interface ListFindingsResponse {
907
1102
  */
908
1103
  NextToken?: string | undefined;
909
1104
  }
1105
+ /**
1106
+ * <p>Contains information about the criteria used for sorting investigations.</p>
1107
+ * @public
1108
+ */
1109
+ export interface InvestigationSortCriteria {
1110
+ /**
1111
+ * <p>The attribute by which to sort investigations.</p>
1112
+ * @public
1113
+ */
1114
+ AttributeName?: InvestigationSortField | undefined;
1115
+ /**
1116
+ * <p>The order in which the sorted results are to be displayed.</p>
1117
+ * @public
1118
+ */
1119
+ OrderBy?: OrderBy | undefined;
1120
+ }
1121
+ /**
1122
+ * @public
1123
+ */
1124
+ export interface ListInvestigationsRequest {
1125
+ /**
1126
+ * <p>The unique ID of the GuardDuty detector whose investigations you want to list.</p> <p>To find the <code>detectorId</code> in the current Region, see the Settings page in the GuardDuty console, or run the <a href="https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html">ListDetectors</a> API.</p>
1127
+ * @public
1128
+ */
1129
+ DetectorId: string | undefined;
1130
+ /**
1131
+ * <p>Represents the criteria used for sorting investigations.</p>
1132
+ * @public
1133
+ */
1134
+ SortCriteria?: InvestigationSortCriteria | undefined;
1135
+ /**
1136
+ * <p>You can use this parameter to indicate the maximum number of items you want in the response. The default value is 50.</p>
1137
+ * @public
1138
+ */
1139
+ MaxResults?: number | undefined;
1140
+ /**
1141
+ * <p>You can use this parameter when paginating results. Set the value of this parameter to null on your first call to the list action. For subsequent calls to the action, fill nextToken in the request with the value of NextToken from the previous response to continue listing data.</p>
1142
+ * @public
1143
+ */
1144
+ NextToken?: string | undefined;
1145
+ }
1146
+ /**
1147
+ * <p>Contains summary information about a GuardDuty investigation.</p>
1148
+ * @public
1149
+ */
1150
+ export interface InvestigationSummary {
1151
+ /**
1152
+ * <p>The unique identifier of the investigation.</p>
1153
+ * @public
1154
+ */
1155
+ InvestigationId?: string | undefined;
1156
+ /**
1157
+ * <p>The current status of the investigation.</p>
1158
+ * @public
1159
+ */
1160
+ Status?: InvestigationStatus | undefined;
1161
+ /**
1162
+ * <p>The natural-language prompt that initiated this investigation.</p>
1163
+ * @public
1164
+ */
1165
+ TriggerPrompt?: string | undefined;
1166
+ /**
1167
+ * <p>The assessed risk level of the investigated threat.</p>
1168
+ * @public
1169
+ */
1170
+ RiskLevel?: RiskLevel | undefined;
1171
+ /**
1172
+ * <p>The confidence level of the investigation's assessment.</p>
1173
+ * @public
1174
+ */
1175
+ Confidence?: Confidence | undefined;
1176
+ /**
1177
+ * <p>A short title summarizing the investigation.</p>
1178
+ * @public
1179
+ */
1180
+ Title?: string | undefined;
1181
+ /**
1182
+ * <p>The Amazon Web Services account ID associated with the investigation.</p>
1183
+ * @public
1184
+ */
1185
+ AccountId?: string | undefined;
1186
+ /**
1187
+ * <p>The timestamp at which the investigation started.</p>
1188
+ * @public
1189
+ */
1190
+ StartTime?: Date | undefined;
1191
+ /**
1192
+ * <p>The timestamp at which the investigation completed.</p>
1193
+ * @public
1194
+ */
1195
+ EndTime?: Date | undefined;
1196
+ }
1197
+ /**
1198
+ * @public
1199
+ */
1200
+ export interface ListInvestigationsResponse {
1201
+ /**
1202
+ * <p>A list of investigation summaries associated with the specified detector.</p>
1203
+ * @public
1204
+ */
1205
+ Investigations: InvestigationSummary[] | undefined;
1206
+ /**
1207
+ * <p>The pagination parameter to be used on the next list operation to retrieve more items.</p>
1208
+ * @public
1209
+ */
1210
+ NextToken?: string | undefined;
1211
+ }
910
1212
  /**
911
1213
  * @public
912
1214
  */
@@ -0,0 +1,7 @@
1
+ import type { Paginator } from "@smithy/types";
2
+ import { ListInvestigationsCommandInput, ListInvestigationsCommandOutput } from "../commands/ListInvestigationsCommand";
3
+ import type { GuardDutyPaginationConfiguration } from "./Interfaces";
4
+ /**
5
+ * @public
6
+ */
7
+ export declare const paginateListInvestigations: (config: GuardDutyPaginationConfiguration, input: ListInvestigationsCommandInput, ...rest: any[]) => 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";
@@ -44,6 +44,7 @@ export declare var BlockPublicAccess$: StaticStructureSchema;
44
44
  export declare var BucketLevelPermissions$: StaticStructureSchema;
45
45
  export declare var BucketPolicy$: StaticStructureSchema;
46
46
  export declare var City$: StaticStructureSchema;
47
+ export declare var CloudDetails$: StaticStructureSchema;
47
48
  export declare var CloudformationStack$: StaticStructureSchema;
48
49
  export declare var CloudTrailConfigurationResult$: StaticStructureSchema;
49
50
  export declare var Condition$: StaticStructureSchema;
@@ -66,6 +67,8 @@ export declare var CreateDetectorRequest$: StaticStructureSchema;
66
67
  export declare var CreateDetectorResponse$: StaticStructureSchema;
67
68
  export declare var CreateFilterRequest$: StaticStructureSchema;
68
69
  export declare var CreateFilterResponse$: StaticStructureSchema;
70
+ export declare var CreateInvestigationRequest$: StaticStructureSchema;
71
+ export declare var CreateInvestigationResponse$: StaticStructureSchema;
69
72
  export declare var CreateIPSetRequest$: StaticStructureSchema;
70
73
  export declare var CreateIPSetResponse$: StaticStructureSchema;
71
74
  export declare var CreateMalwareProtectionPlanRequest$: StaticStructureSchema;
@@ -178,6 +181,8 @@ export declare var GetFindingsRequest$: StaticStructureSchema;
178
181
  export declare var GetFindingsResponse$: StaticStructureSchema;
179
182
  export declare var GetFindingsStatisticsRequest$: StaticStructureSchema;
180
183
  export declare var GetFindingsStatisticsResponse$: StaticStructureSchema;
184
+ export declare var GetInvestigationRequest$: StaticStructureSchema;
185
+ export declare var GetInvestigationResponse$: StaticStructureSchema;
181
186
  export declare var GetInvitationsCountRequest$: StaticStructureSchema;
182
187
  export declare var GetInvitationsCountResponse$: StaticStructureSchema;
183
188
  export declare var GetIPSetRequest$: StaticStructureSchema;
@@ -214,6 +219,10 @@ export declare var ImpersonatedUser$: StaticStructureSchema;
214
219
  export declare var IncrementalScanDetails$: StaticStructureSchema;
215
220
  export declare var Indicator$: StaticStructureSchema;
216
221
  export declare var InstanceDetails$: StaticStructureSchema;
222
+ export declare var Investigation$: StaticStructureSchema;
223
+ export declare var InvestigationMetadata$: StaticStructureSchema;
224
+ export declare var InvestigationSortCriteria$: StaticStructureSchema;
225
+ export declare var InvestigationSummary$: StaticStructureSchema;
217
226
  export declare var Invitation$: StaticStructureSchema;
218
227
  export declare var InviteMembersRequest$: StaticStructureSchema;
219
228
  export declare var InviteMembersResponse$: StaticStructureSchema;
@@ -242,6 +251,8 @@ export declare var ListFiltersRequest$: StaticStructureSchema;
242
251
  export declare var ListFiltersResponse$: StaticStructureSchema;
243
252
  export declare var ListFindingsRequest$: StaticStructureSchema;
244
253
  export declare var ListFindingsResponse$: StaticStructureSchema;
254
+ export declare var ListInvestigationsRequest$: StaticStructureSchema;
255
+ export declare var ListInvestigationsResponse$: StaticStructureSchema;
245
256
  export declare var ListInvitationsRequest$: StaticStructureSchema;
246
257
  export declare var ListInvitationsResponse$: StaticStructureSchema;
247
258
  export declare var ListIPSetsRequest$: StaticStructureSchema;
@@ -321,6 +332,7 @@ export declare var PortProbeAction$: StaticStructureSchema;
321
332
  export declare var PortProbeDetail$: StaticStructureSchema;
322
333
  export declare var PrivateIpAddressDetails$: StaticStructureSchema;
323
334
  export declare var ProcessDetails$: StaticStructureSchema;
335
+ export declare var Product$: StaticStructureSchema;
324
336
  export declare var ProductCode$: StaticStructureSchema;
325
337
  export declare var PublicAccess$: StaticStructureSchema;
326
338
  export declare var PublicAccessConfiguration$: StaticStructureSchema;
@@ -440,6 +452,7 @@ export declare var AcceptInvitation$: StaticOperationSchema;
440
452
  export declare var ArchiveFindings$: StaticOperationSchema;
441
453
  export declare var CreateDetector$: StaticOperationSchema;
442
454
  export declare var CreateFilter$: StaticOperationSchema;
455
+ export declare var CreateInvestigation$: StaticOperationSchema;
443
456
  export declare var CreateIPSet$: StaticOperationSchema;
444
457
  export declare var CreateMalwareProtectionPlan$: StaticOperationSchema;
445
458
  export declare var CreateMembers$: StaticOperationSchema;
@@ -473,6 +486,7 @@ export declare var GetDetector$: StaticOperationSchema;
473
486
  export declare var GetFilter$: StaticOperationSchema;
474
487
  export declare var GetFindings$: StaticOperationSchema;
475
488
  export declare var GetFindingsStatistics$: StaticOperationSchema;
489
+ export declare var GetInvestigation$: StaticOperationSchema;
476
490
  export declare var GetInvitationsCount$: StaticOperationSchema;
477
491
  export declare var GetIPSet$: StaticOperationSchema;
478
492
  export declare var GetMalwareProtectionPlan$: StaticOperationSchema;
@@ -492,6 +506,7 @@ export declare var ListCoverage$: StaticOperationSchema;
492
506
  export declare var ListDetectors$: StaticOperationSchema;
493
507
  export declare var ListFilters$: StaticOperationSchema;
494
508
  export declare var ListFindings$: StaticOperationSchema;
509
+ export declare var ListInvestigations$: StaticOperationSchema;
495
510
  export declare var ListInvitations$: StaticOperationSchema;
496
511
  export declare var ListIPSets$: StaticOperationSchema;
497
512
  export declare var ListMalwareProtectionPlans$: StaticOperationSchema;
@@ -23,6 +23,10 @@ import {
23
23
  CreateFilterCommandInput,
24
24
  CreateFilterCommandOutput,
25
25
  } from "./commands/CreateFilterCommand";
26
+ import {
27
+ CreateInvestigationCommandInput,
28
+ CreateInvestigationCommandOutput,
29
+ } from "./commands/CreateInvestigationCommand";
26
30
  import {
27
31
  CreateIPSetCommandInput,
28
32
  CreateIPSetCommandOutput,
@@ -155,6 +159,10 @@ import {
155
159
  GetFindingsStatisticsCommandInput,
156
160
  GetFindingsStatisticsCommandOutput,
157
161
  } from "./commands/GetFindingsStatisticsCommand";
162
+ import {
163
+ GetInvestigationCommandInput,
164
+ GetInvestigationCommandOutput,
165
+ } from "./commands/GetInvestigationCommand";
158
166
  import {
159
167
  GetInvitationsCountCommandInput,
160
168
  GetInvitationsCountCommandOutput,
@@ -231,6 +239,10 @@ import {
231
239
  ListFindingsCommandInput,
232
240
  ListFindingsCommandOutput,
233
241
  } from "./commands/ListFindingsCommand";
242
+ import {
243
+ ListInvestigationsCommandInput,
244
+ ListInvestigationsCommandOutput,
245
+ } from "./commands/ListInvestigationsCommand";
234
246
  import {
235
247
  ListInvitationsCommandInput,
236
248
  ListInvitationsCommandOutput,
@@ -418,6 +430,19 @@ export interface GuardDuty {
418
430
  options: __HttpHandlerOptions,
419
431
  cb: (err: any, data?: CreateFilterCommandOutput) => void
420
432
  ): void;
433
+ createInvestigation(
434
+ args: CreateInvestigationCommandInput,
435
+ options?: __HttpHandlerOptions
436
+ ): Promise<CreateInvestigationCommandOutput>;
437
+ createInvestigation(
438
+ args: CreateInvestigationCommandInput,
439
+ cb: (err: any, data?: CreateInvestigationCommandOutput) => void
440
+ ): void;
441
+ createInvestigation(
442
+ args: CreateInvestigationCommandInput,
443
+ options: __HttpHandlerOptions,
444
+ cb: (err: any, data?: CreateInvestigationCommandOutput) => void
445
+ ): void;
421
446
  createIPSet(
422
447
  args: CreateIPSetCommandInput,
423
448
  options?: __HttpHandlerOptions
@@ -859,6 +884,19 @@ export interface GuardDuty {
859
884
  options: __HttpHandlerOptions,
860
885
  cb: (err: any, data?: GetFindingsStatisticsCommandOutput) => void
861
886
  ): void;
887
+ getInvestigation(
888
+ args: GetInvestigationCommandInput,
889
+ options?: __HttpHandlerOptions
890
+ ): Promise<GetInvestigationCommandOutput>;
891
+ getInvestigation(
892
+ args: GetInvestigationCommandInput,
893
+ cb: (err: any, data?: GetInvestigationCommandOutput) => void
894
+ ): void;
895
+ getInvestigation(
896
+ args: GetInvestigationCommandInput,
897
+ options: __HttpHandlerOptions,
898
+ cb: (err: any, data?: GetInvestigationCommandOutput) => void
899
+ ): void;
862
900
  getInvitationsCount(): Promise<GetInvitationsCountCommandOutput>;
863
901
  getInvitationsCount(
864
902
  args: GetInvitationsCountCommandInput,
@@ -1109,6 +1147,19 @@ export interface GuardDuty {
1109
1147
  options: __HttpHandlerOptions,
1110
1148
  cb: (err: any, data?: ListFindingsCommandOutput) => void
1111
1149
  ): void;
1150
+ listInvestigations(
1151
+ args: ListInvestigationsCommandInput,
1152
+ options?: __HttpHandlerOptions
1153
+ ): Promise<ListInvestigationsCommandOutput>;
1154
+ listInvestigations(
1155
+ args: ListInvestigationsCommandInput,
1156
+ cb: (err: any, data?: ListInvestigationsCommandOutput) => void
1157
+ ): void;
1158
+ listInvestigations(
1159
+ args: ListInvestigationsCommandInput,
1160
+ options: __HttpHandlerOptions,
1161
+ cb: (err: any, data?: ListInvestigationsCommandOutput) => void
1162
+ ): void;
1112
1163
  listInvitations(): Promise<ListInvitationsCommandOutput>;
1113
1164
  listInvitations(
1114
1165
  args: ListInvitationsCommandInput,
@@ -1553,6 +1604,13 @@ export interface GuardDuty {
1553
1604
  Exclude<keyof PaginationConfiguration, "client">
1554
1605
  >
1555
1606
  ): Paginator<ListFindingsCommandOutput>;
1607
+ paginateListInvestigations(
1608
+ args: ListInvestigationsCommandInput,
1609
+ paginationConfig?: Pick<
1610
+ PaginationConfiguration,
1611
+ Exclude<keyof PaginationConfiguration, "client">
1612
+ >
1613
+ ): Paginator<ListInvestigationsCommandOutput>;
1556
1614
  paginateListInvitations(
1557
1615
  args?: ListInvitationsCommandInput,
1558
1616
  paginationConfig?: Pick<
@@ -56,6 +56,10 @@ import {
56
56
  CreateFilterCommandInput,
57
57
  CreateFilterCommandOutput,
58
58
  } from "./commands/CreateFilterCommand";
59
+ import {
60
+ CreateInvestigationCommandInput,
61
+ CreateInvestigationCommandOutput,
62
+ } from "./commands/CreateInvestigationCommand";
59
63
  import {
60
64
  CreateIPSetCommandInput,
61
65
  CreateIPSetCommandOutput,
@@ -188,6 +192,10 @@ import {
188
192
  GetFindingsStatisticsCommandInput,
189
193
  GetFindingsStatisticsCommandOutput,
190
194
  } from "./commands/GetFindingsStatisticsCommand";
195
+ import {
196
+ GetInvestigationCommandInput,
197
+ GetInvestigationCommandOutput,
198
+ } from "./commands/GetInvestigationCommand";
191
199
  import {
192
200
  GetInvitationsCountCommandInput,
193
201
  GetInvitationsCountCommandOutput,
@@ -264,6 +272,10 @@ import {
264
272
  ListFindingsCommandInput,
265
273
  ListFindingsCommandOutput,
266
274
  } from "./commands/ListFindingsCommand";
275
+ import {
276
+ ListInvestigationsCommandInput,
277
+ ListInvestigationsCommandOutput,
278
+ } from "./commands/ListInvestigationsCommand";
267
279
  import {
268
280
  ListInvitationsCommandInput,
269
281
  ListInvitationsCommandOutput,
@@ -398,6 +410,7 @@ export type ServiceInputTypes =
398
410
  | CreateDetectorCommandInput
399
411
  | CreateFilterCommandInput
400
412
  | CreateIPSetCommandInput
413
+ | CreateInvestigationCommandInput
401
414
  | CreateMalwareProtectionPlanCommandInput
402
415
  | CreateMembersCommandInput
403
416
  | CreatePublishingDestinationCommandInput
@@ -431,6 +444,7 @@ export type ServiceInputTypes =
431
444
  | GetFindingsCommandInput
432
445
  | GetFindingsStatisticsCommandInput
433
446
  | GetIPSetCommandInput
447
+ | GetInvestigationCommandInput
434
448
  | GetInvitationsCountCommandInput
435
449
  | GetMalwareProtectionPlanCommandInput
436
450
  | GetMalwareScanCommandInput
@@ -450,6 +464,7 @@ export type ServiceInputTypes =
450
464
  | ListFiltersCommandInput
451
465
  | ListFindingsCommandInput
452
466
  | ListIPSetsCommandInput
467
+ | ListInvestigationsCommandInput
453
468
  | ListInvitationsCommandInput
454
469
  | ListMalwareProtectionPlansCommandInput
455
470
  | ListMalwareScansCommandInput
@@ -486,6 +501,7 @@ export type ServiceOutputTypes =
486
501
  | CreateDetectorCommandOutput
487
502
  | CreateFilterCommandOutput
488
503
  | CreateIPSetCommandOutput
504
+ | CreateInvestigationCommandOutput
489
505
  | CreateMalwareProtectionPlanCommandOutput
490
506
  | CreateMembersCommandOutput
491
507
  | CreatePublishingDestinationCommandOutput
@@ -519,6 +535,7 @@ export type ServiceOutputTypes =
519
535
  | GetFindingsCommandOutput
520
536
  | GetFindingsStatisticsCommandOutput
521
537
  | GetIPSetCommandOutput
538
+ | GetInvestigationCommandOutput
522
539
  | GetInvitationsCountCommandOutput
523
540
  | GetMalwareProtectionPlanCommandOutput
524
541
  | GetMalwareScanCommandOutput
@@ -538,6 +555,7 @@ export type ServiceOutputTypes =
538
555
  | ListFiltersCommandOutput
539
556
  | ListFindingsCommandOutput
540
557
  | ListIPSetsCommandOutput
558
+ | ListInvestigationsCommandOutput
541
559
  | ListInvitationsCommandOutput
542
560
  | ListMalwareProtectionPlansCommandOutput
543
561
  | ListMalwareScansCommandOutput
@@ -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
+ CreateInvestigationRequest,
10
+ CreateInvestigationResponse,
11
+ } from "../models/models_0";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface CreateInvestigationCommandInput
15
+ extends CreateInvestigationRequest {}
16
+ export interface CreateInvestigationCommandOutput
17
+ extends CreateInvestigationResponse,
18
+ __MetadataBearer {}
19
+ declare const CreateInvestigationCommand_base: {
20
+ new (
21
+ input: CreateInvestigationCommandInput
22
+ ): import("@smithy/core/client").CommandImpl<
23
+ CreateInvestigationCommandInput,
24
+ CreateInvestigationCommandOutput,
25
+ GuardDutyClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ input: CreateInvestigationCommandInput
31
+ ): import("@smithy/core/client").CommandImpl<
32
+ CreateInvestigationCommandInput,
33
+ CreateInvestigationCommandOutput,
34
+ GuardDutyClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): {
39
+ [x: string]: unknown;
40
+ };
41
+ };
42
+ export declare class CreateInvestigationCommand extends CreateInvestigationCommand_base {
43
+ protected static __types: {
44
+ api: {
45
+ input: CreateInvestigationRequest;
46
+ output: CreateInvestigationResponse;
47
+ };
48
+ sdk: {
49
+ input: CreateInvestigationCommandInput;
50
+ output: CreateInvestigationCommandOutput;
51
+ };
52
+ };
53
+ }