@aws-sdk/client-schemas 3.952.0 → 3.954.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 (51) hide show
  1. package/dist-cjs/index.js +349 -239
  2. package/dist-cjs/runtimeConfig.shared.js +6 -1
  3. package/dist-es/commands/CreateDiscovererCommand.js +2 -2
  4. package/dist-es/commands/CreateRegistryCommand.js +2 -2
  5. package/dist-es/commands/CreateSchemaCommand.js +2 -2
  6. package/dist-es/commands/DeleteDiscovererCommand.js +2 -2
  7. package/dist-es/commands/DeleteRegistryCommand.js +2 -2
  8. package/dist-es/commands/DeleteResourcePolicyCommand.js +2 -2
  9. package/dist-es/commands/DeleteSchemaCommand.js +2 -2
  10. package/dist-es/commands/DeleteSchemaVersionCommand.js +2 -2
  11. package/dist-es/commands/DescribeCodeBindingCommand.js +2 -2
  12. package/dist-es/commands/DescribeDiscovererCommand.js +2 -2
  13. package/dist-es/commands/DescribeRegistryCommand.js +2 -2
  14. package/dist-es/commands/DescribeSchemaCommand.js +2 -2
  15. package/dist-es/commands/ExportSchemaCommand.js +2 -2
  16. package/dist-es/commands/GetCodeBindingSourceCommand.js +2 -2
  17. package/dist-es/commands/GetDiscoveredSchemaCommand.js +2 -2
  18. package/dist-es/commands/GetResourcePolicyCommand.js +2 -2
  19. package/dist-es/commands/ListDiscoverersCommand.js +2 -2
  20. package/dist-es/commands/ListRegistriesCommand.js +2 -2
  21. package/dist-es/commands/ListSchemaVersionsCommand.js +2 -2
  22. package/dist-es/commands/ListSchemasCommand.js +2 -2
  23. package/dist-es/commands/ListTagsForResourceCommand.js +2 -2
  24. package/dist-es/commands/PutCodeBindingCommand.js +2 -2
  25. package/dist-es/commands/PutResourcePolicyCommand.js +2 -2
  26. package/dist-es/commands/SearchSchemasCommand.js +2 -2
  27. package/dist-es/commands/StartDiscovererCommand.js +2 -2
  28. package/dist-es/commands/StopDiscovererCommand.js +2 -2
  29. package/dist-es/commands/TagResourceCommand.js +2 -2
  30. package/dist-es/commands/UntagResourceCommand.js +2 -2
  31. package/dist-es/commands/UpdateDiscovererCommand.js +2 -2
  32. package/dist-es/commands/UpdateRegistryCommand.js +2 -2
  33. package/dist-es/commands/UpdateSchemaCommand.js +2 -2
  34. package/dist-es/index.js +1 -0
  35. package/dist-es/runtimeConfig.shared.js +6 -1
  36. package/dist-es/schemas/schemas_0.js +189 -182
  37. package/dist-types/SchemasClient.d.ts +1 -10
  38. package/dist-types/index.d.ts +1 -0
  39. package/dist-types/runtimeConfig.browser.d.ts +6 -2
  40. package/dist-types/runtimeConfig.d.ts +6 -2
  41. package/dist-types/runtimeConfig.native.d.ts +6 -2
  42. package/dist-types/runtimeConfig.shared.d.ts +6 -1
  43. package/dist-types/schemas/schemas_0.d.ts +104 -115
  44. package/dist-types/ts3.4/SchemasClient.d.ts +0 -4
  45. package/dist-types/ts3.4/index.d.ts +1 -0
  46. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -5
  47. package/dist-types/ts3.4/runtimeConfig.d.ts +9 -5
  48. package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -5
  49. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +9 -4
  50. package/dist-types/ts3.4/schemas/schemas_0.d.ts +103 -116
  51. package/package.json +36 -36
@@ -26,7 +26,12 @@ const getRuntimeConfig = (config) => {
26
26
  },
27
27
  ],
28
28
  logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
29
- protocol: config?.protocol ?? new protocols_1.AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.schemas" }),
29
+ protocol: config?.protocol ?? protocols_1.AwsRestJsonProtocol,
30
+ protocolSettings: config?.protocolSettings ?? {
31
+ defaultNamespace: "com.amazonaws.schemas",
32
+ version: "2019-12-02",
33
+ serviceTarget: "schemas",
34
+ },
30
35
  serviceId: config?.serviceId ?? "schemas",
31
36
  urlParser: config?.urlParser ?? url_parser_1.parseUrl,
32
37
  utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { CreateDiscoverer } from "../schemas/schemas_0";
