@aws-sdk/client-guardduty 3.590.0 → 3.595.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 (176) hide show
  1. package/README.md +40 -0
  2. package/dist-cjs/index.js +429 -94
  3. package/dist-es/GuardDuty.js +10 -0
  4. package/dist-es/commands/CreateMalwareProtectionPlanCommand.js +24 -0
  5. package/dist-es/commands/DeleteMalwareProtectionPlanCommand.js +24 -0
  6. package/dist-es/commands/GetMalwareProtectionPlanCommand.js +24 -0
  7. package/dist-es/commands/ListMalwareProtectionPlansCommand.js +24 -0
  8. package/dist-es/commands/UpdateMalwareProtectionPlanCommand.js +24 -0
  9. package/dist-es/commands/index.js +5 -0
  10. package/dist-es/models/models_0.js +23 -23
  11. package/dist-es/models/models_1.js +23 -0
  12. package/dist-es/protocols/Aws_restJson1.js +282 -1
  13. package/dist-types/GuardDuty.d.ts +36 -0
  14. package/dist-types/GuardDutyClient.d.ts +7 -2
  15. package/dist-types/commands/AcceptAdministratorInvitationCommand.d.ts +2 -1
  16. package/dist-types/commands/AcceptInvitationCommand.d.ts +2 -1
  17. package/dist-types/commands/ArchiveFindingsCommand.d.ts +2 -1
  18. package/dist-types/commands/CreateDetectorCommand.d.ts +2 -1
  19. package/dist-types/commands/CreateFilterCommand.d.ts +2 -1
  20. package/dist-types/commands/CreateIPSetCommand.d.ts +2 -1
  21. package/dist-types/commands/CreateMalwareProtectionPlanCommand.d.ts +91 -0
  22. package/dist-types/commands/CreateMembersCommand.d.ts +2 -1
  23. package/dist-types/commands/CreatePublishingDestinationCommand.d.ts +2 -1
  24. package/dist-types/commands/CreateSampleFindingsCommand.d.ts +2 -1
  25. package/dist-types/commands/CreateThreatIntelSetCommand.d.ts +2 -1
  26. package/dist-types/commands/DeclineInvitationsCommand.d.ts +2 -1
  27. package/dist-types/commands/DeleteDetectorCommand.d.ts +2 -1
  28. package/dist-types/commands/DeleteFilterCommand.d.ts +2 -1
  29. package/dist-types/commands/DeleteIPSetCommand.d.ts +2 -1
  30. package/dist-types/commands/DeleteInvitationsCommand.d.ts +2 -1
  31. package/dist-types/commands/DeleteMalwareProtectionPlanCommand.d.ts +72 -0
  32. package/dist-types/commands/DeleteMembersCommand.d.ts +2 -1
  33. package/dist-types/commands/DeletePublishingDestinationCommand.d.ts +2 -1
  34. package/dist-types/commands/DeleteThreatIntelSetCommand.d.ts +2 -1
  35. package/dist-types/commands/DescribeMalwareScansCommand.d.ts +2 -1
  36. package/dist-types/commands/DescribeOrganizationConfigurationCommand.d.ts +2 -1
  37. package/dist-types/commands/DescribePublishingDestinationCommand.d.ts +2 -1
  38. package/dist-types/commands/DisableOrganizationAdminAccountCommand.d.ts +2 -1
  39. package/dist-types/commands/DisassociateFromAdministratorAccountCommand.d.ts +2 -1
  40. package/dist-types/commands/DisassociateFromMasterAccountCommand.d.ts +2 -1
  41. package/dist-types/commands/DisassociateMembersCommand.d.ts +2 -1
  42. package/dist-types/commands/EnableOrganizationAdminAccountCommand.d.ts +2 -1
  43. package/dist-types/commands/GetAdministratorAccountCommand.d.ts +2 -1
  44. package/dist-types/commands/GetCoverageStatisticsCommand.d.ts +2 -1
  45. package/dist-types/commands/GetDetectorCommand.d.ts +2 -1
  46. package/dist-types/commands/GetFilterCommand.d.ts +2 -1
  47. package/dist-types/commands/GetFindingsCommand.d.ts +25 -1
  48. package/dist-types/commands/GetFindingsStatisticsCommand.d.ts +2 -1
  49. package/dist-types/commands/GetIPSetCommand.d.ts +2 -1
  50. package/dist-types/commands/GetInvitationsCountCommand.d.ts +2 -1
  51. package/dist-types/commands/GetMalwareProtectionPlanCommand.d.ts +98 -0
  52. package/dist-types/commands/GetMalwareScanSettingsCommand.d.ts +2 -1
  53. package/dist-types/commands/GetMasterAccountCommand.d.ts +2 -1
  54. package/dist-types/commands/GetMemberDetectorsCommand.d.ts +2 -1
  55. package/dist-types/commands/GetMembersCommand.d.ts +2 -1
  56. package/dist-types/commands/GetOrganizationStatisticsCommand.d.ts +2 -1
  57. package/dist-types/commands/GetRemainingFreeTrialDaysCommand.d.ts +2 -1
  58. package/dist-types/commands/GetThreatIntelSetCommand.d.ts +2 -1
  59. package/dist-types/commands/GetUsageStatisticsCommand.d.ts +3 -2
  60. package/dist-types/commands/InviteMembersCommand.d.ts +3 -2
  61. package/dist-types/commands/ListCoverageCommand.d.ts +3 -2
  62. package/dist-types/commands/ListDetectorsCommand.d.ts +2 -1
  63. package/dist-types/commands/ListFiltersCommand.d.ts +2 -1
  64. package/dist-types/commands/ListFindingsCommand.d.ts +2 -1
  65. package/dist-types/commands/ListIPSetsCommand.d.ts +2 -1
  66. package/dist-types/commands/ListInvitationsCommand.d.ts +2 -1
  67. package/dist-types/commands/ListMalwareProtectionPlansCommand.d.ts +75 -0
  68. package/dist-types/commands/ListMembersCommand.d.ts +2 -1
  69. package/dist-types/commands/ListOrganizationAdminAccountsCommand.d.ts +2 -1
  70. package/dist-types/commands/ListPublishingDestinationsCommand.d.ts +2 -1
  71. package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -1
  72. package/dist-types/commands/ListThreatIntelSetsCommand.d.ts +2 -1
  73. package/dist-types/commands/StartMalwareScanCommand.d.ts +2 -1
  74. package/dist-types/commands/StartMonitoringMembersCommand.d.ts +2 -1
  75. package/dist-types/commands/StopMonitoringMembersCommand.d.ts +2 -1
  76. package/dist-types/commands/TagResourceCommand.d.ts +2 -1
  77. package/dist-types/commands/UnarchiveFindingsCommand.d.ts +2 -1
  78. package/dist-types/commands/UntagResourceCommand.d.ts +2 -1
  79. package/dist-types/commands/UpdateDetectorCommand.d.ts +2 -1
  80. package/dist-types/commands/UpdateFilterCommand.d.ts +2 -1
  81. package/dist-types/commands/UpdateFindingsFeedbackCommand.d.ts +2 -1
  82. package/dist-types/commands/UpdateIPSetCommand.d.ts +2 -1
  83. package/dist-types/commands/UpdateMalwareProtectionPlanCommand.d.ts +83 -0
  84. package/dist-types/commands/UpdateMalwareScanSettingsCommand.d.ts +2 -1
  85. package/dist-types/commands/UpdateMemberDetectorsCommand.d.ts +2 -1
  86. package/dist-types/commands/UpdateOrganizationConfigurationCommand.d.ts +2 -1
  87. package/dist-types/commands/UpdatePublishingDestinationCommand.d.ts +2 -1
  88. package/dist-types/commands/UpdateThreatIntelSetCommand.d.ts +2 -1
  89. package/dist-types/commands/index.d.ts +5 -0
  90. package/dist-types/index.d.ts +2 -2
  91. package/dist-types/models/GuardDutyServiceException.d.ts +2 -1
  92. package/dist-types/models/models_0.d.ts +331 -376
  93. package/dist-types/models/models_1.d.ts +469 -1
  94. package/dist-types/protocols/Aws_restJson1.d.ts +45 -0
  95. package/dist-types/ts3.4/GuardDuty.d.ts +86 -0
  96. package/dist-types/ts3.4/GuardDutyClient.d.ts +30 -0
  97. package/dist-types/ts3.4/commands/AcceptAdministratorInvitationCommand.d.ts +2 -1
  98. package/dist-types/ts3.4/commands/AcceptInvitationCommand.d.ts +2 -1
  99. package/dist-types/ts3.4/commands/ArchiveFindingsCommand.d.ts +2 -1
  100. package/dist-types/ts3.4/commands/CreateDetectorCommand.d.ts +2 -1
  101. package/dist-types/ts3.4/commands/CreateFilterCommand.d.ts +2 -1
  102. package/dist-types/ts3.4/commands/CreateIPSetCommand.d.ts +2 -1
  103. package/dist-types/ts3.4/commands/CreateMalwareProtectionPlanCommand.d.ts +40 -0
  104. package/dist-types/ts3.4/commands/CreateMembersCommand.d.ts +2 -1
  105. package/dist-types/ts3.4/commands/CreatePublishingDestinationCommand.d.ts +2 -1
  106. package/dist-types/ts3.4/commands/CreateSampleFindingsCommand.d.ts +2 -1
  107. package/dist-types/ts3.4/commands/CreateThreatIntelSetCommand.d.ts +2 -1
  108. package/dist-types/ts3.4/commands/DeclineInvitationsCommand.d.ts +2 -1
  109. package/dist-types/ts3.4/commands/DeleteDetectorCommand.d.ts +2 -1
  110. package/dist-types/ts3.4/commands/DeleteFilterCommand.d.ts +2 -1
  111. package/dist-types/ts3.4/commands/DeleteIPSetCommand.d.ts +2 -1
  112. package/dist-types/ts3.4/commands/DeleteInvitationsCommand.d.ts +2 -1
  113. package/dist-types/ts3.4/commands/DeleteMalwareProtectionPlanCommand.d.ts +36 -0
  114. package/dist-types/ts3.4/commands/DeleteMembersCommand.d.ts +2 -1
  115. package/dist-types/ts3.4/commands/DeletePublishingDestinationCommand.d.ts +2 -1
  116. package/dist-types/ts3.4/commands/DeleteThreatIntelSetCommand.d.ts +2 -1
  117. package/dist-types/ts3.4/commands/DescribeMalwareScansCommand.d.ts +2 -1
  118. package/dist-types/ts3.4/commands/DescribeOrganizationConfigurationCommand.d.ts +2 -1
  119. package/dist-types/ts3.4/commands/DescribePublishingDestinationCommand.d.ts +2 -1
  120. package/dist-types/ts3.4/commands/DisableOrganizationAdminAccountCommand.d.ts +2 -1
  121. package/dist-types/ts3.4/commands/DisassociateFromAdministratorAccountCommand.d.ts +2 -1
  122. package/dist-types/ts3.4/commands/DisassociateFromMasterAccountCommand.d.ts +2 -1
  123. package/dist-types/ts3.4/commands/DisassociateMembersCommand.d.ts +2 -1
  124. package/dist-types/ts3.4/commands/EnableOrganizationAdminAccountCommand.d.ts +2 -1
  125. package/dist-types/ts3.4/commands/GetAdministratorAccountCommand.d.ts +2 -1
  126. package/dist-types/ts3.4/commands/GetCoverageStatisticsCommand.d.ts +2 -1
  127. package/dist-types/ts3.4/commands/GetDetectorCommand.d.ts +2 -1
  128. package/dist-types/ts3.4/commands/GetFilterCommand.d.ts +2 -1
  129. package/dist-types/ts3.4/commands/GetFindingsCommand.d.ts +2 -1
  130. package/dist-types/ts3.4/commands/GetFindingsStatisticsCommand.d.ts +2 -1
  131. package/dist-types/ts3.4/commands/GetIPSetCommand.d.ts +2 -1
  132. package/dist-types/ts3.4/commands/GetInvitationsCountCommand.d.ts +2 -1
  133. package/dist-types/ts3.4/commands/GetMalwareProtectionPlanCommand.d.ts +40 -0
  134. package/dist-types/ts3.4/commands/GetMalwareScanSettingsCommand.d.ts +2 -1
  135. package/dist-types/ts3.4/commands/GetMasterAccountCommand.d.ts +2 -1
  136. package/dist-types/ts3.4/commands/GetMemberDetectorsCommand.d.ts +2 -1
  137. package/dist-types/ts3.4/commands/GetMembersCommand.d.ts +2 -1
  138. package/dist-types/ts3.4/commands/GetOrganizationStatisticsCommand.d.ts +2 -1
  139. package/dist-types/ts3.4/commands/GetRemainingFreeTrialDaysCommand.d.ts +2 -1
  140. package/dist-types/ts3.4/commands/GetThreatIntelSetCommand.d.ts +2 -1
  141. package/dist-types/ts3.4/commands/GetUsageStatisticsCommand.d.ts +3 -2
  142. package/dist-types/ts3.4/commands/InviteMembersCommand.d.ts +3 -2
  143. package/dist-types/ts3.4/commands/ListCoverageCommand.d.ts +3 -2
  144. package/dist-types/ts3.4/commands/ListDetectorsCommand.d.ts +2 -1
  145. package/dist-types/ts3.4/commands/ListFiltersCommand.d.ts +2 -1
  146. package/dist-types/ts3.4/commands/ListFindingsCommand.d.ts +2 -1
  147. package/dist-types/ts3.4/commands/ListIPSetsCommand.d.ts +2 -1
  148. package/dist-types/ts3.4/commands/ListInvitationsCommand.d.ts +2 -1
  149. package/dist-types/ts3.4/commands/ListMalwareProtectionPlansCommand.d.ts +40 -0
  150. package/dist-types/ts3.4/commands/ListMembersCommand.d.ts +2 -1
  151. package/dist-types/ts3.4/commands/ListOrganizationAdminAccountsCommand.d.ts +2 -1
  152. package/dist-types/ts3.4/commands/ListPublishingDestinationsCommand.d.ts +2 -1
  153. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -1
  154. package/dist-types/ts3.4/commands/ListThreatIntelSetsCommand.d.ts +2 -1
  155. package/dist-types/ts3.4/commands/StartMalwareScanCommand.d.ts +2 -1
  156. package/dist-types/ts3.4/commands/StartMonitoringMembersCommand.d.ts +2 -1
  157. package/dist-types/ts3.4/commands/StopMonitoringMembersCommand.d.ts +2 -1
  158. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -1
  159. package/dist-types/ts3.4/commands/UnarchiveFindingsCommand.d.ts +2 -1
  160. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -1
  161. package/dist-types/ts3.4/commands/UpdateDetectorCommand.d.ts +2 -1
  162. package/dist-types/ts3.4/commands/UpdateFilterCommand.d.ts +2 -1
  163. package/dist-types/ts3.4/commands/UpdateFindingsFeedbackCommand.d.ts +2 -1
  164. package/dist-types/ts3.4/commands/UpdateIPSetCommand.d.ts +2 -1
  165. package/dist-types/ts3.4/commands/UpdateMalwareProtectionPlanCommand.d.ts +36 -0
  166. package/dist-types/ts3.4/commands/UpdateMalwareScanSettingsCommand.d.ts +2 -1
  167. package/dist-types/ts3.4/commands/UpdateMemberDetectorsCommand.d.ts +2 -1
  168. package/dist-types/ts3.4/commands/UpdateOrganizationConfigurationCommand.d.ts +2 -1
  169. package/dist-types/ts3.4/commands/UpdatePublishingDestinationCommand.d.ts +2 -1
  170. package/dist-types/ts3.4/commands/UpdateThreatIntelSetCommand.d.ts +2 -1
  171. package/dist-types/ts3.4/commands/index.d.ts +5 -0
  172. package/dist-types/ts3.4/models/GuardDutyServiceException.d.ts +2 -1
  173. package/dist-types/ts3.4/models/models_0.d.ts +86 -100
  174. package/dist-types/ts3.4/models/models_1.d.ts +127 -0
  175. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +60 -0
  176. package/package.json +6 -6
