@aws-sdk/client-billing 3.1138.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 +61 -4
- 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 +41 -3
- package/dist-types/Billing.d.ts +15 -0
- 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 +25 -0
- 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 +1 -1
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";
|
|
@@ -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";
|
|
@@ -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
|
];
|
package/dist-types/Billing.d.ts
CHANGED
|
@@ -12,6 +12,7 @@ import { type GetEnterpriseSupportChargeSummaryCommandInput, type GetEnterpriseS
|
|
|
12
12
|
import { type GetEnterpriseSupportContractDetailsCommandInput, type GetEnterpriseSupportContractDetailsCommandOutput } from "./commands/GetEnterpriseSupportContractDetailsCommand";
|
|
13
13
|
import { type GetResourcePolicyCommandInput, type GetResourcePolicyCommandOutput } from "./commands/GetResourcePolicyCommand";
|
|
14
14
|
import { type ListBillingViewsCommandInput, type ListBillingViewsCommandOutput } from "./commands/ListBillingViewsCommand";
|
|
15
|
+
import { type ListBillingViewSegmentsCommandInput, type ListBillingViewSegmentsCommandOutput } from "./commands/ListBillingViewSegmentsCommand";
|
|
15
16
|
import { type ListEnterpriseSupportLinkedAccountChargesCommandInput, type ListEnterpriseSupportLinkedAccountChargesCommandOutput } from "./commands/ListEnterpriseSupportLinkedAccountChargesCommand";
|
|
16
17
|
import { type ListSourceViewsForBillingViewCommandInput, type ListSourceViewsForBillingViewCommandOutput } from "./commands/ListSourceViewsForBillingViewCommand";
|
|
17
18
|
import { type ListTagsForResourceCommandInput, type ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
@@ -100,6 +101,13 @@ export interface Billing {
|
|
|
100
101
|
listBillingViews(args: ListBillingViewsCommandInput, options?: BillingRequestOptions): Promise<ListBillingViewsCommandOutput>;
|
|
101
102
|
listBillingViews(args: ListBillingViewsCommandInput, cb: (err: any, data?: ListBillingViewsCommandOutput) => void): void;
|
|
102
103
|
listBillingViews(args: ListBillingViewsCommandInput, options: BillingRequestOptions, cb: (err: any, data?: ListBillingViewsCommandOutput) => void): void;
|
|
104
|
+
/**
|
|
105
|
+
* @see {@link ListBillingViewSegmentsCommand}
|
|
106
|
+
*/
|
|
107
|
+
listBillingViewSegments(): Promise<ListBillingViewSegmentsCommandOutput>;
|
|
108
|
+
listBillingViewSegments(args: ListBillingViewSegmentsCommandInput, options?: BillingRequestOptions): Promise<ListBillingViewSegmentsCommandOutput>;
|
|
109
|
+
listBillingViewSegments(args: ListBillingViewSegmentsCommandInput, cb: (err: any, data?: ListBillingViewSegmentsCommandOutput) => void): void;
|
|
110
|
+
listBillingViewSegments(args: ListBillingViewSegmentsCommandInput, options: BillingRequestOptions, cb: (err: any, data?: ListBillingViewSegmentsCommandOutput) => void): void;
|
|
103
111
|
/**
|
|
104
112
|
* @see {@link ListEnterpriseSupportLinkedAccountChargesCommand}
|
|
105
113
|
*/
|
|
@@ -162,6 +170,13 @@ export interface Billing {
|
|
|
162
170
|
* @returns AsyncIterable of {@link ListBillingViewsCommandOutput}.
|
|
163
171
|
*/
|
|
164
172
|
paginateListBillingViews(args?: ListBillingViewsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListBillingViewsCommandOutput>;
|
|
173
|
+
/**
|
|
174
|
+
* @see {@link ListBillingViewSegmentsCommand}
|
|
175
|
+
* @param args - command input.
|
|
176
|
+
* @param paginationConfig - optional pagination config.
|
|
177
|
+
* @returns AsyncIterable of {@link ListBillingViewSegmentsCommandOutput}.
|
|
178
|
+
*/
|
|
179
|
+
paginateListBillingViewSegments(args?: ListBillingViewSegmentsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListBillingViewSegmentsCommandOutput>;
|
|
165
180
|
/**
|
|
166
181
|
* @see {@link ListEnterpriseSupportLinkedAccountChargesCommand}
|
|
167
182
|
* @param args - command input.
|
|
@@ -18,6 +18,7 @@ import type { GetEnterpriseSupportChargeSummaryCommandInput, GetEnterpriseSuppor
|
|
|
18
18
|
import type { GetEnterpriseSupportContractDetailsCommandInput, GetEnterpriseSupportContractDetailsCommandOutput } from "./commands/GetEnterpriseSupportContractDetailsCommand";
|
|
19
19
|
import type { GetResourcePolicyCommandInput, GetResourcePolicyCommandOutput } from "./commands/GetResourcePolicyCommand";
|
|
20
20
|
import type { ListBillingViewsCommandInput, ListBillingViewsCommandOutput } from "./commands/ListBillingViewsCommand";
|
|
21
|
+
import type { ListBillingViewSegmentsCommandInput, ListBillingViewSegmentsCommandOutput } from "./commands/ListBillingViewSegmentsCommand";
|
|
21
22
|
import type { ListEnterpriseSupportLinkedAccountChargesCommandInput, ListEnterpriseSupportLinkedAccountChargesCommandOutput } from "./commands/ListEnterpriseSupportLinkedAccountChargesCommand";
|
|
22
23
|
import type { ListSourceViewsForBillingViewCommandInput, ListSourceViewsForBillingViewCommandOutput } from "./commands/ListSourceViewsForBillingViewCommand";
|
|
23
24
|
import type { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
@@ -32,11 +33,11 @@ export { __Client };
|
|
|
32
33
|
/**
|
|
33
34
|
* @public
|
|
34
35
|
*/
|
|
35
|
-
export type ServiceInputTypes = AssociateSourceViewsCommandInput | CreateBillingViewCommandInput | DeleteBillingViewCommandInput | DisassociateSourceViewsCommandInput | GetBillingPreferencesCommandInput | GetBillingViewCommandInput | GetCreditAllocationHistoryCommandInput | GetCreditsCommandInput | GetEnterpriseSupportChargeSummaryCommandInput | GetEnterpriseSupportContractDetailsCommandInput | GetResourcePolicyCommandInput | ListBillingViewsCommandInput | ListEnterpriseSupportLinkedAccountChargesCommandInput | ListSourceViewsForBillingViewCommandInput | ListTagsForResourceCommandInput | RedeemCreditsCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateBillingPreferencesCommandInput | UpdateBillingViewCommandInput;
|
|
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;
|
|
36
37
|
/**
|
|
37
38
|
* @public
|
|
38
39
|
*/
|
|
39
|
-
export type ServiceOutputTypes = AssociateSourceViewsCommandOutput | CreateBillingViewCommandOutput | DeleteBillingViewCommandOutput | DisassociateSourceViewsCommandOutput | GetBillingPreferencesCommandOutput | GetBillingViewCommandOutput | GetCreditAllocationHistoryCommandOutput | GetCreditsCommandOutput | GetEnterpriseSupportChargeSummaryCommandOutput | GetEnterpriseSupportContractDetailsCommandOutput | GetResourcePolicyCommandOutput | ListBillingViewsCommandOutput | ListEnterpriseSupportLinkedAccountChargesCommandOutput | ListSourceViewsForBillingViewCommandOutput | ListTagsForResourceCommandOutput | RedeemCreditsCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateBillingPreferencesCommandOutput | UpdateBillingViewCommandOutput;
|
|
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;
|
|
40
41
|
/**
|
|
41
42
|
* @public
|
|
42
43
|
*/
|
|
@@ -0,0 +1,152 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { ListBillingViewSegmentsRequest, ListBillingViewSegmentsResponse } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link ListBillingViewSegmentsCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface ListBillingViewSegmentsCommandInput extends ListBillingViewSegmentsRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link ListBillingViewSegmentsCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface ListBillingViewSegmentsCommandOutput extends ListBillingViewSegmentsResponse, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const ListBillingViewSegmentsCommand_base: {
|
|
22
|
+
new (input: ListBillingViewSegmentsCommandInput): import("@smithy/core/client").CommandImpl<ListBillingViewSegmentsCommandInput, ListBillingViewSegmentsCommandOutput, import("..").BillingClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (...[input]: [] | [ListBillingViewSegmentsCommandInput]): import("@smithy/core/client").CommandImpl<ListBillingViewSegmentsCommandInput, ListBillingViewSegmentsCommandOutput, import("..").BillingClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Lists the segments of a billing view over a given time period. Each segment identifies the billing domain (<code>PRO_FORMA</code> or <code>BILLABLE</code>) and the account relationships that apply during its time range.</p> <p>If you don't provide an <code>arn</code>, the response includes segments for the caller's <code>PRIMARY</code> billing view.</p> <p>If a mid-period change occurs, the response includes multiple segments, each with its own time range. The response omits hidden segments, so the segments it returns might not cover the entire requested time period.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { BillingClient, ListBillingViewSegmentsCommand } from "@aws-sdk/client-billing"; // ES Modules import
|
|
32
|
+
* // const { BillingClient, ListBillingViewSegmentsCommand } = 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 = { // ListBillingViewSegmentsRequest
|
|
37
|
+
* timeRange: { // BillingViewSegmentTimeRange
|
|
38
|
+
* beginDateInclusive: new Date("TIMESTAMP"),
|
|
39
|
+
* endDateExclusive: new Date("TIMESTAMP"),
|
|
40
|
+
* },
|
|
41
|
+
* arn: "STRING_VALUE",
|
|
42
|
+
* maxResults: Number("int"),
|
|
43
|
+
* nextToken: "STRING_VALUE",
|
|
44
|
+
* };
|
|
45
|
+
* const command = new ListBillingViewSegmentsCommand(input);
|
|
46
|
+
* const response = await client.send(command);
|
|
47
|
+
* // { // ListBillingViewSegmentsResponse
|
|
48
|
+
* // items: [ // BillingViewSegmentsList // required
|
|
49
|
+
* // { // BillingViewSegmentsListElement
|
|
50
|
+
* // domain: "BILLABLE" || "PRO_FORMA",
|
|
51
|
+
* // timeRange: { // BillingViewSegmentTimeRange
|
|
52
|
+
* // beginDateInclusive: new Date("TIMESTAMP"),
|
|
53
|
+
* // endDateExclusive: new Date("TIMESTAMP"),
|
|
54
|
+
* // },
|
|
55
|
+
* // billingTransferAccountId: "STRING_VALUE",
|
|
56
|
+
* // managementAccountId: "STRING_VALUE",
|
|
57
|
+
* // billingGroupPrimaryAccountId: "STRING_VALUE",
|
|
58
|
+
* // },
|
|
59
|
+
* // ],
|
|
60
|
+
* // nextToken: "STRING_VALUE",
|
|
61
|
+
* // };
|
|
62
|
+
*
|
|
63
|
+
* ```
|
|
64
|
+
*
|
|
65
|
+
* @param ListBillingViewSegmentsCommandInput - {@link ListBillingViewSegmentsCommandInput}
|
|
66
|
+
* @returns {@link ListBillingViewSegmentsCommandOutput}
|
|
67
|
+
* @see {@link ListBillingViewSegmentsCommandInput} for command's `input` shape.
|
|
68
|
+
* @see {@link ListBillingViewSegmentsCommandOutput} for command's `response` shape.
|
|
69
|
+
* @see {@link BillingClientResolvedConfig | config} for BillingClient's `config` shape.
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
72
|
+
* <p>You don't have sufficient access to perform this action.</p>
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link BillingViewHealthStatusException} (client fault)
|
|
75
|
+
* <p> Exception thrown when a billing view's health status prevents an operation from being performed. This may occur if the billing view is in a state other than <code>HEALTHY</code>.</p>
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link InternalServerException} (server fault)
|
|
78
|
+
* <p>The request processing failed because of an unknown error, exception, or failure. </p>
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
81
|
+
* <p> The specified ARN in the request doesn't exist. </p>
|
|
82
|
+
*
|
|
83
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
84
|
+
* <p>The request was denied due to request throttling. </p>
|
|
85
|
+
*
|
|
86
|
+
* @throws {@link ValidationException} (client fault)
|
|
87
|
+
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services service. </p>
|
|
88
|
+
*
|
|
89
|
+
* @throws {@link BillingServiceException}
|
|
90
|
+
* <p>Base exception class for all service exceptions from Billing service.</p>
|
|
91
|
+
*
|
|
92
|
+
*
|
|
93
|
+
* @example Invoke ListBillingViewSegments
|
|
94
|
+
* ```javascript
|
|
95
|
+
* //
|
|
96
|
+
* const input = {
|
|
97
|
+
* timeRange: {
|
|
98
|
+
* beginDateInclusive: 1719792000,
|
|
99
|
+
* endDateExclusive: 1722470400
|
|
100
|
+
* }
|
|
101
|
+
* };
|
|
102
|
+
* const command = new ListBillingViewSegmentsCommand(input);
|
|
103
|
+
* const response = await client.send(command);
|
|
104
|
+
* /* response is
|
|
105
|
+
* {
|
|
106
|
+
* items: [
|
|
107
|
+
* {
|
|
108
|
+
* billingGroupPrimaryAccountId: "333333333333",
|
|
109
|
+
* billingTransferAccountId: "111111111111",
|
|
110
|
+
* domain: "BILLABLE",
|
|
111
|
+
* managementAccountId: "222222222222",
|
|
112
|
+
* timeRange: {
|
|
113
|
+
* beginDateInclusive: 1719792000,
|
|
114
|
+
* endDateExclusive: 1722470400
|
|
115
|
+
* }
|
|
116
|
+
* }
|
|
117
|
+
* ]
|
|
118
|
+
* }
|
|
119
|
+
* *\/
|
|
120
|
+
* ```
|
|
121
|
+
*
|
|
122
|
+
* @example Error example for ListBillingViewSegments
|
|
123
|
+
* ```javascript
|
|
124
|
+
* //
|
|
125
|
+
* const input = {
|
|
126
|
+
* timeRange: {
|
|
127
|
+
* beginDateInclusive: 1722470400,
|
|
128
|
+
* endDateExclusive: 1719792000
|
|
129
|
+
* }
|
|
130
|
+
* };
|
|
131
|
+
* const command = new ListBillingViewSegmentsCommand(input);
|
|
132
|
+
* const response = await client.send(command);
|
|
133
|
+
* /* response is
|
|
134
|
+
* { /* metadata only *\/ }
|
|
135
|
+
* *\/
|
|
136
|
+
* ```
|
|
137
|
+
*
|
|
138
|
+
* @public
|
|
139
|
+
*/
|
|
140
|
+
export declare class ListBillingViewSegmentsCommand extends ListBillingViewSegmentsCommand_base {
|
|
141
|
+
/** @internal type navigation helper, not in runtime. */
|
|
142
|
+
protected static __types: {
|
|
143
|
+
api: {
|
|
144
|
+
input: ListBillingViewSegmentsRequest;
|
|
145
|
+
output: ListBillingViewSegmentsResponse;
|
|
146
|
+
};
|
|
147
|
+
sdk: {
|
|
148
|
+
input: ListBillingViewSegmentsCommandInput;
|
|
149
|
+
output: ListBillingViewSegmentsCommandOutput;
|
|
150
|
+
};
|
|
151
|
+
};
|
|
152
|
+
}
|
|
@@ -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";
|
|
@@ -159,3 +159,15 @@ export declare const SearchOption: {
|
|
|
159
159
|
* @public
|
|
160
160
|
*/
|
|
161
161
|
export type SearchOption = (typeof SearchOption)[keyof typeof SearchOption];
|
|
162
|
+
/**
|
|
163
|
+
* @public
|
|
164
|
+
* @enum
|
|
165
|
+
*/
|
|
166
|
+
export declare const BillingDomain: {
|
|
167
|
+
readonly BILLABLE: "BILLABLE";
|
|
168
|
+
readonly PRO_FORMA: "PRO_FORMA";
|
|
169
|
+
};
|
|
170
|
+
/**
|
|
171
|
+
* @public
|
|
172
|
+
*/
|
|
173
|
+
export type BillingDomain = (typeof BillingDomain)[keyof typeof BillingDomain];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ApplicationType, BillingFeature, BillingFeatureFilterName, BillingViewStatus, BillingViewStatusReason, BillingViewType, CreditSharingType, CreditStatus, Dimension, PreferenceValue, SearchOption } from "./enums";
|
|
1
|
+
import type { ApplicationType, BillingDomain, BillingFeature, BillingFeatureFilterName, BillingViewStatus, BillingViewStatusReason, BillingViewType, CreditSharingType, CreditStatus, Dimension, PreferenceValue, SearchOption } from "./enums";
|
|
2
2
|
/**
|
|
3
3
|
* <p>A time range with a start and end time.</p>
|
|
4
4
|
* @public
|
|
@@ -1201,6 +1201,93 @@ export interface ListBillingViewsResponse {
|
|
|
1201
1201
|
*/
|
|
1202
1202
|
nextToken?: string | undefined;
|
|
1203
1203
|
}
|
|
1204
|
+
/**
|
|
1205
|
+
* <p> Specifies a time range with an inclusive begin date and an exclusive end date. </p>
|
|
1206
|
+
* @public
|
|
1207
|
+
*/
|
|
1208
|
+
export interface BillingViewSegmentTimeRange {
|
|
1209
|
+
/**
|
|
1210
|
+
* <p> The inclusive start of the time range. This value can't be in the future. </p>
|
|
1211
|
+
* @public
|
|
1212
|
+
*/
|
|
1213
|
+
beginDateInclusive?: Date | undefined;
|
|
1214
|
+
/**
|
|
1215
|
+
* <p> The exclusive end of the time range. This value must be after <code>beginDateInclusive</code>. </p>
|
|
1216
|
+
* @public
|
|
1217
|
+
*/
|
|
1218
|
+
endDateExclusive?: Date | undefined;
|
|
1219
|
+
}
|
|
1220
|
+
/**
|
|
1221
|
+
* @public
|
|
1222
|
+
*/
|
|
1223
|
+
export interface ListBillingViewSegmentsRequest {
|
|
1224
|
+
/**
|
|
1225
|
+
* <p> The billing period to query. If you don't provide a time range, the current billing period, which is the calendar month in UTC, is used. </p>
|
|
1226
|
+
* @public
|
|
1227
|
+
*/
|
|
1228
|
+
timeRange?: BillingViewSegmentTimeRange | undefined;
|
|
1229
|
+
/**
|
|
1230
|
+
* <p> The Amazon Resource Name (ARN) that uniquely identifies the billing view to query. If you don't provide an ARN, the caller's <code>PRIMARY</code> billing view is used. The ARN must reference a primary billing view. Custom billing views aren't supported. </p>
|
|
1231
|
+
* @public
|
|
1232
|
+
*/
|
|
1233
|
+
arn?: string | undefined;
|
|
1234
|
+
/**
|
|
1235
|
+
* <p> The number of entries a paginated response contains. Valid values range from 1 to 100. The default is 100. </p>
|
|
1236
|
+
* @public
|
|
1237
|
+
*/
|
|
1238
|
+
maxResults?: number | undefined;
|
|
1239
|
+
/**
|
|
1240
|
+
* <p> The pagination token that is used on subsequent calls to list billing view segments. </p>
|
|
1241
|
+
* @public
|
|
1242
|
+
*/
|
|
1243
|
+
nextToken?: string | undefined;
|
|
1244
|
+
}
|
|
1245
|
+
/**
|
|
1246
|
+
* <p> A billing view segment. A segment represents a time range during which the billing domain and account relationships for a billing view remained unchanged. </p>
|
|
1247
|
+
* @public
|
|
1248
|
+
*/
|
|
1249
|
+
export interface BillingViewSegmentsListElement {
|
|
1250
|
+
/**
|
|
1251
|
+
* <p>The billing domain for this segment. The following values are valid:</p> <ul> <li> <p> <code>PRO_FORMA</code> - Data shaped by Billing Conductor that doesn't reflect the final charges owed to Amazon Web Services.</p> </li> <li> <p> <code>BILLABLE</code> - Data that represents the final charges owed to Amazon Web Services.</p> </li> </ul>
|
|
1252
|
+
* @public
|
|
1253
|
+
*/
|
|
1254
|
+
domain?: BillingDomain | undefined;
|
|
1255
|
+
/**
|
|
1256
|
+
* <p> The time range during which this segment is effective. </p>
|
|
1257
|
+
* @public
|
|
1258
|
+
*/
|
|
1259
|
+
timeRange?: BillingViewSegmentTimeRange | undefined;
|
|
1260
|
+
/**
|
|
1261
|
+
* <p> The billing transfer account ID. The response includes this field only when the caller is a billing transfer source account. The response omits this field for billing group billing views. </p>
|
|
1262
|
+
* @public
|
|
1263
|
+
*/
|
|
1264
|
+
billingTransferAccountId?: string | undefined;
|
|
1265
|
+
/**
|
|
1266
|
+
* <p> The management account ID of the organization. The response includes this field for organization member accounts. </p>
|
|
1267
|
+
* @public
|
|
1268
|
+
*/
|
|
1269
|
+
managementAccountId?: string | undefined;
|
|
1270
|
+
/**
|
|
1271
|
+
* <p> The billing group primary account ID. The response includes this field for billing group members. Compare this value to your own account ID to determine whether you are the primary account. </p>
|
|
1272
|
+
* @public
|
|
1273
|
+
*/
|
|
1274
|
+
billingGroupPrimaryAccountId?: string | undefined;
|
|
1275
|
+
}
|
|
1276
|
+
/**
|
|
1277
|
+
* @public
|
|
1278
|
+
*/
|
|
1279
|
+
export interface ListBillingViewSegmentsResponse {
|
|
1280
|
+
/**
|
|
1281
|
+
* <p> A list of billing view segments. Each segment covers a portion of the requested time period. The response omits hidden segments, so the segments it returns might not cover the entire requested time period. </p>
|
|
1282
|
+
* @public
|
|
1283
|
+
*/
|
|
1284
|
+
items: BillingViewSegmentsListElement[] | undefined;
|
|
1285
|
+
/**
|
|
1286
|
+
* <p> The pagination token that is used on subsequent calls to list billing view segments. </p>
|
|
1287
|
+
* @public
|
|
1288
|
+
*/
|
|
1289
|
+
nextToken?: string | undefined;
|
|
1290
|
+
}
|
|
1204
1291
|
/**
|
|
1205
1292
|
* <p>The request structure for ListEnterpriseSupportLinkedAccountCharges.</p>
|
|
1206
1293
|
* @public
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { Paginator } from "@smithy/types";
|
|
2
|
+
import { ListBillingViewSegmentsCommandInput, ListBillingViewSegmentsCommandOutput } from "../commands/ListBillingViewSegmentsCommand";
|
|
3
|
+
import type { BillingPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare const paginateListBillingViewSegments: (config: BillingPaginationConfiguration, input: ListBillingViewSegmentsCommandInput, ...rest: any[]) => Paginator<ListBillingViewSegmentsCommandOutput>;
|
|
@@ -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";
|
|
@@ -27,6 +27,8 @@ export declare var BillingPreferenceSummary$: StaticStructureSchema;
|
|
|
27
27
|
export declare var BillingViewElement$: StaticStructureSchema;
|
|
28
28
|
export declare var BillingViewHealthStatus$: StaticStructureSchema;
|
|
29
29
|
export declare var BillingViewListElement$: StaticStructureSchema;
|
|
30
|
+
export declare var BillingViewSegmentsListElement$: StaticStructureSchema;
|
|
31
|
+
export declare var BillingViewSegmentTimeRange$: StaticStructureSchema;
|
|
30
32
|
export declare var ChargeAccount$: StaticStructureSchema;
|
|
31
33
|
export declare var ContractAccount$: StaticStructureSchema;
|
|
32
34
|
export declare var CostCategoryValues$: StaticStructureSchema;
|
|
@@ -56,6 +58,8 @@ export declare var GetEnterpriseSupportContractDetailsResponse$: StaticStructure
|
|
|
56
58
|
export declare var GetResourcePolicyRequest$: StaticStructureSchema;
|
|
57
59
|
export declare var GetResourcePolicyResponse$: StaticStructureSchema;
|
|
58
60
|
export declare var LinkedAccountCharge$: StaticStructureSchema;
|
|
61
|
+
export declare var ListBillingViewSegmentsRequest$: StaticStructureSchema;
|
|
62
|
+
export declare var ListBillingViewSegmentsResponse$: StaticStructureSchema;
|
|
59
63
|
export declare var ListBillingViewsRequest$: StaticStructureSchema;
|
|
60
64
|
export declare var ListBillingViewsResponse$: StaticStructureSchema;
|
|
61
65
|
export declare var ListEnterpriseSupportLinkedAccountChargesRequest$: StaticStructureSchema;
|
|
@@ -94,6 +98,7 @@ export declare var GetEnterpriseSupportChargeSummary$: StaticOperationSchema;
|
|
|
94
98
|
export declare var GetEnterpriseSupportContractDetails$: StaticOperationSchema;
|
|
95
99
|
export declare var GetResourcePolicy$: StaticOperationSchema;
|
|
96
100
|
export declare var ListBillingViews$: StaticOperationSchema;
|
|
101
|
+
export declare var ListBillingViewSegments$: StaticOperationSchema;
|
|
97
102
|
export declare var ListEnterpriseSupportLinkedAccountCharges$: StaticOperationSchema;
|
|
98
103
|
export declare var ListSourceViewsForBillingView$: StaticOperationSchema;
|
|
99
104
|
export declare var ListTagsForResource$: StaticOperationSchema;
|
|
@@ -50,6 +50,10 @@ import {
|
|
|
50
50
|
ListBillingViewsCommandInput,
|
|
51
51
|
ListBillingViewsCommandOutput,
|
|
52
52
|
} from "./commands/ListBillingViewsCommand";
|
|
53
|
+
import {
|
|
54
|
+
ListBillingViewSegmentsCommandInput,
|
|
55
|
+
ListBillingViewSegmentsCommandOutput,
|
|
56
|
+
} from "./commands/ListBillingViewSegmentsCommand";
|
|
53
57
|
import {
|
|
54
58
|
ListEnterpriseSupportLinkedAccountChargesCommandInput,
|
|
55
59
|
ListEnterpriseSupportLinkedAccountChargesCommandOutput,
|
|
@@ -240,6 +244,20 @@ export interface Billing {
|
|
|
240
244
|
options: BillingRequestOptions,
|
|
241
245
|
cb: (err: any, data?: ListBillingViewsCommandOutput) => void,
|
|
242
246
|
): void;
|
|
247
|
+
listBillingViewSegments(): Promise<ListBillingViewSegmentsCommandOutput>;
|
|
248
|
+
listBillingViewSegments(
|
|
249
|
+
args: ListBillingViewSegmentsCommandInput,
|
|
250
|
+
options?: BillingRequestOptions,
|
|
251
|
+
): Promise<ListBillingViewSegmentsCommandOutput>;
|
|
252
|
+
listBillingViewSegments(
|
|
253
|
+
args: ListBillingViewSegmentsCommandInput,
|
|
254
|
+
cb: (err: any, data?: ListBillingViewSegmentsCommandOutput) => void,
|
|
255
|
+
): void;
|
|
256
|
+
listBillingViewSegments(
|
|
257
|
+
args: ListBillingViewSegmentsCommandInput,
|
|
258
|
+
options: BillingRequestOptions,
|
|
259
|
+
cb: (err: any, data?: ListBillingViewSegmentsCommandOutput) => void,
|
|
260
|
+
): void;
|
|
243
261
|
listEnterpriseSupportLinkedAccountCharges(
|
|
244
262
|
args: ListEnterpriseSupportLinkedAccountChargesCommandInput,
|
|
245
263
|
options?: BillingRequestOptions,
|
|
@@ -358,6 +376,13 @@ export interface Billing {
|
|
|
358
376
|
Exclude<keyof PaginationConfiguration, "client">
|
|
359
377
|
>,
|
|
360
378
|
): Paginator<ListBillingViewsCommandOutput>;
|
|
379
|
+
paginateListBillingViewSegments(
|
|
380
|
+
args?: ListBillingViewSegmentsCommandInput,
|
|
381
|
+
paginationConfig?: Pick<
|
|
382
|
+
PaginationConfiguration,
|
|
383
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
384
|
+
>,
|
|
385
|
+
): Paginator<ListBillingViewSegmentsCommandOutput>;
|
|
361
386
|
paginateListEnterpriseSupportLinkedAccountCharges(
|
|
362
387
|
args: ListEnterpriseSupportLinkedAccountChargesCommandInput,
|
|
363
388
|
paginationConfig?: Pick<
|
|
@@ -78,6 +78,10 @@ import {
|
|
|
78
78
|
ListBillingViewsCommandInput,
|
|
79
79
|
ListBillingViewsCommandOutput,
|
|
80
80
|
} from "./commands/ListBillingViewsCommand";
|
|
81
|
+
import {
|
|
82
|
+
ListBillingViewSegmentsCommandInput,
|
|
83
|
+
ListBillingViewSegmentsCommandOutput,
|
|
84
|
+
} from "./commands/ListBillingViewSegmentsCommand";
|
|
81
85
|
import {
|
|
82
86
|
ListEnterpriseSupportLinkedAccountChargesCommandInput,
|
|
83
87
|
ListEnterpriseSupportLinkedAccountChargesCommandOutput,
|
|
@@ -126,6 +130,7 @@ export type ServiceInputTypes =
|
|
|
126
130
|
| GetEnterpriseSupportChargeSummaryCommandInput
|
|
127
131
|
| GetEnterpriseSupportContractDetailsCommandInput
|
|
128
132
|
| GetResourcePolicyCommandInput
|
|
133
|
+
| ListBillingViewSegmentsCommandInput
|
|
129
134
|
| ListBillingViewsCommandInput
|
|
130
135
|
| ListEnterpriseSupportLinkedAccountChargesCommandInput
|
|
131
136
|
| ListSourceViewsForBillingViewCommandInput
|
|
@@ -147,6 +152,7 @@ export type ServiceOutputTypes =
|
|
|
147
152
|
| GetEnterpriseSupportChargeSummaryCommandOutput
|
|
148
153
|
| GetEnterpriseSupportContractDetailsCommandOutput
|
|
149
154
|
| GetResourcePolicyCommandOutput
|
|
155
|
+
| ListBillingViewSegmentsCommandOutput
|
|
150
156
|
| ListBillingViewsCommandOutput
|
|
151
157
|
| ListEnterpriseSupportLinkedAccountChargesCommandOutput
|
|
152
158
|
| ListSourceViewsForBillingViewCommandOutput
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
ListBillingViewSegmentsRequest,
|
|
4
|
+
ListBillingViewSegmentsResponse,
|
|
5
|
+
} from "../models/models_0";
|
|
6
|
+
export { __MetadataBearer };
|
|
7
|
+
export interface ListBillingViewSegmentsCommandInput extends ListBillingViewSegmentsRequest {}
|
|
8
|
+
export interface ListBillingViewSegmentsCommandOutput
|
|
9
|
+
extends ListBillingViewSegmentsResponse, __MetadataBearer {}
|
|
10
|
+
declare const ListBillingViewSegmentsCommand_base: {
|
|
11
|
+
new (
|
|
12
|
+
input: ListBillingViewSegmentsCommandInput,
|
|
13
|
+
): import("@smithy/core/client").CommandImpl<
|
|
14
|
+
ListBillingViewSegmentsCommandInput,
|
|
15
|
+
ListBillingViewSegmentsCommandOutput,
|
|
16
|
+
import("..").BillingClientResolvedConfig,
|
|
17
|
+
import("..").ServiceInputTypes,
|
|
18
|
+
import("..").ServiceOutputTypes
|
|
19
|
+
>;
|
|
20
|
+
new (
|
|
21
|
+
...[input]: [] | [ListBillingViewSegmentsCommandInput]
|
|
22
|
+
): import("@smithy/core/client").CommandImpl<
|
|
23
|
+
ListBillingViewSegmentsCommandInput,
|
|
24
|
+
ListBillingViewSegmentsCommandOutput,
|
|
25
|
+
import("..").BillingClientResolvedConfig,
|
|
26
|
+
import("..").ServiceInputTypes,
|
|
27
|
+
import("..").ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
|
+
};
|
|
31
|
+
export declare class ListBillingViewSegmentsCommand extends ListBillingViewSegmentsCommand_base {
|
|
32
|
+
protected static __types: {
|
|
33
|
+
api: {
|
|
34
|
+
input: ListBillingViewSegmentsRequest;
|
|
35
|
+
output: ListBillingViewSegmentsResponse;
|
|
36
|
+
};
|
|
37
|
+
sdk: {
|
|
38
|
+
input: ListBillingViewSegmentsCommandInput;
|
|
39
|
+
output: ListBillingViewSegmentsCommandOutput;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
}
|
|
@@ -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";
|
|
@@ -78,3 +78,8 @@ export declare const SearchOption: {
|
|
|
78
78
|
readonly STARTS_WITH: "STARTS_WITH";
|
|
79
79
|
};
|
|
80
80
|
export type SearchOption = (typeof SearchOption)[keyof typeof SearchOption];
|
|
81
|
+
export declare const BillingDomain: {
|
|
82
|
+
readonly BILLABLE: "BILLABLE";
|
|
83
|
+
readonly PRO_FORMA: "PRO_FORMA";
|
|
84
|
+
};
|
|
85
|
+
export type BillingDomain = (typeof BillingDomain)[keyof typeof BillingDomain];
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ApplicationType,
|
|
3
|
+
BillingDomain,
|
|
3
4
|
BillingFeature,
|
|
4
5
|
BillingFeatureFilterName,
|
|
5
6
|
BillingViewStatus,
|
|
@@ -293,6 +294,27 @@ export interface ListBillingViewsResponse {
|
|
|
293
294
|
billingViews: BillingViewListElement[] | undefined;
|
|
294
295
|
nextToken?: string | undefined;
|
|
295
296
|
}
|
|
297
|
+
export interface BillingViewSegmentTimeRange {
|
|
298
|
+
beginDateInclusive?: Date | undefined;
|
|
299
|
+
endDateExclusive?: Date | undefined;
|
|
300
|
+
}
|
|
301
|
+
export interface ListBillingViewSegmentsRequest {
|
|
302
|
+
timeRange?: BillingViewSegmentTimeRange | undefined;
|
|
303
|
+
arn?: string | undefined;
|
|
304
|
+
maxResults?: number | undefined;
|
|
305
|
+
nextToken?: string | undefined;
|
|
306
|
+
}
|
|
307
|
+
export interface BillingViewSegmentsListElement {
|
|
308
|
+
domain?: BillingDomain | undefined;
|
|
309
|
+
timeRange?: BillingViewSegmentTimeRange | undefined;
|
|
310
|
+
billingTransferAccountId?: string | undefined;
|
|
311
|
+
managementAccountId?: string | undefined;
|
|
312
|
+
billingGroupPrimaryAccountId?: string | undefined;
|
|
313
|
+
}
|
|
314
|
+
export interface ListBillingViewSegmentsResponse {
|
|
315
|
+
items: BillingViewSegmentsListElement[] | undefined;
|
|
316
|
+
nextToken?: string | undefined;
|
|
317
|
+
}
|
|
296
318
|
export interface ListEnterpriseSupportLinkedAccountChargesRequest {
|
|
297
319
|
billingMonth: string | undefined;
|
|
298
320
|
accountId?: string | undefined;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
ListBillingViewSegmentsCommandInput,
|
|
4
|
+
ListBillingViewSegmentsCommandOutput,
|
|
5
|
+
} from "../commands/ListBillingViewSegmentsCommand";
|
|
6
|
+
import { BillingPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare const paginateListBillingViewSegments: (
|
|
8
|
+
config: BillingPaginationConfiguration,
|
|
9
|
+
input: ListBillingViewSegmentsCommandInput,
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListBillingViewSegmentsCommandOutput>;
|
|
@@ -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";
|
|
@@ -22,6 +22,8 @@ export declare var BillingPreferenceSummary$: StaticStructureSchema;
|
|
|
22
22
|
export declare var BillingViewElement$: StaticStructureSchema;
|
|
23
23
|
export declare var BillingViewHealthStatus$: StaticStructureSchema;
|
|
24
24
|
export declare var BillingViewListElement$: StaticStructureSchema;
|
|
25
|
+
export declare var BillingViewSegmentsListElement$: StaticStructureSchema;
|
|
26
|
+
export declare var BillingViewSegmentTimeRange$: StaticStructureSchema;
|
|
25
27
|
export declare var ChargeAccount$: StaticStructureSchema;
|
|
26
28
|
export declare var ContractAccount$: StaticStructureSchema;
|
|
27
29
|
export declare var CostCategoryValues$: StaticStructureSchema;
|
|
@@ -51,6 +53,8 @@ export declare var GetEnterpriseSupportContractDetailsResponse$: StaticStructure
|
|
|
51
53
|
export declare var GetResourcePolicyRequest$: StaticStructureSchema;
|
|
52
54
|
export declare var GetResourcePolicyResponse$: StaticStructureSchema;
|
|
53
55
|
export declare var LinkedAccountCharge$: StaticStructureSchema;
|
|
56
|
+
export declare var ListBillingViewSegmentsRequest$: StaticStructureSchema;
|
|
57
|
+
export declare var ListBillingViewSegmentsResponse$: StaticStructureSchema;
|
|
54
58
|
export declare var ListBillingViewsRequest$: StaticStructureSchema;
|
|
55
59
|
export declare var ListBillingViewsResponse$: StaticStructureSchema;
|
|
56
60
|
export declare var ListEnterpriseSupportLinkedAccountChargesRequest$: StaticStructureSchema;
|
|
@@ -89,6 +93,7 @@ export declare var GetEnterpriseSupportChargeSummary$: StaticOperationSchema;
|
|
|
89
93
|
export declare var GetEnterpriseSupportContractDetails$: StaticOperationSchema;
|
|
90
94
|
export declare var GetResourcePolicy$: StaticOperationSchema;
|
|
91
95
|
export declare var ListBillingViews$: StaticOperationSchema;
|
|
96
|
+
export declare var ListBillingViewSegments$: StaticOperationSchema;
|
|
92
97
|
export declare var ListEnterpriseSupportLinkedAccountCharges$: StaticOperationSchema;
|
|
93
98
|
export declare var ListSourceViewsForBillingView$: StaticOperationSchema;
|
|
94
99
|
export declare var ListTagsForResource$: StaticOperationSchema;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-billing",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1139.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Billing Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-billing",
|
|
6
6
|
"license": "Apache-2.0",
|