@aws-sdk/client-inspector 3.926.0 → 3.928.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.
Files changed (58) hide show
  1. package/dist-cjs/index.js +1243 -1407
  2. package/dist-cjs/runtimeConfig.shared.js +7 -0
  3. package/dist-es/InspectorClient.js +2 -0
  4. package/dist-es/commands/AddAttributesToFindingsCommand.js +3 -9
  5. package/dist-es/commands/CreateAssessmentTargetCommand.js +3 -9
  6. package/dist-es/commands/CreateAssessmentTemplateCommand.js +3 -9
  7. package/dist-es/commands/CreateExclusionsPreviewCommand.js +3 -9
  8. package/dist-es/commands/CreateResourceGroupCommand.js +3 -9
  9. package/dist-es/commands/DeleteAssessmentRunCommand.js +3 -9
  10. package/dist-es/commands/DeleteAssessmentTargetCommand.js +3 -9
  11. package/dist-es/commands/DeleteAssessmentTemplateCommand.js +3 -9
  12. package/dist-es/commands/DescribeAssessmentRunsCommand.js +3 -9
  13. package/dist-es/commands/DescribeAssessmentTargetsCommand.js +3 -9
  14. package/dist-es/commands/DescribeAssessmentTemplatesCommand.js +3 -9
  15. package/dist-es/commands/DescribeCrossAccountAccessRoleCommand.js +3 -9
  16. package/dist-es/commands/DescribeExclusionsCommand.js +3 -9
  17. package/dist-es/commands/DescribeFindingsCommand.js +3 -9
  18. package/dist-es/commands/DescribeResourceGroupsCommand.js +3 -9
  19. package/dist-es/commands/DescribeRulesPackagesCommand.js +3 -9
  20. package/dist-es/commands/GetAssessmentReportCommand.js +3 -9
  21. package/dist-es/commands/GetExclusionsPreviewCommand.js +3 -9
  22. package/dist-es/commands/GetTelemetryMetadataCommand.js +3 -9
  23. package/dist-es/commands/ListAssessmentRunAgentsCommand.js +3 -9
  24. package/dist-es/commands/ListAssessmentRunsCommand.js +3 -9
  25. package/dist-es/commands/ListAssessmentTargetsCommand.js +3 -9
  26. package/dist-es/commands/ListAssessmentTemplatesCommand.js +3 -9
  27. package/dist-es/commands/ListEventSubscriptionsCommand.js +3 -9
  28. package/dist-es/commands/ListExclusionsCommand.js +3 -9
  29. package/dist-es/commands/ListFindingsCommand.js +3 -9
  30. package/dist-es/commands/ListRulesPackagesCommand.js +3 -9
  31. package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
  32. package/dist-es/commands/PreviewAgentsCommand.js +3 -9
  33. package/dist-es/commands/RegisterCrossAccountAccessRoleCommand.js +3 -9
  34. package/dist-es/commands/RemoveAttributesFromFindingsCommand.js +3 -9
  35. package/dist-es/commands/SetTagsForResourceCommand.js +3 -9
  36. package/dist-es/commands/StartAssessmentRunCommand.js +3 -9
  37. package/dist-es/commands/StopAssessmentRunCommand.js +3 -9
  38. package/dist-es/commands/SubscribeToEventCommand.js +3 -9
  39. package/dist-es/commands/UnsubscribeFromEventCommand.js +3 -9
  40. package/dist-es/commands/UpdateAssessmentTargetCommand.js +3 -9
  41. package/dist-es/runtimeConfig.shared.js +7 -0
  42. package/dist-es/schemas/schemas_0.js +1154 -0
  43. package/dist-types/InspectorClient.d.ts +10 -1
  44. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  45. package/dist-types/runtimeConfig.d.ts +1 -0
  46. package/dist-types/runtimeConfig.native.d.ts +1 -0
  47. package/dist-types/runtimeConfig.shared.d.ts +2 -5
  48. package/dist-types/schemas/schemas_0.d.ts +194 -0
  49. package/dist-types/ts3.4/InspectorClient.d.ts +4 -0
  50. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  51. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  52. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  53. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  54. package/dist-types/ts3.4/schemas/schemas_0.d.ts +200 -0
  55. package/package.json +5 -5
  56. package/dist-es/protocols/Aws_json1_1.js +0 -1119
  57. package/dist-types/protocols/Aws_json1_1.d.ts +0 -335
  58. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +0 -449
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
4
  const core_1 = require("@aws-sdk/core");
