Skip to content

Commit

Permalink
feat(client-guardduty): Added API support for GuardDuty Malware Prote…
Browse files Browse the repository at this point in the history
…ction for S3.
  • Loading branch information
awstools committed Jun 11, 2024
1 parent 4df90fe commit f58a01d
Show file tree
Hide file tree
Showing 17 changed files with 3,020 additions and 507 deletions.
40 changes: 40 additions & 0 deletions clients/client-guardduty/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -269,6 +269,14 @@ CreateIPSet

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/guardduty/command/CreateIPSetCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-guardduty/Interface/CreateIPSetCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-guardduty/Interface/CreateIPSetCommandOutput/)

</details>
<details>
<summary>
CreateMalwareProtectionPlan
</summary>

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/guardduty/command/CreateMalwareProtectionPlanCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-guardduty/Interface/CreateMalwareProtectionPlanCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-guardduty/Interface/CreateMalwareProtectionPlanCommandOutput/)

</details>
<details>
<summary>
Expand Down Expand Up @@ -341,6 +349,14 @@ DeleteIPSet

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/guardduty/command/DeleteIPSetCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-guardduty/Interface/DeleteIPSetCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-guardduty/Interface/DeleteIPSetCommandOutput/)

</details>
<details>
<summary>
DeleteMalwareProtectionPlan
</summary>

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/guardduty/command/DeleteMalwareProtectionPlanCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-guardduty/Interface/DeleteMalwareProtectionPlanCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-guardduty/Interface/DeleteMalwareProtectionPlanCommandOutput/)

</details>
<details>
<summary>
Expand Down Expand Up @@ -493,6 +509,14 @@ GetIPSet

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/guardduty/command/GetIPSetCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-guardduty/Interface/GetIPSetCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-guardduty/Interface/GetIPSetCommandOutput/)

</details>
<details>
<summary>
GetMalwareProtectionPlan
</summary>

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/guardduty/command/GetMalwareProtectionPlanCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-guardduty/Interface/GetMalwareProtectionPlanCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-guardduty/Interface/GetMalwareProtectionPlanCommandOutput/)

</details>
<details>
<summary>
Expand Down Expand Up @@ -613,6 +637,14 @@ ListIPSets

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/guardduty/command/ListIPSetsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-guardduty/Interface/ListIPSetsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-guardduty/Interface/ListIPSetsCommandOutput/)

</details>
<details>
<summary>
ListMalwareProtectionPlans
</summary>

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/guardduty/command/ListMalwareProtectionPlansCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-guardduty/Interface/ListMalwareProtectionPlansCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-guardduty/Interface/ListMalwareProtectionPlansCommandOutput/)

</details>
<details>
<summary>
Expand Down Expand Up @@ -733,6 +765,14 @@ UpdateIPSet

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/guardduty/command/UpdateIPSetCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-guardduty/Interface/UpdateIPSetCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-guardduty/Interface/UpdateIPSetCommandOutput/)

</details>
<details>
<summary>
UpdateMalwareProtectionPlan
</summary>

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/guardduty/command/UpdateMalwareProtectionPlanCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-guardduty/Interface/UpdateMalwareProtectionPlanCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-guardduty/Interface/UpdateMalwareProtectionPlanCommandOutput/)

