@aws-sdk/client-guardduty 3.109.0 → 3.112.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 (42) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/README.md +15 -13
  3. package/dist-cjs/GuardDuty.js +60 -0
  4. package/dist-cjs/commands/AcceptAdministratorInvitationCommand.js +36 -0
  5. package/dist-cjs/commands/DisassociateFromAdministratorAccountCommand.js +36 -0
  6. package/dist-cjs/commands/GetAdministratorAccountCommand.js +36 -0
  7. package/dist-cjs/commands/GetRemainingFreeTrialDaysCommand.js +36 -0
  8. package/dist-cjs/commands/index.js +4 -0
  9. package/dist-cjs/models/models_0.js +97 -13
  10. package/dist-cjs/protocols/Aws_restJson1.js +364 -5
  11. package/dist-es/GuardDuty.js +60 -0
  12. package/dist-es/commands/AcceptAdministratorInvitationCommand.js +39 -0
  13. package/dist-es/commands/DisassociateFromAdministratorAccountCommand.js +39 -0
  14. package/dist-es/commands/GetAdministratorAccountCommand.js +39 -0
  15. package/dist-es/commands/GetRemainingFreeTrialDaysCommand.js +39 -0
  16. package/dist-es/commands/index.js +4 -0
  17. package/dist-es/models/models_0.js +64 -8
  18. package/dist-es/protocols/Aws_restJson1.js +451 -2
  19. package/dist-types/GuardDuty.d.ts +47 -11
  20. package/dist-types/GuardDutyClient.d.ts +14 -8
  21. package/dist-types/commands/AcceptAdministratorInvitationCommand.d.ts +35 -0
  22. package/dist-types/commands/AcceptInvitationCommand.d.ts +2 -0
  23. package/dist-types/commands/DisassociateFromAdministratorAccountCommand.d.ts +35 -0
  24. package/dist-types/commands/DisassociateFromMasterAccountCommand.d.ts +2 -0
  25. package/dist-types/commands/DisassociateMembersCommand.d.ts +1 -2
  26. package/dist-types/commands/GetAdministratorAccountCommand.d.ts +36 -0
  27. package/dist-types/commands/GetMasterAccountCommand.d.ts +2 -0
  28. package/dist-types/commands/GetRemainingFreeTrialDaysCommand.d.ts +35 -0
  29. package/dist-types/commands/GetUsageStatisticsCommand.d.ts +3 -3
  30. package/dist-types/commands/index.d.ts +4 -0
  31. package/dist-types/models/models_0.d.ts +258 -8
  32. package/dist-types/protocols/Aws_restJson1.d.ts +12 -0
  33. package/dist-types/ts3.4/GuardDuty.d.ts +20 -0
  34. package/dist-types/ts3.4/GuardDutyClient.d.ts +6 -2
  35. package/dist-types/ts3.4/commands/AcceptAdministratorInvitationCommand.d.ts +17 -0
  36. package/dist-types/ts3.4/commands/DisassociateFromAdministratorAccountCommand.d.ts +17 -0
  37. package/dist-types/ts3.4/commands/GetAdministratorAccountCommand.d.ts +17 -0
  38. package/dist-types/ts3.4/commands/GetRemainingFreeTrialDaysCommand.d.ts +17 -0
  39. package/dist-types/ts3.4/commands/index.d.ts +4 -0
  40. package/dist-types/ts3.4/models/models_0.d.ts +157 -7
  41. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +12 -0
  42. package/package.json +26 -26
@@ -1,4 +1,5 @@
1
1
  import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
2
+ import { AcceptAdministratorInvitationCommandInput, AcceptAdministratorInvitationCommandOutput } from "./commands/AcceptAdministratorInvitationCommand";
2
3
  import { AcceptInvitationCommandInput, AcceptInvitationCommandOutput } from "./commands/AcceptInvitationCommand";
3
4
  import { ArchiveFindingsCommandInput, ArchiveFindingsCommandOutput } from "./commands/ArchiveFindingsCommand";
4
5
  import { CreateDetectorCommandInput, CreateDetectorCommandOutput } from "./commands/CreateDetectorCommand";
@@ -19,9 +20,11 @@ import { DeleteThreatIntelSetCommandInput, DeleteThreatIntelSetCommandOutput } f
19
20
  import { DescribeOrganizationConfigurationCommandInput, DescribeOrganizationConfigurationCommandOutput } from "./commands/DescribeOrganizationConfigurationCommand";
20
21
  import { DescribePublishingDestinationCommandInput, DescribePublishingDestinationCommandOutput } from "./commands/DescribePublishingDestinationCommand";
21
22
  import { DisableOrganizationAdminAccountCommandInput, DisableOrganizationAdminAccountCommandOutput } from "./commands/DisableOrganizationAdminAccountCommand";
23
+ import { DisassociateFromAdministratorAccountCommandInput, DisassociateFromAdministratorAccountCommandOutput } from "./commands/DisassociateFromAdministratorAccountCommand";
22
24
  import { DisassociateFromMasterAccountCommandInput, DisassociateFromMasterAccountCommandOutput } from "./commands/DisassociateFromMasterAccountCommand";
23
25
  import { DisassociateMembersCommandInput, DisassociateMembersCommandOutput } from "./commands/DisassociateMembersCommand";
24
26
  import { EnableOrganizationAdminAccountCommandInput, EnableOrganizationAdminAccountCommandOutput } from "./commands/EnableOrganizationAdminAccountCommand";
27
+ import { GetAdministratorAccountCommandInput, GetAdministratorAccountCommandOutput } from "./commands/GetAdministratorAccountCommand";
25
28
  import { GetDetectorCommandInput, GetDetectorCommandOutput } from "./commands/GetDetectorCommand";
26
29
  import { GetFilterCommandInput, GetFilterCommandOutput } from "./commands/GetFilterCommand";