4
+ import { CreateDiscoverer$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class CreateDiscovererCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class CreateDiscovererCommand extends $Command
11
11
  })
12
12
  .s("schemas", "CreateDiscoverer", {})
13
13
  .n("SchemasClient", "CreateDiscovererCommand")
14
- .sc(CreateDiscoverer)
14
+ .sc(CreateDiscoverer$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { CreateRegistry } from "../schemas/schemas_0";
4
+ import { CreateRegistry$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class CreateRegistryCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class CreateRegistryCommand extends $Command
11
11
  })
12
12
  .s("schemas", "CreateRegistry", {})
13
13
  .n("SchemasClient", "CreateRegistryCommand")
14
- .sc(CreateRegistry)
14
+ .sc(CreateRegistry$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { CreateSchema } from "../schemas/schemas_0";
4
+ import { CreateSchema$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class CreateSchemaCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class CreateSchemaCommand extends $Command
11
11
  })
12
12
  .s("schemas", "CreateSchema", {})
13
13
  .n("SchemasClient", "CreateSchemaCommand")
14
- .sc(CreateSchema)
14
+ .sc(CreateSchema$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { DeleteDiscoverer } from "../schemas/schemas_0";
4
+ import { DeleteDiscoverer$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DeleteDiscovererCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DeleteDiscovererCommand extends $Command
11
11
  })
12
12
  .s("schemas", "DeleteDiscoverer", {})
13
13
  .n("SchemasClient", "DeleteDiscovererCommand")
14
- .sc(DeleteDiscoverer)
14
+ .sc(DeleteDiscoverer$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { DeleteRegistry } from "../schemas/schemas_0";
4
+ import { DeleteRegistry$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DeleteRegistryCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DeleteRegistryCommand extends $Command
11
11
  })
12
12
  .s("schemas", "DeleteRegistry", {})
13
13
  .n("SchemasClient", "DeleteRegistryCommand")
14
- .sc(DeleteRegistry)
14
+ .sc(DeleteRegistry$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { DeleteResourcePolicy } from "../schemas/schemas_0";
4
+ import { DeleteResourcePolicy$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DeleteResourcePolicyCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DeleteResourcePolicyCommand extends $Command
11
11
  })
12
12
  .s("schemas", "DeleteResourcePolicy", {})
13
13
  .n("SchemasClient", "DeleteResourcePolicyCommand")
14
- .sc(DeleteResourcePolicy)
14
+ .sc(DeleteResourcePolicy$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { DeleteSchema } from "../schemas/schemas_0";
4
+ import { DeleteSchema$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DeleteSchemaCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DeleteSchemaCommand extends $Command
11
11
  })
12
12
  .s("schemas", "DeleteSchema", {})
13
13
  .n("SchemasClient", "DeleteSchemaCommand")
14
- .sc(DeleteSchema)
14
+ .sc(DeleteSchema$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { DeleteSchemaVersion } from "../schemas/schemas_0";
4
+ import { DeleteSchemaVersion$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DeleteSchemaVersionCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DeleteSchemaVersionCommand extends $Command
11
11
  })
12
12
  .s("schemas", "DeleteSchemaVersion", {})
13
13
  .n("SchemasClient", "DeleteSchemaVersionCommand")
14
- .sc(DeleteSchemaVersion)
14
+ .sc(DeleteSchemaVersion$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { DescribeCodeBinding } from "../schemas/schemas_0";
4
+ import { DescribeCodeBinding$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DescribeCodeBindingCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DescribeCodeBindingCommand extends $Command
11
11
  })
12
12
  .s("schemas", "DescribeCodeBinding", {})
13
13
  .n("SchemasClient", "DescribeCodeBindingCommand")
14
- .sc(DescribeCodeBinding)
14
+ .sc(DescribeCodeBinding$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { DescribeDiscoverer } from "../schemas/schemas_0";
4
+ import { DescribeDiscoverer$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DescribeDiscovererCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DescribeDiscovererCommand extends $Command
11
11
  })
12
12
  .s("schemas", "DescribeDiscoverer", {})
13
13
  .n("SchemasClient", "DescribeDiscovererCommand")
14
- .sc(DescribeDiscoverer)
14
+ .sc(DescribeDiscoverer$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { DescribeRegistry } from "../schemas/schemas_0";
4
+ import { DescribeRegistry$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DescribeRegistryCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DescribeRegistryCommand extends $Command
11
11
  })
12
12
  .s("schemas", "DescribeRegistry", {})
13
13
  .n("SchemasClient", "DescribeRegistryCommand")
