@aws-sdk/client-billing 3.1141.0 → 3.1143.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 (31) hide show
  1. package/README.md +14 -0
  2. package/dist-cjs/index.js +142 -11
  3. package/dist-es/Billing.js +8 -0
  4. package/dist-es/commands/ListBusinessSupportAccountChargesCommand.js +4 -0
  5. package/dist-es/commands/ListBusinessSupportSubscriptionHistoryCommand.js +4 -0
  6. package/dist-es/commands/index.js +2 -0
  7. package/dist-es/pagination/ListBusinessSupportAccountChargesPaginator.js +4 -0
  8. package/dist-es/pagination/ListBusinessSupportSubscriptionHistoryPaginator.js +4 -0
  9. package/dist-es/pagination/index.js +2 -0
  10. package/dist-es/schemas/schemas_0.js +112 -10
  11. package/dist-types/Billing.d.ts +29 -0
  12. package/dist-types/BillingClient.d.ts +4 -2
  13. package/dist-types/commands/ListBusinessSupportAccountChargesCommand.d.ts +127 -0
  14. package/dist-types/commands/ListBusinessSupportSubscriptionHistoryCommand.d.ts +99 -0
  15. package/dist-types/commands/index.d.ts +2 -0
  16. package/dist-types/models/models_0.d.ts +282 -3
  17. package/dist-types/pagination/ListBusinessSupportAccountChargesPaginator.d.ts +7 -0
  18. package/dist-types/pagination/ListBusinessSupportSubscriptionHistoryPaginator.d.ts +7 -0
  19. package/dist-types/pagination/index.d.ts +2 -0
  20. package/dist-types/schemas/schemas_0.d.ts +11 -0
  21. package/dist-types/ts3.4/Billing.d.ts +49 -0
  22. package/dist-types/ts3.4/BillingClient.d.ts +12 -0
  23. package/dist-types/ts3.4/commands/ListBusinessSupportAccountChargesCommand.d.ts +42 -0
  24. package/dist-types/ts3.4/commands/ListBusinessSupportSubscriptionHistoryCommand.d.ts +42 -0
  25. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  26. package/dist-types/ts3.4/models/models_0.d.ts +63 -0
  27. package/dist-types/ts3.4/pagination/ListBusinessSupportAccountChargesPaginator.d.ts +11 -0
  28. package/dist-types/ts3.4/pagination/ListBusinessSupportSubscriptionHistoryPaginator.d.ts +11 -0
  29. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  30. package/dist-types/ts3.4/schemas/schemas_0.d.ts +11 -0
  31. package/package.json +1 -1
@@ -13,6 +13,15 @@ const _BPFK = "BillingPreferenceForKey";
13
13
  const _BPPK = "BillingPreferencesPerKey";
14
14
  const _BPS = "BillingPreferenceSummary";
15
15
  const _BPi = "BillingPreferences";
16
+ const _BSAC = "BusinessSupportAccountCharge";
17
+ const _BSACL = "BusinessSupportAccountChargeList";
18
+ const _BSD = "BusinessSupportDiscount";
19
+ const _BSSC = "BusinessSupportSubscriptionContract";
20
+ const _BSSCL = "BusinessSupportSubscriptionContractList";
21
+ const _BSSS = "BusinessSupportServiceSpend";
22
+ const _BSSSL = "BusinessSupportServiceSpendList";
23
+ const _BSTC = "BusinessSupportTierCharge";
24
+ const _BSTCL = "BusinessSupportTierChargeList";
16
25
  const _BVD = "BillingViewDescription";
17
26
  const _BVE = "BillingViewElement";
18
27
  const _BVHS = "BillingViewHealthStatus";
@@ -69,6 +78,12 @@ const _GRPRe = "GetResourcePolicyResponse";
69
78
  const _ISE = "InternalServerException";
70
79
  const _LAC = "LinkedAccountCharge";
71
80
  const _LACL = "LinkedAccountChargeList";
81
+ const _LBSAC = "ListBusinessSupportAccountCharges";
82
+ const _LBSACR = "ListBusinessSupportAccountChargesRequest";
83
+ const _LBSACRi = "ListBusinessSupportAccountChargesResponse";
84
+ const _LBSSH = "ListBusinessSupportSubscriptionHistory";
85
+ const _LBSSHR = "ListBusinessSupportSubscriptionHistoryRequest";
86
+ const _LBSSHRi = "ListBusinessSupportSubscriptionHistoryResponse";
72
87
  const _LBV = "ListBillingViews";
73
88
  const _LBVR = "ListBillingViewsRequest";
74
89
  const _LBVRi = "ListBillingViewsResponse";
@@ -122,7 +137,9 @@ const _XACT = "X-Amzn-Client-Token";
122
137
  const _a = "amount";
123
138
  const _aAI = "activeAfterInclusive";
124
139
  const _aBI = "activeBeforeInclusive";
140
+ const _aC = "accountCount";
125
141
  const _aCA = "aggregateChargesAdjustment";
142
+ const _aCc = "accountCharges";
126
143
  const _aHCSE = "accountHasCreditSharingEnabled";
127
144
  const _aI = "accountId";
128
145
  const _aN = "accountName";
@@ -157,25 +174,36 @@ const _bVi = "billingViews";
157
174
  const _c = "client";
158
175
  const _cA = "currencyAmount";
159
176
  const _cAHL = "creditAllocationHistoryList";
