@aws-sdk/client-guardduty 3.928.0 → 3.930.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 +33 -34
- 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
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
4
|
const core_1 = require("@aws-sdk/core");
|
|
5
|
+
const protocols_1 = require("@aws-sdk/core/protocols");
|
|
5
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
6
7
|
const url_parser_1 = require("@smithy/url-parser");
|
|
7
8
|
const util_base64_1 = require("@smithy/util-base64");
|
|
@@ -25,6 +26,7 @@ const getRuntimeConfig = (config) => {
|
|
|
25
26
|
},
|
|
26
27
|
],
|
|
27
28
|
logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
|
|
29
|
+
protocol: config?.protocol ?? new protocols_1.AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.guardduty" }),
|
|
28
30
|
serviceId: config?.serviceId ?? "GuardDuty",
|
|
29
31
|
urlParser: config?.urlParser ?? url_parser_1.parseUrl,
|
|
30
32
|
utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
|
|
@@ -4,6 +4,7 @@ import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detec
|
|
|
4
4
|
import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
|
|
5
5
|
import { resolveRegionConfig } from "@smithy/config-resolver";
|
|
6
6
|
import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
|
|
7
|
+
import { getSchemaSerdePlugin } from "@smithy/core/schema";
|
|
7
8
|
import { getContentLengthPlugin } from "@smithy/middleware-content-length";
|
|
8
9
|
import { resolveEndpointConfig } from "@smithy/middleware-endpoint";
|
|
9
10
|
import { getRetryPlugin, resolveRetryConfig } from "@smithy/middleware-retry";
|
|
@@ -28,6 +29,7 @@ export class GuardDutyClient extends __Client {
|
|
|
28
29
|
const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
|
|
29
30
|
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
30
31
|
this.config = _config_8;
|
|
32
|
+
this.middlewareStack.use(getSchemaSerdePlugin(this.config));
|
|
31
33
|
this.middlewareStack.use(getUserAgentPlugin(this.config));
|
|
32
34
|
this.middlewareStack.use(getRetryPlugin(this.config));
|
|
33
35
|
this.middlewareStack.use(getContentLengthPlugin(this.config));
|
|
@@ -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 { AcceptAdministratorInvitation } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class AcceptAdministratorInvitationCommand 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", "AcceptAdministratorInvitation", {})
|
|
17
13
|
.n("GuardDutyClient", "AcceptAdministratorInvitationCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_AcceptAdministratorInvitationCommand)
|
|
20
|
-
.de(de_AcceptAdministratorInvitationCommand)
|
|
14
|
+
.sc(AcceptAdministratorInvitation)
|
|
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 { AcceptInvitation } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class AcceptInvitationCommand 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", "AcceptInvitation", {})
|
|
17
13
|
.n("GuardDutyClient", "AcceptInvitationCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_AcceptInvitationCommand)
|
|
20
|
-
.de(de_AcceptInvitationCommand)
|
|
14
|
+
.sc(AcceptInvitation)
|
|
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 { ArchiveFindings } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class ArchiveFindingsCommand 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", "ArchiveFindings", {})
|
|
17
13
|
.n("GuardDutyClient", "ArchiveFindingsCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_ArchiveFindingsCommand)
|
|
20
|
-
.de(de_ArchiveFindingsCommand)
|
|
14
|
+
.sc(ArchiveFindings)
|
|
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 { CreateDetector } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class CreateDetectorCommand 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", "CreateDetector", {})
|
|
17
13
|
.n("GuardDutyClient", "CreateDetectorCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_CreateDetectorCommand)
|
|
20
|
-
.de(de_CreateDetectorCommand)
|
|
14
|
+
.sc(CreateDetector)
|
|
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 { CreateFilter } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class CreateFilterCommand 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", "CreateFilter", {})
|
|
17
13
|
.n("GuardDutyClient", "CreateFilterCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_CreateFilterCommand)
|
|
20
|
-
.de(de_CreateFilterCommand)
|
|
14
|
+
.sc(CreateFilter)
|
|
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 { CreateIPSet } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class CreateIPSetCommand 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", "CreateIPSet", {})
|
|
17
13
|
.n("GuardDutyClient", "CreateIPSetCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_CreateIPSetCommand)
|
|
20
|
-
.de(de_CreateIPSetCommand)
|
|
14
|
+
.sc(CreateIPSet)
|
|
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 { CreateMalwareProtectionPlan } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class CreateMalwareProtectionPlanCommand 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", "CreateMalwareProtectionPlan", {})
|
|
17
13
|
.n("GuardDutyClient", "CreateMalwareProtectionPlanCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_CreateMalwareProtectionPlanCommand)
|
|
20
|
-
.de(de_CreateMalwareProtectionPlanCommand)
|
|
14
|
+
.sc(CreateMalwareProtectionPlan)
|
|
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_CreateMembersCommand, se_CreateMembersCommand } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { CreateMembers } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class CreateMembersCommand 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", "CreateMembers", {})
|
|
18
13
|
.n("GuardDutyClient", "CreateMembersCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_CreateMembersCommand)
|
|
21
|
-
.de(de_CreateMembersCommand)
|
|
14
|
+
.sc(CreateMembers)
|
|
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 { CreatePublishingDestination } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class CreatePublishingDestinationCommand 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", "CreatePublishingDestination", {})
|
|
17
13
|
.n("GuardDutyClient", "CreatePublishingDestinationCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_CreatePublishingDestinationCommand)
|
|
20
|
-
.de(de_CreatePublishingDestinationCommand)
|
|
14
|
+
.sc(CreatePublishingDestination)
|
|
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 { CreateSampleFindings } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class CreateSampleFindingsCommand 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", "CreateSampleFindings", {})
|
|
17
13
|
.n("GuardDutyClient", "CreateSampleFindingsCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_CreateSampleFindingsCommand)
|
|
20
|
-
.de(de_CreateSampleFindingsCommand)
|
|
14
|
+
.sc(CreateSampleFindings)
|
|
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 { CreateThreatEntitySet } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class CreateThreatEntitySetCommand 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", "CreateThreatEntitySet", {})
|
|
17
13
|
.n("GuardDutyClient", "CreateThreatEntitySetCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_CreateThreatEntitySetCommand)
|
|
20
|
-
.de(de_CreateThreatEntitySetCommand)
|
|
14
|
+
.sc(CreateThreatEntitySet)
|
|
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 { CreateThreatIntelSet } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class CreateThreatIntelSetCommand 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", "CreateThreatIntelSet", {})
|
|
17
13
|
.n("GuardDutyClient", "CreateThreatIntelSetCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_CreateThreatIntelSetCommand)
|
|
20
|
-
.de(de_CreateThreatIntelSetCommand)
|
|
14
|
+
.sc(CreateThreatIntelSet)
|
|
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 { CreateTrustedEntitySet } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class CreateTrustedEntitySetCommand 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", "CreateTrustedEntitySet", {})
|
|
17
13
|
.n("GuardDutyClient", "CreateTrustedEntitySetCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_CreateTrustedEntitySetCommand)
|
|
20
|
-
.de(de_CreateTrustedEntitySetCommand)
|
|
14
|
+
.sc(CreateTrustedEntitySet)
|
|
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 { DeclineInvitations } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class DeclineInvitationsCommand 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", "DeclineInvitations", {})
|
|
17
13
|
.n("GuardDutyClient", "DeclineInvitationsCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_DeclineInvitationsCommand)
|
|
20
|
-
.de(de_DeclineInvitationsCommand)
|
|
14
|
+
.sc(DeclineInvitations)
|
|
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 { DeleteDetector } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class DeleteDetectorCommand 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", "DeleteDetector", {})
|
|
17
13
|
.n("GuardDutyClient", "DeleteDetectorCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_DeleteDetectorCommand)
|
|
20
|
-
.de(de_DeleteDetectorCommand)
|
|
14
|
+
.sc(DeleteDetector)
|
|
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 { DeleteFilter } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class DeleteFilterCommand 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", "DeleteFilter", {})
|
|
17
13
|
.n("GuardDutyClient", "DeleteFilterCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_DeleteFilterCommand)
|
|
20
|
-
.de(de_DeleteFilterCommand)
|
|
14
|
+
.sc(DeleteFilter)
|
|
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 { DeleteIPSet } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class DeleteIPSetCommand 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", "DeleteIPSet", {})
|
|
17
13
|
.n("GuardDutyClient", "DeleteIPSetCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_DeleteIPSetCommand)
|
|
20
|
-
.de(de_DeleteIPSetCommand)
|
|
14
|
+
.sc(DeleteIPSet)
|
|
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 { DeleteInvitations } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class DeleteInvitationsCommand 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", "DeleteInvitations", {})
|
|
17
13
|
.n("GuardDutyClient", "DeleteInvitationsCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_DeleteInvitationsCommand)
|
|
20
|
-
.de(de_DeleteInvitationsCommand)
|
|
14
|
+
.sc(DeleteInvitations)
|
|
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 { DeleteMalwareProtectionPlan } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class DeleteMalwareProtectionPlanCommand 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", "DeleteMalwareProtectionPlan", {})
|
|
17
13
|
.n("GuardDutyClient", "DeleteMalwareProtectionPlanCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_DeleteMalwareProtectionPlanCommand)
|
|
20
|
-
.de(de_DeleteMalwareProtectionPlanCommand)
|
|
14
|
+
.sc(DeleteMalwareProtectionPlan)
|
|
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 { DeleteMembers } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class DeleteMembersCommand 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", "DeleteMembers", {})
|
|
17
13
|
.n("GuardDutyClient", "DeleteMembersCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_DeleteMembersCommand)
|
|
20
|
-
.de(de_DeleteMembersCommand)
|
|
14
|
+
.sc(DeleteMembers)
|
|
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 { DeletePublishingDestination } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class DeletePublishingDestinationCommand 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", "DeletePublishingDestination", {})
|
|
17
13
|
.n("GuardDutyClient", "DeletePublishingDestinationCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_DeletePublishingDestinationCommand)
|
|
20
|
-
.de(de_DeletePublishingDestinationCommand)
|
|
14
|
+
.sc(DeletePublishingDestination)
|
|
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 { DeleteThreatEntitySet } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class DeleteThreatEntitySetCommand 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", "DeleteThreatEntitySet", {})
|
|
17
13
|
.n("GuardDutyClient", "DeleteThreatEntitySetCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_DeleteThreatEntitySetCommand)
|
|
20
|
-
.de(de_DeleteThreatEntitySetCommand)
|
|
14
|
+
.sc(DeleteThreatEntitySet)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|