27
30
  import { GetFindingsCommandInput, GetFindingsCommandOutput } from "./commands/GetFindingsCommand";
@@ -31,6 +34,7 @@ import { GetIPSetCommandInput, GetIPSetCommandOutput } from "./commands/GetIPSet
31
34
  import { GetMasterAccountCommandInput, GetMasterAccountCommandOutput } from "./commands/GetMasterAccountCommand";
32
35
  import { GetMemberDetectorsCommandInput, GetMemberDetectorsCommandOutput } from "./commands/GetMemberDetectorsCommand";
33
36
  import { GetMembersCommandInput, GetMembersCommandOutput } from "./commands/GetMembersCommand";
37
+ import { GetRemainingFreeTrialDaysCommandInput, GetRemainingFreeTrialDaysCommandOutput } from "./commands/GetRemainingFreeTrialDaysCommand";
34
38
  import { GetThreatIntelSetCommandInput, GetThreatIntelSetCommandOutput } from "./commands/GetThreatIntelSetCommand";
35
39
  import { GetUsageStatisticsCommandInput, GetUsageStatisticsCommandOutput } from "./commands/GetUsageStatisticsCommand";
36
40
  import { InviteMembersCommandInput, InviteMembersCommandOutput } from "./commands/InviteMembersCommand";
@@ -60,12 +64,14 @@ import { UpdateThreatIntelSetCommandInput, UpdateThreatIntelSetCommandOutput } f
60
64
  import { GuardDutyClient } from "./GuardDutyClient";
61
65
  /**
62
66
  * <p>Amazon GuardDuty is a continuous security monitoring service that analyzes and processes
63
- * the following data sources: VPC Flow Logs, Amazon Web Services CloudTrail event logs, and DNS logs. It uses
64
- * threat intelligence feeds (such as lists of malicious IPs and domains) and machine learning to
65
- * identify unexpected, potentially unauthorized, and malicious activity within your Amazon Web Services
66
- * environment. This can include issues like escalations of privileges, uses of exposed
67
- * credentials, or communication with malicious IPs, URLs, or domains. For example, GuardDuty can
68
- * detect compromised EC2 instances that serve malware or mine bitcoin. </p>
67
+ * the following data sources: VPC Flow Logs, AWS CloudTrail management event logs, CloudTrail S3 data event
68
+ * logs, EKS audit logs, and DNS logs.
69
+ * It uses threat intelligence
70
+ * feeds (such as lists of malicious IPs and domains) and machine learning to identify
71
+ * unexpected, potentially unauthorized, and malicious activity within your Amazon Web Services environment.
72
+ * This can include issues like escalations of privileges, uses of exposed credentials, or
73
+ * communication with malicious IPs, URLs, or domains. For example, GuardDuty can detect
74
+ * compromised EC2 instances that serve malware or mine bitcoin. </p>
69
75
  * <p>GuardDuty also monitors Amazon Web Services account access behavior for signs of compromise. Some examples
70
76
  * of this are unauthorized infrastructure deployments such as EC2 instances deployed in a Region
71
77
  * that has never been used, or unusual API calls like a password policy change to reduce
@@ -79,6 +85,14 @@ import { GuardDutyClient } from "./GuardDutyClient";
79
85
  */
80
86
  export declare class GuardDuty extends GuardDutyClient {
81
87
  /**
88
+ * <p>Accepts the invitation to be a member account and get monitored by a GuardDuty administrator account that sent the invitation.</p>
89
+ */
90
+ acceptAdministratorInvitation(args: AcceptAdministratorInvitationCommandInput, options?: __HttpHandlerOptions): Promise<AcceptAdministratorInvitationCommandOutput>;
91
+ acceptAdministratorInvitation(args: AcceptAdministratorInvitationCommandInput, cb: (err: any, data?: AcceptAdministratorInvitationCommandOutput) => void): void;
92
+ acceptAdministratorInvitation(args: AcceptAdministratorInvitationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AcceptAdministratorInvitationCommandOutput) => void): void;
93
+ /**
94
+ * @deprecated
95
+ *
82
96
  * <p>Accepts the invitation to be monitored by a GuardDuty administrator account.</p>
83
97
  */
84
98
  acceptInvitation(args: AcceptInvitationCommandInput, options?: __HttpHandlerOptions): Promise<AcceptInvitationCommandOutput>;
@@ -234,13 +248,20 @@ export declare class GuardDuty extends GuardDutyClient {
234
248
  /**
235
249
  * <p>Disassociates the current GuardDuty member account from its administrator account.</p>
236
250
  */
251
+ disassociateFromAdministratorAccount(args: DisassociateFromAdministratorAccountCommandInput, options?: __HttpHandlerOptions): Promise<DisassociateFromAdministratorAccountCommandOutput>;
252
+ disassociateFromAdministratorAccount(args: DisassociateFromAdministratorAccountCommandInput, cb: (err: any, data?: DisassociateFromAdministratorAccountCommandOutput) => void): void;
253
+ disassociateFromAdministratorAccount(args: DisassociateFromAdministratorAccountCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisassociateFromAdministratorAccountCommandOutput) => void): void;
254
+ /**
255
+ * @deprecated
256
+ *
257
+ * <p>Disassociates the current GuardDuty member account from its administrator account.</p>
258
+ */
237
259
  disassociateFromMasterAccount(args: DisassociateFromMasterAccountCommandInput, options?: __HttpHandlerOptions): Promise<DisassociateFromMasterAccountCommandOutput>;
238
260
  disassociateFromMasterAccount(args: DisassociateFromMasterAccountCommandInput, cb: (err: any, data?: DisassociateFromMasterAccountCommandOutput) => void): void;
239
261
  disassociateFromMasterAccount(args: DisassociateFromMasterAccountCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisassociateFromMasterAccountCommandOutput) => void): void;