@@ -5,7 +5,8 @@ import { CreateDetectorRequest, CreateDetectorResponse } from "../models/models_
5
5
  /**
6
6
  * @public
7
7
  */
8
- export { __MetadataBearer, $Command };
8
+ export type { __MetadataBearer };
9
+ export { $Command };
9
10
  /**
10
11
  * @public
11
12
  *
@@ -5,7 +5,8 @@ import { CreateFilterRequest, CreateFilterResponse } from "../models/models_0";
5
5
  /**
6
6
  * @public
7
7
  */
8
- export { __MetadataBearer, $Command };
8
+ export type { __MetadataBearer };
9
+ export { $Command };
9
10
  /**
10
11
  * @public
11
12
  *
@@ -5,7 +5,8 @@ import { CreateIPSetRequest, CreateIPSetResponse } from "../models/models_0";
5
5
  /**
6
6
  * @public
7
7
  */
8
- export { __MetadataBearer, $Command };
8
+ export type { __MetadataBearer };
9
+ export { $Command };
9
10
  /**
10
11
  * @public
11
12
  *
@@ -0,0 +1,91 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { GuardDutyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GuardDutyClient";
4
+ import { CreateMalwareProtectionPlanRequest, CreateMalwareProtectionPlanResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link CreateMalwareProtectionPlanCommand}.
14
+ */
15
+ export interface CreateMalwareProtectionPlanCommandInput extends CreateMalwareProtectionPlanRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link CreateMalwareProtectionPlanCommand}.
21
+ */
22
+ export interface CreateMalwareProtectionPlanCommandOutput extends CreateMalwareProtectionPlanResponse, __MetadataBearer {
23
+ }
24
+ declare const CreateMalwareProtectionPlanCommand_base: {
25
+ new (input: CreateMalwareProtectionPlanCommandInput): import("@smithy/smithy-client").CommandImpl<CreateMalwareProtectionPlanCommandInput, CreateMalwareProtectionPlanCommandOutput, GuardDutyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: CreateMalwareProtectionPlanCommandInput): import("@smithy/smithy-client").CommandImpl<CreateMalwareProtectionPlanCommandInput, CreateMalwareProtectionPlanCommandOutput, GuardDutyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Creates a new Malware Protection plan for the protected resource.</p>
31
+ * <p>When you create a Malware Protection plan, the Amazon Web Services service terms for GuardDuty Malware
32
+ * Protection apply. For more information, see <a href="http://aws.amazon.com/service-terms/#87._Amazon_GuardDuty">Amazon Web Services service terms for GuardDuty Malware Protection</a>.</p>
33
+ * @example
34
+ * Use a bare-bones client and the command you need to make an API call.
35
+ * ```javascript
36
+ * import { GuardDutyClient, CreateMalwareProtectionPlanCommand } from "@aws-sdk/client-guardduty"; // ES Modules import
37
+ * // const { GuardDutyClient, CreateMalwareProtectionPlanCommand } = require("@aws-sdk/client-guardduty"); // CommonJS import
38
+ * const client = new GuardDutyClient(config);
39
+ * const input = { // CreateMalwareProtectionPlanRequest
40
+ * ClientToken: "STRING_VALUE",
41
+ * Role: "STRING_VALUE", // required
42
+ * ProtectedResource: { // CreateProtectedResource
43
+ * S3Bucket: { // CreateS3BucketResource
44
+ * BucketName: "STRING_VALUE",
45
+ * ObjectPrefixes: [ // MalwareProtectionPlanObjectPrefixesList
46
+ * "STRING_VALUE",
47
+ * ],
48
+ * },
49
+ * },
50
+ * Actions: { // MalwareProtectionPlanActions
51
+ * Tagging: { // MalwareProtectionPlanTaggingAction
52
+ * Status: "ENABLED" || "DISABLED",
53
+ * },
54
+ * },
55
+ * Tags: { // TagMap
56
+ * "<keys>": "STRING_VALUE",
57
+ * },
58
+ * };
59
+ * const command = new CreateMalwareProtectionPlanCommand(input);
60
+ * const response = await client.send(command);
61
+ * // { // CreateMalwareProtectionPlanResponse
62
+ * // MalwareProtectionPlanId: "STRING_VALUE",
63
+ * // };
64
+ *
65
+ * ```
66
+ *
67
+ * @param CreateMalwareProtectionPlanCommandInput - {@link CreateMalwareProtectionPlanCommandInput}
68
+ * @returns {@link CreateMalwareProtectionPlanCommandOutput}
69
+ * @see {@link CreateMalwareProtectionPlanCommandInput} for command's `input` shape.
70
+ * @see {@link CreateMalwareProtectionPlanCommandOutput} for command's `response` shape.
71
+ * @see {@link GuardDutyClientResolvedConfig | config} for GuardDutyClient's `config` shape.
72
+ *
73
+ * @throws {@link AccessDeniedException} (client fault)
74
+ * <p>An access denied exception object.</p>
75
+ *
76
+ * @throws {@link BadRequestException} (client fault)
77
+ * <p>A bad request exception object.</p>
78
+ *
79
+ * @throws {@link ConflictException} (client fault)
80
+ * <p>A request conflict exception object.</p>
81
+ *
82
+ * @throws {@link InternalServerErrorException} (server fault)
83
+ * <p>An internal server error exception object.</p>
84
+ *
85
+ * @throws {@link GuardDutyServiceException}
86
+ * <p>Base exception class for all service exceptions from GuardDuty service.</p>
87
+ *
88
+ * @public
89
+ */
90
+ export declare class CreateMalwareProtectionPlanCommand extends CreateMalwareProtectionPlanCommand_base {
91
+ }
@@ -5,7 +5,8 @@ import { CreateMembersRequest, CreateMembersResponse } from "../models/models_0"
5
5
  /**
6
6
  * @public
7
7
  */
