@aws-sdk/client-schemas 3.1077.0 → 3.1079.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 (101) hide show
  1. package/dist-cjs/index.js +39 -313
  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-types/commandBuilder.d.ts +18 -0
  36. package/dist-types/commands/CreateDiscovererCommand.d.ts +3 -8
  37. package/dist-types/commands/CreateRegistryCommand.d.ts +3 -8
  38. package/dist-types/commands/CreateSchemaCommand.d.ts +3 -8
  39. package/dist-types/commands/DeleteDiscovererCommand.d.ts +3 -8
  40. package/dist-types/commands/DeleteRegistryCommand.d.ts +3 -8
  41. package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +3 -8
  42. package/dist-types/commands/DeleteSchemaCommand.d.ts +3 -8
  43. package/dist-types/commands/DeleteSchemaVersionCommand.d.ts +3 -8
  44. package/dist-types/commands/DescribeCodeBindingCommand.d.ts +3 -8
  45. package/dist-types/commands/DescribeDiscovererCommand.d.ts +3 -8
  46. package/dist-types/commands/DescribeRegistryCommand.d.ts +3 -8
  47. package/dist-types/commands/DescribeSchemaCommand.d.ts +3 -8
  48. package/dist-types/commands/ExportSchemaCommand.d.ts +3 -8
  49. package/dist-types/commands/GetCodeBindingSourceCommand.d.ts +3 -8
  50. package/dist-types/commands/GetDiscoveredSchemaCommand.d.ts +3 -8
  51. package/dist-types/commands/GetResourcePolicyCommand.d.ts +3 -8
  52. package/dist-types/commands/ListDiscoverersCommand.d.ts +3 -8
  53. package/dist-types/commands/ListRegistriesCommand.d.ts +3 -8
  54. package/dist-types/commands/ListSchemaVersionsCommand.d.ts +3 -8
  55. package/dist-types/commands/ListSchemasCommand.d.ts +3 -8
  56. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
  57. package/dist-types/commands/PutCodeBindingCommand.d.ts +3 -8
  58. package/dist-types/commands/PutResourcePolicyCommand.d.ts +3 -8
  59. package/dist-types/commands/SearchSchemasCommand.d.ts +3 -8
  60. package/dist-types/commands/StartDiscovererCommand.d.ts +3 -8
  61. package/dist-types/commands/StopDiscovererCommand.d.ts +3 -8
  62. package/dist-types/commands/TagResourceCommand.d.ts +3 -8
  63. package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
  64. package/dist-types/commands/UpdateDiscovererCommand.d.ts +3 -8
  65. package/dist-types/commands/UpdateRegistryCommand.d.ts +3 -8
  66. package/dist-types/commands/UpdateSchemaCommand.d.ts +3 -8
  67. package/dist-types/index.d.ts +1 -0
  68. package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
  69. package/dist-types/ts3.4/commands/CreateDiscovererCommand.d.ts +7 -16
  70. package/dist-types/ts3.4/commands/CreateRegistryCommand.d.ts +7 -16
  71. package/dist-types/ts3.4/commands/CreateSchemaCommand.d.ts +7 -16
  72. package/dist-types/ts3.4/commands/DeleteDiscovererCommand.d.ts +7 -16
  73. package/dist-types/ts3.4/commands/DeleteRegistryCommand.d.ts +7 -16
  74. package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +7 -16
  75. package/dist-types/ts3.4/commands/DeleteSchemaCommand.d.ts +7 -16
  76. package/dist-types/ts3.4/commands/DeleteSchemaVersionCommand.d.ts +7 -16
  77. package/dist-types/ts3.4/commands/DescribeCodeBindingCommand.d.ts +7 -16
  78. package/dist-types/ts3.4/commands/DescribeDiscovererCommand.d.ts +7 -16
  79. package/dist-types/ts3.4/commands/DescribeRegistryCommand.d.ts +7 -16
  80. package/dist-types/ts3.4/commands/DescribeSchemaCommand.d.ts +7 -16
  81. package/dist-types/ts3.4/commands/ExportSchemaCommand.d.ts +7 -16
  82. package/dist-types/ts3.4/commands/GetCodeBindingSourceCommand.d.ts +7 -16
  83. package/dist-types/ts3.4/commands/GetDiscoveredSchemaCommand.d.ts +7 -16
  84. package/dist-types/ts3.4/commands/GetResourcePolicyCommand.d.ts +7 -16
  85. package/dist-types/ts3.4/commands/ListDiscoverersCommand.d.ts +7 -16
  86. package/dist-types/ts3.4/commands/ListRegistriesCommand.d.ts +7 -16
  87. package/dist-types/ts3.4/commands/ListSchemaVersionsCommand.d.ts +7 -16
  88. package/dist-types/ts3.4/commands/ListSchemasCommand.d.ts +7 -16
  89. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
  90. package/dist-types/ts3.4/commands/PutCodeBindingCommand.d.ts +7 -16
  91. package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +7 -16
  92. package/dist-types/ts3.4/commands/SearchSchemasCommand.d.ts +7 -16
  93. package/dist-types/ts3.4/commands/StartDiscovererCommand.d.ts +7 -16
  94. package/dist-types/ts3.4/commands/StopDiscovererCommand.d.ts +7 -16
  95. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
  96. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
  97. package/dist-types/ts3.4/commands/UpdateDiscovererCommand.d.ts +7 -16
  98. package/dist-types/ts3.4/commands/UpdateRegistryCommand.d.ts +7 -16
  99. package/dist-types/ts3.4/commands/UpdateSchemaCommand.d.ts +7 -16
  100. package/dist-types/ts3.4/index.d.ts +1 -0
  101. package/package.json +8 -8
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");
@@ -68,7 +69,7 @@ const commonParams = {
68
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
69
70
  };
