@aws-sdk/client-security-ir 3.703.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/LICENSE +201 -0
- package/README.md +381 -0
- package/dist-cjs/SecurityIR.js +55 -0
- package/dist-cjs/SecurityIRClient.js +50 -0
- package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
- package/dist-cjs/auth/httpAuthSchemeProvider.js +47 -0
- package/dist-cjs/commands/BatchGetMemberAccountDetailsCommand.js +26 -0
- package/dist-cjs/commands/CancelMembershipCommand.js +26 -0
- package/dist-cjs/commands/CloseCaseCommand.js +26 -0
- package/dist-cjs/commands/CreateCaseCommand.js +27 -0
- package/dist-cjs/commands/CreateCaseCommentCommand.js +27 -0
- package/dist-cjs/commands/CreateMembershipCommand.js +27 -0
- package/dist-cjs/commands/GetCaseAttachmentDownloadUrlCommand.js +27 -0
- package/dist-cjs/commands/GetCaseAttachmentUploadUrlCommand.js +27 -0
- package/dist-cjs/commands/GetCaseCommand.js +27 -0
- package/dist-cjs/commands/GetMembershipCommand.js +27 -0
- package/dist-cjs/commands/ListCaseEditsCommand.js +26 -0
- package/dist-cjs/commands/ListCasesCommand.js +27 -0
- package/dist-cjs/commands/ListCommentsCommand.js +27 -0
- package/dist-cjs/commands/ListMembershipsCommand.js +26 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +26 -0
- package/dist-cjs/commands/TagResourceCommand.js +26 -0
- package/dist-cjs/commands/UntagResourceCommand.js +26 -0
- package/dist-cjs/commands/UpdateCaseCommand.js +27 -0
- package/dist-cjs/commands/UpdateCaseCommentCommand.js +27 -0
- package/dist-cjs/commands/UpdateCaseStatusCommand.js +26 -0
- package/dist-cjs/commands/UpdateMembershipCommand.js +27 -0
- package/dist-cjs/commands/UpdateResolverTypeCommand.js +26 -0
- package/dist-cjs/commands/index.js +25 -0
- package/dist-cjs/endpoint/EndpointParameters.js +16 -0
- package/dist-cjs/endpoint/endpointResolver.js +18 -0
- package/dist-cjs/endpoint/ruleset.js +7 -0
- package/dist-cjs/extensionConfiguration.js +2 -0
- package/dist-cjs/index.js +11 -0
- package/dist-cjs/models/SecurityIRServiceException.js +12 -0
- package/dist-cjs/models/index.js +4 -0
- package/dist-cjs/models/models_0.js +373 -0
- package/dist-cjs/pagination/Interfaces.js +2 -0
- package/dist-cjs/pagination/ListCaseEditsPaginator.js +7 -0
- package/dist-cjs/pagination/ListCasesPaginator.js +7 -0
- package/dist-cjs/pagination/ListCommentsPaginator.js +7 -0
- package/dist-cjs/pagination/ListMembershipsPaginator.js +7 -0
- package/dist-cjs/pagination/index.js +8 -0
- package/dist-cjs/protocols/Aws_restJson1.js +956 -0
- package/dist-cjs/runtimeConfig.browser.js +39 -0
- package/dist-cjs/runtimeConfig.js +50 -0
- package/dist-cjs/runtimeConfig.native.js +15 -0
- package/dist-cjs/runtimeConfig.shared.js +34 -0
- package/dist-cjs/runtimeExtensions.js +25 -0
- package/dist-es/SecurityIR.js +51 -0
- package/dist-es/SecurityIRClient.js +46 -0
- package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/dist-es/auth/httpAuthSchemeProvider.js +41 -0
- package/dist-es/commands/BatchGetMemberAccountDetailsCommand.js +22 -0
- package/dist-es/commands/CancelMembershipCommand.js +22 -0
- package/dist-es/commands/CloseCaseCommand.js +22 -0
- package/dist-es/commands/CreateCaseCommand.js +23 -0
- package/dist-es/commands/CreateCaseCommentCommand.js +23 -0
- package/dist-es/commands/CreateMembershipCommand.js +23 -0
- package/dist-es/commands/GetCaseAttachmentDownloadUrlCommand.js +23 -0
- package/dist-es/commands/GetCaseAttachmentUploadUrlCommand.js +23 -0
- package/dist-es/commands/GetCaseCommand.js +23 -0
- package/dist-es/commands/GetMembershipCommand.js +23 -0
- package/dist-es/commands/ListCaseEditsCommand.js +22 -0
- package/dist-es/commands/ListCasesCommand.js +23 -0
- package/dist-es/commands/ListCommentsCommand.js +23 -0
- package/dist-es/commands/ListMembershipsCommand.js +22 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +22 -0
- package/dist-es/commands/TagResourceCommand.js +22 -0
- package/dist-es/commands/UntagResourceCommand.js +22 -0
- package/dist-es/commands/UpdateCaseCommand.js +23 -0
- package/dist-es/commands/UpdateCaseCommentCommand.js +23 -0
- package/dist-es/commands/UpdateCaseStatusCommand.js +22 -0
- package/dist-es/commands/UpdateMembershipCommand.js +23 -0
- package/dist-es/commands/UpdateResolverTypeCommand.js +22 -0
- package/dist-es/commands/index.js +22 -0
- package/dist-es/endpoint/EndpointParameters.js +12 -0
- package/dist-es/endpoint/endpointResolver.js +14 -0
- package/dist-es/endpoint/ruleset.js +4 -0
- package/dist-es/extensionConfiguration.js +1 -0
- package/dist-es/index.js +6 -0
- package/dist-es/models/SecurityIRServiceException.js +8 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +341 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListCaseEditsPaginator.js +4 -0
- package/dist-es/pagination/ListCasesPaginator.js +4 -0
- package/dist-es/pagination/ListCommentsPaginator.js +4 -0
- package/dist-es/pagination/ListMembershipsPaginator.js +4 -0
- package/dist-es/pagination/index.js +5 -0
- package/dist-es/protocols/Aws_restJson1.js +909 -0
- package/dist-es/runtimeConfig.browser.js +34 -0
- package/dist-es/runtimeConfig.js +45 -0
- package/dist-es/runtimeConfig.native.js +11 -0
- package/dist-es/runtimeConfig.shared.js +30 -0
- package/dist-es/runtimeExtensions.js +21 -0
- package/dist-types/SecurityIR.d.ts +166 -0
- package/dist-types/SecurityIRClient.d.ts +191 -0
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +61 -0
- package/dist-types/commands/BatchGetMemberAccountDetailsCommand.d.ts +114 -0
- package/dist-types/commands/CancelMembershipCommand.d.ts +98 -0
- package/dist-types/commands/CloseCaseCommand.d.ts +99 -0
- package/dist-types/commands/CreateCaseCommand.d.ts +130 -0
- package/dist-types/commands/CreateCaseCommentCommand.d.ts +100 -0
- package/dist-types/commands/CreateMembershipCommand.d.ts +115 -0
- package/dist-types/commands/GetCaseAttachmentDownloadUrlCommand.d.ts +99 -0
- package/dist-types/commands/GetCaseAttachmentUploadUrlCommand.d.ts +101 -0
- package/dist-types/commands/GetCaseCommand.d.ts +143 -0
- package/dist-types/commands/GetMembershipCommand.d.ts +120 -0
- package/dist-types/commands/ListCaseEditsCommand.d.ts +109 -0
- package/dist-types/commands/ListCasesCommand.d.ts +114 -0
- package/dist-types/commands/ListCommentsCommand.d.ts +111 -0
- package/dist-types/commands/ListMembershipsCommand.d.ts +108 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +100 -0
- package/dist-types/commands/TagResourceCommand.d.ts +99 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +99 -0
- package/dist-types/commands/UpdateCaseCommand.d.ts +149 -0
- package/dist-types/commands/UpdateCaseCommentCommand.d.ts +101 -0
- package/dist-types/commands/UpdateCaseStatusCommand.d.ts +101 -0
- package/dist-types/commands/UpdateMembershipCommand.d.ts +110 -0
- package/dist-types/commands/UpdateResolverTypeCommand.d.ts +105 -0
- package/dist-types/commands/index.d.ts +22 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +34 -0
- package/dist-types/endpoint/endpointResolver.d.ts +5 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/extensionConfiguration.d.ts +9 -0
- package/dist-types/index.d.ts +14 -0
- package/dist-types/models/SecurityIRServiceException.d.ts +14 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +1734 -0
- package/dist-types/pagination/Interfaces.d.ts +8 -0
- package/dist-types/pagination/ListCaseEditsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListCasesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListCommentsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListMembershipsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +5 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +200 -0
- package/dist-types/runtimeConfig.browser.d.ts +48 -0
- package/dist-types/runtimeConfig.d.ts +48 -0
- package/dist-types/runtimeConfig.native.d.ts +47 -0
- package/dist-types/runtimeConfig.shared.d.ts +21 -0
- package/dist-types/runtimeExtensions.d.ts +17 -0
- package/dist-types/ts3.4/SecurityIR.d.ts +383 -0
- package/dist-types/ts3.4/SecurityIRClient.d.ts +250 -0
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +44 -0
- package/dist-types/ts3.4/commands/BatchGetMemberAccountDetailsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CancelMembershipCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/CloseCaseCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/CreateCaseCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/CreateCaseCommentCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateMembershipCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/GetCaseAttachmentDownloadUrlCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetCaseAttachmentUploadUrlCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetCaseCommand.d.ts +43 -0
- package/dist-types/ts3.4/commands/GetMembershipCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/ListCaseEditsCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/ListCasesCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/ListCommentsCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/ListMembershipsCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/UpdateCaseCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/UpdateCaseCommentCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateCaseStatusCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/UpdateMembershipCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/UpdateResolverTypeCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +22 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +45 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
- package/dist-types/ts3.4/index.d.ts +9 -0
- package/dist-types/ts3.4/models/SecurityIRServiceException.d.ts +9 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +552 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListCaseEditsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListCasesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListCommentsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListMembershipsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +5 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +269 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +93 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +94 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +87 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +21 -0
- package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
- package/package.json +103 -0
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UpdateCaseCommentCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
|
+
const models_0_1 = require("../models/models_0");
|
|
10
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
11
|
+
class UpdateCaseCommentCommand extends smithy_client_1.Command
|
|
12
|
+
.classBuilder()
|
|
13
|
+
.ep(EndpointParameters_1.commonParams)
|
|
14
|
+
.m(function (Command, cs, config, o) {
|
|
15
|
+
return [
|
|
16
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
17
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
18
|
+
];
|
|
19
|
+
})
|
|
20
|
+
.s("SecurityIncidentResponse", "UpdateCaseComment", {})
|
|
21
|
+
.n("SecurityIRClient", "UpdateCaseCommentCommand")
|
|
22
|
+
.f(models_0_1.UpdateCaseCommentRequestFilterSensitiveLog, models_0_1.UpdateCaseCommentResponseFilterSensitiveLog)
|
|
23
|
+
.ser(Aws_restJson1_1.se_UpdateCaseCommentCommand)
|
|
24
|
+
.de(Aws_restJson1_1.de_UpdateCaseCommentCommand)
|
|
25
|
+
.build() {
|
|
26
|
+
}
|
|
27
|
+
exports.UpdateCaseCommentCommand = UpdateCaseCommentCommand;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UpdateCaseStatusCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
+
class UpdateCaseStatusCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep(EndpointParameters_1.commonParams)
|
|
13
|
+
.m(function (Command, cs, config, o) {
|
|
14
|
+
return [
|
|
15
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
16
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
17
|
+
];
|
|
18
|
+
})
|
|
19
|
+
.s("SecurityIncidentResponse", "UpdateCaseStatus", {})
|
|
20
|
+
.n("SecurityIRClient", "UpdateCaseStatusCommand")
|
|
21
|
+
.f(void 0, void 0)
|
|
22
|
+
.ser(Aws_restJson1_1.se_UpdateCaseStatusCommand)
|
|
23
|
+
.de(Aws_restJson1_1.de_UpdateCaseStatusCommand)
|
|
24
|
+
.build() {
|
|
25
|
+
}
|
|
26
|
+
exports.UpdateCaseStatusCommand = UpdateCaseStatusCommand;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UpdateMembershipCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
|
+
const models_0_1 = require("../models/models_0");
|
|
10
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
11
|
+
class UpdateMembershipCommand extends smithy_client_1.Command
|
|
12
|
+
.classBuilder()
|
|
13
|
+
.ep(EndpointParameters_1.commonParams)
|
|
14
|
+
.m(function (Command, cs, config, o) {
|
|
15
|
+
return [
|
|
16
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
17
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
18
|
+
];
|
|
19
|
+
})
|
|
20
|
+
.s("SecurityIncidentResponse", "UpdateMembership", {})
|
|
21
|
+
.n("SecurityIRClient", "UpdateMembershipCommand")
|
|
22
|
+
.f(models_0_1.UpdateMembershipRequestFilterSensitiveLog, void 0)
|
|
23
|
+
.ser(Aws_restJson1_1.se_UpdateMembershipCommand)
|
|
24
|
+
.de(Aws_restJson1_1.de_UpdateMembershipCommand)
|
|
25
|
+
.build() {
|
|
26
|
+
}
|
|
27
|
+
exports.UpdateMembershipCommand = UpdateMembershipCommand;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UpdateResolverTypeCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
+
class UpdateResolverTypeCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep(EndpointParameters_1.commonParams)
|
|
13
|
+
.m(function (Command, cs, config, o) {
|
|
14
|
+
return [
|
|
15
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
16
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
17
|
+
];
|
|
18
|
+
})
|
|
19
|
+
.s("SecurityIncidentResponse", "UpdateResolverType", {})
|
|
20
|
+
.n("SecurityIRClient", "UpdateResolverTypeCommand")
|
|
21
|
+
.f(void 0, void 0)
|
|
22
|
+
.ser(Aws_restJson1_1.se_UpdateResolverTypeCommand)
|
|
23
|
+
.de(Aws_restJson1_1.de_UpdateResolverTypeCommand)
|
|
24
|
+
.build() {
|
|
25
|
+
}
|
|
26
|
+
exports.UpdateResolverTypeCommand = UpdateResolverTypeCommand;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
tslib_1.__exportStar(require("./BatchGetMemberAccountDetailsCommand"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./CancelMembershipCommand"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./CloseCaseCommand"), exports);
|
|
7
|
+
tslib_1.__exportStar(require("./CreateCaseCommand"), exports);
|
|
8
|
+
tslib_1.__exportStar(require("./CreateCaseCommentCommand"), exports);
|
|
9
|
+
tslib_1.__exportStar(require("./CreateMembershipCommand"), exports);
|
|
10
|
+
tslib_1.__exportStar(require("./GetCaseAttachmentDownloadUrlCommand"), exports);
|
|
11
|
+
tslib_1.__exportStar(require("./GetCaseAttachmentUploadUrlCommand"), exports);
|
|
12
|
+
tslib_1.__exportStar(require("./GetCaseCommand"), exports);
|
|
13
|
+
tslib_1.__exportStar(require("./GetMembershipCommand"), exports);
|
|
14
|
+
tslib_1.__exportStar(require("./ListCaseEditsCommand"), exports);
|
|
15
|
+
tslib_1.__exportStar(require("./ListCasesCommand"), exports);
|
|
16
|
+
tslib_1.__exportStar(require("./ListCommentsCommand"), exports);
|
|
17
|
+
tslib_1.__exportStar(require("./ListMembershipsCommand"), exports);
|
|
18
|
+
tslib_1.__exportStar(require("./ListTagsForResourceCommand"), exports);
|
|
19
|
+
tslib_1.__exportStar(require("./TagResourceCommand"), exports);
|
|
20
|
+
tslib_1.__exportStar(require("./UntagResourceCommand"), exports);
|
|
21
|
+
tslib_1.__exportStar(require("./UpdateCaseCommand"), exports);
|
|
22
|
+
tslib_1.__exportStar(require("./UpdateCaseCommentCommand"), exports);
|
|
23
|
+
tslib_1.__exportStar(require("./UpdateCaseStatusCommand"), exports);
|
|
24
|
+
tslib_1.__exportStar(require("./UpdateMembershipCommand"), exports);
|
|
25
|
+
tslib_1.__exportStar(require("./UpdateResolverTypeCommand"), exports);
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.commonParams = exports.resolveClientEndpointParameters = void 0;
|
|
4
|
+
const resolveClientEndpointParameters = (options) => {
|
|
5
|
+
return {
|
|
6
|
+
...options,
|
|
7
|
+
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
|
8
|
+
defaultSigningName: "security-ir",
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
exports.resolveClientEndpointParameters = resolveClientEndpointParameters;
|
|
12
|
+
exports.commonParams = {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.defaultEndpointResolver = void 0;
|
|
4
|
+
const util_endpoints_1 = require("@aws-sdk/util-endpoints");
|
|
5
|
+
const util_endpoints_2 = require("@smithy/util-endpoints");
|
|
6
|
+
const ruleset_1 = require("./ruleset");
|
|
7
|
+
const cache = new util_endpoints_2.EndpointCache({
|
|
8
|
+
size: 50,
|
|
9
|
+
params: ["Endpoint", "Region", "UseFIPS"],
|
|
10
|
+
});
|
|
11
|
+
const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
12
|
+
return cache.get(endpointParams, () => (0, util_endpoints_2.resolveEndpoint)(ruleset_1.ruleSet, {
|
|
13
|
+
endpointParams: endpointParams,
|
|
14
|
+
logger: context.logger,
|
|
15
|
+
}));
|
|
16
|
+
};
|
|
17
|
+
exports.defaultEndpointResolver = defaultEndpointResolver;
|
|
18
|
+
util_endpoints_2.customEndpointFunctions.aws = util_endpoints_1.awsEndpointFunctions;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ruleSet = void 0;
|
|
4
|
+
const l = "ref";
|
|
5
|
+
const a = true, b = false, c = "isSet", d = "error", e = "endpoint", f = "tree", g = { "required": false, "type": "String" }, h = { [l]: "Endpoint" }, i = {}, j = [{ "fn": "booleanEquals", "argv": [{ [l]: "UseFIPS" }, true] }], k = [{ [l]: "Region" }];
|
|
6
|
+
const _data = { version: "1.0", parameters: { UseFIPS: { required: a, default: b, type: "Boolean" }, Endpoint: g, Region: g }, rules: [{ conditions: [{ fn: c, argv: [h] }], rules: [{ conditions: j, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d }, { endpoint: { url: h, properties: i, headers: i }, type: e }], type: f }, { rules: [{ conditions: [{ fn: c, argv: k }], rules: [{ conditions: [{ fn: "aws.partition", argv: k, assign: "PartitionResult" }], rules: [{ conditions: j, endpoint: { url: "https://security-ir-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: i, headers: i }, type: e }, { endpoint: { url: "https://security-ir.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: i, headers: i }, type: e }], type: f }], type: f }, { error: "Invalid Configuration: Missing Region", type: d }], type: f }] };
|
|
7
|
+
exports.ruleSet = _data;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SecurityIRServiceException = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
tslib_1.__exportStar(require("./SecurityIRClient"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./SecurityIR"), exports);
|
|
7
|
+
tslib_1.__exportStar(require("./commands"), exports);
|
|
8
|
+
tslib_1.__exportStar(require("./pagination"), exports);
|
|
9
|
+
tslib_1.__exportStar(require("./models"), exports);
|
|
10
|
+
var SecurityIRServiceException_1 = require("./models/SecurityIRServiceException");
|
|
11
|
+
Object.defineProperty(exports, "SecurityIRServiceException", { enumerable: true, get: function () { return SecurityIRServiceException_1.SecurityIRServiceException; } });
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SecurityIRServiceException = exports.__ServiceException = void 0;
|
|
4
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
5
|
+
Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
|
|
6
|
+
class SecurityIRServiceException extends smithy_client_1.ServiceException {
|
|
7
|
+
constructor(options) {
|
|
8
|
+
super(options);
|
|
9
|
+
Object.setPrototypeOf(this, SecurityIRServiceException.prototype);
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
exports.SecurityIRServiceException = SecurityIRServiceException;
|
|
@@ -0,0 +1,373 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UpdateMembershipRequestFilterSensitiveLog = exports.GetMembershipResponseFilterSensitiveLog = exports.CreateMembershipRequestFilterSensitiveLog = exports.IncidentResponderFilterSensitiveLog = exports.UpdateCaseCommentResponseFilterSensitiveLog = exports.UpdateCaseCommentRequestFilterSensitiveLog = exports.UpdateCaseRequestFilterSensitiveLog = exports.ListCommentsResponseFilterSensitiveLog = exports.ListCommentsItemFilterSensitiveLog = exports.ListCasesResponseFilterSensitiveLog = exports.ListCasesItemFilterSensitiveLog = exports.GetCaseAttachmentUploadUrlResponseFilterSensitiveLog = exports.GetCaseAttachmentUploadUrlRequestFilterSensitiveLog = exports.GetCaseAttachmentDownloadUrlResponseFilterSensitiveLog = exports.GetCaseResponseFilterSensitiveLog = exports.CaseAttachmentAttributesFilterSensitiveLog = exports.CreateCaseCommentRequestFilterSensitiveLog = exports.CreateCaseRequestFilterSensitiveLog = exports.WatcherFilterSensitiveLog = exports.ThreatActorIpFilterSensitiveLog = exports.MembershipStatus = exports.CustomerType = exports.OptInFeatureName = exports.SelfManagedCaseStatus = exports.PendingAction = exports.ClosureCode = exports.CaseAttachmentStatus = exports.ResolverType = exports.EngagementType = exports.CaseStatus = exports.ValidationException = exports.ValidationExceptionReason = exports.ThrottlingException = exports.ServiceQuotaExceededException = exports.SecurityIncidentResponseNotActiveException = exports.ResourceNotFoundException = exports.InvalidTokenException = exports.InternalServerException = exports.ConflictException = exports.MembershipAccountRelationshipType = exports.MembershipAccountRelationshipStatus = exports.AwsRegion = exports.AccessDeniedException = void 0;
|
|
4
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
5
|
+
const SecurityIRServiceException_1 = require("./SecurityIRServiceException");
|
|
6
|
+
class AccessDeniedException extends SecurityIRServiceException_1.SecurityIRServiceException {
|
|
7
|
+
constructor(opts) {
|
|
8
|
+
super({
|
|
9
|
+
name: "AccessDeniedException",
|
|
10
|
+
$fault: "client",
|
|
11
|
+
...opts,
|
|
12
|
+
});
|
|
13
|
+
this.name = "AccessDeniedException";
|
|
14
|
+
this.$fault = "client";
|
|
15
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
exports.AccessDeniedException = AccessDeniedException;
|
|
19
|
+
exports.AwsRegion = {
|
|
20
|
+
AF_SOUTH_1: "af-south-1",
|
|
21
|
+
AP_EAST_1: "ap-east-1",
|
|
22
|
+
AP_NORTHEAST_1: "ap-northeast-1",
|
|
23
|
+
AP_NORTHEAST_2: "ap-northeast-2",
|
|
24
|
+
AP_NORTHEAST_3: "ap-northeast-3",
|
|
25
|
+
AP_SOUTHEAST_1: "ap-southeast-1",
|
|
26
|
+
AP_SOUTHEAST_2: "ap-southeast-2",
|
|
27
|
+
AP_SOUTHEAST_3: "ap-southeast-3",
|
|
28
|
+
AP_SOUTHEAST_4: "ap-southeast-4",
|
|
29
|
+
AP_SOUTHEAST_5: "ap-southeast-5",
|
|
30
|
+
AP_SOUTH_1: "ap-south-1",
|
|
31
|
+
AP_SOUTH_2: "ap-south-2",
|
|
32
|
+
CA_CENTRAL_1: "ca-central-1",
|
|
33
|
+
CA_WEST_1: "ca-west-1",
|
|
34
|
+
CN_NORTHWEST_1: "cn-northwest-1",
|
|
35
|
+
CN_NORTH_1: "cn-north-1",
|
|
36
|
+
EU_CENTRAL_1: "eu-central-1",
|
|
37
|
+
EU_CENTRAL_2: "eu-central-2",
|
|
38
|
+
EU_NORTH_1: "eu-north-1",
|
|
39
|
+
EU_SOUTH_1: "eu-south-1",
|
|
40
|
+
EU_SOUTH_2: "eu-south-2",
|
|
41
|
+
EU_WEST_1: "eu-west-1",
|
|
42
|
+
EU_WEST_2: "eu-west-2",
|
|
43
|
+
EU_WEST_3: "eu-west-3",
|
|
44
|
+
IL_CENTRAL_1: "il-central-1",
|
|
45
|
+
ME_CENTRAL_1: "me-central-1",
|
|
46
|
+
ME_SOUTH_1: "me-south-1",
|
|
47
|
+
SA_EAST_1: "sa-east-1",
|
|
48
|
+
US_EAST_1: "us-east-1",
|
|
49
|
+
US_EAST_2: "us-east-2",
|
|
50
|
+
US_WEST_1: "us-west-1",
|
|
51
|
+
US_WEST_2: "us-west-2",
|
|
52
|
+
};
|
|
53
|
+
exports.MembershipAccountRelationshipStatus = {
|
|
54
|
+
ASSOCIATED: "Associated",
|
|
55
|
+
DISASSOCIATED: "Disassociated",
|
|
56
|
+
};
|
|
57
|
+
exports.MembershipAccountRelationshipType = {
|
|
58
|
+
ORGANIZATION: "Organization",
|
|
59
|
+
};
|
|
60
|
+
class ConflictException extends SecurityIRServiceException_1.SecurityIRServiceException {
|
|
61
|
+
constructor(opts) {
|
|
62
|
+
super({
|
|
63
|
+
name: "ConflictException",
|
|
64
|
+
$fault: "client",
|
|
65
|
+
...opts,
|
|
66
|
+
});
|
|
67
|
+
this.name = "ConflictException";
|
|
68
|
+
this.$fault = "client";
|
|
69
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
70
|
+
this.resourceId = opts.resourceId;
|
|
71
|
+
this.resourceType = opts.resourceType;
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
exports.ConflictException = ConflictException;
|
|
75
|
+
class InternalServerException extends SecurityIRServiceException_1.SecurityIRServiceException {
|
|
76
|
+
constructor(opts) {
|
|
77
|
+
super({
|
|
78
|
+
name: "InternalServerException",
|
|
79
|
+
$fault: "server",
|
|
80
|
+
...opts,
|
|
81
|
+
});
|
|
82
|
+
this.name = "InternalServerException";
|
|
83
|
+
this.$fault = "server";
|
|
84
|
+
this.$retryable = {};
|
|
85
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
86
|
+
this.retryAfterSeconds = opts.retryAfterSeconds;
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
exports.InternalServerException = InternalServerException;
|
|
90
|
+
class InvalidTokenException extends SecurityIRServiceException_1.SecurityIRServiceException {
|
|
91
|
+
constructor(opts) {
|
|
92
|
+
super({
|
|
93
|
+
name: "InvalidTokenException",
|
|
94
|
+
$fault: "client",
|
|
95
|
+
...opts,
|
|
96
|
+
});
|
|
97
|
+
this.name = "InvalidTokenException";
|
|
98
|
+
this.$fault = "client";
|
|
99
|
+
this.$retryable = {};
|
|
100
|
+
Object.setPrototypeOf(this, InvalidTokenException.prototype);
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
exports.InvalidTokenException = InvalidTokenException;
|
|
104
|
+
class ResourceNotFoundException extends SecurityIRServiceException_1.SecurityIRServiceException {
|
|
105
|
+
constructor(opts) {
|
|
106
|
+
super({
|
|
107
|
+
name: "ResourceNotFoundException",
|
|
108
|
+
$fault: "client",
|
|
109
|
+
...opts,
|
|
110
|
+
});
|
|
111
|
+
this.name = "ResourceNotFoundException";
|
|
112
|
+
this.$fault = "client";
|
|
113
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
117
|
+
class SecurityIncidentResponseNotActiveException extends SecurityIRServiceException_1.SecurityIRServiceException {
|
|
118
|
+
constructor(opts) {
|
|
119
|
+
super({
|
|
120
|
+
name: "SecurityIncidentResponseNotActiveException",
|
|
121
|
+
$fault: "client",
|
|
122
|
+
...opts,
|
|
123
|
+
});
|
|
124
|
+
this.name = "SecurityIncidentResponseNotActiveException";
|
|
125
|
+
this.$fault = "client";
|
|
126
|
+
Object.setPrototypeOf(this, SecurityIncidentResponseNotActiveException.prototype);
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
exports.SecurityIncidentResponseNotActiveException = SecurityIncidentResponseNotActiveException;
|
|
130
|
+
class ServiceQuotaExceededException extends SecurityIRServiceException_1.SecurityIRServiceException {
|
|
131
|
+
constructor(opts) {
|
|
132
|
+
super({
|
|
133
|
+
name: "ServiceQuotaExceededException",
|
|
134
|
+
$fault: "client",
|
|
135
|
+
...opts,
|
|
136
|
+
});
|
|
137
|
+
this.name = "ServiceQuotaExceededException";
|
|
138
|
+
this.$fault = "client";
|
|
139
|
+
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
140
|
+
this.resourceId = opts.resourceId;
|
|
141
|
+
this.resourceType = opts.resourceType;
|
|
142
|
+
this.serviceCode = opts.serviceCode;
|
|
143
|
+
this.quotaCode = opts.quotaCode;
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
|
|
147
|
+
class ThrottlingException extends SecurityIRServiceException_1.SecurityIRServiceException {
|
|
148
|
+
constructor(opts) {
|
|
149
|
+
super({
|
|
150
|
+
name: "ThrottlingException",
|
|
151
|
+
$fault: "client",
|
|
152
|
+
...opts,
|
|
153
|
+
});
|
|
154
|
+
this.name = "ThrottlingException";
|
|
155
|
+
this.$fault = "client";
|
|
156
|
+
this.$retryable = {
|
|
157
|
+
throttling: true,
|
|
158
|
+
};
|
|
159
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
160
|
+
this.serviceCode = opts.serviceCode;
|
|
161
|
+
this.quotaCode = opts.quotaCode;
|
|
162
|
+
this.retryAfterSeconds = opts.retryAfterSeconds;
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
exports.ThrottlingException = ThrottlingException;
|
|
166
|
+
exports.ValidationExceptionReason = {
|
|
167
|
+
CANNOT_PARSE: "CANNOT_PARSE",
|
|
168
|
+
FIELD_VALIDATION_FAILED: "FIELD_VALIDATION_FAILED",
|
|
169
|
+
OTHER: "OTHER",
|
|
170
|
+
UNKNOWN_OPERATION: "UNKNOWN_OPERATION",
|
|
171
|
+
};
|
|
172
|
+
class ValidationException extends SecurityIRServiceException_1.SecurityIRServiceException {
|
|
173
|
+
constructor(opts) {
|
|
174
|
+
super({
|
|
175
|
+
name: "ValidationException",
|
|
176
|
+
$fault: "client",
|
|
177
|
+
...opts,
|
|
178
|
+
});
|
|
179
|
+
this.name = "ValidationException";
|
|
180
|
+
this.$fault = "client";
|
|
181
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
182
|
+
this.reason = opts.reason;
|
|
183
|
+
this.fieldList = opts.fieldList;
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
exports.ValidationException = ValidationException;
|
|
187
|
+
exports.CaseStatus = {
|
|
188
|
+
ACKNOWLEDGED: "Acknowledged",
|
|
189
|
+
CLOSED: "Closed",
|
|
190
|
+
CONTAINMENT_ERADICATION_AND_RECOVERY: "Containment, Eradication and Recovery",
|
|
191
|
+
DETECTION_AND_ANALYSIS: "Detection and Analysis",
|
|
192
|
+
POST_INCIDENT_ACTIVITIES: "Post-incident Activities",
|
|
193
|
+
READY_TO_CLOSE: "Ready to Close",
|
|
194
|
+
SUBMITTED: "Submitted",
|
|
195
|
+
};
|
|
196
|
+
exports.EngagementType = {
|
|
197
|
+
INVESTIGATION: "Investigation",
|
|
198
|
+
SECURITY_INCIDENT: "Security Incident",
|
|
199
|
+
};
|
|
200
|
+
exports.ResolverType = {
|
|
201
|
+
AWS: "AWS",
|
|
202
|
+
SELF: "Self",
|
|
203
|
+
};
|
|
204
|
+
exports.CaseAttachmentStatus = {
|
|
205
|
+
FAILED: "Failed",
|
|
206
|
+
PENDING: "Pending",
|
|
207
|
+
VERIFIED: "Verified",
|
|
208
|
+
};
|
|
209
|
+
exports.ClosureCode = {
|
|
210
|
+
DUPLICATE: "Duplicate",
|
|
211
|
+
FALSE_POSITIVE: "False Positive",
|
|
212
|
+
INVESTIGATION_COMPLETED: "Investigation Completed",
|
|
213
|
+
NOT_RESOLVED: "Not Resolved",
|
|
214
|
+
};
|
|
215
|
+
exports.PendingAction = {
|
|
216
|
+
CUSTOMER: "Customer",
|
|
217
|
+
NONE: "None",
|
|
218
|
+
};
|
|
219
|
+
exports.SelfManagedCaseStatus = {
|
|
220
|
+
CONTAINMENT_ERADICATION_AND_RECOVERY: "Containment, Eradication and Recovery",
|
|
221
|
+
DETECTION_AND_ANALYSIS: "Detection and Analysis",
|
|
222
|
+
POST_INCIDENT_ACTIVITIES: "Post-incident Activities",
|
|
223
|
+
SUBMITTED: "Submitted",
|
|
224
|
+
};
|
|
225
|
+
exports.OptInFeatureName = {
|
|
226
|
+
TRIAGE: "Triage",
|
|
227
|
+
};
|
|
228
|
+
exports.CustomerType = {
|
|
229
|
+
ORGANIZATION: "Organization",
|
|
230
|
+
STANDALONE: "Standalone",
|
|
231
|
+
};
|
|
232
|
+
exports.MembershipStatus = {
|
|
233
|
+
ACTIVE: "Active",
|
|
234
|
+
CANCELLED: "Cancelled",
|
|
235
|
+
TERMINATED: "Terminated",
|
|
236
|
+
};
|
|
237
|
+
const ThreatActorIpFilterSensitiveLog = (obj) => ({
|
|
238
|
+
...obj,
|
|
239
|
+
...(obj.ipAddress && { ipAddress: smithy_client_1.SENSITIVE_STRING }),
|
|
240
|
+
});
|
|
241
|
+
exports.ThreatActorIpFilterSensitiveLog = ThreatActorIpFilterSensitiveLog;
|
|
242
|
+
const WatcherFilterSensitiveLog = (obj) => ({
|
|
243
|
+
...obj,
|
|
244
|
+
...(obj.email && { email: smithy_client_1.SENSITIVE_STRING }),
|
|
245
|
+
...(obj.name && { name: smithy_client_1.SENSITIVE_STRING }),
|
|
246
|
+
...(obj.jobTitle && { jobTitle: smithy_client_1.SENSITIVE_STRING }),
|
|
247
|
+
});
|
|
248
|
+
exports.WatcherFilterSensitiveLog = WatcherFilterSensitiveLog;
|
|
249
|
+
const CreateCaseRequestFilterSensitiveLog = (obj) => ({
|
|
250
|
+
...obj,
|
|
251
|
+
...(obj.title && { title: smithy_client_1.SENSITIVE_STRING }),
|
|
252
|
+
...(obj.description && { description: smithy_client_1.SENSITIVE_STRING }),
|
|
253
|
+
...(obj.watchers && { watchers: obj.watchers.map((item) => (0, exports.WatcherFilterSensitiveLog)(item)) }),
|
|
254
|
+
...(obj.threatActorIpAddresses && {
|
|
255
|
+
threatActorIpAddresses: obj.threatActorIpAddresses.map((item) => (0, exports.ThreatActorIpFilterSensitiveLog)(item)),
|
|
256
|
+
}),
|
|
257
|
+
});
|
|
258
|
+
exports.CreateCaseRequestFilterSensitiveLog = CreateCaseRequestFilterSensitiveLog;
|
|
259
|
+
const CreateCaseCommentRequestFilterSensitiveLog = (obj) => ({
|
|
260
|
+
...obj,
|
|
261
|
+
...(obj.body && { body: smithy_client_1.SENSITIVE_STRING }),
|
|
262
|
+
});
|
|
263
|
+
exports.CreateCaseCommentRequestFilterSensitiveLog = CreateCaseCommentRequestFilterSensitiveLog;
|
|
264
|
+
const CaseAttachmentAttributesFilterSensitiveLog = (obj) => ({
|
|
265
|
+
...obj,
|
|
266
|
+
...(obj.fileName && { fileName: smithy_client_1.SENSITIVE_STRING }),
|
|
267
|
+
});
|
|
268
|
+
exports.CaseAttachmentAttributesFilterSensitiveLog = CaseAttachmentAttributesFilterSensitiveLog;
|
|
269
|
+
const GetCaseResponseFilterSensitiveLog = (obj) => ({
|
|
270
|
+
...obj,
|
|
271
|
+
...(obj.title && { title: smithy_client_1.SENSITIVE_STRING }),
|
|
272
|
+
...(obj.description && { description: smithy_client_1.SENSITIVE_STRING }),
|
|
273
|
+
...(obj.threatActorIpAddresses && {
|
|
274
|
+
threatActorIpAddresses: obj.threatActorIpAddresses.map((item) => (0, exports.ThreatActorIpFilterSensitiveLog)(item)),
|
|
275
|
+
}),
|
|
276
|
+
...(obj.watchers && { watchers: obj.watchers.map((item) => (0, exports.WatcherFilterSensitiveLog)(item)) }),
|
|
277
|
+
...(obj.caseAttachments && {
|
|
278
|
+
caseAttachments: obj.caseAttachments.map((item) => (0, exports.CaseAttachmentAttributesFilterSensitiveLog)(item)),
|
|
279
|
+
}),
|
|
280
|
+
});
|
|
281
|
+
exports.GetCaseResponseFilterSensitiveLog = GetCaseResponseFilterSensitiveLog;
|
|
282
|
+
const GetCaseAttachmentDownloadUrlResponseFilterSensitiveLog = (obj) => ({
|
|
283
|
+
...obj,
|
|
284
|
+
...(obj.attachmentPresignedUrl && { attachmentPresignedUrl: smithy_client_1.SENSITIVE_STRING }),
|
|
285
|
+
});
|
|
286
|
+
exports.GetCaseAttachmentDownloadUrlResponseFilterSensitiveLog = GetCaseAttachmentDownloadUrlResponseFilterSensitiveLog;
|
|
287
|
+
const GetCaseAttachmentUploadUrlRequestFilterSensitiveLog = (obj) => ({
|
|
288
|
+
...obj,
|
|
289
|
+
...(obj.fileName && { fileName: smithy_client_1.SENSITIVE_STRING }),
|
|
290
|
+
});
|
|
291
|
+
exports.GetCaseAttachmentUploadUrlRequestFilterSensitiveLog = GetCaseAttachmentUploadUrlRequestFilterSensitiveLog;
|
|
292
|
+
const GetCaseAttachmentUploadUrlResponseFilterSensitiveLog = (obj) => ({
|
|
293
|
+
...obj,
|
|
294
|
+
...(obj.attachmentPresignedUrl && { attachmentPresignedUrl: smithy_client_1.SENSITIVE_STRING }),
|
|
295
|
+
});
|
|
296
|
+
exports.GetCaseAttachmentUploadUrlResponseFilterSensitiveLog = GetCaseAttachmentUploadUrlResponseFilterSensitiveLog;
|
|
297
|
+
const ListCasesItemFilterSensitiveLog = (obj) => ({
|
|
298
|
+
...obj,
|
|
299
|
+
...(obj.title && { title: smithy_client_1.SENSITIVE_STRING }),
|
|
300
|
+
});
|
|
301
|
+
exports.ListCasesItemFilterSensitiveLog = ListCasesItemFilterSensitiveLog;
|
|
302
|
+
const ListCasesResponseFilterSensitiveLog = (obj) => ({
|
|
303
|
+
...obj,
|
|
304
|
+
...(obj.items && { items: obj.items.map((item) => (0, exports.ListCasesItemFilterSensitiveLog)(item)) }),
|
|
305
|
+
});
|
|
306
|
+
exports.ListCasesResponseFilterSensitiveLog = ListCasesResponseFilterSensitiveLog;
|
|
307
|
+
const ListCommentsItemFilterSensitiveLog = (obj) => ({
|
|
308
|
+
...obj,
|
|
309
|
+
...(obj.body && { body: smithy_client_1.SENSITIVE_STRING }),
|
|
310
|
+
});
|
|
311
|
+
exports.ListCommentsItemFilterSensitiveLog = ListCommentsItemFilterSensitiveLog;
|
|
312
|
+
const ListCommentsResponseFilterSensitiveLog = (obj) => ({
|
|
313
|
+
...obj,
|
|
314
|
+
...(obj.items && { items: obj.items.map((item) => (0, exports.ListCommentsItemFilterSensitiveLog)(item)) }),
|
|
315
|
+
});
|
|
316
|
+
exports.ListCommentsResponseFilterSensitiveLog = ListCommentsResponseFilterSensitiveLog;
|
|
317
|
+
const UpdateCaseRequestFilterSensitiveLog = (obj) => ({
|
|
318
|
+
...obj,
|
|
319
|
+
...(obj.title && { title: smithy_client_1.SENSITIVE_STRING }),
|
|
320
|
+
...(obj.description && { description: smithy_client_1.SENSITIVE_STRING }),
|
|
321
|
+
...(obj.watchersToAdd && { watchersToAdd: obj.watchersToAdd.map((item) => (0, exports.WatcherFilterSensitiveLog)(item)) }),
|
|
322
|
+
...(obj.watchersToDelete && {
|
|
323
|
+
watchersToDelete: obj.watchersToDelete.map((item) => (0, exports.WatcherFilterSensitiveLog)(item)),
|
|
324
|
+
}),
|
|
325
|
+
...(obj.threatActorIpAddressesToAdd && {
|
|
326
|
+
threatActorIpAddressesToAdd: obj.threatActorIpAddressesToAdd.map((item) => (0, exports.ThreatActorIpFilterSensitiveLog)(item)),
|
|
327
|
+
}),
|
|
328
|
+
...(obj.threatActorIpAddressesToDelete && {
|
|
329
|
+
threatActorIpAddressesToDelete: obj.threatActorIpAddressesToDelete.map((item) => (0, exports.ThreatActorIpFilterSensitiveLog)(item)),
|
|
330
|
+
}),
|
|
331
|
+
});
|
|
332
|
+
exports.UpdateCaseRequestFilterSensitiveLog = UpdateCaseRequestFilterSensitiveLog;
|
|
333
|
+
const UpdateCaseCommentRequestFilterSensitiveLog = (obj) => ({
|
|
334
|
+
...obj,
|
|
335
|
+
...(obj.body && { body: smithy_client_1.SENSITIVE_STRING }),
|
|
336
|
+
});
|
|
337
|
+
exports.UpdateCaseCommentRequestFilterSensitiveLog = UpdateCaseCommentRequestFilterSensitiveLog;
|
|
338
|
+
const UpdateCaseCommentResponseFilterSensitiveLog = (obj) => ({
|
|
339
|
+
...obj,
|
|
340
|
+
...(obj.body && { body: smithy_client_1.SENSITIVE_STRING }),
|
|
341
|
+
});
|
|
342
|
+
exports.UpdateCaseCommentResponseFilterSensitiveLog = UpdateCaseCommentResponseFilterSensitiveLog;
|
|
343
|
+
const IncidentResponderFilterSensitiveLog = (obj) => ({
|
|
344
|
+
...obj,
|
|
345
|
+
...(obj.name && { name: smithy_client_1.SENSITIVE_STRING }),
|
|
346
|
+
...(obj.jobTitle && { jobTitle: smithy_client_1.SENSITIVE_STRING }),
|
|
347
|
+
...(obj.email && { email: smithy_client_1.SENSITIVE_STRING }),
|
|
348
|
+
});
|
|
349
|
+
exports.IncidentResponderFilterSensitiveLog = IncidentResponderFilterSensitiveLog;
|
|
350
|
+
const CreateMembershipRequestFilterSensitiveLog = (obj) => ({
|
|
351
|
+
...obj,
|
|
352
|
+
...(obj.membershipName && { membershipName: smithy_client_1.SENSITIVE_STRING }),
|
|
353
|
+
...(obj.incidentResponseTeam && {
|
|
354
|
+
incidentResponseTeam: obj.incidentResponseTeam.map((item) => (0, exports.IncidentResponderFilterSensitiveLog)(item)),
|
|
355
|
+
}),
|
|
356
|
+
});
|
|
357
|
+
exports.CreateMembershipRequestFilterSensitiveLog = CreateMembershipRequestFilterSensitiveLog;
|
|
358
|
+
const GetMembershipResponseFilterSensitiveLog = (obj) => ({
|
|
359
|
+
...obj,
|
|
360
|
+
...(obj.membershipName && { membershipName: smithy_client_1.SENSITIVE_STRING }),
|
|
361
|
+
...(obj.incidentResponseTeam && {
|
|
362
|
+
incidentResponseTeam: obj.incidentResponseTeam.map((item) => (0, exports.IncidentResponderFilterSensitiveLog)(item)),
|
|
363
|
+
}),
|
|
364
|
+
});
|
|
365
|
+
exports.GetMembershipResponseFilterSensitiveLog = GetMembershipResponseFilterSensitiveLog;
|
|
366
|
+
const UpdateMembershipRequestFilterSensitiveLog = (obj) => ({
|
|
367
|
+
...obj,
|
|
368
|
+
...(obj.membershipName && { membershipName: smithy_client_1.SENSITIVE_STRING }),
|
|
369
|
+
...(obj.incidentResponseTeam && {
|
|
370
|
+
incidentResponseTeam: obj.incidentResponseTeam.map((item) => (0, exports.IncidentResponderFilterSensitiveLog)(item)),
|
|
371
|
+
}),
|
|
372
|
+
});
|
|
373
|
+
exports.UpdateMembershipRequestFilterSensitiveLog = UpdateMembershipRequestFilterSensitiveLog;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateListCaseEdits = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
5
|
+
const ListCaseEditsCommand_1 = require("../commands/ListCaseEditsCommand");
|
|
6
|
+
const SecurityIRClient_1 = require("../SecurityIRClient");
|
|
7
|
+
exports.paginateListCaseEdits = (0, core_1.createPaginator)(SecurityIRClient_1.SecurityIRClient, ListCaseEditsCommand_1.ListCaseEditsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateListCases = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
5
|
+
const ListCasesCommand_1 = require("../commands/ListCasesCommand");
|
|
6
|
+
const SecurityIRClient_1 = require("../SecurityIRClient");
|
|
7
|
+
exports.paginateListCases = (0, core_1.createPaginator)(SecurityIRClient_1.SecurityIRClient, ListCasesCommand_1.ListCasesCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateListComments = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
5
|
+
const ListCommentsCommand_1 = require("../commands/ListCommentsCommand");
|
|
6
|
+
const SecurityIRClient_1 = require("../SecurityIRClient");
|
|
7
|
+
exports.paginateListComments = (0, core_1.createPaginator)(SecurityIRClient_1.SecurityIRClient, ListCommentsCommand_1.ListCommentsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateListMemberships = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
5
|
+
const ListMembershipsCommand_1 = require("../commands/ListMembershipsCommand");
|
|
6
|
+
const SecurityIRClient_1 = require("../SecurityIRClient");
|
|
7
|
+
exports.paginateListMemberships = (0, core_1.createPaginator)(SecurityIRClient_1.SecurityIRClient, ListMembershipsCommand_1.ListMembershipsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
tslib_1.__exportStar(require("./Interfaces"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./ListCaseEditsPaginator"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./ListCasesPaginator"), exports);
|
|
7
|
+
tslib_1.__exportStar(require("./ListCommentsPaginator"), exports);
|
|
8
|
+
tslib_1.__exportStar(require("./ListMembershipsPaginator"), exports);
|