240
262
  /**
241
263
  * <p>Disassociates GuardDuty member accounts (to the current GuardDuty administrator account)
242
- * specified by the account IDs. Member accounts added through <a href="https://docs.aws.amazon.com/guardduty/latest/ug/guardduty_invitations.html">Invitation</a> get deleted from the
243
- * current GuardDuty administrator account after 30 days of disassociation.</p>
264
+ * specified by the account IDs.</p>
244
265
  */
245
266
  disassociateMembers(args: DisassociateMembersCommandInput, options?: __HttpHandlerOptions): Promise<DisassociateMembersCommandOutput>;
246
267
  disassociateMembers(args: DisassociateMembersCommandInput, cb: (err: any, data?: DisassociateMembersCommandOutput) => void): void;
@@ -252,6 +273,13 @@ export declare class GuardDuty extends GuardDutyClient {
252
273
  enableOrganizationAdminAccount(args: EnableOrganizationAdminAccountCommandInput, options?: __HttpHandlerOptions): Promise<EnableOrganizationAdminAccountCommandOutput>;
253
274
  enableOrganizationAdminAccount(args: EnableOrganizationAdminAccountCommandInput, cb: (err: any, data?: EnableOrganizationAdminAccountCommandOutput) => void): void;
254
275
  enableOrganizationAdminAccount(args: EnableOrganizationAdminAccountCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: EnableOrganizationAdminAccountCommandOutput) => void): void;
276
+ /**
277
+ * <p>Provides the details for the GuardDuty administrator account associated with the current
278
+ * GuardDuty member account.</p>
279
+ */
280
+ getAdministratorAccount(args: GetAdministratorAccountCommandInput, options?: __HttpHandlerOptions): Promise<GetAdministratorAccountCommandOutput>;
281
+ getAdministratorAccount(args: GetAdministratorAccountCommandInput, cb: (err: any, data?: GetAdministratorAccountCommandOutput) => void): void;
282
+ getAdministratorAccount(args: GetAdministratorAccountCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetAdministratorAccountCommandOutput) => void): void;
255
283
  /**
256
284
  * <p>Retrieves an Amazon GuardDuty detector specified by the detectorId.</p>
257
285
  */
@@ -290,6 +318,8 @@ export declare class GuardDuty extends GuardDutyClient {
290
318
  getIPSet(args: GetIPSetCommandInput, cb: (err: any, data?: GetIPSetCommandOutput) => void): void;
291
319
  getIPSet(args: GetIPSetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetIPSetCommandOutput) => void): void;
292
320
  /**
321
+ * @deprecated
322
+ *
293
323
  * <p>Provides the details for the GuardDuty administrator account associated with the current
294
324
  * GuardDuty member account.</p>
295
325
  */
@@ -309,6 +339,12 @@ export declare class GuardDuty extends GuardDutyClient {
309
339
  getMembers(args: GetMembersCommandInput, options?: __HttpHandlerOptions): Promise<GetMembersCommandOutput>;
310
340
  getMembers(args: GetMembersCommandInput, cb: (err: any, data?: GetMembersCommandOutput) => void): void;
311
341
  getMembers(args: GetMembersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetMembersCommandOutput) => void): void;
342
+ /**
343
+ * <p>Provides the number of days left for each data source used in the free trial period.</p>
344
+ */
345
+ getRemainingFreeTrialDays(args: GetRemainingFreeTrialDaysCommandInput, options?: __HttpHandlerOptions): Promise<GetRemainingFreeTrialDaysCommandOutput>;
346
+ getRemainingFreeTrialDays(args: GetRemainingFreeTrialDaysCommandInput, cb: (err: any, data?: GetRemainingFreeTrialDaysCommandOutput) => void): void;
347
+ getRemainingFreeTrialDays(args: GetRemainingFreeTrialDaysCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetRemainingFreeTrialDaysCommandOutput) => void): void;
312
348
  /**
313
349
  * <p>Retrieves the ThreatIntelSet that is specified by the ThreatIntelSet ID.</p>
314
350
  */
@@ -317,9 +353,9 @@ export declare class GuardDuty extends GuardDutyClient {
317
353
  getThreatIntelSet(args: GetThreatIntelSetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetThreatIntelSetCommandOutput) => void): void;
318
354
  /**
319
355
  * <p>Lists Amazon GuardDuty usage statistics over the last 30 days for the specified detector
320
- * ID. For newly enabled detectors or data sources the cost returned will include only the usage
321
- * so far under 30 days, this may differ from the cost metrics in the console, which projects
322
- * usage over 30 days to provide a monthly cost estimate. For more information see <a href="https://docs.aws.amazon.com/guardduty/latest/ug/monitoring_costs.html#usage-calculations">Understanding How Usage Costs are Calculated</a>.</p>
356
+ * ID. For newly enabled detectors or data sources, the cost returned will include only the usage
357
+ * so far under 30 days. This may differ from the cost metrics in the console, which project
358
+ * usage over 30 days to provide a monthly cost estimate. For more information, see <a href="https://docs.aws.amazon.com/guardduty/latest/ug/monitoring_costs.html#usage-calculations">Understanding How Usage Costs are Calculated</a>.</p>
323
359
  */
324
360
  getUsageStatistics(args: GetUsageStatisticsCommandInput, options?: __HttpHandlerOptions): Promise<GetUsageStatisticsCommandOutput>;
325
361
  getUsageStatistics(args: GetUsageStatisticsCommandInput, cb: (err: any, data?: GetUsageStatisticsCommandOutput) => void): void;
@@ -6,6 +6,7 @@ import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middlewa
6
6
  import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
7
7
  import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
8
8
  import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
