@aws-sdk/client-schemas 3.1076.0 → 3.1078.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 (113) hide show
  1. package/dist-cjs/index.js +42 -315
  2. package/dist-es/commandBuilder.js +6 -0
  3. package/dist-es/commands/CreateDiscovererCommand.js +2 -14
  4. package/dist-es/commands/CreateRegistryCommand.js +2 -14
  5. package/dist-es/commands/CreateSchemaCommand.js +2 -14
  6. package/dist-es/commands/DeleteDiscovererCommand.js +2 -14
  7. package/dist-es/commands/DeleteRegistryCommand.js +2 -14
  8. package/dist-es/commands/DeleteResourcePolicyCommand.js +2 -14
  9. package/dist-es/commands/DeleteSchemaCommand.js +2 -14
  10. package/dist-es/commands/DeleteSchemaVersionCommand.js +2 -14
  11. package/dist-es/commands/DescribeCodeBindingCommand.js +2 -14
  12. package/dist-es/commands/DescribeDiscovererCommand.js +2 -14
  13. package/dist-es/commands/DescribeRegistryCommand.js +2 -14
  14. package/dist-es/commands/DescribeSchemaCommand.js +2 -14
  15. package/dist-es/commands/ExportSchemaCommand.js +2 -14
  16. package/dist-es/commands/GetCodeBindingSourceCommand.js +2 -14
  17. package/dist-es/commands/GetDiscoveredSchemaCommand.js +2 -14
  18. package/dist-es/commands/GetResourcePolicyCommand.js +2 -14
  19. package/dist-es/commands/ListDiscoverersCommand.js +2 -14
  20. package/dist-es/commands/ListRegistriesCommand.js +2 -14
  21. package/dist-es/commands/ListSchemaVersionsCommand.js +2 -14
  22. package/dist-es/commands/ListSchemasCommand.js +2 -14
  23. package/dist-es/commands/ListTagsForResourceCommand.js +2 -14
  24. package/dist-es/commands/PutCodeBindingCommand.js +2 -14
  25. package/dist-es/commands/PutResourcePolicyCommand.js +2 -14
  26. package/dist-es/commands/SearchSchemasCommand.js +2 -14
  27. package/dist-es/commands/StartDiscovererCommand.js +2 -14
  28. package/dist-es/commands/StopDiscovererCommand.js +2 -14
  29. package/dist-es/commands/TagResourceCommand.js +2 -14
  30. package/dist-es/commands/UntagResourceCommand.js +2 -14
  31. package/dist-es/commands/UpdateDiscovererCommand.js +2 -14
  32. package/dist-es/commands/UpdateRegistryCommand.js +2 -14
  33. package/dist-es/commands/UpdateSchemaCommand.js +2 -14
  34. package/dist-es/index.js +1 -0
  35. package/dist-es/runtimeConfig.browser.js +0 -2
  36. package/dist-es/runtimeConfig.js +1 -2
  37. package/dist-es/runtimeConfig.native.js +0 -2
  38. package/dist-es/runtimeConfig.shared.js +2 -0
  39. package/dist-types/commandBuilder.d.ts +18 -0
  40. package/dist-types/commands/CreateDiscovererCommand.d.ts +3 -8
  41. package/dist-types/commands/CreateRegistryCommand.d.ts +3 -8
  42. package/dist-types/commands/CreateSchemaCommand.d.ts +3 -8
  43. package/dist-types/commands/DeleteDiscovererCommand.d.ts +3 -8
  44. package/dist-types/commands/DeleteRegistryCommand.d.ts +3 -8
  45. package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +3 -8
  46. package/dist-types/commands/DeleteSchemaCommand.d.ts +3 -8
  47. package/dist-types/commands/DeleteSchemaVersionCommand.d.ts +3 -8
  48. package/dist-types/commands/DescribeCodeBindingCommand.d.ts +3 -8
  49. package/dist-types/commands/DescribeDiscovererCommand.d.ts +3 -8
  50. package/dist-types/commands/DescribeRegistryCommand.d.ts +3 -8
  51. package/dist-types/commands/DescribeSchemaCommand.d.ts +3 -8
  52. package/dist-types/commands/ExportSchemaCommand.d.ts +3 -8
  53. package/dist-types/commands/GetCodeBindingSourceCommand.d.ts +3 -8
  54. package/dist-types/commands/GetDiscoveredSchemaCommand.d.ts +3 -8
  55. package/dist-types/commands/GetResourcePolicyCommand.d.ts +3 -8
  56. package/dist-types/commands/ListDiscoverersCommand.d.ts +3 -8
  57. package/dist-types/commands/ListRegistriesCommand.d.ts +3 -8
  58. package/dist-types/commands/ListSchemaVersionsCommand.d.ts +3 -8
  59. package/dist-types/commands/ListSchemasCommand.d.ts +3 -8
  60. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
  61. package/dist-types/commands/PutCodeBindingCommand.d.ts +3 -8
  62. package/dist-types/commands/PutResourcePolicyCommand.d.ts +3 -8
  63. package/dist-types/commands/SearchSchemasCommand.d.ts +3 -8
  64. package/dist-types/commands/StartDiscovererCommand.d.ts +3 -8
  65. package/dist-types/commands/StopDiscovererCommand.d.ts +3 -8
  66. package/dist-types/commands/TagResourceCommand.d.ts +3 -8
  67. package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
  68. package/dist-types/commands/UpdateDiscovererCommand.d.ts +3 -8
  69. package/dist-types/commands/UpdateRegistryCommand.d.ts +3 -8
  70. package/dist-types/commands/UpdateSchemaCommand.d.ts +3 -8
  71. package/dist-types/index.d.ts +1 -0
  72. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  73. package/dist-types/runtimeConfig.d.ts +1 -1
  74. package/dist-types/runtimeConfig.native.d.ts +1 -1
  75. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  76. package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
  77. package/dist-types/ts3.4/commands/CreateDiscovererCommand.d.ts +7 -16
  78. package/dist-types/ts3.4/commands/CreateRegistryCommand.d.ts +7 -16
  79. package/dist-types/ts3.4/commands/CreateSchemaCommand.d.ts +7 -16
  80. package/dist-types/ts3.4/commands/DeleteDiscovererCommand.d.ts +7 -16
  81. package/dist-types/ts3.4/commands/DeleteRegistryCommand.d.ts +7 -16
  82. package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +7 -16
  83. package/dist-types/ts3.4/commands/DeleteSchemaCommand.d.ts +7 -16
  84. package/dist-types/ts3.4/commands/DeleteSchemaVersionCommand.d.ts +7 -16
  85. package/dist-types/ts3.4/commands/DescribeCodeBindingCommand.d.ts +7 -16
  86. package/dist-types/ts3.4/commands/DescribeDiscovererCommand.d.ts +7 -16
  87. package/dist-types/ts3.4/commands/DescribeRegistryCommand.d.ts +7 -16
  88. package/dist-types/ts3.4/commands/DescribeSchemaCommand.d.ts +7 -16
  89. package/dist-types/ts3.4/commands/ExportSchemaCommand.d.ts +7 -16
  90. package/dist-types/ts3.4/commands/GetCodeBindingSourceCommand.d.ts +7 -16
  91. package/dist-types/ts3.4/commands/GetDiscoveredSchemaCommand.d.ts +7 -16
  92. package/dist-types/ts3.4/commands/GetResourcePolicyCommand.d.ts +7 -16
  93. package/dist-types/ts3.4/commands/ListDiscoverersCommand.d.ts +7 -16
  94. package/dist-types/ts3.4/commands/ListRegistriesCommand.d.ts +7 -16
  95. package/dist-types/ts3.4/commands/ListSchemaVersionsCommand.d.ts +7 -16
  96. package/dist-types/ts3.4/commands/ListSchemasCommand.d.ts +7 -16
  97. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
  98. package/dist-types/ts3.4/commands/PutCodeBindingCommand.d.ts +7 -16
  99. package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +7 -16
  100. package/dist-types/ts3.4/commands/SearchSchemasCommand.d.ts +7 -16
  101. package/dist-types/ts3.4/commands/StartDiscovererCommand.d.ts +7 -16
  102. package/dist-types/ts3.4/commands/StopDiscovererCommand.d.ts +7 -16
  103. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
  104. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
  105. package/dist-types/ts3.4/commands/UpdateDiscovererCommand.d.ts +7 -16
  106. package/dist-types/ts3.4/commands/UpdateRegistryCommand.d.ts +7 -16
  107. package/dist-types/ts3.4/commands/UpdateSchemaCommand.d.ts +7 -16
  108. package/dist-types/ts3.4/index.d.ts +1 -0
  109. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  110. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  111. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
  112. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
  113. package/package.json +8 -10
