@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
@@ -0,0 +1,93 @@
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 { ListCoverageRequest, ListCoverageResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ *
9
+ * The input for {@link ListCoverageCommand}.
10
+ */
11
+ export interface ListCoverageCommandInput extends ListCoverageRequest {
12
+ }
13
+ /**
14
+ * @public
15
+ *
16
+ * The output of {@link ListCoverageCommand}.
17
+ */
18
+ export interface ListCoverageCommandOutput extends ListCoverageResponse, __MetadataBearer {
19
+ }
20
+ /**
21
+ * @public
22
+ * <p>Lists coverage details for your GuardDuty account. If you're a GuardDuty administrator, you can
23
+ * retrieve all resources associated with the active member accounts in your organization.</p>
24
+ * <p>Make sure the accounts have EKS Runtime Monitoring enabled and GuardDuty agent running on
25
+ * 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, ListCoverageCommand } from "@aws-sdk/client-guardduty"; // ES Modules import
30
+ * // const { GuardDutyClient, ListCoverageCommand } = require("@aws-sdk/client-guardduty"); // CommonJS import
31
+ * const client = new GuardDutyClient(config);
32
+ * const input = { // ListCoverageRequest
33
+ * DetectorId: "STRING_VALUE", // required
34
+ * NextToken: "STRING_VALUE",
35
+ * MaxResults: Number("int"),
36
+ * FilterCriteria: { // CoverageFilterCriteria
37
+ * FilterCriterion: [ // CoverageFilterCriterionList
38
+ * { // CoverageFilterCriterion
39
+ * CriterionKey: "ACCOUNT_ID" || "CLUSTER_NAME" || "RESOURCE_TYPE" || "COVERAGE_STATUS" || "ADDON_VERSION",
40
+ * FilterCondition: { // CoverageFilterCondition
41
+ * Equals: [ // Equals
42
+ * "STRING_VALUE",
43
+ * ],
44
+ * NotEquals: [ // NotEquals
45
+ * "STRING_VALUE",
46
+ * ],
47
+ * },
48
+ * },
49
+ * ],
50
+ * },
51
+ * SortCriteria: { // CoverageSortCriteria
52
+ * AttributeName: "ACCOUNT_ID" || "CLUSTER_NAME" || "COVERAGE_STATUS" || "ISSUE" || "ADDON_VERSION" || "UPDATED_AT",
53
+ * OrderBy: "ASC" || "DESC",
54
+ * },
55
+ * };
56
+ * const command = new ListCoverageCommand(input);
57
+ * const response = await client.send(command);
58
+ * ```
59
+ *
60
+ * @param ListCoverageCommandInput - {@link ListCoverageCommandInput}
61
+ * @returns {@link ListCoverageCommandOutput}
62
+ * @see {@link ListCoverageCommandInput} for command's `input` shape.
63
+ * @see {@link ListCoverageCommandOutput} for command's `response` shape.
64
+ * @see {@link GuardDutyClientResolvedConfig | config} for GuardDutyClient's `config` shape.
65
+ *
66
+ * @throws {@link BadRequestException} (client fault)
67
+ * <p>A bad request exception object.</p>
68
+ *
69
+ * @throws {@link InternalServerErrorException} (server fault)
70
+ * <p>An internal server error exception object.</p>
71
+ *
72
+ *
73
+ */
74
+ export declare class ListCoverageCommand extends $Command<ListCoverageCommandInput, ListCoverageCommandOutput, GuardDutyClientResolvedConfig> {
75
+ readonly input: ListCoverageCommandInput;
76
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
77
+ /**
78
+ * @public
79
+ */
80
+ constructor(input: ListCoverageCommandInput);
81
+ /**
82
+ * @internal
83
+ */
84
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: GuardDutyClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListCoverageCommandInput, ListCoverageCommandOutput>;
85
+ /**
86
+ * @internal
87
+ */
88
+ private serialize;
89
+ /**
90
+ * @internal
91
+ */
92
+ private deserialize;
93
+ }
@@ -26,7 +26,7 @@ export interface ListDetectorsCommandOutput extends ListDetectorsResponse, __Met
26
26
  * import { GuardDutyClient, ListDetectorsCommand } from "@aws-sdk/client-guardduty"; // ES Modules import
27
27
  * // const { GuardDutyClient, ListDetectorsCommand } = require("@aws-sdk/client-guardduty"); // CommonJS import
28
28
  * const client = new GuardDutyClient(config);
29
- * const input = {
29
+ * const input = { // ListDetectorsRequest
30
30
  * MaxResults: Number("int"),
31
31
  * NextToken: "STRING_VALUE",
32
32
  * };
@@ -26,7 +26,7 @@ export interface ListFiltersCommandOutput extends ListFiltersResponse, __Metadat
26
26
  * import { GuardDutyClient, ListFiltersCommand } from "@aws-sdk/client-guardduty"; // ES Modules import
27
27
  * // const { GuardDutyClient, ListFiltersCommand } = require("@aws-sdk/client-guardduty"); // CommonJS import
28
28
  * const client = new GuardDutyClient(config);
29
- * const input = {
29
+ * const input = { // ListFiltersRequest
30
30
  * DetectorId: "STRING_VALUE", // required
31
31
  * MaxResults: Number("int"),
32
32
  * NextToken: "STRING_VALUE",
@@ -26,25 +26,25 @@ export interface ListFindingsCommandOutput extends ListFindingsResponse, __Metad
26
26
  * import { GuardDutyClient, ListFindingsCommand } from "@aws-sdk/client-guardduty"; // ES Modules import
27
27
  * // const { GuardDutyClient, ListFindingsCommand } = require("@aws-sdk/client-guardduty"); // CommonJS import
28
28
  * const client = new GuardDutyClient(config);
29
- * const input = {
29
+ * const input = { // ListFindingsRequest
30
30
  * DetectorId: "STRING_VALUE", // required
31
- * FindingCriteria: {
32
- * Criterion: {
33
- * "<keys>": {
34
- * Eq: [
31
+ * FindingCriteria: { // FindingCriteria
32
+ * Criterion: { // Criterion
33
+ * "<keys>": { // Condition
34
+ * Eq: [ // Eq
35
35
  * "STRING_VALUE",
36
36
  * ],
37
- * Neq: [
37
+ * Neq: [ // Neq
38
38
  * "STRING_VALUE",
39
39
  * ],
40
40
  * Gt: Number("int"),
41
41
  * Gte: Number("int"),
42
42
  * Lt: Number("int"),
43
43
  * Lte: Number("int"),
44
- * Equals: [
44
+ * Equals: [ // Equals
45
45
  * "STRING_VALUE",
46
46
  * ],
47
- * NotEquals: [
47
+ * NotEquals: [ // NotEquals
48
48
  * "STRING_VALUE",
49
49
  * ],
50
50
  * GreaterThan: Number("long"),
@@ -54,7 +54,7 @@ export interface ListFindingsCommandOutput extends ListFindingsResponse, __Metad
54
54
  * },
55
55
  * },
56
56
  * },
57
- * SortCriteria: {
57
+ * SortCriteria: { // SortCriteria
58
58
  * AttributeName: "STRING_VALUE",
59
59
  * OrderBy: "ASC" || "DESC",
60
60
  * },
@@ -20,15 +20,15 @@ export interface ListIPSetsCommandOutput extends ListIPSetsResponse, __MetadataB
20
20
  /**
21
21
  * @public
22
22
  * <p>Lists the IPSets of the GuardDuty service specified by the detector ID. If you use this
23
- * operation from a member account, the IPSets returned are the IPSets from the associated administrator
24
- * account.</p>
23
+ * operation from a member account, the IPSets returned are the IPSets from the associated
24
+ * 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, ListIPSetsCommand } from "@aws-sdk/client-guardduty"; // ES Modules import
29
29
  * // const { GuardDutyClient, ListIPSetsCommand } = require("@aws-sdk/client-guardduty"); // CommonJS import
30
30
  * const client = new GuardDutyClient(config);
31
- * const input = {
31
+ * const input = { // ListIPSetsRequest
32
32
  * DetectorId: "STRING_VALUE", // required
33
33
  * MaxResults: Number("int"),
34
34
  * NextToken: "STRING_VALUE",
@@ -27,7 +27,7 @@ export interface ListInvitationsCommandOutput extends ListInvitationsResponse, _
27
27
  * import { GuardDutyClient, ListInvitationsCommand } from "@aws-sdk/client-guardduty"; // ES Modules import
28
28
  * // const { GuardDutyClient, ListInvitationsCommand } = require("@aws-sdk/client-guardduty"); // CommonJS import
29
29
  * const client = new GuardDutyClient(config);
30
- * const input = {
30
+ * const input = { // ListInvitationsRequest
31
31
  * MaxResults: Number("int"),
32
32
  * NextToken: "STRING_VALUE",
33
33
  * };
@@ -19,14 +19,15 @@ export interface ListMembersCommandOutput extends ListMembersResponse, __Metadat
19
19
  }
20
20
  /**
21
21
  * @public
22
- * <p>Lists details about all member accounts for the current GuardDuty administrator account.</p>
22
+ * <p>Lists details about all member accounts for the current GuardDuty administrator
23
+ * account.</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, ListMembersCommand } from "@aws-sdk/client-guardduty"; // ES Modules import
27
28
  * // const { GuardDutyClient, ListMembersCommand } = require("@aws-sdk/client-guardduty"); // CommonJS import
28
29
  * const client = new GuardDutyClient(config);
29
- * const input = {
30
+ * const input = { // ListMembersRequest
30
31
  * DetectorId: "STRING_VALUE", // required
31
32
  * MaxResults: Number("int"),
32
33
  * NextToken: "STRING_VALUE",
@@ -26,7 +26,7 @@ export interface ListOrganizationAdminAccountsCommandOutput extends ListOrganiza
26
26
  * import { GuardDutyClient, ListOrganizationAdminAccountsCommand } from "@aws-sdk/client-guardduty"; // ES Modules import
27
27
  * // const { GuardDutyClient, ListOrganizationAdminAccountsCommand } = require("@aws-sdk/client-guardduty"); // CommonJS import
28
28
  * const client = new GuardDutyClient(config);
29
- * const input = {
29
+ * const input = { // ListOrganizationAdminAccountsRequest
30
30
  * MaxResults: Number("int"),
31
31
  * NextToken: "STRING_VALUE",
32
32
  * };
@@ -27,7 +27,7 @@ export interface ListPublishingDestinationsCommandOutput extends ListPublishingD
27
27
  * import { GuardDutyClient, ListPublishingDestinationsCommand } from "@aws-sdk/client-guardduty"; // ES Modules import
28
28
  * // const { GuardDutyClient, ListPublishingDestinationsCommand } = require("@aws-sdk/client-guardduty"); // CommonJS import
29
29
  * const client = new GuardDutyClient(config);
30
- * const input = {
30
+ * const input = { // ListPublishingDestinationsRequest
31
31
  * DetectorId: "STRING_VALUE", // required
32
32
  * MaxResults: Number("int"),
33
33
  * NextToken: "STRING_VALUE",
@@ -28,7 +28,7 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
28
28
  * import { GuardDutyClient, ListTagsForResourceCommand } from "@aws-sdk/client-guardduty"; // ES Modules import
29
29
  * // const { GuardDutyClient, ListTagsForResourceCommand } = require("@aws-sdk/client-guardduty"); // CommonJS import
30
30
  * const client = new GuardDutyClient(config);
31
- * const input = {
31
+ * const input = { // ListTagsForResourceRequest
32
32
  * ResourceArn: "STRING_VALUE", // required
33
33
  * };
34
34
  * const command = new ListTagsForResourceCommand(input);
@@ -20,15 +20,15 @@ export interface ListThreatIntelSetsCommandOutput extends ListThreatIntelSetsRes
20
20
  /**
21
21
  * @public
22
22
  * <p>Lists the ThreatIntelSets of the GuardDuty service specified by the detector ID. If you
23
- * use this operation from a member account, the ThreatIntelSets associated with the administrator
24
- * account are returned.</p>
23
+ * use this operation from a member account, the ThreatIntelSets associated with the
24
+ * administrator account are returned.</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, ListThreatIntelSetsCommand } from "@aws-sdk/client-guardduty"; // ES Modules import
29
29
  * // const { GuardDutyClient, ListThreatIntelSetsCommand } = require("@aws-sdk/client-guardduty"); // CommonJS import
30
30
  * const client = new GuardDutyClient(config);
31
- * const input = {
31
+ * const input = { // ListThreatIntelSetsRequest
32
32
  * DetectorId: "STRING_VALUE", // required
33
33
  * MaxResults: Number("int"),
34
34
  * NextToken: "STRING_VALUE",
@@ -20,17 +20,16 @@ export interface StartMonitoringMembersCommandOutput extends StartMonitoringMemb
20
20
  /**
21
21
  * @public
22
22
  * <p>Turns on GuardDuty monitoring of the specified member accounts. Use this operation to
23
- * restart monitoring of accounts that you stopped monitoring with the <a href="https://docs.aws.amazon.com/guardduty/latest/APIReference/API_StopMonitoringMembers.html">StopMonitoringMembers</a>
24
- * operation.</p>
23
+ * restart monitoring of accounts that you stopped monitoring with the <a href="https://docs.aws.amazon.com/guardduty/latest/APIReference/API_StopMonitoringMembers.html">StopMonitoringMembers</a> operation.</p>
25
24
  * @example
26
25
  * Use a bare-bones client and the command you need to make an API call.
27
26
  * ```javascript
28
27
  * import { GuardDutyClient, StartMonitoringMembersCommand } from "@aws-sdk/client-guardduty"; // ES Modules import
29
28
  * // const { GuardDutyClient, StartMonitoringMembersCommand } = require("@aws-sdk/client-guardduty"); // CommonJS import
30
29
  * const client = new GuardDutyClient(config);
31
- * const input = {
30
+ * const input = { // StartMonitoringMembersRequest
32
31
  * DetectorId: "STRING_VALUE", // required
33
- * AccountIds: [ // required
32
+ * AccountIds: [ // AccountIds // required
34
33
  * "STRING_VALUE",
35
34
  * ],
36
35
  * };
@@ -22,17 +22,18 @@ export interface StopMonitoringMembersCommandOutput extends StopMonitoringMember
22
22
  * <p>Stops GuardDuty monitoring for the specified member accounts. Use the
23
23
  * <code>StartMonitoringMembers</code> operation to restart monitoring for those
24
24
  * accounts.</p>
25
- * <p>With <code>autoEnableOrganizationMembers</code> configuration for your organization set to <code>ALL</code>, you'll
26
- * receive an error if you attempt to stop monitoring the member accounts in your organization.</p>
25
+ * <p>With <code>autoEnableOrganizationMembers</code> configuration for your organization set to
26
+ * <code>ALL</code>, you'll receive an error if you attempt to stop monitoring the member
27
+ * accounts in your organization.</p>
27
28
  * @example
28
29
  * Use a bare-bones client and the command you need to make an API call.
29
30
  * ```javascript
30
31
  * import { GuardDutyClient, StopMonitoringMembersCommand } from "@aws-sdk/client-guardduty"; // ES Modules import
31
32
  * // const { GuardDutyClient, StopMonitoringMembersCommand } = require("@aws-sdk/client-guardduty"); // CommonJS import
32
33
  * const client = new GuardDutyClient(config);
33
- * const input = {
34
+ * const input = { // StopMonitoringMembersRequest
34
35
  * DetectorId: "STRING_VALUE", // required
35
- * AccountIds: [ // required
36
+ * AccountIds: [ // AccountIds // required
36
37
  * "STRING_VALUE",
37
38
  * ],
38
39
  * };
@@ -26,9 +26,9 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
26
26
  * import { GuardDutyClient, TagResourceCommand } from "@aws-sdk/client-guardduty"; // ES Modules import
27
27
  * // const { GuardDutyClient, TagResourceCommand } = require("@aws-sdk/client-guardduty"); // CommonJS import
28
28
  * const client = new GuardDutyClient(config);
29
- * const input = {
29
+ * const input = { // TagResourceRequest
30
30
  * ResourceArn: "STRING_VALUE", // required
31
- * Tags: { // required
31
+ * Tags: { // TagMap // required
32
32
  * "<keys>": "STRING_VALUE",
33
33
  * },
34
34
  * };
@@ -26,9 +26,9 @@ export interface UnarchiveFindingsCommandOutput extends UnarchiveFindingsRespons
26
26
  * import { GuardDutyClient, UnarchiveFindingsCommand } from "@aws-sdk/client-guardduty"; // ES Modules import
27
27
  * // const { GuardDutyClient, UnarchiveFindingsCommand } = require("@aws-sdk/client-guardduty"); // CommonJS import
28
28
  * const client = new GuardDutyClient(config);
29
- * const input = {
29
+ * const input = { // UnarchiveFindingsRequest
30
30
  * DetectorId: "STRING_VALUE", // required
31
- * FindingIds: [ // required
31
+ * FindingIds: [ // FindingIds // required
32
32
  * "STRING_VALUE",
33
33
  * ],
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 { UntagResourceRequest, UntagResourceResponse } from "../models/models_0";
5
+ import { UntagResourceRequest, UntagResourceResponse } from "../models/models_1";
6
6
  /**
7
7
  * @public
8
8
  *
@@ -26,9 +26,9 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
26
26
  * import { GuardDutyClient, UntagResourceCommand } from "@aws-sdk/client-guardduty"; // ES Modules import
27
27
  * // const { GuardDutyClient, UntagResourceCommand } = require("@aws-sdk/client-guardduty"); // CommonJS import
28
28
  * const client = new GuardDutyClient(config);
29
- * const input = {
29
+ * const input = { // UntagResourceRequest
30
30
  * ResourceArn: "STRING_VALUE", // required
31
- * TagKeys: [ // required
31
+ * TagKeys: [ // TagKeyList // required
32
32
  * "STRING_VALUE",
33
33
  * ],
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 { UpdateDetectorRequest, UpdateDetectorResponse } from "../models/models_0";
5
+ import { UpdateDetectorRequest, UpdateDetectorResponse } from "../models/models_1";
6
6
  /**
7
7
  * @public
8
8
  *
@@ -29,29 +29,35 @@ export interface UpdateDetectorCommandOutput extends UpdateDetectorResponse, __M
29
29
  * import { GuardDutyClient, UpdateDetectorCommand } from "@aws-sdk/client-guardduty"; // ES Modules import
30
30
  * // const { GuardDutyClient, UpdateDetectorCommand } = require("@aws-sdk/client-guardduty"); // CommonJS import
31
31
  * const client = new GuardDutyClient(config);
32
- * const input = {
32
+ * const input = { // UpdateDetectorRequest
33
33
  * DetectorId: "STRING_VALUE", // required
34
34
  * Enable: true || false,
35
35
  * FindingPublishingFrequency: "FIFTEEN_MINUTES" || "ONE_HOUR" || "SIX_HOURS",
36
- * DataSources: {
37
- * S3Logs: {
36
+ * DataSources: { // DataSourceConfigurations
37
+ * S3Logs: { // S3LogsConfiguration
38
38
  * Enable: true || false, // required
39
39
  * },
40
- * Kubernetes: {
41
- * AuditLogs: {
40
+ * Kubernetes: { // KubernetesConfiguration
41
+ * AuditLogs: { // KubernetesAuditLogsConfiguration
42
42
  * Enable: true || false, // required
43
43
  * },
44
44
  * },
45
- * MalwareProtection: {
46
- * ScanEc2InstanceWithFindings: {
45
+ * MalwareProtection: { // MalwareProtectionConfiguration
46
+ * ScanEc2InstanceWithFindings: { // ScanEc2InstanceWithFindings
47
47
  * EbsVolumes: true || false,
48
48
  * },
49
49
  * },
50
50
  * },
51
- * Features: [
52
- * {
53
- * Name: "S3_DATA_EVENTS" || "EKS_AUDIT_LOGS" || "EBS_MALWARE_PROTECTION" || "RDS_LOGIN_EVENTS",
51
+ * Features: [ // DetectorFeatureConfigurations
52
+ * { // DetectorFeatureConfiguration
53
+ * Name: "S3_DATA_EVENTS" || "EKS_AUDIT_LOGS" || "EBS_MALWARE_PROTECTION" || "RDS_LOGIN_EVENTS" || "EKS_RUNTIME_MONITORING",
54
54
  * Status: "ENABLED" || "DISABLED",
55
+ * AdditionalConfiguration: [ // DetectorAdditionalConfigurations
56
+ * { // DetectorAdditionalConfiguration
57
+ * Name: "EKS_ADDON_MANAGEMENT",
58
+ * Status: "ENABLED" || "DISABLED",
59
+ * },
60
+ * ],
55
61
  * },
56
62
  * ],
57
63
  * };
@@ -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 { UpdateFilterRequest, UpdateFilterResponse } from "../models/models_0";
5
+ import { UpdateFilterRequest, UpdateFilterResponse } from "../models/models_1";
6
6
  /**
7
7
  * @public
8
8
  *
@@ -26,29 +26,29 @@ export interface UpdateFilterCommandOutput extends UpdateFilterResponse, __Metad
26
26
  * import { GuardDutyClient, UpdateFilterCommand } from "@aws-sdk/client-guardduty"; // ES Modules import
27
27
  * // const { GuardDutyClient, UpdateFilterCommand } = require("@aws-sdk/client-guardduty"); // CommonJS import
28
28
  * const client = new GuardDutyClient(config);
29
- * const input = {
29
+ * const input = { // UpdateFilterRequest
30
30
  * DetectorId: "STRING_VALUE", // required
31
31
  * FilterName: "STRING_VALUE", // required
32
32
  * Description: "STRING_VALUE",
33
33
  * Action: "NOOP" || "ARCHIVE",
34
34
  * Rank: Number("int"),
35
- * FindingCriteria: {
36
- * Criterion: {
37
- * "<keys>": {
38
- * Eq: [
35
+ * FindingCriteria: { // FindingCriteria
36
+ * Criterion: { // Criterion
37
+ * "<keys>": { // Condition
38
+ * Eq: [ // Eq
39
39
  * "STRING_VALUE",
40
40
  * ],
41
- * Neq: [
41
+ * Neq: [ // Neq
42
42
  * "STRING_VALUE",
43
43
  * ],
44
44
  * Gt: Number("int"),
45
45
  * Gte: Number("int"),
46
46
  * Lt: Number("int"),
47
47
  * Lte: Number("int"),
48
- * Equals: [
48
+ * Equals: [ // Equals
49
49
  * "STRING_VALUE",
50
50
  * ],
51
- * NotEquals: [
51
+ * NotEquals: [ // NotEquals
52
52
  * "STRING_VALUE",
53
53
  * ],
54
54
  * GreaterThan: Number("long"),
@@ -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 { UpdateFindingsFeedbackRequest, UpdateFindingsFeedbackResponse } from "../models/models_0";
5
+ import { UpdateFindingsFeedbackRequest, UpdateFindingsFeedbackResponse } from "../models/models_1";
6
6
  /**
7
7
  * @public
8
8
  *
@@ -26,9 +26,9 @@ export interface UpdateFindingsFeedbackCommandOutput extends UpdateFindingsFeedb
26
26
  * import { GuardDutyClient, UpdateFindingsFeedbackCommand } from "@aws-sdk/client-guardduty"; // ES Modules import
27
27
  * // const { GuardDutyClient, UpdateFindingsFeedbackCommand } = require("@aws-sdk/client-guardduty"); // CommonJS import
28
28
  * const client = new GuardDutyClient(config);
29
- * const input = {
29
+ * const input = { // UpdateFindingsFeedbackRequest
30
30
  * DetectorId: "STRING_VALUE", // required
31
- * FindingIds: [ // required
31
+ * FindingIds: [ // FindingIds // required
32
32
  * "STRING_VALUE",
33
33
  * ],
34
34
  * Feedback: "USEFUL" || "NOT_USEFUL", // required
@@ -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 { UpdateIPSetRequest, UpdateIPSetResponse } from "../models/models_0";
5
+ import { UpdateIPSetRequest, UpdateIPSetResponse } from "../models/models_1";
6
6
  /**
7
7
  * @public
8
8
  *
@@ -26,7 +26,7 @@ export interface UpdateIPSetCommandOutput extends UpdateIPSetResponse, __Metadat
26
26
  * import { GuardDutyClient, UpdateIPSetCommand } from "@aws-sdk/client-guardduty"; // ES Modules import
27
27
  * // const { GuardDutyClient, UpdateIPSetCommand } = require("@aws-sdk/client-guardduty"); // CommonJS import
28
28
  * const client = new GuardDutyClient(config);
29
- * const input = {
29
+ * const input = { // UpdateIPSetRequest
30
30
  * DetectorId: "STRING_VALUE", // required
31
31
  * IpSetId: "STRING_VALUE", // required
32
32
  * Name: "STRING_VALUE",
@@ -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 { UpdateMalwareScanSettingsRequest, UpdateMalwareScanSettingsResponse } from "../models/models_0";
5
+ import { UpdateMalwareScanSettingsRequest, UpdateMalwareScanSettingsResponse } from "../models/models_1";
6
6
  /**
7
7
  * @public
8
8
  *
@@ -29,13 +29,13 @@ export interface UpdateMalwareScanSettingsCommandOutput extends UpdateMalwareSca
29
29
  * import { GuardDutyClient, UpdateMalwareScanSettingsCommand } from "@aws-sdk/client-guardduty"; // ES Modules import
30
30
  * // const { GuardDutyClient, UpdateMalwareScanSettingsCommand } = require("@aws-sdk/client-guardduty"); // CommonJS import
31
31
  * const client = new GuardDutyClient(config);
32
- * const input = {
32
+ * const input = { // UpdateMalwareScanSettingsRequest
33
33
  * DetectorId: "STRING_VALUE", // required
34
- * ScanResourceCriteria: {
35
- * Include: {
36
- * "<keys>": {
37
- * MapEquals: [ // required
38
- * {
34
+ * ScanResourceCriteria: { // ScanResourceCriteria
35
+ * Include: { // ScanCriterion
36
+ * "<keys>": { // ScanCondition
37
+ * MapEquals: [ // MapEquals // required
38
+ * { // ScanConditionPair
39
39
  * Key: "STRING_VALUE", // required
40
40
  * Value: "STRING_VALUE",
41
41
  * },
@@ -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 { UpdateMemberDetectorsRequest, UpdateMemberDetectorsResponse } from "../models/models_0";
5
+ import { UpdateMemberDetectorsRequest, UpdateMemberDetectorsResponse } from "../models/models_1";
6
6
  /**
7
7
  * @public
8
8
  *
@@ -29,30 +29,36 @@ export interface UpdateMemberDetectorsCommandOutput extends UpdateMemberDetector
29
29
  * import { GuardDutyClient, UpdateMemberDetectorsCommand } from "@aws-sdk/client-guardduty"; // ES Modules import
30
30
  * // const { GuardDutyClient, UpdateMemberDetectorsCommand } = require("@aws-sdk/client-guardduty"); // CommonJS import
31
31
  * const client = new GuardDutyClient(config);
32
- * const input = {
32
+ * const input = { // UpdateMemberDetectorsRequest
33
33
  * DetectorId: "STRING_VALUE", // required
34
- * AccountIds: [ // required
34
+ * AccountIds: [ // AccountIds // required
35
35
  * "STRING_VALUE",
36
36
  * ],
37
- * DataSources: {
38
- * S3Logs: {
37
+ * DataSources: { // DataSourceConfigurations
38
+ * S3Logs: { // S3LogsConfiguration
39
39
  * Enable: true || false, // required
40
40
  * },
41
- * Kubernetes: {
42
- * AuditLogs: {
41
+ * Kubernetes: { // KubernetesConfiguration
42
+ * AuditLogs: { // KubernetesAuditLogsConfiguration
43
43
  * Enable: true || false, // required
44
44
  * },
45
45
  * },
46
- * MalwareProtection: {
47
- * ScanEc2InstanceWithFindings: {
46
+ * MalwareProtection: { // MalwareProtectionConfiguration
47
+ * ScanEc2InstanceWithFindings: { // ScanEc2InstanceWithFindings
48
48
  * EbsVolumes: true || false,
49
49
  * },
50
50
  * },
51
51
  * },
52
- * Features: [
53
- * {
54
- * Name: "S3_DATA_EVENTS" || "EKS_AUDIT_LOGS" || "EBS_MALWARE_PROTECTION" || "RDS_LOGIN_EVENTS",
52
+ * Features: [ // MemberFeaturesConfigurations
53
+ * { // MemberFeaturesConfiguration
54
+ * Name: "S3_DATA_EVENTS" || "EKS_AUDIT_LOGS" || "EBS_MALWARE_PROTECTION" || "RDS_LOGIN_EVENTS" || "EKS_RUNTIME_MONITORING",
55
55
  * Status: "ENABLED" || "DISABLED",
56
+ * AdditionalConfiguration: [ // MemberAdditionalConfigurations
57
+ * { // MemberAdditionalConfiguration
58
+ * Name: "EKS_ADDON_MANAGEMENT",
59
+ * Status: "ENABLED" || "DISABLED",
60
+ * },
61
+ * ],
56
62
  * },
57
63
  * ],
58
64
  * };