@aws-sdk/client-billing 3.1079.0 → 3.1081.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.
- package/README.md +35 -0
- package/dist-cjs/index.js +289 -20
- package/dist-es/Billing.js +12 -0
- package/dist-es/commands/GetBillingPreferencesCommand.js +4 -0
- package/dist-es/commands/GetCreditAllocationHistoryCommand.js +4 -0
- package/dist-es/commands/GetCreditsCommand.js +4 -0
- package/dist-es/commands/RedeemCreditsCommand.js +4 -0
- package/dist-es/commands/UpdateBillingPreferencesCommand.js +4 -0
- package/dist-es/commands/index.js +5 -0
- package/dist-es/models/enums.js +30 -0
- package/dist-es/pagination/GetCreditAllocationHistoryPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/schemas/schemas_0.js +207 -19
- package/dist-types/Billing.d.ts +42 -0
- package/dist-types/BillingClient.d.ts +7 -2
- package/dist-types/commands/GetBillingPreferencesCommand.d.ts +108 -0
- package/dist-types/commands/GetCreditAllocationHistoryCommand.d.ts +106 -0
- package/dist-types/commands/GetCreditsCommand.d.ts +124 -0
- package/dist-types/commands/RedeemCreditsCommand.d.ts +81 -0
- package/dist-types/commands/UpdateBillingPreferencesCommand.d.ts +87 -0
- package/dist-types/commands/index.d.ts +5 -0
- package/dist-types/models/enums.d.ts +78 -0
- package/dist-types/models/models_0.d.ts +418 -1
- package/dist-types/pagination/GetCreditAllocationHistoryPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +22 -0
- package/dist-types/ts3.4/Billing.d.ts +92 -0
- package/dist-types/ts3.4/BillingClient.d.ts +30 -0
- package/dist-types/ts3.4/commands/GetBillingPreferencesCommand.d.ts +44 -0
- package/dist-types/ts3.4/commands/GetCreditAllocationHistoryCommand.d.ts +44 -0
- package/dist-types/ts3.4/commands/GetCreditsCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/RedeemCreditsCommand.d.ts +43 -0
- package/dist-types/ts3.4/commands/UpdateBillingPreferencesCommand.d.ts +44 -0
- package/dist-types/ts3.4/commands/index.d.ts +5 -0
- package/dist-types/ts3.4/models/enums.d.ts +41 -0
- package/dist-types/ts3.4/models/models_0.d.ts +103 -0
- package/dist-types/ts3.4/pagination/GetCreditAllocationHistoryPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +22 -0
- package/package.json +3 -3
package/dist-cjs/index.js
CHANGED
|
@@ -69,7 +69,7 @@ const commonParams = {
|
|
|
69
69
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
70
70
|
};
|
|
71
71
|
|
|
72
|
-
var version = "3.
|
|
72
|
+
var version = "3.1080.0";
|
|
73
73
|
var packageInfo = {
|
|
74
74
|
version: version};
|
|
75
75
|
|
|
@@ -258,11 +258,19 @@ class ValidationException extends BillingServiceException {
|
|
|
258
258
|
}
|
|
259
259
|
}
|
|
260
260
|
|
|
261
|
+
const _A = "Amount";
|
|
261
262
|
const _ADE = "AccessDeniedException";
|
|
262
263
|
const _ASV = "AssociateSourceViews";
|
|
263
264
|
const _ASVR = "AssociateSourceViewsRequest";
|
|
264
265
|
const _ASVRs = "AssociateSourceViewsResponse";
|
|
265
266
|
const _ATR = "ActiveTimeRange";
|
|
267
|
+
const _BFF = "BillingFeatureFilter";
|
|
268
|
+
const _BFFi = "BillingFeatureFilters";
|
|
269
|
+
const _BP = "BillingPeriod";
|
|
270
|
+
const _BPFK = "BillingPreferenceForKey";
|
|
271
|
+
const _BPPK = "BillingPreferencesPerKey";
|
|
272
|
+
const _BPS = "BillingPreferenceSummary";
|
|
273
|
+
const _BPi = "BillingPreferences";
|
|
266
274
|
const _BVD = "BillingViewDescription";
|
|
267
275
|
const _BVE = "BillingViewElement";
|
|
268
276
|
const _BVHS = "BillingViewHealthStatus";
|
|
@@ -270,10 +278,14 @@ const _BVHSE = "BillingViewHealthStatusException";
|
|
|
270
278
|
const _BVL = "BillingViewList";
|
|
271
279
|
const _BVLE = "BillingViewListElement";
|
|
272
280
|
const _BVN = "BillingViewName";
|
|
281
|
+
const _CAHE = "CreditAllocationHistoryEntry";
|
|
282
|
+
const _CAHL = "CreditAllocationHistoryList";
|
|
273
283
|
const _CBV = "CreateBillingView";
|
|
274
284
|
const _CBVR = "CreateBillingViewRequest";
|
|
275
285
|
const _CBVRr = "CreateBillingViewResponse";
|
|
276
286
|
const _CCV = "CostCategoryValues";
|
|
287
|
+
const _CD = "CreditData";
|
|
288
|
+
const _CDL = "CreditDataList";
|
|
277
289
|
const _CE = "ConflictException";
|
|
278
290
|
const _DBV = "DeleteBillingView";
|
|
279
291
|
const _DBVR = "DeleteBillingViewRequest";
|
|
@@ -283,9 +295,18 @@ const _DSVR = "DisassociateSourceViewsRequest";
|
|
|
283
295
|
const _DSVRi = "DisassociateSourceViewsResponse";
|
|
284
296
|
const _DV = "DimensionValues";
|
|
285
297
|
const _E = "Expression";
|
|
298
|
+
const _GBP = "GetBillingPreferences";
|
|
299
|
+
const _GBPR = "GetBillingPreferencesRequest";
|
|
300
|
+
const _GBPRe = "GetBillingPreferencesResponse";
|
|
286
301
|
const _GBV = "GetBillingView";
|
|
287
302
|
const _GBVR = "GetBillingViewRequest";
|
|
288
303
|
const _GBVRe = "GetBillingViewResponse";
|
|
304
|
+
const _GC = "GetCredits";
|
|
305
|
+
const _GCAH = "GetCreditAllocationHistory";
|
|
306
|
+
const _GCAHR = "GetCreditAllocationHistoryRequest";
|
|
307
|
+
const _GCAHRe = "GetCreditAllocationHistoryResponse";
|
|
308
|
+
const _GCR = "GetCreditsRequest";
|
|
309
|
+
const _GCRe = "GetCreditsResponse";
|
|
289
310
|
const _GRP = "GetResourcePolicy";
|
|
290
311
|
const _GRPR = "GetResourcePolicyRequest";
|
|
291
312
|
const _GRPRe = "GetResourcePolicyResponse";
|
|
@@ -299,6 +320,9 @@ const _LSVFBVRi = "ListSourceViewsForBillingViewResponse";
|
|
|
299
320
|
const _LTFR = "ListTagsForResource";
|
|
300
321
|
const _LTFRR = "ListTagsForResourceRequest";
|
|
301
322
|
const _LTFRRi = "ListTagsForResourceResponse";
|
|
323
|
+
const _RC = "RedeemCredits";
|
|
324
|
+
const _RCR = "RedeemCreditsRequest";
|
|
325
|
+
const _RCRe = "RedeemCreditsResponse";
|
|
302
326
|
const _RNFE = "ResourceNotFoundException";
|
|
303
327
|
const _RT = "ResourceTag";
|
|
304
328
|
const _RTL = "ResourceTagList";
|
|
@@ -311,6 +335,9 @@ const _TRR = "TagResourceRequest";
|
|
|
311
335
|
const _TRRa = "TagResourceResponse";
|
|
312
336
|
const _TRa = "TagResource";
|
|
313
337
|
const _TV = "TagValues";
|
|
338
|
+
const _UBP = "UpdateBillingPreferences";
|
|
339
|
+
const _UBPR = "UpdateBillingPreferencesRequest";
|
|
340
|
+
const _UBPRp = "UpdateBillingPreferencesResponse";
|
|
314
341
|
const _UBV = "UpdateBillingView";
|
|
315
342
|
const _UBVR = "UpdateBillingViewRequest";
|
|
316
343
|
const _UBVRp = "UpdateBillingViewResponse";
|
|
@@ -324,50 +351,89 @@ const _XACT = "X-Amzn-Client-Token";
|
|
|
324
351
|
const _a = "arn";
|
|
325
352
|
const _aAI = "activeAfterInclusive";
|
|
326
353
|
const _aBI = "activeBeforeInclusive";
|
|
354
|
+
const _aHCSE = "accountHasCreditSharingEnabled";
|
|
355
|
+
const _aI = "accountId";
|
|
356
|
+
const _aN = "accountName";
|
|
357
|
+
const _aPN = "applicableProductNames";
|
|
327
358
|
const _aQE = "awsQueryError";
|
|
359
|
+
const _aSN = "appliedServiceName";
|
|
360
|
+
const _aT = "applicationType";
|
|
328
361
|
const _aTR = "activeTimeRange";
|
|
329
362
|
const _ar = "arns";
|
|
330
363
|
const _bDI = "beginDateInclusive";
|
|
364
|
+
const _bM = "billingMonth";
|
|
365
|
+
const _bP = "billingPeriod";
|
|
366
|
+
const _bPPK = "billingPreferencesPerKey";
|
|
367
|
+
const _bPi = "billingPreferences";
|
|
331
368
|
const _bV = "billingView";
|
|
332
369
|
const _bVT = "billingViewType";
|
|
333
370
|
const _bVTi = "billingViewTypes";
|
|
334
371
|
const _bVi = "billingViews";
|
|
335
372
|
const _c = "client";
|
|
336
|
-
const _cA = "
|
|
337
|
-
const
|
|
373
|
+
const _cA = "currencyAmount";
|
|
374
|
+
const _cAHL = "creditAllocationHistoryList";
|
|
375
|
+
const _cAr = "createdAt";
|
|
376
|
+
const _cAre = "creditAmount";
|
|
377
|
+
const _cC = "currencyCode";
|
|
378
|
+
const _cCA = "costCategoryArn";
|
|
379
|
+
const _cCV = "creditConsoleVisibility";
|
|
380
|
+
const _cCo = "costCategories";
|
|
381
|
+
const _cI = "creditId";
|
|
382
|
+
const _cS = "creditStatus";
|
|
383
|
+
const _cST = "creditSharingType";
|
|
338
384
|
const _cT = "clientToken";
|
|
385
|
+
const _cTr = "creditType";
|
|
386
|
+
const _cr = "credits";
|
|
339
387
|
const _d = "description";
|
|
340
388
|
const _dFE = "dataFilterExpression";
|
|
341
389
|
const _dVC = "derivedViewCount";
|
|
342
390
|
const _di = "dimensions";
|
|
343
391
|
const _e = "error";
|
|
392
|
+
const _eA = "estimatedAmount";
|
|
393
|
+
const _eD = "endDate";
|
|
344
394
|
const _eDI = "endDateInclusive";
|
|
345
|
-
const
|
|
395
|
+
const _eDx = "exhaustDate";
|
|
396
|
+
const _f = "feature";
|
|
346
397
|
const _fL = "fieldList";
|
|
398
|
+
const _fM = "failedMonths";
|
|
399
|
+
const _fe = "features";
|
|
400
|
+
const _fi = "filters";
|
|
401
|
+
const _fo = "force";
|
|
347
402
|
const _h = "http";
|
|
348
403
|
const _hE = "httpError";
|
|
349
404
|
const _hH = "httpHeader";
|
|
350
405
|
const _hS = "healthStatus";
|
|
406
|
+
const _iA = "initialAmount";
|
|
407
|
+
const _iEB = "isEstimatedBill";
|
|
351
408
|
const _iT = "idempotencyToken";
|
|
352
409
|
const _k = "key";
|
|
353
410
|
const _m = "message";
|
|
354
411
|
const _mR = "maxResults";
|
|
412
|
+
const _mo = "month";
|
|
355
413
|
const _n = "name";
|
|
356
414
|
const _nT = "nextToken";
|
|
357
415
|
const _na = "names";
|
|
358
416
|
const _oAI = "ownerAccountId";
|
|
359
417
|
const _p = "policy";
|
|
418
|
+
const _pAF = "payerAccountFlag";
|
|
419
|
+
const _pC = "promoCode";
|
|
420
|
+
const _pR = "partialResults";
|
|
421
|
+
const _pTA = "purchaseTypeApplications";
|
|
360
422
|
const _qC = "quotaCode";
|
|
361
423
|
const _r = "reason";
|
|
362
|
-
const _rA = "
|
|
424
|
+
const _rA = "remainingAmount";
|
|
425
|
+
const _rAe = "resourceArn";
|
|
363
426
|
const _rI = "resourceId";
|
|
427
|
+
const _rN = "ruleName";
|
|
364
428
|
const _rT = "resourceType";
|
|
365
429
|
const _rTK = "resourceTagKeys";
|
|
366
430
|
const _rTe = "resourceTags";
|
|
367
431
|
const _s = "smithy.ts.sdk.synthetic.com.amazonaws.billing";
|
|
432
|
+
const _sA = "shareableAccounts";
|
|
368
433
|
const _sAI = "sourceAccountId";
|
|
369
434
|
const _sC = "serviceCode";
|
|
370
435
|
const _sCt = "statusCode";
|
|
436
|
+
const _sD = "startDate";
|
|
371
437
|
const _sO = "searchOption";
|
|
372
438
|
const _sR = "statusReasons";
|
|
373
439
|
const _sV = "sourceViews";
|
|
@@ -377,9 +443,10 @@ const _se = "server";
|
|
|
377
443
|
const _t = "tags";
|
|
378
444
|
const _tR = "timeRange";
|
|
379
445
|
const _uA = "updatedAt";
|
|
380
|
-
const _v = "
|
|
446
|
+
const _v = "value";
|
|
381
447
|
const _vDLUA = "viewDefinitionLastUpdatedAt";
|
|
382
|
-
const _va = "
|
|
448
|
+
const _va = "values";
|
|
449
|
+
const _y = "year";
|
|
383
450
|
const n0 = "com.amazonaws.billing";
|
|
384
451
|
const _s_registry = TypeRegistry.for(_s);
|
|
385
452
|
var BillingServiceException$ = [-3, _s, "BillingServiceException", 0, [], []];
|
|
@@ -444,6 +511,11 @@ var ActiveTimeRange$ = [3, n0, _ATR,
|
|
|
444
511
|
[_aAI, _aBI],
|
|
445
512
|
[4, 4], 2
|
|
446
513
|
];
|
|
514
|
+
var Amount$ = [3, n0, _A,
|
|
515
|
+
0,
|
|
516
|
+
[_cC, _cA],
|
|
517
|
+
[0, 0], 2
|
|
518
|
+
];
|
|
447
519
|
var AssociateSourceViewsRequest$ = [3, n0, _ASVR,
|
|
448
520
|
0,
|
|
449
521
|
[_a, _sV],
|
|
@@ -454,9 +526,29 @@ var AssociateSourceViewsResponse$ = [3, n0, _ASVRs,
|
|
|
454
526
|
[_a],
|
|
455
527
|
[0], 1
|
|
456
528
|
];
|
|
529
|
+
var BillingFeatureFilter$ = [3, n0, _BFF,
|
|
530
|
+
0,
|
|
531
|
+
[_n, _v],
|
|
532
|
+
[0, 64 | 0]
|
|
533
|
+
];
|
|
534
|
+
var BillingPeriod$ = [3, n0, _BP,
|
|
535
|
+
0,
|
|
536
|
+
[_y, _mo],
|
|
537
|
+
[1, 1], 2
|
|
538
|
+
];
|
|
539
|
+
var BillingPreferenceForKey$ = [3, n0, _BPFK,
|
|
540
|
+
0,
|
|
541
|
+
[_k, _v],
|
|
542
|
+
[0, 0], 2
|
|
543
|
+
];
|
|
544
|
+
var BillingPreferenceSummary$ = [3, n0, _BPS,
|
|
545
|
+
0,
|
|
546
|
+
[_f, _k, _v, _aN, _aI, _bP],
|
|
547
|
+
[0, 0, 0, 0, 0, () => BillingPeriod$], 3
|
|
548
|
+
];
|
|
457
549
|
var BillingViewElement$ = [3, n0, _BVE,
|
|
458
550
|
0,
|
|
459
|
-
[_a, _n, _d, _bVT, _oAI, _sAI, _dFE,
|
|
551
|
+
[_a, _n, _d, _bVT, _oAI, _sAI, _dFE, _cAr, _uA, _dVC, _sVC, _vDLUA, _hS],
|
|
460
552
|
[0, [() => BillingViewName, 0], [() => BillingViewDescription, 0], 0, 0, 0, () => Expression$, 4, 4, 1, 1, 4, () => BillingViewHealthStatus$]
|
|
461
553
|
];
|
|
462
554
|
var BillingViewHealthStatus$ = [3, n0, _BVHS,
|
|
@@ -471,7 +563,7 @@ var BillingViewListElement$ = [3, n0, _BVLE,
|
|
|
471
563
|
];
|
|
472
564
|
var CostCategoryValues$ = [3, n0, _CCV,
|
|
473
565
|
0,
|
|
474
|
-
[_k,
|
|
566
|
+
[_k, _va],
|
|
475
567
|
[0, 64 | 0], 2
|
|
476
568
|
];
|
|
477
569
|
var CreateBillingViewRequest$ = [3, n0, _CBVR,
|
|
@@ -481,12 +573,22 @@ var CreateBillingViewRequest$ = [3, n0, _CBVR,
|
|
|
481
573
|
];
|
|
482
574
|
var CreateBillingViewResponse$ = [3, n0, _CBVRr,
|
|
483
575
|
0,
|
|
484
|
-
[_a,
|
|
576
|
+
[_a, _cAr],
|
|
485
577
|
[0, 4], 1
|
|
486
578
|
];
|
|
579
|
+
var CreditAllocationHistoryEntry$ = [3, n0, _CAHE,
|
|
580
|
+
0,
|
|
581
|
+
[_cI, _cAre, _aI, _aSN, _bM, _iEB, _d],
|
|
582
|
+
[0, () => Amount$, 0, 0, 0, 2, 0], 6
|
|
583
|
+
];
|
|
584
|
+
var CreditData$ = [3, n0, _CD,
|
|
585
|
+
0,
|
|
586
|
+
[_cI, _aI, _cTr, _iA, _rA, _d, _sD, _eA, _aPN, _eD, _eDx, _aT, _sA, _aHCSE, _cCV, _cST, _cCA, _rN, _cS, _pTA],
|
|
587
|
+
[0, 0, 0, () => Amount$, () => Amount$, 0, 4, () => Amount$, 64 | 0, 4, 4, 0, 64 | 0, 2, 0, 0, 0, 0, 0, 64 | 0], 7
|
|
588
|
+
];
|
|
487
589
|
var DeleteBillingViewRequest$ = [3, n0, _DBVR,
|
|
488
590
|
0,
|
|
489
|
-
[_a,
|
|
591
|
+
[_a, _fo],
|
|
490
592
|
[0, 2], 1
|
|
491
593
|
];
|
|
492
594
|
var DeleteBillingViewResponse$ = [3, n0, _DBVRe,
|
|
@@ -496,7 +598,7 @@ var DeleteBillingViewResponse$ = [3, n0, _DBVRe,
|
|
|
496
598
|
];
|
|
497
599
|
var DimensionValues$ = [3, n0, _DV,
|
|
498
600
|
0,
|
|
499
|
-
[_k,
|
|
601
|
+
[_k, _va],
|
|
500
602
|
[0, 64 | 0], 2
|
|
501
603
|
];
|
|
502
604
|
var DisassociateSourceViewsRequest$ = [3, n0, _DSVR,
|
|
@@ -511,9 +613,19 @@ var DisassociateSourceViewsResponse$ = [3, n0, _DSVRi,
|
|
|
511
613
|
];
|
|
512
614
|
var Expression$ = [3, n0, _E,
|
|
513
615
|
0,
|
|
514
|
-
[_di, _t,
|
|
616
|
+
[_di, _t, _cCo, _tR],
|
|
515
617
|
[() => DimensionValues$, () => TagValues$, () => CostCategoryValues$, () => TimeRange$]
|
|
516
618
|
];
|
|
619
|
+
var GetBillingPreferencesRequest$ = [3, n0, _GBPR,
|
|
620
|
+
0,
|
|
621
|
+
[_fe, _nT, _mR, _fi],
|
|
622
|
+
[64 | 0, 0, 1, () => BillingFeatureFilters], 1
|
|
623
|
+
];
|
|
624
|
+
var GetBillingPreferencesResponse$ = [3, n0, _GBPRe,
|
|
625
|
+
0,
|
|
626
|
+
[_bPi, _nT],
|
|
627
|
+
[() => BillingPreferences, 0], 1
|
|
628
|
+
];
|
|
517
629
|
var GetBillingViewRequest$ = [3, n0, _GBVR,
|
|
518
630
|
0,
|
|
519
631
|
[_a],
|
|
@@ -524,14 +636,34 @@ var GetBillingViewResponse$ = [3, n0, _GBVRe,
|
|
|
524
636
|
[_bV],
|
|
525
637
|
[[() => BillingViewElement$, 0]], 1
|
|
526
638
|
];
|
|
639
|
+
var GetCreditAllocationHistoryRequest$ = [3, n0, _GCAHR,
|
|
640
|
+
0,
|
|
641
|
+
[_aI, _sD, _eD, _cI, _nT, _mR],
|
|
642
|
+
[0, 4, 4, 1, 0, 1], 3
|
|
643
|
+
];
|
|
644
|
+
var GetCreditAllocationHistoryResponse$ = [3, n0, _GCAHRe,
|
|
645
|
+
0,
|
|
646
|
+
[_pR, _cAHL, _fM, _nT],
|
|
647
|
+
[2, () => CreditAllocationHistoryList, 64 | 0, 0], 1
|
|
648
|
+
];
|
|
649
|
+
var GetCreditsRequest$ = [3, n0, _GCR,
|
|
650
|
+
0,
|
|
651
|
+
[_aI, _sD, _eD, _pAF],
|
|
652
|
+
[0, 4, 4, 2], 2
|
|
653
|
+
];
|
|
654
|
+
var GetCreditsResponse$ = [3, n0, _GCRe,
|
|
655
|
+
0,
|
|
656
|
+
[_cr],
|
|
657
|
+
[() => CreditDataList]
|
|
658
|
+
];
|
|
527
659
|
var GetResourcePolicyRequest$ = [3, n0, _GRPR,
|
|
528
660
|
0,
|
|
529
|
-
[
|
|
661
|
+
[_rAe],
|
|
530
662
|
[0], 1
|
|
531
663
|
];
|
|
532
664
|
var GetResourcePolicyResponse$ = [3, n0, _GRPRe,
|
|
533
665
|
0,
|
|
534
|
-
[
|
|
666
|
+
[_rAe, _p],
|
|
535
667
|
[0, 0], 1
|
|
536
668
|
];
|
|
537
669
|
var ListBillingViewsRequest$ = [3, n0, _LBVR,
|
|
@@ -556,7 +688,7 @@ var ListSourceViewsForBillingViewResponse$ = [3, n0, _LSVFBVRi,
|
|
|
556
688
|
];
|
|
557
689
|
var ListTagsForResourceRequest$ = [3, n0, _LTFRR,
|
|
558
690
|
0,
|
|
559
|
-
[
|
|
691
|
+
[_rAe],
|
|
560
692
|
[0], 1
|
|
561
693
|
];
|
|
562
694
|
var ListTagsForResourceResponse$ = [3, n0, _LTFRRi,
|
|
@@ -564,9 +696,19 @@ var ListTagsForResourceResponse$ = [3, n0, _LTFRRi,
|
|
|
564
696
|
[_rTe],
|
|
565
697
|
[() => ResourceTagList]
|
|
566
698
|
];
|
|
699
|
+
var RedeemCreditsRequest$ = [3, n0, _RCR,
|
|
700
|
+
0,
|
|
701
|
+
[_pC],
|
|
702
|
+
[0], 1
|
|
703
|
+
];
|
|
704
|
+
var RedeemCreditsResponse$ = [3, n0, _RCRe,
|
|
705
|
+
0,
|
|
706
|
+
[],
|
|
707
|
+
[]
|
|
708
|
+
];
|
|
567
709
|
var ResourceTag$ = [3, n0, _RT,
|
|
568
710
|
0,
|
|
569
|
-
[_k,
|
|
711
|
+
[_k, _v],
|
|
570
712
|
[0, 0], 1
|
|
571
713
|
];
|
|
572
714
|
var StringSearch$ = [3, n0, _SS,
|
|
@@ -576,7 +718,7 @@ var StringSearch$ = [3, n0, _SS,
|
|
|
576
718
|
];
|
|
577
719
|
var TagResourceRequest$ = [3, n0, _TRR,
|
|
578
720
|
0,
|
|
579
|
-
[
|
|
721
|
+
[_rAe, _rTe],
|
|
580
722
|
[0, () => ResourceTagList], 2
|
|
581
723
|
];
|
|
582
724
|
var TagResourceResponse$ = [3, n0, _TRRa,
|
|
@@ -586,7 +728,7 @@ var TagResourceResponse$ = [3, n0, _TRRa,
|
|
|
586
728
|
];
|
|
587
729
|
var TagValues$ = [3, n0, _TV,
|
|
588
730
|
0,
|
|
589
|
-
[_k,
|
|
731
|
+
[_k, _va],
|
|
590
732
|
[0, 64 | 0], 2
|
|
591
733
|
];
|
|
592
734
|
var TimeRange$ = [3, n0, _TR,
|
|
@@ -596,7 +738,7 @@ var TimeRange$ = [3, n0, _TR,
|
|
|
596
738
|
];
|
|
597
739
|
var UntagResourceRequest$ = [3, n0, _URR,
|
|
598
740
|
0,
|
|
599
|
-
[
|
|
741
|
+
[_rAe, _rTK],
|
|
600
742
|
[0, 64 | 0], 2
|
|
601
743
|
];
|
|
602
744
|
var UntagResourceResponse$ = [3, n0, _URRn,
|
|
@@ -604,6 +746,16 @@ var UntagResourceResponse$ = [3, n0, _URRn,
|
|
|
604
746
|
[],
|
|
605
747
|
[]
|
|
606
748
|
];
|
|
749
|
+
var UpdateBillingPreferencesRequest$ = [3, n0, _UBPR,
|
|
750
|
+
0,
|
|
751
|
+
[_f, _bPPK],
|
|
752
|
+
[0, () => BillingPreferencesPerKey], 2
|
|
753
|
+
];
|
|
754
|
+
var UpdateBillingPreferencesResponse$ = [3, n0, _UBPRp,
|
|
755
|
+
0,
|
|
756
|
+
[],
|
|
757
|
+
[]
|
|
758
|
+
];
|
|
607
759
|
var UpdateBillingViewRequest$ = [3, n0, _UBVR,
|
|
608
760
|
0,
|
|
609
761
|
[_a, _n, _d, _dFE],
|
|
@@ -619,10 +771,25 @@ var ValidationExceptionField$ = [3, n0, _VEF,
|
|
|
619
771
|
[_n, _m],
|
|
620
772
|
[0, 0], 2
|
|
621
773
|
];
|
|
774
|
+
var BillingFeatureFilters = [1, n0, _BFFi,
|
|
775
|
+
0, () => BillingFeatureFilter$
|
|
776
|
+
];
|
|
777
|
+
var BillingPreferences = [1, n0, _BPi,
|
|
778
|
+
0, () => BillingPreferenceSummary$
|
|
779
|
+
];
|
|
780
|
+
var BillingPreferencesPerKey = [1, n0, _BPPK,
|
|
781
|
+
0, () => BillingPreferenceForKey$
|
|
782
|
+
];
|
|
622
783
|
var BillingViewList = [1, n0, _BVL,
|
|
623
784
|
0, [() => BillingViewListElement$,
|
|
624
785
|
0]
|
|
625
786
|
];
|
|
787
|
+
var CreditAllocationHistoryList = [1, n0, _CAHL,
|
|
788
|
+
0, () => CreditAllocationHistoryEntry$
|
|
789
|
+
];
|
|
790
|
+
var CreditDataList = [1, n0, _CDL,
|
|
791
|
+
0, () => CreditData$
|
|
792
|
+
];
|
|
626
793
|
var ResourceTagList = [1, n0, _RTL,
|
|
627
794
|
0, () => ResourceTag$
|
|
628
795
|
];
|
|
@@ -644,9 +811,18 @@ var DeleteBillingView$ = [9, n0, _DBV,
|
|
|
644
811
|
var DisassociateSourceViews$ = [9, n0, _DSV,
|
|
645
812
|
2, () => DisassociateSourceViewsRequest$, () => DisassociateSourceViewsResponse$
|
|
646
813
|
];
|
|
814
|
+
var GetBillingPreferences$ = [9, n0, _GBP,
|
|
815
|
+
0, () => GetBillingPreferencesRequest$, () => GetBillingPreferencesResponse$
|
|
816
|
+
];
|
|
647
817
|
var GetBillingView$ = [9, n0, _GBV,
|
|
648
818
|
0, () => GetBillingViewRequest$, () => GetBillingViewResponse$
|
|
649
819
|
];
|
|
820
|
+
var GetCreditAllocationHistory$ = [9, n0, _GCAH,
|
|
821
|
+
0, () => GetCreditAllocationHistoryRequest$, () => GetCreditAllocationHistoryResponse$
|
|
822
|
+
];
|
|
823
|
+
var GetCredits$ = [9, n0, _GC,
|
|
824
|
+
0, () => GetCreditsRequest$, () => GetCreditsResponse$
|
|
825
|
+
];
|
|
650
826
|
var GetResourcePolicy$ = [9, n0, _GRP,
|
|
651
827
|
0, () => GetResourcePolicyRequest$, () => GetResourcePolicyResponse$
|
|
652
828
|
];
|
|
@@ -659,12 +835,18 @@ var ListSourceViewsForBillingView$ = [9, n0, _LSVFBV,
|
|
|
659
835
|
var ListTagsForResource$ = [9, n0, _LTFR,
|
|
660
836
|
0, () => ListTagsForResourceRequest$, () => ListTagsForResourceResponse$
|
|
661
837
|
];
|
|
838
|
+
var RedeemCredits$ = [9, n0, _RC,
|
|
839
|
+
0, () => RedeemCreditsRequest$, () => RedeemCreditsResponse$
|
|
840
|
+
];
|
|
662
841
|
var TagResource$ = [9, n0, _TRa,
|
|
663
842
|
0, () => TagResourceRequest$, () => TagResourceResponse$
|
|
664
843
|
];
|
|
665
844
|
var UntagResource$ = [9, n0, _UR,
|
|
666
845
|
0, () => UntagResourceRequest$, () => UntagResourceResponse$
|
|
667
846
|
];
|
|
847
|
+
var UpdateBillingPreferences$ = [9, n0, _UBP,
|
|
848
|
+
0, () => UpdateBillingPreferencesRequest$, () => UpdateBillingPreferencesResponse$
|
|
849
|
+
];
|
|
668
850
|
var UpdateBillingView$ = [9, n0, _UBV,
|
|
669
851
|
2, () => UpdateBillingViewRequest$, () => UpdateBillingViewResponse$
|
|
670
852
|
];
|
|
@@ -831,9 +1013,18 @@ class DeleteBillingViewCommand extends command(_ep0, _mw0, "DeleteBillingView",
|
|
|
831
1013
|
class DisassociateSourceViewsCommand extends command(_ep0, _mw0, "DisassociateSourceViews", DisassociateSourceViews$) {
|
|
832
1014
|
}
|
|
833
1015
|
|
|
1016
|
+
class GetBillingPreferencesCommand extends command(_ep0, _mw0, "GetBillingPreferences", GetBillingPreferences$) {
|
|
1017
|
+
}
|
|
1018
|
+
|
|
834
1019
|
class GetBillingViewCommand extends command(_ep0, _mw0, "GetBillingView", GetBillingView$) {
|
|
835
1020
|
}
|
|
836
1021
|
|
|
1022
|
+
class GetCreditAllocationHistoryCommand extends command(_ep0, _mw0, "GetCreditAllocationHistory", GetCreditAllocationHistory$) {
|
|
1023
|
+
}
|
|
1024
|
+
|
|
1025
|
+
class GetCreditsCommand extends command(_ep0, _mw0, "GetCredits", GetCredits$) {
|
|
1026
|
+
}
|
|
1027
|
+
|
|
837
1028
|
class GetResourcePolicyCommand extends command(_ep0, _mw0, "GetResourcePolicy", GetResourcePolicy$) {
|
|
838
1029
|
}
|
|
839
1030
|
|
|
@@ -846,15 +1037,23 @@ class ListSourceViewsForBillingViewCommand extends command(_ep0, _mw0, "ListSour
|
|
|
846
1037
|
class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
|
|
847
1038
|
}
|
|
848
1039
|
|
|
1040
|
+
class RedeemCreditsCommand extends command(_ep0, _mw0, "RedeemCredits", RedeemCredits$) {
|
|
1041
|
+
}
|
|
1042
|
+
|
|
849
1043
|
class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
|
|
850
1044
|
}
|
|
851
1045
|
|
|
852
1046
|
class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
|
|
853
1047
|
}
|
|
854
1048
|
|
|
1049
|
+
class UpdateBillingPreferencesCommand extends command(_ep0, _mw0, "UpdateBillingPreferences", UpdateBillingPreferences$) {
|
|
1050
|
+
}
|
|
1051
|
+
|
|
855
1052
|
class UpdateBillingViewCommand extends command(_ep0, _mw0, "UpdateBillingView", UpdateBillingView$) {
|
|
856
1053
|
}
|
|
857
1054
|
|
|
1055
|
+
const paginateGetCreditAllocationHistory = createPaginator(BillingClient, GetCreditAllocationHistoryCommand, "nextToken", "nextToken", "maxResults");
|
|
1056
|
+
|
|
858
1057
|
const paginateListBillingViews = createPaginator(BillingClient, ListBillingViewsCommand, "nextToken", "nextToken", "maxResults");
|
|
859
1058
|
|
|
860
1059
|
const paginateListSourceViewsForBillingView = createPaginator(BillingClient, ListSourceViewsForBillingViewCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -864,16 +1063,22 @@ const commands = {
|
|
|
864
1063
|
CreateBillingViewCommand,
|
|
865
1064
|
DeleteBillingViewCommand,
|
|
866
1065
|
DisassociateSourceViewsCommand,
|
|
1066
|
+
GetBillingPreferencesCommand,
|
|
867
1067
|
GetBillingViewCommand,
|
|
1068
|
+
GetCreditAllocationHistoryCommand,
|
|
1069
|
+
GetCreditsCommand,
|
|
868
1070
|
GetResourcePolicyCommand,
|
|
869
1071
|
ListBillingViewsCommand,
|
|
870
1072
|
ListSourceViewsForBillingViewCommand,
|
|
871
1073
|
ListTagsForResourceCommand,
|
|
1074
|
+
RedeemCreditsCommand,
|
|
872
1075
|
TagResourceCommand,
|
|
873
1076
|
UntagResourceCommand,
|
|
1077
|
+
UpdateBillingPreferencesCommand,
|
|
874
1078
|
UpdateBillingViewCommand,
|
|
875
1079
|
};
|
|
876
1080
|
const paginators = {
|
|
1081
|
+
paginateGetCreditAllocationHistory,
|
|
877
1082
|
paginateListBillingViews,
|
|
878
1083
|
paginateListSourceViewsForBillingView,
|
|
879
1084
|
};
|
|
@@ -881,6 +1086,10 @@ class Billing extends BillingClient {
|
|
|
881
1086
|
}
|
|
882
1087
|
createAggregatedClient(commands, Billing, { paginators });
|
|
883
1088
|
|
|
1089
|
+
const ApplicationType = {
|
|
1090
|
+
AFTER_DISCOUNTS: "AFTER_DISCOUNTS",
|
|
1091
|
+
BEFORE_CROSS_SERVICE_DISCOUNTS: "BEFORE_CROSS_SERVICE_DISCOUNTS",
|
|
1092
|
+
};
|
|
884
1093
|
const ValidationExceptionReason = {
|
|
885
1094
|
CANNOT_PARSE: "cannotParse",
|
|
886
1095
|
FIELD_VALIDATION_FAILED: "fieldValidationFailed",
|
|
@@ -890,6 +1099,22 @@ const ValidationExceptionReason = {
|
|
|
890
1099
|
const Dimension = {
|
|
891
1100
|
LINKED_ACCOUNT: "LINKED_ACCOUNT",
|
|
892
1101
|
};
|
|
1102
|
+
const BillingFeature = {
|
|
1103
|
+
BILLING_ALERTS: "BILLING_ALERTS",
|
|
1104
|
+
CREDIT_LEVEL_SHARING: "CREDIT_LEVEL_SHARING",
|
|
1105
|
+
CREDIT_PREFERENCE_OPTIONS: "CREDIT_PREFERENCE_OPTIONS",
|
|
1106
|
+
CREDIT_SHARING: "CREDIT_SHARING",
|
|
1107
|
+
CREDIT_SHARING_HISTORY: "CREDIT_SHARING_HISTORY",
|
|
1108
|
+
RI_SHARING: "RI_SHARING",
|
|
1109
|
+
RI_SHARING_HISTORY: "RI_SHARING_HISTORY",
|
|
1110
|
+
};
|
|
1111
|
+
const BillingFeatureFilterName = {
|
|
1112
|
+
PREFERENCE_KEY: "PREFERENCE_KEY",
|
|
1113
|
+
};
|
|
1114
|
+
const PreferenceValue = {
|
|
1115
|
+
DISABLED: "DISABLED",
|
|
1116
|
+
ENABLED: "ENABLED",
|
|
1117
|
+
};
|
|
893
1118
|
const BillingViewType = {
|
|
894
1119
|
BILLING_GROUP: "BILLING_GROUP",
|
|
895
1120
|
BILLING_TRANSFER: "BILLING_TRANSFER",
|
|
@@ -913,6 +1138,16 @@ const BillingViewStatusReason = {
|
|
|
913
1138
|
SOURCE_VIEW_UPDATING: "SOURCE_VIEW_UPDATING",
|
|
914
1139
|
VIEW_OWNER_NOT_MANAGEMENT_ACCOUNT: "VIEW_OWNER_NOT_MANAGEMENT_ACCOUNT",
|
|
915
1140
|
};
|
|
1141
|
+
const CreditSharingType = {
|
|
1142
|
+
COST_CATEGORY_RULE: "COST_CATEGORY_RULE",
|
|
1143
|
+
CUSTOM: "CUSTOM",
|
|
1144
|
+
DEFAULT: "DEFAULT",
|
|
1145
|
+
DISABLED: "DISABLED",
|
|
1146
|
+
};
|
|
1147
|
+
const CreditStatus = {
|
|
1148
|
+
DISABLED: "DISABLED",
|
|
1149
|
+
ENABLED: "ENABLED",
|
|
1150
|
+
};
|
|
916
1151
|
const SearchOption = {
|
|
917
1152
|
STARTS_WITH: "STARTS_WITH",
|
|
918
1153
|
};
|
|
@@ -920,12 +1155,20 @@ const SearchOption = {
|
|
|
920
1155
|
exports.AccessDeniedException = AccessDeniedException;
|
|
921
1156
|
exports.AccessDeniedException$ = AccessDeniedException$;
|
|
922
1157
|
exports.ActiveTimeRange$ = ActiveTimeRange$;
|
|
1158
|
+
exports.Amount$ = Amount$;
|
|
1159
|
+
exports.ApplicationType = ApplicationType;
|
|
923
1160
|
exports.AssociateSourceViews$ = AssociateSourceViews$;
|
|
924
1161
|
exports.AssociateSourceViewsCommand = AssociateSourceViewsCommand;
|
|
925
1162
|
exports.AssociateSourceViewsRequest$ = AssociateSourceViewsRequest$;
|
|
926
1163
|
exports.AssociateSourceViewsResponse$ = AssociateSourceViewsResponse$;
|
|
927
1164
|
exports.Billing = Billing;
|
|
928
1165
|
exports.BillingClient = BillingClient;
|
|
1166
|
+
exports.BillingFeature = BillingFeature;
|
|
1167
|
+
exports.BillingFeatureFilter$ = BillingFeatureFilter$;
|
|
1168
|
+
exports.BillingFeatureFilterName = BillingFeatureFilterName;
|
|
1169
|
+
exports.BillingPeriod$ = BillingPeriod$;
|
|
1170
|
+
exports.BillingPreferenceForKey$ = BillingPreferenceForKey$;
|
|
1171
|
+
exports.BillingPreferenceSummary$ = BillingPreferenceSummary$;
|
|
929
1172
|
exports.BillingServiceException = BillingServiceException;
|
|
930
1173
|
exports.BillingServiceException$ = BillingServiceException$;
|
|
931
1174
|
exports.BillingViewElement$ = BillingViewElement$;
|
|
@@ -943,6 +1186,10 @@ exports.CreateBillingView$ = CreateBillingView$;
|
|
|
943
1186
|
exports.CreateBillingViewCommand = CreateBillingViewCommand;
|
|
944
1187
|
exports.CreateBillingViewRequest$ = CreateBillingViewRequest$;
|
|
945
1188
|
exports.CreateBillingViewResponse$ = CreateBillingViewResponse$;
|
|
1189
|
+
exports.CreditAllocationHistoryEntry$ = CreditAllocationHistoryEntry$;
|
|
1190
|
+
exports.CreditData$ = CreditData$;
|
|
1191
|
+
exports.CreditSharingType = CreditSharingType;
|
|
1192
|
+
exports.CreditStatus = CreditStatus;
|
|
946
1193
|
exports.DeleteBillingView$ = DeleteBillingView$;
|
|
947
1194
|
exports.DeleteBillingViewCommand = DeleteBillingViewCommand;
|
|
948
1195
|
exports.DeleteBillingViewRequest$ = DeleteBillingViewRequest$;
|
|
@@ -954,10 +1201,22 @@ exports.DisassociateSourceViewsCommand = DisassociateSourceViewsCommand;
|
|
|
954
1201
|
exports.DisassociateSourceViewsRequest$ = DisassociateSourceViewsRequest$;
|
|
955
1202
|
exports.DisassociateSourceViewsResponse$ = DisassociateSourceViewsResponse$;
|
|
956
1203
|
exports.Expression$ = Expression$;
|
|
1204
|
+
exports.GetBillingPreferences$ = GetBillingPreferences$;
|
|
1205
|
+
exports.GetBillingPreferencesCommand = GetBillingPreferencesCommand;
|
|
1206
|
+
exports.GetBillingPreferencesRequest$ = GetBillingPreferencesRequest$;
|
|
1207
|
+
exports.GetBillingPreferencesResponse$ = GetBillingPreferencesResponse$;
|
|
957
1208
|
exports.GetBillingView$ = GetBillingView$;
|
|
958
1209
|
exports.GetBillingViewCommand = GetBillingViewCommand;
|
|
959
1210
|
exports.GetBillingViewRequest$ = GetBillingViewRequest$;
|
|
960
1211
|
exports.GetBillingViewResponse$ = GetBillingViewResponse$;
|
|
1212
|
+
exports.GetCreditAllocationHistory$ = GetCreditAllocationHistory$;
|
|
1213
|
+
exports.GetCreditAllocationHistoryCommand = GetCreditAllocationHistoryCommand;
|
|
1214
|
+
exports.GetCreditAllocationHistoryRequest$ = GetCreditAllocationHistoryRequest$;
|
|
1215
|
+
exports.GetCreditAllocationHistoryResponse$ = GetCreditAllocationHistoryResponse$;
|
|
1216
|
+
exports.GetCredits$ = GetCredits$;
|
|
1217
|
+
exports.GetCreditsCommand = GetCreditsCommand;
|
|
1218
|
+
exports.GetCreditsRequest$ = GetCreditsRequest$;
|
|
1219
|
+
exports.GetCreditsResponse$ = GetCreditsResponse$;
|
|
961
1220
|
exports.GetResourcePolicy$ = GetResourcePolicy$;
|
|
962
1221
|
exports.GetResourcePolicyCommand = GetResourcePolicyCommand;
|
|
963
1222
|
exports.GetResourcePolicyRequest$ = GetResourcePolicyRequest$;
|
|
@@ -976,6 +1235,11 @@ exports.ListTagsForResource$ = ListTagsForResource$;
|
|
|
976
1235
|
exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
|
|
977
1236
|
exports.ListTagsForResourceRequest$ = ListTagsForResourceRequest$;
|
|
978
1237
|
exports.ListTagsForResourceResponse$ = ListTagsForResourceResponse$;
|
|
1238
|
+
exports.PreferenceValue = PreferenceValue;
|
|
1239
|
+
exports.RedeemCredits$ = RedeemCredits$;
|
|
1240
|
+
exports.RedeemCreditsCommand = RedeemCreditsCommand;
|
|
1241
|
+
exports.RedeemCreditsRequest$ = RedeemCreditsRequest$;
|
|
1242
|
+
exports.RedeemCreditsResponse$ = RedeemCreditsResponse$;
|
|
979
1243
|
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
980
1244
|
exports.ResourceNotFoundException$ = ResourceNotFoundException$;
|
|
981
1245
|
exports.ResourceTag$ = ResourceTag$;
|
|
@@ -995,6 +1259,10 @@ exports.UntagResource$ = UntagResource$;
|
|
|
995
1259
|
exports.UntagResourceCommand = UntagResourceCommand;
|
|
996
1260
|
exports.UntagResourceRequest$ = UntagResourceRequest$;
|
|
997
1261
|
exports.UntagResourceResponse$ = UntagResourceResponse$;
|
|
1262
|
+
exports.UpdateBillingPreferences$ = UpdateBillingPreferences$;
|
|
1263
|
+
exports.UpdateBillingPreferencesCommand = UpdateBillingPreferencesCommand;
|
|
1264
|
+
exports.UpdateBillingPreferencesRequest$ = UpdateBillingPreferencesRequest$;
|
|
1265
|
+
exports.UpdateBillingPreferencesResponse$ = UpdateBillingPreferencesResponse$;
|
|
998
1266
|
exports.UpdateBillingView$ = UpdateBillingView$;
|
|
999
1267
|
exports.UpdateBillingViewCommand = UpdateBillingViewCommand;
|
|
1000
1268
|
exports.UpdateBillingViewRequest$ = UpdateBillingViewRequest$;
|
|
@@ -1004,5 +1272,6 @@ exports.ValidationException$ = ValidationException$;
|
|
|
1004
1272
|
exports.ValidationExceptionField$ = ValidationExceptionField$;
|
|
1005
1273
|
exports.ValidationExceptionReason = ValidationExceptionReason;
|
|
1006
1274
|
exports.errorTypeRegistries = errorTypeRegistries;
|
|
1275
|
+
exports.paginateGetCreditAllocationHistory = paginateGetCreditAllocationHistory;
|
|
1007
1276
|
exports.paginateListBillingViews = paginateListBillingViews;
|
|
1008
1277
|
exports.paginateListSourceViewsForBillingView = paginateListSourceViewsForBillingView;
|