5
+ const protocols_1 = require("@aws-sdk/core/protocols");
5
6
  const smithy_client_1 = require("@smithy/smithy-client");
6
7
  const url_parser_1 = require("@smithy/url-parser");
7
8
  const util_base64_1 = require("@smithy/util-base64");
@@ -25,6 +26,12 @@ const getRuntimeConfig = (config) => {
25
26
  },
26
27
  ],
27
28
  logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
29
+ protocol: config?.protocol ??
30
+ new protocols_1.AwsJson1_1Protocol({
31
+ defaultNamespace: "com.amazonaws.inspector",
32
+ serviceTarget: "InspectorService",
33
+ awsQueryCompatible: false,
34
+ }),
28
35
  serviceId: config?.serviceId ?? "Inspector",
29
36
  urlParser: config?.urlParser ?? url_parser_1.parseUrl,
30
37
  utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
@@ -4,6 +4,7 @@ import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detec
4
4
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
5
5
  import { resolveRegionConfig } from "@smithy/config-resolver";
6
6
  import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
7
+ import { getSchemaSerdePlugin } from "@smithy/core/schema";
7
8
  import { getContentLengthPlugin } from "@smithy/middleware-content-length";
8
9
  import { resolveEndpointConfig } from "@smithy/middleware-endpoint";
9
10
  import { getRetryPlugin, resolveRetryConfig } from "@smithy/middleware-retry";
