@aws-sdk/client-guardduty 3.928.0 → 3.929.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/dist-cjs/index.js +13415 -5636
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-es/GuardDutyClient.js +2 -0
- package/dist-es/commands/AcceptAdministratorInvitationCommand.js +3 -9
- package/dist-es/commands/AcceptInvitationCommand.js +3 -9
- package/dist-es/commands/ArchiveFindingsCommand.js +3 -9
- package/dist-es/commands/CreateDetectorCommand.js +3 -9
- package/dist-es/commands/CreateFilterCommand.js +3 -9
- package/dist-es/commands/CreateIPSetCommand.js +3 -9
- package/dist-es/commands/CreateMalwareProtectionPlanCommand.js +3 -9
- package/dist-es/commands/CreateMembersCommand.js +3 -10
- package/dist-es/commands/CreatePublishingDestinationCommand.js +3 -9
- package/dist-es/commands/CreateSampleFindingsCommand.js +3 -9
- package/dist-es/commands/CreateThreatEntitySetCommand.js +3 -9
- package/dist-es/commands/CreateThreatIntelSetCommand.js +3 -9
- package/dist-es/commands/CreateTrustedEntitySetCommand.js +3 -9
- package/dist-es/commands/DeclineInvitationsCommand.js +3 -9
- package/dist-es/commands/DeleteDetectorCommand.js +3 -9
- package/dist-es/commands/DeleteFilterCommand.js +3 -9
- package/dist-es/commands/DeleteIPSetCommand.js +3 -9
- package/dist-es/commands/DeleteInvitationsCommand.js +3 -9
- package/dist-es/commands/DeleteMalwareProtectionPlanCommand.js +3 -9
- package/dist-es/commands/DeleteMembersCommand.js +3 -9
- package/dist-es/commands/DeletePublishingDestinationCommand.js +3 -9
- package/dist-es/commands/DeleteThreatEntitySetCommand.js +3 -9
- package/dist-es/commands/DeleteThreatIntelSetCommand.js +3 -9
- package/dist-es/commands/DeleteTrustedEntitySetCommand.js +3 -9
- package/dist-es/commands/DescribeMalwareScansCommand.js +3 -9
- package/dist-es/commands/DescribeOrganizationConfigurationCommand.js +3 -9
- package/dist-es/commands/DescribePublishingDestinationCommand.js +3 -9
- package/dist-es/commands/DisableOrganizationAdminAccountCommand.js +3 -9
- package/dist-es/commands/DisassociateFromAdministratorAccountCommand.js +3 -9
- package/dist-es/commands/DisassociateFromMasterAccountCommand.js +3 -9
- package/dist-es/commands/DisassociateMembersCommand.js +3 -9
- package/dist-es/commands/EnableOrganizationAdminAccountCommand.js +3 -9
- package/dist-es/commands/GetAdministratorAccountCommand.js +3 -9
- package/dist-es/commands/GetCoverageStatisticsCommand.js +3 -9
- package/dist-es/commands/GetDetectorCommand.js +3 -9
- package/dist-es/commands/GetFilterCommand.js +3 -9
- package/dist-es/commands/GetFindingsCommand.js +3 -10
- package/dist-es/commands/GetFindingsStatisticsCommand.js +3 -9
- package/dist-es/commands/GetIPSetCommand.js +3 -9
- package/dist-es/commands/GetInvitationsCountCommand.js +3 -9
- package/dist-es/commands/GetMalwareProtectionPlanCommand.js +3 -9
- package/dist-es/commands/GetMalwareScanSettingsCommand.js +3 -9
- package/dist-es/commands/GetMasterAccountCommand.js +3 -9
- package/dist-es/commands/GetMemberDetectorsCommand.js +3 -9
- package/dist-es/commands/GetMembersCommand.js +3 -10
- package/dist-es/commands/GetOrganizationStatisticsCommand.js +3 -9
- package/dist-es/commands/GetRemainingFreeTrialDaysCommand.js +3 -9
- package/dist-es/commands/GetThreatEntitySetCommand.js +3 -9
- package/dist-es/commands/GetThreatIntelSetCommand.js +3 -9
- package/dist-es/commands/GetTrustedEntitySetCommand.js +3 -9
- package/dist-es/commands/GetUsageStatisticsCommand.js +3 -9
- package/dist-es/commands/InviteMembersCommand.js +3 -9
- package/dist-es/commands/ListCoverageCommand.js +3 -9
- package/dist-es/commands/ListDetectorsCommand.js +3 -9
- package/dist-es/commands/ListFiltersCommand.js +3 -9
- package/dist-es/commands/ListFindingsCommand.js +3 -9
- package/dist-es/commands/ListIPSetsCommand.js +3 -9
- package/dist-es/commands/ListInvitationsCommand.js +3 -9
- package/dist-es/commands/ListMalwareProtectionPlansCommand.js +3 -9
- package/dist-es/commands/ListMembersCommand.js +3 -10
- package/dist-es/commands/ListOrganizationAdminAccountsCommand.js +3 -9
- package/dist-es/commands/ListPublishingDestinationsCommand.js +3 -9
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
- package/dist-es/commands/ListThreatEntitySetsCommand.js +3 -9
- package/dist-es/commands/ListThreatIntelSetsCommand.js +3 -9
- package/dist-es/commands/ListTrustedEntitySetsCommand.js +3 -9
- package/dist-es/commands/StartMalwareScanCommand.js +3 -9
- package/dist-es/commands/StartMonitoringMembersCommand.js +3 -9
- package/dist-es/commands/StopMonitoringMembersCommand.js +3 -9
- package/dist-es/commands/TagResourceCommand.js +3 -9
- package/dist-es/commands/UnarchiveFindingsCommand.js +3 -9
- package/dist-es/commands/UntagResourceCommand.js +3 -9
- package/dist-es/commands/UpdateDetectorCommand.js +3 -9
- package/dist-es/commands/UpdateFilterCommand.js +3 -9
- package/dist-es/commands/UpdateFindingsFeedbackCommand.js +3 -10
- package/dist-es/commands/UpdateIPSetCommand.js +3 -9
- package/dist-es/commands/UpdateMalwareProtectionPlanCommand.js +3 -9
- package/dist-es/commands/UpdateMalwareScanSettingsCommand.js +3 -9
- package/dist-es/commands/UpdateMemberDetectorsCommand.js +3 -9
- package/dist-es/commands/UpdateOrganizationConfigurationCommand.js +3 -9
- package/dist-es/commands/UpdatePublishingDestinationCommand.js +3 -9
- package/dist-es/commands/UpdateThreatEntitySetCommand.js +3 -9
- package/dist-es/commands/UpdateThreatIntelSetCommand.js +3 -9
- package/dist-es/commands/UpdateTrustedEntitySetCommand.js +3 -9
- package/dist-es/models/models_0.js +0 -113
- package/dist-es/models/models_1.js +0 -22
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +13208 -0
- package/dist-types/GuardDutyClient.d.ts +10 -1
- package/dist-types/models/models_0.d.ts +0 -88
- package/dist-types/models/models_1.d.ts +0 -20
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +2 -5
- package/dist-types/schemas/schemas_0.d.ts +599 -0
- package/dist-types/ts3.4/GuardDutyClient.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +0 -50
- package/dist-types/ts3.4/models/models_1.d.ts +0 -13
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +606 -0
- package/package.json +2 -3
- package/dist-es/protocols/Aws_restJson1.js +0 -4808
- package/dist-types/protocols/Aws_restJson1.d.ts +0 -758
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -1013
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { StopMonitoringMembers } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class StopMonitoringMembersCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("GuardDutyAPIService", "StopMonitoringMembers", {})
|
|
17
13
|
.n("GuardDutyClient", "StopMonitoringMembersCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_StopMonitoringMembersCommand)
|
|
20
|
-
.de(de_StopMonitoringMembersCommand)
|
|
14
|
+
.sc(StopMonitoringMembers)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { TagResource } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class TagResourceCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("GuardDutyAPIService", "TagResource", {})
|
|
17
13
|
.n("GuardDutyClient", "TagResourceCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_TagResourceCommand)
|
|
20
|
-
.de(de_TagResourceCommand)
|
|
14
|
+
.sc(TagResource)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UnarchiveFindings } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UnarchiveFindingsCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("GuardDutyAPIService", "UnarchiveFindings", {})
|
|
17
13
|
.n("GuardDutyClient", "UnarchiveFindingsCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UnarchiveFindingsCommand)
|
|
20
|
-
.de(de_UnarchiveFindingsCommand)
|
|
14
|
+
.sc(UnarchiveFindings)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UntagResource } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UntagResourceCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("GuardDutyAPIService", "UntagResource", {})
|
|
17
13
|
.n("GuardDutyClient", "UntagResourceCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UntagResourceCommand)
|
|
20
|
-
.de(de_UntagResourceCommand)
|
|
14
|
+
.sc(UntagResource)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateDetector } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateDetectorCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("GuardDutyAPIService", "UpdateDetector", {})
|
|
17
13
|
.n("GuardDutyClient", "UpdateDetectorCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateDetectorCommand)
|
|
20
|
-
.de(de_UpdateDetectorCommand)
|
|
14
|
+
.sc(UpdateDetector)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateFilter } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateFilterCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("GuardDutyAPIService", "UpdateFilter", {})
|
|
17
13
|
.n("GuardDutyClient", "UpdateFilterCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateFilterCommand)
|
|
20
|
-
.de(de_UpdateFilterCommand)
|
|
14
|
+
.sc(UpdateFilter)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_UpdateFindingsFeedbackCommand, se_UpdateFindingsFeedbackCommand } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { UpdateFindingsFeedback } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class UpdateFindingsFeedbackCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("GuardDutyAPIService", "UpdateFindingsFeedback", {})
|
|
18
13
|
.n("GuardDutyClient", "UpdateFindingsFeedbackCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_UpdateFindingsFeedbackCommand)
|
|
21
|
-
.de(de_UpdateFindingsFeedbackCommand)
|
|
14
|
+
.sc(UpdateFindingsFeedback)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateIPSet } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateIPSetCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("GuardDutyAPIService", "UpdateIPSet", {})
|
|
17
13
|
.n("GuardDutyClient", "UpdateIPSetCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateIPSetCommand)
|
|
20
|
-
.de(de_UpdateIPSetCommand)
|
|
14
|
+
.sc(UpdateIPSet)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateMalwareProtectionPlan } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateMalwareProtectionPlanCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("GuardDutyAPIService", "UpdateMalwareProtectionPlan", {})
|
|
17
13
|
.n("GuardDutyClient", "UpdateMalwareProtectionPlanCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateMalwareProtectionPlanCommand)
|
|
20
|
-
.de(de_UpdateMalwareProtectionPlanCommand)
|
|
14
|
+
.sc(UpdateMalwareProtectionPlan)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateMalwareScanSettings } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateMalwareScanSettingsCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("GuardDutyAPIService", "UpdateMalwareScanSettings", {})
|
|
17
13
|
.n("GuardDutyClient", "UpdateMalwareScanSettingsCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateMalwareScanSettingsCommand)
|
|
20
|
-
.de(de_UpdateMalwareScanSettingsCommand)
|
|
14
|
+
.sc(UpdateMalwareScanSettings)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateMemberDetectors } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateMemberDetectorsCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("GuardDutyAPIService", "UpdateMemberDetectors", {})
|
|
17
13
|
.n("GuardDutyClient", "UpdateMemberDetectorsCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateMemberDetectorsCommand)
|
|
20
|
-
.de(de_UpdateMemberDetectorsCommand)
|
|
14
|
+
.sc(UpdateMemberDetectors)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateOrganizationConfiguration } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateOrganizationConfigurationCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("GuardDutyAPIService", "UpdateOrganizationConfiguration", {})
|
|
17
13
|
.n("GuardDutyClient", "UpdateOrganizationConfigurationCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateOrganizationConfigurationCommand)
|
|
20
|
-
.de(de_UpdateOrganizationConfigurationCommand)
|
|
14
|
+
.sc(UpdateOrganizationConfiguration)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdatePublishingDestination } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdatePublishingDestinationCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("GuardDutyAPIService", "UpdatePublishingDestination", {})
|
|
17
13
|
.n("GuardDutyClient", "UpdatePublishingDestinationCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdatePublishingDestinationCommand)
|
|
20
|
-
.de(de_UpdatePublishingDestinationCommand)
|
|
14
|
+
.sc(UpdatePublishingDestination)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateThreatEntitySet } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateThreatEntitySetCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("GuardDutyAPIService", "UpdateThreatEntitySet", {})
|
|
17
13
|
.n("GuardDutyClient", "UpdateThreatEntitySetCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateThreatEntitySetCommand)
|
|
20
|
-
.de(de_UpdateThreatEntitySetCommand)
|
|
14
|
+
.sc(UpdateThreatEntitySet)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateThreatIntelSet } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateThreatIntelSetCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("GuardDutyAPIService", "UpdateThreatIntelSet", {})
|
|
17
13
|
.n("GuardDutyClient", "UpdateThreatIntelSetCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateThreatIntelSetCommand)
|
|
20
|
-
.de(de_UpdateThreatIntelSetCommand)
|
|
14
|
+
.sc(UpdateThreatIntelSet)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateTrustedEntitySet } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateTrustedEntitySetCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("GuardDutyAPIService", "UpdateTrustedEntitySet", {})
|
|
17
13
|
.n("GuardDutyClient", "UpdateTrustedEntitySetCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateTrustedEntitySetCommand)
|
|
20
|
-
.de(de_UpdateTrustedEntitySetCommand)
|
|
14
|
+
.sc(UpdateTrustedEntitySet)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
2
1
|
import { GuardDutyServiceException as __BaseException } from "./GuardDutyServiceException";
|
|
3
2
|
export class BadRequestException extends __BaseException {
|
|
4
3
|
name = "BadRequestException";
|
|
@@ -382,115 +381,3 @@ export const Feedback = {
|
|
|
382
381
|
NOT_USEFUL: "NOT_USEFUL",
|
|
383
382
|
USEFUL: "USEFUL",
|
|
384
383
|
};
|
|
385
|
-
export const AccountDetailFilterSensitiveLog = (obj) => ({
|
|
386
|
-
...obj,
|
|
387
|
-
...(obj.Email && { Email: SENSITIVE_STRING }),
|
|
388
|
-
});
|
|
389
|
-
export const RemoteIpDetailsFilterSensitiveLog = (obj) => ({
|
|
390
|
-
...obj,
|
|
391
|
-
...(obj.IpAddressV4 && { IpAddressV4: SENSITIVE_STRING }),
|
|
392
|
-
...(obj.IpAddressV6 && { IpAddressV6: SENSITIVE_STRING }),
|
|
393
|
-
});
|
|
394
|
-
export const AwsApiCallActionFilterSensitiveLog = (obj) => ({
|
|
395
|
-
...obj,
|
|
396
|
-
...(obj.RemoteIpDetails && { RemoteIpDetails: RemoteIpDetailsFilterSensitiveLog(obj.RemoteIpDetails) }),
|
|
397
|
-
});
|
|
398
|
-
export const KubernetesApiCallActionFilterSensitiveLog = (obj) => ({
|
|
399
|
-
...obj,
|
|
400
|
-
...(obj.RemoteIpDetails && { RemoteIpDetails: RemoteIpDetailsFilterSensitiveLog(obj.RemoteIpDetails) }),
|
|
401
|
-
});
|
|
402
|
-
export const LocalIpDetailsFilterSensitiveLog = (obj) => ({
|
|
403
|
-
...obj,
|
|
404
|
-
...(obj.IpAddressV4 && { IpAddressV4: SENSITIVE_STRING }),
|
|
405
|
-
...(obj.IpAddressV6 && { IpAddressV6: SENSITIVE_STRING }),
|
|
406
|
-
});
|
|
407
|
-
export const NetworkConnectionActionFilterSensitiveLog = (obj) => ({
|
|
408
|
-
...obj,
|
|
409
|
-
...(obj.LocalIpDetails && { LocalIpDetails: LocalIpDetailsFilterSensitiveLog(obj.LocalIpDetails) }),
|
|
410
|
-
...(obj.RemoteIpDetails && { RemoteIpDetails: RemoteIpDetailsFilterSensitiveLog(obj.RemoteIpDetails) }),
|
|
411
|
-
});
|
|
412
|
-
export const PortProbeDetailFilterSensitiveLog = (obj) => ({
|
|
413
|
-
...obj,
|
|
414
|
-
...(obj.LocalIpDetails && { LocalIpDetails: LocalIpDetailsFilterSensitiveLog(obj.LocalIpDetails) }),
|
|
415
|
-
...(obj.RemoteIpDetails && { RemoteIpDetails: RemoteIpDetailsFilterSensitiveLog(obj.RemoteIpDetails) }),
|
|
416
|
-
});
|
|
417
|
-
export const PortProbeActionFilterSensitiveLog = (obj) => ({
|
|
418
|
-
...obj,
|
|
419
|
-
...(obj.PortProbeDetails && {
|
|
420
|
-
PortProbeDetails: obj.PortProbeDetails.map((item) => PortProbeDetailFilterSensitiveLog(item)),
|
|
421
|
-
}),
|
|
422
|
-
});
|
|
423
|
-
export const RdsLoginAttemptActionFilterSensitiveLog = (obj) => ({
|
|
424
|
-
...obj,
|
|
425
|
-
...(obj.RemoteIpDetails && { RemoteIpDetails: RemoteIpDetailsFilterSensitiveLog(obj.RemoteIpDetails) }),
|
|
426
|
-
});
|
|
427
|
-
export const ActionFilterSensitiveLog = (obj) => ({
|
|
428
|
-
...obj,
|
|
429
|
-
...(obj.AwsApiCallAction && { AwsApiCallAction: AwsApiCallActionFilterSensitiveLog(obj.AwsApiCallAction) }),
|
|
430
|
-
...(obj.NetworkConnectionAction && {
|
|
431
|
-
NetworkConnectionAction: NetworkConnectionActionFilterSensitiveLog(obj.NetworkConnectionAction),
|
|
432
|
-
}),
|
|
433
|
-
...(obj.PortProbeAction && { PortProbeAction: PortProbeActionFilterSensitiveLog(obj.PortProbeAction) }),
|
|
434
|
-
...(obj.KubernetesApiCallAction && {
|
|
435
|
-
KubernetesApiCallAction: KubernetesApiCallActionFilterSensitiveLog(obj.KubernetesApiCallAction),
|
|
436
|
-
}),
|
|
437
|
-
...(obj.RdsLoginAttemptAction && {
|
|
438
|
-
RdsLoginAttemptAction: RdsLoginAttemptActionFilterSensitiveLog(obj.RdsLoginAttemptAction),
|
|
439
|
-
}),
|
|
440
|
-
});
|
|
441
|
-
export const CreateMembersRequestFilterSensitiveLog = (obj) => ({
|
|
442
|
-
...obj,
|
|
443
|
-
...(obj.AccountDetails && {
|
|
444
|
-
AccountDetails: obj.AccountDetails.map((item) => AccountDetailFilterSensitiveLog(item)),
|
|
445
|
-
}),
|
|
446
|
-
});
|
|
447
|
-
export const PrivateIpAddressDetailsFilterSensitiveLog = (obj) => ({
|
|
448
|
-
...obj,
|
|
449
|
-
...(obj.PrivateIpAddress && { PrivateIpAddress: SENSITIVE_STRING }),
|
|
450
|
-
});
|
|
451
|
-
export const Ec2NetworkInterfaceFilterSensitiveLog = (obj) => ({
|
|
452
|
-
...obj,
|
|
453
|
-
...(obj.PrivateIpAddresses && {
|
|
454
|
-
PrivateIpAddresses: obj.PrivateIpAddresses.map((item) => PrivateIpAddressDetailsFilterSensitiveLog(item)),
|
|
455
|
-
}),
|
|
456
|
-
});
|
|
457
|
-
export const ResourceDataFilterSensitiveLog = (obj) => ({
|
|
458
|
-
...obj,
|
|
459
|
-
...(obj.Ec2NetworkInterface && {
|
|
460
|
-
Ec2NetworkInterface: Ec2NetworkInterfaceFilterSensitiveLog(obj.Ec2NetworkInterface),
|
|
461
|
-
}),
|
|
462
|
-
});
|
|
463
|
-
export const ResourceV2FilterSensitiveLog = (obj) => ({
|
|
464
|
-
...obj,
|
|
465
|
-
});
|
|
466
|
-
export const SequenceFilterSensitiveLog = (obj) => ({
|
|
467
|
-
...obj,
|
|
468
|
-
});
|
|
469
|
-
export const DetectionFilterSensitiveLog = (obj) => ({
|
|
470
|
-
...obj,
|
|
471
|
-
});
|
|
472
|
-
export const NetworkInterfaceFilterSensitiveLog = (obj) => ({
|
|
473
|
-
...obj,
|
|
474
|
-
...(obj.PrivateIpAddress && { PrivateIpAddress: SENSITIVE_STRING }),
|
|
475
|
-
...(obj.PrivateIpAddresses && {
|
|
476
|
-
PrivateIpAddresses: obj.PrivateIpAddresses.map((item) => PrivateIpAddressDetailsFilterSensitiveLog(item)),
|
|
477
|
-
}),
|
|
478
|
-
});
|
|
479
|
-
export const InstanceDetailsFilterSensitiveLog = (obj) => ({
|
|
480
|
-
...obj,
|
|
481
|
-
...(obj.NetworkInterfaces && {
|
|
482
|
-
NetworkInterfaces: obj.NetworkInterfaces.map((item) => NetworkInterfaceFilterSensitiveLog(item)),
|
|
483
|
-
}),
|
|
484
|
-
});
|
|
485
|
-
export const ResourceFilterSensitiveLog = (obj) => ({
|
|
486
|
-
...obj,
|
|
487
|
-
...(obj.InstanceDetails && { InstanceDetails: InstanceDetailsFilterSensitiveLog(obj.InstanceDetails) }),
|
|
488
|
-
});
|
|
489
|
-
export const ServiceFilterSensitiveLog = (obj) => ({
|
|
490
|
-
...obj,
|
|
491
|
-
...(obj.Action && { Action: ActionFilterSensitiveLog(obj.Action) }),
|
|
492
|
-
});
|
|
493
|
-
export const FindingFilterSensitiveLog = (obj) => ({
|
|
494
|
-
...obj,
|
|
495
|
-
...(obj.Service && { Service: ServiceFilterSensitiveLog(obj.Service) }),
|
|
496
|
-
});
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
2
|
-
import { FindingFilterSensitiveLog, } from "./models_0";
|
|
3
1
|
export const FindingStatisticType = {
|
|
4
2
|
COUNT_BY_SEVERITY: "COUNT_BY_SEVERITY",
|
|
5
3
|
};
|
|
@@ -77,23 +75,3 @@ export const UsageStatisticType = {
|
|
|
77
75
|
TOP_ACCOUNTS_BY_FEATURE: "TOP_ACCOUNTS_BY_FEATURE",
|
|
78
76
|
TOP_RESOURCES: "TOP_RESOURCES",
|
|
79
77
|
};
|
|
80
|
-
export const GetFindingsResponseFilterSensitiveLog = (obj) => ({
|
|
81
|
-
...obj,
|
|
82
|
-
...(obj.Findings && { Findings: obj.Findings.map((item) => FindingFilterSensitiveLog(item)) }),
|
|
83
|
-
});
|
|
84
|
-
export const MemberFilterSensitiveLog = (obj) => ({
|
|
85
|
-
...obj,
|
|
86
|
-
...(obj.Email && { Email: SENSITIVE_STRING }),
|
|
87
|
-
});
|
|
88
|
-
export const GetMembersResponseFilterSensitiveLog = (obj) => ({
|
|
89
|
-
...obj,
|
|
90
|
-
...(obj.Members && { Members: obj.Members.map((item) => MemberFilterSensitiveLog(item)) }),
|
|
91
|
-
});
|
|
92
|
-
export const ListMembersResponseFilterSensitiveLog = (obj) => ({
|
|
93
|
-
...obj,
|
|
94
|
-
...(obj.Members && { Members: obj.Members.map((item) => MemberFilterSensitiveLog(item)) }),
|
|
95
|
-
});
|
|
96
|
-
export const UpdateFindingsFeedbackRequestFilterSensitiveLog = (obj) => ({
|
|
97
|
-
...obj,
|
|
98
|
-
...(obj.Comments && { Comments: SENSITIVE_STRING }),
|
|
99
|
-
});
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { AwsSdkSigV4Signer } from "@aws-sdk/core";
|
|
2
|
+
import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
|
|
2
3
|
import { NoOpLogger } from "@smithy/smithy-client";
|
|
3
4
|
import { parseUrl } from "@smithy/url-parser";
|
|
4
5
|
import { fromBase64, toBase64 } from "@smithy/util-base64";
|
|
@@ -22,6 +23,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
22
23
|
},
|
|
23
24
|
],
|
|
24
25
|
logger: config?.logger ?? new NoOpLogger(),
|
|
26
|
+
protocol: config?.protocol ?? new AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.guardduty" }),
|
|
25
27
|
serviceId: config?.serviceId ?? "GuardDuty",
|
|
26
28
|
urlParser: config?.urlParser ?? parseUrl,
|
|
27
29
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|