14
- .sc(DescribeRegistry)
14
+ .sc(DescribeRegistry$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { DescribeSchema } from "../schemas/schemas_0";
4
+ import { DescribeSchema$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DescribeSchemaCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DescribeSchemaCommand extends $Command
11
11
  })
12
12
  .s("schemas", "DescribeSchema", {})
13
13
  .n("SchemasClient", "DescribeSchemaCommand")
14
- .sc(DescribeSchema)
14
+ .sc(DescribeSchema$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ExportSchema } from "../schemas/schemas_0";
4
+ import { ExportSchema$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ExportSchemaCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ExportSchemaCommand extends $Command
11
11
  })
12
12
  .s("schemas", "ExportSchema", {})
13
13
  .n("SchemasClient", "ExportSchemaCommand")
14
- .sc(ExportSchema)
14
+ .sc(ExportSchema$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { GetCodeBindingSource } from "../schemas/schemas_0";
4
+ import { GetCodeBindingSource$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class GetCodeBindingSourceCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class GetCodeBindingSourceCommand extends $Command
11
11
  })
12
12
  .s("schemas", "GetCodeBindingSource", {})
13
13
  .n("SchemasClient", "GetCodeBindingSourceCommand")
14
- .sc(GetCodeBindingSource)
14
+ .sc(GetCodeBindingSource$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { GetDiscoveredSchema } from "../schemas/schemas_0";
4
+ import { GetDiscoveredSchema$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class GetDiscoveredSchemaCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class GetDiscoveredSchemaCommand extends $Command
11
11
  })
12
12
  .s("schemas", "GetDiscoveredSchema", {})
13
13
  .n("SchemasClient", "GetDiscoveredSchemaCommand")
14
- .sc(GetDiscoveredSchema)
14
+ .sc(GetDiscoveredSchema$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { GetResourcePolicy } from "../schemas/schemas_0";
4
+ import { GetResourcePolicy$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class GetResourcePolicyCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class GetResourcePolicyCommand extends $Command
11
11
  })
12
12
  .s("schemas", "GetResourcePolicy", {})
13
13
  .n("SchemasClient", "GetResourcePolicyCommand")
14
- .sc(GetResourcePolicy)
14
+ .sc(GetResourcePolicy$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListDiscoverers } from "../schemas/schemas_0";
4
+ import { ListDiscoverers$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListDiscoverersCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListDiscoverersCommand extends $Command
11
11
  })
12
12
  .s("schemas", "ListDiscoverers", {})
13
13
  .n("SchemasClient", "ListDiscoverersCommand")
14
- .sc(ListDiscoverers)
14
+ .sc(ListDiscoverers$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListRegistries } from "../schemas/schemas_0";
4
+ import { ListRegistries$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListRegistriesCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListRegistriesCommand extends $Command
11
11
  })
12
12
  .s("schemas", "ListRegistries", {})
13
13
  .n("SchemasClient", "ListRegistriesCommand")
14
- .sc(ListRegistries)
14
+ .sc(ListRegistries$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListSchemaVersions } from "../schemas/schemas_0";
4
+ import { ListSchemaVersions$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListSchemaVersionsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListSchemaVersionsCommand extends $Command
11
11
  })
12
12
  .s("schemas", "ListSchemaVersions", {})
13
13
  .n("SchemasClient", "ListSchemaVersionsCommand")
14
- .sc(ListSchemaVersions)
14
+ .sc(ListSchemaVersions$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListSchemas } from "../schemas/schemas_0";
4
+ import { ListSchemas$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListSchemasCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListSchemasCommand extends $Command
11
11
  })
12
12
  .s("schemas", "ListSchemas", {})
13
13
  .n("SchemasClient", "ListSchemasCommand")
14
- .sc(ListSchemas)
14
+ .sc(ListSchemas$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListTagsForResource } from "../schemas/schemas_0";
4
+ import { ListTagsForResource$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListTagsForResourceCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListTagsForResourceCommand extends $Command
11
11
  })
12
12
  .s("schemas", "ListTagsForResource", {})
13
13
  .n("SchemasClient", "ListTagsForResourceCommand")
14
- .sc(ListTagsForResource)
14
+ .sc(ListTagsForResource$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { PutCodeBinding } from "../schemas/schemas_0";
4
+ import { PutCodeBinding$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class PutCodeBindingCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class PutCodeBindingCommand extends $Command
11
11
  })
12
12
  .s("schemas", "PutCodeBinding", {})
13
13
  .n("SchemasClient", "PutCodeBindingCommand")
