@aws-sdk/client-guardduty 3.300.0 → 3.303.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 (112) hide show
  1. package/README.md +25 -10
  2. package/dist-cjs/GuardDuty.js +30 -0
  3. package/dist-cjs/commands/GetCoverageStatisticsCommand.js +45 -0
  4. package/dist-cjs/commands/ListCoverageCommand.js +45 -0
  5. package/dist-cjs/commands/index.js +2 -0
  6. package/dist-cjs/models/models_0.js +205 -198
  7. package/dist-cjs/pagination/ListCoveragePaginator.js +29 -0
  8. package/dist-cjs/pagination/index.js +1 -0
  9. package/dist-cjs/protocols/Aws_restJson1.js +462 -3
  10. package/dist-es/GuardDuty.js +30 -0
  11. package/dist-es/commands/GetCoverageStatisticsCommand.js +41 -0
  12. package/dist-es/commands/ListCoverageCommand.js +41 -0
  13. package/dist-es/commands/index.js +2 -0
  14. package/dist-es/models/models_0.js +204 -197
  15. package/dist-es/pagination/ListCoveragePaginator.js +25 -0
  16. package/dist-es/pagination/index.js +1 -0
  17. package/dist-es/protocols/Aws_restJson1.js +455 -0
  18. package/dist-types/GuardDuty.d.ts +75 -47
  19. package/dist-types/GuardDutyClient.d.ts +13 -12
  20. package/dist-types/commands/AcceptAdministratorInvitationCommand.d.ts +3 -2
  21. package/dist-types/commands/AcceptInvitationCommand.d.ts +1 -1
  22. package/dist-types/commands/ArchiveFindingsCommand.d.ts +4 -4
  23. package/dist-types/commands/CreateDetectorCommand.d.ts +17 -11
  24. package/dist-types/commands/CreateFilterCommand.d.ts +9 -9
  25. package/dist-types/commands/CreateIPSetCommand.d.ts +2 -2
  26. package/dist-types/commands/CreateMembersCommand.d.ts +6 -6
  27. package/dist-types/commands/CreatePublishingDestinationCommand.d.ts +2 -2
  28. package/dist-types/commands/CreateSampleFindingsCommand.d.ts +2 -2
  29. package/dist-types/commands/CreateThreatIntelSetCommand.d.ts +4 -4
  30. package/dist-types/commands/DeclineInvitationsCommand.d.ts +4 -4
  31. package/dist-types/commands/DeleteDetectorCommand.d.ts +1 -1
  32. package/dist-types/commands/DeleteFilterCommand.d.ts +1 -1
  33. package/dist-types/commands/DeleteIPSetCommand.d.ts +1 -1
  34. package/dist-types/commands/DeleteInvitationsCommand.d.ts +4 -4
  35. package/dist-types/commands/DeleteMembersCommand.d.ts +7 -6
  36. package/dist-types/commands/DeletePublishingDestinationCommand.d.ts +1 -1
  37. package/dist-types/commands/DeleteThreatIntelSetCommand.d.ts +1 -1
  38. package/dist-types/commands/DescribeMalwareScansCommand.d.ts +6 -6
  39. package/dist-types/commands/DescribeOrganizationConfigurationCommand.d.ts +1 -1
  40. package/dist-types/commands/DescribePublishingDestinationCommand.d.ts +1 -1
  41. package/dist-types/commands/DisableOrganizationAdminAccountCommand.d.ts +1 -1
  42. package/dist-types/commands/DisassociateFromAdministratorAccountCommand.d.ts +4 -3
  43. package/dist-types/commands/DisassociateFromMasterAccountCommand.d.ts +1 -1
  44. package/dist-types/commands/DisassociateMembersCommand.d.ts +7 -5
  45. package/dist-types/commands/EnableOrganizationAdminAccountCommand.d.ts +1 -1
  46. package/dist-types/commands/GetAdministratorAccountCommand.d.ts +1 -1
  47. package/dist-types/commands/GetCoverageStatisticsCommand.d.ts +90 -0
  48. package/dist-types/commands/GetDetectorCommand.d.ts +1 -1
  49. package/dist-types/commands/GetFilterCommand.d.ts +1 -1
  50. package/dist-types/commands/GetFindingsCommand.d.ts +3 -3
  51. package/dist-types/commands/GetFindingsStatisticsCommand.d.ts +9 -9
  52. package/dist-types/commands/GetIPSetCommand.d.ts +1 -1
  53. package/dist-types/commands/GetMalwareScanSettingsCommand.d.ts +1 -1
  54. package/dist-types/commands/GetMasterAccountCommand.d.ts +1 -1
  55. package/dist-types/commands/GetMemberDetectorsCommand.d.ts +2 -2
  56. package/dist-types/commands/GetMembersCommand.d.ts +4 -4
  57. package/dist-types/commands/GetRemainingFreeTrialDaysCommand.d.ts +4 -3
  58. package/dist-types/commands/GetThreatIntelSetCommand.d.ts +1 -1
  59. package/dist-types/commands/GetUsageStatisticsCommand.d.ts +6 -6
  60. package/dist-types/commands/InviteMembersCommand.d.ts +4 -4
  61. package/dist-types/commands/ListCoverageCommand.d.ts +93 -0
  62. package/dist-types/commands/ListDetectorsCommand.d.ts +1 -1
  63. package/dist-types/commands/ListFiltersCommand.d.ts +1 -1
  64. package/dist-types/commands/ListFindingsCommand.d.ts +9 -9
  65. package/dist-types/commands/ListIPSetsCommand.d.ts +3 -3
  66. package/dist-types/commands/ListInvitationsCommand.d.ts +1 -1
  67. package/dist-types/commands/ListMembersCommand.d.ts +3 -2
  68. package/dist-types/commands/ListOrganizationAdminAccountsCommand.d.ts +1 -1
  69. package/dist-types/commands/ListPublishingDestinationsCommand.d.ts +1 -1
  70. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
  71. package/dist-types/commands/ListThreatIntelSetsCommand.d.ts +3 -3
  72. package/dist-types/commands/StartMonitoringMembersCommand.d.ts +3 -4
  73. package/dist-types/commands/StopMonitoringMembersCommand.d.ts +5 -4
  74. package/dist-types/commands/TagResourceCommand.d.ts +2 -2
  75. package/dist-types/commands/UnarchiveFindingsCommand.d.ts +2 -2
  76. package/dist-types/commands/UntagResourceCommand.d.ts +3 -3
  77. package/dist-types/commands/UpdateDetectorCommand.d.ts +17 -11
  78. package/dist-types/commands/UpdateFilterCommand.d.ts +9 -9
  79. package/dist-types/commands/UpdateFindingsFeedbackCommand.d.ts +3 -3
  80. package/dist-types/commands/UpdateIPSetCommand.d.ts +2 -2
  81. package/dist-types/commands/UpdateMalwareScanSettingsCommand.d.ts +7 -7
  82. package/dist-types/commands/UpdateMemberDetectorsCommand.d.ts +18 -12
  83. package/dist-types/commands/UpdateOrganizationConfigurationCommand.d.ts +20 -14
  84. package/dist-types/commands/UpdatePublishingDestinationCommand.d.ts +3 -3
  85. package/dist-types/commands/UpdateThreatIntelSetCommand.d.ts +2 -3
  86. package/dist-types/commands/index.d.ts +2 -0
  87. package/dist-types/models/models_0.d.ts +1105 -691
  88. package/dist-types/models/models_1.d.ts +472 -0
  89. package/dist-types/pagination/ListCoveragePaginator.d.ts +7 -0
  90. package/dist-types/pagination/index.d.ts +1 -0
  91. package/dist-types/protocols/Aws_restJson1.d.ts +6 -0
  92. package/dist-types/ts3.4/GuardDuty.d.ts +34 -0
  93. package/dist-types/ts3.4/GuardDutyClient.d.ts +12 -0
  94. package/dist-types/ts3.4/commands/GetCoverageStatisticsCommand.d.ts +41 -0
  95. package/dist-types/ts3.4/commands/ListCoverageCommand.d.ts +34 -0
  96. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +1 -1
  97. package/dist-types/ts3.4/commands/UpdateDetectorCommand.d.ts +1 -1
  98. package/dist-types/ts3.4/commands/UpdateFilterCommand.d.ts +1 -1
  99. package/dist-types/ts3.4/commands/UpdateFindingsFeedbackCommand.d.ts +1 -1
  100. package/dist-types/ts3.4/commands/UpdateIPSetCommand.d.ts +1 -1
  101. package/dist-types/ts3.4/commands/UpdateMalwareScanSettingsCommand.d.ts +1 -1
  102. package/dist-types/ts3.4/commands/UpdateMemberDetectorsCommand.d.ts +1 -1
  103. package/dist-types/ts3.4/commands/UpdateOrganizationConfigurationCommand.d.ts +1 -1
  104. package/dist-types/ts3.4/commands/UpdatePublishingDestinationCommand.d.ts +1 -1
  105. package/dist-types/ts3.4/commands/UpdateThreatIntelSetCommand.d.ts +4 -2
  106. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  107. package/dist-types/ts3.4/models/models_0.d.ts +396 -272
  108. package/dist-types/ts3.4/models/models_1.d.ts +133 -0
  109. package/dist-types/ts3.4/pagination/ListCoveragePaginator.d.ts +11 -0
  110. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  111. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +24 -0
  112. package/package.json +34 -34