70
71
 
71
- var version = "3.1076.0";
72
+ var version = "3.1078.0";
72
73
  var packageInfo = {
73
74
  version: version};
74
75
 
@@ -1109,376 +1110,101 @@ class SchemasClient extends Client {
1109
1110
  }
1110
1111
  }
1111
1112
 
1112
- class CreateDiscovererCommand extends Command
1113
- .classBuilder()
1114
- .ep(commonParams)
1115
- .m(function (Command, cs, config, o) {
1116
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1117
- })
1118
- .s("schemas", "CreateDiscoverer", {})
1119
- .n("SchemasClient", "CreateDiscovererCommand")
1120
- .sc(CreateDiscoverer$)
1121
- .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$) {
1122
1118
  }
1123
1119
 
1124
- class CreateRegistryCommand extends Command
1125
- .classBuilder()
1126
- .ep(commonParams)
1127
- .m(function (Command, cs, config, o) {
1128
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1129
- })
1130
- .s("schemas", "CreateRegistry", {})
1131
- .n("SchemasClient", "CreateRegistryCommand")
1132
- .sc(CreateRegistry$)
1133
- .build() {
1120
+ class CreateRegistryCommand extends command(_ep0, _mw0, "CreateRegistry", CreateRegistry$) {
1134
1121
  }
1135
1122
 
1136
- class CreateSchemaCommand extends Command
1137
- .classBuilder()
1138
- .ep(commonParams)
1139
- .m(function (Command, cs, config, o) {
1140
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1141
- })
1142
- .s("schemas", "CreateSchema", {})
1143
- .n("SchemasClient", "CreateSchemaCommand")
1144
- .sc(CreateSchema$)
1145
- .build() {
1123
+ class CreateSchemaCommand extends command(_ep0, _mw0, "CreateSchema", CreateSchema$) {
1146
1124
  }
1147
1125
 
1148
- class DeleteDiscovererCommand extends Command
1149
- .classBuilder()
1150
- .ep(commonParams)
1151
- .m(function (Command, cs, config, o) {
1152
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1153
- })
1154
- .s("schemas", "DeleteDiscoverer", {})
1155
- .n("SchemasClient", "DeleteDiscovererCommand")
1156
- .sc(DeleteDiscoverer$)
1157
- .build() {
1126
+ class DeleteDiscovererCommand extends command(_ep0, _mw0, "DeleteDiscoverer", DeleteDiscoverer$) {
1158
1127
  }
1159
1128
 
1160
- class DeleteRegistryCommand extends Command
1161
- .classBuilder()
1162
- .ep(commonParams)
1163
- .m(function (Command, cs, config, o) {
1164
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1165
- })
1166
- .s("schemas", "DeleteRegistry", {})
1167
- .n("SchemasClient", "DeleteRegistryCommand")
1168
- .sc(DeleteRegistry$)
1169
- .build() {
1129
+ class DeleteRegistryCommand extends command(_ep0, _mw0, "DeleteRegistry", DeleteRegistry$) {
1170
1130
  }
1171
1131
 
1172
- class DeleteResourcePolicyCommand extends Command
1173
- .classBuilder()
1174
- .ep(commonParams)
1175
- .m(function (Command, cs, config, o) {
1176
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1177
- })
1178
- .s("schemas", "DeleteResourcePolicy", {})
1179
- .n("SchemasClient", "DeleteResourcePolicyCommand")
1180
- .sc(DeleteResourcePolicy$)
1181
- .build() {
1132
+ class DeleteResourcePolicyCommand extends command(_ep0, _mw0, "DeleteResourcePolicy", DeleteResourcePolicy$) {
1182
1133
  }
1183
1134
 
1184
- class DeleteSchemaCommand extends Command
1185
- .classBuilder()
1186
- .ep(commonParams)
1187
- .m(function (Command, cs, config, o) {
1188
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1189
- })
1190
- .s("schemas", "DeleteSchema", {})
1191
- .n("SchemasClient", "DeleteSchemaCommand")
1192
- .sc(DeleteSchema$)
1193
- .build() {
1135
+ class DeleteSchemaCommand extends command(_ep0, _mw0, "DeleteSchema", DeleteSchema$) {
1194
1136
  }
1195
1137
 
1196
- class DeleteSchemaVersionCommand extends Command
1197
- .classBuilder()
1198
- .ep(commonParams)
1199
- .m(function (Command, cs, config, o) {
1200
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1201
- })
1202
- .s("schemas", "DeleteSchemaVersion", {})
1203
- .n("SchemasClient", "DeleteSchemaVersionCommand")
1204
- .sc(DeleteSchemaVersion$)
1205
- .build() {
1138
+ class DeleteSchemaVersionCommand extends command(_ep0, _mw0, "DeleteSchemaVersion", DeleteSchemaVersion$) {
1206
1139
  }
1207
1140
 
1208
- class DescribeCodeBindingCommand extends Command
1209
- .classBuilder()
1210
- .ep(commonParams)
1211
- .m(function (Command, cs, config, o) {
1212
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1213
- })
1214
- .s("schemas", "DescribeCodeBinding", {})
1215
- .n("SchemasClient", "DescribeCodeBindingCommand")
1216
- .sc(DescribeCodeBinding$)
1217
- .build() {
1141
+ class DescribeCodeBindingCommand extends command(_ep0, _mw0, "DescribeCodeBinding", DescribeCodeBinding$) {
1218
1142
  }
1219
1143
 
1220
- class DescribeDiscovererCommand extends Command
1221
- .classBuilder()
1222
- .ep(commonParams)
1223
- .m(function (Command, cs, config, o) {
1224
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1225
- })
1226
- .s("schemas", "DescribeDiscoverer", {})
1227
- .n("SchemasClient", "DescribeDiscovererCommand")
1228
- .sc(DescribeDiscoverer$)
1229
- .build() {
1144
+ class DescribeDiscovererCommand extends command(_ep0, _mw0, "DescribeDiscoverer", DescribeDiscoverer$) {
1230
1145
  }
1231
1146
 
1232
- class DescribeRegistryCommand extends Command
1233
- .classBuilder()
1234
- .ep(commonParams)
1235
- .m(function (Command, cs, config, o) {
1236
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1237
- })
1238
- .s("schemas", "DescribeRegistry", {})
1239
- .n("SchemasClient", "DescribeRegistryCommand")
1240
- .sc(DescribeRegistry$)
1241
- .build() {
1147
+ class DescribeRegistryCommand extends command(_ep0, _mw0, "DescribeRegistry", DescribeRegistry$) {
1242
1148
  }
1243
1149
 
1244
- class DescribeSchemaCommand extends Command
1245
- .classBuilder()
1246
- .ep(commonParams)
1247
- .m(function (Command, cs, config, o) {
1248
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1249
- })
1250
- .s("schemas", "DescribeSchema", {})
1251
- .n("SchemasClient", "DescribeSchemaCommand")
1252
- .sc(DescribeSchema$)
1253
- .build() {
1150
+ class DescribeSchemaCommand extends command(_ep0, _mw0, "DescribeSchema", DescribeSchema$) {
1254
1151
  }
1255
1152
 
1256
- class ExportSchemaCommand extends Command
1257
- .classBuilder()
1258
- .ep(commonParams)
1259
- .m(function (Command, cs, config, o) {
1260
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1261
- })
1262
- .s("schemas", "ExportSchema", {})
1263
- .n("SchemasClient", "ExportSchemaCommand")
1264
- .sc(ExportSchema$)
1265
- .build() {
1153
+ class ExportSchemaCommand extends command(_ep0, _mw0, "ExportSchema", ExportSchema$) {
1266
1154
  }
1267
1155
 
1268
- class GetCodeBindingSourceCommand extends Command
1269
- .classBuilder()
1270
- .ep(commonParams)
1271
- .m(function (Command, cs, config, o) {
1272
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1273
- })
1274
- .s("schemas", "GetCodeBindingSource", {})
1275
- .n("SchemasClient", "GetCodeBindingSourceCommand")
1276
- .sc(GetCodeBindingSource$)
1277
- .build() {
1156
+ class GetCodeBindingSourceCommand extends command(_ep0, _mw0, "GetCodeBindingSource", GetCodeBindingSource$) {
1278
1157
  }
1279
1158
 
1280
- class GetDiscoveredSchemaCommand extends Command
1281
- .classBuilder()
1282
- .ep(commonParams)
1283
- .m(function (Command, cs, config, o) {
1284
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1285
- })
1286
- .s("schemas", "GetDiscoveredSchema", {})
1287
- .n("SchemasClient", "GetDiscoveredSchemaCommand")
1288
- .sc(GetDiscoveredSchema$)
1289
- .build() {
1159
+ class GetDiscoveredSchemaCommand extends command(_ep0, _mw0, "GetDiscoveredSchema", GetDiscoveredSchema$) {
1290
1160
  }
1291
1161
 
1292
- class GetResourcePolicyCommand extends Command
1293
- .classBuilder()
1294
- .ep(commonParams)
1295
- .m(function (Command, cs, config, o) {
1296
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1297
- })
1298
- .s("schemas", "GetResourcePolicy", {})
1299
- .n("SchemasClient", "GetResourcePolicyCommand")
1300
- .sc(GetResourcePolicy$)
1301
- .build() {
1162
+ class GetResourcePolicyCommand extends command(_ep0, _mw0, "GetResourcePolicy", GetResourcePolicy$) {
1302
1163
  }
1303
1164
 
1304
- class ListDiscoverersCommand extends Command
1305
- .classBuilder()
1306
- .ep(commonParams)
1307
- .m(function (Command, cs, config, o) {
1308
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1309
- })
1310
- .s("schemas", "ListDiscoverers", {})
1311
- .n("SchemasClient", "ListDiscoverersCommand")
1312
- .sc(ListDiscoverers$)
1313
- .build() {
1165
+ class ListDiscoverersCommand extends command(_ep0, _mw0, "ListDiscoverers", ListDiscoverers$) {
1314
1166
  }
1315
1167
 
1316
- class ListRegistriesCommand extends Command
1317
- .classBuilder()
1318
- .ep(commonParams)
1319
- .m(function (Command, cs, config, o) {
1320
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1321
- })
1322
- .s("schemas", "ListRegistries", {})
1323
- .n("SchemasClient", "ListRegistriesCommand")
1324
- .sc(ListRegistries$)
1325
- .build() {
1168
+ class ListRegistriesCommand extends command(_ep0, _mw0, "ListRegistries", ListRegistries$) {
1326
1169
  }
1327
1170
 
1328
- class ListSchemasCommand extends Command
1329
- .classBuilder()
1330
- .ep(commonParams)
1331
- .m(function (Command, cs, config, o) {
1332
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1333
- })
1334
- .s("schemas", "ListSchemas", {})
1335
- .n("SchemasClient", "ListSchemasCommand")
1336
- .sc(ListSchemas$)
1337
- .build() {
1171
+ class ListSchemasCommand extends command(_ep0, _mw0, "ListSchemas", ListSchemas$) {
1338
1172
  }
1339
1173
 
1340
- class ListSchemaVersionsCommand extends Command
1341
- .classBuilder()
1342
- .ep(commonParams)
1343
- .m(function (Command, cs, config, o) {
1344
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1345
- })
1346
- .s("schemas", "ListSchemaVersions", {})
1347
- .n("SchemasClient", "ListSchemaVersionsCommand")
1348
- .sc(ListSchemaVersions$)
1349
- .build() {
1174
+ class ListSchemaVersionsCommand extends command(_ep0, _mw0, "ListSchemaVersions", ListSchemaVersions$) {
1350
1175
  }
1351
1176
 
1352
- class ListTagsForResourceCommand extends Command
1353
- .classBuilder()
1354
- .ep(commonParams)
1355
- .m(function (Command, cs, config, o) {
1356
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1357
- })
1358
- .s("schemas", "ListTagsForResource", {})
1359
- .n("SchemasClient", "ListTagsForResourceCommand")
1360
- .sc(ListTagsForResource$)
1361
- .build() {
1177
+ class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
1362
1178
  }
1363
1179
 
1364
- class PutCodeBindingCommand extends Command
1365
- .classBuilder()
1366
- .ep(commonParams)
1367
- .m(function (Command, cs, config, o) {
1368
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1369
- })
1370
- .s("schemas", "PutCodeBinding", {})
1371
- .n("SchemasClient", "PutCodeBindingCommand")
1372
- .sc(PutCodeBinding$)
1373
- .build() {
1180
+ class PutCodeBindingCommand extends command(_ep0, _mw0, "PutCodeBinding", PutCodeBinding$) {
1374
1181
  }
1375
1182
 
1376
- class PutResourcePolicyCommand extends Command
1377
- .classBuilder()
1378
- .ep(commonParams)
1379
- .m(function (Command, cs, config, o) {
1380
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1381
- })
1382
- .s("schemas", "PutResourcePolicy", {})
1383
- .n("SchemasClient", "PutResourcePolicyCommand")
1384
- .sc(PutResourcePolicy$)
1385
- .build() {
1183
+ class PutResourcePolicyCommand extends command(_ep0, _mw0, "PutResourcePolicy", PutResourcePolicy$) {
1386
1184
  }
1387
1185
 
1388
- class SearchSchemasCommand extends Command
1389
- .classBuilder()
1390
- .ep(commonParams)
1391
- .m(function (Command, cs, config, o) {
1392
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1393
- })
1394
- .s("schemas", "SearchSchemas", {})
1395
- .n("SchemasClient", "SearchSchemasCommand")
1396
- .sc(SearchSchemas$)
1397
- .build() {
1186
+ class SearchSchemasCommand extends command(_ep0, _mw0, "SearchSchemas", SearchSchemas$) {
1398
1187
  }
1399
1188
 
1400
- class StartDiscovererCommand extends Command
1401
- .classBuilder()
1402
- .ep(commonParams)
1403
- .m(function (Command, cs, config, o) {
1404
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1405
- })
1406
- .s("schemas", "StartDiscoverer", {})
1407
- .n("SchemasClient", "StartDiscovererCommand")
1408
- .sc(StartDiscoverer$)
1409
- .build() {
1189
+ class StartDiscovererCommand extends command(_ep0, _mw0, "StartDiscoverer", StartDiscoverer$) {
1410
1190
  }
1411
1191
 
1412
- class StopDiscovererCommand extends Command
1413
- .classBuilder()
1414
- .ep(commonParams)
1415
- .m(function (Command, cs, config, o) {
1416
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1417
- })
1418
- .s("schemas", "StopDiscoverer", {})
1419
- .n("SchemasClient", "StopDiscovererCommand")
1420
- .sc(StopDiscoverer$)
1421
- .build() {
1192
+ class StopDiscovererCommand extends command(_ep0, _mw0, "StopDiscoverer", StopDiscoverer$) {
1422
1193
  }
1423
1194
 
1424
- class TagResourceCommand extends Command
1425
- .classBuilder()
1426
- .ep(commonParams)
1427
- .m(function (Command, cs, config, o) {
1428
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1429
- })
1430
- .s("schemas", "TagResource", {})
1431
- .n("SchemasClient", "TagResourceCommand")
1432
- .sc(TagResource$)
1433
- .build() {
1195
+ class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
1434
1196
  }
1435
1197
 
1436
- class UntagResourceCommand extends Command
1437
- .classBuilder()
1438
- .ep(commonParams)
1439
- .m(function (Command, cs, config, o) {
1440
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1441
- })
1442
- .s("schemas", "UntagResource", {})
1443
- .n("SchemasClient", "UntagResourceCommand")
1444
- .sc(UntagResource$)
1445
- .build() {
1198
+ class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
1446
1199
  }
1447
1200
 
1448
- class UpdateDiscovererCommand extends Command
1449
- .classBuilder()
1450
- .ep(commonParams)
1451
- .m(function (Command, cs, config, o) {
1452
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1453
- })
1454
- .s("schemas", "UpdateDiscoverer", {})
1455
- .n("SchemasClient", "UpdateDiscovererCommand")
1456
- .sc(UpdateDiscoverer$)
1457
- .build() {
1201
+ class UpdateDiscovererCommand extends command(_ep0, _mw0, "UpdateDiscoverer", UpdateDiscoverer$) {
1458
1202
  }
1459
1203
 
1460
- class UpdateRegistryCommand extends Command
1461
- .classBuilder()
1462
- .ep(commonParams)
1463
- .m(function (Command, cs, config, o) {
1464
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1465
- })
1466
- .s("schemas", "UpdateRegistry", {})
1467
- .n("SchemasClient", "UpdateRegistryCommand")
1468
- .sc(UpdateRegistry$)
1469
- .build() {
1204
+ class UpdateRegistryCommand extends command(_ep0, _mw0, "UpdateRegistry", UpdateRegistry$) {
1470
1205
  }
1471
1206
 
1472
- class UpdateSchemaCommand extends Command
1473
- .classBuilder()
1474
- .ep(commonParams)
1475
- .m(function (Command, cs, config, o) {
1476
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1477
- })
1478
- .s("schemas", "UpdateSchema", {})
1479
- .n("SchemasClient", "UpdateSchemaCommand")
1480
- .sc(UpdateSchema$)
1481
- .build() {
1207
+ class UpdateSchemaCommand extends command(_ep0, _mw0, "UpdateSchema", UpdateSchema$) {
1482
1208
  }
1483
1209
 
1484
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
  }
@@ -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 { DescribeRegistry$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeRegistryCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("schemas", "DescribeRegistry", {})
13
- .n("SchemasClient", "DescribeRegistryCommand")
14
- .sc(DescribeRegistry$)
15
- .build() {
3
+ export class DescribeRegistryCommand extends command(_ep0, _mw0, "DescribeRegistry", DescribeRegistry$) {
16
4
  }