@aws-sdk/client-schemas 3.927.0 → 3.929.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 (52) hide show
  1. package/dist-cjs/index.js +1443 -1401
  2. package/dist-cjs/runtimeConfig.shared.js +2 -0
  3. package/dist-es/SchemasClient.js +2 -0
  4. package/dist-es/commands/CreateDiscovererCommand.js +3 -9
  5. package/dist-es/commands/CreateRegistryCommand.js +3 -9
  6. package/dist-es/commands/CreateSchemaCommand.js +3 -9
  7. package/dist-es/commands/DeleteDiscovererCommand.js +3 -9
  8. package/dist-es/commands/DeleteRegistryCommand.js +3 -9
  9. package/dist-es/commands/DeleteResourcePolicyCommand.js +3 -9
  10. package/dist-es/commands/DeleteSchemaCommand.js +3 -9
  11. package/dist-es/commands/DeleteSchemaVersionCommand.js +3 -9
  12. package/dist-es/commands/DescribeCodeBindingCommand.js +3 -9
  13. package/dist-es/commands/DescribeDiscovererCommand.js +3 -9
  14. package/dist-es/commands/DescribeRegistryCommand.js +3 -9
  15. package/dist-es/commands/DescribeSchemaCommand.js +3 -9
  16. package/dist-es/commands/ExportSchemaCommand.js +3 -9
  17. package/dist-es/commands/GetCodeBindingSourceCommand.js +3 -9
  18. package/dist-es/commands/GetDiscoveredSchemaCommand.js +3 -9
  19. package/dist-es/commands/GetResourcePolicyCommand.js +3 -9
  20. package/dist-es/commands/ListDiscoverersCommand.js +3 -9
  21. package/dist-es/commands/ListRegistriesCommand.js +3 -9
  22. package/dist-es/commands/ListSchemaVersionsCommand.js +3 -9
  23. package/dist-es/commands/ListSchemasCommand.js +3 -9
  24. package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
  25. package/dist-es/commands/PutCodeBindingCommand.js +3 -9
  26. package/dist-es/commands/PutResourcePolicyCommand.js +3 -9
  27. package/dist-es/commands/SearchSchemasCommand.js +3 -9
  28. package/dist-es/commands/StartDiscovererCommand.js +3 -9
  29. package/dist-es/commands/StopDiscovererCommand.js +3 -9
  30. package/dist-es/commands/TagResourceCommand.js +3 -9
  31. package/dist-es/commands/UntagResourceCommand.js +3 -9
  32. package/dist-es/commands/UpdateDiscovererCommand.js +3 -9
  33. package/dist-es/commands/UpdateRegistryCommand.js +3 -9
  34. package/dist-es/commands/UpdateSchemaCommand.js +3 -9
  35. package/dist-es/runtimeConfig.shared.js +2 -0
  36. package/dist-es/schemas/schemas_0.js +1371 -0
  37. package/dist-types/SchemasClient.d.ts +10 -1
  38. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  39. package/dist-types/runtimeConfig.d.ts +1 -0
  40. package/dist-types/runtimeConfig.native.d.ts +1 -0
  41. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  42. package/dist-types/schemas/schemas_0.d.ts +115 -0
  43. package/dist-types/ts3.4/SchemasClient.d.ts +4 -0
  44. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  45. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  46. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  47. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  48. package/dist-types/ts3.4/schemas/schemas_0.d.ts +121 -0
  49. package/package.json +5 -6
  50. package/dist-es/protocols/Aws_restJson1.js +0 -1174
  51. package/dist-types/protocols/Aws_restJson1.d.ts +0 -281
  52. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -377
@@ -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,7 @@ const getRuntimeConfig = (config) => {
25
26
  },
26
27
  ],
27
28
  logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
29
+ protocol: config?.protocol ?? new protocols_1.AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.schemas" }),
28
30
  serviceId: config?.serviceId ?? "schemas",
29
31
  urlParser: config?.urlParser ?? url_parser_1.parseUrl,
30
32
  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 SchemasClient 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_CreateDiscovererCommand, se_CreateDiscovererCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateDiscoverer } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateDiscovererCommand 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("schemas", "CreateDiscoverer", {})