package/dist-cjs/index.js CHANGED
@@ -1,7 +1,8 @@
1
1
  const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
2
2
  const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
3
- const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createWaiter, checkExceptions, WaiterState, createAggregatedClient } = require("@smithy/core/client");
4
- exports.$Command = Command;
3
+ const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, makeBuilder, createWaiter, checkExceptions, WaiterState, createAggregatedClient } = require("@smithy/core/client");
4
+ const { Command: $Command } = require("@smithy/core/client");
5
+ exports.$Command = $Command;
5
6
  exports.__Client = Client;
6
7
  const { resolveDefaultsModeConfig, loadConfig, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, resolveRegionConfig } = require("@smithy/core/config");
7
8
  const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
@@ -10,9 +11,10 @@ const { DEFAULT_RETRY_MODE, NODE_RETRY_MODE_CONFIG_OPTIONS, NODE_MAX_ATTEMPT_CON
10
11
  const { TypeRegistry, getSchemaSerdePlugin } = require("@smithy/core/schema");
11
12
  const { resolveAwsSdkSigV4Config, AwsSdkSigV4Signer, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } = require("@aws-sdk/core/httpAuthSchemes");
12
13
  const { defaultProvider } = require("@aws-sdk/credential-provider-node");
13
- const { toUtf8, fromUtf8, toBase64, fromBase64, Hash, calculateBodyLength } = require("@smithy/core/serde");
14
+ const { toUtf8, fromUtf8, toBase64, fromBase64, calculateBodyLength } = require("@smithy/core/serde");
14
15
  const { streamCollector, NodeHttpHandler } = require("@smithy/node-http-handler");
15
16
  const { AwsRestJsonProtocol } = require("@aws-sdk/core/protocols");
17
+ const { Sha256 } = require("@smithy/core/checksum");
16
18
 
17
19
  const defaultSchemasHttpAuthSchemeParametersProvider = async (config, context, input) => {
18
20
  return {
@@ -67,7 +69,7 @@ const commonParams = {
67
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
68
70
  };
69
71
 
70
- var version = "3.1075.0";
72
+ var version = "3.1077.0";
71
73
  var packageInfo = {
72
74
  version: version};
73
75
 
@@ -987,6 +989,7 @@ const getRuntimeConfig$1 = (config) => {
987
989
  serviceTarget: "schemas",
988
990
  },
989
991
  serviceId: config?.serviceId ?? "schemas",
992
+ sha256: config?.sha256 ?? Sha256,
990
993
  urlParser: config?.urlParser ?? parseUrl,
991
994
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,
992
995
  utf8Encoder: config?.utf8Encoder ?? toUtf8,
@@ -1020,7 +1023,6 @@ const getRuntimeConfig = (config) => {
1020
1023
  ...NODE_RETRY_MODE_CONFIG_OPTIONS,
1021
1024
  default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
1022
1025
  }, config),
1023
- sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
1024
1026
  streamCollector: config?.streamCollector ?? streamCollector,
1025
1027
  useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
1026
1028
  useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
@@ -1108,376 +1110,101 @@ class SchemasClient extends Client {
1108
1110
  }
1109
1111
  }
1110
1112
 
1111
- class CreateDiscovererCommand extends Command
1112
- .classBuilder()
1113
- .ep(commonParams)
1114
- .m(function (Command, cs, config, o) {
1115
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1116
- })
1117
- .s("schemas", "CreateDiscoverer", {})
1118
- .n("SchemasClient", "CreateDiscovererCommand")
1119
- .sc(CreateDiscoverer$)
1120
- .build() {
1113
+ const command = makeBuilder(commonParams, "schemas", "SchemasClient", getEndpointPlugin);
1114
+ const _ep0 = {};
1115
+ const _mw0 = (Command, cs, config, o) => [];
1116
+
1117
+ class CreateDiscovererCommand extends command(_ep0, _mw0, "CreateDiscoverer", CreateDiscoverer$) {
1121
1118
  }
1122
1119
 
1123
- class CreateRegistryCommand extends Command
1124
- .classBuilder()
1125
- .ep(commonParams)
1126
- .m(function (Command, cs, config, o) {
1127
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1128
- })
1129
- .s("schemas", "CreateRegistry", {})
1130
- .n("SchemasClient", "CreateRegistryCommand")
1131
- .sc(CreateRegistry$)
1132
- .build() {
1120
+ class CreateRegistryCommand extends command(_ep0, _mw0, "CreateRegistry", CreateRegistry$) {
1133
1121
  }
1134
1122
 
1135
- class CreateSchemaCommand extends Command
1136
- .classBuilder()
1137
- .ep(commonParams)
1138
- .m(function (Command, cs, config, o) {
1139
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1140
- })
1141
- .s("schemas", "CreateSchema", {})
1142
- .n("SchemasClient", "CreateSchemaCommand")
1143
- .sc(CreateSchema$)
1144
- .build() {
1123
+ class CreateSchemaCommand extends command(_ep0, _mw0, "CreateSchema", CreateSchema$) {
1145
1124
  }
1146
1125
 
1147
- class DeleteDiscovererCommand extends Command
1148
- .classBuilder()
1149
- .ep(commonParams)
1150
- .m(function (Command, cs, config, o) {
1151
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1152
- })
1153
- .s("schemas", "DeleteDiscoverer", {})
1154
- .n("SchemasClient", "DeleteDiscovererCommand")
1155
- .sc(DeleteDiscoverer$)
1156
- .build() {
1126
+ class DeleteDiscovererCommand extends command(_ep0, _mw0, "DeleteDiscoverer", DeleteDiscoverer$) {
1157
1127
  }
1158
1128
 
1159
- class DeleteRegistryCommand extends Command
1160
- .classBuilder()
1161
- .ep(commonParams)
1162
- .m(function (Command, cs, config, o) {
1163
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1164
- })
1165
- .s("schemas", "DeleteRegistry", {})
1166
- .n("SchemasClient", "DeleteRegistryCommand")
1167
- .sc(DeleteRegistry$)
1168
- .build() {
1129
+ class DeleteRegistryCommand extends command(_ep0, _mw0, "DeleteRegistry", DeleteRegistry$) {
1169
1130
  }
1170
1131
 
1171
- class DeleteResourcePolicyCommand extends Command
1172
- .classBuilder()
1173
- .ep(commonParams)
1174
- .m(function (Command, cs, config, o) {
1175
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1176
- })
1177
- .s("schemas", "DeleteResourcePolicy", {})
1178
- .n("SchemasClient", "DeleteResourcePolicyCommand")
1179
- .sc(DeleteResourcePolicy$)
1180
- .build() {
1132
+ class DeleteResourcePolicyCommand extends command(_ep0, _mw0, "DeleteResourcePolicy", DeleteResourcePolicy$) {
1181
1133
  }
1182
1134
 
1183
- class DeleteSchemaCommand extends Command
1184
- .classBuilder()
1185
- .ep(commonParams)
1186
- .m(function (Command, cs, config, o) {
1187
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1188
- })
1189
- .s("schemas", "DeleteSchema", {})
1190
- .n("SchemasClient", "DeleteSchemaCommand")
1191
- .sc(DeleteSchema$)
1192
- .build() {
1135
+ class DeleteSchemaCommand extends command(_ep0, _mw0, "DeleteSchema", DeleteSchema$) {
1193
1136
  }
1194
1137
 
1195
- class DeleteSchemaVersionCommand extends Command
1196
- .classBuilder()
1197
- .ep(commonParams)
1198
- .m(function (Command, cs, config, o) {
1199
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1200
- })
1201
- .s("schemas", "DeleteSchemaVersion", {})
1202
- .n("SchemasClient", "DeleteSchemaVersionCommand")
1203
- .sc(DeleteSchemaVersion$)
1204
- .build() {
1138
+ class DeleteSchemaVersionCommand extends command(_ep0, _mw0, "DeleteSchemaVersion", DeleteSchemaVersion$) {
1205
1139
  }
1206
1140
 
1207
- class DescribeCodeBindingCommand extends Command
1208
- .classBuilder()
1209
- .ep(commonParams)
1210
- .m(function (Command, cs, config, o) {
1211
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1212
- })
1213
- .s("schemas", "DescribeCodeBinding", {})
1214
- .n("SchemasClient", "DescribeCodeBindingCommand")
1215
- .sc(DescribeCodeBinding$)
1216
- .build() {
1141
+ class DescribeCodeBindingCommand extends command(_ep0, _mw0, "DescribeCodeBinding", DescribeCodeBinding$) {
1217
1142
  }
1218
1143
 
1219
- class DescribeDiscovererCommand extends Command
1220
- .classBuilder()
1221
- .ep(commonParams)
1222
- .m(function (Command, cs, config, o) {
1223
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1224
- })
1225
- .s("schemas", "DescribeDiscoverer", {})
1226
- .n("SchemasClient", "DescribeDiscovererCommand")
1227
- .sc(DescribeDiscoverer$)
1228
- .build() {
1144
+ class DescribeDiscovererCommand extends command(_ep0, _mw0, "DescribeDiscoverer", DescribeDiscoverer$) {
1229
1145
  }
1230
1146
 
1231
- class DescribeRegistryCommand extends Command
1232
- .classBuilder()
1233
- .ep(commonParams)
1234
- .m(function (Command, cs, config, o) {
1235
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1236
- })
1237
- .s("schemas", "DescribeRegistry", {})
1238
- .n("SchemasClient", "DescribeRegistryCommand")
1239
- .sc(DescribeRegistry$)
1240
- .build() {
1147
+ class DescribeRegistryCommand extends command(_ep0, _mw0, "DescribeRegistry", DescribeRegistry$) {
1241
1148
  }
1242
1149
 
1243
- class DescribeSchemaCommand extends Command
1244
- .classBuilder()
1245
- .ep(commonParams)
1246
- .m(function (Command, cs, config, o) {
1247
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1248
- })
1249
- .s("schemas", "DescribeSchema", {})
1250
- .n("SchemasClient", "DescribeSchemaCommand")
1251
- .sc(DescribeSchema$)
1252
- .build() {
1150
+ class DescribeSchemaCommand extends command(_ep0, _mw0, "DescribeSchema", DescribeSchema$) {
1253
1151
  }
1254
1152
 
1255
- class ExportSchemaCommand extends Command
1256
- .classBuilder()
1257
- .ep(commonParams)
1258
- .m(function (Command, cs, config, o) {
1259
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1260
- })
1261
- .s("schemas", "ExportSchema", {})
1262
- .n("SchemasClient", "ExportSchemaCommand")
1263
- .sc(ExportSchema$)
1264
- .build() {
1153
+ class ExportSchemaCommand extends command(_ep0, _mw0, "ExportSchema", ExportSchema$) {
1265
1154
  }
1266
1155
 
1267
- class GetCodeBindingSourceCommand extends Command
1268
- .classBuilder()
1269
- .ep(commonParams)
1270
- .m(function (Command, cs, config, o) {
1271
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1272
- })
1273
- .s("schemas", "GetCodeBindingSource", {})
1274
- .n("SchemasClient", "GetCodeBindingSourceCommand")
1275
- .sc(GetCodeBindingSource$)
1276
- .build() {
1156
+ class GetCodeBindingSourceCommand extends command(_ep0, _mw0, "GetCodeBindingSource", GetCodeBindingSource$) {
1277
1157
  }
1278
1158
 
1279
- class GetDiscoveredSchemaCommand extends Command
1280
- .classBuilder()
1281
- .ep(commonParams)
1282
- .m(function (Command, cs, config, o) {
1283
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1284
- })
1285
- .s("schemas", "GetDiscoveredSchema", {})
1286
- .n("SchemasClient", "GetDiscoveredSchemaCommand")
1287
- .sc(GetDiscoveredSchema$)
1288
- .build() {
1159
+ class GetDiscoveredSchemaCommand extends command(_ep0, _mw0, "GetDiscoveredSchema", GetDiscoveredSchema$) {
1289
1160
  }
1290
1161
 
1291
- class GetResourcePolicyCommand extends Command
1292
- .classBuilder()
1293
- .ep(commonParams)
1294
- .m(function (Command, cs, config, o) {
1295
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1296
- })
1297
- .s("schemas", "GetResourcePolicy", {})
1298
- .n("SchemasClient", "GetResourcePolicyCommand")
1299
- .sc(GetResourcePolicy$)
1300
- .build() {
1162
+ class GetResourcePolicyCommand extends command(_ep0, _mw0, "GetResourcePolicy", GetResourcePolicy$) {
1301
1163
  }
1302
1164
 
1303
- class ListDiscoverersCommand extends Command
1304
- .classBuilder()
1305
- .ep(commonParams)
1306
- .m(function (Command, cs, config, o) {
1307
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1308
- })
1309
- .s("schemas", "ListDiscoverers", {})
1310
- .n("SchemasClient", "ListDiscoverersCommand")
1311
- .sc(ListDiscoverers$)
1312
- .build() {
1165
+ class ListDiscoverersCommand extends command(_ep0, _mw0, "ListDiscoverers", ListDiscoverers$) {
1313
1166
  }
1314
1167
 
1315
- class ListRegistriesCommand extends Command
1316
- .classBuilder()
1317
- .ep(commonParams)
1318
- .m(function (Command, cs, config, o) {
1319
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1320
- })
1321
- .s("schemas", "ListRegistries", {})
1322
- .n("SchemasClient", "ListRegistriesCommand")
1323
- .sc(ListRegistries$)
1324
- .build() {
1168
+ class ListRegistriesCommand extends command(_ep0, _mw0, "ListRegistries", ListRegistries$) {
1325
1169
  }
1326
1170
 
1327
- class ListSchemasCommand extends Command
1328
- .classBuilder()
1329
- .ep(commonParams)
1330
- .m(function (Command, cs, config, o) {
1331
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1332
- })
1333
- .s("schemas", "ListSchemas", {})
1334
- .n("SchemasClient", "ListSchemasCommand")
1335
- .sc(ListSchemas$)
1336
- .build() {
1171
+ class ListSchemasCommand extends command(_ep0, _mw0, "ListSchemas", ListSchemas$) {
1337
1172
  }
1338
1173
 
1339
- class ListSchemaVersionsCommand extends Command
1340
- .classBuilder()
1341
- .ep(commonParams)
1342
- .m(function (Command, cs, config, o) {
1343
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1344
- })
1345
- .s("schemas", "ListSchemaVersions", {})
1346
- .n("SchemasClient", "ListSchemaVersionsCommand")
1347
- .sc(ListSchemaVersions$)
1348
- .build() {
1174
+ class ListSchemaVersionsCommand extends command(_ep0, _mw0, "ListSchemaVersions", ListSchemaVersions$) {
1349
1175
  }
1350
1176
 
1351
- class ListTagsForResourceCommand extends Command
1352
- .classBuilder()
1353
- .ep(commonParams)
1354
- .m(function (Command, cs, config, o) {
1355
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1356
- })
1357
- .s("schemas", "ListTagsForResource", {})
1358
- .n("SchemasClient", "ListTagsForResourceCommand")
1359
- .sc(ListTagsForResource$)
1360
- .build() {
1177
+ class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
1361
1178
  }
1362
1179
 
1363
- class PutCodeBindingCommand extends Command
1364
- .classBuilder()
1365
- .ep(commonParams)
1366
- .m(function (Command, cs, config, o) {
1367
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1368
- })
1369
- .s("schemas", "PutCodeBinding", {})
1370
- .n("SchemasClient", "PutCodeBindingCommand")
1371
- .sc(PutCodeBinding$)
1372
- .build() {
1180
+ class PutCodeBindingCommand extends command(_ep0, _mw0, "PutCodeBinding", PutCodeBinding$) {
1373
1181
  }
1374
1182
 
1375
- class PutResourcePolicyCommand extends Command
1376
- .classBuilder()
1377
- .ep(commonParams)
1378
- .m(function (Command, cs, config, o) {
1379
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1380
- })
1381
- .s("schemas", "PutResourcePolicy", {})
1382
- .n("SchemasClient", "PutResourcePolicyCommand")
1383
- .sc(PutResourcePolicy$)
1384
- .build() {
1183
+ class PutResourcePolicyCommand extends command(_ep0, _mw0, "PutResourcePolicy", PutResourcePolicy$) {
1385
1184
  }
1386
1185
 
1387
- class SearchSchemasCommand extends Command
1388
- .classBuilder()
1389
- .ep(commonParams)
1390
- .m(function (Command, cs, config, o) {
1391
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1392
- })
1393
- .s("schemas", "SearchSchemas", {})
1394
- .n("SchemasClient", "SearchSchemasCommand")
1395
- .sc(SearchSchemas$)
1396
- .build() {
1186
+ class SearchSchemasCommand extends command(_ep0, _mw0, "SearchSchemas", SearchSchemas$) {
1397
1187
  }
1398
1188
 
1399
- class StartDiscovererCommand extends Command
1400
- .classBuilder()
1401
- .ep(commonParams)
1402
- .m(function (Command, cs, config, o) {
1403
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1404
- })
1405
- .s("schemas", "StartDiscoverer", {})
1406
- .n("SchemasClient", "StartDiscovererCommand")
1407
- .sc(StartDiscoverer$)
1408
- .build() {
1189
+ class StartDiscovererCommand extends command(_ep0, _mw0, "StartDiscoverer", StartDiscoverer$) {
1409
1190
  }
1410
1191
 
1411
- class StopDiscovererCommand extends Command
1412
- .classBuilder()
1413
- .ep(commonParams)
1414
- .m(function (Command, cs, config, o) {
1415
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1416
- })
1417
- .s("schemas", "StopDiscoverer", {})
1418
- .n("SchemasClient", "StopDiscovererCommand")
1419
- .sc(StopDiscoverer$)
1420
- .build() {
1192
+ class StopDiscovererCommand extends command(_ep0, _mw0, "StopDiscoverer", StopDiscoverer$) {
1421
1193
  }
1422
1194
 
1423
- class TagResourceCommand extends Command
1424
- .classBuilder()
1425
- .ep(commonParams)
1426
- .m(function (Command, cs, config, o) {
1427
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1428
- })
1429
- .s("schemas", "TagResource", {})
1430
- .n("SchemasClient", "TagResourceCommand")
1431
- .sc(TagResource$)
1432
- .build() {
1195
+ class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
1433
1196
  }
1434
1197
 
1435
- class UntagResourceCommand extends Command
1436
- .classBuilder()
1437
- .ep(commonParams)
1438
- .m(function (Command, cs, config, o) {
1439
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1440
- })
1441
- .s("schemas", "UntagResource", {})
1442
- .n("SchemasClient", "UntagResourceCommand")
1443
- .sc(UntagResource$)
1444
- .build() {
1198
+ class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
1445
1199
  }
1446
1200
 
1447
- class UpdateDiscovererCommand extends Command
1448
- .classBuilder()
1449
- .ep(commonParams)
1450
- .m(function (Command, cs, config, o) {
1451
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1452
- })
1453
- .s("schemas", "UpdateDiscoverer", {})
1454
- .n("SchemasClient", "UpdateDiscovererCommand")
1455
- .sc(UpdateDiscoverer$)
1456
- .build() {
1201
+ class UpdateDiscovererCommand extends command(_ep0, _mw0, "UpdateDiscoverer", UpdateDiscoverer$) {
1457
1202
  }
1458
1203
 
1459
- class UpdateRegistryCommand extends Command
1460
- .classBuilder()
1461
- .ep(commonParams)
1462
- .m(function (Command, cs, config, o) {
1463
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1464
- })
1465
- .s("schemas", "UpdateRegistry", {})
1466
- .n("SchemasClient", "UpdateRegistryCommand")
1467
- .sc(UpdateRegistry$)
1468
- .build() {
1204
+ class UpdateRegistryCommand extends command(_ep0, _mw0, "UpdateRegistry", UpdateRegistry$) {
1469
1205
  }
1470
1206
 
1471
- class UpdateSchemaCommand extends Command
1472
- .classBuilder()
1473
- .ep(commonParams)
1474
- .m(function (Command, cs, config, o) {
1475
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1476
- })
1477
- .s("schemas", "UpdateSchema", {})
1478
- .n("SchemasClient", "UpdateSchemaCommand")
1479
- .sc(UpdateSchema$)
1480
- .build() {
1207
+ class UpdateSchemaCommand extends command(_ep0, _mw0, "UpdateSchema", UpdateSchema$) {
1481
1208
  }
1482
1209
 
1483
1210
  const paginateListDiscoverers = createPaginator(SchemasClient, ListDiscoverersCommand, "NextToken", "NextToken", "Limit");
@@ -0,0 +1,6 @@
1
+ import { makeBuilder } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
+ import { commonParams } from "./endpoint/EndpointParameters";
4
+ export const command = makeBuilder(commonParams, "schemas", "SchemasClient", getEndpointPlugin);
5
+ export const _ep0 = {};
6
+ export const _mw0 = (Command, cs, config, o) => [];
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { CreateDiscoverer$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateDiscovererCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("schemas", "CreateDiscoverer", {})
13
- .n("SchemasClient", "CreateDiscovererCommand")
14
- .sc(CreateDiscoverer$)
15
- .build() {
3
+ export class CreateDiscovererCommand extends command(_ep0, _mw0, "CreateDiscoverer", CreateDiscoverer$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { CreateRegistry$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateRegistryCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("schemas", "CreateRegistry", {})
13
- .n("SchemasClient", "CreateRegistryCommand")
14
- .sc(CreateRegistry$)
15
- .build() {
3
+ export class CreateRegistryCommand extends command(_ep0, _mw0, "CreateRegistry", CreateRegistry$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { CreateSchema$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateSchemaCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("schemas", "CreateSchema", {})
13
- .n("SchemasClient", "CreateSchemaCommand")
14
- .sc(CreateSchema$)
15
- .build() {
3
+ export class CreateSchemaCommand extends command(_ep0, _mw0, "CreateSchema", CreateSchema$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DeleteDiscoverer$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteDiscovererCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("schemas", "DeleteDiscoverer", {})
13
- .n("SchemasClient", "DeleteDiscovererCommand")
14
- .sc(DeleteDiscoverer$)
15
- .build() {
3
+ export class DeleteDiscovererCommand extends command(_ep0, _mw0, "DeleteDiscoverer", DeleteDiscoverer$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DeleteRegistry$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteRegistryCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("schemas", "DeleteRegistry", {})
13
- .n("SchemasClient", "DeleteRegistryCommand")
14
- .sc(DeleteRegistry$)
15
- .build() {
3
+ export class DeleteRegistryCommand extends command(_ep0, _mw0, "DeleteRegistry", DeleteRegistry$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DeleteResourcePolicy$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteResourcePolicyCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("schemas", "DeleteResourcePolicy", {})
13
- .n("SchemasClient", "DeleteResourcePolicyCommand")
14
- .sc(DeleteResourcePolicy$)
15
- .build() {
3
+ export class DeleteResourcePolicyCommand extends command(_ep0, _mw0, "DeleteResourcePolicy", DeleteResourcePolicy$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DeleteSchema$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteSchemaCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("schemas", "DeleteSchema", {})
13
- .n("SchemasClient", "DeleteSchemaCommand")
14
- .sc(DeleteSchema$)
15
- .build() {
3
+ export class DeleteSchemaCommand extends command(_ep0, _mw0, "DeleteSchema", DeleteSchema$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DeleteSchemaVersion$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteSchemaVersionCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("schemas", "DeleteSchemaVersion", {})
13
- .n("SchemasClient", "DeleteSchemaVersionCommand")
14
- .sc(DeleteSchemaVersion$)
15
- .build() {
3
+ export class DeleteSchemaVersionCommand extends command(_ep0, _mw0, "DeleteSchemaVersion", DeleteSchemaVersion$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DescribeCodeBinding$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeCodeBindingCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("schemas", "DescribeCodeBinding", {})
13
- .n("SchemasClient", "DescribeCodeBindingCommand")
14
- .sc(DescribeCodeBinding$)
15
- .build() {
3
+ export class DescribeCodeBindingCommand extends command(_ep0, _mw0, "DescribeCodeBinding", DescribeCodeBinding$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DescribeDiscoverer$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeDiscovererCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("schemas", "DescribeDiscoverer", {})
13
- .n("SchemasClient", "DescribeDiscovererCommand")
14
- .sc(DescribeDiscoverer$)
15
- .build() {
3
+ export class DescribeDiscovererCommand extends command(_ep0, _mw0, "DescribeDiscoverer", DescribeDiscoverer$) {
16
4
  }