@@ -19,16 +19,16 @@ export interface DeclineInvitationsCommandOutput extends DeclineInvitationsRespo
19
19
  }
20
20
  /**
21
21
  * @public
22
- * <p>Declines invitations sent to the current member account by Amazon Web Services accounts specified by their
23
- * account IDs.</p>
22
+ * <p>Declines invitations sent to the current member account by Amazon Web Services accounts specified by
23
+ * their account IDs.</p>
24
24
  * @example
25
25
  * Use a bare-bones client and the command you need to make an API call.
26
26
  * ```javascript
27
27
  * import { GuardDutyClient, DeclineInvitationsCommand } from "@aws-sdk/client-guardduty"; // ES Modules import
28
28
  * // const { GuardDutyClient, DeclineInvitationsCommand } = require("@aws-sdk/client-guardduty"); // CommonJS import
29
29
  * const client = new GuardDutyClient(config);
30
- * const input = {
31
- * AccountIds: [ // required
30
+ * const input = { // DeclineInvitationsRequest
31
+ * AccountIds: [ // AccountIds // required
32
32
  * "STRING_VALUE",
33
33
  * ],
34
34
  * };
@@ -26,7 +26,7 @@ export interface DeleteDetectorCommandOutput extends DeleteDetectorResponse, __M
26
26
  * import { GuardDutyClient, DeleteDetectorCommand } from "@aws-sdk/client-guardduty"; // ES Modules import
27
27
  * // const { GuardDutyClient, DeleteDetectorCommand } = require("@aws-sdk/client-guardduty"); // CommonJS import
28
28
  * const client = new GuardDutyClient(config);
29
- * const input = {
29
+ * const input = { // DeleteDetectorRequest
30
30
  * DetectorId: "STRING_VALUE", // required
31
31
  * };
32
32
  * const command = new DeleteDetectorCommand(input);
@@ -26,7 +26,7 @@ export interface DeleteFilterCommandOutput extends DeleteFilterResponse, __Metad
26
26
  * import { GuardDutyClient, DeleteFilterCommand } from "@aws-sdk/client-guardduty"; // ES Modules import
27
27
  * // const { GuardDutyClient, DeleteFilterCommand } = require("@aws-sdk/client-guardduty"); // CommonJS import
28
28
  * const client = new GuardDutyClient(config);
29
- * const input = {
29
+ * const input = { // DeleteFilterRequest
30
30
  * DetectorId: "STRING_VALUE", // required
31
31
  * FilterName: "STRING_VALUE", // required
32
32
  * };
@@ -27,7 +27,7 @@ export interface DeleteIPSetCommandOutput extends DeleteIPSetResponse, __Metadat
27
27
  * import { GuardDutyClient, DeleteIPSetCommand } from "@aws-sdk/client-guardduty"; // ES Modules import
28
28
  * // const { GuardDutyClient, DeleteIPSetCommand } = require("@aws-sdk/client-guardduty"); // CommonJS import
29
29
  * const client = new GuardDutyClient(config);
30
- * const input = {
30
+ * const input = { // DeleteIPSetRequest
31
31
  * DetectorId: "STRING_VALUE", // required
32
32
  * IpSetId: "STRING_VALUE", // required
33
33
  * };
@@ -19,16 +19,16 @@ export interface DeleteInvitationsCommandOutput extends DeleteInvitationsRespons
19
19
  }
20
20
  /**
21
21
  * @public
22
- * <p>Deletes invitations sent to the current member account by Amazon Web Services accounts specified by their
23
- * account IDs.</p>
22
+ * <p>Deletes invitations sent to the current member account by Amazon Web Services accounts specified by
23
+ * their account IDs.</p>
24
24
  * @example
25
25
  * Use a bare-bones client and the command you need to make an API call.
26
26
  * ```javascript
27
27
  * import { GuardDutyClient, DeleteInvitationsCommand } from "@aws-sdk/client-guardduty"; // ES Modules import
28
28
  * // const { GuardDutyClient, DeleteInvitationsCommand } = require("@aws-sdk/client-guardduty"); // CommonJS import
29
29
  * const client = new GuardDutyClient(config);
30
- * const input = {
31
- * AccountIds: [ // required
30
+ * const input = { // DeleteInvitationsRequest
31
+ * AccountIds: [ // AccountIds // required
32
32
  * "STRING_VALUE",
33
33
  * ],
34
34
  * };
@@ -19,19 +19,20 @@ export interface DeleteMembersCommandOutput extends DeleteMembersResponse, __Met
19
19
  }
20
20
  /**
21
21
  * @public
22
- * <p>Deletes GuardDuty member accounts (to the current GuardDuty administrator account) specified by
23
- * the account IDs.</p>
24
- * <p>With <code>autoEnableOrganizationMembers</code> configuration for your organization set to <code>ALL</code>, you'll
25
- * receive an error if you attempt to disable GuardDuty for a member account in your organization.</p>
22
+ * <p>Deletes GuardDuty member accounts (to the current GuardDuty administrator account)
23
+ * specified by the account IDs.</p>
24
+ * <p>With <code>autoEnableOrganizationMembers</code> configuration for your organization set to
25
+ * <code>ALL</code>, you'll receive an error if you attempt to disable GuardDuty for a member
26
+ * account in your organization.</p>
26
27
  * @example
27
28
  * Use a bare-bones client and the command you need to make an API call.
28
29
  * ```javascript
29
30
  * import { GuardDutyClient, DeleteMembersCommand } from "@aws-sdk/client-guardduty"; // ES Modules import
30
31
  * // const { GuardDutyClient, DeleteMembersCommand } = require("@aws-sdk/client-guardduty"); // CommonJS import
31
32
  * const client = new GuardDutyClient(config);
32
- * const input = {
33
+ * const input = { // DeleteMembersRequest
33
34
  * DetectorId: "STRING_VALUE", // required
34
- * AccountIds: [ // required
35
+ * AccountIds: [ // AccountIds // required
35
36
  * "STRING_VALUE",
36
37
  * ],
37
38
  * };
@@ -26,7 +26,7 @@ export interface DeletePublishingDestinationCommandOutput extends DeletePublishi
26
26
  * import { GuardDutyClient, DeletePublishingDestinationCommand } from "@aws-sdk/client-guardduty"; // ES Modules import
27
27
  * // const { GuardDutyClient, DeletePublishingDestinationCommand } = require("@aws-sdk/client-guardduty"); // CommonJS import
28
28
  * const client = new GuardDutyClient(config);
29
- * const input = {
29
+ * const input = { // DeletePublishingDestinationRequest
30
30
  * DetectorId: "STRING_VALUE", // required
31
31
  * DestinationId: "STRING_VALUE", // required
32
32
  * };
@@ -26,7 +26,7 @@ export interface DeleteThreatIntelSetCommandOutput extends DeleteThreatIntelSetR
26
26
  * import { GuardDutyClient, DeleteThreatIntelSetCommand } from "@aws-sdk/client-guardduty"; // ES Modules import
27
27
  * // const { GuardDutyClient, DeleteThreatIntelSetCommand } = require("@aws-sdk/client-guardduty"); // CommonJS import
28
28
  * const client = new GuardDutyClient(config);
29
- * const input = {
29
+ * const input = { // DeleteThreatIntelSetRequest
30
30
  * DetectorId: "STRING_VALUE", // required
31
31
  * ThreatIntelSetId: "STRING_VALUE", // required
32
32
  * };
@@ -30,15 +30,15 @@ export interface DescribeMalwareScansCommandOutput extends DescribeMalwareScansR
30
30
  * import { GuardDutyClient, DescribeMalwareScansCommand } from "@aws-sdk/client-guardduty"; // ES Modules import
31
31
  * // const { GuardDutyClient, DescribeMalwareScansCommand } = require("@aws-sdk/client-guardduty"); // CommonJS import
32
32
  * const client = new GuardDutyClient(config);
33
- * const input = {
33
+ * const input = { // DescribeMalwareScansRequest
34
34
  * DetectorId: "STRING_VALUE", // required
35
35
  * NextToken: "STRING_VALUE",
36
36
  * MaxResults: Number("int"),
37
- * FilterCriteria: {
38
- * FilterCriterion: [
39
- * {
37
+ * FilterCriteria: { // FilterCriteria
38
+ * FilterCriterion: [ // FilterCriterionList
39
+ * { // FilterCriterion
40
40
  * CriterionKey: "EC2_INSTANCE_ARN" || "SCAN_ID" || "ACCOUNT_ID" || "GUARDDUTY_FINDING_ID" || "SCAN_START_TIME" || "SCAN_STATUS",
41
- * FilterCondition: {
41
+ * FilterCondition: { // FilterCondition
42
42
  * EqualsValue: "STRING_VALUE",
43
43
  * GreaterThan: Number("long"),
44
44
  * LessThan: Number("long"),
@@ -46,7 +46,7 @@ export interface DescribeMalwareScansCommandOutput extends DescribeMalwareScansR
46
46
  * },
47
47
  * ],
48
48
  * },
49
- * SortCriteria: {
49
+ * SortCriteria: { // SortCriteria
50
50
  * AttributeName: "STRING_VALUE",
51
51
  * OrderBy: "ASC" || "DESC",
52
52
  * },
@@ -30,7 +30,7 @@ export interface DescribeOrganizationConfigurationCommandOutput extends Describe
30
30
  * import { GuardDutyClient, DescribeOrganizationConfigurationCommand } from "@aws-sdk/client-guardduty"; // ES Modules import
31
31
  * // const { GuardDutyClient, DescribeOrganizationConfigurationCommand } = require("@aws-sdk/client-guardduty"); // CommonJS import
32
32
  * const client = new GuardDutyClient(config);
33
- * const input = {
33
+ * const input = { // DescribeOrganizationConfigurationRequest
34
34
  * DetectorId: "STRING_VALUE", // required
35
35
  * MaxResults: Number("int"),
36
36
  * NextToken: "STRING_VALUE",
@@ -27,7 +27,7 @@ export interface DescribePublishingDestinationCommandOutput extends DescribePubl
27
27
  * import { GuardDutyClient, DescribePublishingDestinationCommand } from "@aws-sdk/client-guardduty"; // ES Modules import
28
28
  * // const { GuardDutyClient, DescribePublishingDestinationCommand } = require("@aws-sdk/client-guardduty"); // CommonJS import
29
29
  * const client = new GuardDutyClient(config);
30
- * const input = {
30
+ * const input = { // DescribePublishingDestinationRequest
31
31
  * DetectorId: "STRING_VALUE", // required
32
32
  * DestinationId: "STRING_VALUE", // required
33
33
  * };
@@ -27,7 +27,7 @@ export interface DisableOrganizationAdminAccountCommandOutput extends DisableOrg
27
27
  * import { GuardDutyClient, DisableOrganizationAdminAccountCommand } from "@aws-sdk/client-guardduty"; // ES Modules import
28
28
  * // const { GuardDutyClient, DisableOrganizationAdminAccountCommand } = require("@aws-sdk/client-guardduty"); // CommonJS import
29
29
  * const client = new GuardDutyClient(config);
30
- * const input = {
30
+ * const input = { // DisableOrganizationAdminAccountRequest
31
31
  * AdminAccountId: "STRING_VALUE", // required
32
32
  * };
33
33
  * const command = new DisableOrganizationAdminAccountCommand(input);
@@ -20,15 +20,16 @@ export interface DisassociateFromAdministratorAccountCommandOutput extends Disas
20
20
  /**
21
21
  * @public
22
22
  * <p>Disassociates the current GuardDuty member account from its administrator account.</p>
23
- * <p>With <code>autoEnableOrganizationMembers</code> configuration for your organization set to <code>ALL</code>, you'll
24
- * receive an error if you attempt to disable GuardDuty in a member account.</p>
23
+ * <p>With <code>autoEnableOrganizationMembers</code> configuration for your organization set to
24
+ * <code>ALL</code>, you'll receive an error if you attempt to disable GuardDuty in a member
25
+ * account.</p>
25
26
  * @example
26
27
  * Use a bare-bones client and the command you need to make an API call.
27
28
  * ```javascript
28
29
  * import { GuardDutyClient, DisassociateFromAdministratorAccountCommand } from "@aws-sdk/client-guardduty"; // ES Modules import
29
30
  * // const { GuardDutyClient, DisassociateFromAdministratorAccountCommand } = require("@aws-sdk/client-guardduty"); // CommonJS import
30
31
  * const client = new GuardDutyClient(config);
31
- * const input = {
32
+ * const input = { // DisassociateFromAdministratorAccountRequest
32
33
  * DetectorId: "STRING_VALUE", // required
33
34
  * };
34
35
  * const command = new DisassociateFromAdministratorAccountCommand(input);
@@ -28,7 +28,7 @@ export interface DisassociateFromMasterAccountCommandOutput extends Disassociate
28
28
  * import { GuardDutyClient, DisassociateFromMasterAccountCommand } from "@aws-sdk/client-guardduty"; // ES Modules import
29
29
  * // const { GuardDutyClient, DisassociateFromMasterAccountCommand } = require("@aws-sdk/client-guardduty"); // CommonJS import
30
30
  * const client = new GuardDutyClient(config);
31
- * const input = {
31
+ * const input = { // DisassociateFromMasterAccountRequest
32
32
  * DetectorId: "STRING_VALUE", // required
33
33
  * };
34
34
  * const command = new DisassociateFromMasterAccountCommand(input);
@@ -19,18 +19,20 @@ export interface DisassociateMembersCommandOutput extends DisassociateMembersRes
19
19
  }
20
20
  /**
21
21
  * @public
22
- * <p>Disassociates GuardDuty member accounts (to the current administrator account) specified by the account IDs.</p>
23
- * <p>With <code>autoEnableOrganizationMembers</code> configuration for your organization set to <code>ALL</code>, you'll
24
- * receive an error if you attempt to disassociate a member account before removing them from your Amazon Web Services organization.</p>
22
+ * <p>Disassociates GuardDuty member accounts (to the current administrator account) specified
23
+ * by the account IDs.</p>
24
+ * <p>With <code>autoEnableOrganizationMembers</code> configuration for your organization set to
25
+ * <code>ALL</code>, you'll receive an error if you attempt to disassociate a member account
26
+ * before removing them from your Amazon Web Services organization.</p>
25
27
  * @example
26
28
  * Use a bare-bones client and the command you need to make an API call.
27
29
  * ```javascript
28
30
  * import { GuardDutyClient, DisassociateMembersCommand } from "@aws-sdk/client-guardduty"; // ES Modules import
29
31
  * // const { GuardDutyClient, DisassociateMembersCommand } = require("@aws-sdk/client-guardduty"); // CommonJS import
30
32
  * const client = new GuardDutyClient(config);
31
- * const input = {
33
+ * const input = { // DisassociateMembersRequest
32
34
  * DetectorId: "STRING_VALUE", // required
33
- * AccountIds: [ // required
35
+ * AccountIds: [ // AccountIds // required
34
36
  * "STRING_VALUE",
35
37
  * ],
36
38
  * };
@@ -27,7 +27,7 @@ export interface EnableOrganizationAdminAccountCommandOutput extends EnableOrgan
27
27
  * import { GuardDutyClient, EnableOrganizationAdminAccountCommand } from "@aws-sdk/client-guardduty"; // ES Modules import
28
28
  * // const { GuardDutyClient, EnableOrganizationAdminAccountCommand } = require("@aws-sdk/client-guardduty"); // CommonJS import
29
29
  * const client = new GuardDutyClient(config);
30
- * const input = {
30
+ * const input = { // EnableOrganizationAdminAccountRequest
31
31
  * AdminAccountId: "STRING_VALUE", // required
32
32
  * };
33
33
  * const command = new EnableOrganizationAdminAccountCommand(input);
@@ -27,7 +27,7 @@ export interface GetAdministratorAccountCommandOutput extends GetAdministratorAc
27
27
  * import { GuardDutyClient, GetAdministratorAccountCommand } from "@aws-sdk/client-guardduty"; // ES Modules import
28
28
  * // const { GuardDutyClient, GetAdministratorAccountCommand } = require("@aws-sdk/client-guardduty"); // CommonJS import
29
29
  * const client = new GuardDutyClient(config);
30
- * const input = {
30
+ * const input = { // GetAdministratorAccountRequest
31
31
  * DetectorId: "STRING_VALUE", // required
32
32
  * };
33
33
  * const command = new GetAdministratorAccountCommand(input);
@@ -0,0 +1,90 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { GuardDutyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GuardDutyClient";
5
+ import { GetCoverageStatisticsRequest, GetCoverageStatisticsResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ *
9
+ * The input for {@link GetCoverageStatisticsCommand}.
10
+ */
11
+ export interface GetCoverageStatisticsCommandInput extends GetCoverageStatisticsRequest {
12
+ }
13
+ /**
14
+ * @public
15
+ *
16
+ * The output of {@link GetCoverageStatisticsCommand}.
17
+ */
18
+ export interface GetCoverageStatisticsCommandOutput extends GetCoverageStatisticsResponse, __MetadataBearer {
19
+ }
20
+ /**
21
+ * @public
22
+ * <p>Retrieves aggregated statistics for your account. If you are a GuardDuty administrator, you
23
+ * can retrieve the statistics for all the resources associated with the active member accounts
24
+ * in your organization who have enabled EKS Runtime Monitoring and have the GuardDuty agent running
25
+ * on their EKS nodes.</p>
26
+ * @example
27
+ * Use a bare-bones client and the command you need to make an API call.
28
+ * ```javascript
29
+ * import { GuardDutyClient, GetCoverageStatisticsCommand } from "@aws-sdk/client-guardduty"; // ES Modules import
30
+ * // const { GuardDutyClient, GetCoverageStatisticsCommand } = require("@aws-sdk/client-guardduty"); // CommonJS import
31
+ * const client = new GuardDutyClient(config);
32
+ * const input = { // GetCoverageStatisticsRequest
33
+ * DetectorId: "STRING_VALUE", // required
34
+ * FilterCriteria: { // CoverageFilterCriteria
35
+ * FilterCriterion: [ // CoverageFilterCriterionList
36
+ * { // CoverageFilterCriterion
37
+ * CriterionKey: "ACCOUNT_ID" || "CLUSTER_NAME" || "RESOURCE_TYPE" || "COVERAGE_STATUS" || "ADDON_VERSION",
38
+ * FilterCondition: { // CoverageFilterCondition
39
+ * Equals: [ // Equals
40
+ * "STRING_VALUE",
41
+ * ],
42
+ * NotEquals: [ // NotEquals
43
+ * "STRING_VALUE",
44
+ * ],
45
+ * },
46
+ * },
47
+ * ],
48
+ * },
49
+ * StatisticsType: [ // CoverageStatisticsTypeList // required
50
+ * "COUNT_BY_RESOURCE_TYPE" || "COUNT_BY_COVERAGE_STATUS",
51
+ * ],
52
+ * };
53
+ * const command = new GetCoverageStatisticsCommand(input);
54
+ * const response = await client.send(command);
55
+ * ```
56
+ *
57
+ * @param GetCoverageStatisticsCommandInput - {@link GetCoverageStatisticsCommandInput}
58
+ * @returns {@link GetCoverageStatisticsCommandOutput}
59
+ * @see {@link GetCoverageStatisticsCommandInput} for command's `input` shape.
60
+ * @see {@link GetCoverageStatisticsCommandOutput} for command's `response` shape.
61
+ * @see {@link GuardDutyClientResolvedConfig | config} for GuardDutyClient's `config` shape.
62
+ *
63
+ * @throws {@link BadRequestException} (client fault)
64
+ * <p>A bad request exception object.</p>
65
+ *
66
+ * @throws {@link InternalServerErrorException} (server fault)
67
+ * <p>An internal server error exception object.</p>
68
+ *
69
+ *
70
+ */
71
+ export declare class GetCoverageStatisticsCommand extends $Command<GetCoverageStatisticsCommandInput, GetCoverageStatisticsCommandOutput, GuardDutyClientResolvedConfig> {
72
+ readonly input: GetCoverageStatisticsCommandInput;
73
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
74
+ /**
75
+ * @public
76
+ */
77
+ constructor(input: GetCoverageStatisticsCommandInput);
78
+ /**
79
+ * @internal
80
+ */
81
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: GuardDutyClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetCoverageStatisticsCommandInput, GetCoverageStatisticsCommandOutput>;
82
+ /**
83
+ * @internal
84
+ */
85
+ private serialize;
86
+ /**
87
+ * @internal
88
+ */
89
+ private deserialize;
90
+ }
@@ -29,7 +29,7 @@ export interface GetDetectorCommandOutput extends GetDetectorResponse, __Metadat
29
29
  * import { GuardDutyClient, GetDetectorCommand } from "@aws-sdk/client-guardduty"; // ES Modules import