8
- export { __MetadataBearer, $Command };
8
+ export type { __MetadataBearer };
9
+ export { $Command };
9
10
  /**
10
11
  * @public
11
12
  *
@@ -5,7 +5,8 @@ import { CreatePublishingDestinationRequest, CreatePublishingDestinationResponse
5
5
  /**
6
6
  * @public
7
7
  */
8
- export { __MetadataBearer, $Command };
8
+ export type { __MetadataBearer };
9
+ export { $Command };
9
10
  /**
10
11
  * @public
11
12
  *
@@ -5,7 +5,8 @@ import { CreateSampleFindingsRequest, CreateSampleFindingsResponse } from "../mo
5
5
  /**
6
6
  * @public
7
7
  */
8
- export { __MetadataBearer, $Command };
8
+ export type { __MetadataBearer };
9
+ export { $Command };
9
10
  /**
10
11
  * @public
11
12
  *
@@ -5,7 +5,8 @@ import { CreateThreatIntelSetRequest, CreateThreatIntelSetResponse } from "../mo
5
5
  /**
6
6
  * @public
7
7
  */
8
- export { __MetadataBearer, $Command };
8
+ export type { __MetadataBearer };
9
+ export { $Command };
9
10
  /**
10
11
  * @public
11
12
  *
@@ -5,7 +5,8 @@ import { DeclineInvitationsRequest, DeclineInvitationsResponse } from "../models
5
5
  /**
6
6
  * @public
7
7
  */
