@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
@@ -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 { DescribeBudget$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeBudgetCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSBudgetServiceGateway", "DescribeBudget", {})
13
- .n("BudgetsClient", "DescribeBudgetCommand")
14
- .sc(DescribeBudget$)
15
- .build() {
3
+ export class DescribeBudgetCommand extends command(_ep0, _mw0, "DescribeBudget", DescribeBudget$) {
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 { DescribeBudgetNotificationsForAccount$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeBudgetNotificationsForAccountCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSBudgetServiceGateway", "DescribeBudgetNotificationsForAccount", {})
13
- .n("BudgetsClient", "DescribeBudgetNotificationsForAccountCommand")
14
- .sc(DescribeBudgetNotificationsForAccount$)
15
- .build() {
3
+ export class DescribeBudgetNotificationsForAccountCommand extends command(_ep0, _mw0, "DescribeBudgetNotificationsForAccount", DescribeBudgetNotificationsForAccount$) {
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 { DescribeBudgetPerformanceHistory$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeBudgetPerformanceHistoryCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSBudgetServiceGateway", "DescribeBudgetPerformanceHistory", {})
13
- .n("BudgetsClient", "DescribeBudgetPerformanceHistoryCommand")
14
- .sc(DescribeBudgetPerformanceHistory$)
15
- .build() {
3
+ export class DescribeBudgetPerformanceHistoryCommand extends command(_ep0, _mw0, "DescribeBudgetPerformanceHistory", DescribeBudgetPerformanceHistory$) {
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 { DescribeBudgets$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeBudgetsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSBudgetServiceGateway", "DescribeBudgets", {})
13
- .n("BudgetsClient", "DescribeBudgetsCommand")
14
- .sc(DescribeBudgets$)
15
- .build() {
3
+ export class DescribeBudgetsCommand extends command(_ep0, _mw0, "DescribeBudgets", DescribeBudgets$) {
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 { DescribeNotificationsForBudget$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeNotificationsForBudgetCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSBudgetServiceGateway", "DescribeNotificationsForBudget", {})
13
- .n("BudgetsClient", "DescribeNotificationsForBudgetCommand")
14
- .sc(DescribeNotificationsForBudget$)
15
- .build() {
3
+ export class DescribeNotificationsForBudgetCommand extends command(_ep0, _mw0, "DescribeNotificationsForBudget", DescribeNotificationsForBudget$) {
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 { DescribeSubscribersForNotification$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeSubscribersForNotificationCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSBudgetServiceGateway", "DescribeSubscribersForNotification", {})
13
- .n("BudgetsClient", "DescribeSubscribersForNotificationCommand")
14
- .sc(DescribeSubscribersForNotification$)
15
- .build() {
3
+ export class DescribeSubscribersForNotificationCommand extends command(_ep0, _mw0, "DescribeSubscribersForNotification", DescribeSubscribersForNotification$) {
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 { ExecuteBudgetAction$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ExecuteBudgetActionCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSBudgetServiceGateway", "ExecuteBudgetAction", {})
13
- .n("BudgetsClient", "ExecuteBudgetActionCommand")
14
- .sc(ExecuteBudgetAction$)
15
- .build() {
3
+ export class ExecuteBudgetActionCommand extends command(_ep0, _mw0, "ExecuteBudgetAction", ExecuteBudgetAction$) {
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 { ListTagsForResource$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListTagsForResourceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSBudgetServiceGateway", "ListTagsForResource", {})
13
- .n("BudgetsClient", "ListTagsForResourceCommand")
14
- .sc(ListTagsForResource$)
15
- .build() {
3
+ export class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
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 { TagResource$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class TagResourceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSBudgetServiceGateway", "TagResource", {})
13
- .n("BudgetsClient", "TagResourceCommand")
14
- .sc(TagResource$)
15
- .build() {
3
+ export class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
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 { UntagResource$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UntagResourceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSBudgetServiceGateway", "UntagResource", {})
13
- .n("BudgetsClient", "UntagResourceCommand")
14
- .sc(UntagResource$)
15
- .build() {
3
+ export class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
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 { UpdateBudgetAction$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateBudgetActionCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSBudgetServiceGateway", "UpdateBudgetAction", {})
13
- .n("BudgetsClient", "UpdateBudgetActionCommand")
14
- .sc(UpdateBudgetAction$)
15
- .build() {
3
+ export class UpdateBudgetActionCommand extends command(_ep0, _mw0, "UpdateBudgetAction", UpdateBudgetAction$) {
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 { UpdateBudget$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateBudgetCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSBudgetServiceGateway", "UpdateBudget", {})
13
- .n("BudgetsClient", "UpdateBudgetCommand")
14
- .sc(UpdateBudget$)
15
- .build() {
3
+ export class UpdateBudgetCommand extends command(_ep0, _mw0, "UpdateBudget", UpdateBudget$) {
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 { UpdateNotification$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateNotificationCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSBudgetServiceGateway", "UpdateNotification", {})
13
- .n("BudgetsClient", "UpdateNotificationCommand")
14
- .sc(UpdateNotification$)
15
- .build() {
3
+ export class UpdateNotificationCommand extends command(_ep0, _mw0, "UpdateNotification", UpdateNotification$) {
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 { UpdateSubscriber$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateSubscriberCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSBudgetServiceGateway", "UpdateSubscriber", {})
13
- .n("BudgetsClient", "UpdateSubscriberCommand")
14
- .sc(UpdateSubscriber$)
15
- .build() {
3
+ export class UpdateSubscriberCommand extends command(_ep0, _mw0, "UpdateSubscriber", UpdateSubscriber$) {
16
4
  }
package/dist-es/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from "./BudgetsClient";
2
2
  export * from "./Budgets";
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";
@@ -1,5 +1,4 @@
1
1
  import packageInfo from "../package.json";
2
- import { Sha256 } from "@aws-crypto/sha256-browser";
3
2
  import { createDefaultUserAgentProvider } from "@aws-sdk/core/client";
4
3
  import { invalidProvider, loadConfigsForDefaultMode } from "@smithy/core/client";
5
4
  import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT, resolveDefaultsModeConfig, } from "@smithy/core/config";
@@ -23,7 +22,6 @@ export const getRuntimeConfig = (config) => {
23
22
  region: config?.region ?? invalidProvider("Region is missing"),
24
23
  requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
25
24
  retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE),
26
- sha256: config?.sha256 ?? Sha256,
27
25
  streamCollector: config?.streamCollector ?? streamCollector,
28
26
  useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT)),
29
27
  useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT)),
@@ -5,7 +5,7 @@ import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credentia
5
5
  import { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } from "@smithy/core/client";
6
6
  import { loadConfig as loadNodeConfig, NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, resolveDefaultsModeConfig, } from "@smithy/core/config";
7
7
  import { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from "@smithy/core/retry";
8
- import { calculateBodyLength, Hash } from "@smithy/core/serde";
8
+ import { calculateBodyLength } from "@smithy/core/serde";
9
9
  import { NodeHttpHandler as RequestHandler, streamCollector } from "@smithy/node-http-handler";
10
10
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
11
11
  export const getRuntimeConfig = (config) => {
@@ -35,7 +35,6 @@ export const getRuntimeConfig = (config) => {
35
35
  ...NODE_RETRY_MODE_CONFIG_OPTIONS,
36
36
  default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
37
37
  }, config),
38
- sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
39
38
  streamCollector: config?.streamCollector ?? streamCollector,
40
39
  useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
41
40
  useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
@@ -1,4 +1,3 @@
1
- import { Sha256 } from "@aws-crypto/sha256-js";
2
1
  import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.browser";
3
2
  export const getRuntimeConfig = (config) => {
4
3
  const browserDefaults = getBrowserRuntimeConfig(config);
@@ -6,6 +5,5 @@ export const getRuntimeConfig = (config) => {
6
5
  ...browserDefaults,
7
6
  ...config,
8
7
  runtime: "react-native",
9
- sha256: config?.sha256 ?? Sha256,
10
8
  };
11
9
  };
@@ -1,5 +1,6 @@
1
1
  import { AwsSdkSigV4Signer } from "@aws-sdk/core/httpAuthSchemes";
2
2
  import { AwsJson1_1Protocol } from "@aws-sdk/core/protocols";
3
+ import { Sha256 } from "@smithy/core/checksum";
3
4
  import { NoOpLogger } from "@smithy/core/client";
4
5
  import { parseUrl } from "@smithy/core/protocols";
5
6
  import { fromBase64, fromUtf8, toBase64, toUtf8 } from "@smithy/core/serde";
@@ -31,6 +32,7 @@ export const getRuntimeConfig = (config) => {
31
32
  serviceTarget: "AWSBudgetServiceGateway",
32
33
  },
33
34
  serviceId: config?.serviceId ?? "Budgets",
35
+ sha256: config?.sha256 ?? Sha256,
34
36
  urlParser: config?.urlParser ?? parseUrl,
35
37
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,
36
38
  utf8Encoder: config?.utf8Encoder ?? toUtf8,
@@ -0,0 +1,18 @@
1
+ import type { EndpointParameterInstructions } from "@smithy/types";
2
+ import type { BudgetsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "./BudgetsClient";
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, BudgetsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
8
+ new (...[input]: import("@smithy/types").OptionalParameter<I>): import("@smithy/core/client").CommandImpl<I, O, BudgetsClientResolvedConfig, 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
- import type { BudgetsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BudgetsClient";
4
2
  import type { CreateBudgetActionRequest, CreateBudgetActionResponse } from "../models/models_0";
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 CreateBudgetActionCommandInput extends CreateBudgetActionReques
22
19
  export interface CreateBudgetActionCommandOutput extends CreateBudgetActionResponse, __MetadataBearer {
23
20
  }
24
21
  declare const CreateBudgetActionCommand_base: {
25
- new (input: CreateBudgetActionCommandInput): import("@smithy/core/client").CommandImpl<CreateBudgetActionCommandInput, CreateBudgetActionCommandOutput, BudgetsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: CreateBudgetActionCommandInput): import("@smithy/core/client").CommandImpl<CreateBudgetActionCommandInput, CreateBudgetActionCommandOutput, BudgetsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: CreateBudgetActionCommandInput): import("@smithy/core/client").CommandImpl<CreateBudgetActionCommandInput, CreateBudgetActionCommandOutput, import("..").BudgetsClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: CreateBudgetActionCommandInput): import("@smithy/core/client").CommandImpl<CreateBudgetActionCommandInput, CreateBudgetActionCommandOutput, import("..").BudgetsClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { BudgetsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BudgetsClient";
4
2
  import type { CreateBudgetRequest, CreateBudgetResponse } from "../models/models_0";
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 CreateBudgetCommandInput extends CreateBudgetRequest {
22
19
  export interface CreateBudgetCommandOutput extends CreateBudgetResponse, __MetadataBearer {
23
20
  }
24
21
  declare const CreateBudgetCommand_base: {
25
- new (input: CreateBudgetCommandInput): import("@smithy/core/client").CommandImpl<CreateBudgetCommandInput, CreateBudgetCommandOutput, BudgetsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: CreateBudgetCommandInput): import("@smithy/core/client").CommandImpl<CreateBudgetCommandInput, CreateBudgetCommandOutput, BudgetsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: CreateBudgetCommandInput): import("@smithy/core/client").CommandImpl<CreateBudgetCommandInput, CreateBudgetCommandOutput, import("..").BudgetsClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: CreateBudgetCommandInput): import("@smithy/core/client").CommandImpl<CreateBudgetCommandInput, CreateBudgetCommandOutput, import("..").BudgetsClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Creates a budget and, if included, notifications and subscribers. </p>
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { BudgetsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BudgetsClient";
4
2
  import type { CreateNotificationRequest, CreateNotificationResponse } from "../models/models_0";
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 CreateNotificationCommandInput extends CreateNotificationReques
22
19
  export interface CreateNotificationCommandOutput extends CreateNotificationResponse, __MetadataBearer {
23
20
  }
24
21
  declare const CreateNotificationCommand_base: {
25
- new (input: CreateNotificationCommandInput): import("@smithy/core/client").CommandImpl<CreateNotificationCommandInput, CreateNotificationCommandOutput, BudgetsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: CreateNotificationCommandInput): import("@smithy/core/client").CommandImpl<CreateNotificationCommandInput, CreateNotificationCommandOutput, BudgetsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: CreateNotificationCommandInput): import("@smithy/core/client").CommandImpl<CreateNotificationCommandInput, CreateNotificationCommandOutput, import("..").BudgetsClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: CreateNotificationCommandInput): import("@smithy/core/client").CommandImpl<CreateNotificationCommandInput, CreateNotificationCommandOutput, import("..").BudgetsClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Creates a notification. You must create the budget before you create the associated notification.</p>
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { BudgetsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BudgetsClient";
4
2
  import type { CreateSubscriberRequest, CreateSubscriberResponse } from "../models/models_0";
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 CreateSubscriberCommandInput extends CreateSubscriberRequest {
22
19
  export interface CreateSubscriberCommandOutput extends CreateSubscriberResponse, __MetadataBearer {
23
20
  }
24
21
  declare const CreateSubscriberCommand_base: {
25
- new (input: CreateSubscriberCommandInput): import("@smithy/core/client").CommandImpl<CreateSubscriberCommandInput, CreateSubscriberCommandOutput, BudgetsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: CreateSubscriberCommandInput): import("@smithy/core/client").CommandImpl<CreateSubscriberCommandInput, CreateSubscriberCommandOutput, BudgetsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: CreateSubscriberCommandInput): import("@smithy/core/client").CommandImpl<CreateSubscriberCommandInput, CreateSubscriberCommandOutput, import("..").BudgetsClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: CreateSubscriberCommandInput): import("@smithy/core/client").CommandImpl<CreateSubscriberCommandInput, CreateSubscriberCommandOutput, import("..").BudgetsClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Creates a subscriber. You must create the associated budget and notification before you create the subscriber.</p>
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { BudgetsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BudgetsClient";
4
2
  import type { DeleteBudgetActionRequest, DeleteBudgetActionResponse } from "../models/models_0";
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 DeleteBudgetActionCommandInput extends DeleteBudgetActionReques
22
19
  export interface DeleteBudgetActionCommandOutput extends DeleteBudgetActionResponse, __MetadataBearer {
23
20
  }
24
21
  declare const DeleteBudgetActionCommand_base: {
25
- new (input: DeleteBudgetActionCommandInput): import("@smithy/core/client").CommandImpl<DeleteBudgetActionCommandInput, DeleteBudgetActionCommandOutput, BudgetsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: DeleteBudgetActionCommandInput): import("@smithy/core/client").CommandImpl<DeleteBudgetActionCommandInput, DeleteBudgetActionCommandOutput, BudgetsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: DeleteBudgetActionCommandInput): import("@smithy/core/client").CommandImpl<DeleteBudgetActionCommandInput, DeleteBudgetActionCommandOutput, import("..").BudgetsClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: DeleteBudgetActionCommandInput): import("@smithy/core/client").CommandImpl<DeleteBudgetActionCommandInput, DeleteBudgetActionCommandOutput, import("..").BudgetsClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { BudgetsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BudgetsClient";
4
2
  import type { DeleteBudgetRequest, DeleteBudgetResponse } from "../models/models_0";
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 DeleteBudgetCommandInput extends DeleteBudgetRequest {
22
19
  export interface DeleteBudgetCommandOutput extends DeleteBudgetResponse, __MetadataBearer {
23
20
  }
24
21
  declare const DeleteBudgetCommand_base: {
25
- new (input: DeleteBudgetCommandInput): import("@smithy/core/client").CommandImpl<DeleteBudgetCommandInput, DeleteBudgetCommandOutput, BudgetsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: DeleteBudgetCommandInput): import("@smithy/core/client").CommandImpl<DeleteBudgetCommandInput, DeleteBudgetCommandOutput, BudgetsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: DeleteBudgetCommandInput): import("@smithy/core/client").CommandImpl<DeleteBudgetCommandInput, DeleteBudgetCommandOutput, import("..").BudgetsClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: DeleteBudgetCommandInput): import("@smithy/core/client").CommandImpl<DeleteBudgetCommandInput, DeleteBudgetCommandOutput, import("..").BudgetsClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Deletes a budget. You can delete your budget at any time.</p>
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { BudgetsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BudgetsClient";
4
2
  import type { DeleteNotificationRequest, DeleteNotificationResponse } from "../models/models_0";
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 DeleteNotificationCommandInput extends DeleteNotificationReques
22
19
  export interface DeleteNotificationCommandOutput extends DeleteNotificationResponse, __MetadataBearer {
23
20
  }
24
21
  declare const DeleteNotificationCommand_base: {
25
- new (input: DeleteNotificationCommandInput): import("@smithy/core/client").CommandImpl<DeleteNotificationCommandInput, DeleteNotificationCommandOutput, BudgetsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: DeleteNotificationCommandInput): import("@smithy/core/client").CommandImpl<DeleteNotificationCommandInput, DeleteNotificationCommandOutput, BudgetsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: DeleteNotificationCommandInput): import("@smithy/core/client").CommandImpl<DeleteNotificationCommandInput, DeleteNotificationCommandOutput, import("..").BudgetsClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: DeleteNotificationCommandInput): import("@smithy/core/client").CommandImpl<DeleteNotificationCommandInput, DeleteNotificationCommandOutput, import("..").BudgetsClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Deletes a notification.</p>
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { BudgetsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BudgetsClient";
4
2
  import type { DeleteSubscriberRequest, DeleteSubscriberResponse } from "../models/models_0";
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 DeleteSubscriberCommandInput extends DeleteSubscriberRequest {
22
19
  export interface DeleteSubscriberCommandOutput extends DeleteSubscriberResponse, __MetadataBearer {
23
20
  }
24
21
  declare const DeleteSubscriberCommand_base: {
25
- new (input: DeleteSubscriberCommandInput): import("@smithy/core/client").CommandImpl<DeleteSubscriberCommandInput, DeleteSubscriberCommandOutput, BudgetsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: DeleteSubscriberCommandInput): import("@smithy/core/client").CommandImpl<DeleteSubscriberCommandInput, DeleteSubscriberCommandOutput, BudgetsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: DeleteSubscriberCommandInput): import("@smithy/core/client").CommandImpl<DeleteSubscriberCommandInput, DeleteSubscriberCommandOutput, import("..").BudgetsClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: DeleteSubscriberCommandInput): import("@smithy/core/client").CommandImpl<DeleteSubscriberCommandInput, DeleteSubscriberCommandOutput, import("..").BudgetsClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Deletes a subscriber.</p>