17
13
  .n("SchemasClient", "CreateDiscovererCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateDiscovererCommand)
20
- .de(de_CreateDiscovererCommand)
14
+ .sc(CreateDiscoverer)
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_CreateRegistryCommand, se_CreateRegistryCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateRegistry } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateRegistryCommand 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("schemas", "CreateRegistry", {})
17
13
  .n("SchemasClient", "CreateRegistryCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateRegistryCommand)
20
- .de(de_CreateRegistryCommand)
14
+ .sc(CreateRegistry)
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_CreateSchemaCommand, se_CreateSchemaCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateSchema } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateSchemaCommand 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("schemas", "CreateSchema", {})
17
13
  .n("SchemasClient", "CreateSchemaCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateSchemaCommand)
20
- .de(de_CreateSchemaCommand)
14
+ .sc(CreateSchema)
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_DeleteDiscovererCommand, se_DeleteDiscovererCommand } from "../protocols/Aws_restJson1";
4
+ import { DeleteDiscoverer } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteDiscovererCommand 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("schemas", "DeleteDiscoverer", {})
17
13
  .n("SchemasClient", "DeleteDiscovererCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteDiscovererCommand)
20
- .de(de_DeleteDiscovererCommand)
14
+ .sc(DeleteDiscoverer)
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_DeleteRegistryCommand, se_DeleteRegistryCommand } from "../protocols/Aws_restJson1";
4
+ import { DeleteRegistry } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteRegistryCommand 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("schemas", "DeleteRegistry", {})
17
13
  .n("SchemasClient", "DeleteRegistryCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteRegistryCommand)
20
- .de(de_DeleteRegistryCommand)
14
+ .sc(DeleteRegistry)
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_DeleteResourcePolicyCommand, se_DeleteResourcePolicyCommand } from "../protocols/Aws_restJson1";
4
+ import { DeleteResourcePolicy } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteResourcePolicyCommand 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("schemas", "DeleteResourcePolicy", {})
17
13
  .n("SchemasClient", "DeleteResourcePolicyCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteResourcePolicyCommand)
20
- .de(de_DeleteResourcePolicyCommand)
14
+ .sc(DeleteResourcePolicy)
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_DeleteSchemaCommand, se_DeleteSchemaCommand } from "../protocols/Aws_restJson1";
4
+ import { DeleteSchema } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteSchemaCommand 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("schemas", "DeleteSchema", {})
17
13
  .n("SchemasClient", "DeleteSchemaCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteSchemaCommand)
20
- .de(de_DeleteSchemaCommand)
14
+ .sc(DeleteSchema)
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_DeleteSchemaVersionCommand, se_DeleteSchemaVersionCommand } from "../protocols/Aws_restJson1";
4
+ import { DeleteSchemaVersion } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteSchemaVersionCommand 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("schemas", "DeleteSchemaVersion", {})
17
13
  .n("SchemasClient", "DeleteSchemaVersionCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteSchemaVersionCommand)
20
- .de(de_DeleteSchemaVersionCommand)
14
+ .sc(DeleteSchemaVersion)
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_DescribeCodeBindingCommand, se_DescribeCodeBindingCommand } from "../protocols/Aws_restJson1";
4
+ import { DescribeCodeBinding } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DescribeCodeBindingCommand 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("schemas", "DescribeCodeBinding", {})
17
13
  .n("SchemasClient", "DescribeCodeBindingCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DescribeCodeBindingCommand)
20
- .de(de_DescribeCodeBindingCommand)
14
+ .sc(DescribeCodeBinding)
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_DescribeDiscovererCommand, se_DescribeDiscovererCommand } from "../protocols/Aws_restJson1";
4
+ import { DescribeDiscoverer } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DescribeDiscovererCommand 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("schemas", "DescribeDiscoverer", {})
17
13
  .n("SchemasClient", "DescribeDiscovererCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DescribeDiscovererCommand)
20
- .de(de_DescribeDiscovererCommand)
14
+ .sc(DescribeDiscoverer)
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_DescribeRegistryCommand, se_DescribeRegistryCommand } from "../protocols/Aws_restJson1";
4
+ import { DescribeRegistry } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DescribeRegistryCommand 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("schemas", "DescribeRegistry", {})
17
13
  .n("SchemasClient", "DescribeRegistryCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DescribeRegistryCommand)
20
- .de(de_DescribeRegistryCommand)
14
+ .sc(DescribeRegistry)
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_DescribeSchemaCommand, se_DescribeSchemaCommand } from "../protocols/Aws_restJson1";
4
+ import { DescribeSchema } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DescribeSchemaCommand 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("schemas", "DescribeSchema", {})
17
13
  .n("SchemasClient", "DescribeSchemaCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DescribeSchemaCommand)
20
- .de(de_DescribeSchemaCommand)
14
+ .sc(DescribeSchema)
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_ExportSchemaCommand, se_ExportSchemaCommand } from "../protocols/Aws_restJson1";
4
+ import { ExportSchema } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ExportSchemaCommand 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("schemas", "ExportSchema", {})
17
13
  .n("SchemasClient", "ExportSchemaCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ExportSchemaCommand)
20
- .de(de_ExportSchemaCommand)
14
+ .sc(ExportSchema)
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_GetCodeBindingSourceCommand, se_GetCodeBindingSourceCommand } from "../protocols/Aws_restJson1";
4
+ import { GetCodeBindingSource } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetCodeBindingSourceCommand 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("schemas", "GetCodeBindingSource", {})
17
13
  .n("SchemasClient", "GetCodeBindingSourceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetCodeBindingSourceCommand)
20
- .de(de_GetCodeBindingSourceCommand)
14
+ .sc(GetCodeBindingSource)
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_GetDiscoveredSchemaCommand, se_GetDiscoveredSchemaCommand } from "../protocols/Aws_restJson1";
4
+ import { GetDiscoveredSchema } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetDiscoveredSchemaCommand 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("schemas", "GetDiscoveredSchema", {})
17
13
  .n("SchemasClient", "GetDiscoveredSchemaCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetDiscoveredSchemaCommand)
20
- .de(de_GetDiscoveredSchemaCommand)
14
+ .sc(GetDiscoveredSchema)
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_GetResourcePolicyCommand, se_GetResourcePolicyCommand } from "../protocols/Aws_restJson1";
4
+ import { GetResourcePolicy } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetResourcePolicyCommand 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("schemas", "GetResourcePolicy", {})
17
13
  .n("SchemasClient", "GetResourcePolicyCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetResourcePolicyCommand)
20
- .de(de_GetResourcePolicyCommand)
14
+ .sc(GetResourcePolicy)
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_ListDiscoverersCommand, se_ListDiscoverersCommand } from "../protocols/Aws_restJson1";
4
+ import { ListDiscoverers } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListDiscoverersCommand 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("schemas", "ListDiscoverers", {})
17
13
  .n("SchemasClient", "ListDiscoverersCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListDiscoverersCommand)
20
- .de(de_ListDiscoverersCommand)
14
+ .sc(ListDiscoverers)
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_ListRegistriesCommand, se_ListRegistriesCommand } from "../protocols/Aws_restJson1";
4
+ import { ListRegistries } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListRegistriesCommand 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("schemas", "ListRegistries", {})
17
13
  .n("SchemasClient", "ListRegistriesCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListRegistriesCommand)
20
- .de(de_ListRegistriesCommand)
14
+ .sc(ListRegistries)
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_ListSchemaVersionsCommand, se_ListSchemaVersionsCommand } from "../protocols/Aws_restJson1";
4
+ import { ListSchemaVersions } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListSchemaVersionsCommand 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("schemas", "ListSchemaVersions", {})
17
13
  .n("SchemasClient", "ListSchemaVersionsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListSchemaVersionsCommand)
20
- .de(de_ListSchemaVersionsCommand)
14
+ .sc(ListSchemaVersions)
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_ListSchemasCommand, se_ListSchemasCommand } from "../protocols/Aws_restJson1";
4
+ import { ListSchemas } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListSchemasCommand 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("schemas", "ListSchemas", {})
17
13
  .n("SchemasClient", "ListSchemasCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListSchemasCommand)
20
- .de(de_ListSchemasCommand)
14
+ .sc(ListSchemas)
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_ListTagsForResourceCommand, se_ListTagsForResourceCommand } from "../protocols/Aws_restJson1";
4
+ import { ListTagsForResource } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListTagsForResourceCommand 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("schemas", "ListTagsForResource", {})
17
13
  .n("SchemasClient", "ListTagsForResourceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListTagsForResourceCommand)
20
- .de(de_ListTagsForResourceCommand)
14
+ .sc(ListTagsForResource)
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_PutCodeBindingCommand, se_PutCodeBindingCommand } from "../protocols/Aws_restJson1";
4
+ import { PutCodeBinding } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class PutCodeBindingCommand 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("schemas", "PutCodeBinding", {})
17
13
  .n("SchemasClient", "PutCodeBindingCommand")
18
- .f(void 0, void 0)
19
- .ser(se_PutCodeBindingCommand)
20
- .de(de_PutCodeBindingCommand)
14
+ .sc(PutCodeBinding)
21
15
  .build() {
22
16
  }