8
- export { __MetadataBearer, $Command };
8
+ export type { __MetadataBearer };
9
+ export { $Command };
9
10
  /**
10
11
  * @public
11
12
  *
@@ -5,7 +5,8 @@ import { DeleteDetectorRequest, DeleteDetectorResponse } from "../models/models_
5
5
  /**
6
6
  * @public
7
7
  */
8
- export { __MetadataBearer, $Command };
8
+ export type { __MetadataBearer };
9
+ export { $Command };
9
10
  /**
10
11
  * @public
11
12
  *
@@ -5,7 +5,8 @@ import { DeleteFilterRequest, DeleteFilterResponse } from "../models/models_0";
5
5
  /**
6
6
  * @public
7
7
  */
8
- export { __MetadataBearer, $Command };
8
+ export type { __MetadataBearer };
9
+ export { $Command };
9
10
  /**
10
11
  * @public
11
12
  *
@@ -5,7 +5,8 @@ import { DeleteIPSetRequest, DeleteIPSetResponse } from "../models/models_0";
5
5
  /**
6
6
  * @public
7
7
  */
8
- export { __MetadataBearer, $Command };
8
+ export type { __MetadataBearer };
9
+ export { $Command };
9
10
  /**
10
11
  * @public
11
12
  *
@@ -5,7 +5,8 @@ import { DeleteInvitationsRequest, DeleteInvitationsResponse } from "../models/m
5
5
  /**
6
6
  * @public
7
7
  */
