@aws-sdk/client-billing 3.1137.0 → 3.1139.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 +7 -0
- package/dist-cjs/index.js +63 -6
- package/dist-es/Billing.js +4 -0
- package/dist-es/commands/ListBillingViewSegmentsCommand.js +4 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/enums.js +4 -0
- package/dist-es/pagination/ListBillingViewSegmentsPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/schemas/schemas_0.js +43 -5
- package/dist-types/Billing.d.ts +62 -41
- package/dist-types/BillingClient.d.ts +3 -2
- package/dist-types/commands/ListBillingViewSegmentsCommand.d.ts +152 -0
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/enums.d.ts +12 -0
- package/dist-types/models/models_0.d.ts +88 -1
- package/dist-types/pagination/ListBillingViewSegmentsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +5 -0
- package/dist-types/ts3.4/Billing.d.ts +69 -40
- package/dist-types/ts3.4/BillingClient.d.ts +6 -0
- package/dist-types/ts3.4/commands/ListBillingViewSegmentsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/enums.d.ts +5 -0
- package/dist-types/ts3.4/models/models_0.d.ts +22 -0
- package/dist-types/ts3.4/pagination/ListBillingViewSegmentsPaginator.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 +5 -0
- package/package.json +8 -8
package/README.md
CHANGED
|
@@ -265,6 +265,13 @@ ListBillingViews
|
|
|
265
265
|
</details>
|
|
266
266
|
<details>
|
|
267
267
|
<summary>
|
|
268
|
+
ListBillingViewSegments
|
|
269
|
+
</summary>
|
|
270
|
+
|
|
271
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/billing/command/ListBillingViewSegmentsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-billing/Interface/ListBillingViewSegmentsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-billing/Interface/ListBillingViewSegmentsCommandOutput/)
|
|
272
|
+
</details>
|
|
273
|
+
<details>
|
|
274
|
+
<summary>
|
|
268
275
|
ListEnterpriseSupportLinkedAccountCharges
|
|
269
276
|
</summary>
|
|
270
277
|
|
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.1138.0";
|
|
73
73
|
var packageInfo = {
|
|
74
74
|
version: version};
|
|
75
75
|
|
|
@@ -280,6 +280,9 @@ const _BVHSE = "BillingViewHealthStatusException";
|
|
|
280
280
|
const _BVL = "BillingViewList";
|
|
281
281
|
const _BVLE = "BillingViewListElement";
|
|
282
282
|
const _BVN = "BillingViewName";
|
|
283
|
+
const _BVSL = "BillingViewSegmentsList";
|
|
284
|
+
const _BVSLE = "BillingViewSegmentsListElement";
|
|
285
|
+
const _BVSTR = "BillingViewSegmentTimeRange";
|
|
283
286
|
const _CA = "ChargeAccount";
|
|
284
287
|
const _CAHE = "CreditAllocationHistoryEntry";
|
|
285
288
|
const _CAHL = "CreditAllocationHistoryList";
|
|
@@ -329,6 +332,9 @@ const _LACL = "LinkedAccountChargeList";
|
|
|
329
332
|
const _LBV = "ListBillingViews";
|
|
330
333
|
const _LBVR = "ListBillingViewsRequest";
|
|
331
334
|
const _LBVRi = "ListBillingViewsResponse";
|
|
335
|
+
const _LBVS = "ListBillingViewSegments";
|
|
336
|
+
const _LBVSR = "ListBillingViewSegmentsRequest";
|
|
337
|
+
const _LBVSRi = "ListBillingViewSegmentsResponse";
|
|
332
338
|
const _LESLAC = "ListEnterpriseSupportLinkedAccountCharges";
|
|
333
339
|
const _LESLACR = "ListEnterpriseSupportLinkedAccountChargesRequest";
|
|
334
340
|
const _LESLACRi = "ListEnterpriseSupportLinkedAccountChargesResponse";
|
|
@@ -395,6 +401,7 @@ const _bC = "baseCharge";
|
|
|
395
401
|
const _bD = "beginDate";
|
|
396
402
|
const _bDI = "beginDateInclusive";
|
|
397
403
|
const _bDi = "billDate";
|
|
404
|
+
const _bGPAI = "billingGroupPrimaryAccountId";
|
|
398
405
|
const _bM = "billingMonth";
|
|
399
406
|
const _bP = "billingPeriod";
|
|
400
407
|
const _bPED = "billingPeriodEndDate";
|
|
@@ -402,6 +409,7 @@ const _bPPK = "billingPreferencesPerKey";
|
|
|
402
409
|
const _bPSD = "billingPeriodStartDate";
|
|
403
410
|
const _bPi = "billingPreferences";
|
|
404
411
|
const _bS = "billableSeconds";
|
|
412
|
+
const _bTAI = "billingTransferAccountId";
|
|
405
413
|
const _bV = "billingView";
|
|
406
414
|
const _bVT = "billingViewType";
|
|
407
415
|
const _bVTi = "billingViewTypes";
|
|
@@ -430,9 +438,11 @@ const _dATMC = "discountAppliesToMinimumCharge";
|
|
|
430
438
|
const _dFE = "dataFilterExpression";
|
|
431
439
|
const _dVC = "derivedViewCount";
|
|
432
440
|
const _di = "dimensions";
|
|
441
|
+
const _do = "domain";
|
|
433
442
|
const _e = "error";
|
|
434
443
|
const _eA = "estimatedAmount";
|
|
435
444
|
const _eD = "endDate";
|
|
445
|
+
const _eDE = "endDateExclusive";
|
|
436
446
|
const _eDI = "endDateInclusive";
|
|
437
447
|
const _eDx = "exhaustDate";
|
|
438
448
|
const _f = "feature";
|
|
@@ -445,7 +455,7 @@ const _h = "http";
|
|
|
445
455
|
const _hE = "httpError";
|
|
446
456
|
const _hH = "httpHeader";
|
|
447
457
|
const _hS = "healthStatus";
|
|
448
|
-
const _i = "
|
|
458
|
+
const _i = "items";
|
|
449
459
|
const _iA = "initialAmount";
|
|
450
460
|
const _iC = "incrementCharge";
|
|
451
461
|
const _iCA = "isContractActive";
|
|
@@ -453,11 +463,13 @@ const _iE = "isEstimated";
|
|
|
453
463
|
const _iEB = "isEstimatedBill";
|
|
454
464
|
const _iG = "isGdn";
|
|
455
465
|
const _iT = "idempotencyToken";
|
|
456
|
-
const _in = "
|
|
466
|
+
const _in = "incremental";
|
|
467
|
+
const _inc = "increment";
|
|
457
468
|
const _k = "key";
|
|
458
469
|
const _lA = "linkedAccount";
|
|
459
470
|
const _lTP = "linkedTimePeriods";
|
|
460
471
|
const _m = "message";
|
|
472
|
+
const _mAI = "managementAccountId";
|
|
461
473
|
const _mC = "minimumCharge";
|
|
462
474
|
const _mR = "maxResults";
|
|
463
475
|
const _mo = "month";
|
|
@@ -526,10 +538,10 @@ const _vDLUA = "viewDefinitionLastUpdatedAt";
|
|
|
526
538
|
const _va = "values";
|
|
527
539
|
const _y = "year";
|
|
528
540
|
const n0 = "com.amazonaws.billing";
|
|
529
|
-
const _s_registry = TypeRegistry
|
|
541
|
+
const _s_registry = new TypeRegistry(_s);
|
|
530
542
|
var BillingServiceException$ = [-3, _s, "BillingServiceException", 0, [], []];
|
|
531
543
|
_s_registry.registerError(BillingServiceException$, BillingServiceException);
|
|
532
|
-
const n0_registry = TypeRegistry
|
|
544
|
+
const n0_registry = new TypeRegistry(n0);
|
|
533
545
|
var AccessDeniedException$ = [-3, n0, _ADE,
|
|
534
546
|
{ [_aQE]: [`BillingAccessDenied`, 403], [_e]: _c, [_hE]: 403 },
|
|
535
547
|
[_m],
|
|
@@ -644,6 +656,16 @@ var BillingViewListElement$ = [3, n0, _BVLE,
|
|
|
644
656
|
[_ar, _n, _d, _oAI, _sAI, _bVT, _hS],
|
|
645
657
|
[0, [() => BillingViewName, 0], [() => BillingViewDescription, 0], 0, 0, 0, () => BillingViewHealthStatus$]
|
|
646
658
|
];
|
|
659
|
+
var BillingViewSegmentsListElement$ = [3, n0, _BVSLE,
|
|
660
|
+
0,
|
|
661
|
+
[_do, _tR, _bTAI, _mAI, _bGPAI],
|
|
662
|
+
[0, () => BillingViewSegmentTimeRange$, 0, 0, 0]
|
|
663
|
+
];
|
|
664
|
+
var BillingViewSegmentTimeRange$ = [3, n0, _BVSTR,
|
|
665
|
+
0,
|
|
666
|
+
[_bDI, _eDE],
|
|
667
|
+
[4, 4]
|
|
668
|
+
];
|
|
647
669
|
var ChargeAccount$ = [3, n0, _CA,
|
|
648
670
|
0,
|
|
649
671
|
[_aI, _cP],
|
|
@@ -789,6 +811,16 @@ var LinkedAccountCharge$ = [3, n0, _LAC,
|
|
|
789
811
|
[_aI, _pAI, _bS, _tS, _tSES, _pTSES, _aTc, _lTP, _sTP, _tSERIS, _tSESPS, _sESBS],
|
|
790
812
|
[0, 0, 1, 1, 0, 0, 0, () => TimePeriodList, () => TimePeriodList, 0, 0, () => ServiceLevelAccountUsageList], 6
|
|
791
813
|
];
|
|
814
|
+
var ListBillingViewSegmentsRequest$ = [3, n0, _LBVSR,
|
|
815
|
+
0,
|
|
816
|
+
[_tR, _ar, _mR, _nT],
|
|
817
|
+
[() => BillingViewSegmentTimeRange$, 0, 1, 0]
|
|
818
|
+
];
|
|
819
|
+
var ListBillingViewSegmentsResponse$ = [3, n0, _LBVSRi,
|
|
820
|
+
0,
|
|
821
|
+
[_i, _nT],
|
|
822
|
+
[() => BillingViewSegmentsList, 0], 1
|
|
823
|
+
];
|
|
792
824
|
var ListBillingViewsRequest$ = [3, n0, _LBVR,
|
|
793
825
|
0,
|
|
794
826
|
[_aTR, _arn, _bVTi, _na, _oAI, _sAI, _mR, _nT],
|
|
@@ -836,7 +868,7 @@ var PricingPlan$ = [3, n0, _PP,
|
|
|
836
868
|
];
|
|
837
869
|
var PricingPlanTier$ = [3, n0, _PPT,
|
|
838
870
|
0,
|
|
839
|
-
[_tM, _bC, _aPOAC, _aCA,
|
|
871
|
+
[_tM, _bC, _aPOAC, _aCA, _in, _tMi, _inc, _iC],
|
|
840
872
|
[0, 0, 0, 0, 2, 0, 0, 0], 5
|
|
841
873
|
];
|
|
842
874
|
var RedeemCreditsRequest$ = [3, n0, _RCR,
|
|
@@ -935,6 +967,9 @@ var BillingViewList = [1, n0, _BVL,
|
|
|
935
967
|
0, [() => BillingViewListElement$,
|
|
936
968
|
0]
|
|
937
969
|
];
|
|
970
|
+
var BillingViewSegmentsList = [1, n0, _BVSL,
|
|
971
|
+
0, () => BillingViewSegmentsListElement$
|
|
972
|
+
];
|
|
938
973
|
var ChargeAccountList = [1, n0, _CAL,
|
|
939
974
|
0, () => ChargeAccount$
|
|
940
975
|
];
|
|
@@ -1007,6 +1042,9 @@ var GetResourcePolicy$ = [9, n0, _GRP,
|
|
|
1007
1042
|
var ListBillingViews$ = [9, n0, _LBV,
|
|
1008
1043
|
{ [_h]: ["POST", "/", 200] }, () => ListBillingViewsRequest$, () => ListBillingViewsResponse$
|
|
1009
1044
|
];
|
|
1045
|
+
var ListBillingViewSegments$ = [9, n0, _LBVS,
|
|
1046
|
+
0, () => ListBillingViewSegmentsRequest$, () => ListBillingViewSegmentsResponse$
|
|
1047
|
+
];
|
|
1010
1048
|
var ListEnterpriseSupportLinkedAccountCharges$ = [9, n0, _LESLAC,
|
|
1011
1049
|
0, () => ListEnterpriseSupportLinkedAccountChargesRequest$, () => ListEnterpriseSupportLinkedAccountChargesResponse$
|
|
1012
1050
|
];
|
|
@@ -1218,6 +1256,9 @@ class GetResourcePolicyCommand extends command(_ep0, _mw0, "GetResourcePolicy",
|
|
|
1218
1256
|
class ListBillingViewsCommand extends command(_ep0, _mw0, "ListBillingViews", ListBillingViews$) {
|
|
1219
1257
|
}
|
|
1220
1258
|
|
|
1259
|
+
class ListBillingViewSegmentsCommand extends command(_ep0, _mw0, "ListBillingViewSegments", ListBillingViewSegments$) {
|
|
1260
|
+
}
|
|
1261
|
+
|
|
1221
1262
|
class ListEnterpriseSupportLinkedAccountChargesCommand extends command(_ep0, _mw0, "ListEnterpriseSupportLinkedAccountCharges", ListEnterpriseSupportLinkedAccountCharges$) {
|
|
1222
1263
|
}
|
|
1223
1264
|
|
|
@@ -1244,6 +1285,8 @@ class UpdateBillingViewCommand extends command(_ep0, _mw0, "UpdateBillingView",
|
|
|
1244
1285
|
|
|
1245
1286
|
const paginateGetCreditAllocationHistory = createPaginator(BillingClient, GetCreditAllocationHistoryCommand, "nextToken", "nextToken", "maxResults");
|
|
1246
1287
|
|
|
1288
|
+
const paginateListBillingViewSegments = createPaginator(BillingClient, ListBillingViewSegmentsCommand, "nextToken", "nextToken", "maxResults");
|
|
1289
|
+
|
|
1247
1290
|
const paginateListBillingViews = createPaginator(BillingClient, ListBillingViewsCommand, "nextToken", "nextToken", "maxResults");
|
|
1248
1291
|
|
|
1249
1292
|
const paginateListEnterpriseSupportLinkedAccountCharges = createPaginator(BillingClient, ListEnterpriseSupportLinkedAccountChargesCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1263,6 +1306,7 @@ const commands = {
|
|
|
1263
1306
|
GetEnterpriseSupportContractDetailsCommand,
|
|
1264
1307
|
GetResourcePolicyCommand,
|
|
1265
1308
|
ListBillingViewsCommand,
|
|
1309
|
+
ListBillingViewSegmentsCommand,
|
|
1266
1310
|
ListEnterpriseSupportLinkedAccountChargesCommand,
|
|
1267
1311
|
ListSourceViewsForBillingViewCommand,
|
|
1268
1312
|
ListTagsForResourceCommand,
|
|
@@ -1275,6 +1319,7 @@ const commands = {
|
|
|
1275
1319
|
const paginators = {
|
|
1276
1320
|
paginateGetCreditAllocationHistory,
|
|
1277
1321
|
paginateListBillingViews,
|
|
1322
|
+
paginateListBillingViewSegments,
|
|
1278
1323
|
paginateListEnterpriseSupportLinkedAccountCharges,
|
|
1279
1324
|
paginateListSourceViewsForBillingView,
|
|
1280
1325
|
};
|
|
@@ -1347,6 +1392,10 @@ const CreditStatus = {
|
|
|
1347
1392
|
const SearchOption = {
|
|
1348
1393
|
STARTS_WITH: "STARTS_WITH",
|
|
1349
1394
|
};
|
|
1395
|
+
const BillingDomain = {
|
|
1396
|
+
BILLABLE: "BILLABLE",
|
|
1397
|
+
PRO_FORMA: "PRO_FORMA",
|
|
1398
|
+
};
|
|
1350
1399
|
|
|
1351
1400
|
exports.AccessDeniedException = AccessDeniedException;
|
|
1352
1401
|
exports.AccessDeniedException$ = AccessDeniedException$;
|
|
@@ -1360,6 +1409,7 @@ exports.AssociateSourceViewsRequest$ = AssociateSourceViewsRequest$;
|
|
|
1360
1409
|
exports.AssociateSourceViewsResponse$ = AssociateSourceViewsResponse$;
|
|
1361
1410
|
exports.Billing = Billing;
|
|
1362
1411
|
exports.BillingClient = BillingClient;
|
|
1412
|
+
exports.BillingDomain = BillingDomain;
|
|
1363
1413
|
exports.BillingFeature = BillingFeature;
|
|
1364
1414
|
exports.BillingFeatureFilter$ = BillingFeatureFilter$;
|
|
1365
1415
|
exports.BillingFeatureFilterName = BillingFeatureFilterName;
|
|
@@ -1373,6 +1423,8 @@ exports.BillingViewHealthStatus$ = BillingViewHealthStatus$;
|
|
|
1373
1423
|
exports.BillingViewHealthStatusException = BillingViewHealthStatusException;
|
|
1374
1424
|
exports.BillingViewHealthStatusException$ = BillingViewHealthStatusException$;
|
|
1375
1425
|
exports.BillingViewListElement$ = BillingViewListElement$;
|
|
1426
|
+
exports.BillingViewSegmentTimeRange$ = BillingViewSegmentTimeRange$;
|
|
1427
|
+
exports.BillingViewSegmentsListElement$ = BillingViewSegmentsListElement$;
|
|
1376
1428
|
exports.BillingViewStatus = BillingViewStatus;
|
|
1377
1429
|
exports.BillingViewStatusReason = BillingViewStatusReason;
|
|
1378
1430
|
exports.BillingViewType = BillingViewType;
|
|
@@ -1432,6 +1484,10 @@ exports.GetResourcePolicyResponse$ = GetResourcePolicyResponse$;
|
|
|
1432
1484
|
exports.InternalServerException = InternalServerException;
|
|
1433
1485
|
exports.InternalServerException$ = InternalServerException$;
|
|
1434
1486
|
exports.LinkedAccountCharge$ = LinkedAccountCharge$;
|
|
1487
|
+
exports.ListBillingViewSegments$ = ListBillingViewSegments$;
|
|
1488
|
+
exports.ListBillingViewSegmentsCommand = ListBillingViewSegmentsCommand;
|
|
1489
|
+
exports.ListBillingViewSegmentsRequest$ = ListBillingViewSegmentsRequest$;
|
|
1490
|
+
exports.ListBillingViewSegmentsResponse$ = ListBillingViewSegmentsResponse$;
|
|
1435
1491
|
exports.ListBillingViews$ = ListBillingViews$;
|
|
1436
1492
|
exports.ListBillingViewsCommand = ListBillingViewsCommand;
|
|
1437
1493
|
exports.ListBillingViewsRequest$ = ListBillingViewsRequest$;
|
|
@@ -1489,6 +1545,7 @@ exports.ValidationExceptionField$ = ValidationExceptionField$;
|
|
|
1489
1545
|
exports.ValidationExceptionReason = ValidationExceptionReason;
|
|
1490
1546
|
exports.errorTypeRegistries = errorTypeRegistries;
|
|
1491
1547
|
exports.paginateGetCreditAllocationHistory = paginateGetCreditAllocationHistory;
|
|
1548
|
+
exports.paginateListBillingViewSegments = paginateListBillingViewSegments;
|
|
1492
1549
|
exports.paginateListBillingViews = paginateListBillingViews;
|
|
1493
1550
|
exports.paginateListEnterpriseSupportLinkedAccountCharges = paginateListEnterpriseSupportLinkedAccountCharges;
|
|
1494
1551
|
exports.paginateListSourceViewsForBillingView = paginateListSourceViewsForBillingView;
|
package/dist-es/Billing.js
CHANGED
|
@@ -12,6 +12,7 @@ import { GetEnterpriseSupportChargeSummaryCommand, } from "./commands/GetEnterpr
|
|
|
12
12
|
import { GetEnterpriseSupportContractDetailsCommand, } from "./commands/GetEnterpriseSupportContractDetailsCommand";
|
|
13
13
|
import { GetResourcePolicyCommand, } from "./commands/GetResourcePolicyCommand";
|
|
14
14
|
import { ListBillingViewsCommand, } from "./commands/ListBillingViewsCommand";
|
|
15
|
+
import { ListBillingViewSegmentsCommand, } from "./commands/ListBillingViewSegmentsCommand";
|
|
15
16
|
import { ListEnterpriseSupportLinkedAccountChargesCommand, } from "./commands/ListEnterpriseSupportLinkedAccountChargesCommand";
|
|
16
17
|
import { ListSourceViewsForBillingViewCommand, } from "./commands/ListSourceViewsForBillingViewCommand";
|
|
17
18
|
import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
|
|
@@ -21,6 +22,7 @@ import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
|
|
|
21
22
|
import { UpdateBillingPreferencesCommand, } from "./commands/UpdateBillingPreferencesCommand";
|
|
22
23
|
import { UpdateBillingViewCommand, } from "./commands/UpdateBillingViewCommand";
|
|
23
24
|
import { paginateGetCreditAllocationHistory } from "./pagination/GetCreditAllocationHistoryPaginator";
|
|
25
|
+
import { paginateListBillingViewSegments } from "./pagination/ListBillingViewSegmentsPaginator";
|
|
24
26
|
import { paginateListBillingViews } from "./pagination/ListBillingViewsPaginator";
|
|
25
27
|
import { paginateListEnterpriseSupportLinkedAccountCharges, } from "./pagination/ListEnterpriseSupportLinkedAccountChargesPaginator";
|
|
26
28
|
import { paginateListSourceViewsForBillingView } from "./pagination/ListSourceViewsForBillingViewPaginator";
|
|
@@ -37,6 +39,7 @@ const commands = {
|
|
|
37
39
|
GetEnterpriseSupportContractDetailsCommand,
|
|
38
40
|
GetResourcePolicyCommand,
|
|
39
41
|
ListBillingViewsCommand,
|
|
42
|
+
ListBillingViewSegmentsCommand,
|
|
40
43
|
ListEnterpriseSupportLinkedAccountChargesCommand,
|
|
41
44
|
ListSourceViewsForBillingViewCommand,
|
|
42
45
|
ListTagsForResourceCommand,
|
|
@@ -49,6 +52,7 @@ const commands = {
|
|
|
49
52
|
const paginators = {
|
|
50
53
|
paginateGetCreditAllocationHistory,
|
|
51
54
|
paginateListBillingViews,
|
|
55
|
+
paginateListBillingViewSegments,
|
|
52
56
|
paginateListEnterpriseSupportLinkedAccountCharges,
|
|
53
57
|
paginateListSourceViewsForBillingView,
|
|
54
58
|
};
|
|
@@ -9,6 +9,7 @@ export * from "./GetCreditsCommand";
|
|
|
9
9
|
export * from "./GetEnterpriseSupportChargeSummaryCommand";
|
|
10
10
|
export * from "./GetEnterpriseSupportContractDetailsCommand";
|
|
11
11
|
export * from "./GetResourcePolicyCommand";
|
|
12
|
+
export * from "./ListBillingViewSegmentsCommand";
|
|
12
13
|
export * from "./ListBillingViewsCommand";
|
|
13
14
|
export * from "./ListEnterpriseSupportLinkedAccountChargesCommand";
|
|
14
15
|
export * from "./ListSourceViewsForBillingViewCommand";
|
package/dist-es/models/enums.js
CHANGED
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
2
|
+
import { BillingClient } from "../BillingClient";
|
|
3
|
+
import { ListBillingViewSegmentsCommand, } from "../commands/ListBillingViewSegmentsCommand";
|
|
4
|
+
export const paginateListBillingViewSegments = createPaginator(BillingClient, ListBillingViewSegmentsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export * from "./Interfaces";
|
|
2
2
|
export * from "./GetCreditAllocationHistoryPaginator";
|
|
3
3
|
export * from "./ListBillingViewsPaginator";
|
|
4
|
+
export * from "./ListBillingViewSegmentsPaginator";
|
|
4
5
|
export * from "./ListEnterpriseSupportLinkedAccountChargesPaginator";
|
|
5
6
|
export * from "./ListSourceViewsForBillingViewPaginator";
|
|
@@ -20,6 +20,9 @@ const _BVHSE = "BillingViewHealthStatusException";
|
|
|
20
20
|
const _BVL = "BillingViewList";
|
|
21
21
|
const _BVLE = "BillingViewListElement";
|
|
22
22
|
const _BVN = "BillingViewName";
|
|
23
|
+
const _BVSL = "BillingViewSegmentsList";
|
|
24
|
+
const _BVSLE = "BillingViewSegmentsListElement";
|
|
25
|
+
const _BVSTR = "BillingViewSegmentTimeRange";
|
|
23
26
|
const _CA = "ChargeAccount";
|
|
24
27
|
const _CAHE = "CreditAllocationHistoryEntry";
|
|
25
28
|
const _CAHL = "CreditAllocationHistoryList";
|
|
@@ -69,6 +72,9 @@ const _LACL = "LinkedAccountChargeList";
|
|
|
69
72
|
const _LBV = "ListBillingViews";
|
|
70
73
|
const _LBVR = "ListBillingViewsRequest";
|
|
71
74
|
const _LBVRi = "ListBillingViewsResponse";
|
|
75
|
+
const _LBVS = "ListBillingViewSegments";
|
|
76
|
+
const _LBVSR = "ListBillingViewSegmentsRequest";
|
|
77
|
+
const _LBVSRi = "ListBillingViewSegmentsResponse";
|
|
72
78
|
const _LESLAC = "ListEnterpriseSupportLinkedAccountCharges";
|
|
73
79
|
const _LESLACR = "ListEnterpriseSupportLinkedAccountChargesRequest";
|
|
74
80
|
const _LESLACRi = "ListEnterpriseSupportLinkedAccountChargesResponse";
|
|
@@ -135,6 +141,7 @@ const _bC = "baseCharge";
|
|
|
135
141
|
const _bD = "beginDate";
|
|
136
142
|
const _bDI = "beginDateInclusive";
|
|
137
143
|
const _bDi = "billDate";
|
|
144
|
+
const _bGPAI = "billingGroupPrimaryAccountId";
|
|
138
145
|
const _bM = "billingMonth";
|
|
139
146
|
const _bP = "billingPeriod";
|
|
140
147
|
const _bPED = "billingPeriodEndDate";
|
|
@@ -142,6 +149,7 @@ const _bPPK = "billingPreferencesPerKey";
|
|
|
142
149
|
const _bPSD = "billingPeriodStartDate";
|
|
143
150
|
const _bPi = "billingPreferences";
|
|
144
151
|
const _bS = "billableSeconds";
|
|
152
|
+
const _bTAI = "billingTransferAccountId";
|
|
145
153
|
const _bV = "billingView";
|
|
146
154
|
const _bVT = "billingViewType";
|
|
147
155
|
const _bVTi = "billingViewTypes";
|
|
@@ -170,9 +178,11 @@ const _dATMC = "discountAppliesToMinimumCharge";
|
|
|
170
178
|
const _dFE = "dataFilterExpression";
|
|
171
179
|
const _dVC = "derivedViewCount";
|
|
172
180
|
const _di = "dimensions";
|
|
181
|
+
const _do = "domain";
|
|
173
182
|
const _e = "error";
|
|
174
183
|
const _eA = "estimatedAmount";
|
|
175
184
|
const _eD = "endDate";
|
|
185
|
+
const _eDE = "endDateExclusive";
|
|
176
186
|
const _eDI = "endDateInclusive";
|
|
177
187
|
const _eDx = "exhaustDate";
|
|
178
188
|
const _f = "feature";
|
|
@@ -185,7 +195,7 @@ const _h = "http";
|
|
|
185
195
|
const _hE = "httpError";
|
|
186
196
|
const _hH = "httpHeader";
|
|
187
197
|
const _hS = "healthStatus";
|
|
188
|
-
const _i = "
|
|
198
|
+
const _i = "items";
|
|
189
199
|
const _iA = "initialAmount";
|
|
190
200
|
const _iC = "incrementCharge";
|
|
191
201
|
const _iCA = "isContractActive";
|
|
@@ -193,11 +203,13 @@ const _iE = "isEstimated";
|
|
|
193
203
|
const _iEB = "isEstimatedBill";
|
|
194
204
|
const _iG = "isGdn";
|
|
195
205
|
const _iT = "idempotencyToken";
|
|
196
|
-
const _in = "
|
|
206
|
+
const _in = "incremental";
|
|
207
|
+
const _inc = "increment";
|
|
197
208
|
const _k = "key";
|
|
198
209
|
const _lA = "linkedAccount";
|
|
199
210
|
const _lTP = "linkedTimePeriods";
|
|
200
211
|
const _m = "message";
|
|
212
|
+
const _mAI = "managementAccountId";
|
|
201
213
|
const _mC = "minimumCharge";
|
|
202
214
|
const _mR = "maxResults";
|
|
203
215
|
const _mo = "month";
|
|
@@ -269,10 +281,10 @@ const n0 = "com.amazonaws.billing";
|
|
|
269
281
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
270
282
|
import { BillingServiceException } from "../models/BillingServiceException";
|
|
271
283
|
import { AccessDeniedException, BillingViewHealthStatusException, ConflictException, InternalServerException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, ValidationException, } from "../models/errors";
|
|
272
|
-
const _s_registry = TypeRegistry
|
|
284
|
+
const _s_registry = new TypeRegistry(_s);
|
|
273
285
|
export var BillingServiceException$ = [-3, _s, "BillingServiceException", 0, [], []];
|
|
274
286
|
_s_registry.registerError(BillingServiceException$, BillingServiceException);
|
|
275
|
-
const n0_registry = TypeRegistry
|
|
287
|
+
const n0_registry = new TypeRegistry(n0);
|
|
276
288
|
export var AccessDeniedException$ = [-3, n0, _ADE,
|
|
277
289
|
{ [_aQE]: [`BillingAccessDenied`, 403], [_e]: _c, [_hE]: 403 },
|
|
278
290
|
[_m],
|
|
@@ -387,6 +399,16 @@ export var BillingViewListElement$ = [3, n0, _BVLE,
|
|
|
387
399
|
[_ar, _n, _d, _oAI, _sAI, _bVT, _hS],
|
|
388
400
|
[0, [() => BillingViewName, 0], [() => BillingViewDescription, 0], 0, 0, 0, () => BillingViewHealthStatus$]
|
|
389
401
|
];
|
|
402
|
+
export var BillingViewSegmentsListElement$ = [3, n0, _BVSLE,
|
|
403
|
+
0,
|
|
404
|
+
[_do, _tR, _bTAI, _mAI, _bGPAI],
|
|
405
|
+
[0, () => BillingViewSegmentTimeRange$, 0, 0, 0]
|
|
406
|
+
];
|
|
407
|
+
export var BillingViewSegmentTimeRange$ = [3, n0, _BVSTR,
|
|
408
|
+
0,
|
|
409
|
+
[_bDI, _eDE],
|
|
410
|
+
[4, 4]
|
|
411
|
+
];
|
|
390
412
|
export var ChargeAccount$ = [3, n0, _CA,
|
|
391
413
|
0,
|
|
392
414
|
[_aI, _cP],
|
|
@@ -532,6 +554,16 @@ export var LinkedAccountCharge$ = [3, n0, _LAC,
|
|
|
532
554
|
[_aI, _pAI, _bS, _tS, _tSES, _pTSES, _aTc, _lTP, _sTP, _tSERIS, _tSESPS, _sESBS],
|
|
533
555
|
[0, 0, 1, 1, 0, 0, 0, () => TimePeriodList, () => TimePeriodList, 0, 0, () => ServiceLevelAccountUsageList], 6
|
|
534
556
|
];
|
|
557
|
+
export var ListBillingViewSegmentsRequest$ = [3, n0, _LBVSR,
|
|
558
|
+
0,
|
|
559
|
+
[_tR, _ar, _mR, _nT],
|
|
560
|
+
[() => BillingViewSegmentTimeRange$, 0, 1, 0]
|
|
561
|
+
];
|
|
562
|
+
export var ListBillingViewSegmentsResponse$ = [3, n0, _LBVSRi,
|
|
563
|
+
0,
|
|
564
|
+
[_i, _nT],
|
|
565
|
+
[() => BillingViewSegmentsList, 0], 1
|
|
566
|
+
];
|
|
535
567
|
export var ListBillingViewsRequest$ = [3, n0, _LBVR,
|
|
536
568
|
0,
|
|
537
569
|
[_aTR, _arn, _bVTi, _na, _oAI, _sAI, _mR, _nT],
|
|
@@ -579,7 +611,7 @@ export var PricingPlan$ = [3, n0, _PP,
|
|
|
579
611
|
];
|
|
580
612
|
export var PricingPlanTier$ = [3, n0, _PPT,
|
|
581
613
|
0,
|
|
582
|
-
[_tM, _bC, _aPOAC, _aCA,
|
|
614
|
+
[_tM, _bC, _aPOAC, _aCA, _in, _tMi, _inc, _iC],
|
|
583
615
|
[0, 0, 0, 0, 2, 0, 0, 0], 5
|
|
584
616
|
];
|
|
585
617
|
export var RedeemCreditsRequest$ = [3, n0, _RCR,
|
|
@@ -681,6 +713,9 @@ var BillingViewList = [1, n0, _BVL,
|
|
|
681
713
|
0, [() => BillingViewListElement$,
|
|
682
714
|
0]
|
|
683
715
|
];
|
|
716
|
+
var BillingViewSegmentsList = [1, n0, _BVSL,
|
|
717
|
+
0, () => BillingViewSegmentsListElement$
|
|
718
|
+
];
|
|
684
719
|
var BillingViewSourceViewsList = 64 | 0;
|
|
685
720
|
var BillingViewStatusReasons = 64 | 0;
|
|
686
721
|
var BillingViewTypeList = 64 | 0;
|
|
@@ -762,6 +797,9 @@ export var GetResourcePolicy$ = [9, n0, _GRP,
|
|
|
762
797
|
export var ListBillingViews$ = [9, n0, _LBV,
|
|
763
798
|
{ [_h]: ["POST", "/", 200] }, () => ListBillingViewsRequest$, () => ListBillingViewsResponse$
|
|
764
799
|
];
|
|
800
|
+
export var ListBillingViewSegments$ = [9, n0, _LBVS,
|
|
801
|
+
0, () => ListBillingViewSegmentsRequest$, () => ListBillingViewSegmentsResponse$
|
|
802
|
+
];
|
|
765
803
|
export var ListEnterpriseSupportLinkedAccountCharges$ = [9, n0, _LESLAC,
|
|
766
804
|
0, () => ListEnterpriseSupportLinkedAccountChargesRequest$, () => ListEnterpriseSupportLinkedAccountChargesResponse$
|
|
767
805
|
];
|