@aws-sdk/client-budgets 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 (98) hide show
  1. package/dist-cjs/index.js +37 -265
  2. package/dist-es/commandBuilder.js +6 -0
  3. package/dist-es/commands/CreateBudgetActionCommand.js +2 -14
  4. package/dist-es/commands/CreateBudgetCommand.js +2 -14
  5. package/dist-es/commands/CreateNotificationCommand.js +2 -14
  6. package/dist-es/commands/CreateSubscriberCommand.js +2 -14
  7. package/dist-es/commands/DeleteBudgetActionCommand.js +2 -14
  8. package/dist-es/commands/DeleteBudgetCommand.js +2 -14
  9. package/dist-es/commands/DeleteNotificationCommand.js +2 -14
  10. package/dist-es/commands/DeleteSubscriberCommand.js +2 -14
  11. package/dist-es/commands/DescribeBudgetActionCommand.js +2 -14
  12. package/dist-es/commands/DescribeBudgetActionHistoriesCommand.js +2 -14
  13. package/dist-es/commands/DescribeBudgetActionsForAccountCommand.js +2 -14
  14. package/dist-es/commands/DescribeBudgetActionsForBudgetCommand.js +2 -14
  15. package/dist-es/commands/DescribeBudgetCommand.js +2 -14
  16. package/dist-es/commands/DescribeBudgetNotificationsForAccountCommand.js +2 -14
  17. package/dist-es/commands/DescribeBudgetPerformanceHistoryCommand.js +2 -14
  18. package/dist-es/commands/DescribeBudgetsCommand.js +2 -14
  19. package/dist-es/commands/DescribeNotificationsForBudgetCommand.js +2 -14
  20. package/dist-es/commands/DescribeSubscribersForNotificationCommand.js +2 -14
  21. package/dist-es/commands/ExecuteBudgetActionCommand.js +2 -14
  22. package/dist-es/commands/ListTagsForResourceCommand.js +2 -14
  23. package/dist-es/commands/TagResourceCommand.js +2 -14
  24. package/dist-es/commands/UntagResourceCommand.js +2 -14
  25. package/dist-es/commands/UpdateBudgetActionCommand.js +2 -14
  26. package/dist-es/commands/UpdateBudgetCommand.js +2 -14
  27. package/dist-es/commands/UpdateNotificationCommand.js +2 -14
  28. package/dist-es/commands/UpdateSubscriberCommand.js +2 -14
  29. package/dist-es/index.js +1 -0
  30. package/dist-es/runtimeConfig.browser.js +0 -2
  31. package/dist-es/runtimeConfig.js +1 -2
  32. package/dist-es/runtimeConfig.native.js +0 -2
  33. package/dist-es/runtimeConfig.shared.js +2 -0
  34. package/dist-types/commandBuilder.d.ts +18 -0
  35. package/dist-types/commands/CreateBudgetActionCommand.d.ts +3 -8
  36. package/dist-types/commands/CreateBudgetCommand.d.ts +3 -8
  37. package/dist-types/commands/CreateNotificationCommand.d.ts +3 -8
  38. package/dist-types/commands/CreateSubscriberCommand.d.ts +3 -8
  39. package/dist-types/commands/DeleteBudgetActionCommand.d.ts +3 -8
  40. package/dist-types/commands/DeleteBudgetCommand.d.ts +3 -8
  41. package/dist-types/commands/DeleteNotificationCommand.d.ts +3 -8
  42. package/dist-types/commands/DeleteSubscriberCommand.d.ts +3 -8
  43. package/dist-types/commands/DescribeBudgetActionCommand.d.ts +3 -8
  44. package/dist-types/commands/DescribeBudgetActionHistoriesCommand.d.ts +3 -8
  45. package/dist-types/commands/DescribeBudgetActionsForAccountCommand.d.ts +3 -8
  46. package/dist-types/commands/DescribeBudgetActionsForBudgetCommand.d.ts +3 -8
  47. package/dist-types/commands/DescribeBudgetCommand.d.ts +3 -8
  48. package/dist-types/commands/DescribeBudgetNotificationsForAccountCommand.d.ts +3 -8
  49. package/dist-types/commands/DescribeBudgetPerformanceHistoryCommand.d.ts +3 -8
  50. package/dist-types/commands/DescribeBudgetsCommand.d.ts +3 -8
  51. package/dist-types/commands/DescribeNotificationsForBudgetCommand.d.ts +3 -8
  52. package/dist-types/commands/DescribeSubscribersForNotificationCommand.d.ts +3 -8
  53. package/dist-types/commands/ExecuteBudgetActionCommand.d.ts +3 -8
  54. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
  55. package/dist-types/commands/TagResourceCommand.d.ts +3 -8
  56. package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
  57. package/dist-types/commands/UpdateBudgetActionCommand.d.ts +3 -8
  58. package/dist-types/commands/UpdateBudgetCommand.d.ts +3 -8
  59. package/dist-types/commands/UpdateNotificationCommand.d.ts +3 -8
  60. package/dist-types/commands/UpdateSubscriberCommand.d.ts +3 -8
  61. package/dist-types/index.d.ts +1 -0
  62. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  63. package/dist-types/runtimeConfig.d.ts +1 -1
  64. package/dist-types/runtimeConfig.native.d.ts +1 -1
  65. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  66. package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
  67. package/dist-types/ts3.4/commands/CreateBudgetActionCommand.d.ts +7 -16
  68. package/dist-types/ts3.4/commands/CreateBudgetCommand.d.ts +7 -16
  69. package/dist-types/ts3.4/commands/CreateNotificationCommand.d.ts +7 -16
  70. package/dist-types/ts3.4/commands/CreateSubscriberCommand.d.ts +7 -16
  71. package/dist-types/ts3.4/commands/DeleteBudgetActionCommand.d.ts +7 -16
  72. package/dist-types/ts3.4/commands/DeleteBudgetCommand.d.ts +7 -16
  73. package/dist-types/ts3.4/commands/DeleteNotificationCommand.d.ts +7 -16
  74. package/dist-types/ts3.4/commands/DeleteSubscriberCommand.d.ts +7 -16
  75. package/dist-types/ts3.4/commands/DescribeBudgetActionCommand.d.ts +7 -16
  76. package/dist-types/ts3.4/commands/DescribeBudgetActionHistoriesCommand.d.ts +7 -16
  77. package/dist-types/ts3.4/commands/DescribeBudgetActionsForAccountCommand.d.ts +7 -16
  78. package/dist-types/ts3.4/commands/DescribeBudgetActionsForBudgetCommand.d.ts +7 -16
  79. package/dist-types/ts3.4/commands/DescribeBudgetCommand.d.ts +7 -16
  80. package/dist-types/ts3.4/commands/DescribeBudgetNotificationsForAccountCommand.d.ts +7 -16
  81. package/dist-types/ts3.4/commands/DescribeBudgetPerformanceHistoryCommand.d.ts +7 -16
  82. package/dist-types/ts3.4/commands/DescribeBudgetsCommand.d.ts +7 -16
  83. package/dist-types/ts3.4/commands/DescribeNotificationsForBudgetCommand.d.ts +7 -16
  84. package/dist-types/ts3.4/commands/DescribeSubscribersForNotificationCommand.d.ts +7 -16
  85. package/dist-types/ts3.4/commands/ExecuteBudgetActionCommand.d.ts +7 -16
  86. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
  87. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
  88. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
  89. package/dist-types/ts3.4/commands/UpdateBudgetActionCommand.d.ts +7 -16
  90. package/dist-types/ts3.4/commands/UpdateBudgetCommand.d.ts +7 -16
  91. package/dist-types/ts3.4/commands/UpdateNotificationCommand.d.ts +7 -16
  92. package/dist-types/ts3.4/commands/UpdateSubscriberCommand.d.ts +7 -16
  93. package/dist-types/ts3.4/index.d.ts +1 -0
  94. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  95. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  96. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
  97. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
  98. 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, 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");
