@aws-sdk/client-billingconductor 3.181.0 → 3.183.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 (51) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist-es/Billingconductor.js +122 -129
  3. package/dist-es/BillingconductorClient.js +22 -28
  4. package/dist-es/commands/AssociateAccountsCommand.js +21 -28
  5. package/dist-es/commands/AssociatePricingRulesCommand.js +21 -28
  6. package/dist-es/commands/BatchAssociateResourcesToCustomLineItemCommand.js +21 -28
  7. package/dist-es/commands/BatchDisassociateResourcesFromCustomLineItemCommand.js +21 -28
  8. package/dist-es/commands/CreateBillingGroupCommand.js +21 -28
  9. package/dist-es/commands/CreateCustomLineItemCommand.js +21 -28
  10. package/dist-es/commands/CreatePricingPlanCommand.js +21 -28
  11. package/dist-es/commands/CreatePricingRuleCommand.js +21 -28
  12. package/dist-es/commands/DeleteBillingGroupCommand.js +21 -28
  13. package/dist-es/commands/DeleteCustomLineItemCommand.js +21 -28
  14. package/dist-es/commands/DeletePricingPlanCommand.js +21 -28
  15. package/dist-es/commands/DeletePricingRuleCommand.js +21 -28
  16. package/dist-es/commands/DisassociateAccountsCommand.js +21 -28
  17. package/dist-es/commands/DisassociatePricingRulesCommand.js +21 -28
  18. package/dist-es/commands/ListAccountAssociationsCommand.js +21 -28
  19. package/dist-es/commands/ListBillingGroupCostReportsCommand.js +21 -28
  20. package/dist-es/commands/ListBillingGroupsCommand.js +21 -28
  21. package/dist-es/commands/ListCustomLineItemsCommand.js +21 -28
  22. package/dist-es/commands/ListPricingPlansAssociatedWithPricingRuleCommand.js +21 -28
  23. package/dist-es/commands/ListPricingPlansCommand.js +21 -28
  24. package/dist-es/commands/ListPricingRulesAssociatedToPricingPlanCommand.js +21 -28
  25. package/dist-es/commands/ListPricingRulesCommand.js +21 -28
  26. package/dist-es/commands/ListResourcesAssociatedToCustomLineItemCommand.js +21 -28
  27. package/dist-es/commands/ListTagsForResourceCommand.js +21 -28
  28. package/dist-es/commands/TagResourceCommand.js +21 -28
  29. package/dist-es/commands/UntagResourceCommand.js +21 -28
  30. package/dist-es/commands/UpdateBillingGroupCommand.js +21 -28
  31. package/dist-es/commands/UpdateCustomLineItemCommand.js +21 -28
  32. package/dist-es/commands/UpdatePricingPlanCommand.js +21 -28
  33. package/dist-es/commands/UpdatePricingRuleCommand.js +21 -28
  34. package/dist-es/endpoints.js +8 -8
  35. package/dist-es/models/BillingconductorServiceException.js +5 -10
  36. package/dist-es/models/models_0.js +417 -197
  37. package/dist-es/pagination/ListAccountAssociationsPaginator.js +24 -67
  38. package/dist-es/pagination/ListBillingGroupCostReportsPaginator.js +25 -68
  39. package/dist-es/pagination/ListBillingGroupsPaginator.js +25 -68
  40. package/dist-es/pagination/ListCustomLineItemsPaginator.js +25 -68
  41. package/dist-es/pagination/ListPricingPlansAssociatedWithPricingRulePaginator.js +25 -68
  42. package/dist-es/pagination/ListPricingPlansPaginator.js +25 -68
  43. package/dist-es/pagination/ListPricingRulesAssociatedToPricingPlanPaginator.js +25 -68
  44. package/dist-es/pagination/ListPricingRulesPaginator.js +25 -68
  45. package/dist-es/pagination/ListResourcesAssociatedToCustomLineItemPaginator.js +25 -68
  46. package/dist-es/protocols/Aws_restJson1.js +2512 -3363
  47. package/dist-es/runtimeConfig.browser.js +26 -12
  48. package/dist-es/runtimeConfig.js +30 -12
  49. package/dist-es/runtimeConfig.native.js +8 -5
  50. package/dist-es/runtimeConfig.shared.js +8 -11
  51. package/package.json +33 -33
@@ -1,6 +1,5 @@
1
- import { __assign, __awaiter, __generator } from "tslib";
2
1
  import { getRegionInfo } from "@aws-sdk/config-resolver";
3
- var regionHash = {
2
+ const regionHash = {
4
3
  "aws-global": {
5
4
  variants: [
6
5
  {
@@ -11,7 +10,7 @@ var regionHash = {
11
10
  signingRegion: "us-east-1",
12
11
  },
13
12
  };
14
- var partitionHash = {
13
+ const partitionHash = {
15
14
  aws: {
16
15
  regions: [
17
16
  "af-south-1",
@@ -133,8 +132,9 @@ var partitionHash = {
133
132
  ],
134
133
  },
135
134
  };
136
- export var defaultRegionInfoProvider = function (region, options) { return __awaiter(void 0, void 0, void 0, function () {
137
- return __generator(this, function (_a) {
138
- return [2, getRegionInfo(region, __assign(__assign({}, options), { signingService: "billingconductor", regionHash: regionHash, partitionHash: partitionHash }))];
139
- });
140
- }); };
135
+ export const defaultRegionInfoProvider = async (region, options) => getRegionInfo(region, {
136
+ ...options,
137
+ signingService: "billingconductor",
138
+ regionHash,
139
+ partitionHash,
140
+ });
@@ -1,12 +1,7 @@
1
- import { __extends } from "tslib";
2
1
  import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
3
- var BillingconductorServiceException = (function (_super) {
4
- __extends(BillingconductorServiceException, _super);
5
- function BillingconductorServiceException(options) {
6
- var _this = _super.call(this, options) || this;
7
- Object.setPrototypeOf(_this, BillingconductorServiceException.prototype);
8
- return _this;
2
+ export class BillingconductorServiceException extends __ServiceException {
3
+ constructor(options) {
4
+ super(options);
5
+ Object.setPrototypeOf(this, BillingconductorServiceException.prototype);
9
6
  }
10
- return BillingconductorServiceException;
11
- }(__ServiceException));
12
- export { BillingconductorServiceException };
7
+ }