14
- .sc(PutCodeBinding)
14
+ .sc(PutCodeBinding$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { PutResourcePolicy } from "../schemas/schemas_0";
4
+ import { PutResourcePolicy$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class PutResourcePolicyCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class PutResourcePolicyCommand extends $Command
11
11
  })
12
12
  .s("schemas", "PutResourcePolicy", {})
13
13
  .n("SchemasClient", "PutResourcePolicyCommand")
14
- .sc(PutResourcePolicy)
14
+ .sc(PutResourcePolicy$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { SearchSchemas } from "../schemas/schemas_0";
4
+ import { SearchSchemas$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class SearchSchemasCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class SearchSchemasCommand extends $Command
11
11
  })
12
12
  .s("schemas", "SearchSchemas", {})
13
13
  .n("SchemasClient", "SearchSchemasCommand")
14
- .sc(SearchSchemas)
14
+ .sc(SearchSchemas$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { StartDiscoverer } from "../schemas/schemas_0";
4
+ import { StartDiscoverer$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class StartDiscovererCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class StartDiscovererCommand extends $Command
11
11
  })
12
12
  .s("schemas", "StartDiscoverer", {})
13
13
  .n("SchemasClient", "StartDiscovererCommand")
14
- .sc(StartDiscoverer)
14
+ .sc(StartDiscoverer$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { StopDiscoverer } from "../schemas/schemas_0";
4
+ import { StopDiscoverer$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class StopDiscovererCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class StopDiscovererCommand extends $Command
11
11
  })
12
12
  .s("schemas", "StopDiscoverer", {})
13
13
  .n("SchemasClient", "StopDiscovererCommand")
14
- .sc(StopDiscoverer)
14
+ .sc(StopDiscoverer$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { TagResource } from "../schemas/schemas_0";
4
+ import { TagResource$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class TagResourceCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class TagResourceCommand extends $Command
11
11
  })
12
12
  .s("schemas", "TagResource", {})
13
13
  .n("SchemasClient", "TagResourceCommand")
14
- .sc(TagResource)
14
+ .sc(TagResource$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { UntagResource } from "../schemas/schemas_0";
4
+ import { UntagResource$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UntagResourceCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UntagResourceCommand extends $Command
11
11
  })
12
12
  .s("schemas", "UntagResource", {})
13
13
  .n("SchemasClient", "UntagResourceCommand")
14
- .sc(UntagResource)
14
+ .sc(UntagResource$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { UpdateDiscoverer } from "../schemas/schemas_0";
4
+ import { UpdateDiscoverer$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UpdateDiscovererCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UpdateDiscovererCommand extends $Command
11
11
  })
12
12
  .s("schemas", "UpdateDiscoverer", {})
13
13
  .n("SchemasClient", "UpdateDiscovererCommand")
14
- .sc(UpdateDiscoverer)
14
+ .sc(UpdateDiscoverer$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { UpdateRegistry } from "../schemas/schemas_0";
4
+ import { UpdateRegistry$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UpdateRegistryCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UpdateRegistryCommand extends $Command
11
11
  })
12
12
  .s("schemas", "UpdateRegistry", {})
13
13
  .n("SchemasClient", "UpdateRegistryCommand")
14
- .sc(UpdateRegistry)
14
+ .sc(UpdateRegistry$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { UpdateSchema } from "../schemas/schemas_0";
4
+ import { UpdateSchema$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UpdateSchemaCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UpdateSchemaCommand extends $Command
11
11
  })
12
12
  .s("schemas", "UpdateSchema", {})
13
13
  .n("SchemasClient", "UpdateSchemaCommand")
14
- .sc(UpdateSchema)
14
+ .sc(UpdateSchema$)
15
15
  .build() {
16
16
  }
package/dist-es/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from "./SchemasClient";
2
2
  export * from "./Schemas";
3
3
  export * from "./commands";
4
+ export * from "./schemas/schemas_0";
4
5
  export * from "./pagination";
5
6
  export * from "./waiters";
6
7
  export * from "./models/enums";
@@ -23,7 +23,12 @@ export const getRuntimeConfig = (config) => {
23
23
  },
24
24
  ],
25
25
  logger: config?.logger ?? new NoOpLogger(),
26
- protocol: config?.protocol ?? new AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.schemas" }),
26
+ protocol: config?.protocol ?? AwsRestJsonProtocol,
27
+ protocolSettings: config?.protocolSettings ?? {
28
+ defaultNamespace: "com.amazonaws.schemas",
29
+ version: "2019-12-02",
30
+ serviceTarget: "schemas",
31
+ },
27
32
  serviceId: config?.serviceId ?? "schemas",
28
33
  urlParser: config?.urlParser ?? parseUrl,
29
34
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,