@@ -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 { AwsJson1_1Protocol } = require("@aws-sdk/core/protocols");
17
+ const { Sha256 } = require("@smithy/core/checksum");
16
18
 
17
19
  const defaultBudgetsHttpAuthSchemeParametersProvider = 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
 
@@ -1158,6 +1160,7 @@ const getRuntimeConfig$1 = (config) => {
1158
1160
  serviceTarget: "AWSBudgetServiceGateway",
1159
1161
  },
1160
1162
  serviceId: config?.serviceId ?? "Budgets",
1163
+ sha256: config?.sha256 ?? Sha256,
1161
1164
  urlParser: config?.urlParser ?? parseUrl,
1162
1165
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,
1163
1166
  utf8Encoder: config?.utf8Encoder ?? toUtf8,
@@ -1191,7 +1194,6 @@ const getRuntimeConfig = (config) => {
1191
1194
  ...NODE_RETRY_MODE_CONFIG_OPTIONS,
1192
1195
  default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
1193
1196
  }, config),
1194
- sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
1195
1197
  streamCollector: config?.streamCollector ?? streamCollector,
1196
1198
  useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
1197
1199
  useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
@@ -1279,316 +1281,86 @@ class BudgetsClient extends Client {
1279
1281
  }
1280
1282
  }