177
+ const _cAh = "chargeAmount";
160
178
  const _cAr = "createdAt";
161
179
  const _cAre = "creditAmount";
162
180
  const _cC = "currencyCode";
163
181
  const _cCA = "costCategoryArn";
164
182
  const _cCV = "creditConsoleVisibility";
165
183
  const _cCo = "costCategories";
184
+ const _cED = "contractEndDate";
166
185
  const _cI = "creditId";
167
186
  const _cP = "chargePercentage";
168
187
  const _cPAI = "contractPayerAccountIds";
169
188
  const _cPAIh = "chargedPayerAccountIds";
170
- const _cS = "creditStatus";
189
+ const _cPED = "chargePeriodEndDate";
190
+ const _cPSD = "chargePeriodStartDate";
191
+ const _cS = "contributingService";
192
+ const _cSD = "contractStartDate";
171
193
  const _cST = "creditSharingType";
194
+ const _cSr = "creditStatus";
172
195
  const _cT = "chargeType";
173
196
  const _cTl = "clientToken";
174
197
  const _cTr = "creditType";
175
198
  const _cr = "credits";
199
+ const _cu = "currency";
176
200
  const _d = "description";
201
+ const _dA = "discountAmount";
177
202
  const _dATMC = "discountAppliesToMinimumCharge";
178
203
  const _dFE = "dataFilterExpression";
204
+ const _dP = "discountPercentage";
205
+ const _dS = "discountSource";
206
+ const _dT = "discountType";
179
207
  const _dVC = "derivedViewCount";
180
208
  const _di = "dimensions";
181
209
  const _do = "domain";
@@ -202,7 +230,8 @@ const _iCA = "isContractActive";
202
230
  const _iE = "isEstimated";
203
231
  const _iEB = "isEstimatedBill";
204
232
  const _iG = "isGdn";
205
- const _iT = "idempotencyToken";
233
+ const _iT = "itemType";
234
+ const _iTd = "idempotencyToken";
206
235
  const _in = "incremental";
207
236
  const _inc = "increment";
208
237
  const _k = "key";
@@ -222,6 +251,7 @@ const _pAF = "payerAccountFlag";
222
251
  const _pAI = "payerAccountId";
223
252
  const _pC = "promoCode";
224
253
  const _pDP = "planDiscountPercent";
254
+ const _pN = "planName";
225
255
  const _pP = "pricingPlans";
226
256
  const _pPI = "pricingPlanId";
227
257
  const _pR = "partialResults";
@@ -244,11 +274,13 @@ const _sC = "serviceCode";
244
274
  const _sCP = "supportChargePercentage";
245
275
  const _sCt = "statusCode";
246
276
  const _sCu = "supportCharge";
247
- const _sD = "startDate";
248
- const _sDu = "supportDiscount";
277
+ const _sCub = "subscriptionContracts";
278
+ const _sD = "supportDiscount";
279
+ const _sDt = "startDate";
249
280
  const _sEPP = "supportEffectivePricingPlan";
250
281
  const _sESBS = "supportEligibleSpendByService";
251
282
  const _sO = "searchOption";
283
+ const _sPN = "supportPlanName";
252
284
  const _sPSD = "supportProrateStartDate";
253
285
  const _sR = "statusReasons";
254
286
  const _sRIASD = "supportReservedInstanceAmortizationStartDate";
@@ -261,18 +293,25 @@ const _sVC = "sourceViewCount";
261
293
  const _sVe = "searchValue";
262
294
  const _se = "server";
263
295
  const _t = "tags";
296
+ const _tC = "totalCharge";
297
+ const _tCi = "tierCharges";
298
+ const _tCie = "tierCharge";
299
+ const _tD = "tierDescription";
264
300
  const _tM = "tierMinimum";
265
301
  const _tMi = "tierMaximum";
266
302
  const _tR = "timeRange";
303
+ const _tRi = "tierRate";
267
304
  const _tS = "totalSeconds";
268
305
  const _tSC = "totalSupportCharge";
269
306
  const _tSERIS = "totalSupportEligibleReservedInstanceSpend";
270
307
  const _tSES = "totalSupportEligibleSpend";
271
308
  const _tSESPS = "totalSupportEligibleSavingsPlanSpend";
272
309
  const _tSEUS = "totalSupportEligibleUsageSpend";
310
+ const _tUB = "totalUsageBasis";
273
311
  const _ti = "tiers";
274
312
  const _tie = "tiered";
275
313
  const _uA = "updatedAt";
314
+ const _uS = "usageSlice";
276
315
  const _v = "value";
277
316
  const _vDLUA = "viewDefinitionLastUpdatedAt";
278
317
  const _va = "values";
@@ -409,6 +448,31 @@ export var BillingViewSegmentTimeRange$ = [3, n0, _BVSTR,
409
448
  [_bDI, _eDE],
410
449
  [4, 4]
411
450
  ];
