@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
|
@@ -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_DescribeAssessmentRunsCommand, se_DescribeAssessmentRunsCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class DescribeAssessmentRunsCommand 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 = "DescribeAssessmentRunsCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "InspectorService",
|
|
35
|
-
operation: "DescribeAssessmentRuns",
|
|
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_DescribeAssessmentRunsCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_DescribeAssessmentRunsCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class DescribeAssessmentRunsCommand 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", "DescribeAssessmentRuns", {})
|
|
19
|
+
.n("InspectorClient", "DescribeAssessmentRunsCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_DescribeAssessmentRunsCommand)
|
|
22
|
+
.de(de_DescribeAssessmentRunsCommand)
|
|
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_DescribeAssessmentTargetsCommand, se_DescribeAssessmentTargetsCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class DescribeAssessmentTargetsCommand 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 = "DescribeAssessmentTargetsCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "InspectorService",
|
|
35
|
-
operation: "DescribeAssessmentTargets",
|
|
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_DescribeAssessmentTargetsCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_DescribeAssessmentTargetsCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class DescribeAssessmentTargetsCommand 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", "DescribeAssessmentTargets", {})
|
|
19
|
+
.n("InspectorClient", "DescribeAssessmentTargetsCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_DescribeAssessmentTargetsCommand)
|
|
22
|
+
.de(de_DescribeAssessmentTargetsCommand)
|
|
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_DescribeAssessmentTemplatesCommand, se_DescribeAssessmentTemplatesCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class DescribeAssessmentTemplatesCommand 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 = "DescribeAssessmentTemplatesCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "InspectorService",
|
|
35
|
-
operation: "DescribeAssessmentTemplates",
|
|
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_DescribeAssessmentTemplatesCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_DescribeAssessmentTemplatesCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class DescribeAssessmentTemplatesCommand 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", "DescribeAssessmentTemplates", {})
|
|
19
|
+
.n("InspectorClient", "DescribeAssessmentTemplatesCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_DescribeAssessmentTemplatesCommand)
|
|
22
|
+
.de(de_DescribeAssessmentTemplatesCommand)
|
|
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_DescribeCrossAccountAccessRoleCommand, se_DescribeCrossAccountAccessRoleCommand, } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class DescribeCrossAccountAccessRoleCommand 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 = "DescribeCrossAccountAccessRoleCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "InspectorService",
|
|
35
|
-
operation: "DescribeCrossAccountAccessRole",
|
|
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_DescribeCrossAccountAccessRoleCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_DescribeCrossAccountAccessRoleCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class DescribeCrossAccountAccessRoleCommand 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", "DescribeCrossAccountAccessRole", {})
|
|
19
|
+
.n("InspectorClient", "DescribeCrossAccountAccessRoleCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_DescribeCrossAccountAccessRoleCommand)
|
|
22
|
+
.de(de_DescribeCrossAccountAccessRoleCommand)
|
|
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_DescribeExclusionsCommand, se_DescribeExclusionsCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class DescribeExclusionsCommand 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 = "DescribeExclusionsCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "InspectorService",
|
|
35
|
-
operation: "DescribeExclusions",
|
|
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_DescribeExclusionsCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_DescribeExclusionsCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class DescribeExclusionsCommand 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", "DescribeExclusions", {})
|
|
19
|
+
.n("InspectorClient", "DescribeExclusionsCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_DescribeExclusionsCommand)
|
|
22
|
+
.de(de_DescribeExclusionsCommand)
|
|
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_DescribeFindingsCommand, se_DescribeFindingsCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class DescribeFindingsCommand 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 = "DescribeFindingsCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "InspectorService",
|
|
35
|
-
operation: "DescribeFindings",
|
|
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_DescribeFindingsCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_DescribeFindingsCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class DescribeFindingsCommand 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", "DescribeFindings", {})
|
|
19
|
+
.n("InspectorClient", "DescribeFindingsCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_DescribeFindingsCommand)
|
|
22
|
+
.de(de_DescribeFindingsCommand)
|
|
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_DescribeResourceGroupsCommand, se_DescribeResourceGroupsCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class DescribeResourceGroupsCommand 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 = "DescribeResourceGroupsCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "InspectorService",
|
|
35
|
-
operation: "DescribeResourceGroups",
|
|
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_DescribeResourceGroupsCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_DescribeResourceGroupsCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class DescribeResourceGroupsCommand 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", "DescribeResourceGroups", {})
|
|
19
|
+
.n("InspectorClient", "DescribeResourceGroupsCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_DescribeResourceGroupsCommand)
|
|
22
|
+
.de(de_DescribeResourceGroupsCommand)
|
|
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_DescribeRulesPackagesCommand, se_DescribeRulesPackagesCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class DescribeRulesPackagesCommand 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 = "DescribeRulesPackagesCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "InspectorService",
|
|
35
|
-
operation: "DescribeRulesPackages",
|
|
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_DescribeRulesPackagesCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_DescribeRulesPackagesCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class DescribeRulesPackagesCommand 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", "DescribeRulesPackages", {})
|
|
19
|
+
.n("InspectorClient", "DescribeRulesPackagesCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_DescribeRulesPackagesCommand)
|
|
22
|
+
.de(de_DescribeRulesPackagesCommand)
|
|
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_GetAssessmentReportCommand, se_GetAssessmentReportCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class GetAssessmentReportCommand 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 = "GetAssessmentReportCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "InspectorService",
|
|
35
|
-
operation: "GetAssessmentReport",
|
|
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_GetAssessmentReportCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_GetAssessmentReportCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class GetAssessmentReportCommand 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", "GetAssessmentReport", {})
|
|
19
|
+
.n("InspectorClient", "GetAssessmentReportCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_GetAssessmentReportCommand)
|
|
22
|
+
.de(de_GetAssessmentReportCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|