</details>
<details>
<summary>
Expand Down
116 changes: 116 additions & 0 deletions clients/client-guardduty/src/GuardDuty.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,11 @@ import {
CreateFilterCommandOutput,
} from "./commands/CreateFilterCommand";
import { CreateIPSetCommand, CreateIPSetCommandInput, CreateIPSetCommandOutput } from "./commands/CreateIPSetCommand";
import {
CreateMalwareProtectionPlanCommand,
CreateMalwareProtectionPlanCommandInput,
CreateMalwareProtectionPlanCommandOutput,
} from "./commands/CreateMalwareProtectionPlanCommand";
import {
CreateMembersCommand,
CreateMembersCommandInput,
Expand Down Expand Up @@ -69,6 +74,11 @@ import {
DeleteInvitationsCommandOutput,
} from "./commands/DeleteInvitationsCommand";
import { DeleteIPSetCommand, DeleteIPSetCommandInput, DeleteIPSetCommandOutput } from "./commands/DeleteIPSetCommand";
import {
DeleteMalwareProtectionPlanCommand,
DeleteMalwareProtectionPlanCommandInput,
DeleteMalwareProtectionPlanCommandOutput,
} from "./commands/DeleteMalwareProtectionPlanCommand";
import {
DeleteMembersCommand,
DeleteMembersCommandInput,
Expand Down Expand Up @@ -148,6 +158,11 @@ import {
GetInvitationsCountCommandOutput,
} from "./commands/GetInvitationsCountCommand";
import { GetIPSetCommand, GetIPSetCommandInput, GetIPSetCommandOutput } from "./commands/GetIPSetCommand";
import {
GetMalwareProtectionPlanCommand,
GetMalwareProtectionPlanCommandInput,
GetMalwareProtectionPlanCommandOutput,
} from "./commands/GetMalwareProtectionPlanCommand";
import {
GetMalwareScanSettingsCommand,
GetMalwareScanSettingsCommandInput,
Expand Down Expand Up @@ -211,6 +226,11 @@ import {
ListInvitationsCommandOutput,
} from "./commands/ListInvitationsCommand";
import { ListIPSetsCommand, ListIPSetsCommandInput, ListIPSetsCommandOutput } from "./commands/ListIPSetsCommand";
import {
ListMalwareProtectionPlansCommand,
ListMalwareProtectionPlansCommandInput,
ListMalwareProtectionPlansCommandOutput,
} from "./commands/ListMalwareProtectionPlansCommand";
import { ListMembersCommand, ListMembersCommandInput, ListMembersCommandOutput } from "./commands/ListMembersCommand";
import {
ListOrganizationAdminAccountsCommand,
Expand Down Expand Up @@ -274,6 +294,11 @@ import {
UpdateFindingsFeedbackCommandOutput,
} from "./commands/UpdateFindingsFeedbackCommand";
import { UpdateIPSetCommand, UpdateIPSetCommandInput, UpdateIPSetCommandOutput } from "./commands/UpdateIPSetCommand";
import {
UpdateMalwareProtectionPlanCommand,
UpdateMalwareProtectionPlanCommandInput,
UpdateMalwareProtectionPlanCommandOutput,
} from "./commands/UpdateMalwareProtectionPlanCommand";
import {
UpdateMalwareScanSettingsCommand,
UpdateMalwareScanSettingsCommandInput,
Expand Down Expand Up @@ -308,6 +333,7 @@ const commands = {
CreateDetectorCommand,
CreateFilterCommand,
CreateIPSetCommand,
CreateMalwareProtectionPlanCommand,
CreateMembersCommand,
CreatePublishingDestinationCommand,
CreateSampleFindingsCommand,
Expand All @@ -317,6 +343,7 @@ const commands = {
DeleteFilterCommand,
DeleteInvitationsCommand,
DeleteIPSetCommand,
DeleteMalwareProtectionPlanCommand,
DeleteMembersCommand,
DeletePublishingDestinationCommand,
DeleteThreatIntelSetCommand,
Expand All @@ -336,6 +363,7 @@ const commands = {
GetFindingsStatisticsCommand,
GetInvitationsCountCommand,
GetIPSetCommand,
GetMalwareProtectionPlanCommand,
GetMalwareScanSettingsCommand,
GetMasterAccountCommand,
GetMemberDetectorsCommand,
Expand All @@ -351,6 +379,7 @@ const commands = {
ListFindingsCommand,
ListInvitationsCommand,
ListIPSetsCommand,
ListMalwareProtectionPlansCommand,
ListMembersCommand,
ListOrganizationAdminAccountsCommand,
ListPublishingDestinationsCommand,
Expand All @@ -366,6 +395,7 @@ const commands = {
UpdateFilterCommand,
UpdateFindingsFeedbackCommand,
UpdateIPSetCommand,
UpdateMalwareProtectionPlanCommand,
UpdateMalwareScanSettingsCommand,
UpdateMemberDetectorsCommand,
UpdateOrganizationConfigurationCommand,
Expand Down Expand Up @@ -458,6 +488,23 @@ export interface GuardDuty {
cb: (err: any, data?: CreateIPSetCommandOutput) => void
): void;

/**
* @see {@link CreateMalwareProtectionPlanCommand}
*/
createMalwareProtectionPlan(
args: CreateMalwareProtectionPlanCommandInput,
options?: __HttpHandlerOptions
): Promise<CreateMalwareProtectionPlanCommandOutput>;
createMalwareProtectionPlan(
args: CreateMalwareProtectionPlanCommandInput,
cb: (err: any, data?: CreateMalwareProtectionPlanCommandOutput) => void
): void;
createMalwareProtectionPlan(
args: CreateMalwareProtectionPlanCommandInput,
options: __HttpHandlerOptions,
cb: (err: any, data?: CreateMalwareProtectionPlanCommandOutput) => void
): void;

/**
* @see {@link CreateMembersCommand}
*/
Expand Down Expand Up @@ -590,6 +637,23 @@ export interface GuardDuty {
cb: (err: any, data?: DeleteIPSetCommandOutput) => void
): void;

/**
* @see {@link DeleteMalwareProtectionPlanCommand}
*/
deleteMalwareProtectionPlan(
args: DeleteMalwareProtectionPlanCommandInput,
options?: __HttpHandlerOptions
): Promise<DeleteMalwareProtectionPlanCommandOutput>;
deleteMalwareProtectionPlan(
args: DeleteMalwareProtectionPlanCommandInput,
cb: (err: any, data?: DeleteMalwareProtectionPlanCommandOutput) => void
): void;
deleteMalwareProtectionPlan(
args: DeleteMalwareProtectionPlanCommandInput,
options: __HttpHandlerOptions,
cb: (err: any, data?: DeleteMalwareProtectionPlanCommandOutput) => void
): void;

/**
* @see {@link DeleteMembersCommand}
*/
Expand Down Expand Up @@ -884,6 +948,23 @@ export interface GuardDuty {
cb: (err: any, data?: GetIPSetCommandOutput) => void
): void;

/**
* @see {@link GetMalwareProtectionPlanCommand}
*/
getMalwareProtectionPlan(
args: GetMalwareProtectionPlanCommandInput,
options?: __HttpHandlerOptions
): Promise<GetMalwareProtectionPlanCommandOutput>;
getMalwareProtectionPlan(
args: GetMalwareProtectionPlanCommandInput,
cb: (err: any, data?: GetMalwareProtectionPlanCommandOutput) => void
): void;
getMalwareProtectionPlan(
args: GetMalwareProtectionPlanCommandInput,
options: __HttpHandlerOptions,
cb: (err: any, data?: GetMalwareProtectionPlanCommandOutput) => void
): void;

/**
* @see {@link GetMalwareScanSettingsCommand}
*/
Expand Down Expand Up @@ -1097,6 +1178,24 @@ export interface GuardDuty {
cb: (err: any, data?: ListIPSetsCommandOutput) => void
): void;

/**
* @see {@link ListMalwareProtectionPlansCommand}
*/
listMalwareProtectionPlans(): Promise<ListMalwareProtectionPlansCommandOutput>;
listMalwareProtectionPlans(
args: ListMalwareProtectionPlansCommandInput,
options?: __HttpHandlerOptions
): Promise<ListMalwareProtectionPlansCommandOutput>;
listMalwareProtectionPlans(
args: ListMalwareProtectionPlansCommandInput,
cb: (err: any, data?: ListMalwareProtectionPlansCommandOutput) => void
): void;
listMalwareProtectionPlans(
args: ListMalwareProtectionPlansCommandInput,
options: __HttpHandlerOptions,
cb: (err: any, data?: ListMalwareProtectionPlansCommandOutput) => void
): void;

/**
* @see {@link ListMembersCommand}
*/
Expand Down Expand Up @@ -1320,6 +1419,23 @@ export interface GuardDuty {
cb: (err: any, data?: UpdateIPSetCommandOutput) => void
): void;

/**
* @see {@link UpdateMalwareProtectionPlanCommand}
*/
updateMalwareProtectionPlan(
args: UpdateMalwareProtectionPlanCommandInput,
options?: __HttpHandlerOptions
): Promise<UpdateMalwareProtectionPlanCommandOutput>;
updateMalwareProtectionPlan(
args: UpdateMalwareProtectionPlanCommandInput,
cb: (err: any, data?: UpdateMalwareProtectionPlanCommandOutput) => void
): void;
updateMalwareProtectionPlan(
args: UpdateMalwareProtectionPlanCommandInput,
options: __HttpHandlerOptions,
cb: (err: any, data?: UpdateMalwareProtectionPlanCommandOutput) => void
): void;

/**
* @see {@link UpdateMalwareScanSettingsCommand}
*/
Expand Down
Loading

0 comments on commit f58a01d

Please sign in to comment.