451
+ export var BusinessSupportAccountCharge$ = [3, n0, _BSAC,
452
+ 0,
453
+ [_aI, _sPN, _tC, _tUB, _tCi, _sD, _sESBS],
454
+ [0, 0, 0, 0, () => BusinessSupportTierChargeList, () => BusinessSupportDiscount$, () => BusinessSupportServiceSpendList], 4
455
+ ];
456
+ export var BusinessSupportDiscount$ = [3, n0, _BSD,
457
+ 0,
458
+ [_dA, _dP, _dT, _dS],
459
+ [0, 0, 0, 0]
460
+ ];
461
+ export var BusinessSupportServiceSpend$ = [3, n0, _BSSS,
462
+ 0,
463
+ [_cS, _iT, _cAh, _cu, _d],
464
+ [0, 0, 0, 0, 0], 4
465
+ ];
466
+ export var BusinessSupportSubscriptionContract$ = [3, n0, _BSSC,
467
+ 0,
468
+ [_aI, _pN, _cSD, _cED],
469
+ [0, 0, 4, 4], 4
470
+ ];
471
+ export var BusinessSupportTierCharge$ = [3, n0, _BSTC,
472
+ 0,
473
+ [_tD, _tRi, _uS, _tCie, _cPSD, _cPED],
474
+ [0, 0, 0, 0, 4, 4], 4
475
+ ];
412
476
  export var ChargeAccount$ = [3, n0, _CA,
413
477
  0,
414
478
  [_aI, _cP],
@@ -427,7 +491,7 @@ export var CostCategoryValues$ = [3, n0, _CCV,
427
491
  export var CreateBillingViewRequest$ = [3, n0, _CBVR,
428
492
  0,
429
493
  [_n, _sV, _d, _dFE, _cTl, _rTe],
430
- [[() => BillingViewName, 0], 64 | 0, [() => BillingViewDescription, 0], () => Expression$, [0, { [_hH]: _XACT, [_iT]: 1 }], () => ResourceTagList], 2
494
+ [[() => BillingViewName, 0], 64 | 0, [() => BillingViewDescription, 0], () => Expression$, [0, { [_hH]: _XACT, [_iTd]: 1 }], () => ResourceTagList], 2
431
495
  ];
432
496
  export var CreateBillingViewResponse$ = [3, n0, _CBVRr,
433
497
  0,
@@ -441,7 +505,7 @@ export var CreditAllocationHistoryEntry$ = [3, n0, _CAHE,
441
505
  ];
442
506
  export var CreditData$ = [3, n0, _CD,
443
507
  0,
444
- [_cI, _aI, _cTr, _iA, _rA, _d, _sD, _eA, _aPN, _eD, _eDx, _aT, _sA, _aHCSE, _cCV, _cST, _cCA, _rN, _cS, _pTA],
508
+ [_cI, _aI, _cTr, _iA, _rA, _d, _sDt, _eA, _aPN, _eD, _eDx, _aT, _sA, _aHCSE, _cCV, _cST, _cCA, _rN, _cSr, _pTA],
445
509
  [0, 0, 0, () => Amount$, () => Amount$, 0, 4, () => Amount$, 64 | 0, 4, 4, 0, 64 | 0, 2, 0, 0, 0, 0, 0, 64 | 0], 7
446
510
  ];
447
511
  export var DeleteBillingViewRequest$ = [3, n0, _DBVR,
@@ -501,7 +565,7 @@ export var GetBillingViewResponse$ = [3, n0, _GBVRe,
501
565
  ];
502
566
  export var GetCreditAllocationHistoryRequest$ = [3, n0, _GCAHR,
503
567
  0,
504
- [_aI, _sD, _eD, _cI, _nT, _mR],
568
+ [_aI, _sDt, _eD, _cI, _nT, _mR],
505
569
  [0, 4, 4, 1, 0, 1], 3
506
570
  ];
507
571
  export var GetCreditAllocationHistoryResponse$ = [3, n0, _GCAHRe,
@@ -511,7 +575,7 @@ export var GetCreditAllocationHistoryResponse$ = [3, n0, _GCAHRe,
511
575
  ];
512
576
  export var GetCreditsRequest$ = [3, n0, _GCR,
513
577
  0,
514
- [_aI, _sD, _eD, _pAF],
578
+ [_aI, _sDt, _eD, _pAF],
515
579
  [0, 4, 4, 2], 2
516
580
  ];
517
581
  export var GetCreditsResponse$ = [3, n0, _GCRe,
@@ -526,7 +590,7 @@ export var GetEnterpriseSupportChargeSummaryRequest$ = [3, n0, _GESCSR,
526
590
  ];
527
591
  export var GetEnterpriseSupportChargeSummaryResponse$ = [3, n0, _GESCSRe,
528
592
  0,
529
- [_pAI, _bM, _bPSD, _bPED, _iE, _bDi, _sCu, _tSC, _sDu, _tSES, _tSEUS, _tSERIS, _tSESPS, _sCP, _sEPP],
593
+ [_pAI, _bM, _bPSD, _bPED, _iE, _bDi, _sCu, _tSC, _sD, _tSES, _tSEUS, _tSERIS, _tSESPS, _sCP, _sEPP],
530
594
  [0, 0, 4, 4, 2, 4, 0, 0, 0, 0, 0, 0, 0, 0, () => PricingPlan$], 15
531
595
  ];
532
596
  export var GetEnterpriseSupportContractDetailsRequest$ = [3, n0, _GESCDR,
@@ -574,6 +638,26 @@ export var ListBillingViewsResponse$ = [3, n0, _LBVRi,
574
638
  [_bVi, _nT],
575
639
  [[() => BillingViewList, 0], 0], 1
576
640
  ];
641
+ export var ListBusinessSupportAccountChargesRequest$ = [3, n0, _LBSACR,
642
+ 0,
643
+ [_bM, _aI, _mR, _nT],
644
+ [0, 0, 1, 0], 1
645
+ ];
646
+ export var ListBusinessSupportAccountChargesResponse$ = [3, n0, _LBSACRi,
647
+ 0,
648
+ [_bM, _iE, _tSC, _tSES, _aC, _aCc, _nT],
649
+ [0, 2, 0, 0, 1, () => BusinessSupportAccountChargeList, 0], 6
650
+ ];
651
+ export var ListBusinessSupportSubscriptionHistoryRequest$ = [3, n0, _LBSSHR,
652
+ 0,
653
+ [_bM, _aI, _sDt, _eD, _mR, _nT],
654
+ [0, 0, 4, 4, 1, 0]
655
+ ];
656
+ export var ListBusinessSupportSubscriptionHistoryResponse$ = [3, n0, _LBSSHRi,
657
+ 0,
658
+ [_sCub, _nT],
659
+ [() => BusinessSupportSubscriptionContractList, 0], 1
660
+ ];
577
661
  export var ListEnterpriseSupportLinkedAccountChargesRequest$ = [3, n0, _LESLACR,
578
662
  0,
579
663
  [_bM, _aI, _mR, _nT],
@@ -606,7 +690,7 @@ export var ListTagsForResourceResponse$ = [3, n0, _LTFRRi,
606
690
  ];
607
691
  export var PricingPlan$ = [3, n0, _PP,
608
692
  0,
609
- [_ti, _pPI, _n, _d, _sD, _eD, _pDP, _dATMC, _mC, _tie],
693
+ [_ti, _pPI, _n, _d, _sDt, _eD, _pDP, _dATMC, _mC, _tie],
610
694
  [() => PricingPlanTierList, 0, 0, 0, 4, 4, 0, 2, 0, 0], 1
611
695
  ];
612
696
  export var PricingPlanTier$ = [3, n0, _PPT,
@@ -719,6 +803,18 @@ var BillingViewSegmentsList = [1, n0, _BVSL,
719
803
  var BillingViewSourceViewsList = 64 | 0;
720
804
  var BillingViewStatusReasons = 64 | 0;
721
805
  var BillingViewTypeList = 64 | 0;
806
+ var BusinessSupportAccountChargeList = [1, n0, _BSACL,
807
+ 0, () => BusinessSupportAccountCharge$
808
+ ];
809
+ var BusinessSupportServiceSpendList = [1, n0, _BSSSL,
810
+ 0, () => BusinessSupportServiceSpend$
811
+ ];
812
+ var BusinessSupportSubscriptionContractList = [1, n0, _BSSCL,
813
+ 0, () => BusinessSupportSubscriptionContract$
814
+ ];
815
+ var BusinessSupportTierChargeList = [1, n0, _BSTCL,
816
+ 0, () => BusinessSupportTierCharge$
817
+ ];
722
818
  var ChargeAccountList = [1, n0, _CAL,
723
819
  0, () => ChargeAccount$
724
820
  ];
@@ -800,6 +896,12 @@ export var ListBillingViews$ = [9, n0, _LBV,
800
896
  export var ListBillingViewSegments$ = [9, n0, _LBVS,
801
897
  0, () => ListBillingViewSegmentsRequest$, () => ListBillingViewSegmentsResponse$
802
898
  ];
899
+ export var ListBusinessSupportAccountCharges$ = [9, n0, _LBSAC,
900
+ 0, () => ListBusinessSupportAccountChargesRequest$, () => ListBusinessSupportAccountChargesResponse$
901
+ ];
902
+ export var ListBusinessSupportSubscriptionHistory$ = [9, n0, _LBSSH,
903
+ 0, () => ListBusinessSupportSubscriptionHistoryRequest$, () => ListBusinessSupportSubscriptionHistoryResponse$
904
+ ];
803
905
  export var ListEnterpriseSupportLinkedAccountCharges$ = [9, n0, _LESLAC,
804
906
  0, () => ListEnterpriseSupportLinkedAccountChargesRequest$, () => ListEnterpriseSupportLinkedAccountChargesResponse$
805
907
  ];
@@ -13,6 +13,8 @@ import { type GetEnterpriseSupportContractDetailsCommandInput, type GetEnterpris
13
13
  import { type GetResourcePolicyCommandInput, type GetResourcePolicyCommandOutput } from "./commands/GetResourcePolicyCommand";
14
14
  import { type ListBillingViewsCommandInput, type ListBillingViewsCommandOutput } from "./commands/ListBillingViewsCommand";
15
15
  import { type ListBillingViewSegmentsCommandInput, type ListBillingViewSegmentsCommandOutput } from "./commands/ListBillingViewSegmentsCommand";
16
+ import { type ListBusinessSupportAccountChargesCommandInput, type ListBusinessSupportAccountChargesCommandOutput } from "./commands/ListBusinessSupportAccountChargesCommand";
17
+ import { type ListBusinessSupportSubscriptionHistoryCommandInput, type ListBusinessSupportSubscriptionHistoryCommandOutput } from "./commands/ListBusinessSupportSubscriptionHistoryCommand";
16
18
  import { type ListEnterpriseSupportLinkedAccountChargesCommandInput, type ListEnterpriseSupportLinkedAccountChargesCommandOutput } from "./commands/ListEnterpriseSupportLinkedAccountChargesCommand";
17
19
  import { type ListSourceViewsForBillingViewCommandInput, type ListSourceViewsForBillingViewCommandOutput } from "./commands/ListSourceViewsForBillingViewCommand";
18
20
  import { type ListTagsForResourceCommandInput, type ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
@@ -108,6 +110,19 @@ export interface Billing {
108
110
  listBillingViewSegments(args: ListBillingViewSegmentsCommandInput, options?: BillingRequestOptions): Promise<ListBillingViewSegmentsCommandOutput>;
109
111
  listBillingViewSegments(args: ListBillingViewSegmentsCommandInput, cb: (err: any, data?: ListBillingViewSegmentsCommandOutput) => void): void;
110
112
  listBillingViewSegments(args: ListBillingViewSegmentsCommandInput, options: BillingRequestOptions, cb: (err: any, data?: ListBillingViewSegmentsCommandOutput) => void): void;
113
+ /**
114
+ * @see {@link ListBusinessSupportAccountChargesCommand}
115
+ */
116
+ listBusinessSupportAccountCharges(args: ListBusinessSupportAccountChargesCommandInput, options?: BillingRequestOptions): Promise<ListBusinessSupportAccountChargesCommandOutput>;
117
+ listBusinessSupportAccountCharges(args: ListBusinessSupportAccountChargesCommandInput, cb: (err: any, data?: ListBusinessSupportAccountChargesCommandOutput) => void): void;
118
+ listBusinessSupportAccountCharges(args: ListBusinessSupportAccountChargesCommandInput, options: BillingRequestOptions, cb: (err: any, data?: ListBusinessSupportAccountChargesCommandOutput) => void): void;
119
+ /**
120
+ * @see {@link ListBusinessSupportSubscriptionHistoryCommand}
121
+ */
122
+ listBusinessSupportSubscriptionHistory(): Promise<ListBusinessSupportSubscriptionHistoryCommandOutput>;
123
+ listBusinessSupportSubscriptionHistory(args: ListBusinessSupportSubscriptionHistoryCommandInput, options?: BillingRequestOptions): Promise<ListBusinessSupportSubscriptionHistoryCommandOutput>;
124
+ listBusinessSupportSubscriptionHistory(args: ListBusinessSupportSubscriptionHistoryCommandInput, cb: (err: any, data?: ListBusinessSupportSubscriptionHistoryCommandOutput) => void): void;
125
+ listBusinessSupportSubscriptionHistory(args: ListBusinessSupportSubscriptionHistoryCommandInput, options: BillingRequestOptions, cb: (err: any, data?: ListBusinessSupportSubscriptionHistoryCommandOutput) => void): void;
111
126
  /**
112
127
  * @see {@link ListEnterpriseSupportLinkedAccountChargesCommand}
113
128
  */
@@ -177,6 +192,20 @@ export interface Billing {
177
192
  * @returns AsyncIterable of {@link ListBillingViewSegmentsCommandOutput}.
178
193
  */
179
194
  paginateListBillingViewSegments(args?: ListBillingViewSegmentsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListBillingViewSegmentsCommandOutput>;
195
+ /**
196
+ * @see {@link ListBusinessSupportAccountChargesCommand}
197
+ * @param args - command input.
198
+ * @param paginationConfig - optional pagination config.
199
+ * @returns AsyncIterable of {@link ListBusinessSupportAccountChargesCommandOutput}.
200
+ */
201
+ paginateListBusinessSupportAccountCharges(args: ListBusinessSupportAccountChargesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListBusinessSupportAccountChargesCommandOutput>;
202
+ /**
203
+ * @see {@link ListBusinessSupportSubscriptionHistoryCommand}
204
+ * @param args - command input.
205
+ * @param paginationConfig - optional pagination config.
206
+ * @returns AsyncIterable of {@link ListBusinessSupportSubscriptionHistoryCommandOutput}.
207
+ */
208
+ paginateListBusinessSupportSubscriptionHistory(args?: ListBusinessSupportSubscriptionHistoryCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListBusinessSupportSubscriptionHistoryCommandOutput>;
180
209
  /**
181
210
  * @see {@link ListEnterpriseSupportLinkedAccountChargesCommand}
182
211
  * @param args - command input.
@@ -19,6 +19,8 @@ import type { GetEnterpriseSupportContractDetailsCommandInput, GetEnterpriseSupp
19
19
  import type { GetResourcePolicyCommandInput, GetResourcePolicyCommandOutput } from "./commands/GetResourcePolicyCommand";
20
20
  import type { ListBillingViewsCommandInput, ListBillingViewsCommandOutput } from "./commands/ListBillingViewsCommand";
21
21
  import type { ListBillingViewSegmentsCommandInput, ListBillingViewSegmentsCommandOutput } from "./commands/ListBillingViewSegmentsCommand";
22
+ import type { ListBusinessSupportAccountChargesCommandInput, ListBusinessSupportAccountChargesCommandOutput } from "./commands/ListBusinessSupportAccountChargesCommand";
23
+ import type { ListBusinessSupportSubscriptionHistoryCommandInput, ListBusinessSupportSubscriptionHistoryCommandOutput } from "./commands/ListBusinessSupportSubscriptionHistoryCommand";
22
24
  import type { ListEnterpriseSupportLinkedAccountChargesCommandInput, ListEnterpriseSupportLinkedAccountChargesCommandOutput } from "./commands/ListEnterpriseSupportLinkedAccountChargesCommand";
23
25
  import type { ListSourceViewsForBillingViewCommandInput, ListSourceViewsForBillingViewCommandOutput } from "./commands/ListSourceViewsForBillingViewCommand";
24
26
  import type { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
@@ -33,11 +35,11 @@ export { __Client };
33
35
  /**
34
36
  * @public
35
37
  */
36
- export type ServiceInputTypes = AssociateSourceViewsCommandInput | CreateBillingViewCommandInput | DeleteBillingViewCommandInput | DisassociateSourceViewsCommandInput | GetBillingPreferencesCommandInput | GetBillingViewCommandInput | GetCreditAllocationHistoryCommandInput | GetCreditsCommandInput | GetEnterpriseSupportChargeSummaryCommandInput | GetEnterpriseSupportContractDetailsCommandInput | GetResourcePolicyCommandInput | ListBillingViewSegmentsCommandInput | ListBillingViewsCommandInput | ListEnterpriseSupportLinkedAccountChargesCommandInput | ListSourceViewsForBillingViewCommandInput | ListTagsForResourceCommandInput | RedeemCreditsCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateBillingPreferencesCommandInput | UpdateBillingViewCommandInput;
38
+ export type ServiceInputTypes = AssociateSourceViewsCommandInput | CreateBillingViewCommandInput | DeleteBillingViewCommandInput | DisassociateSourceViewsCommandInput | GetBillingPreferencesCommandInput | GetBillingViewCommandInput | GetCreditAllocationHistoryCommandInput | GetCreditsCommandInput | GetEnterpriseSupportChargeSummaryCommandInput | GetEnterpriseSupportContractDetailsCommandInput | GetResourcePolicyCommandInput | ListBillingViewSegmentsCommandInput | ListBillingViewsCommandInput | ListBusinessSupportAccountChargesCommandInput | ListBusinessSupportSubscriptionHistoryCommandInput | ListEnterpriseSupportLinkedAccountChargesCommandInput | ListSourceViewsForBillingViewCommandInput | ListTagsForResourceCommandInput | RedeemCreditsCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateBillingPreferencesCommandInput | UpdateBillingViewCommandInput;
37
39
  /**
38
40
  * @public
39
41
  */
40
- export type ServiceOutputTypes = AssociateSourceViewsCommandOutput | CreateBillingViewCommandOutput | DeleteBillingViewCommandOutput | DisassociateSourceViewsCommandOutput | GetBillingPreferencesCommandOutput | GetBillingViewCommandOutput | GetCreditAllocationHistoryCommandOutput | GetCreditsCommandOutput | GetEnterpriseSupportChargeSummaryCommandOutput | GetEnterpriseSupportContractDetailsCommandOutput | GetResourcePolicyCommandOutput | ListBillingViewSegmentsCommandOutput | ListBillingViewsCommandOutput | ListEnterpriseSupportLinkedAccountChargesCommandOutput | ListSourceViewsForBillingViewCommandOutput | ListTagsForResourceCommandOutput | RedeemCreditsCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateBillingPreferencesCommandOutput | UpdateBillingViewCommandOutput;
42
+ export type ServiceOutputTypes = AssociateSourceViewsCommandOutput | CreateBillingViewCommandOutput | DeleteBillingViewCommandOutput | DisassociateSourceViewsCommandOutput | GetBillingPreferencesCommandOutput | GetBillingViewCommandOutput | GetCreditAllocationHistoryCommandOutput | GetCreditsCommandOutput | GetEnterpriseSupportChargeSummaryCommandOutput | GetEnterpriseSupportContractDetailsCommandOutput | GetResourcePolicyCommandOutput | ListBillingViewSegmentsCommandOutput | ListBillingViewsCommandOutput | ListBusinessSupportAccountChargesCommandOutput | ListBusinessSupportSubscriptionHistoryCommandOutput | ListEnterpriseSupportLinkedAccountChargesCommandOutput | ListSourceViewsForBillingViewCommandOutput | ListTagsForResourceCommandOutput | RedeemCreditsCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateBillingPreferencesCommandOutput | UpdateBillingViewCommandOutput;
41
43
  /**
42
44
  * @public
43
45
  */
@@ -0,0 +1,127 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { ListBusinessSupportAccountChargesRequest, ListBusinessSupportAccountChargesResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link ListBusinessSupportAccountChargesCommand}.
11
+ */
12
+ export interface ListBusinessSupportAccountChargesCommandInput extends ListBusinessSupportAccountChargesRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link ListBusinessSupportAccountChargesCommand}.
18
+ */
19
+ export interface ListBusinessSupportAccountChargesCommandOutput extends ListBusinessSupportAccountChargesResponse, __MetadataBearer {
20
+ }
21
+ declare const ListBusinessSupportAccountChargesCommand_base: {
22
+ new (input: ListBusinessSupportAccountChargesCommandInput): import("@smithy/core/client").CommandImpl<ListBusinessSupportAccountChargesCommandInput, ListBusinessSupportAccountChargesCommandOutput, import("..").BillingClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: ListBusinessSupportAccountChargesCommandInput): import("@smithy/core/client").CommandImpl<ListBusinessSupportAccountChargesCommandInput, ListBusinessSupportAccountChargesCommandOutput, import("..").BillingClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Returns Business Support charges broken down at the linked account level for a given billing month.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { BillingClient, ListBusinessSupportAccountChargesCommand } from "@aws-sdk/client-billing"; // ES Modules import
32
+ * // const { BillingClient, ListBusinessSupportAccountChargesCommand } = require("@aws-sdk/client-billing"); // CommonJS import
33
+ * // import type { BillingClientConfig } from "@aws-sdk/client-billing";
34
+ * const config = {}; // type is BillingClientConfig
35
+ * const client = new BillingClient(config);
36
+ * const input = { // ListBusinessSupportAccountChargesRequest
37
+ * billingMonth: "STRING_VALUE", // required
38
+ * accountId: "STRING_VALUE",
39
+ * maxResults: Number("int"),
40
+ * nextToken: "STRING_VALUE",
41
+ * };
42
+ * const command = new ListBusinessSupportAccountChargesCommand(input);
43
+ * const response = await client.send(command);
44
+ * // { // ListBusinessSupportAccountChargesResponse
45
+ * // billingMonth: "STRING_VALUE", // required
46
+ * // isEstimated: true || false, // required
47
+ * // totalSupportCharge: "STRING_VALUE", // required
48
+ * // totalSupportEligibleSpend: "STRING_VALUE", // required
49
+ * // accountCount: Number("int"), // required
50
+ * // accountCharges: [ // BusinessSupportAccountChargeList // required
51
+ * // { // BusinessSupportAccountCharge
52
+ * // accountId: "STRING_VALUE", // required
53
+ * // supportPlanName: "STRING_VALUE", // required
54
+ * // totalCharge: "STRING_VALUE", // required
55
+ * // totalUsageBasis: "STRING_VALUE", // required
56
+ * // tierCharges: [ // BusinessSupportTierChargeList
57
+ * // { // BusinessSupportTierCharge
58
+ * // tierDescription: "STRING_VALUE", // required
59
+ * // tierRate: "STRING_VALUE", // required
60
+ * // usageSlice: "STRING_VALUE", // required
61
+ * // tierCharge: "STRING_VALUE", // required
62
+ * // chargePeriodStartDate: new Date("TIMESTAMP"),
63
+ * // chargePeriodEndDate: new Date("TIMESTAMP"),
64
+ * // },
65
+ * // ],
66
+ * // supportDiscount: { // BusinessSupportDiscount
67
+ * // discountAmount: "STRING_VALUE",
68
+ * // discountPercentage: "STRING_VALUE",
69
+ * // discountType: "STRING_VALUE",
70
+ * // discountSource: "STRING_VALUE",
71
+ * // },
72
+ * // supportEligibleSpendByService: [ // BusinessSupportServiceSpendList
73
+ * // { // BusinessSupportServiceSpend
74
+ * // contributingService: "STRING_VALUE", // required
75
+ * // itemType: "STRING_VALUE", // required
76
+ * // description: "STRING_VALUE",
77
+ * // chargeAmount: "STRING_VALUE", // required
78
+ * // currency: "STRING_VALUE", // required
79
+ * // },
80
+ * // ],
81
+ * // },
82
+ * // ],
83
+ * // nextToken: "STRING_VALUE",
84
+ * // };
85
+ *
86
+ * ```
87
+ *
88
+ * @param ListBusinessSupportAccountChargesCommandInput - {@link ListBusinessSupportAccountChargesCommandInput}
89
+ * @returns {@link ListBusinessSupportAccountChargesCommandOutput}
90
+ * @see {@link ListBusinessSupportAccountChargesCommandInput} for command's `input` shape.
91
+ * @see {@link ListBusinessSupportAccountChargesCommandOutput} for command's `response` shape.
92
+ * @see {@link BillingClientResolvedConfig | config} for BillingClient's `config` shape.
93
+ *
94
+ * @throws {@link AccessDeniedException} (client fault)
95
+ * <p>You don't have sufficient access to perform this action.</p>
96
+ *
97
+ * @throws {@link InternalServerException} (server fault)
98
+ * <p>The request processing failed because of an unknown error, exception, or failure. </p>
99
+ *
100
+ * @throws {@link ResourceNotFoundException} (client fault)
101
+ * <p> The specified ARN in the request doesn't exist. </p>
102
+ *
103
+ * @throws {@link ThrottlingException} (client fault)
104
+ * <p>The request was denied due to request throttling. </p>
105
+ *
106
+ * @throws {@link ValidationException} (client fault)
107
+ * <p>The input fails to satisfy the constraints specified by an Amazon Web Services service. </p>
108
+ *
109
+ * @throws {@link BillingServiceException}
110
+ * <p>Base exception class for all service exceptions from Billing service.</p>
111
+ *
112
+ *
113
+ * @public
114
+ */
115
+ export declare class ListBusinessSupportAccountChargesCommand extends ListBusinessSupportAccountChargesCommand_base {
116
+ /** @internal type navigation helper, not in runtime. */
117
+ protected static __types: {
118
+ api: {
119
+ input: ListBusinessSupportAccountChargesRequest;
120
+ output: ListBusinessSupportAccountChargesResponse;
121
+ };
122
+ sdk: {
123
+ input: ListBusinessSupportAccountChargesCommandInput;
124
+ output: ListBusinessSupportAccountChargesCommandOutput;
125
+ };
126
+ };
127
+ }
@@ -0,0 +1,99 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { ListBusinessSupportSubscriptionHistoryRequest, ListBusinessSupportSubscriptionHistoryResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link ListBusinessSupportSubscriptionHistoryCommand}.
11
+ */
12
+ export interface ListBusinessSupportSubscriptionHistoryCommandInput extends ListBusinessSupportSubscriptionHistoryRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link ListBusinessSupportSubscriptionHistoryCommand}.
18
+ */
19
+ export interface ListBusinessSupportSubscriptionHistoryCommandOutput extends ListBusinessSupportSubscriptionHistoryResponse, __MetadataBearer {
20
+ }
21
+ declare const ListBusinessSupportSubscriptionHistoryCommand_base: {
22
+ new (input: ListBusinessSupportSubscriptionHistoryCommandInput): import("@smithy/core/client").CommandImpl<ListBusinessSupportSubscriptionHistoryCommandInput, ListBusinessSupportSubscriptionHistoryCommandOutput, import("..").BillingClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (...[input]: [] | [ListBusinessSupportSubscriptionHistoryCommandInput]): import("@smithy/core/client").CommandImpl<ListBusinessSupportSubscriptionHistoryCommandInput, ListBusinessSupportSubscriptionHistoryCommandOutput, import("..").BillingClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Returns the history of Business Support subscription contracts across accounts.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { BillingClient, ListBusinessSupportSubscriptionHistoryCommand } from "@aws-sdk/client-billing"; // ES Modules import
32
+ * // const { BillingClient, ListBusinessSupportSubscriptionHistoryCommand } = require("@aws-sdk/client-billing"); // CommonJS import
33
+ * // import type { BillingClientConfig } from "@aws-sdk/client-billing";
34
+ * const config = {}; // type is BillingClientConfig
35
+ * const client = new BillingClient(config);
36
+ * const input = { // ListBusinessSupportSubscriptionHistoryRequest
37
+ * billingMonth: "STRING_VALUE",
38
+ * accountId: "STRING_VALUE",
39
+ * startDate: new Date("TIMESTAMP"),
40
+ * endDate: new Date("TIMESTAMP"),
41
+ * maxResults: Number("int"),
42
+ * nextToken: "STRING_VALUE",
43
+ * };
44
+ * const command = new ListBusinessSupportSubscriptionHistoryCommand(input);
45
+ * const response = await client.send(command);
46
+ * // { // ListBusinessSupportSubscriptionHistoryResponse
47
+ * // subscriptionContracts: [ // BusinessSupportSubscriptionContractList // required
48
+ * // { // BusinessSupportSubscriptionContract
49
+ * // accountId: "STRING_VALUE", // required
50
+ * // planName: "STRING_VALUE", // required
51
+ * // contractStartDate: new Date("TIMESTAMP"), // required
52
+ * // contractEndDate: new Date("TIMESTAMP"), // required
53
+ * // },
54
+ * // ],
55
+ * // nextToken: "STRING_VALUE",
56
+ * // };
57
+ *
58
+ * ```
59
+ *
60
+ * @param ListBusinessSupportSubscriptionHistoryCommandInput - {@link ListBusinessSupportSubscriptionHistoryCommandInput}
61
+ * @returns {@link ListBusinessSupportSubscriptionHistoryCommandOutput}
62
+ * @see {@link ListBusinessSupportSubscriptionHistoryCommandInput} for command's `input` shape.
63
+ * @see {@link ListBusinessSupportSubscriptionHistoryCommandOutput} for command's `response` shape.
64
+ * @see {@link BillingClientResolvedConfig | config} for BillingClient's `config` shape.
65
+ *
66
+ * @throws {@link AccessDeniedException} (client fault)
67
+ * <p>You don't have sufficient access to perform this action.</p>
68
+ *
69
+ * @throws {@link InternalServerException} (server fault)
70
+ * <p>The request processing failed because of an unknown error, exception, or failure. </p>
71
+ *
72
+ * @throws {@link ResourceNotFoundException} (client fault)
73
+ * <p> The specified ARN in the request doesn't exist. </p>
74
+ *
75
+ * @throws {@link ThrottlingException} (client fault)
76
+ * <p>The request was denied due to request throttling. </p>
77
+ *
78
+ * @throws {@link ValidationException} (client fault)
79
+ * <p>The input fails to satisfy the constraints specified by an Amazon Web Services service. </p>
80
+ *
81
+ * @throws {@link BillingServiceException}
82
+ * <p>Base exception class for all service exceptions from Billing service.</p>
83
+ *
84
+ *
85
+ * @public
86
+ */
87
+ export declare class ListBusinessSupportSubscriptionHistoryCommand extends ListBusinessSupportSubscriptionHistoryCommand_base {
88
+ /** @internal type navigation helper, not in runtime. */
89
+ protected static __types: {
90
+ api: {
91
+ input: ListBusinessSupportSubscriptionHistoryRequest;
92
+ output: ListBusinessSupportSubscriptionHistoryResponse;
93
+ };
94
+ sdk: {
95
+ input: ListBusinessSupportSubscriptionHistoryCommandInput;
96
+ output: ListBusinessSupportSubscriptionHistoryCommandOutput;
97
+ };
98
+ };
99
+ }
@@ -11,6 +11,8 @@ export * from "./GetEnterpriseSupportContractDetailsCommand";
11
11
  export * from "./GetResourcePolicyCommand";
12
12
  export * from "./ListBillingViewSegmentsCommand";
13
13
  export * from "./ListBillingViewsCommand";
14
+ export * from "./ListBusinessSupportAccountChargesCommand";
15
+ export * from "./ListBusinessSupportSubscriptionHistoryCommand";
14
16
  export * from "./ListEnterpriseSupportLinkedAccountChargesCommand";
15
17
  export * from "./ListSourceViewsForBillingViewCommand";
16
18
  export * from "./ListTagsForResourceCommand";