30
30
  * // const { GuardDutyClient, GetDetectorCommand } = require("@aws-sdk/client-guardduty"); // CommonJS import
31
31
  * const client = new GuardDutyClient(config);
32
- * const input = {
32
+ * const input = { // GetDetectorRequest
33
33
  * DetectorId: "STRING_VALUE", // required
34
34
  * };
35
35
  * const command = new GetDetectorCommand(input);
@@ -26,7 +26,7 @@ export interface GetFilterCommandOutput extends GetFilterResponse, __MetadataBea
26
26
  * import { GuardDutyClient, GetFilterCommand } from "@aws-sdk/client-guardduty"; // ES Modules import
27
27
  * // const { GuardDutyClient, GetFilterCommand } = require("@aws-sdk/client-guardduty"); // CommonJS import
28
28
  * const client = new GuardDutyClient(config);
29
- * const input = {
29
+ * const input = { // GetFilterRequest
30
30
  * DetectorId: "STRING_VALUE", // required
31
31
  * FilterName: "STRING_VALUE", // required
32
32
  * };
@@ -26,12 +26,12 @@ export interface GetFindingsCommandOutput extends GetFindingsResponse, __Metadat
26
26
  * import { GuardDutyClient, GetFindingsCommand } from "@aws-sdk/client-guardduty"; // ES Modules import
27
27
  * // const { GuardDutyClient, GetFindingsCommand } = require("@aws-sdk/client-guardduty"); // CommonJS import
28
28
  * const client = new GuardDutyClient(config);
29
- * const input = {
29
+ * const input = { // GetFindingsRequest
30
30
  * DetectorId: "STRING_VALUE", // required
31
- * FindingIds: [ // required
31
+ * FindingIds: [ // FindingIds // required
32
32
  * "STRING_VALUE",
33
33
  * ],
34
- * SortCriteria: {
34
+ * SortCriteria: { // SortCriteria
35
35
  * AttributeName: "STRING_VALUE",
36
36
  * OrderBy: "ASC" || "DESC",
37
37
  * },
@@ -26,28 +26,28 @@ export interface GetFindingsStatisticsCommandOutput extends GetFindingsStatistic
26
26
  * import { GuardDutyClient, GetFindingsStatisticsCommand } from "@aws-sdk/client-guardduty"; // ES Modules import
27
27
  * // const { GuardDutyClient, GetFindingsStatisticsCommand } = require("@aws-sdk/client-guardduty"); // CommonJS import
28
28
  * const client = new GuardDutyClient(config);
29
- * const input = {
29
+ * const input = { // GetFindingsStatisticsRequest
30
30
  * DetectorId: "STRING_VALUE", // required
31
- * FindingStatisticTypes: [ // required
31
+ * FindingStatisticTypes: [ // FindingStatisticTypes // required
32
32
  * "COUNT_BY_SEVERITY",
33
33
  * ],
34
- * FindingCriteria: {
35
- * Criterion: {
36
- * "<keys>": {
37
- * Eq: [
34
+ * FindingCriteria: { // FindingCriteria
35
+ * Criterion: { // Criterion
36
+ * "<keys>": { // Condition
37
+ * Eq: [ // Eq
38
38
  * "STRING_VALUE",
39
39
  * ],
40
- * Neq: [
40
+ * Neq: [ // Neq
41
41
  * "STRING_VALUE",
42
42
  * ],
43
43
  * Gt: Number("int"),
44
44
  * Gte: Number("int"),
45
45
  * Lt: Number("int"),
46
46
  * Lte: Number("int"),
47
- * Equals: [
47
+ * Equals: [ // Equals
48
48
  * "STRING_VALUE",
49
49
  * ],
50
- * NotEquals: [
50
+ * NotEquals: [ // NotEquals
51
51
  * "STRING_VALUE",
52
52
  * ],
53
53
  * GreaterThan: Number("long"),
@@ -26,7 +26,7 @@ export interface GetIPSetCommandOutput extends GetIPSetResponse, __MetadataBeare
26
26
  * import { GuardDutyClient, GetIPSetCommand } from "@aws-sdk/client-guardduty"; // ES Modules import
27
27
  * // const { GuardDutyClient, GetIPSetCommand } = require("@aws-sdk/client-guardduty"); // CommonJS import
28
28
  * const client = new GuardDutyClient(config);
29
- * const input = {
29
+ * const input = { // GetIPSetRequest
30
30
  * DetectorId: "STRING_VALUE", // required
31
31
  * IpSetId: "STRING_VALUE", // required
32
32
  * };
@@ -29,7 +29,7 @@ export interface GetMalwareScanSettingsCommandOutput extends GetMalwareScanSetti
29
29
  * import { GuardDutyClient, GetMalwareScanSettingsCommand } from "@aws-sdk/client-guardduty"; // ES Modules import
30
30
  * // const { GuardDutyClient, GetMalwareScanSettingsCommand } = require("@aws-sdk/client-guardduty"); // CommonJS import
31
31
  * const client = new GuardDutyClient(config);
32
- * const input = {
32
+ * const input = { // GetMalwareScanSettingsRequest
33
33
  * DetectorId: "STRING_VALUE", // required
34
34
  * };
35
35
  * const command = new GetMalwareScanSettingsCommand(input);
@@ -29,7 +29,7 @@ export interface GetMasterAccountCommandOutput extends GetMasterAccountResponse,
29
29
  * import { GuardDutyClient, GetMasterAccountCommand } from "@aws-sdk/client-guardduty"; // ES Modules import
30
30
  * // const { GuardDutyClient, GetMasterAccountCommand } = require("@aws-sdk/client-guardduty"); // CommonJS import
31
31
  * const client = new GuardDutyClient(config);
32
- * const input = {
32
+ * const input = { // GetMasterAccountRequest
33
33
  * DetectorId: "STRING_VALUE", // required
34
34
  * };
35
35
  * const command = new GetMasterAccountCommand(input);
@@ -29,9 +29,9 @@ export interface GetMemberDetectorsCommandOutput extends GetMemberDetectorsRespo
29
29
  * import { GuardDutyClient, GetMemberDetectorsCommand } from "@aws-sdk/client-guardduty"; // ES Modules import
30
30
  * // const { GuardDutyClient, GetMemberDetectorsCommand } = require("@aws-sdk/client-guardduty"); // CommonJS import
31
31
  * const client = new GuardDutyClient(config);
32
- * const input = {
32
+ * const input = { // GetMemberDetectorsRequest
33
33
  * DetectorId: "STRING_VALUE", // required
34
- * AccountIds: [ // required
34
+ * AccountIds: [ // AccountIds // required
35
35
  * "STRING_VALUE",
36
36
  * ],
37
37
  * };
@@ -19,17 +19,17 @@ export interface GetMembersCommandOutput extends GetMembersResponse, __MetadataB
19
19
  }
20
20
  /**
21
21
  * @public
22
- * <p>Retrieves GuardDuty member accounts (of the current GuardDuty administrator account) specified by
23
- * the account IDs.</p>
22
+ * <p>Retrieves GuardDuty member accounts (of the current GuardDuty administrator account)
23
+ * specified by the account IDs.</p>
24
24
  * @example
25
25
  * Use a bare-bones client and the command you need to make an API call.
26
26
  * ```javascript
27
27
  * import { GuardDutyClient, GetMembersCommand } from "@aws-sdk/client-guardduty"; // ES Modules import
28
28
  * // const { GuardDutyClient, GetMembersCommand } = require("@aws-sdk/client-guardduty"); // CommonJS import
29
29
  * const client = new GuardDutyClient(config);
30
- * const input = {
30
+ * const input = { // GetMembersRequest
31
31
  * DetectorId: "STRING_VALUE", // required
32
- * AccountIds: [ // required
32
+ * AccountIds: [ // AccountIds // required
33
33
  * "STRING_VALUE",
34
34
  * ],
35
35
  * };
@@ -19,16 +19,17 @@ export interface GetRemainingFreeTrialDaysCommandOutput extends GetRemainingFree
19
19
  }
20
20
  /**
21
21
  * @public
22
- * <p>Provides the number of days left for each data source used in the free trial period.</p>
22
+ * <p>Provides the number of days left for each data source used in the free trial
23
+ * period.</p>
23
24
  * @example
24
25
  * Use a bare-bones client and the command you need to make an API call.
25
26
  * ```javascript
26
27
  * import { GuardDutyClient, GetRemainingFreeTrialDaysCommand } from "@aws-sdk/client-guardduty"; // ES Modules import
27
28
  * // const { GuardDutyClient, GetRemainingFreeTrialDaysCommand } = require("@aws-sdk/client-guardduty"); // CommonJS import
28
29
  * const client = new GuardDutyClient(config);
29
- * const input = {
30
+ * const input = { // GetRemainingFreeTrialDaysRequest
30
31
  * DetectorId: "STRING_VALUE", // required
31
- * AccountIds: [
32
+ * AccountIds: [ // AccountIds
32
33
  * "STRING_VALUE",
33
34
  * ],
34
35
  * };
@@ -26,7 +26,7 @@ export interface GetThreatIntelSetCommandOutput extends GetThreatIntelSetRespons
26
26
  * import { GuardDutyClient, GetThreatIntelSetCommand } from "@aws-sdk/client-guardduty"; // ES Modules import
27
27
  * // const { GuardDutyClient, GetThreatIntelSetCommand } = require("@aws-sdk/client-guardduty"); // CommonJS import
28
28
  * const client = new GuardDutyClient(config);
29
- * const input = {
29
+ * const input = { // GetThreatIntelSetRequest
30
30
  * DetectorId: "STRING_VALUE", // required
31
31
  * ThreatIntelSetId: "STRING_VALUE", // required
32
32
  * };
@@ -29,20 +29,20 @@ export interface GetUsageStatisticsCommandOutput extends GetUsageStatisticsRespo
29
29
  * import { GuardDutyClient, GetUsageStatisticsCommand } from "@aws-sdk/client-guardduty"; // ES Modules import
30
30
  * // const { GuardDutyClient, GetUsageStatisticsCommand } = require("@aws-sdk/client-guardduty"); // CommonJS import
31
31
  * const client = new GuardDutyClient(config);
32
- * const input = {
32
+ * const input = { // GetUsageStatisticsRequest
33
33
  * DetectorId: "STRING_VALUE", // required
34
34
  * UsageStatisticType: "SUM_BY_ACCOUNT" || "SUM_BY_DATA_SOURCE" || "SUM_BY_RESOURCE" || "TOP_RESOURCES" || "SUM_BY_FEATURES", // required
35
- * UsageCriteria: {
36
- * AccountIds: [
35
+ * UsageCriteria: { // UsageCriteria
36
+ * AccountIds: [ // AccountIds
37
37
  * "STRING_VALUE",
38
38
  * ],
39
- * DataSources: [
39
+ * DataSources: [ // DataSourceList
40
40
  * "FLOW_LOGS" || "CLOUD_TRAIL" || "DNS_LOGS" || "S3_LOGS" || "KUBERNETES_AUDIT_LOGS" || "EC2_MALWARE_SCAN",
41
41
  * ],
42
- * Resources: [
42
+ * Resources: [ // ResourceList
43
43
  * "STRING_VALUE",
44
44
  * ],
45
- * Features: [
45
+ * Features: [ // UsageFeatureList
46
46
  * "FLOW_LOGS" || "CLOUD_TRAIL" || "DNS_LOGS" || "S3_DATA_EVENTS" || "EKS_AUDIT_LOGS" || "EBS_MALWARE_PROTECTION" || "RDS_LOGIN_EVENTS" || "LAMBDA_NETWORK_LOGS" || "EKS_RUNTIME_MONITORING",
47
47
  * ],
48
48
  * },
@@ -20,17 +20,17 @@ export interface InviteMembersCommandOutput extends InviteMembersResponse, __Met
20
20
  /**
21
21
  * @public
22
22
  * <p>Invites other Amazon Web Services accounts (created as members of the current Amazon Web Services account by
23
- * CreateMembers) to enable GuardDuty, and allow the current Amazon Web Services account to view and manage these
24
- * accounts' findings on their behalf as the GuardDuty administrator account.</p>
23
+ * CreateMembers) to enable GuardDuty, and allow the current Amazon Web Services account to view and manage
24
+ * these accounts' findings on their behalf as the GuardDuty administrator account.</p>
25
25
  * @example
26
26
  * Use a bare-bones client and the command you need to make an API call.
27
27
  * ```javascript
28
28
  * import { GuardDutyClient, InviteMembersCommand } from "@aws-sdk/client-guardduty"; // ES Modules import
29
29
  * // const { GuardDutyClient, InviteMembersCommand } = require("@aws-sdk/client-guardduty"); // CommonJS import
30
30
  * const client = new GuardDutyClient(config);
31
- * const input = {
31
+ * const input = { // InviteMembersRequest
32
32
  * DetectorId: "STRING_VALUE", // required
33
- * AccountIds: [ // required
33
+ * AccountIds: [ // AccountIds // required
34
34
  * "STRING_VALUE",
35
35
  * ],
36
36
  * DisableEmailNotification: true || false,