@@ -28,6 +29,7 @@ export class InspectorClient extends __Client {
28
29
  const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
29
30
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
30
31
  this.config = _config_8;
32
+ this.middlewareStack.use(getSchemaSerdePlugin(this.config));
31
33
  this.middlewareStack.use(getUserAgentPlugin(this.config));
32
34
  this.middlewareStack.use(getRetryPlugin(this.config));
33
35
  this.middlewareStack.use(getContentLengthPlugin(this.config));
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_AddAttributesToFindingsCommand, se_AddAttributesToFindingsCommand } from "../protocols/Aws_json1_1";
4
+ import { AddAttributesToFindings } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class AddAttributesToFindingsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("InspectorService", "AddAttributesToFindings", {})
17
13
  .n("InspectorClient", "AddAttributesToFindingsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_AddAttributesToFindingsCommand)
20
- .de(de_AddAttributesToFindingsCommand)
14
+ .sc(AddAttributesToFindings)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_CreateAssessmentTargetCommand, se_CreateAssessmentTargetCommand } from "../protocols/Aws_json1_1";
4
+ import { CreateAssessmentTarget } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateAssessmentTargetCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("InspectorService", "CreateAssessmentTarget", {})
17
13
  .n("InspectorClient", "CreateAssessmentTargetCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateAssessmentTargetCommand)
20
- .de(de_CreateAssessmentTargetCommand)
14
+ .sc(CreateAssessmentTarget)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_CreateAssessmentTemplateCommand, se_CreateAssessmentTemplateCommand } from "../protocols/Aws_json1_1";
4
+ import { CreateAssessmentTemplate } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateAssessmentTemplateCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("InspectorService", "CreateAssessmentTemplate", {})
17
13
  .n("InspectorClient", "CreateAssessmentTemplateCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateAssessmentTemplateCommand)
20
- .de(de_CreateAssessmentTemplateCommand)
14
+ .sc(CreateAssessmentTemplate)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_CreateExclusionsPreviewCommand, se_CreateExclusionsPreviewCommand } from "../protocols/Aws_json1_1";
4
+ import { CreateExclusionsPreview } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateExclusionsPreviewCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("InspectorService", "CreateExclusionsPreview", {})
17
13
  .n("InspectorClient", "CreateExclusionsPreviewCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateExclusionsPreviewCommand)
20
- .de(de_CreateExclusionsPreviewCommand)
14
+ .sc(CreateExclusionsPreview)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_CreateResourceGroupCommand, se_CreateResourceGroupCommand } from "../protocols/Aws_json1_1";
4
+ import { CreateResourceGroup } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateResourceGroupCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("InspectorService", "CreateResourceGroup", {})
17
13
  .n("InspectorClient", "CreateResourceGroupCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateResourceGroupCommand)
20
- .de(de_CreateResourceGroupCommand)
14
+ .sc(CreateResourceGroup)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DeleteAssessmentRunCommand, se_DeleteAssessmentRunCommand } from "../protocols/Aws_json1_1";
4
+ import { DeleteAssessmentRun } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteAssessmentRunCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("InspectorService", "DeleteAssessmentRun", {})
17
13
  .n("InspectorClient", "DeleteAssessmentRunCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteAssessmentRunCommand)
20
- .de(de_DeleteAssessmentRunCommand)
14
+ .sc(DeleteAssessmentRun)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DeleteAssessmentTargetCommand, se_DeleteAssessmentTargetCommand } from "../protocols/Aws_json1_1";
4
+ import { DeleteAssessmentTarget } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteAssessmentTargetCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("InspectorService", "DeleteAssessmentTarget", {})
17
13
  .n("InspectorClient", "DeleteAssessmentTargetCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteAssessmentTargetCommand)
20
- .de(de_DeleteAssessmentTargetCommand)
14
+ .sc(DeleteAssessmentTarget)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DeleteAssessmentTemplateCommand, se_DeleteAssessmentTemplateCommand } from "../protocols/Aws_json1_1";
4
+ import { DeleteAssessmentTemplate } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteAssessmentTemplateCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("InspectorService", "DeleteAssessmentTemplate", {})
17
13
  .n("InspectorClient", "DeleteAssessmentTemplateCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteAssessmentTemplateCommand)
20
- .de(de_DeleteAssessmentTemplateCommand)
14
+ .sc(DeleteAssessmentTemplate)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DescribeAssessmentRunsCommand, se_DescribeAssessmentRunsCommand } from "../protocols/Aws_json1_1";
4
+ import { DescribeAssessmentRuns } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DescribeAssessmentRunsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("InspectorService", "DescribeAssessmentRuns", {})
17
13
  .n("InspectorClient", "DescribeAssessmentRunsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DescribeAssessmentRunsCommand)
20
- .de(de_DescribeAssessmentRunsCommand)
14
+ .sc(DescribeAssessmentRuns)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DescribeAssessmentTargetsCommand, se_DescribeAssessmentTargetsCommand } from "../protocols/Aws_json1_1";
4
+ import { DescribeAssessmentTargets } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DescribeAssessmentTargetsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("InspectorService", "DescribeAssessmentTargets", {})
17
13
  .n("InspectorClient", "DescribeAssessmentTargetsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DescribeAssessmentTargetsCommand)
20
- .de(de_DescribeAssessmentTargetsCommand)
14
+ .sc(DescribeAssessmentTargets)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DescribeAssessmentTemplatesCommand, se_DescribeAssessmentTemplatesCommand } from "../protocols/Aws_json1_1";
4
+ import { DescribeAssessmentTemplates } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DescribeAssessmentTemplatesCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("InspectorService", "DescribeAssessmentTemplates", {})
17
13
  .n("InspectorClient", "DescribeAssessmentTemplatesCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DescribeAssessmentTemplatesCommand)
20
- .de(de_DescribeAssessmentTemplatesCommand)
14
+ .sc(DescribeAssessmentTemplates)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DescribeCrossAccountAccessRoleCommand, se_DescribeCrossAccountAccessRoleCommand, } from "../protocols/Aws_json1_1";
4
+ import { DescribeCrossAccountAccessRole } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DescribeCrossAccountAccessRoleCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("InspectorService", "DescribeCrossAccountAccessRole", {})
17
13
  .n("InspectorClient", "DescribeCrossAccountAccessRoleCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DescribeCrossAccountAccessRoleCommand)
20
- .de(de_DescribeCrossAccountAccessRoleCommand)
14
+ .sc(DescribeCrossAccountAccessRole)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DescribeExclusionsCommand, se_DescribeExclusionsCommand } from "../protocols/Aws_json1_1";
4
+ import { DescribeExclusions } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DescribeExclusionsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("InspectorService", "DescribeExclusions", {})
17
13
  .n("InspectorClient", "DescribeExclusionsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DescribeExclusionsCommand)
20
- .de(de_DescribeExclusionsCommand)
14
+ .sc(DescribeExclusions)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DescribeFindingsCommand, se_DescribeFindingsCommand } from "../protocols/Aws_json1_1";
4
+ import { DescribeFindings } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DescribeFindingsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("InspectorService", "DescribeFindings", {})
17
13
  .n("InspectorClient", "DescribeFindingsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DescribeFindingsCommand)
20
- .de(de_DescribeFindingsCommand)
14
+ .sc(DescribeFindings)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DescribeResourceGroupsCommand, se_DescribeResourceGroupsCommand } from "../protocols/Aws_json1_1";
4
+ import { DescribeResourceGroups } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DescribeResourceGroupsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("InspectorService", "DescribeResourceGroups", {})
17
13
  .n("InspectorClient", "DescribeResourceGroupsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DescribeResourceGroupsCommand)
20
- .de(de_DescribeResourceGroupsCommand)
14
+ .sc(DescribeResourceGroups)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DescribeRulesPackagesCommand, se_DescribeRulesPackagesCommand } from "../protocols/Aws_json1_1";
4
+ import { DescribeRulesPackages } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DescribeRulesPackagesCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("InspectorService", "DescribeRulesPackages", {})
17
13
  .n("InspectorClient", "DescribeRulesPackagesCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DescribeRulesPackagesCommand)
20
- .de(de_DescribeRulesPackagesCommand)
14
+ .sc(DescribeRulesPackages)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetAssessmentReportCommand, se_GetAssessmentReportCommand } from "../protocols/Aws_json1_1";
4
+ import { GetAssessmentReport } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetAssessmentReportCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("InspectorService", "GetAssessmentReport", {})
17
13
  .n("InspectorClient", "GetAssessmentReportCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetAssessmentReportCommand)
20
- .de(de_GetAssessmentReportCommand)
14
+ .sc(GetAssessmentReport)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetExclusionsPreviewCommand, se_GetExclusionsPreviewCommand } from "../protocols/Aws_json1_1";
4
+ import { GetExclusionsPreview } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetExclusionsPreviewCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("InspectorService", "GetExclusionsPreview", {})
17
13
  .n("InspectorClient", "GetExclusionsPreviewCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetExclusionsPreviewCommand)
20
- .de(de_GetExclusionsPreviewCommand)
14
+ .sc(GetExclusionsPreview)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetTelemetryMetadataCommand, se_GetTelemetryMetadataCommand } from "../protocols/Aws_json1_1";
4
+ import { GetTelemetryMetadata } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetTelemetryMetadataCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("InspectorService", "GetTelemetryMetadata", {})
17
13
  .n("InspectorClient", "GetTelemetryMetadataCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetTelemetryMetadataCommand)
20
- .de(de_GetTelemetryMetadataCommand)
14
+ .sc(GetTelemetryMetadata)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListAssessmentRunAgentsCommand, se_ListAssessmentRunAgentsCommand } from "../protocols/Aws_json1_1";
4
+ import { ListAssessmentRunAgents } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListAssessmentRunAgentsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("InspectorService", "ListAssessmentRunAgents", {})
17
13
  .n("InspectorClient", "ListAssessmentRunAgentsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListAssessmentRunAgentsCommand)
20
- .de(de_ListAssessmentRunAgentsCommand)
14
+ .sc(ListAssessmentRunAgents)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListAssessmentRunsCommand, se_ListAssessmentRunsCommand } from "../protocols/Aws_json1_1";
4
+ import { ListAssessmentRuns } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListAssessmentRunsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("InspectorService", "ListAssessmentRuns", {})
17
13
  .n("InspectorClient", "ListAssessmentRunsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListAssessmentRunsCommand)
20
- .de(de_ListAssessmentRunsCommand)
14
+ .sc(ListAssessmentRuns)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListAssessmentTargetsCommand, se_ListAssessmentTargetsCommand } from "../protocols/Aws_json1_1";
4
+ import { ListAssessmentTargets } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListAssessmentTargetsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("InspectorService", "ListAssessmentTargets", {})
17
13
  .n("InspectorClient", "ListAssessmentTargetsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListAssessmentTargetsCommand)
20
- .de(de_ListAssessmentTargetsCommand)
14
+ .sc(ListAssessmentTargets)
21
15
  .build() {
22
16
  }