1281
1283
 
1282
- class CreateBudgetActionCommand extends Command
1283
- .classBuilder()
1284
- .ep(commonParams)
1285
- .m(function (Command, cs, config, o) {
1286
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1287
- })
1288
- .s("AWSBudgetServiceGateway", "CreateBudgetAction", {})
1289
- .n("BudgetsClient", "CreateBudgetActionCommand")
1290
- .sc(CreateBudgetAction$)
1291
- .build() {
1284
+ const command = makeBuilder(commonParams, "AWSBudgetServiceGateway", "BudgetsClient", getEndpointPlugin);
1285
+ const _ep0 = {};
1286
+ const _mw0 = (Command, cs, config, o) => [];
1287
+
1288
+ class CreateBudgetActionCommand extends command(_ep0, _mw0, "CreateBudgetAction", CreateBudgetAction$) {
1292
1289
  }
1293
1290
 
1294
- class CreateBudgetCommand extends Command
1295
- .classBuilder()
1296
- .ep(commonParams)
1297
- .m(function (Command, cs, config, o) {
1298
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1299
- })
1300
- .s("AWSBudgetServiceGateway", "CreateBudget", {})
1301
- .n("BudgetsClient", "CreateBudgetCommand")
1302
- .sc(CreateBudget$)
1303
- .build() {
1291
+ class CreateBudgetCommand extends command(_ep0, _mw0, "CreateBudget", CreateBudget$) {
1304
1292
  }
1305
1293
 
1306
- class CreateNotificationCommand extends Command
1307
- .classBuilder()
1308
- .ep(commonParams)
1309
- .m(function (Command, cs, config, o) {
1310
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1311
- })
1312
- .s("AWSBudgetServiceGateway", "CreateNotification", {})
1313
- .n("BudgetsClient", "CreateNotificationCommand")
1314
- .sc(CreateNotification$)
1315
- .build() {
1294
+ class CreateNotificationCommand extends command(_ep0, _mw0, "CreateNotification", CreateNotification$) {
1316
1295
  }
1317
1296
 
1318
- class CreateSubscriberCommand extends Command
1319
- .classBuilder()
1320
- .ep(commonParams)
1321
- .m(function (Command, cs, config, o) {
1322
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1323
- })
1324
- .s("AWSBudgetServiceGateway", "CreateSubscriber", {})
1325
- .n("BudgetsClient", "CreateSubscriberCommand")
1326
- .sc(CreateSubscriber$)
1327
- .build() {
1297
+ class CreateSubscriberCommand extends command(_ep0, _mw0, "CreateSubscriber", CreateSubscriber$) {
1328
1298
  }
1329
1299
 
1330
- class DeleteBudgetActionCommand extends Command
1331
- .classBuilder()
1332
- .ep(commonParams)
1333
- .m(function (Command, cs, config, o) {
1334
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1335
- })
1336
- .s("AWSBudgetServiceGateway", "DeleteBudgetAction", {})
1337
- .n("BudgetsClient", "DeleteBudgetActionCommand")
1338
- .sc(DeleteBudgetAction$)
1339
- .build() {
1300
+ class DeleteBudgetActionCommand extends command(_ep0, _mw0, "DeleteBudgetAction", DeleteBudgetAction$) {
1340
1301
  }
1341
1302
 
1342
- class DeleteBudgetCommand extends Command
1343
- .classBuilder()
1344
- .ep(commonParams)
1345
- .m(function (Command, cs, config, o) {
1346
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1347
- })
1348
- .s("AWSBudgetServiceGateway", "DeleteBudget", {})
1349
- .n("BudgetsClient", "DeleteBudgetCommand")
1350
- .sc(DeleteBudget$)
1351
- .build() {
1303
+ class DeleteBudgetCommand extends command(_ep0, _mw0, "DeleteBudget", DeleteBudget$) {
1352
1304
  }
1353
1305
 
1354
- class DeleteNotificationCommand extends Command
1355
- .classBuilder()
1356
- .ep(commonParams)
1357
- .m(function (Command, cs, config, o) {
1358
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1359
- })
1360
- .s("AWSBudgetServiceGateway", "DeleteNotification", {})
1361
- .n("BudgetsClient", "DeleteNotificationCommand")
1362
- .sc(DeleteNotification$)
1363
- .build() {
1306
+ class DeleteNotificationCommand extends command(_ep0, _mw0, "DeleteNotification", DeleteNotification$) {
1364
1307
  }
1365
1308
 
1366
- class DeleteSubscriberCommand extends Command
1367
- .classBuilder()
1368
- .ep(commonParams)
1369
- .m(function (Command, cs, config, o) {
1370
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1371
- })
1372
- .s("AWSBudgetServiceGateway", "DeleteSubscriber", {})
1373
- .n("BudgetsClient", "DeleteSubscriberCommand")
1374
- .sc(DeleteSubscriber$)
1375
- .build() {
1309
+ class DeleteSubscriberCommand extends command(_ep0, _mw0, "DeleteSubscriber", DeleteSubscriber$) {
1376
1310
  }
1377
1311
 
1378
- class DescribeBudgetActionCommand extends Command
1379
- .classBuilder()
1380
- .ep(commonParams)
1381
- .m(function (Command, cs, config, o) {
1382
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1383
- })
1384
- .s("AWSBudgetServiceGateway", "DescribeBudgetAction", {})
1385
- .n("BudgetsClient", "DescribeBudgetActionCommand")
1386
- .sc(DescribeBudgetAction$)
1387
- .build() {
1312
+ class DescribeBudgetActionCommand extends command(_ep0, _mw0, "DescribeBudgetAction", DescribeBudgetAction$) {
1388
1313
  }
1389
1314
 
1390
- class DescribeBudgetActionHistoriesCommand extends Command
1391
- .classBuilder()
1392
- .ep(commonParams)
1393
- .m(function (Command, cs, config, o) {
1394
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1395
- })
1396
- .s("AWSBudgetServiceGateway", "DescribeBudgetActionHistories", {})
1397
- .n("BudgetsClient", "DescribeBudgetActionHistoriesCommand")
1398
- .sc(DescribeBudgetActionHistories$)
1399
- .build() {
1315
+ class DescribeBudgetActionHistoriesCommand extends command(_ep0, _mw0, "DescribeBudgetActionHistories", DescribeBudgetActionHistories$) {
1400
1316
  }
1401
1317
 
1402
- class DescribeBudgetActionsForAccountCommand extends Command
1403
- .classBuilder()
1404
- .ep(commonParams)
1405
- .m(function (Command, cs, config, o) {
1406
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1407
- })
1408
- .s("AWSBudgetServiceGateway", "DescribeBudgetActionsForAccount", {})
1409
- .n("BudgetsClient", "DescribeBudgetActionsForAccountCommand")
1410
- .sc(DescribeBudgetActionsForAccount$)
1411
- .build() {
1318
+ class DescribeBudgetActionsForAccountCommand extends command(_ep0, _mw0, "DescribeBudgetActionsForAccount", DescribeBudgetActionsForAccount$) {
1412
1319
  }
1413
1320
 
1414
- class DescribeBudgetActionsForBudgetCommand extends Command
1415
- .classBuilder()
1416
- .ep(commonParams)
1417
- .m(function (Command, cs, config, o) {
1418
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1419
- })
1420
- .s("AWSBudgetServiceGateway", "DescribeBudgetActionsForBudget", {})
1421
- .n("BudgetsClient", "DescribeBudgetActionsForBudgetCommand")
1422
- .sc(DescribeBudgetActionsForBudget$)
1423
- .build() {
1321
+ class DescribeBudgetActionsForBudgetCommand extends command(_ep0, _mw0, "DescribeBudgetActionsForBudget", DescribeBudgetActionsForBudget$) {
1424
1322
  }
1425
1323
 
1426
- class DescribeBudgetCommand extends Command
1427
- .classBuilder()
1428
- .ep(commonParams)
1429
- .m(function (Command, cs, config, o) {
1430
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1431
- })
1432
- .s("AWSBudgetServiceGateway", "DescribeBudget", {})
1433
- .n("BudgetsClient", "DescribeBudgetCommand")
1434
- .sc(DescribeBudget$)
1435
- .build() {
1324
+ class DescribeBudgetCommand extends command(_ep0, _mw0, "DescribeBudget", DescribeBudget$) {
1436
1325
  }
1437
1326
 
1438
- class DescribeBudgetNotificationsForAccountCommand extends Command
1439
- .classBuilder()
1440
- .ep(commonParams)
1441
- .m(function (Command, cs, config, o) {
1442
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1443
- })
1444
- .s("AWSBudgetServiceGateway", "DescribeBudgetNotificationsForAccount", {})
1445
- .n("BudgetsClient", "DescribeBudgetNotificationsForAccountCommand")
1446
- .sc(DescribeBudgetNotificationsForAccount$)
1447
- .build() {
1327
+ class DescribeBudgetNotificationsForAccountCommand extends command(_ep0, _mw0, "DescribeBudgetNotificationsForAccount", DescribeBudgetNotificationsForAccount$) {
1448
1328
  }
1449
1329
 
1450
- class DescribeBudgetPerformanceHistoryCommand extends Command
1451
- .classBuilder()
1452
- .ep(commonParams)
1453
- .m(function (Command, cs, config, o) {
1454
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1455
- })
1456
- .s("AWSBudgetServiceGateway", "DescribeBudgetPerformanceHistory", {})
1457
- .n("BudgetsClient", "DescribeBudgetPerformanceHistoryCommand")
1458
- .sc(DescribeBudgetPerformanceHistory$)
1459
- .build() {
1330
+ class DescribeBudgetPerformanceHistoryCommand extends command(_ep0, _mw0, "DescribeBudgetPerformanceHistory", DescribeBudgetPerformanceHistory$) {
1460
1331
  }
1461
1332
 
1462
- class DescribeBudgetsCommand extends Command
1463
- .classBuilder()
1464
- .ep(commonParams)
1465
- .m(function (Command, cs, config, o) {
1466
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1467
- })
1468
- .s("AWSBudgetServiceGateway", "DescribeBudgets", {})
1469
- .n("BudgetsClient", "DescribeBudgetsCommand")
1470
- .sc(DescribeBudgets$)
1471
- .build() {
1333
+ class DescribeBudgetsCommand extends command(_ep0, _mw0, "DescribeBudgets", DescribeBudgets$) {
1472
1334
  }
1473
1335
 
1474
- class DescribeNotificationsForBudgetCommand extends Command
1475
- .classBuilder()
1476
- .ep(commonParams)
1477
- .m(function (Command, cs, config, o) {
1478
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1479
- })
1480
- .s("AWSBudgetServiceGateway", "DescribeNotificationsForBudget", {})
1481
- .n("BudgetsClient", "DescribeNotificationsForBudgetCommand")
1482
- .sc(DescribeNotificationsForBudget$)
1483
- .build() {
1336
+ class DescribeNotificationsForBudgetCommand extends command(_ep0, _mw0, "DescribeNotificationsForBudget", DescribeNotificationsForBudget$) {
1484
1337
  }
1485
1338
 
1486
- class DescribeSubscribersForNotificationCommand extends Command
1487
- .classBuilder()
1488
- .ep(commonParams)
1489
- .m(function (Command, cs, config, o) {
1490
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1491
- })
1492
- .s("AWSBudgetServiceGateway", "DescribeSubscribersForNotification", {})
1493
- .n("BudgetsClient", "DescribeSubscribersForNotificationCommand")
1494
- .sc(DescribeSubscribersForNotification$)
1495
- .build() {
1339
+ class DescribeSubscribersForNotificationCommand extends command(_ep0, _mw0, "DescribeSubscribersForNotification", DescribeSubscribersForNotification$) {
1496
1340
  }
1497
1341
 
1498
- class ExecuteBudgetActionCommand extends Command
1499
- .classBuilder()
1500
- .ep(commonParams)
1501
- .m(function (Command, cs, config, o) {
1502
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1503
- })
1504
- .s("AWSBudgetServiceGateway", "ExecuteBudgetAction", {})
1505
- .n("BudgetsClient", "ExecuteBudgetActionCommand")
1506
- .sc(ExecuteBudgetAction$)
1507
- .build() {
1342
+ class ExecuteBudgetActionCommand extends command(_ep0, _mw0, "ExecuteBudgetAction", ExecuteBudgetAction$) {
1508
1343
  }
1509
1344
 
1510
- class ListTagsForResourceCommand extends Command
1511
- .classBuilder()
1512
- .ep(commonParams)
1513
- .m(function (Command, cs, config, o) {
1514
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1515
- })
1516
- .s("AWSBudgetServiceGateway", "ListTagsForResource", {})
1517
- .n("BudgetsClient", "ListTagsForResourceCommand")
1518
- .sc(ListTagsForResource$)
1519
- .build() {
1345
+ class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
1520
1346
  }
1521
1347
 
1522
- class TagResourceCommand extends Command
1523
- .classBuilder()
1524
- .ep(commonParams)
1525
- .m(function (Command, cs, config, o) {
1526
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1527
- })
1528
- .s("AWSBudgetServiceGateway", "TagResource", {})
1529
- .n("BudgetsClient", "TagResourceCommand")
1530
- .sc(TagResource$)
1531
- .build() {
1348
+ class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
1532
1349
  }
1533
1350
 
1534
- class UntagResourceCommand extends Command
1535
- .classBuilder()
1536
- .ep(commonParams)
1537
- .m(function (Command, cs, config, o) {
1538
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1539
- })
1540
- .s("AWSBudgetServiceGateway", "UntagResource", {})
1541
- .n("BudgetsClient", "UntagResourceCommand")
1542
- .sc(UntagResource$)
1543
- .build() {
1351
+ class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
1544
1352
  }
1545
1353
 
1546
- class UpdateBudgetActionCommand extends Command
1547
- .classBuilder()
1548
- .ep(commonParams)
1549
- .m(function (Command, cs, config, o) {
1550
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1551
- })
1552
- .s("AWSBudgetServiceGateway", "UpdateBudgetAction", {})
1553
- .n("BudgetsClient", "UpdateBudgetActionCommand")
1554
- .sc(UpdateBudgetAction$)
1555
- .build() {
1354
+ class UpdateBudgetActionCommand extends command(_ep0, _mw0, "UpdateBudgetAction", UpdateBudgetAction$) {
1556
1355
  }
1557
1356
 
1558
- class UpdateBudgetCommand extends Command
1559
- .classBuilder()
1560
- .ep(commonParams)
1561
- .m(function (Command, cs, config, o) {
1562
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1563
- })
1564
- .s("AWSBudgetServiceGateway", "UpdateBudget", {})
1565
- .n("BudgetsClient", "UpdateBudgetCommand")
1566
- .sc(UpdateBudget$)
1567
- .build() {
1357
+ class UpdateBudgetCommand extends command(_ep0, _mw0, "UpdateBudget", UpdateBudget$) {
1568
1358
  }
1569
1359
 
1570
- class UpdateNotificationCommand extends Command
1571
- .classBuilder()
1572
- .ep(commonParams)
1573
- .m(function (Command, cs, config, o) {
1574
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1575
- })
1576
- .s("AWSBudgetServiceGateway", "UpdateNotification", {})
1577
- .n("BudgetsClient", "UpdateNotificationCommand")
1578
- .sc(UpdateNotification$)
1579
- .build() {
1360
+ class UpdateNotificationCommand extends command(_ep0, _mw0, "UpdateNotification", UpdateNotification$) {
1580
1361
  }
1581
1362
 
1582
- class UpdateSubscriberCommand extends Command
1583
- .classBuilder()
1584
- .ep(commonParams)
1585
- .m(function (Command, cs, config, o) {
1586
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1587
- })
1588
- .s("AWSBudgetServiceGateway", "UpdateSubscriber", {})
1589
- .n("BudgetsClient", "UpdateSubscriberCommand")
1590
- .sc(UpdateSubscriber$)
1591
- .build() {
1363
+ class UpdateSubscriberCommand extends command(_ep0, _mw0, "UpdateSubscriber", UpdateSubscriber$) {
1592
1364
  }
1593
1365
 
1594
1366
  const paginateDescribeBudgetActionHistories = createPaginator(BudgetsClient, DescribeBudgetActionHistoriesCommand, "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, "AWSBudgetServiceGateway", "BudgetsClient", 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 { CreateBudgetAction$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateBudgetActionCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSBudgetServiceGateway", "CreateBudgetAction", {})
13
- .n("BudgetsClient", "CreateBudgetActionCommand")
14
- .sc(CreateBudgetAction$)
15
- .build() {
3
+ export class CreateBudgetActionCommand extends command(_ep0, _mw0, "CreateBudgetAction", CreateBudgetAction$) {
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 { CreateBudget$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateBudgetCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSBudgetServiceGateway", "CreateBudget", {})
13
- .n("BudgetsClient", "CreateBudgetCommand")
14
- .sc(CreateBudget$)
15
- .build() {
3
+ export class CreateBudgetCommand extends command(_ep0, _mw0, "CreateBudget", CreateBudget$) {
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 { CreateNotification$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateNotificationCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSBudgetServiceGateway", "CreateNotification", {})
13
- .n("BudgetsClient", "CreateNotificationCommand")
14
- .sc(CreateNotification$)
15
- .build() {
3
+ export class CreateNotificationCommand extends command(_ep0, _mw0, "CreateNotification", CreateNotification$) {
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 { CreateSubscriber$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateSubscriberCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSBudgetServiceGateway", "CreateSubscriber", {})
13
- .n("BudgetsClient", "CreateSubscriberCommand")
14
- .sc(CreateSubscriber$)
15
- .build() {
3
+ export class CreateSubscriberCommand extends command(_ep0, _mw0, "CreateSubscriber", CreateSubscriber$) {
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 { DeleteBudgetAction$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteBudgetActionCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSBudgetServiceGateway", "DeleteBudgetAction", {})
13
- .n("BudgetsClient", "DeleteBudgetActionCommand")
14
- .sc(DeleteBudgetAction$)
15
- .build() {
3
+ export class DeleteBudgetActionCommand extends command(_ep0, _mw0, "DeleteBudgetAction", DeleteBudgetAction$) {
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 { DeleteBudget$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteBudgetCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSBudgetServiceGateway", "DeleteBudget", {})
13
- .n("BudgetsClient", "DeleteBudgetCommand")
14
- .sc(DeleteBudget$)
15
- .build() {
3
+ export class DeleteBudgetCommand extends command(_ep0, _mw0, "DeleteBudget", DeleteBudget$) {
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 { DeleteNotification$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteNotificationCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSBudgetServiceGateway", "DeleteNotification", {})
13
- .n("BudgetsClient", "DeleteNotificationCommand")
14
- .sc(DeleteNotification$)
15
- .build() {
3
+ export class DeleteNotificationCommand extends command(_ep0, _mw0, "DeleteNotification", DeleteNotification$) {
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 { DeleteSubscriber$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteSubscriberCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSBudgetServiceGateway", "DeleteSubscriber", {})
13
- .n("BudgetsClient", "DeleteSubscriberCommand")
14
- .sc(DeleteSubscriber$)
15
- .build() {
3
+ export class DeleteSubscriberCommand extends command(_ep0, _mw0, "DeleteSubscriber", DeleteSubscriber$) {
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 { DescribeBudgetAction$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeBudgetActionCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSBudgetServiceGateway", "DescribeBudgetAction", {})
13
- .n("BudgetsClient", "DescribeBudgetActionCommand")
14
- .sc(DescribeBudgetAction$)
15
- .build() {
3
+ export class DescribeBudgetActionCommand extends command(_ep0, _mw0, "DescribeBudgetAction", DescribeBudgetAction$) {
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 { DescribeBudgetActionHistories$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeBudgetActionHistoriesCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSBudgetServiceGateway", "DescribeBudgetActionHistories", {})
13
- .n("BudgetsClient", "DescribeBudgetActionHistoriesCommand")
14
- .sc(DescribeBudgetActionHistories$)
15
- .build() {
3
+ export class DescribeBudgetActionHistoriesCommand extends command(_ep0, _mw0, "DescribeBudgetActionHistories", DescribeBudgetActionHistories$) {
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 { DescribeBudgetActionsForAccount$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeBudgetActionsForAccountCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSBudgetServiceGateway", "DescribeBudgetActionsForAccount", {})
13
- .n("BudgetsClient", "DescribeBudgetActionsForAccountCommand")
14
- .sc(DescribeBudgetActionsForAccount$)
15
- .build() {
3
+ export class DescribeBudgetActionsForAccountCommand extends command(_ep0, _mw0, "DescribeBudgetActionsForAccount", DescribeBudgetActionsForAccount$) {
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 { DescribeBudgetActionsForBudget$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeBudgetActionsForBudgetCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSBudgetServiceGateway", "DescribeBudgetActionsForBudget", {})
13
- .n("BudgetsClient", "DescribeBudgetActionsForBudgetCommand")
14
- .sc(DescribeBudgetActionsForBudget$)
15
- .build() {
3
+ export class DescribeBudgetActionsForBudgetCommand extends command(_ep0, _mw0, "DescribeBudgetActionsForBudget", DescribeBudgetActionsForBudget$) {
16
4
  }