9
+ import { AcceptAdministratorInvitationCommandInput, AcceptAdministratorInvitationCommandOutput } from "./commands/AcceptAdministratorInvitationCommand";
9
10
  import { AcceptInvitationCommandInput, AcceptInvitationCommandOutput } from "./commands/AcceptInvitationCommand";
10
11
  import { ArchiveFindingsCommandInput, ArchiveFindingsCommandOutput } from "./commands/ArchiveFindingsCommand";
11
12
  import { CreateDetectorCommandInput, CreateDetectorCommandOutput } from "./commands/CreateDetectorCommand";
@@ -26,9 +27,11 @@ import { DeleteThreatIntelSetCommandInput, DeleteThreatIntelSetCommandOutput } f
26
27
  import { DescribeOrganizationConfigurationCommandInput, DescribeOrganizationConfigurationCommandOutput } from "./commands/DescribeOrganizationConfigurationCommand";
27
28
  import { DescribePublishingDestinationCommandInput, DescribePublishingDestinationCommandOutput } from "./commands/DescribePublishingDestinationCommand";
28
29
  import { DisableOrganizationAdminAccountCommandInput, DisableOrganizationAdminAccountCommandOutput } from "./commands/DisableOrganizationAdminAccountCommand";
30
+ import { DisassociateFromAdministratorAccountCommandInput, DisassociateFromAdministratorAccountCommandOutput } from "./commands/DisassociateFromAdministratorAccountCommand";
29
31
  import { DisassociateFromMasterAccountCommandInput, DisassociateFromMasterAccountCommandOutput } from "./commands/DisassociateFromMasterAccountCommand";
30
32
  import { DisassociateMembersCommandInput, DisassociateMembersCommandOutput } from "./commands/DisassociateMembersCommand";
31
33
  import { EnableOrganizationAdminAccountCommandInput, EnableOrganizationAdminAccountCommandOutput } from "./commands/EnableOrganizationAdminAccountCommand";
34
+ import { GetAdministratorAccountCommandInput, GetAdministratorAccountCommandOutput } from "./commands/GetAdministratorAccountCommand";
32
35
  import { GetDetectorCommandInput, GetDetectorCommandOutput } from "./commands/GetDetectorCommand";
33
36
  import { GetFilterCommandInput, GetFilterCommandOutput } from "./commands/GetFilterCommand";
34
37
  import { GetFindingsCommandInput, GetFindingsCommandOutput } from "./commands/GetFindingsCommand";
@@ -38,6 +41,7 @@ import { GetIPSetCommandInput, GetIPSetCommandOutput } from "./commands/GetIPSet
38
41
  import { GetMasterAccountCommandInput, GetMasterAccountCommandOutput } from "./commands/GetMasterAccountCommand";
39
42
  import { GetMemberDetectorsCommandInput, GetMemberDetectorsCommandOutput } from "./commands/GetMemberDetectorsCommand";
40
43
  import { GetMembersCommandInput, GetMembersCommandOutput } from "./commands/GetMembersCommand";
44
+ import { GetRemainingFreeTrialDaysCommandInput, GetRemainingFreeTrialDaysCommandOutput } from "./commands/GetRemainingFreeTrialDaysCommand";
41
45
  import { GetThreatIntelSetCommandInput, GetThreatIntelSetCommandOutput } from "./commands/GetThreatIntelSetCommand";
42
46
  import { GetUsageStatisticsCommandInput, GetUsageStatisticsCommandOutput } from "./commands/GetUsageStatisticsCommand";
43
47
  import { InviteMembersCommandInput, InviteMembersCommandOutput } from "./commands/InviteMembersCommand";
@@ -64,8 +68,8 @@ import { UpdateMemberDetectorsCommandInput, UpdateMemberDetectorsCommandOutput }
64
68
  import { UpdateOrganizationConfigurationCommandInput, UpdateOrganizationConfigurationCommandOutput } from "./commands/UpdateOrganizationConfigurationCommand";
65
69
  import { UpdatePublishingDestinationCommandInput, UpdatePublishingDestinationCommandOutput } from "./commands/UpdatePublishingDestinationCommand";
66
70
  import { UpdateThreatIntelSetCommandInput, UpdateThreatIntelSetCommandOutput } from "./commands/UpdateThreatIntelSetCommand";
