@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
@@ -2,7 +2,7 @@ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { GuardDutyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GuardDutyClient";
5
- import { UpdateOrganizationConfigurationRequest, UpdateOrganizationConfigurationResponse } from "../models/models_0";
5
+ import { UpdateOrganizationConfigurationRequest, UpdateOrganizationConfigurationResponse } from "../models/models_1";
6
6
  /**
7
7
  * @public
8
8
  *
@@ -19,8 +19,8 @@ export interface UpdateOrganizationConfigurationCommandOutput extends UpdateOrga
19
19
  }
20
20
  /**
21
21
  * @public
22
- * <p>Configures the delegated administrator account with the provided values. You must provide the value for either
23
- * <code>autoEnableOrganizationMembers</code> or <code>autoEnable</code>. </p>
22
+ * <p>Configures the delegated administrator account with the provided values. You must provide
23
+ * the value for either <code>autoEnableOrganizationMembers</code> or <code>autoEnable</code>. </p>
24
24
  * <p>There might be regional differences because some data sources might not be
25
25
  * available in all the Amazon Web Services Regions where GuardDuty is presently supported. For more
26
26
  * information, see <a href="https://docs.aws.amazon.com/guardduty/latest/ug/guardduty_regions.html">Regions and endpoints</a>.</p>
@@ -30,30 +30,36 @@ export interface UpdateOrganizationConfigurationCommandOutput extends UpdateOrga
30
30
  * import { GuardDutyClient, UpdateOrganizationConfigurationCommand } from "@aws-sdk/client-guardduty"; // ES Modules import
31
31
  * // const { GuardDutyClient, UpdateOrganizationConfigurationCommand } = require("@aws-sdk/client-guardduty"); // CommonJS import
32
32
  * const client = new GuardDutyClient(config);
33
- * const input = {
33
+ * const input = { // UpdateOrganizationConfigurationRequest
34
34
  * DetectorId: "STRING_VALUE", // required
35
35
  * AutoEnable: true || false,
36
- * DataSources: {
37
- * S3Logs: {
36
+ * DataSources: { // OrganizationDataSourceConfigurations
37
+ * S3Logs: { // OrganizationS3LogsConfiguration
38
38
  * AutoEnable: true || false, // required
39
39
  * },
40
- * Kubernetes: {
41
- * AuditLogs: {
40
+ * Kubernetes: { // OrganizationKubernetesConfiguration
41
+ * AuditLogs: { // OrganizationKubernetesAuditLogsConfiguration
42
42
  * AutoEnable: true || false, // required
43
43
  * },
44
44
  * },
45
- * MalwareProtection: {
46
- * ScanEc2InstanceWithFindings: {
47
- * EbsVolumes: {
45
+ * MalwareProtection: { // OrganizationMalwareProtectionConfiguration
46
+ * ScanEc2InstanceWithFindings: { // OrganizationScanEc2InstanceWithFindings
47
+ * EbsVolumes: { // OrganizationEbsVolumes
48
48
  * AutoEnable: true || false,
49
49
  * },
50
50
  * },
51
51
  * },
52
52
  * },
53
- * Features: [
54
- * {
55
- * Name: "S3_DATA_EVENTS" || "EKS_AUDIT_LOGS" || "EBS_MALWARE_PROTECTION" || "RDS_LOGIN_EVENTS",
53
+ * Features: [ // OrganizationFeaturesConfigurations
54
+ * { // OrganizationFeatureConfiguration
55
+ * Name: "S3_DATA_EVENTS" || "EKS_AUDIT_LOGS" || "EBS_MALWARE_PROTECTION" || "RDS_LOGIN_EVENTS" || "EKS_RUNTIME_MONITORING",
56
56
  * AutoEnable: "NEW" || "NONE",
57
+ * AdditionalConfiguration: [ // OrganizationAdditionalConfigurations
58
+ * { // OrganizationAdditionalConfiguration
59
+ * Name: "EKS_ADDON_MANAGEMENT",
60
+ * AutoEnable: "NEW" || "NONE",
61
+ * },
62
+ * ],
57
63
  * },
58
64
  * ],
59
65
  * AutoEnableOrganizationMembers: "NEW" || "ALL" || "NONE",
@@ -2,7 +2,7 @@ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { GuardDutyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GuardDutyClient";
5
- import { UpdatePublishingDestinationRequest, UpdatePublishingDestinationResponse } from "../models/models_0";
5
+ import { UpdatePublishingDestinationRequest, UpdatePublishingDestinationResponse } from "../models/models_1";
6
6
  /**
7
7
  * @public
8
8
  *
@@ -27,10 +27,10 @@ export interface UpdatePublishingDestinationCommandOutput extends UpdatePublishi
27
27
  * import { GuardDutyClient, UpdatePublishingDestinationCommand } from "@aws-sdk/client-guardduty"; // ES Modules import
28
28
  * // const { GuardDutyClient, UpdatePublishingDestinationCommand } = require("@aws-sdk/client-guardduty"); // CommonJS import
29
29
  * const client = new GuardDutyClient(config);
30
- * const input = {
30
+ * const input = { // UpdatePublishingDestinationRequest
31
31
  * DetectorId: "STRING_VALUE", // required
32
32
  * DestinationId: "STRING_VALUE", // required
33
- * DestinationProperties: {
33
+ * DestinationProperties: { // DestinationProperties
34
34
  * DestinationArn: "STRING_VALUE",
35
35
  * KmsKeyArn: "STRING_VALUE",
36
36
  * },
@@ -2,8 +2,7 @@ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { GuardDutyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GuardDutyClient";
5
- import { UpdateThreatIntelSetRequest } from "../models/models_0";
6
- import { UpdateThreatIntelSetResponse } from "../models/models_1";
5
+ import { UpdateThreatIntelSetRequest, UpdateThreatIntelSetResponse } from "../models/models_1";
7
6
  /**
8
7
  * @public
9
8
  *
@@ -27,7 +26,7 @@ export interface UpdateThreatIntelSetCommandOutput extends UpdateThreatIntelSetR
27
26
  * import { GuardDutyClient, UpdateThreatIntelSetCommand } from "@aws-sdk/client-guardduty"; // ES Modules import
28
27
  * // const { GuardDutyClient, UpdateThreatIntelSetCommand } = require("@aws-sdk/client-guardduty"); // CommonJS import
29
28
  * const client = new GuardDutyClient(config);
30
- * const input = {
29
+ * const input = { // UpdateThreatIntelSetRequest
31
30
  * DetectorId: "STRING_VALUE", // required
32
31
  * ThreatIntelSetId: "STRING_VALUE", // required
33
32
  * Name: "STRING_VALUE",
@@ -25,6 +25,7 @@ export * from "./DisassociateFromMasterAccountCommand";
25
25
  export * from "./DisassociateMembersCommand";
26
26
  export * from "./EnableOrganizationAdminAccountCommand";
27
27
  export * from "./GetAdministratorAccountCommand";
28
+ export * from "./GetCoverageStatisticsCommand";
28
29
  export * from "./GetDetectorCommand";
29
30
  export * from "./GetFilterCommand";
30
31
  export * from "./GetFindingsCommand";
@@ -39,6 +40,7 @@ export * from "./GetRemainingFreeTrialDaysCommand";
39
40
  export * from "./GetThreatIntelSetCommand";
40
41
  export * from "./GetUsageStatisticsCommand";
41
42
  export * from "./InviteMembersCommand";
43
+ export * from "./ListCoverageCommand";
42
44
  export * from "./ListDetectorsCommand";
43
45
  export * from "./ListFiltersCommand";
44
46
  export * from "./ListFindingsCommand";