UNPKG

75.4 kBTypeScriptView Raw
1import {Request} from '../lib/request';
2import {Response} from '../lib/response';
3import {AWSError} from '../lib/error';
4import {Service} from '../lib/service';
5import {ServiceConfigurationOptions} from '../lib/service';
6import {ConfigBase as Config} from '../lib/config';
7interface Blob {}
8declare class GuardDuty extends Service {
9 /**
10 * Constructs a service object. This object has one method for each API operation.
11 */
12 constructor(options?: GuardDuty.Types.ClientConfiguration)
13 config: Config & GuardDuty.Types.ClientConfiguration;
14 /**
15 * Accepts the invitation to be monitored by a master GuardDuty account.
16 */
17 acceptInvitation(params: GuardDuty.Types.AcceptInvitationRequest, callback?: (err: AWSError, data: GuardDuty.Types.AcceptInvitationResponse) => void): Request<GuardDuty.Types.AcceptInvitationResponse, AWSError>;
18 /**
19 * Accepts the invitation to be monitored by a master GuardDuty account.
20 */
21 acceptInvitation(callback?: (err: AWSError, data: GuardDuty.Types.AcceptInvitationResponse) => void): Request<GuardDuty.Types.AcceptInvitationResponse, AWSError>;
22 /**
23 * Archives GuardDuty findings specified by the list of finding IDs. Only the master account can archive findings. Member accounts do not have permission to archive findings from their accounts.
24 */
25 archiveFindings(params: GuardDuty.Types.ArchiveFindingsRequest, callback?: (err: AWSError, data: GuardDuty.Types.ArchiveFindingsResponse) => void): Request<GuardDuty.Types.ArchiveFindingsResponse, AWSError>;
26 /**
27 * Archives GuardDuty findings specified by the list of finding IDs. Only the master account can archive findings. Member accounts do not have permission to archive findings from their accounts.
28 */
29 archiveFindings(callback?: (err: AWSError, data: GuardDuty.Types.ArchiveFindingsResponse) => void): Request<GuardDuty.Types.ArchiveFindingsResponse, AWSError>;
30 /**
31 * Creates a single Amazon GuardDuty detector. A detector is a resource that represents the GuardDuty service. To start using GuardDuty, you must create a detector in each region that you enable the service. You can have only one detector per account per region.
32 */
33 createDetector(params: GuardDuty.Types.CreateDetectorRequest, callback?: (err: AWSError, data: GuardDuty.Types.CreateDetectorResponse) => void): Request<GuardDuty.Types.CreateDetectorResponse, AWSError>;
34 /**
35 * Creates a single Amazon GuardDuty detector. A detector is a resource that represents the GuardDuty service. To start using GuardDuty, you must create a detector in each region that you enable the service. You can have only one detector per account per region.
36 */
37 createDetector(callback?: (err: AWSError, data: GuardDuty.Types.CreateDetectorResponse) => void): Request<GuardDuty.Types.CreateDetectorResponse, AWSError>;
38 /**
39 * Creates a filter using the specified finding criteria.
40 */
41 createFilter(params: GuardDuty.Types.CreateFilterRequest, callback?: (err: AWSError, data: GuardDuty.Types.CreateFilterResponse) => void): Request<GuardDuty.Types.CreateFilterResponse, AWSError>;
42 /**
43 * Creates a filter using the specified finding criteria.
44 */
45 createFilter(callback?: (err: AWSError, data: GuardDuty.Types.CreateFilterResponse) => void): Request<GuardDuty.Types.CreateFilterResponse, AWSError>;
46 /**
47 * Creates a new IPSet - a list of trusted IP addresses that have been whitelisted for secure communication with AWS infrastructure and applications.
48 */
49 createIPSet(params: GuardDuty.Types.CreateIPSetRequest, callback?: (err: AWSError, data: GuardDuty.Types.CreateIPSetResponse) => void): Request<GuardDuty.Types.CreateIPSetResponse, AWSError>;
50 /**
51 * Creates a new IPSet - a list of trusted IP addresses that have been whitelisted for secure communication with AWS infrastructure and applications.
52 */
53 createIPSet(callback?: (err: AWSError, data: GuardDuty.Types.CreateIPSetResponse) => void): Request<GuardDuty.Types.CreateIPSetResponse, AWSError>;
54 /**
55 * Creates member accounts of the current AWS account by specifying a list of AWS account IDs. The current AWS account can then invite these members to manage GuardDuty in their accounts.
56 */
57 createMembers(params: GuardDuty.Types.CreateMembersRequest, callback?: (err: AWSError, data: GuardDuty.Types.CreateMembersResponse) => void): Request<GuardDuty.Types.CreateMembersResponse, AWSError>;
58 /**
59 * Creates member accounts of the current AWS account by specifying a list of AWS account IDs. The current AWS account can then invite these members to manage GuardDuty in their accounts.
60 */
61 createMembers(callback?: (err: AWSError, data: GuardDuty.Types.CreateMembersResponse) => void): Request<GuardDuty.Types.CreateMembersResponse, AWSError>;
62 /**
63 * Generates example findings of types specified by the list of finding types. If 'NULL' is specified for findingTypes, the API generates example findings of all supported finding types.
64 */
65 createSampleFindings(params: GuardDuty.Types.CreateSampleFindingsRequest, callback?: (err: AWSError, data: GuardDuty.Types.CreateSampleFindingsResponse) => void): Request<GuardDuty.Types.CreateSampleFindingsResponse, AWSError>;
66 /**
67 * Generates example findings of types specified by the list of finding types. If 'NULL' is specified for findingTypes, the API generates example findings of all supported finding types.
68 */
69 createSampleFindings(callback?: (err: AWSError, data: GuardDuty.Types.CreateSampleFindingsResponse) => void): Request<GuardDuty.Types.CreateSampleFindingsResponse, AWSError>;
70 /**
71 * Create a new ThreatIntelSet. ThreatIntelSets consist of known malicious IP addresses. GuardDuty generates findings based on ThreatIntelSets.
72 */
73 createThreatIntelSet(params: GuardDuty.Types.CreateThreatIntelSetRequest, callback?: (err: AWSError, data: GuardDuty.Types.CreateThreatIntelSetResponse) => void): Request<GuardDuty.Types.CreateThreatIntelSetResponse, AWSError>;
74 /**
75 * Create a new ThreatIntelSet. ThreatIntelSets consist of known malicious IP addresses. GuardDuty generates findings based on ThreatIntelSets.
76 */
77 createThreatIntelSet(callback?: (err: AWSError, data: GuardDuty.Types.CreateThreatIntelSetResponse) => void): Request<GuardDuty.Types.CreateThreatIntelSetResponse, AWSError>;
78 /**
79 * Declines invitations sent to the current member account by AWS account specified by their account IDs.
80 */
81 declineInvitations(params: GuardDuty.Types.DeclineInvitationsRequest, callback?: (err: AWSError, data: GuardDuty.Types.DeclineInvitationsResponse) => void): Request<GuardDuty.Types.DeclineInvitationsResponse, AWSError>;
82 /**
83 * Declines invitations sent to the current member account by AWS account specified by their account IDs.
84 */
85 declineInvitations(callback?: (err: AWSError, data: GuardDuty.Types.DeclineInvitationsResponse) => void): Request<GuardDuty.Types.DeclineInvitationsResponse, AWSError>;
86 /**
87 * Deletes a Amazon GuardDuty detector specified by the detector ID.
88 */
89 deleteDetector(params: GuardDuty.Types.DeleteDetectorRequest, callback?: (err: AWSError, data: GuardDuty.Types.DeleteDetectorResponse) => void): Request<GuardDuty.Types.DeleteDetectorResponse, AWSError>;
90 /**
91 * Deletes a Amazon GuardDuty detector specified by the detector ID.
92 */
93 deleteDetector(callback?: (err: AWSError, data: GuardDuty.Types.DeleteDetectorResponse) => void): Request<GuardDuty.Types.DeleteDetectorResponse, AWSError>;
94 /**
95 * Deletes the filter specified by the filter name.
96 */
97 deleteFilter(params: GuardDuty.Types.DeleteFilterRequest, callback?: (err: AWSError, data: GuardDuty.Types.DeleteFilterResponse) => void): Request<GuardDuty.Types.DeleteFilterResponse, AWSError>;
98 /**
99 * Deletes the filter specified by the filter name.
100 */
101 deleteFilter(callback?: (err: AWSError, data: GuardDuty.Types.DeleteFilterResponse) => void): Request<GuardDuty.Types.DeleteFilterResponse, AWSError>;
102 /**
103 * Deletes the IPSet specified by the IPSet ID.
104 */
105 deleteIPSet(params: GuardDuty.Types.DeleteIPSetRequest, callback?: (err: AWSError, data: GuardDuty.Types.DeleteIPSetResponse) => void): Request<GuardDuty.Types.DeleteIPSetResponse, AWSError>;
106 /**
107 * Deletes the IPSet specified by the IPSet ID.
108 */
109 deleteIPSet(callback?: (err: AWSError, data: GuardDuty.Types.DeleteIPSetResponse) => void): Request<GuardDuty.Types.DeleteIPSetResponse, AWSError>;
110 /**
111 * Deletes invitations sent to the current member account by AWS accounts specified by their account IDs.
112 */
113 deleteInvitations(params: GuardDuty.Types.DeleteInvitationsRequest, callback?: (err: AWSError, data: GuardDuty.Types.DeleteInvitationsResponse) => void): Request<GuardDuty.Types.DeleteInvitationsResponse, AWSError>;
114 /**
115 * Deletes invitations sent to the current member account by AWS accounts specified by their account IDs.
116 */
117 deleteInvitations(callback?: (err: AWSError, data: GuardDuty.Types.DeleteInvitationsResponse) => void): Request<GuardDuty.Types.DeleteInvitationsResponse, AWSError>;
118 /**
119 * Deletes GuardDuty member accounts (to the current GuardDuty master account) specified by the account IDs.
120 */
121 deleteMembers(params: GuardDuty.Types.DeleteMembersRequest, callback?: (err: AWSError, data: GuardDuty.Types.DeleteMembersResponse) => void): Request<GuardDuty.Types.DeleteMembersResponse, AWSError>;
122 /**
123 * Deletes GuardDuty member accounts (to the current GuardDuty master account) specified by the account IDs.
124 */
125 deleteMembers(callback?: (err: AWSError, data: GuardDuty.Types.DeleteMembersResponse) => void): Request<GuardDuty.Types.DeleteMembersResponse, AWSError>;
126 /**
127 * Deletes ThreatIntelSet specified by the ThreatIntelSet ID.
128 */
129 deleteThreatIntelSet(params: GuardDuty.Types.DeleteThreatIntelSetRequest, callback?: (err: AWSError, data: GuardDuty.Types.DeleteThreatIntelSetResponse) => void): Request<GuardDuty.Types.DeleteThreatIntelSetResponse, AWSError>;
130 /**
131 * Deletes ThreatIntelSet specified by the ThreatIntelSet ID.
132 */
133 deleteThreatIntelSet(callback?: (err: AWSError, data: GuardDuty.Types.DeleteThreatIntelSetResponse) => void): Request<GuardDuty.Types.DeleteThreatIntelSetResponse, AWSError>;
134 /**
135 * Disassociates the current GuardDuty member account from its master account.
136 */
137 disassociateFromMasterAccount(params: GuardDuty.Types.DisassociateFromMasterAccountRequest, callback?: (err: AWSError, data: GuardDuty.Types.DisassociateFromMasterAccountResponse) => void): Request<GuardDuty.Types.DisassociateFromMasterAccountResponse, AWSError>;
138 /**
139 * Disassociates the current GuardDuty member account from its master account.
140 */
141 disassociateFromMasterAccount(callback?: (err: AWSError, data: GuardDuty.Types.DisassociateFromMasterAccountResponse) => void): Request<GuardDuty.Types.DisassociateFromMasterAccountResponse, AWSError>;
142 /**
143 * Disassociates GuardDuty member accounts (to the current GuardDuty master account) specified by the account IDs.
144 */
145 disassociateMembers(params: GuardDuty.Types.DisassociateMembersRequest, callback?: (err: AWSError, data: GuardDuty.Types.DisassociateMembersResponse) => void): Request<GuardDuty.Types.DisassociateMembersResponse, AWSError>;
146 /**
147 * Disassociates GuardDuty member accounts (to the current GuardDuty master account) specified by the account IDs.
148 */
149 disassociateMembers(callback?: (err: AWSError, data: GuardDuty.Types.DisassociateMembersResponse) => void): Request<GuardDuty.Types.DisassociateMembersResponse, AWSError>;
150 /**
151 * Retrieves an Amazon GuardDuty detector specified by the detectorId.
152 */
153 getDetector(params: GuardDuty.Types.GetDetectorRequest, callback?: (err: AWSError, data: GuardDuty.Types.GetDetectorResponse) => void): Request<GuardDuty.Types.GetDetectorResponse, AWSError>;
154 /**
155 * Retrieves an Amazon GuardDuty detector specified by the detectorId.
156 */
157 getDetector(callback?: (err: AWSError, data: GuardDuty.Types.GetDetectorResponse) => void): Request<GuardDuty.Types.GetDetectorResponse, AWSError>;
158 /**
159 * Returns the details of the filter specified by the filter name.
160 */
161 getFilter(params: GuardDuty.Types.GetFilterRequest, callback?: (err: AWSError, data: GuardDuty.Types.GetFilterResponse) => void): Request<GuardDuty.Types.GetFilterResponse, AWSError>;
162 /**
163 * Returns the details of the filter specified by the filter name.
164 */
165 getFilter(callback?: (err: AWSError, data: GuardDuty.Types.GetFilterResponse) => void): Request<GuardDuty.Types.GetFilterResponse, AWSError>;
166 /**
167 * Describes Amazon GuardDuty findings specified by finding IDs.
168 */
169 getFindings(params: GuardDuty.Types.GetFindingsRequest, callback?: (err: AWSError, data: GuardDuty.Types.GetFindingsResponse) => void): Request<GuardDuty.Types.GetFindingsResponse, AWSError>;
170 /**
171 * Describes Amazon GuardDuty findings specified by finding IDs.
172 */
173 getFindings(callback?: (err: AWSError, data: GuardDuty.Types.GetFindingsResponse) => void): Request<GuardDuty.Types.GetFindingsResponse, AWSError>;
174 /**
175 * Lists Amazon GuardDuty findings' statistics for the specified detector ID.
176 */
177 getFindingsStatistics(params: GuardDuty.Types.GetFindingsStatisticsRequest, callback?: (err: AWSError, data: GuardDuty.Types.GetFindingsStatisticsResponse) => void): Request<GuardDuty.Types.GetFindingsStatisticsResponse, AWSError>;
178 /**
179 * Lists Amazon GuardDuty findings' statistics for the specified detector ID.
180 */
181 getFindingsStatistics(callback?: (err: AWSError, data: GuardDuty.Types.GetFindingsStatisticsResponse) => void): Request<GuardDuty.Types.GetFindingsStatisticsResponse, AWSError>;
182 /**
183 * Retrieves the IPSet specified by the IPSet ID.
184 */
185 getIPSet(params: GuardDuty.Types.GetIPSetRequest, callback?: (err: AWSError, data: GuardDuty.Types.GetIPSetResponse) => void): Request<GuardDuty.Types.GetIPSetResponse, AWSError>;
186 /**
187 * Retrieves the IPSet specified by the IPSet ID.
188 */
189 getIPSet(callback?: (err: AWSError, data: GuardDuty.Types.GetIPSetResponse) => void): Request<GuardDuty.Types.GetIPSetResponse, AWSError>;
190 /**
191 * Returns the count of all GuardDuty membership invitations that were sent to the current member account except the currently accepted invitation.
192 */
193 getInvitationsCount(params: GuardDuty.Types.GetInvitationsCountRequest, callback?: (err: AWSError, data: GuardDuty.Types.GetInvitationsCountResponse) => void): Request<GuardDuty.Types.GetInvitationsCountResponse, AWSError>;
194 /**
195 * Returns the count of all GuardDuty membership invitations that were sent to the current member account except the currently accepted invitation.
196 */
197 getInvitationsCount(callback?: (err: AWSError, data: GuardDuty.Types.GetInvitationsCountResponse) => void): Request<GuardDuty.Types.GetInvitationsCountResponse, AWSError>;
198 /**
199 * Provides the details for the GuardDuty master account associated with the current GuardDuty member account.
200 */
201 getMasterAccount(params: GuardDuty.Types.GetMasterAccountRequest, callback?: (err: AWSError, data: GuardDuty.Types.GetMasterAccountResponse) => void): Request<GuardDuty.Types.GetMasterAccountResponse, AWSError>;
202 /**
203 * Provides the details for the GuardDuty master account associated with the current GuardDuty member account.
204 */
205 getMasterAccount(callback?: (err: AWSError, data: GuardDuty.Types.GetMasterAccountResponse) => void): Request<GuardDuty.Types.GetMasterAccountResponse, AWSError>;
206 /**
207 * Retrieves GuardDuty member accounts (to the current GuardDuty master account) specified by the account IDs.
208 */
209 getMembers(params: GuardDuty.Types.GetMembersRequest, callback?: (err: AWSError, data: GuardDuty.Types.GetMembersResponse) => void): Request<GuardDuty.Types.GetMembersResponse, AWSError>;
210 /**
211 * Retrieves GuardDuty member accounts (to the current GuardDuty master account) specified by the account IDs.
212 */
213 getMembers(callback?: (err: AWSError, data: GuardDuty.Types.GetMembersResponse) => void): Request<GuardDuty.Types.GetMembersResponse, AWSError>;
214 /**
215 * Retrieves the ThreatIntelSet that is specified by the ThreatIntelSet ID.
216 */
217 getThreatIntelSet(params: GuardDuty.Types.GetThreatIntelSetRequest, callback?: (err: AWSError, data: GuardDuty.Types.GetThreatIntelSetResponse) => void): Request<GuardDuty.Types.GetThreatIntelSetResponse, AWSError>;
218 /**
219 * Retrieves the ThreatIntelSet that is specified by the ThreatIntelSet ID.
220 */
221 getThreatIntelSet(callback?: (err: AWSError, data: GuardDuty.Types.GetThreatIntelSetResponse) => void): Request<GuardDuty.Types.GetThreatIntelSetResponse, AWSError>;
222 /**
223 * Invites other AWS accounts (created as members of the current AWS account by CreateMembers) to enable GuardDuty and allow the current AWS account to view and manage these accounts' GuardDuty findings on their behalf as the master account.
224 */
225 inviteMembers(params: GuardDuty.Types.InviteMembersRequest, callback?: (err: AWSError, data: GuardDuty.Types.InviteMembersResponse) => void): Request<GuardDuty.Types.InviteMembersResponse, AWSError>;
226 /**
227 * Invites other AWS accounts (created as members of the current AWS account by CreateMembers) to enable GuardDuty and allow the current AWS account to view and manage these accounts' GuardDuty findings on their behalf as the master account.
228 */
229 inviteMembers(callback?: (err: AWSError, data: GuardDuty.Types.InviteMembersResponse) => void): Request<GuardDuty.Types.InviteMembersResponse, AWSError>;
230 /**
231 * Lists detectorIds of all the existing Amazon GuardDuty detector resources.
232 */
233 listDetectors(params: GuardDuty.Types.ListDetectorsRequest, callback?: (err: AWSError, data: GuardDuty.Types.ListDetectorsResponse) => void): Request<GuardDuty.Types.ListDetectorsResponse, AWSError>;
234 /**
235 * Lists detectorIds of all the existing Amazon GuardDuty detector resources.
236 */
237 listDetectors(callback?: (err: AWSError, data: GuardDuty.Types.ListDetectorsResponse) => void): Request<GuardDuty.Types.ListDetectorsResponse, AWSError>;
238 /**
239 * Returns a paginated list of the current filters.
240 */
241 listFilters(params: GuardDuty.Types.ListFiltersRequest, callback?: (err: AWSError, data: GuardDuty.Types.ListFiltersResponse) => void): Request<GuardDuty.Types.ListFiltersResponse, AWSError>;
242 /**
243 * Returns a paginated list of the current filters.
244 */
245 listFilters(callback?: (err: AWSError, data: GuardDuty.Types.ListFiltersResponse) => void): Request<GuardDuty.Types.ListFiltersResponse, AWSError>;
246 /**
247 * Lists Amazon GuardDuty findings for the specified detector ID.
248 */
249 listFindings(params: GuardDuty.Types.ListFindingsRequest, callback?: (err: AWSError, data: GuardDuty.Types.ListFindingsResponse) => void): Request<GuardDuty.Types.ListFindingsResponse, AWSError>;
250 /**
251 * Lists Amazon GuardDuty findings for the specified detector ID.
252 */
253 listFindings(callback?: (err: AWSError, data: GuardDuty.Types.ListFindingsResponse) => void): Request<GuardDuty.Types.ListFindingsResponse, AWSError>;
254 /**
255 * Lists the IPSets of the GuardDuty service specified by the detector ID.
256 */
257 listIPSets(params: GuardDuty.Types.ListIPSetsRequest, callback?: (err: AWSError, data: GuardDuty.Types.ListIPSetsResponse) => void): Request<GuardDuty.Types.ListIPSetsResponse, AWSError>;
258 /**
259 * Lists the IPSets of the GuardDuty service specified by the detector ID.
260 */
261 listIPSets(callback?: (err: AWSError, data: GuardDuty.Types.ListIPSetsResponse) => void): Request<GuardDuty.Types.ListIPSetsResponse, AWSError>;
262 /**
263 * Lists all GuardDuty membership invitations that were sent to the current AWS account.
264 */
265 listInvitations(params: GuardDuty.Types.ListInvitationsRequest, callback?: (err: AWSError, data: GuardDuty.Types.ListInvitationsResponse) => void): Request<GuardDuty.Types.ListInvitationsResponse, AWSError>;
266 /**
267 * Lists all GuardDuty membership invitations that were sent to the current AWS account.
268 */
269 listInvitations(callback?: (err: AWSError, data: GuardDuty.Types.ListInvitationsResponse) => void): Request<GuardDuty.Types.ListInvitationsResponse, AWSError>;
270 /**
271 * Lists details about all member accounts for the current GuardDuty master account.
272 */
273 listMembers(params: GuardDuty.Types.ListMembersRequest, callback?: (err: AWSError, data: GuardDuty.Types.ListMembersResponse) => void): Request<GuardDuty.Types.ListMembersResponse, AWSError>;
274 /**
275 * Lists details about all member accounts for the current GuardDuty master account.
276 */
277 listMembers(callback?: (err: AWSError, data: GuardDuty.Types.ListMembersResponse) => void): Request<GuardDuty.Types.ListMembersResponse, AWSError>;
278 /**
279 * Lists tags for a resource. Tagging is currently supported for detectors, finding filters, IP sets, and Threat Intel sets, with a limit of 50 tags per resource. When invoked, this operation returns all assigned tags for a given resource..
280 */
281 listTagsForResource(params: GuardDuty.Types.ListTagsForResourceRequest, callback?: (err: AWSError, data: GuardDuty.Types.ListTagsForResourceResponse) => void): Request<GuardDuty.Types.ListTagsForResourceResponse, AWSError>;
282 /**
283 * Lists tags for a resource. Tagging is currently supported for detectors, finding filters, IP sets, and Threat Intel sets, with a limit of 50 tags per resource. When invoked, this operation returns all assigned tags for a given resource..
284 */
285 listTagsForResource(callback?: (err: AWSError, data: GuardDuty.Types.ListTagsForResourceResponse) => void): Request<GuardDuty.Types.ListTagsForResourceResponse, AWSError>;
286 /**
287 * Lists the ThreatIntelSets of the GuardDuty service specified by the detector ID.
288 */
289 listThreatIntelSets(params: GuardDuty.Types.ListThreatIntelSetsRequest, callback?: (err: AWSError, data: GuardDuty.Types.ListThreatIntelSetsResponse) => void): Request<GuardDuty.Types.ListThreatIntelSetsResponse, AWSError>;
290 /**
291 * Lists the ThreatIntelSets of the GuardDuty service specified by the detector ID.
292 */
293 listThreatIntelSets(callback?: (err: AWSError, data: GuardDuty.Types.ListThreatIntelSetsResponse) => void): Request<GuardDuty.Types.ListThreatIntelSetsResponse, AWSError>;
294 /**
295 * Re-enables GuardDuty to monitor findings of the member accounts specified by the account IDs. A master GuardDuty account can run this command after disabling GuardDuty from monitoring these members' findings by running StopMonitoringMembers.
296 */
297 startMonitoringMembers(params: GuardDuty.Types.StartMonitoringMembersRequest, callback?: (err: AWSError, data: GuardDuty.Types.StartMonitoringMembersResponse) => void): Request<GuardDuty.Types.StartMonitoringMembersResponse, AWSError>;
298 /**
299 * Re-enables GuardDuty to monitor findings of the member accounts specified by the account IDs. A master GuardDuty account can run this command after disabling GuardDuty from monitoring these members' findings by running StopMonitoringMembers.
300 */
301 startMonitoringMembers(callback?: (err: AWSError, data: GuardDuty.Types.StartMonitoringMembersResponse) => void): Request<GuardDuty.Types.StartMonitoringMembersResponse, AWSError>;
302 /**
303 * Disables GuardDuty from monitoring findings of the member accounts specified by the account IDs. After running this command, a master GuardDuty account can run StartMonitoringMembers to re-enable GuardDuty to monitor these members’ findings.
304 */
305 stopMonitoringMembers(params: GuardDuty.Types.StopMonitoringMembersRequest, callback?: (err: AWSError, data: GuardDuty.Types.StopMonitoringMembersResponse) => void): Request<GuardDuty.Types.StopMonitoringMembersResponse, AWSError>;
306 /**
307 * Disables GuardDuty from monitoring findings of the member accounts specified by the account IDs. After running this command, a master GuardDuty account can run StartMonitoringMembers to re-enable GuardDuty to monitor these members’ findings.
308 */
309 stopMonitoringMembers(callback?: (err: AWSError, data: GuardDuty.Types.StopMonitoringMembersResponse) => void): Request<GuardDuty.Types.StopMonitoringMembersResponse, AWSError>;
310 /**
311 * Adds tags to a resource.
312 */
313 tagResource(params: GuardDuty.Types.TagResourceRequest, callback?: (err: AWSError, data: GuardDuty.Types.TagResourceResponse) => void): Request<GuardDuty.Types.TagResourceResponse, AWSError>;
314 /**
315 * Adds tags to a resource.
316 */
317 tagResource(callback?: (err: AWSError, data: GuardDuty.Types.TagResourceResponse) => void): Request<GuardDuty.Types.TagResourceResponse, AWSError>;
318 /**
319 * Unarchives Amazon GuardDuty findings specified by the list of finding IDs.
320 */
321 unarchiveFindings(params: GuardDuty.Types.UnarchiveFindingsRequest, callback?: (err: AWSError, data: GuardDuty.Types.UnarchiveFindingsResponse) => void): Request<GuardDuty.Types.UnarchiveFindingsResponse, AWSError>;
322 /**
323 * Unarchives Amazon GuardDuty findings specified by the list of finding IDs.
324 */
325 unarchiveFindings(callback?: (err: AWSError, data: GuardDuty.Types.UnarchiveFindingsResponse) => void): Request<GuardDuty.Types.UnarchiveFindingsResponse, AWSError>;
326 /**
327 * Removes tags from a resource.
328 */
329 untagResource(params: GuardDuty.Types.UntagResourceRequest, callback?: (err: AWSError, data: GuardDuty.Types.UntagResourceResponse) => void): Request<GuardDuty.Types.UntagResourceResponse, AWSError>;
330 /**
331 * Removes tags from a resource.
332 */
333 untagResource(callback?: (err: AWSError, data: GuardDuty.Types.UntagResourceResponse) => void): Request<GuardDuty.Types.UntagResourceResponse, AWSError>;
334 /**
335 * Updates an Amazon GuardDuty detector specified by the detectorId.
336 */
337 updateDetector(params: GuardDuty.Types.UpdateDetectorRequest, callback?: (err: AWSError, data: GuardDuty.Types.UpdateDetectorResponse) => void): Request<GuardDuty.Types.UpdateDetectorResponse, AWSError>;
338 /**
339 * Updates an Amazon GuardDuty detector specified by the detectorId.
340 */
341 updateDetector(callback?: (err: AWSError, data: GuardDuty.Types.UpdateDetectorResponse) => void): Request<GuardDuty.Types.UpdateDetectorResponse, AWSError>;
342 /**
343 * Updates the filter specified by the filter name.
344 */
345 updateFilter(params: GuardDuty.Types.UpdateFilterRequest, callback?: (err: AWSError, data: GuardDuty.Types.UpdateFilterResponse) => void): Request<GuardDuty.Types.UpdateFilterResponse, AWSError>;
346 /**
347 * Updates the filter specified by the filter name.
348 */
349 updateFilter(callback?: (err: AWSError, data: GuardDuty.Types.UpdateFilterResponse) => void): Request<GuardDuty.Types.UpdateFilterResponse, AWSError>;
350 /**
351 * Marks specified Amazon GuardDuty findings as useful or not useful.
352 */
353 updateFindingsFeedback(params: GuardDuty.Types.UpdateFindingsFeedbackRequest, callback?: (err: AWSError, data: GuardDuty.Types.UpdateFindingsFeedbackResponse) => void): Request<GuardDuty.Types.UpdateFindingsFeedbackResponse, AWSError>;
354 /**
355 * Marks specified Amazon GuardDuty findings as useful or not useful.
356 */
357 updateFindingsFeedback(callback?: (err: AWSError, data: GuardDuty.Types.UpdateFindingsFeedbackResponse) => void): Request<GuardDuty.Types.UpdateFindingsFeedbackResponse, AWSError>;
358 /**
359 * Updates the IPSet specified by the IPSet ID.
360 */
361 updateIPSet(params: GuardDuty.Types.UpdateIPSetRequest, callback?: (err: AWSError, data: GuardDuty.Types.UpdateIPSetResponse) => void): Request<GuardDuty.Types.UpdateIPSetResponse, AWSError>;
362 /**
363 * Updates the IPSet specified by the IPSet ID.
364 */
365 updateIPSet(callback?: (err: AWSError, data: GuardDuty.Types.UpdateIPSetResponse) => void): Request<GuardDuty.Types.UpdateIPSetResponse, AWSError>;
366 /**
367 * Updates the ThreatIntelSet specified by ThreatIntelSet ID.
368 */
369 updateThreatIntelSet(params: GuardDuty.Types.UpdateThreatIntelSetRequest, callback?: (err: AWSError, data: GuardDuty.Types.UpdateThreatIntelSetResponse) => void): Request<GuardDuty.Types.UpdateThreatIntelSetResponse, AWSError>;
370 /**
371 * Updates the ThreatIntelSet specified by ThreatIntelSet ID.
372 */
373 updateThreatIntelSet(callback?: (err: AWSError, data: GuardDuty.Types.UpdateThreatIntelSetResponse) => void): Request<GuardDuty.Types.UpdateThreatIntelSetResponse, AWSError>;
374}
375declare namespace GuardDuty {
376 export interface AcceptInvitationRequest {
377 /**
378 * The unique ID of the detector of the GuardDuty member account.
379 */
380 DetectorId: DetectorId;
381 /**
382 * The account ID of the master GuardDuty account whose invitation you're accepting.
383 */
384 MasterId: String;
385 /**
386 * This value is used to validate the master account to the member account.
387 */
388 InvitationId: String;
389 }
390 export interface AcceptInvitationResponse {
391 }
392 export interface AccessKeyDetails {
393 /**
394 * Access key ID of the user.
395 */
396 AccessKeyId?: String;
397 /**
398 * The principal ID of the user.
399 */
400 PrincipalId?: String;
401 /**
402 * The name of the user.
403 */
404 UserName?: String;
405 /**
406 * The type of the user.
407 */
408 UserType?: String;
409 }
410 export interface AccountDetail {
411 /**
412 * Member account ID.
413 */
414 AccountId: AccountId;
415 /**
416 * Member account's email address.
417 */
418 Email: Email;
419 }
420 export type AccountDetails = AccountDetail[];
421 export type AccountId = string;
422 export type AccountIds = AccountId[];
423 export interface Action {
424 /**
425 * GuardDuty Finding activity type.
426 */
427 ActionType?: String;
428 /**
429 * Information about the AWS_API_CALL action described in this finding.
430 */
431 AwsApiCallAction?: AwsApiCallAction;
432 /**
433 * Information about the DNS_REQUEST action described in this finding.
434 */
435 DnsRequestAction?: DnsRequestAction;
436 /**
437 * Information about the NETWORK_CONNECTION action described in this finding.
438 */
439 NetworkConnectionAction?: NetworkConnectionAction;
440 /**
441 * Information about the PORT_PROBE action described in this finding.
442 */
443 PortProbeAction?: PortProbeAction;
444 }
445 export interface ArchiveFindingsRequest {
446 /**
447 * The ID of the detector that specifies the GuardDuty service whose findings you want to archive.
448 */
449 DetectorId: DetectorId;
450 /**
451 * IDs of the findings that you want to archive.
452 */
453 FindingIds: FindingIds;
454 }
455 export interface ArchiveFindingsResponse {
456 }
457 export interface AwsApiCallAction {
458 /**
459 * AWS API name.
460 */
461 Api?: String;
462 /**
463 * AWS API caller type.
464 */
465 CallerType?: String;
466 /**
467 * Domain information for the AWS API call.
468 */
469 DomainDetails?: DomainDetails;
470 /**
471 * Remote IP information of the connection.
472 */
473 RemoteIpDetails?: RemoteIpDetails;
474 /**
475 * AWS service name whose API was invoked.
476 */
477 ServiceName?: String;
478 }
479 export type Boolean = boolean;
480 export interface City {
481 /**
482 * City name of the remote IP address.
483 */
484 CityName?: String;
485 }
486 export type ClientToken = string;
487 export interface Condition {
488 /**
489 * Deprecated. Represents the equal condition to be applied to a single field when querying for findings.
490 */
491 Eq?: Eq;
492 /**
493 * Deprecated. Represents the not equal condition to be applied to a single field when querying for findings.
494 */
495 Neq?: Neq;
496 /**
497 * Deprecated. Represents a greater than condition to be applied to a single field when querying for findings.
498 */
499 Gt?: Integer;
500 /**
501 * Deprecated. Represents a greater than equal condition to be applied to a single field when querying for findings.
502 */
503 Gte?: Integer;
504 /**
505 * Deprecated. Represents a less than condition to be applied to a single field when querying for findings.
506 */
507 Lt?: Integer;
508 /**
509 * Deprecated. Represents a less than equal condition to be applied to a single field when querying for findings.
510 */
511 Lte?: Integer;
512 /**
513 * Represents an equal condition to be applied to a single field when querying for findings.
514 */
515 Equals?: Equals;
516 /**
517 * Represents an not equal condition to be applied to a single field when querying for findings.
518 */
519 NotEquals?: NotEquals;
520 /**
521 * Represents a greater than condition to be applied to a single field when querying for findings.
522 */
523 GreaterThan?: Long;
524 /**
525 * Represents a greater than equal condition to be applied to a single field when querying for findings.
526 */
527 GreaterThanOrEqual?: Long;
528 /**
529 * Represents a less than condition to be applied to a single field when querying for findings.
530 */
531 LessThan?: Long;
532 /**
533 * Represents a less than equal condition to be applied to a single field when querying for findings.
534 */
535 LessThanOrEqual?: Long;
536 }
537 export type CountBySeverity = {[key: string]: Integer};
538 export interface Country {
539 /**
540 * Country code of the remote IP address.
541 */
542 CountryCode?: String;
543 /**
544 * Country name of the remote IP address.
545 */
546 CountryName?: String;
547 }
548 export interface CreateDetectorRequest {
549 /**
550 * A boolean value that specifies whether the detector is to be enabled.
551 */
552 Enable: Boolean;
553 /**
554 * The idempotency token for the create request.
555 */
556 ClientToken?: ClientToken;
557 /**
558 * A enum value that specifies how frequently customer got Finding updates published.
559 */
560 FindingPublishingFrequency?: FindingPublishingFrequency;
561 /**
562 * The tags to be added to a new detector resource.
563 */
564 Tags?: TagMap;
565 }
566 export interface CreateDetectorResponse {
567 /**
568 * The unique ID of the created detector.
569 */
570 DetectorId?: DetectorId;
571 }
572 export interface CreateFilterRequest {
573 /**
574 * The unique ID of the detector of the GuardDuty account for which you want to create a filter.
575 */
576 DetectorId: DetectorId;
577 /**
578 * The name of the filter.
579 */
580 Name: FilterName;
581 /**
582 * The description of the filter.
583 */
584 Description?: FilterDescription;
585 /**
586 * Specifies the action that is to be applied to the findings that match the filter.
587 */
588 Action?: FilterAction;
589 /**
590 * Specifies the position of the filter in the list of current filters. Also specifies the order in which this filter is applied to the findings.
591 */
592 Rank?: FilterRank;
593 /**
594 * Represents the criteria to be used in the filter for querying findings.
595 */
596 FindingCriteria: FindingCriteria;
597 /**
598 * The idempotency token for the create request.
599 */
600 ClientToken?: ClientToken;
601 /**
602 * The tags to be added to a new filter resource.
603 */
604 Tags?: TagMap;
605 }
606 export interface CreateFilterResponse {
607 /**
608 * The name of the successfully created filter.
609 */
610 Name: FilterName;
611 }
612 export interface CreateIPSetRequest {
613 /**
614 * The unique ID of the detector of the GuardDuty account for which you want to create an IPSet.
615 */
616 DetectorId: DetectorId;
617 /**
618 * The user friendly name to identify the IPSet. This name is displayed in all findings that are triggered by activity that involves IP addresses included in this IPSet.
619 */
620 Name: Name;
621 /**
622 * The format of the file that contains the IPSet.
623 */
624 Format: IpSetFormat;
625 /**
626 * The URI of the file that contains the IPSet. For example (https://s3.us-west-2.amazonaws.com/my-bucket/my-object-key)
627 */
628 Location: Location;
629 /**
630 * A boolean value that indicates whether GuardDuty is to start using the uploaded IPSet.
631 */
632 Activate: Boolean;
633 /**
634 * The idempotency token for the create request.
635 */
636 ClientToken?: ClientToken;
637 /**
638 * The tags to be added to a new IP set resource.
639 */
640 Tags?: TagMap;
641 }
642 export interface CreateIPSetResponse {
643 /**
644 * The ID of the IPSet resource.
645 */
646 IpSetId: String;
647 }
648 export interface CreateMembersRequest {
649 /**
650 * The unique ID of the detector of the GuardDuty account with which you want to associate member accounts.
651 */
652 DetectorId: DetectorId;
653 /**
654 * A list of account ID and email address pairs of the accounts that you want to associate with the master GuardDuty account.
655 */
656 AccountDetails: AccountDetails;
657 }
658 export interface CreateMembersResponse {
659 /**
660 * A list of objects containing the unprocessed account and a result string explaining why it was unprocessed.
661 */
662 UnprocessedAccounts: UnprocessedAccounts;
663 }
664 export interface CreateSampleFindingsRequest {
665 /**
666 * The ID of the detector to create sample findings for.
667 */
668 DetectorId: DetectorId;
669 /**
670 * Types of sample findings that you want to generate.
671 */
672 FindingTypes?: FindingTypes;
673 }
674 export interface CreateSampleFindingsResponse {
675 }
676 export interface CreateThreatIntelSetRequest {
677 /**
678 * The unique ID of the detector of the GuardDuty account for which you want to create a threatIntelSet.
679 */
680 DetectorId: DetectorId;
681 /**
682 * A user-friendly ThreatIntelSet name that is displayed in all finding generated by activity that involves IP addresses included in this ThreatIntelSet.
683 */
684 Name: Name;
685 /**
686 * The format of the file that contains the ThreatIntelSet.
687 */
688 Format: ThreatIntelSetFormat;
689 /**
690 * The URI of the file that contains the ThreatIntelSet. For example (https://s3.us-west-2.amazonaws.com/my-bucket/my-object-key).
691 */
692 Location: Location;
693 /**
694 * A boolean value that indicates whether GuardDuty is to start using the uploaded ThreatIntelSet.
695 */
696 Activate: Boolean;
697 /**
698 * The idempotency token for the create request.
699 */
700 ClientToken?: ClientToken;
701 /**
702 * The tags to be added to a new Threat List resource.
703 */
704 Tags?: TagMap;
705 }
706 export interface CreateThreatIntelSetResponse {
707 /**
708 * The ID of the ThreatIntelSet resource.
709 */
710 ThreatIntelSetId: String;
711 }
712 export type Criterion = {[key: string]: Condition};
713 export interface DeclineInvitationsRequest {
714 /**
715 * A list of account IDs of the AWS accounts that sent invitations to the current member account that you want to decline invitations from.
716 */
717 AccountIds: AccountIds;
718 }
719 export interface DeclineInvitationsResponse {
720 /**
721 * A list of objects containing the unprocessed account and a result string explaining why it was unprocessed.
722 */
723 UnprocessedAccounts: UnprocessedAccounts;
724 }
725 export interface DeleteDetectorRequest {
726 /**
727 * The unique ID of the detector that you want to delete.
728 */
729 DetectorId: DetectorId;
730 }
731 export interface DeleteDetectorResponse {
732 }
733 export interface DeleteFilterRequest {
734 /**
735 * The unique ID of the detector the filter is associated with.
736 */
737 DetectorId: DetectorId;
738 /**
739 * The name of the filter you want to delete.
740 */
741 FilterName: String;
742 }
743 export interface DeleteFilterResponse {
744 }
745 export interface DeleteIPSetRequest {
746 /**
747 * The unique ID of the detector the ipSet is associated with.
748 */
749 DetectorId: DetectorId;
750 /**
751 * The unique ID of the ipSet you want to delete.
752 */
753 IpSetId: String;
754 }
755 export interface DeleteIPSetResponse {
756 }
757 export interface DeleteInvitationsRequest {
758 /**
759 * A list of account IDs of the AWS accounts that sent invitations to the current member account that you want to delete invitations from.
760 */
761 AccountIds: AccountIds;
762 }
763 export interface DeleteInvitationsResponse {
764 /**
765 * A list of objects containing the unprocessed account and a result string explaining why it was unprocessed.
766 */
767 UnprocessedAccounts: UnprocessedAccounts;
768 }
769 export interface DeleteMembersRequest {
770 /**
771 * The unique ID of the detector of the GuardDuty account whose members you want to delete.
772 */
773 DetectorId: DetectorId;
774 /**
775 * A list of account IDs of the GuardDuty member accounts that you want to delete.
776 */
777 AccountIds: AccountIds;
778 }
779 export interface DeleteMembersResponse {
780 /**
781 * The accounts that could not be processed.
782 */
783 UnprocessedAccounts: UnprocessedAccounts;
784 }
785 export interface DeleteThreatIntelSetRequest {
786 /**
787 * The unique ID of the detector the threatIntelSet is associated with.
788 */
789 DetectorId: DetectorId;
790 /**
791 * The unique ID of the threatIntelSet you want to delete.
792 */
793 ThreatIntelSetId: String;
794 }
795 export interface DeleteThreatIntelSetResponse {
796 }
797 export type DetectorId = string;
798 export type DetectorIds = DetectorId[];
799 export type DetectorStatus = "ENABLED"|"DISABLED"|string;
800 export interface DisassociateFromMasterAccountRequest {
801 /**
802 * The unique ID of the detector of the GuardDuty member account.
803 */
804 DetectorId: DetectorId;
805 }
806 export interface DisassociateFromMasterAccountResponse {
807 }
808 export interface DisassociateMembersRequest {
809 /**
810 * The unique ID of the detector of the GuardDuty account whose members you want to disassociate from master.
811 */
812 DetectorId: DetectorId;
813 /**
814 * A list of account IDs of the GuardDuty member accounts that you want to disassociate from master.
815 */
816 AccountIds: AccountIds;
817 }
818 export interface DisassociateMembersResponse {
819 /**
820 * A list of objects containing the unprocessed account and a result string explaining why it was unprocessed.
821 */
822 UnprocessedAccounts: UnprocessedAccounts;
823 }
824 export interface DnsRequestAction {
825 /**
826 * Domain information for the DNS request.
827 */
828 Domain?: String;
829 }
830 export interface DomainDetails {
831 /**
832 * Domain information for the AWS API call.
833 */
834 Domain?: String;
835 }
836 export type Double = number;
837 export type Email = string;
838 export type Eq = String[];
839 export type Equals = String[];
840 export interface Evidence {
841 /**
842 * A list of threat intelligence details related to the evidence.
843 */
844 ThreatIntelligenceDetails?: ThreatIntelligenceDetails;
845 }
846 export type Feedback = "USEFUL"|"NOT_USEFUL"|string;
847 export type FilterAction = "NOOP"|"ARCHIVE"|string;
848 export type FilterDescription = string;
849 export type FilterName = string;
850 export type FilterNames = FilterName[];
851 export type FilterRank = number;
852 export interface Finding {
853 /**
854 * The ID of the account in which the finding was generated.
855 */
856 AccountId: String;
857 /**
858 * The ARN for the finding.
859 */
860 Arn: String;
861 /**
862 * The confidence score for the finding.
863 */
864 Confidence?: Double;
865 /**
866 * The time and date at which the finding was created.
867 */
868 CreatedAt: String;
869 /**
870 * The description of the finding.
871 */
872 Description?: String;
873 /**
874 * The ID of the finding.
875 */
876 Id: String;
877 /**
878 * The partition associated with the finding.
879 */
880 Partition?: String;
881 /**
882 * The Region in which the finding was generated.
883 */
884 Region: String;
885 Resource: Resource;
886 /**
887 * The version of the schema used for the finding.
888 */
889 SchemaVersion: String;
890 Service?: Service;
891 /**
892 * The severity of the finding.
893 */
894 Severity: Double;
895 /**
896 * The title for the finding.
897 */
898 Title?: String;
899 /**
900 * The type of the finding.
901 */
902 Type: FindingType;
903 /**
904 * The time and date at which the finding was laste updated.
905 */
906 UpdatedAt: String;
907 }
908 export interface FindingCriteria {
909 /**
910 * Represents a map of finding properties that match specified conditions and values when querying findings.
911 */
912 Criterion?: Criterion;
913 }
914 export type FindingId = string;
915 export type FindingIds = FindingId[];
916 export type FindingPublishingFrequency = "FIFTEEN_MINUTES"|"ONE_HOUR"|"SIX_HOURS"|string;
917 export type FindingStatisticType = "COUNT_BY_SEVERITY"|string;
918 export type FindingStatisticTypes = FindingStatisticType[];
919 export interface FindingStatistics {
920 /**
921 * Represents a map of severity to count statistic for a set of findings
922 */
923 CountBySeverity?: CountBySeverity;
924 }
925 export type FindingType = string;
926 export type FindingTypes = FindingType[];
927 export type Findings = Finding[];
928 export interface GeoLocation {
929 /**
930 * Latitude information of remote IP address.
931 */
932 Lat?: Double;
933 /**
934 * Longitude information of remote IP address.
935 */
936 Lon?: Double;
937 }
938 export interface GetDetectorRequest {
939 /**
940 * The unique ID of the detector that you want to get.
941 */
942 DetectorId: DetectorId;
943 }
944 export interface GetDetectorResponse {
945 /**
946 * Detector creation timestamp.
947 */
948 CreatedAt?: String;
949 /**
950 * Finding publishing frequency.
951 */
952 FindingPublishingFrequency?: FindingPublishingFrequency;
953 /**
954 * The GuardDuty service role.
955 */
956 ServiceRole: String;
957 /**
958 * The detector status.
959 */
960 Status: DetectorStatus;
961 /**
962 * Detector last update timestamp.
963 */
964 UpdatedAt?: String;
965 /**
966 * The tags of the detector resource.
967 */
968 Tags?: TagMap;
969 }
970 export interface GetFilterRequest {
971 /**
972 * The unique ID of the detector the filter is associated with.
973 */
974 DetectorId: DetectorId;
975 /**
976 * The name of the filter you want to get.
977 */
978 FilterName: String;
979 }
980 export interface GetFilterResponse {
981 /**
982 * The name of the filter.
983 */
984 Name: FilterName;
985 /**
986 * The description of the filter.
987 */
988 Description?: FilterDescription;
989 /**
990 * Specifies the action that is to be applied to the findings that match the filter.
991 */
992 Action: FilterAction;
993 /**
994 * Specifies the position of the filter in the list of current filters. Also specifies the order in which this filter is applied to the findings.
995 */
996 Rank?: FilterRank;
997 /**
998 * Represents the criteria to be used in the filter for querying findings.
999 */
1000 FindingCriteria: FindingCriteria;
1001 /**
1002 * The tags of the filter resource.
1003 */
1004 Tags?: TagMap;
1005 }
1006 export interface GetFindingsRequest {
1007 /**
1008 * The ID of the detector that specifies the GuardDuty service whose findings you want to retrieve.
1009 */
1010 DetectorId: DetectorId;
1011 /**
1012 * IDs of the findings that you want to retrieve.
1013 */
1014 FindingIds: FindingIds;
1015 /**
1016 * Represents the criteria used for sorting findings.
1017 */
1018 SortCriteria?: SortCriteria;
1019 }
1020 export interface GetFindingsResponse {
1021 /**
1022 * A list of findings.
1023 */
1024 Findings: Findings;
1025 }
1026 export interface GetFindingsStatisticsRequest {
1027 /**
1028 * The ID of the detector that specifies the GuardDuty service whose findings' statistics you want to retrieve.
1029 */
1030 DetectorId: DetectorId;
1031 /**
1032 * Types of finding statistics to retrieve.
1033 */
1034 FindingStatisticTypes: FindingStatisticTypes;
1035 /**
1036 * Represents the criteria used for querying findings.
1037 */
1038 FindingCriteria?: FindingCriteria;
1039 }
1040 export interface GetFindingsStatisticsResponse {
1041 /**
1042 * Finding statistics object.
1043 */
1044 FindingStatistics: FindingStatistics;
1045 }
1046 export interface GetIPSetRequest {
1047 /**
1048 * The unique ID of the detector the ipSet is associated with.
1049 */
1050 DetectorId: DetectorId;
1051 /**
1052 * The unique ID of the ipSet you want to get.
1053 */
1054 IpSetId: String;
1055 }
1056 export interface GetIPSetResponse {
1057 /**
1058 * The user friendly name to identify the IPSet. This name is displayed in all findings that are triggered by activity that involves IP addresses included in this IPSet.
1059 */
1060 Name: Name;
1061 /**
1062 * The format of the file that contains the IPSet.
1063 */
1064 Format: IpSetFormat;
1065 /**
1066 * The URI of the file that contains the IPSet. For example (https://s3.us-west-2.amazonaws.com/my-bucket/my-object-key)
1067 */
1068 Location: Location;
1069 /**
1070 * The status of ipSet file uploaded.
1071 */
1072 Status: IpSetStatus;
1073 /**
1074 * The tags of the IP set resource.
1075 */
1076 Tags?: TagMap;
1077 }
1078 export interface GetInvitationsCountRequest {
1079 }
1080 export interface GetInvitationsCountResponse {
1081 /**
1082 * The number of received invitations.
1083 */
1084 InvitationsCount?: Integer;
1085 }
1086 export interface GetMasterAccountRequest {
1087 /**
1088 * The unique ID of the detector of the GuardDuty member account.
1089 */
1090 DetectorId: DetectorId;
1091 }
1092 export interface GetMasterAccountResponse {
1093 /**
1094 * Master account details.
1095 */
1096 Master: Master;
1097 }
1098 export interface GetMembersRequest {
1099 /**
1100 * The unique ID of the detector of the GuardDuty account whose members you want to retrieve.
1101 */
1102 DetectorId: DetectorId;
1103 /**
1104 * A list of account IDs of the GuardDuty member accounts that you want to describe.
1105 */
1106 AccountIds: AccountIds;
1107 }
1108 export interface GetMembersResponse {
1109 /**
1110 * A list of members.
1111 */
1112 Members: Members;
1113 /**
1114 * A list of objects containing the unprocessed account and a result string explaining why it was unprocessed.
1115 */
1116 UnprocessedAccounts: UnprocessedAccounts;
1117 }
1118 export interface GetThreatIntelSetRequest {
1119 /**
1120 * The unique ID of the detector the threatIntelSet is associated with.
1121 */
1122 DetectorId: DetectorId;
1123 /**
1124 * The unique ID of the threatIntelSet you want to get.
1125 */
1126 ThreatIntelSetId: String;
1127 }
1128 export interface GetThreatIntelSetResponse {
1129 /**
1130 * A user-friendly ThreatIntelSet name that is displayed in all finding generated by activity that involves IP addresses included in this ThreatIntelSet.
1131 */
1132 Name: Name;
1133 /**
1134 * The format of the threatIntelSet.
1135 */
1136 Format: ThreatIntelSetFormat;
1137 /**
1138 * The URI of the file that contains the ThreatIntelSet. For example (https://s3.us-west-2.amazonaws.com/my-bucket/my-object-key).
1139 */
1140 Location: Location;
1141 /**
1142 * The status of threatIntelSet file uploaded.
1143 */
1144 Status: ThreatIntelSetStatus;
1145 /**
1146 * The tags of the Threat List resource.
1147 */
1148 Tags?: TagMap;
1149 }
1150 export type GuardDutyArn = string;
1151 export interface IamInstanceProfile {
1152 /**
1153 * AWS EC2 instance profile ARN.
1154 */
1155 Arn?: String;
1156 /**
1157 * AWS EC2 instance profile ID.
1158 */
1159 Id?: String;
1160 }
1161 export interface InstanceDetails {
1162 /**
1163 * The availability zone of the EC2 instance.
1164 */
1165 AvailabilityZone?: String;
1166 /**
1167 * The profile information of the EC2 instance.
1168 */
1169 IamInstanceProfile?: IamInstanceProfile;
1170 /**
1171 * The image description of the EC2 instance.
1172 */
1173 ImageDescription?: String;
1174 /**
1175 * The image ID of the EC2 instance.
1176 */
1177 ImageId?: String;
1178 /**
1179 * The ID of the EC2 instance.
1180 */
1181 InstanceId?: String;
1182 /**
1183 * The state of the EC2 instance.
1184 */
1185 InstanceState?: String;
1186 /**
1187 * The type of the EC2 instance.
1188 */
1189 InstanceType?: String;
1190 /**
1191 * The launch time of the EC2 instance.
1192 */
1193 LaunchTime?: String;
1194 /**
1195 * The network interface information of the EC2 instance.
1196 */
1197 NetworkInterfaces?: NetworkInterfaces;
1198 /**
1199 * The platform of the EC2 instance.
1200 */
1201 Platform?: String;
1202 /**
1203 * The product code of the EC2 instance.
1204 */
1205 ProductCodes?: ProductCodes;
1206 /**
1207 * The tags of the EC2 instance.
1208 */
1209 Tags?: Tags;
1210 }
1211 export type Integer = number;
1212 export interface Invitation {
1213 /**
1214 * Inviter account ID
1215 */
1216 AccountId?: AccountId;
1217 /**
1218 * This value is used to validate the inviter account to the member account.
1219 */
1220 InvitationId?: String;
1221 /**
1222 * The status of the relationship between the inviter and invitee accounts.
1223 */
1224 RelationshipStatus?: String;
1225 /**
1226 * Timestamp at which the invitation was sent
1227 */
1228 InvitedAt?: String;
1229 }
1230 export type Invitations = Invitation[];
1231 export interface InviteMembersRequest {
1232 /**
1233 * The unique ID of the detector of the GuardDuty account with which you want to invite members.
1234 */
1235 DetectorId: DetectorId;
1236 /**
1237 * A list of account IDs of the accounts that you want to invite to GuardDuty as members.
1238 */
1239 AccountIds: AccountIds;
1240 /**
1241 * A boolean value that specifies whether you want to disable email notification to the accounts that you’re inviting to GuardDuty as members.
1242 */
1243 DisableEmailNotification?: Boolean;
1244 /**
1245 * The invitation message that you want to send to the accounts that you’re inviting to GuardDuty as members.
1246 */
1247 Message?: String;
1248 }
1249 export interface InviteMembersResponse {
1250 /**
1251 * A list of objects containing the unprocessed account and a result string explaining why it was unprocessed.
1252 */
1253 UnprocessedAccounts: UnprocessedAccounts;
1254 }
1255 export type IpSetFormat = "TXT"|"STIX"|"OTX_CSV"|"ALIEN_VAULT"|"PROOF_POINT"|"FIRE_EYE"|string;
1256 export type IpSetIds = String[];
1257 export type IpSetStatus = "INACTIVE"|"ACTIVATING"|"ACTIVE"|"DEACTIVATING"|"ERROR"|"DELETE_PENDING"|"DELETED"|string;
1258 export type Ipv6Addresses = String[];
1259 export interface ListDetectorsRequest {
1260 /**
1261 * You can use this parameter to indicate the maximum number of items you want in the response. The default value is 50. The maximum value is 50.
1262 */
1263 MaxResults?: MaxResults;
1264 /**
1265 * 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.
1266 */
1267 NextToken?: String;
1268 }
1269 export interface ListDetectorsResponse {
1270 /**
1271 * A list of detector Ids.
1272 */
1273 DetectorIds: DetectorIds;
1274 /**
1275 * Pagination parameter to be used on the next list operation to retrieve more items.
1276 */
1277 NextToken?: String;
1278 }
1279 export interface ListFiltersRequest {
1280 /**
1281 * The unique ID of the detector the filter is associated with.
1282 */
1283 DetectorId: DetectorId;
1284 /**
1285 * You can use this parameter to indicate the maximum number of items you want in the response. The default value is 50. The maximum value is 50.
1286 */
1287 MaxResults?: MaxResults;
1288 /**
1289 * 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.
1290 */
1291 NextToken?: String;
1292 }
1293 export interface ListFiltersResponse {
1294 /**
1295 * A list of filter names
1296 */
1297 FilterNames: FilterNames;
1298 /**
1299 * Pagination parameter to be used on the next list operation to retrieve more items.
1300 */
1301 NextToken?: String;
1302 }
1303 export interface ListFindingsRequest {
1304 /**
1305 * The ID of the detector that specifies the GuardDuty service whose findings you want to list.
1306 */
1307 DetectorId: DetectorId;
1308 /**
1309 * Represents the criteria used for querying findings.
1310 */
1311 FindingCriteria?: FindingCriteria;
1312 /**
1313 * Represents the criteria used for sorting findings.
1314 */
1315 SortCriteria?: SortCriteria;
1316 /**
1317 * You can use this parameter to indicate the maximum number of items you want in the response. The default value is 50. The maximum value is 50.
1318 */
1319 MaxResults?: MaxResults;
1320 /**
1321 * 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.
1322 */
1323 NextToken?: String;
1324 }
1325 export interface ListFindingsResponse {
1326 /**
1327 * The IDs of the findings you are listing.
1328 */
1329 FindingIds: FindingIds;
1330 /**
1331 * Pagination parameter to be used on the next list operation to retrieve more items.
1332 */
1333 NextToken?: String;
1334 }
1335 export interface ListIPSetsRequest {
1336 /**
1337 * The unique ID of the detector the ipSet is associated with.
1338 */
1339 DetectorId: DetectorId;
1340 /**
1341 * You can use this parameter to indicate the maximum number of items you want in the response. The default value is 50. The maximum value is 50.
1342 */
1343 MaxResults?: MaxResults;
1344 /**
1345 * 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.
1346 */
1347 NextToken?: String;
1348 }
1349 export interface ListIPSetsResponse {
1350 /**
1351 * The IDs of the IPSet resources.
1352 */
1353 IpSetIds: IpSetIds;
1354 /**
1355 * Pagination parameter to be used on the next list operation to retrieve more items.
1356 */
1357 NextToken?: String;
1358 }
1359 export interface ListInvitationsRequest {
1360 /**
1361 * You can use this parameter to indicate the maximum number of items you want in the response. The default value is 50. The maximum value is 50.
1362 */
1363 MaxResults?: MaxResults;
1364 /**
1365 * 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.
1366 */
1367 NextToken?: String;
1368 }
1369 export interface ListInvitationsResponse {
1370 /**
1371 * A list of invitation descriptions.
1372 */
1373 Invitations?: Invitations;
1374 /**
1375 * Pagination parameter to be used on the next list operation to retrieve more items.
1376 */
1377 NextToken?: String;
1378 }
1379 export interface ListMembersRequest {
1380 /**
1381 * The unique ID of the detector the member is associated with.
1382 */
1383 DetectorId: DetectorId;
1384 /**
1385 * You can use this parameter to indicate the maximum number of items you want in the response. The default value is 50. The maximum value is 50.
1386 */
1387 MaxResults?: MaxResults;
1388 /**
1389 * 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.
1390 */
1391 NextToken?: String;
1392 /**
1393 * Specifies whether to only return associated members or to return all members (including members which haven't been invited yet or have been disassociated).
1394 */
1395 OnlyAssociated?: String;
1396 }
1397 export interface ListMembersResponse {
1398 /**
1399 * A list of members.
1400 */
1401 Members?: Members;
1402 /**
1403 * Pagination parameter to be used on the next list operation to retrieve more items.
1404 */
1405 NextToken?: String;
1406 }
1407 export interface ListTagsForResourceRequest {
1408 /**
1409 * The Amazon Resource Name (ARN) for the given GuardDuty resource
1410 */
1411 ResourceArn: GuardDutyArn;
1412 }
1413 export interface ListTagsForResourceResponse {
1414 /**
1415 * The tags associated with the resource.
1416 */
1417 Tags?: TagMap;
1418 }
1419 export interface ListThreatIntelSetsRequest {
1420 /**
1421 * The unique ID of the detector the threatIntelSet is associated with.
1422 */
1423 DetectorId: DetectorId;
1424 /**
1425 * You can use this parameter to indicate the maximum number of items you want in the response. The default value is 50. The maximum value is 50.
1426 */
1427 MaxResults?: MaxResults;
1428 /**
1429 * 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.
1430 */
1431 NextToken?: String;
1432 }
1433 export interface ListThreatIntelSetsResponse {
1434 /**
1435 * The IDs of the ThreatIntelSet resources.
1436 */
1437 ThreatIntelSetIds: ThreatIntelSetIds;
1438 /**
1439 * Pagination parameter to be used on the next list operation to retrieve more items.
1440 */
1441 NextToken?: String;
1442 }
1443 export interface LocalPortDetails {
1444 /**
1445 * Port number of the local connection.
1446 */
1447 Port?: Integer;
1448 /**
1449 * Port name of the local connection.
1450 */
1451 PortName?: String;
1452 }
1453 export type Location = string;
1454 export type Long = number;
1455 export interface Master {
1456 /**
1457 * The ID of the account used as the Master account.
1458 */
1459 AccountId?: AccountId;
1460 /**
1461 * This value is used to validate the master account to the member account.
1462 */
1463 InvitationId?: String;
1464 /**
1465 * The status of the relationship between the master and member accounts.
1466 */
1467 RelationshipStatus?: String;
1468 /**
1469 * Timestamp at which the invitation was sent.
1470 */
1471 InvitedAt?: String;
1472 }
1473 export type MaxResults = number;
1474 export interface Member {
1475 /**
1476 * Member account ID.
1477 */
1478 AccountId: AccountId;
1479 /**
1480 * Member account's detector ID.
1481 */
1482 DetectorId?: DetectorId;
1483 /**
1484 * Master account ID.
1485 */
1486 MasterId: String;
1487 /**
1488 * Member account's email address.
1489 */
1490 Email: Email;
1491 /**
1492 * The status of the relationship between the member and the master.
1493 */
1494 RelationshipStatus: String;
1495 /**
1496 * Timestamp at which the invitation was sent
1497 */
1498 InvitedAt?: String;
1499 /**
1500 * Member last updated timestamp.
1501 */
1502 UpdatedAt: String;
1503 }
1504 export type Members = Member[];
1505 export type Name = string;
1506 export type Neq = String[];
1507 export interface NetworkConnectionAction {
1508 /**
1509 * Network connection blocked information.
1510 */
1511 Blocked?: Boolean;
1512 /**
1513 * Network connection direction.
1514 */
1515 ConnectionDirection?: String;
1516 /**
1517 * Local port information of the connection.
1518 */
1519 LocalPortDetails?: LocalPortDetails;
1520 /**
1521 * Network connection protocol.
1522 */
1523 Protocol?: String;
1524 /**
1525 * Remote IP information of the connection.
1526 */
1527 RemoteIpDetails?: RemoteIpDetails;
1528 /**
1529 * Remote port information of the connection.
1530 */
1531 RemotePortDetails?: RemotePortDetails;
1532 }
1533 export interface NetworkInterface {
1534 /**
1535 * A list of EC2 instance IPv6 address information.
1536 */
1537 Ipv6Addresses?: Ipv6Addresses;
1538 /**
1539 * The ID of the network interface
1540 */
1541 NetworkInterfaceId?: String;
1542 /**
1543 * Private DNS name of the EC2 instance.
1544 */
1545 PrivateDnsName?: String;
1546 /**
1547 * Private IP address of the EC2 instance.
1548 */
1549 PrivateIpAddress?: String;
1550 /**
1551 * Other private IP address information of the EC2 instance.
1552 */
1553 PrivateIpAddresses?: PrivateIpAddresses;
1554 /**
1555 * Public DNS name of the EC2 instance.
1556 */
1557 PublicDnsName?: String;
1558 /**
1559 * Public IP address of the EC2 instance.
1560 */
1561 PublicIp?: String;
1562 /**
1563 * Security groups associated with the EC2 instance.
1564 */
1565 SecurityGroups?: SecurityGroups;
1566 /**
1567 * The subnet ID of the EC2 instance.
1568 */
1569 SubnetId?: String;
1570 /**
1571 * The VPC ID of the EC2 instance.
1572 */
1573 VpcId?: String;
1574 }
1575 export type NetworkInterfaces = NetworkInterface[];
1576 export type NotEquals = String[];
1577 export type OrderBy = "ASC"|"DESC"|string;
1578 export interface Organization {
1579 /**
1580 * Autonomous system number of the internet provider of the remote IP address.
1581 */
1582 Asn?: String;
1583 /**
1584 * Organization that registered this ASN.
1585 */
1586 AsnOrg?: String;
1587 /**
1588 * ISP information for the internet provider.
1589 */
1590 Isp?: String;
1591 /**
1592 * Name of the internet provider.
1593 */
1594 Org?: String;
1595 }
1596 export interface PortProbeAction {
1597 /**
1598 * Port probe blocked information.
1599 */
1600 Blocked?: Boolean;
1601 /**
1602 * A list of port probe details objects.
1603 */
1604 PortProbeDetails?: PortProbeDetails;
1605 }
1606 export interface PortProbeDetail {
1607 /**
1608 * Local port information of the connection.
1609 */
1610 LocalPortDetails?: LocalPortDetails;
1611 /**
1612 * Remote IP information of the connection.
1613 */
1614 RemoteIpDetails?: RemoteIpDetails;
1615 }
1616 export type PortProbeDetails = PortProbeDetail[];
1617 export interface PrivateIpAddressDetails {
1618 /**
1619 * Private DNS name of the EC2 instance.
1620 */
1621 PrivateDnsName?: String;
1622 /**
1623 * Private IP address of the EC2 instance.
1624 */
1625 PrivateIpAddress?: String;
1626 }
1627 export type PrivateIpAddresses = PrivateIpAddressDetails[];
1628 export interface ProductCode {
1629 /**
1630 * Product code information.
1631 */
1632 Code?: String;
1633 /**
1634 * Product code type.
1635 */
1636 ProductType?: String;
1637 }
1638 export type ProductCodes = ProductCode[];
1639 export interface RemoteIpDetails {
1640 /**
1641 * City information of the remote IP address.
1642 */
1643 City?: City;
1644 /**
1645 * Country code of the remote IP address.
1646 */
1647 Country?: Country;
1648 /**
1649 * Location information of the remote IP address.
1650 */
1651 GeoLocation?: GeoLocation;
1652 /**
1653 * IPV4 remote address of the connection.
1654 */
1655 IpAddressV4?: String;
1656 /**
1657 * ISP Organization information of the remote IP address.
1658 */
1659 Organization?: Organization;
1660 }
1661 export interface RemotePortDetails {
1662 /**
1663 * Port number of the remote connection.
1664 */
1665 Port?: Integer;
1666 /**
1667 * Port name of the remote connection.
1668 */
1669 PortName?: String;
1670 }
1671 export interface Resource {
1672 /**
1673 * The IAM access key details (IAM user information) of a user that engaged in the activity that prompted GuardDuty to generate a finding.
1674 */
1675 AccessKeyDetails?: AccessKeyDetails;
1676 /**
1677 * The information about the EC2 instance associated with the activity that prompted GuardDuty to generate a finding.
1678 */
1679 InstanceDetails?: InstanceDetails;
1680 /**
1681 * The type of the AWS resource.
1682 */
1683 ResourceType?: String;
1684 }
1685 export interface SecurityGroup {
1686 /**
1687 * EC2 instance's security group ID.
1688 */
1689 GroupId?: String;
1690 /**
1691 * EC2 instance's security group name.
1692 */
1693 GroupName?: String;
1694 }
1695 export type SecurityGroups = SecurityGroup[];
1696 export interface Service {
1697 /**
1698 * Information about the activity described in a finding.
1699 */
1700 Action?: Action;
1701 /**
1702 * An evidence object associated with the service.
1703 */
1704 Evidence?: Evidence;
1705 /**
1706 * Indicates whether this finding is archived.
1707 */
1708 Archived?: Boolean;
1709 /**
1710 * Total count of the occurrences of this finding type.
1711 */
1712 Count?: Integer;
1713 /**
1714 * Detector ID for the GuardDuty service.
1715 */
1716 DetectorId?: DetectorId;
1717 /**
1718 * First seen timestamp of the activity that prompted GuardDuty to generate this finding.
1719 */
1720 EventFirstSeen?: String;
1721 /**
1722 * Last seen timestamp of the activity that prompted GuardDuty to generate this finding.
1723 */
1724 EventLastSeen?: String;
1725 /**
1726 * Resource role information for this finding.
1727 */
1728 ResourceRole?: String;
1729 /**
1730 * The name of the AWS service (GuardDuty) that generated a finding.
1731 */
1732 ServiceName?: String;
1733 /**
1734 * Feedback left about the finding.
1735 */
1736 UserFeedback?: String;
1737 }
1738 export interface SortCriteria {
1739 /**
1740 * Represents the finding attribute (for example, accountId) by which to sort findings.
1741 */
1742 AttributeName?: String;
1743 /**
1744 * Order by which the sorted findings are to be displayed.
1745 */
1746 OrderBy?: OrderBy;
1747 }
1748 export interface StartMonitoringMembersRequest {
1749 /**
1750 * The unique ID of the detector of the GuardDuty account whom you want to re-enable to monitor members' findings.
1751 */
1752 DetectorId: DetectorId;
1753 /**
1754 * A list of account IDs of the GuardDuty member accounts whose findings you want the master account to monitor.
1755 */
1756 AccountIds: AccountIds;
1757 }
1758 export interface StartMonitoringMembersResponse {
1759 /**
1760 * A list of objects containing the unprocessed account and a result string explaining why it was unprocessed.
1761 */
1762 UnprocessedAccounts: UnprocessedAccounts;
1763 }
1764 export interface StopMonitoringMembersRequest {
1765 /**
1766 * The unique ID of the detector of the GuardDuty account that you want to stop from monitor members' findings.
1767 */
1768 DetectorId: DetectorId;
1769 /**
1770 * A list of account IDs of the GuardDuty member accounts whose findings you want the master account to stop monitoring.
1771 */
1772 AccountIds: AccountIds;
1773 }
1774 export interface StopMonitoringMembersResponse {
1775 /**
1776 * A list of objects containing the unprocessed account and a result string explaining why it was unprocessed.
1777 */
1778 UnprocessedAccounts: UnprocessedAccounts;
1779 }
1780 export type String = string;
1781 export interface Tag {
1782 /**
1783 * EC2 instance tag key.
1784 */
1785 Key?: String;
1786 /**
1787 * EC2 instance tag value.
1788 */
1789 Value?: String;
1790 }
1791 export type TagKey = string;
1792 export type TagKeyList = TagKey[];
1793 export type TagMap = {[key: string]: TagValue};
1794 export interface TagResourceRequest {
1795 /**
1796 * The Amazon Resource Name (ARN) for the given GuardDuty resource
1797 */
1798 ResourceArn: GuardDutyArn;
1799 /**
1800 * The tags to be added to a resource.
1801 */
1802 Tags: TagMap;
1803 }
1804 export interface TagResourceResponse {
1805 }
1806 export type TagValue = string;
1807 export type Tags = Tag[];
1808 export type ThreatIntelSetFormat = "TXT"|"STIX"|"OTX_CSV"|"ALIEN_VAULT"|"PROOF_POINT"|"FIRE_EYE"|string;
1809 export type ThreatIntelSetIds = String[];
1810 export type ThreatIntelSetStatus = "INACTIVE"|"ACTIVATING"|"ACTIVE"|"DEACTIVATING"|"ERROR"|"DELETE_PENDING"|"DELETED"|string;
1811 export interface ThreatIntelligenceDetail {
1812 /**
1813 * The name of the threat intelligence list that triggered the finding.
1814 */
1815 ThreatListName?: String;
1816 /**
1817 * A list of names of the threats in the threat intelligence list that triggered the finding.
1818 */
1819 ThreatNames?: ThreatNames;
1820 }
1821 export type ThreatIntelligenceDetails = ThreatIntelligenceDetail[];
1822 export type ThreatNames = String[];
1823 export interface UnarchiveFindingsRequest {
1824 /**
1825 * The ID of the detector that specifies the GuardDuty service whose findings you want to unarchive.
1826 */
1827 DetectorId: DetectorId;
1828 /**
1829 * IDs of the findings that you want to unarchive.
1830 */
1831 FindingIds: FindingIds;
1832 }
1833 export interface UnarchiveFindingsResponse {
1834 }
1835 export interface UnprocessedAccount {
1836 /**
1837 * AWS Account ID.
1838 */
1839 AccountId: AccountId;
1840 /**
1841 * A reason why the account hasn't been processed.
1842 */
1843 Result: String;
1844 }
1845 export type UnprocessedAccounts = UnprocessedAccount[];
1846 export interface UntagResourceRequest {
1847 /**
1848 * The Amazon Resource Name (ARN) for the given GuardDuty resource
1849 */
1850 ResourceArn: GuardDutyArn;
1851 /**
1852 * The tag keys to remove from a resource.
1853 */
1854 TagKeys: TagKeyList;
1855 }
1856 export interface UntagResourceResponse {
1857 }
1858 export interface UpdateDetectorRequest {
1859 /**
1860 * The unique ID of the detector that you want to update.
1861 */
1862 DetectorId: DetectorId;
1863 /**
1864 * Updated boolean value for the detector that specifies whether the detector is enabled.
1865 */
1866 Enable?: Boolean;
1867 /**
1868 * A enum value that specifies how frequently customer got Finding updates published.
1869 */
1870 FindingPublishingFrequency?: FindingPublishingFrequency;
1871 }
1872 export interface UpdateDetectorResponse {
1873 }
1874 export interface UpdateFilterRequest {
1875 /**
1876 * The unique ID of the detector that specifies the GuardDuty service where you want to update a filter.
1877 */
1878 DetectorId: DetectorId;
1879 /**
1880 * The name of the filter.
1881 */
1882 FilterName: String;
1883 /**
1884 * The description of the filter.
1885 */
1886 Description?: FilterDescription;
1887 /**
1888 * Specifies the action that is to be applied to the findings that match the filter.
1889 */
1890 Action?: FilterAction;
1891 /**
1892 * Specifies the position of the filter in the list of current filters. Also specifies the order in which this filter is applied to the findings.
1893 */
1894 Rank?: FilterRank;
1895 /**
1896 * Represents the criteria to be used in the filter for querying findings.
1897 */
1898 FindingCriteria?: FindingCriteria;
1899 }
1900 export interface UpdateFilterResponse {
1901 /**
1902 * The name of the filter.
1903 */
1904 Name: FilterName;
1905 }
1906 export interface UpdateFindingsFeedbackRequest {
1907 /**
1908 * The ID of the detector that specifies the GuardDuty service whose findings you want to mark as useful or not useful.
1909 */
1910 DetectorId: DetectorId;
1911 /**
1912 * IDs of the findings that you want to mark as useful or not useful.
1913 */
1914 FindingIds: FindingIds;
1915 /**
1916 * Valid values: USEFUL | NOT_USEFUL
1917 */
1918 Feedback: Feedback;
1919 /**
1920 * Additional feedback about the GuardDuty findings.
1921 */
1922 Comments?: String;
1923 }
1924 export interface UpdateFindingsFeedbackResponse {
1925 }
1926 export interface UpdateIPSetRequest {
1927 /**
1928 * The detectorID that specifies the GuardDuty service whose IPSet you want to update.
1929 */
1930 DetectorId: DetectorId;
1931 /**
1932 * The unique ID that specifies the IPSet that you want to update.
1933 */
1934 IpSetId: String;
1935 /**
1936 * The unique ID that specifies the IPSet that you want to update.
1937 */
1938 Name?: Name;
1939 /**
1940 * The updated URI of the file that contains the IPSet. For example (https://s3.us-west-2.amazonaws.com/my-bucket/my-object-key).
1941 */
1942 Location?: Location;
1943 /**
1944 * The updated boolean value that specifies whether the IPSet is active or not.
1945 */
1946 Activate?: Boolean;
1947 }
1948 export interface UpdateIPSetResponse {
1949 }
1950 export interface UpdateThreatIntelSetRequest {
1951 /**
1952 * The detectorID that specifies the GuardDuty service whose ThreatIntelSet you want to update.
1953 */
1954 DetectorId: DetectorId;
1955 /**
1956 * The unique ID that specifies the ThreatIntelSet that you want to update.
1957 */
1958 ThreatIntelSetId: String;
1959 /**
1960 * The unique ID that specifies the ThreatIntelSet that you want to update.
1961 */
1962 Name?: Name;
1963 /**
1964 * The updated URI of the file that contains the ThreateIntelSet. For example (https://s3.us-west-2.amazonaws.com/my-bucket/my-object-key)
1965 */
1966 Location?: Location;
1967 /**
1968 * The updated boolean value that specifies whether the ThreateIntelSet is active or not.
1969 */
1970 Activate?: Boolean;
1971 }
1972 export interface UpdateThreatIntelSetResponse {
1973 }
1974 /**
1975 * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.
1976 */
1977 export type apiVersion = "2017-11-28"|"latest"|string;
1978 export interface ClientApiVersions {
1979 /**
1980 * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.
1981 */
1982 apiVersion?: apiVersion;
1983 }
1984 export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions;
1985 /**
1986 * Contains interfaces for use with the GuardDuty client.
1987 */
1988 export import Types = GuardDuty;
1989}
1990export = GuardDuty;