67
- export declare type ServiceInputTypes = AcceptInvitationCommandInput | ArchiveFindingsCommandInput | CreateDetectorCommandInput | CreateFilterCommandInput | CreateIPSetCommandInput | CreateMembersCommandInput | CreatePublishingDestinationCommandInput | CreateSampleFindingsCommandInput | CreateThreatIntelSetCommandInput | DeclineInvitationsCommandInput | DeleteDetectorCommandInput | DeleteFilterCommandInput | DeleteIPSetCommandInput | DeleteInvitationsCommandInput | DeleteMembersCommandInput | DeletePublishingDestinationCommandInput | DeleteThreatIntelSetCommandInput | DescribeOrganizationConfigurationCommandInput | DescribePublishingDestinationCommandInput | DisableOrganizationAdminAccountCommandInput | DisassociateFromMasterAccountCommandInput | DisassociateMembersCommandInput | EnableOrganizationAdminAccountCommandInput | GetDetectorCommandInput | GetFilterCommandInput | GetFindingsCommandInput | GetFindingsStatisticsCommandInput | GetIPSetCommandInput | GetInvitationsCountCommandInput | GetMasterAccountCommandInput | GetMemberDetectorsCommandInput | GetMembersCommandInput | GetThreatIntelSetCommandInput | GetUsageStatisticsCommandInput | InviteMembersCommandInput | ListDetectorsCommandInput | ListFiltersCommandInput | ListFindingsCommandInput | ListIPSetsCommandInput | ListInvitationsCommandInput | ListMembersCommandInput | ListOrganizationAdminAccountsCommandInput | ListPublishingDestinationsCommandInput | ListTagsForResourceCommandInput | ListThreatIntelSetsCommandInput | StartMonitoringMembersCommandInput | StopMonitoringMembersCommandInput | TagResourceCommandInput | UnarchiveFindingsCommandInput | UntagResourceCommandInput | UpdateDetectorCommandInput | UpdateFilterCommandInput | UpdateFindingsFeedbackCommandInput | UpdateIPSetCommandInput | UpdateMemberDetectorsCommandInput | UpdateOrganizationConfigurationCommandInput | UpdatePublishingDestinationCommandInput | UpdateThreatIntelSetCommandInput;
68
- export declare type ServiceOutputTypes = AcceptInvitationCommandOutput | ArchiveFindingsCommandOutput | CreateDetectorCommandOutput | CreateFilterCommandOutput | CreateIPSetCommandOutput | CreateMembersCommandOutput | CreatePublishingDestinationCommandOutput | CreateSampleFindingsCommandOutput | CreateThreatIntelSetCommandOutput | DeclineInvitationsCommandOutput | DeleteDetectorCommandOutput | DeleteFilterCommandOutput | DeleteIPSetCommandOutput | DeleteInvitationsCommandOutput | DeleteMembersCommandOutput | DeletePublishingDestinationCommandOutput | DeleteThreatIntelSetCommandOutput | DescribeOrganizationConfigurationCommandOutput | DescribePublishingDestinationCommandOutput | DisableOrganizationAdminAccountCommandOutput | DisassociateFromMasterAccountCommandOutput | DisassociateMembersCommandOutput | EnableOrganizationAdminAccountCommandOutput | GetDetectorCommandOutput | GetFilterCommandOutput | GetFindingsCommandOutput | GetFindingsStatisticsCommandOutput | GetIPSetCommandOutput | GetInvitationsCountCommandOutput | GetMasterAccountCommandOutput | GetMemberDetectorsCommandOutput | GetMembersCommandOutput | GetThreatIntelSetCommandOutput | GetUsageStatisticsCommandOutput | InviteMembersCommandOutput | ListDetectorsCommandOutput | ListFiltersCommandOutput | ListFindingsCommandOutput | ListIPSetsCommandOutput | ListInvitationsCommandOutput | ListMembersCommandOutput | ListOrganizationAdminAccountsCommandOutput | ListPublishingDestinationsCommandOutput | ListTagsForResourceCommandOutput | ListThreatIntelSetsCommandOutput | StartMonitoringMembersCommandOutput | StopMonitoringMembersCommandOutput | TagResourceCommandOutput | UnarchiveFindingsCommandOutput | UntagResourceCommandOutput | UpdateDetectorCommandOutput | UpdateFilterCommandOutput | UpdateFindingsFeedbackCommandOutput | UpdateIPSetCommandOutput | UpdateMemberDetectorsCommandOutput | UpdateOrganizationConfigurationCommandOutput | UpdatePublishingDestinationCommandOutput | UpdateThreatIntelSetCommandOutput;
71
+ export declare type ServiceInputTypes = AcceptAdministratorInvitationCommandInput | AcceptInvitationCommandInput | ArchiveFindingsCommandInput | CreateDetectorCommandInput | CreateFilterCommandInput | CreateIPSetCommandInput | CreateMembersCommandInput | CreatePublishingDestinationCommandInput | CreateSampleFindingsCommandInput | CreateThreatIntelSetCommandInput | DeclineInvitationsCommandInput | DeleteDetectorCommandInput | DeleteFilterCommandInput | DeleteIPSetCommandInput | DeleteInvitationsCommandInput | DeleteMembersCommandInput | DeletePublishingDestinationCommandInput | DeleteThreatIntelSetCommandInput | DescribeOrganizationConfigurationCommandInput | DescribePublishingDestinationCommandInput | DisableOrganizationAdminAccountCommandInput | DisassociateFromAdministratorAccountCommandInput | DisassociateFromMasterAccountCommandInput | DisassociateMembersCommandInput | EnableOrganizationAdminAccountCommandInput | GetAdministratorAccountCommandInput | GetDetectorCommandInput | GetFilterCommandInput | GetFindingsCommandInput | GetFindingsStatisticsCommandInput | GetIPSetCommandInput | GetInvitationsCountCommandInput | GetMasterAccountCommandInput | GetMemberDetectorsCommandInput | GetMembersCommandInput | GetRemainingFreeTrialDaysCommandInput | GetThreatIntelSetCommandInput | GetUsageStatisticsCommandInput | InviteMembersCommandInput | ListDetectorsCommandInput | ListFiltersCommandInput | ListFindingsCommandInput | ListIPSetsCommandInput | ListInvitationsCommandInput | ListMembersCommandInput | ListOrganizationAdminAccountsCommandInput | ListPublishingDestinationsCommandInput | ListTagsForResourceCommandInput | ListThreatIntelSetsCommandInput | StartMonitoringMembersCommandInput | StopMonitoringMembersCommandInput | TagResourceCommandInput | UnarchiveFindingsCommandInput | UntagResourceCommandInput | UpdateDetectorCommandInput | UpdateFilterCommandInput | UpdateFindingsFeedbackCommandInput | UpdateIPSetCommandInput | UpdateMemberDetectorsCommandInput | UpdateOrganizationConfigurationCommandInput | UpdatePublishingDestinationCommandInput | UpdateThreatIntelSetCommandInput;
72
+ export declare type ServiceOutputTypes = AcceptAdministratorInvitationCommandOutput | AcceptInvitationCommandOutput | ArchiveFindingsCommandOutput | CreateDetectorCommandOutput | CreateFilterCommandOutput | CreateIPSetCommandOutput | CreateMembersCommandOutput | CreatePublishingDestinationCommandOutput | CreateSampleFindingsCommandOutput | CreateThreatIntelSetCommandOutput | DeclineInvitationsCommandOutput | DeleteDetectorCommandOutput | DeleteFilterCommandOutput | DeleteIPSetCommandOutput | DeleteInvitationsCommandOutput | DeleteMembersCommandOutput | DeletePublishingDestinationCommandOutput | DeleteThreatIntelSetCommandOutput | DescribeOrganizationConfigurationCommandOutput | DescribePublishingDestinationCommandOutput | DisableOrganizationAdminAccountCommandOutput | DisassociateFromAdministratorAccountCommandOutput | DisassociateFromMasterAccountCommandOutput | DisassociateMembersCommandOutput | EnableOrganizationAdminAccountCommandOutput | GetAdministratorAccountCommandOutput | GetDetectorCommandOutput | GetFilterCommandOutput | GetFindingsCommandOutput | GetFindingsStatisticsCommandOutput | GetIPSetCommandOutput | GetInvitationsCountCommandOutput | GetMasterAccountCommandOutput | GetMemberDetectorsCommandOutput | GetMembersCommandOutput | GetRemainingFreeTrialDaysCommandOutput | GetThreatIntelSetCommandOutput | GetUsageStatisticsCommandOutput | InviteMembersCommandOutput | ListDetectorsCommandOutput | ListFiltersCommandOutput | ListFindingsCommandOutput | ListIPSetsCommandOutput | ListInvitationsCommandOutput | ListMembersCommandOutput | ListOrganizationAdminAccountsCommandOutput | ListPublishingDestinationsCommandOutput | ListTagsForResourceCommandOutput | ListThreatIntelSetsCommandOutput | StartMonitoringMembersCommandOutput | StopMonitoringMembersCommandOutput | TagResourceCommandOutput | UnarchiveFindingsCommandOutput | UntagResourceCommandOutput | UpdateDetectorCommandOutput | UpdateFilterCommandOutput | UpdateFindingsFeedbackCommandOutput | UpdateIPSetCommandOutput | UpdateMemberDetectorsCommandOutput | UpdateOrganizationConfigurationCommandOutput | UpdatePublishingDestinationCommandOutput | UpdateThreatIntelSetCommandOutput;
69
73
  export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
