@aws-sdk/client-taxsettings 3.1077.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 (56) hide show
  1. package/dist-cjs/index.js +24 -163
  2. package/dist-es/commandBuilder.js +6 -0
  3. package/dist-es/commands/BatchDeleteTaxRegistrationCommand.js +2 -14
  4. package/dist-es/commands/BatchGetTaxExemptionsCommand.js +2 -14
  5. package/dist-es/commands/BatchPutTaxRegistrationCommand.js +2 -14
  6. package/dist-es/commands/DeleteSupplementalTaxRegistrationCommand.js +2 -14
  7. package/dist-es/commands/DeleteTaxRegistrationCommand.js +2 -14
  8. package/dist-es/commands/GetTaxExemptionTypesCommand.js +2 -14
  9. package/dist-es/commands/GetTaxInheritanceCommand.js +2 -14
  10. package/dist-es/commands/GetTaxRegistrationCommand.js +2 -14
  11. package/dist-es/commands/GetTaxRegistrationDocumentCommand.js +2 -14
  12. package/dist-es/commands/ListSupplementalTaxRegistrationsCommand.js +2 -14
  13. package/dist-es/commands/ListTaxExemptionsCommand.js +2 -14
  14. package/dist-es/commands/ListTaxRegistrationsCommand.js +2 -14
  15. package/dist-es/commands/PutSupplementalTaxRegistrationCommand.js +2 -14
  16. package/dist-es/commands/PutTaxExemptionCommand.js +2 -14
  17. package/dist-es/commands/PutTaxInheritanceCommand.js +2 -14
  18. package/dist-es/commands/PutTaxRegistrationCommand.js +2 -14
  19. package/dist-es/index.js +1 -0
  20. package/dist-types/commandBuilder.d.ts +18 -0
  21. package/dist-types/commands/BatchDeleteTaxRegistrationCommand.d.ts +3 -8
  22. package/dist-types/commands/BatchGetTaxExemptionsCommand.d.ts +3 -8
  23. package/dist-types/commands/BatchPutTaxRegistrationCommand.d.ts +3 -8
  24. package/dist-types/commands/DeleteSupplementalTaxRegistrationCommand.d.ts +3 -8
  25. package/dist-types/commands/DeleteTaxRegistrationCommand.d.ts +3 -8
  26. package/dist-types/commands/GetTaxExemptionTypesCommand.d.ts +3 -8
  27. package/dist-types/commands/GetTaxInheritanceCommand.d.ts +3 -8
  28. package/dist-types/commands/GetTaxRegistrationCommand.d.ts +3 -8
  29. package/dist-types/commands/GetTaxRegistrationDocumentCommand.d.ts +3 -8
  30. package/dist-types/commands/ListSupplementalTaxRegistrationsCommand.d.ts +3 -8
  31. package/dist-types/commands/ListTaxExemptionsCommand.d.ts +3 -8
  32. package/dist-types/commands/ListTaxRegistrationsCommand.d.ts +3 -8
  33. package/dist-types/commands/PutSupplementalTaxRegistrationCommand.d.ts +3 -8
  34. package/dist-types/commands/PutTaxExemptionCommand.d.ts +3 -8
  35. package/dist-types/commands/PutTaxInheritanceCommand.d.ts +3 -8
  36. package/dist-types/commands/PutTaxRegistrationCommand.d.ts +3 -8
  37. package/dist-types/index.d.ts +1 -0
  38. package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
  39. package/dist-types/ts3.4/commands/BatchDeleteTaxRegistrationCommand.d.ts +7 -16
  40. package/dist-types/ts3.4/commands/BatchGetTaxExemptionsCommand.d.ts +7 -16
  41. package/dist-types/ts3.4/commands/BatchPutTaxRegistrationCommand.d.ts +7 -16
  42. package/dist-types/ts3.4/commands/DeleteSupplementalTaxRegistrationCommand.d.ts +7 -16
  43. package/dist-types/ts3.4/commands/DeleteTaxRegistrationCommand.d.ts +7 -16
  44. package/dist-types/ts3.4/commands/GetTaxExemptionTypesCommand.d.ts +7 -16
  45. package/dist-types/ts3.4/commands/GetTaxInheritanceCommand.d.ts +7 -16
  46. package/dist-types/ts3.4/commands/GetTaxRegistrationCommand.d.ts +7 -16
  47. package/dist-types/ts3.4/commands/GetTaxRegistrationDocumentCommand.d.ts +7 -16
  48. package/dist-types/ts3.4/commands/ListSupplementalTaxRegistrationsCommand.d.ts +7 -16
  49. package/dist-types/ts3.4/commands/ListTaxExemptionsCommand.d.ts +7 -16
  50. package/dist-types/ts3.4/commands/ListTaxRegistrationsCommand.d.ts +7 -16
  51. package/dist-types/ts3.4/commands/PutSupplementalTaxRegistrationCommand.d.ts +7 -16
  52. package/dist-types/ts3.4/commands/PutTaxExemptionCommand.d.ts +7 -16
  53. package/dist-types/ts3.4/commands/PutTaxInheritanceCommand.d.ts +7 -16
  54. package/dist-types/ts3.4/commands/PutTaxRegistrationCommand.d.ts +7 -16
  55. package/dist-types/ts3.4/index.d.ts +1 -0
  56. 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, createAggregatedClient } = require("@smithy/core/client");