8
- export { __MetadataBearer, $Command };
8
+ export type { __MetadataBearer };
9
+ export { $Command };
9
10
  /**
10
11
  * @public
11
12
  *
@@ -0,0 +1,72 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { GuardDutyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GuardDutyClient";
4
+ import { DeleteMalwareProtectionPlanRequest } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link DeleteMalwareProtectionPlanCommand}.
14
+ */
15
+ export interface DeleteMalwareProtectionPlanCommandInput extends DeleteMalwareProtectionPlanRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DeleteMalwareProtectionPlanCommand}.
21
+ */
22
+ export interface DeleteMalwareProtectionPlanCommandOutput extends __MetadataBearer {
23
+ }
24
+ declare const DeleteMalwareProtectionPlanCommand_base: {
25
+ new (input: DeleteMalwareProtectionPlanCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteMalwareProtectionPlanCommandInput, DeleteMalwareProtectionPlanCommandOutput, GuardDutyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: DeleteMalwareProtectionPlanCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteMalwareProtectionPlanCommandInput, DeleteMalwareProtectionPlanCommandOutput, GuardDutyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Deletes the Malware Protection plan ID associated with the Malware Protection plan resource.
31
+ * Use this API only when you no longer want to protect the resource associated with this
32
+ * Malware Protection plan ID.</p>
33
+ * @example
34
+ * Use a bare-bones client and the command you need to make an API call.
35
+ * ```javascript
36
+ * import { GuardDutyClient, DeleteMalwareProtectionPlanCommand } from "@aws-sdk/client-guardduty"; // ES Modules import
37
+ * // const { GuardDutyClient, DeleteMalwareProtectionPlanCommand } = require("@aws-sdk/client-guardduty"); // CommonJS import
38
+ * const client = new GuardDutyClient(config);
39
+ * const input = { // DeleteMalwareProtectionPlanRequest
40
+ * MalwareProtectionPlanId: "STRING_VALUE", // required
41
+ * };
42
+ * const command = new DeleteMalwareProtectionPlanCommand(input);
43
+ * const response = await client.send(command);
44
+ * // {};
45
+ *
46
+ * ```
47
+ *
48
+ * @param DeleteMalwareProtectionPlanCommandInput - {@link DeleteMalwareProtectionPlanCommandInput}
49
+ * @returns {@link DeleteMalwareProtectionPlanCommandOutput}
50
+ * @see {@link DeleteMalwareProtectionPlanCommandInput} for command's `input` shape.
51
+ * @see {@link DeleteMalwareProtectionPlanCommandOutput} for command's `response` shape.
52
+ * @see {@link GuardDutyClientResolvedConfig | config} for GuardDutyClient's `config` shape.
53
+ *
54
+ * @throws {@link AccessDeniedException} (client fault)
55
+ * <p>An access denied exception object.</p>
56
+ *
57
+ * @throws {@link BadRequestException} (client fault)
58
+ * <p>A bad request exception object.</p>
59
+ *
60
+ * @throws {@link InternalServerErrorException} (server fault)
61
+ * <p>An internal server error exception object.</p>
62
+ *
63
+ * @throws {@link ResourceNotFoundException} (client fault)
64
+ * <p>The requested resource can't be found.</p>
65
+ *
66
+ * @throws {@link GuardDutyServiceException}
67
+ * <p>Base exception class for all service exceptions from GuardDuty service.</p>
68
+ *
69
+ * @public
70
+ */
71
+ export declare class DeleteMalwareProtectionPlanCommand extends DeleteMalwareProtectionPlanCommand_base {
72
+ }
@@ -5,7 +5,8 @@ import { DeleteMembersRequest, DeleteMembersResponse } from "../models/models_0"
5
5
  /**
6
6
  * @public
7
7
  */
8
- export { __MetadataBearer, $Command };
8
+ export type { __MetadataBearer };
9
+ export { $Command };
9
10
  /**
10
11
  * @public
11
12
  *
@@ -5,7 +5,8 @@ import { DeletePublishingDestinationRequest, DeletePublishingDestinationResponse
5
5
  /**
6
6
  * @public
7
7
  */
8
- export { __MetadataBearer, $Command };
8
+ export type { __MetadataBearer };
9
+ export { $Command };
9
10
  /**
10
11
  * @public
11
12
  *
@@ -5,7 +5,8 @@ import { DeleteThreatIntelSetRequest, DeleteThreatIntelSetResponse } from "../mo
5
5
  /**
6
6
  * @public
7
7
  */
8
- export { __MetadataBearer, $Command };
8
+ export type { __MetadataBearer };
9
+ export { $Command };
9
10
  /**
10
11
  * @public
11
12
  *
@@ -5,7 +5,8 @@ import { DescribeMalwareScansRequest, DescribeMalwareScansResponse } from "../mo
5
5
  /**
6
6
  * @public
7
7
  */
8
- export { __MetadataBearer, $Command };
8
+ export type { __MetadataBearer };
9
+ export { $Command };
9
10
  /**
10
11
  * @public
11
12
  *
@@ -5,7 +5,8 @@ import { DescribeOrganizationConfigurationRequest, DescribeOrganizationConfigura
5
5
  /**
6
6
  * @public
7
7
  */
8
- export { __MetadataBearer, $Command };
8
+ export type { __MetadataBearer };
9
+ export { $Command };
9
10
  /**
10
11
  * @public
11
12
  *
@@ -5,7 +5,8 @@ import { DescribePublishingDestinationRequest, DescribePublishingDestinationResp
5
5
  /**
6
6
  * @public
7
7
  */
8
- export { __MetadataBearer, $Command };
8
+ export type { __MetadataBearer };
9
+ export { $Command };
9
10
  /**
10
11
  * @public
11
12
  *
@@ -5,7 +5,8 @@ import { DisableOrganizationAdminAccountRequest, DisableOrganizationAdminAccount
5
5
  /**
6
6
  * @public
7
7
  */
8
- export { __MetadataBearer, $Command };
8
+ export type { __MetadataBearer };
9
+ export { $Command };
9
10
  /**
10
11
  * @public
11
12
  *
@@ -5,7 +5,8 @@ import { DisassociateFromAdministratorAccountRequest, DisassociateFromAdministra
5
5
  /**
6
6
  * @public
7
7
  */
8
- export { __MetadataBearer, $Command };
8
+ export type { __MetadataBearer };
9
+ export { $Command };
9
10
  /**
10
11
  * @public
11
12
  *
@@ -5,7 +5,8 @@ import { DisassociateFromMasterAccountRequest, DisassociateFromMasterAccountResp
5
5
  /**
6
6
  * @public
7
7
  */
8
- export { __MetadataBearer, $Command };
8
+ export type { __MetadataBearer };
9
+ export { $Command };
9
10
  /**
10
11
  * @public
11
12
  *
@@ -5,7 +5,8 @@ import { DisassociateMembersRequest, DisassociateMembersResponse } from "../mode
5
5
  /**
6
6
  * @public
7
7
  */
8
- export { __MetadataBearer, $Command };
8
+ export type { __MetadataBearer };
9
+ export { $Command };
9
10
  /**
10
11
  * @public
11
12
  *
@@ -5,7 +5,8 @@ import { EnableOrganizationAdminAccountRequest, EnableOrganizationAdminAccountRe
5
5
  /**
6
6
  * @public
7
7
  */
8
- export { __MetadataBearer, $Command };
8
+ export type { __MetadataBearer };
9
+ export { $Command };
9
10
  /**
10
11
  * @public
11
12
  *
@@ -5,7 +5,8 @@ import { GetAdministratorAccountRequest, GetAdministratorAccountResponse } from
5
5
  /**
6
6
  * @public
7
7
  */
8
- export { __MetadataBearer, $Command };
8
+ export type { __MetadataBearer };
9
+ export { $Command };
9
10
  /**
10
11
  * @public
11
12
  *
@@ -5,7 +5,8 @@ import { GetCoverageStatisticsRequest, GetCoverageStatisticsResponse } from "../
5
5
  /**
6
6
  * @public
7
7
  */
8
- export { __MetadataBearer, $Command };
8
+ export type { __MetadataBearer };
9
+ export { $Command };
9
10
  /**
10
11
  * @public
11
12
  *
@@ -5,7 +5,8 @@ import { GetDetectorRequest, GetDetectorResponse } from "../models/models_0";
5
5
  /**
6
6
  * @public
7
7
  */
8
- export { __MetadataBearer, $Command };
8
+ export type { __MetadataBearer };
9
+ export { $Command };
9
10
  /**
10
11
  * @public
11
12
  *
@@ -5,7 +5,8 @@ import { GetFilterRequest, GetFilterResponse } from "../models/models_0";
5
5
  /**
6
6
  * @public
7
7
  */
8
- export { __MetadataBearer, $Command };
8
+ export type { __MetadataBearer };
9
+ export { $Command };
9
10
  /**
10
11
  * @public
11
12
  *
@@ -5,7 +5,8 @@ import { GetFindingsRequest, GetFindingsResponse } from "../models/models_0";
5
5
  /**
6
6
  * @public
7
7
  */
8
- export { __MetadataBearer, $Command };
8
+ export type { __MetadataBearer };
9
+ export { $Command };
9
10
  /**
10
11
  * @public
11
12
  *
@@ -111,6 +112,15 @@ declare const GetFindingsCommand_base: {
111
112
  * // },
112
113
  * // EffectivePermission: "STRING_VALUE",
113
114
  * // },
115
+ * // S3ObjectDetails: [ // S3ObjectDetails
116
+ * // { // S3ObjectDetail
117
+ * // ObjectArn: "STRING_VALUE",
118
+ * // Key: "STRING_VALUE",
119
+ * // ETag: "STRING_VALUE",
120
+ * // Hash: "STRING_VALUE",
121
+ * // VersionId: "STRING_VALUE",
122
+ * // },
123
+ * // ],
114
124
  * // },
115
125
  * // ],
116
126
  * // InstanceDetails: { // InstanceDetails
@@ -792,6 +802,20 @@ declare const GetFindingsCommand_base: {
792
802
  * // },
793
803
  * // },
794
804
  * // },
805
+ * // MalwareScanDetails: { // MalwareScanDetails
806
+ * // Threats: [ // Threats
807
+ * // { // Threat
808
+ * // Name: "STRING_VALUE",
809
+ * // Source: "STRING_VALUE",
810
+ * // ItemPaths: [ // ItemPaths
811
+ * // { // ItemPath
812
+ * // NestedItemPath: "STRING_VALUE",
813
+ * // Hash: "STRING_VALUE",
814
+ * // },
815
+ * // ],
816
+ * // },
817
+ * // ],
818
+ * // },
795
819
  * // },
796
820
  * // Severity: Number("double"), // required
797
821
  * // Title: "STRING_VALUE",
@@ -5,7 +5,8 @@ import { GetFindingsStatisticsRequest, GetFindingsStatisticsResponse } from "../
5
5
  /**
6
6
  * @public
7
7
  */
8
- export { __MetadataBearer, $Command };
8
+ export type { __MetadataBearer };
9
+ export { $Command };
9
10
  /**
10
11
  * @public
11
12
  *
@@ -5,7 +5,8 @@ import { GetIPSetRequest, GetIPSetResponse } from "../models/models_0";
5
5
  /**
6
6
  * @public
7
7
  */
8
- export { __MetadataBearer, $Command };
8
+ export type { __MetadataBearer };
9
+ export { $Command };
9
10
  /**
10
11
  * @public
11
12
  *
@@ -5,7 +5,8 @@ import { GetInvitationsCountRequest, GetInvitationsCountResponse } from "../mode
5
5
  /**
6
6
  * @public
7
7
  */
8
- export { __MetadataBearer, $Command };
8
+ export type { __MetadataBearer };
9
+ export { $Command };
9
10
  /**
10
11
  * @public
11
12
  *
@@ -0,0 +1,98 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { GuardDutyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GuardDutyClient";
4
+ import { GetMalwareProtectionPlanRequest, GetMalwareProtectionPlanResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link GetMalwareProtectionPlanCommand}.
14
+ */
15
+ export interface GetMalwareProtectionPlanCommandInput extends GetMalwareProtectionPlanRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link GetMalwareProtectionPlanCommand}.
21
+ */
22
+ export interface GetMalwareProtectionPlanCommandOutput extends GetMalwareProtectionPlanResponse, __MetadataBearer {
23
+ }
24
+ declare const GetMalwareProtectionPlanCommand_base: {
25
+ new (input: GetMalwareProtectionPlanCommandInput): import("@smithy/smithy-client").CommandImpl<GetMalwareProtectionPlanCommandInput, GetMalwareProtectionPlanCommandOutput, GuardDutyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: GetMalwareProtectionPlanCommandInput): import("@smithy/smithy-client").CommandImpl<GetMalwareProtectionPlanCommandInput, GetMalwareProtectionPlanCommandOutput, GuardDutyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Retrieves the Malware Protection plan details associated with a Malware Protection
31
+ * plan ID.</p>
32
+ * @example
33
+ * Use a bare-bones client and the command you need to make an API call.
34
+ * ```javascript
35
+ * import { GuardDutyClient, GetMalwareProtectionPlanCommand } from "@aws-sdk/client-guardduty"; // ES Modules import
36
+ * // const { GuardDutyClient, GetMalwareProtectionPlanCommand } = require("@aws-sdk/client-guardduty"); // CommonJS import
37
+ * const client = new GuardDutyClient(config);
38
+ * const input = { // GetMalwareProtectionPlanRequest
39
+ * MalwareProtectionPlanId: "STRING_VALUE", // required
40
+ * };
41
+ * const command = new GetMalwareProtectionPlanCommand(input);
42
+ * const response = await client.send(command);
43
+ * // { // GetMalwareProtectionPlanResponse
44
+ * // Arn: "STRING_VALUE",
45
+ * // Role: "STRING_VALUE",
46
+ * // ProtectedResource: { // CreateProtectedResource
47
+ * // S3Bucket: { // CreateS3BucketResource
48
+ * // BucketName: "STRING_VALUE",
49
+ * // ObjectPrefixes: [ // MalwareProtectionPlanObjectPrefixesList
50
+ * // "STRING_VALUE",
51
+ * // ],
52
+ * // },
53
+ * // },
54
+ * // Actions: { // MalwareProtectionPlanActions
55
+ * // Tagging: { // MalwareProtectionPlanTaggingAction
56
+ * // Status: "ENABLED" || "DISABLED",
57
+ * // },
58
+ * // },
59
+ * // CreatedAt: new Date("TIMESTAMP"),
60
+ * // Status: "ACTIVE" || "WARNING" || "ERROR",
61
+ * // StatusReasons: [ // MalwareProtectionPlanStatusReasonsList
62
+ * // { // MalwareProtectionPlanStatusReason
63
+ * // Code: "STRING_VALUE",
64
+ * // Message: "STRING_VALUE",
65
+ * // },
66
+ * // ],
67
+ * // Tags: { // TagMap
68
+ * // "<keys>": "STRING_VALUE",
69
+ * // },
70
+ * // };
71
+ *
72
+ * ```
73
+ *
74
+ * @param GetMalwareProtectionPlanCommandInput - {@link GetMalwareProtectionPlanCommandInput}
75
+ * @returns {@link GetMalwareProtectionPlanCommandOutput}
76
+ * @see {@link GetMalwareProtectionPlanCommandInput} for command's `input` shape.
77
+ * @see {@link GetMalwareProtectionPlanCommandOutput} for command's `response` shape.
78
+ * @see {@link GuardDutyClientResolvedConfig | config} for GuardDutyClient's `config` shape.
79
+ *
80
+ * @throws {@link AccessDeniedException} (client fault)
81
+ * <p>An access denied exception object.</p>
82
+ *
83
+ * @throws {@link BadRequestException} (client fault)
84
+ * <p>A bad request exception object.</p>
85
+ *
86
+ * @throws {@link InternalServerErrorException} (server fault)
87
+ * <p>An internal server error exception object.</p>
88
+ *
89
+ * @throws {@link ResourceNotFoundException} (client fault)
90
+ * <p>The requested resource can't be found.</p>
91
+ *
92
+ * @throws {@link GuardDutyServiceException}
93
+ * <p>Base exception class for all service exceptions from GuardDuty service.</p>
94
+ *
95
+ * @public
96
+ */
97
+ export declare class GetMalwareProtectionPlanCommand extends GetMalwareProtectionPlanCommand_base {
98
+ }
@@ -5,7 +5,8 @@ import { GetMalwareScanSettingsRequest, GetMalwareScanSettingsResponse } from ".
5
5
  /**
6
6
  * @public
7
7
  */
8
- export { __MetadataBearer, $Command };
8
+ export type { __MetadataBearer };
9
+ export { $Command };
9
10
  /**
10
11
  * @public
11
12
  *