70
74
  /**
71
75
  * The HTTP handler to use. Fetch in browser and Https in Nodejs.
@@ -185,12 +189,14 @@ export interface GuardDutyClientResolvedConfig extends GuardDutyClientResolvedCo
185
189
  }
186
190
  /**
187
191
  * <p>Amazon GuardDuty is a continuous security monitoring service that analyzes and processes
188
- * the following data sources: VPC Flow Logs, Amazon Web Services CloudTrail event logs, and DNS logs. It uses
189
- * threat intelligence feeds (such as lists of malicious IPs and domains) and machine learning to
190
- * identify unexpected, potentially unauthorized, and malicious activity within your Amazon Web Services
191
- * environment. This can include issues like escalations of privileges, uses of exposed
192
- * credentials, or communication with malicious IPs, URLs, or domains. For example, GuardDuty can
193
- * detect compromised EC2 instances that serve malware or mine bitcoin. </p>
192
+ * the following data sources: VPC Flow Logs, AWS CloudTrail management event logs, CloudTrail S3 data event
193
+ * logs, EKS audit logs, and DNS logs.
194
+ * It uses threat intelligence
195
+ * feeds (such as lists of malicious IPs and domains) and machine learning to identify
196
+ * unexpected, potentially unauthorized, and malicious activity within your Amazon Web Services environment.
197
+ * This can include issues like escalations of privileges, uses of exposed credentials, or
198
+ * communication with malicious IPs, URLs, or domains. For example, GuardDuty can detect
199
+ * compromised EC2 instances that serve malware or mine bitcoin. </p>
194
200
  * <p>GuardDuty also monitors Amazon Web Services account access behavior for signs of compromise. Some examples
195
201
  * of this are unauthorized infrastructure deployments such as EC2 instances deployed in a Region
196
202
  * that has never been used, or unusual API calls like a password policy change to reduce
@@ -0,0 +1,35 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { GuardDutyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GuardDutyClient";
4
+ import { AcceptAdministratorInvitationRequest, AcceptAdministratorInvitationResponse } from "../models/models_0";
5
+ export interface AcceptAdministratorInvitationCommandInput extends AcceptAdministratorInvitationRequest {
6
+ }
7
+ export interface AcceptAdministratorInvitationCommandOutput extends AcceptAdministratorInvitationResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Accepts the invitation to be a member account and get monitored by a GuardDuty administrator account that sent the invitation.</p>
11
+ * @example
12
+ * Use a bare-bones client and the command you need to make an API call.
13
+ * ```javascript
14
+ * import { GuardDutyClient, AcceptAdministratorInvitationCommand } from "@aws-sdk/client-guardduty"; // ES Modules import
15
+ * // const { GuardDutyClient, AcceptAdministratorInvitationCommand } = require("@aws-sdk/client-guardduty"); // CommonJS import
16
+ * const client = new GuardDutyClient(config);
17
+ * const command = new AcceptAdministratorInvitationCommand(input);
18
+ * const response = await client.send(command);
19
+ * ```
20
+ *
21
+ * @see {@link AcceptAdministratorInvitationCommandInput} for command's `input` shape.
22
+ * @see {@link AcceptAdministratorInvitationCommandOutput} for command's `response` shape.
23
+ * @see {@link GuardDutyClientResolvedConfig | config} for GuardDutyClient's `config` shape.
24
+ *
25
+ */
26
+ export declare class AcceptAdministratorInvitationCommand extends $Command<AcceptAdministratorInvitationCommandInput, AcceptAdministratorInvitationCommandOutput, GuardDutyClientResolvedConfig> {
27
+ readonly input: AcceptAdministratorInvitationCommandInput;
28
+ constructor(input: AcceptAdministratorInvitationCommandInput);
29
+ /**
30
+ * @internal
31
+ */
32
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: GuardDutyClientResolvedConfig, options?: __HttpHandlerOptions): Handler<AcceptAdministratorInvitationCommandInput, AcceptAdministratorInvitationCommandOutput>;
33
+ private serialize;
34
+ private deserialize;
35
+ }
@@ -7,6 +7,8 @@ export interface AcceptInvitationCommandInput extends AcceptInvitationRequest {
7
7
  export interface AcceptInvitationCommandOutput extends AcceptInvitationResponse, __MetadataBearer {
8
8
  }
9
9
  /**
10
+ * @deprecated
11
+ *
10
12
  * <p>Accepts the invitation to be monitored by a GuardDuty administrator account.</p>
11
13
  * @example
12
14
  * Use a bare-bones client and the command you need to make an API call.
@@ -0,0 +1,35 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { GuardDutyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GuardDutyClient";
4
+ import { DisassociateFromAdministratorAccountRequest, DisassociateFromAdministratorAccountResponse } from "../models/models_0";
5
+ export interface DisassociateFromAdministratorAccountCommandInput extends DisassociateFromAdministratorAccountRequest {
6
+ }
7
+ export interface DisassociateFromAdministratorAccountCommandOutput extends DisassociateFromAdministratorAccountResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Disassociates the current GuardDuty member account from its administrator account.</p>
11
+ * @example
12
+ * Use a bare-bones client and the command you need to make an API call.
13
+ * ```javascript
14
+ * import { GuardDutyClient, DisassociateFromAdministratorAccountCommand } from "@aws-sdk/client-guardduty"; // ES Modules import
15
+ * // const { GuardDutyClient, DisassociateFromAdministratorAccountCommand } = require("@aws-sdk/client-guardduty"); // CommonJS import
16
+ * const client = new GuardDutyClient(config);
17
+ * const command = new DisassociateFromAdministratorAccountCommand(input);
18
+ * const response = await client.send(command);
19
+ * ```
20
+ *
21
+ * @see {@link DisassociateFromAdministratorAccountCommandInput} for command's `input` shape.
22
+ * @see {@link DisassociateFromAdministratorAccountCommandOutput} for command's `response` shape.
23
+ * @see {@link GuardDutyClientResolvedConfig | config} for GuardDutyClient's `config` shape.
24
+ *
25
+ */
26
+ export declare class DisassociateFromAdministratorAccountCommand extends $Command<DisassociateFromAdministratorAccountCommandInput, DisassociateFromAdministratorAccountCommandOutput, GuardDutyClientResolvedConfig> {
27
+ readonly input: DisassociateFromAdministratorAccountCommandInput;
28
+ constructor(input: DisassociateFromAdministratorAccountCommandInput);
29
+ /**
30
+ * @internal
31
+ */
32
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: GuardDutyClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DisassociateFromAdministratorAccountCommandInput, DisassociateFromAdministratorAccountCommandOutput>;
33
+ private serialize;
34
+ private deserialize;
35
+ }
@@ -7,6 +7,8 @@ export interface DisassociateFromMasterAccountCommandInput extends DisassociateF
7
7
  export interface DisassociateFromMasterAccountCommandOutput extends DisassociateFromMasterAccountResponse, __MetadataBearer {
8
8
  }
9
9
  /**
10
+ * @deprecated
11
+ *
10
12
  * <p>Disassociates the current GuardDuty member account from its administrator account.</p>
11
13
  * @example
12
14
  * Use a bare-bones client and the command you need to make an API call.
@@ -8,8 +8,7 @@ export interface DisassociateMembersCommandOutput extends DisassociateMembersRes
8
8
  }
9
9
  /**
10
10
  * <p>Disassociates GuardDuty member accounts (to the current GuardDuty administrator account)
11
- * specified by the account IDs. Member accounts added through <a href="https://docs.aws.amazon.com/guardduty/latest/ug/guardduty_invitations.html">Invitation</a> get deleted from the
12
- * current GuardDuty administrator account after 30 days of disassociation.</p>
11
+ * specified by the account IDs.</p>
13
12
  * @example
14
13
  * Use a bare-bones client and the command you need to make an API call.
15
14
  * ```javascript
@@ -0,0 +1,36 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { GuardDutyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GuardDutyClient";
4
+ import { GetAdministratorAccountRequest, GetAdministratorAccountResponse } from "../models/models_0";
5
+ export interface GetAdministratorAccountCommandInput extends GetAdministratorAccountRequest {
6
+ }
7
+ export interface GetAdministratorAccountCommandOutput extends GetAdministratorAccountResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Provides the details for the GuardDuty administrator account associated with the current
11
+ * GuardDuty member account.</p>
12
+ * @example
13
+ * Use a bare-bones client and the command you need to make an API call.
14
+ * ```javascript
15
+ * import { GuardDutyClient, GetAdministratorAccountCommand } from "@aws-sdk/client-guardduty"; // ES Modules import
16
+ * // const { GuardDutyClient, GetAdministratorAccountCommand } = require("@aws-sdk/client-guardduty"); // CommonJS import
17
+ * const client = new GuardDutyClient(config);
18
+ * const command = new GetAdministratorAccountCommand(input);
19
+ * const response = await client.send(command);
20
+ * ```
21
+ *
22
+ * @see {@link GetAdministratorAccountCommandInput} for command's `input` shape.
23
+ * @see {@link GetAdministratorAccountCommandOutput} for command's `response` shape.
24
+ * @see {@link GuardDutyClientResolvedConfig | config} for GuardDutyClient's `config` shape.
25
+ *
26
+ */
27
+ export declare class GetAdministratorAccountCommand extends $Command<GetAdministratorAccountCommandInput, GetAdministratorAccountCommandOutput, GuardDutyClientResolvedConfig> {
28
+ readonly input: GetAdministratorAccountCommandInput;
29
+ constructor(input: GetAdministratorAccountCommandInput);
30
+ /**
31
+ * @internal
32
+ */
33
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: GuardDutyClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetAdministratorAccountCommandInput, GetAdministratorAccountCommandOutput>;
34
+ private serialize;
35
+ private deserialize;
36
+ }
@@ -7,6 +7,8 @@ export interface GetMasterAccountCommandInput extends GetMasterAccountRequest {
7
7
  export interface GetMasterAccountCommandOutput extends GetMasterAccountResponse, __MetadataBearer {
8
8
  }
9
9
  /**
10
+ * @deprecated
11
+ *
10
12
  * <p>Provides the details for the GuardDuty administrator account associated with the current
11
13
  * GuardDuty member account.</p>
12
14
  * @example
@@ -0,0 +1,35 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { GuardDutyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GuardDutyClient";
4
+ import { GetRemainingFreeTrialDaysRequest, GetRemainingFreeTrialDaysResponse } from "../models/models_0";
5
+ export interface GetRemainingFreeTrialDaysCommandInput extends GetRemainingFreeTrialDaysRequest {
6
+ }
7
+ export interface GetRemainingFreeTrialDaysCommandOutput extends GetRemainingFreeTrialDaysResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Provides the number of days left for each data source used in the free trial period.</p>
11
+ * @example
12
+ * Use a bare-bones client and the command you need to make an API call.
13
+ * ```javascript
14
+ * import { GuardDutyClient, GetRemainingFreeTrialDaysCommand } from "@aws-sdk/client-guardduty"; // ES Modules import
15
+ * // const { GuardDutyClient, GetRemainingFreeTrialDaysCommand } = require("@aws-sdk/client-guardduty"); // CommonJS import
16
+ * const client = new GuardDutyClient(config);
17
+ * const command = new GetRemainingFreeTrialDaysCommand(input);
18
+ * const response = await client.send(command);
19
+ * ```
20
+ *
21
+ * @see {@link GetRemainingFreeTrialDaysCommandInput} for command's `input` shape.
22
+ * @see {@link GetRemainingFreeTrialDaysCommandOutput} for command's `response` shape.
23
+ * @see {@link GuardDutyClientResolvedConfig | config} for GuardDutyClient's `config` shape.
24
+ *
25
+ */
26
+ export declare class GetRemainingFreeTrialDaysCommand extends $Command<GetRemainingFreeTrialDaysCommandInput, GetRemainingFreeTrialDaysCommandOutput, GuardDutyClientResolvedConfig> {
27
+ readonly input: GetRemainingFreeTrialDaysCommandInput;
28
+ constructor(input: GetRemainingFreeTrialDaysCommandInput);
29
+ /**
30
+ * @internal
31
+ */
32
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: GuardDutyClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetRemainingFreeTrialDaysCommandInput, GetRemainingFreeTrialDaysCommandOutput>;
33
+ private serialize;
34
+ private deserialize;
35
+ }
@@ -8,9 +8,9 @@ export interface GetUsageStatisticsCommandOutput extends GetUsageStatisticsRespo
8
8
  }
9
9
  /**
10
10
  * <p>Lists Amazon GuardDuty usage statistics over the last 30 days for the specified detector
11
- * ID. For newly enabled detectors or data sources the cost returned will include only the usage
12
- * so far under 30 days, this may differ from the cost metrics in the console, which projects
13
- * usage over 30 days to provide a monthly cost estimate. For more information see <a href="https://docs.aws.amazon.com/guardduty/latest/ug/monitoring_costs.html#usage-calculations">Understanding How Usage Costs are Calculated</a>.</p>
11
+ * ID. For newly enabled detectors or data sources, the cost returned will include only the usage
12
+ * so far under 30 days. This may differ from the cost metrics in the console, which project
13
+ * usage over 30 days to provide a monthly cost estimate. For more information, see <a href="https://docs.aws.amazon.com/guardduty/latest/ug/monitoring_costs.html#usage-calculations">Understanding How Usage Costs are Calculated</a>.</p>
14
14
  * @example
15
15
  * Use a bare-bones client and the command you need to make an API call.
16
16
  * ```javascript
@@ -1,3 +1,4 @@
1
+ export * from "./AcceptAdministratorInvitationCommand";
1
2
  export * from "./AcceptInvitationCommand";
2
3
  export * from "./ArchiveFindingsCommand";
3
4
  export * from "./CreateDetectorCommand";
@@ -18,9 +19,11 @@ export * from "./DeleteThreatIntelSetCommand";
18
19
  export * from "./DescribeOrganizationConfigurationCommand";
19
20
  export * from "./DescribePublishingDestinationCommand";
20
21
  export * from "./DisableOrganizationAdminAccountCommand";
22
+ export * from "./DisassociateFromAdministratorAccountCommand";
21
23
  export * from "./DisassociateFromMasterAccountCommand";
22
24
  export * from "./DisassociateMembersCommand";
23
25
  export * from "./EnableOrganizationAdminAccountCommand";
26
+ export * from "./GetAdministratorAccountCommand";
24
27
  export * from "./GetDetectorCommand";
25
28
  export * from "./GetFilterCommand";
26
29
  export * from "./GetFindingsCommand";
@@ -30,6 +33,7 @@ export * from "./GetInvitationsCountCommand";
30
33
  export * from "./GetMasterAccountCommand";
31
34
  export * from "./GetMemberDetectorsCommand";
32
35
  export * from "./GetMembersCommand";
36
+ export * from "./GetRemainingFreeTrialDaysCommand";
33
37
  export * from "./GetThreatIntelSetCommand";
34
38
  export * from "./GetUsageStatisticsCommand";
35
39
  export * from "./InviteMembersCommand";