@aws-sdk/client-inspector 3.478.0 → 3.481.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/commands/AddAttributesToFindingsCommand.js +18 -41
- package/dist-cjs/commands/CreateAssessmentTargetCommand.js +18 -41
- package/dist-cjs/commands/CreateAssessmentTemplateCommand.js +18 -41
- package/dist-cjs/commands/CreateExclusionsPreviewCommand.js +18 -41
- package/dist-cjs/commands/CreateResourceGroupCommand.js +18 -41
- package/dist-cjs/commands/DeleteAssessmentRunCommand.js +18 -41
- package/dist-cjs/commands/DeleteAssessmentTargetCommand.js +18 -41
- package/dist-cjs/commands/DeleteAssessmentTemplateCommand.js +18 -41
- package/dist-cjs/commands/DescribeAssessmentRunsCommand.js +18 -41
- package/dist-cjs/commands/DescribeAssessmentTargetsCommand.js +18 -41
- package/dist-cjs/commands/DescribeAssessmentTemplatesCommand.js +18 -41
- package/dist-cjs/commands/DescribeCrossAccountAccessRoleCommand.js +18 -41
- package/dist-cjs/commands/DescribeExclusionsCommand.js +18 -41
- package/dist-cjs/commands/DescribeFindingsCommand.js +18 -41
- package/dist-cjs/commands/DescribeResourceGroupsCommand.js +18 -41
- package/dist-cjs/commands/DescribeRulesPackagesCommand.js +18 -41
- package/dist-cjs/commands/GetAssessmentReportCommand.js +18 -41
- package/dist-cjs/commands/GetExclusionsPreviewCommand.js +18 -41
- package/dist-cjs/commands/GetTelemetryMetadataCommand.js +18 -41
- package/dist-cjs/commands/ListAssessmentRunAgentsCommand.js +18 -41
- package/dist-cjs/commands/ListAssessmentRunsCommand.js +18 -41
- package/dist-cjs/commands/ListAssessmentTargetsCommand.js +18 -41
- package/dist-cjs/commands/ListAssessmentTemplatesCommand.js +18 -41
- package/dist-cjs/commands/ListEventSubscriptionsCommand.js +18 -41
- package/dist-cjs/commands/ListExclusionsCommand.js +18 -41
- package/dist-cjs/commands/ListFindingsCommand.js +18 -41
- package/dist-cjs/commands/ListRulesPackagesCommand.js +18 -41
- package/dist-cjs/commands/ListTagsForResourceCommand.js +18 -41
- package/dist-cjs/commands/PreviewAgentsCommand.js +18 -41
- package/dist-cjs/commands/RegisterCrossAccountAccessRoleCommand.js +18 -41
- package/dist-cjs/commands/RemoveAttributesFromFindingsCommand.js +18 -41
- package/dist-cjs/commands/SetTagsForResourceCommand.js +18 -41
- package/dist-cjs/commands/StartAssessmentRunCommand.js +18 -41
- package/dist-cjs/commands/StopAssessmentRunCommand.js +18 -41
- package/dist-cjs/commands/SubscribeToEventCommand.js +18 -41
- package/dist-cjs/commands/UnsubscribeFromEventCommand.js +18 -41
- package/dist-cjs/commands/UpdateAssessmentTargetCommand.js +18 -41
- package/dist-cjs/endpoint/EndpointParameters.js +7 -1
- package/dist-es/commands/AddAttributesToFindingsCommand.js +18 -41
- package/dist-es/commands/CreateAssessmentTargetCommand.js +18 -41
- package/dist-es/commands/CreateAssessmentTemplateCommand.js +18 -41
- package/dist-es/commands/CreateExclusionsPreviewCommand.js +18 -41
- package/dist-es/commands/CreateResourceGroupCommand.js +18 -41
- package/dist-es/commands/DeleteAssessmentRunCommand.js +18 -41
- package/dist-es/commands/DeleteAssessmentTargetCommand.js +18 -41
- package/dist-es/commands/DeleteAssessmentTemplateCommand.js +18 -41
- package/dist-es/commands/DescribeAssessmentRunsCommand.js +18 -41
- package/dist-es/commands/DescribeAssessmentTargetsCommand.js +18 -41
- package/dist-es/commands/DescribeAssessmentTemplatesCommand.js +18 -41
- package/dist-es/commands/DescribeCrossAccountAccessRoleCommand.js +18 -41
- package/dist-es/commands/DescribeExclusionsCommand.js +18 -41
- package/dist-es/commands/DescribeFindingsCommand.js +18 -41
- package/dist-es/commands/DescribeResourceGroupsCommand.js +18 -41
- package/dist-es/commands/DescribeRulesPackagesCommand.js +18 -41
- package/dist-es/commands/GetAssessmentReportCommand.js +18 -41
- package/dist-es/commands/GetExclusionsPreviewCommand.js +18 -41
- package/dist-es/commands/GetTelemetryMetadataCommand.js +18 -41
- package/dist-es/commands/ListAssessmentRunAgentsCommand.js +18 -41
- package/dist-es/commands/ListAssessmentRunsCommand.js +18 -41
- package/dist-es/commands/ListAssessmentTargetsCommand.js +18 -41
- package/dist-es/commands/ListAssessmentTemplatesCommand.js +18 -41
- package/dist-es/commands/ListEventSubscriptionsCommand.js +18 -41
- package/dist-es/commands/ListExclusionsCommand.js +18 -41
- package/dist-es/commands/ListFindingsCommand.js +18 -41
- package/dist-es/commands/ListRulesPackagesCommand.js +18 -41
- package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
- package/dist-es/commands/PreviewAgentsCommand.js +18 -41
- package/dist-es/commands/RegisterCrossAccountAccessRoleCommand.js +18 -41
- package/dist-es/commands/RemoveAttributesFromFindingsCommand.js +18 -41
- package/dist-es/commands/SetTagsForResourceCommand.js +18 -41
- package/dist-es/commands/StartAssessmentRunCommand.js +18 -41
- package/dist-es/commands/StopAssessmentRunCommand.js +18 -41
- package/dist-es/commands/SubscribeToEventCommand.js +18 -41
- package/dist-es/commands/UnsubscribeFromEventCommand.js +18 -41
- package/dist-es/commands/UpdateAssessmentTargetCommand.js +18 -41
- package/dist-es/endpoint/EndpointParameters.js +6 -0
- package/dist-types/commands/AddAttributesToFindingsCommand.d.ts +6 -21
- package/dist-types/commands/CreateAssessmentTargetCommand.d.ts +6 -21
- package/dist-types/commands/CreateAssessmentTemplateCommand.d.ts +6 -21
- package/dist-types/commands/CreateExclusionsPreviewCommand.d.ts +6 -21
- package/dist-types/commands/CreateResourceGroupCommand.d.ts +6 -21
- package/dist-types/commands/DeleteAssessmentRunCommand.d.ts +6 -21
- package/dist-types/commands/DeleteAssessmentTargetCommand.d.ts +6 -21
- package/dist-types/commands/DeleteAssessmentTemplateCommand.d.ts +6 -21
- package/dist-types/commands/DescribeAssessmentRunsCommand.d.ts +6 -21
- package/dist-types/commands/DescribeAssessmentTargetsCommand.d.ts +6 -21
- package/dist-types/commands/DescribeAssessmentTemplatesCommand.d.ts +6 -21
- package/dist-types/commands/DescribeCrossAccountAccessRoleCommand.d.ts +6 -21
- package/dist-types/commands/DescribeExclusionsCommand.d.ts +6 -21
- package/dist-types/commands/DescribeFindingsCommand.d.ts +6 -21
- package/dist-types/commands/DescribeResourceGroupsCommand.d.ts +6 -21
- package/dist-types/commands/DescribeRulesPackagesCommand.d.ts +6 -21
- package/dist-types/commands/GetAssessmentReportCommand.d.ts +6 -21
- package/dist-types/commands/GetExclusionsPreviewCommand.d.ts +6 -21
- package/dist-types/commands/GetTelemetryMetadataCommand.d.ts +6 -21
- package/dist-types/commands/ListAssessmentRunAgentsCommand.d.ts +6 -21
- package/dist-types/commands/ListAssessmentRunsCommand.d.ts +6 -21
- package/dist-types/commands/ListAssessmentTargetsCommand.d.ts +6 -21
- package/dist-types/commands/ListAssessmentTemplatesCommand.d.ts +6 -21
- package/dist-types/commands/ListEventSubscriptionsCommand.d.ts +6 -21
- package/dist-types/commands/ListExclusionsCommand.d.ts +6 -21
- package/dist-types/commands/ListFindingsCommand.d.ts +6 -21
- package/dist-types/commands/ListRulesPackagesCommand.d.ts +6 -21
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
- package/dist-types/commands/PreviewAgentsCommand.d.ts +6 -21
- package/dist-types/commands/RegisterCrossAccountAccessRoleCommand.d.ts +6 -21
- package/dist-types/commands/RemoveAttributesFromFindingsCommand.d.ts +6 -21
- package/dist-types/commands/SetTagsForResourceCommand.d.ts +6 -21
- package/dist-types/commands/StartAssessmentRunCommand.d.ts +6 -21
- package/dist-types/commands/StopAssessmentRunCommand.d.ts +6 -21
- package/dist-types/commands/SubscribeToEventCommand.d.ts +6 -21
- package/dist-types/commands/UnsubscribeFromEventCommand.d.ts +6 -21
- package/dist-types/commands/UpdateAssessmentTargetCommand.d.ts +6 -21
- package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/ts3.4/commands/AddAttributesToFindingsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CreateAssessmentTargetCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CreateAssessmentTemplateCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CreateExclusionsPreviewCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CreateResourceGroupCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteAssessmentRunCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteAssessmentTargetCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteAssessmentTemplateCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeAssessmentRunsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeAssessmentTargetsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeAssessmentTemplatesCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeCrossAccountAccessRoleCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeExclusionsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeFindingsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeResourceGroupsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeRulesPackagesCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetAssessmentReportCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetExclusionsPreviewCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetTelemetryMetadataCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListAssessmentRunAgentsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListAssessmentRunsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListAssessmentTargetsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListAssessmentTemplatesCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListEventSubscriptionsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListExclusionsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListFindingsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListRulesPackagesCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/PreviewAgentsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/RegisterCrossAccountAccessRoleCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/RemoveAttributesFromFindingsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/SetTagsForResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/StartAssessmentRunCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/StopAssessmentRunCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/SubscribeToEventCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UnsubscribeFromEventCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/UpdateAssessmentTargetCommand.d.ts +12 -24
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
- package/package.json +9 -9
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
10
|
-
class AddAttributesToFindingsCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "InspectorClient";
|
|
29
|
-
const commandName = "AddAttributesToFindingsCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "InspectorService",
|
|
38
|
-
operation: "AddAttributesToFindings",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_json1_1_1.se_AddAttributesToFindingsCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_json1_1_1.de_AddAttributesToFindingsCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class AddAttributesToFindingsCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("InspectorService", "AddAttributesToFindings", {})
|
|
22
|
+
.n("InspectorClient", "AddAttributesToFindingsCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_json1_1_1.se_AddAttributesToFindingsCommand)
|
|
25
|
+
.de(Aws_json1_1_1.de_AddAttributesToFindingsCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.AddAttributesToFindingsCommand = AddAttributesToFindingsCommand;
|
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
10
|
-
class CreateAssessmentTargetCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "InspectorClient";
|
|
29
|
-
const commandName = "CreateAssessmentTargetCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "InspectorService",
|
|
38
|
-
operation: "CreateAssessmentTarget",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_json1_1_1.se_CreateAssessmentTargetCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_json1_1_1.de_CreateAssessmentTargetCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class CreateAssessmentTargetCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("InspectorService", "CreateAssessmentTarget", {})
|
|
22
|
+
.n("InspectorClient", "CreateAssessmentTargetCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_json1_1_1.se_CreateAssessmentTargetCommand)
|
|
25
|
+
.de(Aws_json1_1_1.de_CreateAssessmentTargetCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.CreateAssessmentTargetCommand = CreateAssessmentTargetCommand;
|
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
10
|
-
class CreateAssessmentTemplateCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "InspectorClient";
|
|
29
|
-
const commandName = "CreateAssessmentTemplateCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "InspectorService",
|
|
38
|
-
operation: "CreateAssessmentTemplate",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_json1_1_1.se_CreateAssessmentTemplateCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_json1_1_1.de_CreateAssessmentTemplateCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class CreateAssessmentTemplateCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("InspectorService", "CreateAssessmentTemplate", {})
|
|
22
|
+
.n("InspectorClient", "CreateAssessmentTemplateCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_json1_1_1.se_CreateAssessmentTemplateCommand)
|
|
25
|
+
.de(Aws_json1_1_1.de_CreateAssessmentTemplateCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.CreateAssessmentTemplateCommand = CreateAssessmentTemplateCommand;
|
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
10
|
-
class CreateExclusionsPreviewCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "InspectorClient";
|
|
29
|
-
const commandName = "CreateExclusionsPreviewCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "InspectorService",
|
|
38
|
-
operation: "CreateExclusionsPreview",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_json1_1_1.se_CreateExclusionsPreviewCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_json1_1_1.de_CreateExclusionsPreviewCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class CreateExclusionsPreviewCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("InspectorService", "CreateExclusionsPreview", {})
|
|
22
|
+
.n("InspectorClient", "CreateExclusionsPreviewCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_json1_1_1.se_CreateExclusionsPreviewCommand)
|
|
25
|
+
.de(Aws_json1_1_1.de_CreateExclusionsPreviewCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.CreateExclusionsPreviewCommand = CreateExclusionsPreviewCommand;
|
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
10
|
-
class CreateResourceGroupCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "InspectorClient";
|
|
29
|
-
const commandName = "CreateResourceGroupCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "InspectorService",
|
|
38
|
-
operation: "CreateResourceGroup",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_json1_1_1.se_CreateResourceGroupCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_json1_1_1.de_CreateResourceGroupCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class CreateResourceGroupCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("InspectorService", "CreateResourceGroup", {})
|
|
22
|
+
.n("InspectorClient", "CreateResourceGroupCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_json1_1_1.se_CreateResourceGroupCommand)
|
|
25
|
+
.de(Aws_json1_1_1.de_CreateResourceGroupCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.CreateResourceGroupCommand = CreateResourceGroupCommand;
|
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
10
|
-
class DeleteAssessmentRunCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "InspectorClient";
|
|
29
|
-
const commandName = "DeleteAssessmentRunCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "InspectorService",
|
|
38
|
-
operation: "DeleteAssessmentRun",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_json1_1_1.se_DeleteAssessmentRunCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_json1_1_1.de_DeleteAssessmentRunCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class DeleteAssessmentRunCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("InspectorService", "DeleteAssessmentRun", {})
|
|
22
|
+
.n("InspectorClient", "DeleteAssessmentRunCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_json1_1_1.se_DeleteAssessmentRunCommand)
|
|
25
|
+
.de(Aws_json1_1_1.de_DeleteAssessmentRunCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.DeleteAssessmentRunCommand = DeleteAssessmentRunCommand;
|
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
10
|
-
class DeleteAssessmentTargetCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "InspectorClient";
|
|
29
|
-
const commandName = "DeleteAssessmentTargetCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "InspectorService",
|
|
38
|
-
operation: "DeleteAssessmentTarget",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_json1_1_1.se_DeleteAssessmentTargetCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_json1_1_1.de_DeleteAssessmentTargetCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class DeleteAssessmentTargetCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("InspectorService", "DeleteAssessmentTarget", {})
|
|
22
|
+
.n("InspectorClient", "DeleteAssessmentTargetCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_json1_1_1.se_DeleteAssessmentTargetCommand)
|
|
25
|
+
.de(Aws_json1_1_1.de_DeleteAssessmentTargetCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.DeleteAssessmentTargetCommand = DeleteAssessmentTargetCommand;
|
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
10
|
-
class DeleteAssessmentTemplateCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "InspectorClient";
|
|
29
|
-
const commandName = "DeleteAssessmentTemplateCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "InspectorService",
|
|
38
|
-
operation: "DeleteAssessmentTemplate",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_json1_1_1.se_DeleteAssessmentTemplateCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_json1_1_1.de_DeleteAssessmentTemplateCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class DeleteAssessmentTemplateCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("InspectorService", "DeleteAssessmentTemplate", {})
|
|
22
|
+
.n("InspectorClient", "DeleteAssessmentTemplateCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_json1_1_1.se_DeleteAssessmentTemplateCommand)
|
|
25
|
+
.de(Aws_json1_1_1.de_DeleteAssessmentTemplateCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.DeleteAssessmentTemplateCommand = DeleteAssessmentTemplateCommand;
|
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
10
|
-
class DescribeAssessmentRunsCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "InspectorClient";
|
|
29
|
-
const commandName = "DescribeAssessmentRunsCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "InspectorService",
|
|
38
|
-
operation: "DescribeAssessmentRuns",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_json1_1_1.se_DescribeAssessmentRunsCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_json1_1_1.de_DescribeAssessmentRunsCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class DescribeAssessmentRunsCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("InspectorService", "DescribeAssessmentRuns", {})
|
|
22
|
+
.n("InspectorClient", "DescribeAssessmentRunsCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_json1_1_1.se_DescribeAssessmentRunsCommand)
|
|
25
|
+
.de(Aws_json1_1_1.de_DescribeAssessmentRunsCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.DescribeAssessmentRunsCommand = DescribeAssessmentRunsCommand;
|