4
- exports.$Command = Command;
3
+ const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, makeBuilder, 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.1077.0";
72
73
  var packageInfo = {
73
74
  version: version};
74
75
 
@@ -1210,196 +1211,56 @@ class TaxSettingsClient extends Client {
1210
1211
  }
1211
1212
  }
1212
1213
 
1213
- class BatchDeleteTaxRegistrationCommand extends Command
1214
- .classBuilder()
1215
- .ep(commonParams)
1216
- .m(function (Command, cs, config, o) {
1217
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1218
- })
1219
- .s("TaxSettings", "BatchDeleteTaxRegistration", {})
1220
- .n("TaxSettingsClient", "BatchDeleteTaxRegistrationCommand")
1221
- .sc(BatchDeleteTaxRegistration$)
1222
- .build() {
1214
+ const command = makeBuilder(commonParams, "TaxSettings", "TaxSettingsClient", getEndpointPlugin);
1215
+ const _ep0 = {};
1216
+ const _mw0 = (Command, cs, config, o) => [];
1217
+
1218
+ class BatchDeleteTaxRegistrationCommand extends command(_ep0, _mw0, "BatchDeleteTaxRegistration", BatchDeleteTaxRegistration$) {
1223
1219
  }
1224
1220
 
1225
- class BatchGetTaxExemptionsCommand extends Command
1226
- .classBuilder()
1227
- .ep(commonParams)
1228
- .m(function (Command, cs, config, o) {
1229
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1230
- })
1231
- .s("TaxSettings", "BatchGetTaxExemptions", {})
1232
- .n("TaxSettingsClient", "BatchGetTaxExemptionsCommand")
1233
- .sc(BatchGetTaxExemptions$)
1234
- .build() {
1221
+ class BatchGetTaxExemptionsCommand extends command(_ep0, _mw0, "BatchGetTaxExemptions", BatchGetTaxExemptions$) {
1235
1222
  }
1236
1223
 
1237
- class BatchPutTaxRegistrationCommand extends Command
1238
- .classBuilder()
1239
- .ep(commonParams)
1240
- .m(function (Command, cs, config, o) {
1241
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1242
- })
1243
- .s("TaxSettings", "BatchPutTaxRegistration", {})
1244
- .n("TaxSettingsClient", "BatchPutTaxRegistrationCommand")
1245
- .sc(BatchPutTaxRegistration$)
1246
- .build() {
1224
+ class BatchPutTaxRegistrationCommand extends command(_ep0, _mw0, "BatchPutTaxRegistration", BatchPutTaxRegistration$) {
1247
1225
  }
1248
1226
 
1249
- class DeleteSupplementalTaxRegistrationCommand extends Command
1250
- .classBuilder()
1251
- .ep(commonParams)
1252
- .m(function (Command, cs, config, o) {
1253
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1254
- })
1255
- .s("TaxSettings", "DeleteSupplementalTaxRegistration", {})
1256
- .n("TaxSettingsClient", "DeleteSupplementalTaxRegistrationCommand")
1257
- .sc(DeleteSupplementalTaxRegistration$)
1258
- .build() {
1227
+ class DeleteSupplementalTaxRegistrationCommand extends command(_ep0, _mw0, "DeleteSupplementalTaxRegistration", DeleteSupplementalTaxRegistration$) {
1259
1228
  }
1260
1229
 
1261
- class DeleteTaxRegistrationCommand extends Command
1262
- .classBuilder()
1263
- .ep(commonParams)
1264
- .m(function (Command, cs, config, o) {
1265
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1266
- })
1267
- .s("TaxSettings", "DeleteTaxRegistration", {})
1268
- .n("TaxSettingsClient", "DeleteTaxRegistrationCommand")
1269
- .sc(DeleteTaxRegistration$)
1270
- .build() {
1230
+ class DeleteTaxRegistrationCommand extends command(_ep0, _mw0, "DeleteTaxRegistration", DeleteTaxRegistration$) {
1271
1231
  }
1272
1232
 
1273
- class GetTaxExemptionTypesCommand extends Command
1274
- .classBuilder()
1275
- .ep(commonParams)
1276
- .m(function (Command, cs, config, o) {
1277
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1278
- })
1279
- .s("TaxSettings", "GetTaxExemptionTypes", {})
1280
- .n("TaxSettingsClient", "GetTaxExemptionTypesCommand")
1281
- .sc(GetTaxExemptionTypes$)
1282
- .build() {
1233
+ class GetTaxExemptionTypesCommand extends command(_ep0, _mw0, "GetTaxExemptionTypes", GetTaxExemptionTypes$) {
1283
1234
  }
1284
1235
 
1285
- class GetTaxInheritanceCommand extends Command
1286
- .classBuilder()
1287
- .ep(commonParams)
1288
- .m(function (Command, cs, config, o) {
1289
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1290
- })
1291
- .s("TaxSettings", "GetTaxInheritance", {})
1292
- .n("TaxSettingsClient", "GetTaxInheritanceCommand")
1293
- .sc(GetTaxInheritance$)
1294
- .build() {
1236
+ class GetTaxInheritanceCommand extends command(_ep0, _mw0, "GetTaxInheritance", GetTaxInheritance$) {
1295
1237
  }
1296
1238
 
1297
- class GetTaxRegistrationCommand extends Command
1298
- .classBuilder()
1299
- .ep(commonParams)
1300
- .m(function (Command, cs, config, o) {
1301
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1302
- })
1303
- .s("TaxSettings", "GetTaxRegistration", {})
1304
- .n("TaxSettingsClient", "GetTaxRegistrationCommand")
1305
- .sc(GetTaxRegistration$)
1306
- .build() {
1239
+ class GetTaxRegistrationCommand extends command(_ep0, _mw0, "GetTaxRegistration", GetTaxRegistration$) {
1307
1240
  }
1308
1241
 
1309
- class GetTaxRegistrationDocumentCommand extends Command
1310
- .classBuilder()
1311
- .ep(commonParams)
1312
- .m(function (Command, cs, config, o) {
1313
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1314
- })
1315
- .s("TaxSettings", "GetTaxRegistrationDocument", {})
1316
- .n("TaxSettingsClient", "GetTaxRegistrationDocumentCommand")
1317
- .sc(GetTaxRegistrationDocument$)
1318
- .build() {
1242
+ class GetTaxRegistrationDocumentCommand extends command(_ep0, _mw0, "GetTaxRegistrationDocument", GetTaxRegistrationDocument$) {
1319
1243
  }
1320
1244
 
1321
- class ListSupplementalTaxRegistrationsCommand extends Command
1322
- .classBuilder()
1323
- .ep(commonParams)
1324
- .m(function (Command, cs, config, o) {
1325
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1326
- })
1327
- .s("TaxSettings", "ListSupplementalTaxRegistrations", {})
1328
- .n("TaxSettingsClient", "ListSupplementalTaxRegistrationsCommand")
1329
- .sc(ListSupplementalTaxRegistrations$)
1330
- .build() {
1245
+ class ListSupplementalTaxRegistrationsCommand extends command(_ep0, _mw0, "ListSupplementalTaxRegistrations", ListSupplementalTaxRegistrations$) {
1331
1246
  }
1332
1247
 
1333
- class ListTaxExemptionsCommand extends Command
1334
- .classBuilder()
1335
- .ep(commonParams)
1336
- .m(function (Command, cs, config, o) {
1337
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1338
- })
1339
- .s("TaxSettings", "ListTaxExemptions", {})
1340
- .n("TaxSettingsClient", "ListTaxExemptionsCommand")
1341
- .sc(ListTaxExemptions$)
1342
- .build() {
1248
+ class ListTaxExemptionsCommand extends command(_ep0, _mw0, "ListTaxExemptions", ListTaxExemptions$) {
1343
1249
  }
1344
1250
 
1345
- class ListTaxRegistrationsCommand extends Command
1346
- .classBuilder()
1347
- .ep(commonParams)
1348
- .m(function (Command, cs, config, o) {
1349
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1350
- })
1351
- .s("TaxSettings", "ListTaxRegistrations", {})
1352
- .n("TaxSettingsClient", "ListTaxRegistrationsCommand")
1353
- .sc(ListTaxRegistrations$)
1354
- .build() {
1251
+ class ListTaxRegistrationsCommand extends command(_ep0, _mw0, "ListTaxRegistrations", ListTaxRegistrations$) {
1355
1252
  }
1356
1253
 
1357
- class PutSupplementalTaxRegistrationCommand extends Command
1358
- .classBuilder()
1359
- .ep(commonParams)
1360
- .m(function (Command, cs, config, o) {
1361
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1362
- })
1363
- .s("TaxSettings", "PutSupplementalTaxRegistration", {})
1364
- .n("TaxSettingsClient", "PutSupplementalTaxRegistrationCommand")
1365
- .sc(PutSupplementalTaxRegistration$)
1366
- .build() {
1254
+ class PutSupplementalTaxRegistrationCommand extends command(_ep0, _mw0, "PutSupplementalTaxRegistration", PutSupplementalTaxRegistration$) {
1367
1255
  }
1368
1256
 
1369
- class PutTaxExemptionCommand extends Command
1370
- .classBuilder()
1371
- .ep(commonParams)
1372
- .m(function (Command, cs, config, o) {
1373
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1374
- })
1375
- .s("TaxSettings", "PutTaxExemption", {})
1376
- .n("TaxSettingsClient", "PutTaxExemptionCommand")
1377
- .sc(PutTaxExemption$)
1378
- .build() {
1257
+ class PutTaxExemptionCommand extends command(_ep0, _mw0, "PutTaxExemption", PutTaxExemption$) {
1379
1258
  }
1380
1259
 
1381
- class PutTaxInheritanceCommand extends Command
1382
- .classBuilder()
1383
- .ep(commonParams)
1384
- .m(function (Command, cs, config, o) {
1385
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1386
- })
1387
- .s("TaxSettings", "PutTaxInheritance", {})
1388
- .n("TaxSettingsClient", "PutTaxInheritanceCommand")
1389
- .sc(PutTaxInheritance$)
1390
- .build() {
1260
+ class PutTaxInheritanceCommand extends command(_ep0, _mw0, "PutTaxInheritance", PutTaxInheritance$) {
1391
1261
  }
1392
1262
 
1393
- class PutTaxRegistrationCommand extends Command
1394
- .classBuilder()
1395
- .ep(commonParams)
1396
- .m(function (Command, cs, config, o) {
1397
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1398
- })
1399
- .s("TaxSettings", "PutTaxRegistration", {})
1400
- .n("TaxSettingsClient", "PutTaxRegistrationCommand")
1401
- .sc(PutTaxRegistration$)
1402
- .build() {
1263
+ class PutTaxRegistrationCommand extends command(_ep0, _mw0, "PutTaxRegistration", PutTaxRegistration$) {
1403
1264
  }
1404
1265
 
1405
1266
  const paginateListSupplementalTaxRegistrations = createPaginator(TaxSettingsClient, ListSupplementalTaxRegistrationsCommand, "nextToken", "nextToken", "maxResults");
@@ -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, "TaxSettings", "TaxSettingsClient", 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 { BatchDeleteTaxRegistration$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class BatchDeleteTaxRegistrationCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("TaxSettings", "BatchDeleteTaxRegistration", {})
13
- .n("TaxSettingsClient", "BatchDeleteTaxRegistrationCommand")
14
- .sc(BatchDeleteTaxRegistration$)
15
- .build() {
3
+ export class BatchDeleteTaxRegistrationCommand extends command(_ep0, _mw0, "BatchDeleteTaxRegistration", BatchDeleteTaxRegistration$) {
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 { BatchGetTaxExemptions$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class BatchGetTaxExemptionsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("TaxSettings", "BatchGetTaxExemptions", {})
13
- .n("TaxSettingsClient", "BatchGetTaxExemptionsCommand")
14
- .sc(BatchGetTaxExemptions$)
15
- .build() {
3
+ export class BatchGetTaxExemptionsCommand extends command(_ep0, _mw0, "BatchGetTaxExemptions", BatchGetTaxExemptions$) {
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 { BatchPutTaxRegistration$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class BatchPutTaxRegistrationCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("TaxSettings", "BatchPutTaxRegistration", {})
13
- .n("TaxSettingsClient", "BatchPutTaxRegistrationCommand")
14
- .sc(BatchPutTaxRegistration$)
15
- .build() {
3
+ export class BatchPutTaxRegistrationCommand extends command(_ep0, _mw0, "BatchPutTaxRegistration", BatchPutTaxRegistration$) {
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 { DeleteSupplementalTaxRegistration$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteSupplementalTaxRegistrationCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("TaxSettings", "DeleteSupplementalTaxRegistration", {})
13
- .n("TaxSettingsClient", "DeleteSupplementalTaxRegistrationCommand")
14
- .sc(DeleteSupplementalTaxRegistration$)
15
- .build() {
3
+ export class DeleteSupplementalTaxRegistrationCommand extends command(_ep0, _mw0, "DeleteSupplementalTaxRegistration", DeleteSupplementalTaxRegistration$) {
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 { DeleteTaxRegistration$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteTaxRegistrationCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("TaxSettings", "DeleteTaxRegistration", {})
13
- .n("TaxSettingsClient", "DeleteTaxRegistrationCommand")
14
- .sc(DeleteTaxRegistration$)
15
- .build() {
3
+ export class DeleteTaxRegistrationCommand extends command(_ep0, _mw0, "DeleteTaxRegistration", DeleteTaxRegistration$) {
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 { GetTaxExemptionTypes$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetTaxExemptionTypesCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("TaxSettings", "GetTaxExemptionTypes", {})
13
- .n("TaxSettingsClient", "GetTaxExemptionTypesCommand")
14
- .sc(GetTaxExemptionTypes$)
15
- .build() {
3
+ export class GetTaxExemptionTypesCommand extends command(_ep0, _mw0, "GetTaxExemptionTypes", GetTaxExemptionTypes$) {
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 { GetTaxInheritance$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetTaxInheritanceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("TaxSettings", "GetTaxInheritance", {})
13
- .n("TaxSettingsClient", "GetTaxInheritanceCommand")
14
- .sc(GetTaxInheritance$)
15
- .build() {
3
+ export class GetTaxInheritanceCommand extends command(_ep0, _mw0, "GetTaxInheritance", GetTaxInheritance$) {
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 { GetTaxRegistration$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetTaxRegistrationCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("TaxSettings", "GetTaxRegistration", {})
13
- .n("TaxSettingsClient", "GetTaxRegistrationCommand")
14
- .sc(GetTaxRegistration$)
15
- .build() {
3
+ export class GetTaxRegistrationCommand extends command(_ep0, _mw0, "GetTaxRegistration", GetTaxRegistration$) {
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 { GetTaxRegistrationDocument$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetTaxRegistrationDocumentCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("TaxSettings", "GetTaxRegistrationDocument", {})
13
- .n("TaxSettingsClient", "GetTaxRegistrationDocumentCommand")
14
- .sc(GetTaxRegistrationDocument$)
15
- .build() {
3
+ export class GetTaxRegistrationDocumentCommand extends command(_ep0, _mw0, "GetTaxRegistrationDocument", GetTaxRegistrationDocument$) {
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 { ListSupplementalTaxRegistrations$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListSupplementalTaxRegistrationsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("TaxSettings", "ListSupplementalTaxRegistrations", {})
13
- .n("TaxSettingsClient", "ListSupplementalTaxRegistrationsCommand")
14
- .sc(ListSupplementalTaxRegistrations$)
15
- .build() {
3
+ export class ListSupplementalTaxRegistrationsCommand extends command(_ep0, _mw0, "ListSupplementalTaxRegistrations", ListSupplementalTaxRegistrations$) {
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 { ListTaxExemptions$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListTaxExemptionsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("TaxSettings", "ListTaxExemptions", {})
13
- .n("TaxSettingsClient", "ListTaxExemptionsCommand")
14
- .sc(ListTaxExemptions$)
15
- .build() {
3
+ export class ListTaxExemptionsCommand extends command(_ep0, _mw0, "ListTaxExemptions", ListTaxExemptions$) {
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 { ListTaxRegistrations$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListTaxRegistrationsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("TaxSettings", "ListTaxRegistrations", {})
13
- .n("TaxSettingsClient", "ListTaxRegistrationsCommand")
14
- .sc(ListTaxRegistrations$)
15
- .build() {
3
+ export class ListTaxRegistrationsCommand extends command(_ep0, _mw0, "ListTaxRegistrations", ListTaxRegistrations$) {
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 { PutSupplementalTaxRegistration$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class PutSupplementalTaxRegistrationCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("TaxSettings", "PutSupplementalTaxRegistration", {})
13
- .n("TaxSettingsClient", "PutSupplementalTaxRegistrationCommand")
14
- .sc(PutSupplementalTaxRegistration$)
15
- .build() {
3
+ export class PutSupplementalTaxRegistrationCommand extends command(_ep0, _mw0, "PutSupplementalTaxRegistration", PutSupplementalTaxRegistration$) {
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 { PutTaxExemption$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class PutTaxExemptionCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("TaxSettings", "PutTaxExemption", {})
13
- .n("TaxSettingsClient", "PutTaxExemptionCommand")
14
- .sc(PutTaxExemption$)
15
- .build() {
3
+ export class PutTaxExemptionCommand extends command(_ep0, _mw0, "PutTaxExemption", PutTaxExemption$) {
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 { PutTaxInheritance$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class PutTaxInheritanceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("TaxSettings", "PutTaxInheritance", {})
13
- .n("TaxSettingsClient", "PutTaxInheritanceCommand")
14
- .sc(PutTaxInheritance$)
15
- .build() {
3
+ export class PutTaxInheritanceCommand extends command(_ep0, _mw0, "PutTaxInheritance", PutTaxInheritance$) {
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 { PutTaxRegistration$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class PutTaxRegistrationCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("TaxSettings", "PutTaxRegistration", {})
13
- .n("TaxSettingsClient", "PutTaxRegistrationCommand")
14
- .sc(PutTaxRegistration$)
15
- .build() {
3
+ export class PutTaxRegistrationCommand extends command(_ep0, _mw0, "PutTaxRegistration", PutTaxRegistration$) {
16
4
  }
package/dist-es/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from "./TaxSettingsClient";
2
2
  export * from "./TaxSettings";
3
3
  export * from "./commands";
4
+ export { Command as $Command } from "@smithy/core/client";
4
5
  export * from "./schemas/schemas_0";
5
6
  export * from "./pagination";
6
7
  export * from "./models/enums";
@@ -0,0 +1,18 @@
1
+ import type { EndpointParameterInstructions } from "@smithy/types";
2
+ import type { ServiceInputTypes, ServiceOutputTypes, TaxSettingsClientResolvedConfig } from "./TaxSettingsClient";
3
+ /**
4
+ * @internal
5
+ */
6
+ export declare const command: <I extends ServiceInputTypes, O extends ServiceOutputTypes>(added: EndpointParameterInstructions, plugins: (CommandCtor: any, clientStack: any, config: any, options: any) => import("@smithy/types").Pluggable<any, any>[], op: string, $: import("@smithy/types").StaticOperationSchema, smithyContext?: Record<string, unknown>) => {
7
+ new (input: I): import("@smithy/core/client").CommandImpl<I, O, TaxSettingsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
8
+ new (...[input]: import("@smithy/types").OptionalParameter<I>): import("@smithy/core/client").CommandImpl<I, O, TaxSettingsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
9
+ getEndpointParameterInstructions(): EndpointParameterInstructions;
10
+ };
11
+ /**
12
+ * @internal
13
+ */
14
+ export declare const _ep0: EndpointParameterInstructions;
15
+ /**
16
+ * @internal
17
+ */
18
+ export declare const _mw0: (Command: any, cs: any, config: any, o: any) => never[];
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
2
  import type { BatchDeleteTaxRegistrationRequest, BatchDeleteTaxRegistrationResponse } from "../models/models_0";
4
- import type { ServiceInputTypes, ServiceOutputTypes, TaxSettingsClientResolvedConfig } from "../TaxSettingsClient";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface BatchDeleteTaxRegistrationCommandInput extends BatchDeleteTaxRe
22
19
  export interface BatchDeleteTaxRegistrationCommandOutput extends BatchDeleteTaxRegistrationResponse, __MetadataBearer {
23
20
  }
24
21
  declare const BatchDeleteTaxRegistrationCommand_base: {
25
- new (input: BatchDeleteTaxRegistrationCommandInput): import("@smithy/core/client").CommandImpl<BatchDeleteTaxRegistrationCommandInput, BatchDeleteTaxRegistrationCommandOutput, TaxSettingsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: BatchDeleteTaxRegistrationCommandInput): import("@smithy/core/client").CommandImpl<BatchDeleteTaxRegistrationCommandInput, BatchDeleteTaxRegistrationCommandOutput, TaxSettingsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: BatchDeleteTaxRegistrationCommandInput): import("@smithy/core/client").CommandImpl<BatchDeleteTaxRegistrationCommandInput, BatchDeleteTaxRegistrationCommandOutput, import("..").TaxSettingsClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: BatchDeleteTaxRegistrationCommandInput): import("@smithy/core/client").CommandImpl<BatchDeleteTaxRegistrationCommandInput, BatchDeleteTaxRegistrationCommandOutput, import("..").TaxSettingsClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Deletes tax registration for multiple accounts in batch. This can be used to delete tax registrations for up to five accounts in one batch. </p> <note> <p>This API operation can't be used to delete your tax registration in Brazil. Use the <a href="https://console.aws.amazon.com/billing/home#/paymentpreferences/paymentmethods">Payment preferences</a> page in the Billing and Cost Management console instead.</p> </note>