@aws-sdk/client-guardduty 3.183.0 → 3.185.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/CHANGELOG.md +11 -0
- package/dist-cjs/protocols/Aws_restJson1.js +2 -2
- package/dist-es/GuardDuty.js +269 -262
- package/dist-es/GuardDutyClient.js +28 -22
- package/dist-es/commands/AcceptAdministratorInvitationCommand.js +28 -21
- package/dist-es/commands/AcceptInvitationCommand.js +28 -21
- package/dist-es/commands/ArchiveFindingsCommand.js +28 -21
- package/dist-es/commands/CreateDetectorCommand.js +28 -21
- package/dist-es/commands/CreateFilterCommand.js +28 -21
- package/dist-es/commands/CreateIPSetCommand.js +28 -21
- package/dist-es/commands/CreateMembersCommand.js +28 -21
- package/dist-es/commands/CreatePublishingDestinationCommand.js +28 -21
- package/dist-es/commands/CreateSampleFindingsCommand.js +28 -21
- package/dist-es/commands/CreateThreatIntelSetCommand.js +28 -21
- package/dist-es/commands/DeclineInvitationsCommand.js +28 -21
- package/dist-es/commands/DeleteDetectorCommand.js +28 -21
- package/dist-es/commands/DeleteFilterCommand.js +28 -21
- package/dist-es/commands/DeleteIPSetCommand.js +28 -21
- package/dist-es/commands/DeleteInvitationsCommand.js +28 -21
- package/dist-es/commands/DeleteMembersCommand.js +28 -21
- package/dist-es/commands/DeletePublishingDestinationCommand.js +28 -21
- package/dist-es/commands/DeleteThreatIntelSetCommand.js +28 -21
- package/dist-es/commands/DescribeMalwareScansCommand.js +28 -21
- package/dist-es/commands/DescribeOrganizationConfigurationCommand.js +28 -21
- package/dist-es/commands/DescribePublishingDestinationCommand.js +28 -21
- package/dist-es/commands/DisableOrganizationAdminAccountCommand.js +28 -21
- package/dist-es/commands/DisassociateFromAdministratorAccountCommand.js +28 -21
- package/dist-es/commands/DisassociateFromMasterAccountCommand.js +28 -21
- package/dist-es/commands/DisassociateMembersCommand.js +28 -21
- package/dist-es/commands/EnableOrganizationAdminAccountCommand.js +28 -21
- package/dist-es/commands/GetAdministratorAccountCommand.js +28 -21
- package/dist-es/commands/GetDetectorCommand.js +28 -21
- package/dist-es/commands/GetFilterCommand.js +28 -21
- package/dist-es/commands/GetFindingsCommand.js +28 -21
- package/dist-es/commands/GetFindingsStatisticsCommand.js +28 -21
- package/dist-es/commands/GetIPSetCommand.js +28 -21
- package/dist-es/commands/GetInvitationsCountCommand.js +28 -21
- package/dist-es/commands/GetMalwareScanSettingsCommand.js +28 -21
- package/dist-es/commands/GetMasterAccountCommand.js +28 -21
- package/dist-es/commands/GetMemberDetectorsCommand.js +28 -21
- package/dist-es/commands/GetMembersCommand.js +28 -21
- package/dist-es/commands/GetRemainingFreeTrialDaysCommand.js +28 -21
- package/dist-es/commands/GetThreatIntelSetCommand.js +28 -21
- package/dist-es/commands/GetUsageStatisticsCommand.js +28 -21
- package/dist-es/commands/InviteMembersCommand.js +28 -21
- package/dist-es/commands/ListDetectorsCommand.js +28 -21
- package/dist-es/commands/ListFiltersCommand.js +28 -21
- package/dist-es/commands/ListFindingsCommand.js +28 -21
- package/dist-es/commands/ListIPSetsCommand.js +28 -21
- package/dist-es/commands/ListInvitationsCommand.js +28 -21
- package/dist-es/commands/ListMembersCommand.js +28 -21
- package/dist-es/commands/ListOrganizationAdminAccountsCommand.js +28 -21
- package/dist-es/commands/ListPublishingDestinationsCommand.js +28 -21
- package/dist-es/commands/ListTagsForResourceCommand.js +28 -21
- package/dist-es/commands/ListThreatIntelSetsCommand.js +28 -21
- package/dist-es/commands/StartMonitoringMembersCommand.js +28 -21
- package/dist-es/commands/StopMonitoringMembersCommand.js +28 -21
- package/dist-es/commands/TagResourceCommand.js +28 -21
- package/dist-es/commands/UnarchiveFindingsCommand.js +28 -21
- package/dist-es/commands/UntagResourceCommand.js +28 -21
- package/dist-es/commands/UpdateDetectorCommand.js +28 -21
- package/dist-es/commands/UpdateFilterCommand.js +28 -21
- package/dist-es/commands/UpdateFindingsFeedbackCommand.js +28 -21
- package/dist-es/commands/UpdateIPSetCommand.js +28 -21
- package/dist-es/commands/UpdateMalwareScanSettingsCommand.js +28 -21
- package/dist-es/commands/UpdateMemberDetectorsCommand.js +28 -21
- package/dist-es/commands/UpdateOrganizationConfigurationCommand.js +28 -21
- package/dist-es/commands/UpdatePublishingDestinationCommand.js +28 -21
- package/dist-es/commands/UpdateThreatIntelSetCommand.js +28 -21
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/GuardDutyServiceException.js +10 -5
- package/dist-es/models/models_0.js +284 -797
- package/dist-es/pagination/DescribeMalwareScansPaginator.js +68 -25
- package/dist-es/pagination/GetUsageStatisticsPaginator.js +68 -25
- package/dist-es/pagination/ListDetectorsPaginator.js +68 -25
- package/dist-es/pagination/ListFiltersPaginator.js +68 -25
- package/dist-es/pagination/ListFindingsPaginator.js +68 -25
- package/dist-es/pagination/ListIPSetsPaginator.js +68 -25
- package/dist-es/pagination/ListInvitationsPaginator.js +68 -25
- package/dist-es/pagination/ListMembersPaginator.js +68 -25
- package/dist-es/pagination/ListOrganizationAdminAccountsPaginator.js +68 -25
- package/dist-es/pagination/ListPublishingDestinationsPaginator.js +68 -25
- package/dist-es/pagination/ListThreatIntelSetsPaginator.js +68 -25
- package/dist-es/protocols/Aws_restJson1.js +6000 -4283
- package/dist-es/runtimeConfig.browser.js +12 -26
- package/dist-es/runtimeConfig.js +12 -30
- package/dist-es/runtimeConfig.native.js +5 -8
- package/dist-es/runtimeConfig.shared.js +11 -8
- package/package.json +5 -5
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { resolveEndpointsConfig, resolveRegionConfig, } from "@aws-sdk/config-resolver";
|
|
2
3
|
import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
|
|
3
4
|
import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
|
|
@@ -8,26 +9,31 @@ import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-sig
|
|
|
8
9
|
import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
|
|
9
10
|
import { Client as __Client, } from "@aws-sdk/smithy-client";
|
|
10
11
|
import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
12
|
+
var GuardDutyClient = (function (_super) {
|
|
13
|
+
__extends(GuardDutyClient, _super);
|
|
14
|
+
function GuardDutyClient(configuration) {
|
|
15
|
+
var _this = this;
|
|
16
|
+
var _config_0 = __getRuntimeConfig(configuration);
|
|
17
|
+
var _config_1 = resolveRegionConfig(_config_0);
|
|
18
|
+
var _config_2 = resolveEndpointsConfig(_config_1);
|
|
19
|
+
var _config_3 = resolveRetryConfig(_config_2);
|
|
20
|
+
var _config_4 = resolveHostHeaderConfig(_config_3);
|
|
21
|
+
var _config_5 = resolveAwsAuthConfig(_config_4);
|
|
22
|
+
var _config_6 = resolveUserAgentConfig(_config_5);
|
|
23
|
+
_this = _super.call(this, _config_6) || this;
|
|
24
|
+
_this.config = _config_6;
|
|
25
|
+
_this.middlewareStack.use(getRetryPlugin(_this.config));
|
|
26
|
+
_this.middlewareStack.use(getContentLengthPlugin(_this.config));
|
|
27
|
+
_this.middlewareStack.use(getHostHeaderPlugin(_this.config));
|
|
28
|
+
_this.middlewareStack.use(getLoggerPlugin(_this.config));
|
|
29
|
+
_this.middlewareStack.use(getRecursionDetectionPlugin(_this.config));
|
|
30
|
+
_this.middlewareStack.use(getAwsAuthPlugin(_this.config));
|
|
31
|
+
_this.middlewareStack.use(getUserAgentPlugin(_this.config));
|
|
32
|
+
return _this;
|
|
29
33
|
}
|
|
30
|
-
destroy() {
|
|
31
|
-
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
+
GuardDutyClient.prototype.destroy = function () {
|
|
35
|
+
_super.prototype.destroy.call(this);
|
|
36
|
+
};
|
|
37
|
+
return GuardDutyClient;
|
|
38
|
+
}(__Client));
|
|
39
|
+
export { GuardDutyClient };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { AcceptAdministratorInvitationRequestFilterSensitiveLog, AcceptAdministratorInvitationResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1AcceptAdministratorInvitationCommand, serializeAws_restJson1AcceptAdministratorInvitationCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var AcceptAdministratorInvitationCommand = (function (_super) {
|
|
7
|
+
__extends(AcceptAdministratorInvitationCommand, _super);
|
|
8
|
+
function AcceptAdministratorInvitationCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
AcceptAdministratorInvitationCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "GuardDutyClient";
|
|
18
|
+
var commandName = "AcceptAdministratorInvitationCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: AcceptAdministratorInvitationRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: AcceptAdministratorInvitationResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
AcceptAdministratorInvitationCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1AcceptAdministratorInvitationCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
AcceptAdministratorInvitationCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1AcceptAdministratorInvitationCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return AcceptAdministratorInvitationCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { AcceptAdministratorInvitationCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { AcceptInvitationRequestFilterSensitiveLog, AcceptInvitationResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1AcceptInvitationCommand, serializeAws_restJson1AcceptInvitationCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var AcceptInvitationCommand = (function (_super) {
|
|
7
|
+
__extends(AcceptInvitationCommand, _super);
|
|
8
|
+
function AcceptInvitationCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
AcceptInvitationCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "GuardDutyClient";
|
|
18
|
+
var commandName = "AcceptInvitationCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: AcceptInvitationRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: AcceptInvitationResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
AcceptInvitationCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1AcceptInvitationCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
AcceptInvitationCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1AcceptInvitationCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return AcceptInvitationCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { AcceptInvitationCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { ArchiveFindingsRequestFilterSensitiveLog, ArchiveFindingsResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1ArchiveFindingsCommand, serializeAws_restJson1ArchiveFindingsCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var ArchiveFindingsCommand = (function (_super) {
|
|
7
|
+
__extends(ArchiveFindingsCommand, _super);
|
|
8
|
+
function ArchiveFindingsCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
ArchiveFindingsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "GuardDutyClient";
|
|
18
|
+
var commandName = "ArchiveFindingsCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: ArchiveFindingsRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: ArchiveFindingsResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
ArchiveFindingsCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1ArchiveFindingsCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
ArchiveFindingsCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1ArchiveFindingsCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return ArchiveFindingsCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { ArchiveFindingsCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { CreateDetectorRequestFilterSensitiveLog, CreateDetectorResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1CreateDetectorCommand, serializeAws_restJson1CreateDetectorCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var CreateDetectorCommand = (function (_super) {
|
|
7
|
+
__extends(CreateDetectorCommand, _super);
|
|
8
|
+
function CreateDetectorCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
CreateDetectorCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "GuardDutyClient";
|
|
18
|
+
var commandName = "CreateDetectorCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: CreateDetectorRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: CreateDetectorResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
CreateDetectorCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1CreateDetectorCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
CreateDetectorCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1CreateDetectorCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return CreateDetectorCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { CreateDetectorCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { CreateFilterRequestFilterSensitiveLog, CreateFilterResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1CreateFilterCommand, serializeAws_restJson1CreateFilterCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var CreateFilterCommand = (function (_super) {
|
|
7
|
+
__extends(CreateFilterCommand, _super);
|
|
8
|
+
function CreateFilterCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
CreateFilterCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "GuardDutyClient";
|
|
18
|
+
var commandName = "CreateFilterCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: CreateFilterRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: CreateFilterResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
CreateFilterCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1CreateFilterCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
CreateFilterCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1CreateFilterCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return CreateFilterCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { CreateFilterCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { CreateIPSetRequestFilterSensitiveLog, CreateIPSetResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1CreateIPSetCommand, serializeAws_restJson1CreateIPSetCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var CreateIPSetCommand = (function (_super) {
|
|
7
|
+
__extends(CreateIPSetCommand, _super);
|
|
8
|
+
function CreateIPSetCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
CreateIPSetCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "GuardDutyClient";
|
|
18
|
+
var commandName = "CreateIPSetCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: CreateIPSetRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: CreateIPSetResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
CreateIPSetCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1CreateIPSetCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
CreateIPSetCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1CreateIPSetCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return CreateIPSetCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { CreateIPSetCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { CreateMembersRequestFilterSensitiveLog, CreateMembersResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1CreateMembersCommand, serializeAws_restJson1CreateMembersCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var CreateMembersCommand = (function (_super) {
|
|
7
|
+
__extends(CreateMembersCommand, _super);
|
|
8
|
+
function CreateMembersCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
CreateMembersCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "GuardDutyClient";
|
|
18
|
+
var commandName = "CreateMembersCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: CreateMembersRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: CreateMembersResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
CreateMembersCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1CreateMembersCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
CreateMembersCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1CreateMembersCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return CreateMembersCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { CreateMembersCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { CreatePublishingDestinationRequestFilterSensitiveLog, CreatePublishingDestinationResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1CreatePublishingDestinationCommand, serializeAws_restJson1CreatePublishingDestinationCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var CreatePublishingDestinationCommand = (function (_super) {
|
|
7
|
+
__extends(CreatePublishingDestinationCommand, _super);
|
|
8
|
+
function CreatePublishingDestinationCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
CreatePublishingDestinationCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "GuardDutyClient";
|
|
18
|
+
var commandName = "CreatePublishingDestinationCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: CreatePublishingDestinationRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: CreatePublishingDestinationResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
CreatePublishingDestinationCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1CreatePublishingDestinationCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
CreatePublishingDestinationCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1CreatePublishingDestinationCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return CreatePublishingDestinationCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { CreatePublishingDestinationCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { CreateSampleFindingsRequestFilterSensitiveLog, CreateSampleFindingsResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1CreateSampleFindingsCommand, serializeAws_restJson1CreateSampleFindingsCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var CreateSampleFindingsCommand = (function (_super) {
|
|
7
|
+
__extends(CreateSampleFindingsCommand, _super);
|
|
8
|
+
function CreateSampleFindingsCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
CreateSampleFindingsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "GuardDutyClient";
|
|
18
|
+
var commandName = "CreateSampleFindingsCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: CreateSampleFindingsRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: CreateSampleFindingsResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
CreateSampleFindingsCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1CreateSampleFindingsCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
CreateSampleFindingsCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1CreateSampleFindingsCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return CreateSampleFindingsCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { CreateSampleFindingsCommand };
|