@aws-sdk/client-inspector 3.478.0 → 3.484.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 +11 -11
|
@@ -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 UpdateAssessmentTargetCommand 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 = "UpdateAssessmentTargetCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "InspectorService",
|
|
38
|
-
operation: "UpdateAssessmentTarget",
|
|
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_UpdateAssessmentTargetCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_json1_1_1.de_UpdateAssessmentTargetCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class UpdateAssessmentTargetCommand 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", "UpdateAssessmentTarget", {})
|
|
22
|
+
.n("InspectorClient", "UpdateAssessmentTargetCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_json1_1_1.se_UpdateAssessmentTargetCommand)
|
|
25
|
+
.de(Aws_json1_1_1.de_UpdateAssessmentTargetCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.UpdateAssessmentTargetCommand = UpdateAssessmentTargetCommand;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.resolveClientEndpointParameters = void 0;
|
|
3
|
+
exports.commonParams = exports.resolveClientEndpointParameters = void 0;
|
|
4
4
|
const resolveClientEndpointParameters = (options) => {
|
|
5
5
|
return {
|
|
6
6
|
...options,
|
|
@@ -10,3 +10,9 @@ const resolveClientEndpointParameters = (options) => {
|
|
|
10
10
|
};
|
|
11
11
|
};
|
|
12
12
|
exports.resolveClientEndpointParameters = resolveClientEndpointParameters;
|
|
13
|
+
exports.commonParams = {
|
|
14
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
15
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
16
|
+
Region: { type: "builtInParams", name: "region" },
|
|
17
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
18
|
+
};
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_AddAttributesToFindingsCommand, se_AddAttributesToFindingsCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class AddAttributesToFindingsCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "InspectorClient";
|
|
26
|
-
const commandName = "AddAttributesToFindingsCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "InspectorService",
|
|
35
|
-
operation: "AddAttributesToFindings",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_AddAttributesToFindingsCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_AddAttributesToFindingsCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class AddAttributesToFindingsCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("InspectorService", "AddAttributesToFindings", {})
|
|
19
|
+
.n("InspectorClient", "AddAttributesToFindingsCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_AddAttributesToFindingsCommand)
|
|
22
|
+
.de(de_AddAttributesToFindingsCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_CreateAssessmentTargetCommand, se_CreateAssessmentTargetCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class CreateAssessmentTargetCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "InspectorClient";
|
|
26
|
-
const commandName = "CreateAssessmentTargetCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "InspectorService",
|
|
35
|
-
operation: "CreateAssessmentTarget",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_CreateAssessmentTargetCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_CreateAssessmentTargetCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class CreateAssessmentTargetCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("InspectorService", "CreateAssessmentTarget", {})
|
|
19
|
+
.n("InspectorClient", "CreateAssessmentTargetCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_CreateAssessmentTargetCommand)
|
|
22
|
+
.de(de_CreateAssessmentTargetCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_CreateAssessmentTemplateCommand, se_CreateAssessmentTemplateCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class CreateAssessmentTemplateCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "InspectorClient";
|
|
26
|
-
const commandName = "CreateAssessmentTemplateCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "InspectorService",
|
|
35
|
-
operation: "CreateAssessmentTemplate",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_CreateAssessmentTemplateCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_CreateAssessmentTemplateCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class CreateAssessmentTemplateCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("InspectorService", "CreateAssessmentTemplate", {})
|
|
19
|
+
.n("InspectorClient", "CreateAssessmentTemplateCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_CreateAssessmentTemplateCommand)
|
|
22
|
+
.de(de_CreateAssessmentTemplateCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_CreateExclusionsPreviewCommand, se_CreateExclusionsPreviewCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class CreateExclusionsPreviewCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "InspectorClient";
|
|
26
|
-
const commandName = "CreateExclusionsPreviewCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "InspectorService",
|
|
35
|
-
operation: "CreateExclusionsPreview",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_CreateExclusionsPreviewCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_CreateExclusionsPreviewCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class CreateExclusionsPreviewCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("InspectorService", "CreateExclusionsPreview", {})
|
|
19
|
+
.n("InspectorClient", "CreateExclusionsPreviewCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_CreateExclusionsPreviewCommand)
|
|
22
|
+
.de(de_CreateExclusionsPreviewCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_CreateResourceGroupCommand, se_CreateResourceGroupCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class CreateResourceGroupCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "InspectorClient";
|
|
26
|
-
const commandName = "CreateResourceGroupCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "InspectorService",
|
|
35
|
-
operation: "CreateResourceGroup",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_CreateResourceGroupCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_CreateResourceGroupCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class CreateResourceGroupCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("InspectorService", "CreateResourceGroup", {})
|
|
19
|
+
.n("InspectorClient", "CreateResourceGroupCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_CreateResourceGroupCommand)
|
|
22
|
+
.de(de_CreateResourceGroupCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_DeleteAssessmentRunCommand, se_DeleteAssessmentRunCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class DeleteAssessmentRunCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "InspectorClient";
|
|
26
|
-
const commandName = "DeleteAssessmentRunCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "InspectorService",
|
|
35
|
-
operation: "DeleteAssessmentRun",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_DeleteAssessmentRunCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_DeleteAssessmentRunCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class DeleteAssessmentRunCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("InspectorService", "DeleteAssessmentRun", {})
|
|
19
|
+
.n("InspectorClient", "DeleteAssessmentRunCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_DeleteAssessmentRunCommand)
|
|
22
|
+
.de(de_DeleteAssessmentRunCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_DeleteAssessmentTargetCommand, se_DeleteAssessmentTargetCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class DeleteAssessmentTargetCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "InspectorClient";
|
|
26
|
-
const commandName = "DeleteAssessmentTargetCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "InspectorService",
|
|
35
|
-
operation: "DeleteAssessmentTarget",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_DeleteAssessmentTargetCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_DeleteAssessmentTargetCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class DeleteAssessmentTargetCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("InspectorService", "DeleteAssessmentTarget", {})
|
|
19
|
+
.n("InspectorClient", "DeleteAssessmentTargetCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_DeleteAssessmentTargetCommand)
|
|
22
|
+
.de(de_DeleteAssessmentTargetCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_DeleteAssessmentTemplateCommand, se_DeleteAssessmentTemplateCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class DeleteAssessmentTemplateCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "InspectorClient";
|
|
26
|
-
const commandName = "DeleteAssessmentTemplateCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "InspectorService",
|
|
35
|
-
operation: "DeleteAssessmentTemplate",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_DeleteAssessmentTemplateCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_DeleteAssessmentTemplateCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class DeleteAssessmentTemplateCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("InspectorService", "DeleteAssessmentTemplate", {})
|
|
19
|
+
.n("InspectorClient", "DeleteAssessmentTemplateCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_DeleteAssessmentTemplateCommand)
|
|
22
|
+
.de(de_DeleteAssessmentTemplateCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|