@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.
- package/README.md +40 -0
- package/dist-cjs/index.js +429 -94
- package/dist-es/GuardDuty.js +10 -0
- package/dist-es/commands/CreateMalwareProtectionPlanCommand.js +24 -0
- package/dist-es/commands/DeleteMalwareProtectionPlanCommand.js +24 -0
- package/dist-es/commands/GetMalwareProtectionPlanCommand.js +24 -0
- package/dist-es/commands/ListMalwareProtectionPlansCommand.js +24 -0
- package/dist-es/commands/UpdateMalwareProtectionPlanCommand.js +24 -0
- package/dist-es/commands/index.js +5 -0
- package/dist-es/models/models_0.js +23 -23
- package/dist-es/models/models_1.js +23 -0
- package/dist-es/protocols/Aws_restJson1.js +282 -1
- package/dist-types/GuardDuty.d.ts +36 -0
- package/dist-types/GuardDutyClient.d.ts +7 -2
- package/dist-types/commands/AcceptAdministratorInvitationCommand.d.ts +2 -1
- package/dist-types/commands/AcceptInvitationCommand.d.ts +2 -1
- package/dist-types/commands/ArchiveFindingsCommand.d.ts +2 -1
- package/dist-types/commands/CreateDetectorCommand.d.ts +2 -1
- package/dist-types/commands/CreateFilterCommand.d.ts +2 -1
- package/dist-types/commands/CreateIPSetCommand.d.ts +2 -1
- package/dist-types/commands/CreateMalwareProtectionPlanCommand.d.ts +91 -0
- package/dist-types/commands/CreateMembersCommand.d.ts +2 -1
- package/dist-types/commands/CreatePublishingDestinationCommand.d.ts +2 -1
- package/dist-types/commands/CreateSampleFindingsCommand.d.ts +2 -1
- package/dist-types/commands/CreateThreatIntelSetCommand.d.ts +2 -1
- package/dist-types/commands/DeclineInvitationsCommand.d.ts +2 -1
- package/dist-types/commands/DeleteDetectorCommand.d.ts +2 -1
- package/dist-types/commands/DeleteFilterCommand.d.ts +2 -1
- package/dist-types/commands/DeleteIPSetCommand.d.ts +2 -1
- package/dist-types/commands/DeleteInvitationsCommand.d.ts +2 -1
- package/dist-types/commands/DeleteMalwareProtectionPlanCommand.d.ts +72 -0
- package/dist-types/commands/DeleteMembersCommand.d.ts +2 -1
- package/dist-types/commands/DeletePublishingDestinationCommand.d.ts +2 -1
- package/dist-types/commands/DeleteThreatIntelSetCommand.d.ts +2 -1
- package/dist-types/commands/DescribeMalwareScansCommand.d.ts +2 -1
- package/dist-types/commands/DescribeOrganizationConfigurationCommand.d.ts +2 -1
- package/dist-types/commands/DescribePublishingDestinationCommand.d.ts +2 -1
- package/dist-types/commands/DisableOrganizationAdminAccountCommand.d.ts +2 -1
- package/dist-types/commands/DisassociateFromAdministratorAccountCommand.d.ts +2 -1
- package/dist-types/commands/DisassociateFromMasterAccountCommand.d.ts +2 -1
- package/dist-types/commands/DisassociateMembersCommand.d.ts +2 -1
- package/dist-types/commands/EnableOrganizationAdminAccountCommand.d.ts +2 -1
- package/dist-types/commands/GetAdministratorAccountCommand.d.ts +2 -1
- package/dist-types/commands/GetCoverageStatisticsCommand.d.ts +2 -1
- package/dist-types/commands/GetDetectorCommand.d.ts +2 -1
- package/dist-types/commands/GetFilterCommand.d.ts +2 -1
- package/dist-types/commands/GetFindingsCommand.d.ts +25 -1
- package/dist-types/commands/GetFindingsStatisticsCommand.d.ts +2 -1
- package/dist-types/commands/GetIPSetCommand.d.ts +2 -1
- package/dist-types/commands/GetInvitationsCountCommand.d.ts +2 -1
- package/dist-types/commands/GetMalwareProtectionPlanCommand.d.ts +98 -0
- package/dist-types/commands/GetMalwareScanSettingsCommand.d.ts +2 -1
- package/dist-types/commands/GetMasterAccountCommand.d.ts +2 -1
- package/dist-types/commands/GetMemberDetectorsCommand.d.ts +2 -1
- package/dist-types/commands/GetMembersCommand.d.ts +2 -1
- package/dist-types/commands/GetOrganizationStatisticsCommand.d.ts +2 -1
- package/dist-types/commands/GetRemainingFreeTrialDaysCommand.d.ts +2 -1
- package/dist-types/commands/GetThreatIntelSetCommand.d.ts +2 -1
- package/dist-types/commands/GetUsageStatisticsCommand.d.ts +3 -2
- package/dist-types/commands/InviteMembersCommand.d.ts +3 -2
- package/dist-types/commands/ListCoverageCommand.d.ts +3 -2
- package/dist-types/commands/ListDetectorsCommand.d.ts +2 -1
- package/dist-types/commands/ListFiltersCommand.d.ts +2 -1
- package/dist-types/commands/ListFindingsCommand.d.ts +2 -1
- package/dist-types/commands/ListIPSetsCommand.d.ts +2 -1
- package/dist-types/commands/ListInvitationsCommand.d.ts +2 -1
- package/dist-types/commands/ListMalwareProtectionPlansCommand.d.ts +75 -0
- package/dist-types/commands/ListMembersCommand.d.ts +2 -1
- package/dist-types/commands/ListOrganizationAdminAccountsCommand.d.ts +2 -1
- package/dist-types/commands/ListPublishingDestinationsCommand.d.ts +2 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -1
- package/dist-types/commands/ListThreatIntelSetsCommand.d.ts +2 -1
- package/dist-types/commands/StartMalwareScanCommand.d.ts +2 -1
- package/dist-types/commands/StartMonitoringMembersCommand.d.ts +2 -1
- package/dist-types/commands/StopMonitoringMembersCommand.d.ts +2 -1
- package/dist-types/commands/TagResourceCommand.d.ts +2 -1
- package/dist-types/commands/UnarchiveFindingsCommand.d.ts +2 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +2 -1
- package/dist-types/commands/UpdateDetectorCommand.d.ts +2 -1
- package/dist-types/commands/UpdateFilterCommand.d.ts +2 -1
- package/dist-types/commands/UpdateFindingsFeedbackCommand.d.ts +2 -1
- package/dist-types/commands/UpdateIPSetCommand.d.ts +2 -1
- package/dist-types/commands/UpdateMalwareProtectionPlanCommand.d.ts +83 -0
- package/dist-types/commands/UpdateMalwareScanSettingsCommand.d.ts +2 -1
- package/dist-types/commands/UpdateMemberDetectorsCommand.d.ts +2 -1
- package/dist-types/commands/UpdateOrganizationConfigurationCommand.d.ts +2 -1
- package/dist-types/commands/UpdatePublishingDestinationCommand.d.ts +2 -1
- package/dist-types/commands/UpdateThreatIntelSetCommand.d.ts +2 -1
- package/dist-types/commands/index.d.ts +5 -0
- package/dist-types/index.d.ts +2 -2
- package/dist-types/models/GuardDutyServiceException.d.ts +2 -1
- package/dist-types/models/models_0.d.ts +331 -376
- package/dist-types/models/models_1.d.ts +469 -1
- package/dist-types/protocols/Aws_restJson1.d.ts +45 -0
- package/dist-types/ts3.4/GuardDuty.d.ts +86 -0
- package/dist-types/ts3.4/GuardDutyClient.d.ts +30 -0
- package/dist-types/ts3.4/commands/AcceptAdministratorInvitationCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/AcceptInvitationCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/ArchiveFindingsCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/CreateDetectorCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/CreateFilterCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/CreateIPSetCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/CreateMalwareProtectionPlanCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/CreateMembersCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/CreatePublishingDestinationCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/CreateSampleFindingsCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/CreateThreatIntelSetCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/DeclineInvitationsCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/DeleteDetectorCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/DeleteFilterCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/DeleteIPSetCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/DeleteInvitationsCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/DeleteMalwareProtectionPlanCommand.d.ts +36 -0
- package/dist-types/ts3.4/commands/DeleteMembersCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/DeletePublishingDestinationCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/DeleteThreatIntelSetCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/DescribeMalwareScansCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/DescribeOrganizationConfigurationCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/DescribePublishingDestinationCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/DisableOrganizationAdminAccountCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/DisassociateFromAdministratorAccountCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/DisassociateFromMasterAccountCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/DisassociateMembersCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/EnableOrganizationAdminAccountCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/GetAdministratorAccountCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/GetCoverageStatisticsCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/GetDetectorCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/GetFilterCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/GetFindingsCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/GetFindingsStatisticsCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/GetIPSetCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/GetInvitationsCountCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/GetMalwareProtectionPlanCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/GetMalwareScanSettingsCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/GetMasterAccountCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/GetMemberDetectorsCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/GetMembersCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/GetOrganizationStatisticsCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/GetRemainingFreeTrialDaysCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/GetThreatIntelSetCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/GetUsageStatisticsCommand.d.ts +3 -2
- package/dist-types/ts3.4/commands/InviteMembersCommand.d.ts +3 -2
- package/dist-types/ts3.4/commands/ListCoverageCommand.d.ts +3 -2
- package/dist-types/ts3.4/commands/ListDetectorsCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/ListFiltersCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/ListFindingsCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/ListIPSetsCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/ListInvitationsCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/ListMalwareProtectionPlansCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/ListMembersCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/ListOrganizationAdminAccountsCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/ListPublishingDestinationsCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/ListThreatIntelSetsCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/StartMalwareScanCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/StartMonitoringMembersCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/StopMonitoringMembersCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/UnarchiveFindingsCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/UpdateDetectorCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/UpdateFilterCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/UpdateFindingsFeedbackCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/UpdateIPSetCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/UpdateMalwareProtectionPlanCommand.d.ts +36 -0
- package/dist-types/ts3.4/commands/UpdateMalwareScanSettingsCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/UpdateMemberDetectorsCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/UpdateOrganizationConfigurationCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/UpdatePublishingDestinationCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/UpdateThreatIntelSetCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/index.d.ts +5 -0
- package/dist-types/ts3.4/models/GuardDutyServiceException.d.ts +2 -1
- package/dist-types/ts3.4/models/models_0.d.ts +86 -100
- package/dist-types/ts3.4/models/models_1.d.ts +127 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +60 -0
- package/package.json +6 -6
|
@@ -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
|
+
}
|
|
@@ -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 { GetFindingsRequest, GetFindingsResponse } from "../models/models_0";
|
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
8
|
-
export { __MetadataBearer
|
|
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",
|
|
@@ -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
|
+
}
|