@aws-sdk/client-billing 3.1141.0 → 3.1142.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (31) hide show
  1. package/README.md +14 -0
  2. package/dist-cjs/index.js +142 -11
  3. package/dist-es/Billing.js +8 -0
  4. package/dist-es/commands/ListBusinessSupportAccountChargesCommand.js +4 -0
  5. package/dist-es/commands/ListBusinessSupportSubscriptionHistoryCommand.js +4 -0
  6. package/dist-es/commands/index.js +2 -0
  7. package/dist-es/pagination/ListBusinessSupportAccountChargesPaginator.js +4 -0
  8. package/dist-es/pagination/ListBusinessSupportSubscriptionHistoryPaginator.js +4 -0
  9. package/dist-es/pagination/index.js +2 -0
  10. package/dist-es/schemas/schemas_0.js +112 -10
  11. package/dist-types/Billing.d.ts +29 -0
  12. package/dist-types/BillingClient.d.ts +4 -2
  13. package/dist-types/commands/ListBusinessSupportAccountChargesCommand.d.ts +127 -0
  14. package/dist-types/commands/ListBusinessSupportSubscriptionHistoryCommand.d.ts +99 -0
  15. package/dist-types/commands/index.d.ts +2 -0
  16. package/dist-types/models/models_0.d.ts +282 -3
  17. package/dist-types/pagination/ListBusinessSupportAccountChargesPaginator.d.ts +7 -0
  18. package/dist-types/pagination/ListBusinessSupportSubscriptionHistoryPaginator.d.ts +7 -0
  19. package/dist-types/pagination/index.d.ts +2 -0
  20. package/dist-types/schemas/schemas_0.d.ts +11 -0
  21. package/dist-types/ts3.4/Billing.d.ts +49 -0
  22. package/dist-types/ts3.4/BillingClient.d.ts +12 -0
  23. package/dist-types/ts3.4/commands/ListBusinessSupportAccountChargesCommand.d.ts +42 -0
  24. package/dist-types/ts3.4/commands/ListBusinessSupportSubscriptionHistoryCommand.d.ts +42 -0
  25. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  26. package/dist-types/ts3.4/models/models_0.d.ts +63 -0
  27. package/dist-types/ts3.4/pagination/ListBusinessSupportAccountChargesPaginator.d.ts +11 -0
  28. package/dist-types/ts3.4/pagination/ListBusinessSupportSubscriptionHistoryPaginator.d.ts +11 -0
  29. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  30. package/dist-types/ts3.4/schemas/schemas_0.d.ts +11 -0
  31. package/package.json +1 -1
@@ -895,7 +895,7 @@ export interface GetEnterpriseSupportChargeSummaryResponse {
895
895
  */
896
896
  billingPeriodEndDate: Date | undefined;
897
897
  /**
898
- * <p>When true, the Support charge amount is estimated. When false, the Support charge amount is finalized.</p>
898
+ * <p>Specifies whether the Support charge amount is estimated. When false, the charge amount is finalized.</p>
899
899
  * @public
900
900
  */
901
901
  isEstimated: boolean | undefined;
@@ -1288,6 +1288,285 @@ export interface ListBillingViewSegmentsResponse {
1288
1288
  */
1289
1289
  nextToken?: string | undefined;
1290
1290
  }
1291
+ /**
1292
+ * <p>Contains the billing month and optional filters used to retrieve Business Support charges broken down by linked account.</p>
1293
+ * @public
1294
+ */
1295
+ export interface ListBusinessSupportAccountChargesRequest {
1296
+ /**
1297
+ * <p>The billing month to retrieve Business Support charges for, in YYYY-MM format. You can request the current month (charges will be estimated) or a past month (charges will be finalized).</p>
1298
+ * @public
1299
+ */
1300
+ billingMonth: string | undefined;
1301
+ /**
1302
+ * <p>The linked account ID to filter results to a specific account. If you don't specify a value, the response includes charges for all linked accounts.</p>
1303
+ * @public
1304
+ */
1305
+ accountId?: string | undefined;
1306
+ /**
1307
+ * <p>The maximum number of results to return per page. Default is 100.</p>
1308
+ * @public
1309
+ */
1310
+ maxResults?: number | undefined;
1311
+ /**
1312
+ * <p>The pagination token for the next page of results.</p>
1313
+ * @public
1314
+ */
1315
+ nextToken?: string | undefined;
1316
+ }
1317
+ /**
1318
+ * <p>A discount applied to a Business Support account charge, including the discount amount, percentage, type, and source.</p>
1319
+ * @public
1320
+ */
1321
+ export interface BusinessSupportDiscount {
1322
+ /**
1323
+ * <p>The discount amount applied to the Business Support charge. This value is negative, representing a reduction in the charge.</p>
1324
+ * @public
1325
+ */
1326
+ discountAmount?: string | undefined;
1327
+ /**
1328
+ * <p>The discount percentage applied to the Business Support charge, expressed as a decimal (for example, <code>0.12</code> for a 12% discount).</p>
1329
+ * @public
1330
+ */
1331
+ discountPercentage?: string | undefined;
1332
+ /**
1333
+ * <p>The type of discount applied. Valid values: <code>Distributor_Discount</code> (a discount applied through a distributor arrangement), <code>SPP_Discount</code> (a discount applied through the Solution Provider Program).</p>
1334
+ * @public
1335
+ */
1336
+ discountType?: string | undefined;
1337
+ /**
1338
+ * <p>The source or program through which the discount was applied.</p>
1339
+ * @public
1340
+ */
1341
+ discountSource?: string | undefined;
1342
+ }
1343
+ /**
1344
+ * <p>A service-level spend entry contributing to Business Support eligible spend.</p>
1345
+ * @public
1346
+ */
1347
+ export interface BusinessSupportServiceSpend {
1348
+ /**
1349
+ * <p>The name of the Amazon Web Services service contributing to the Support-eligible spend.</p>
1350
+ * @public
1351
+ */
1352
+ contributingService: string | undefined;
1353
+ /**
1354
+ * <p>The type of the line item. Valid values: <code>Usage</code>.</p>
1355
+ * @public
1356
+ */
1357
+ itemType: string | undefined;
1358
+ /**
1359
+ * <p>A human-readable description of the service spend entry.</p>
1360
+ * @public
1361
+ */
1362
+ description?: string | undefined;
1363
+ /**
1364
+ * <p>The Support-eligible spend amount for this service.</p>
1365
+ * @public
1366
+ */
1367
+ chargeAmount: string | undefined;
1368
+ /**
1369
+ * <p>The ISO 4217 currency code for the charge amount (for example, <code>USD</code>).</p>
1370
+ * @public
1371
+ */
1372
+ currency: string | undefined;
1373
+ }
1374
+ /**
1375
+ * <p>A tier-level charge within a Business Support pricing plan. Business Support uses tiered pricing where different percentage rates apply to different ranges of Support-eligible spend.</p>
1376
+ * @public
1377
+ */
1378
+ export interface BusinessSupportTierCharge {
1379
+ /**
1380
+ * <p>A human-readable description of the pricing tier, including the spend range and percentage rate applied.</p>
1381
+ * @public
1382
+ */
1383
+ tierDescription: string | undefined;
1384
+ /**
1385
+ * <p>The percentage rate applied to Support-eligible spend within this pricing tier.</p>
1386
+ * @public
1387
+ */
1388
+ tierRate: string | undefined;
1389
+ /**
1390
+ * <p>The amount of Support-eligible spend that falls within this pricing tier.</p>
1391
+ * @public
1392
+ */
1393
+ usageSlice: string | undefined;
1394
+ /**
1395
+ * <p>The Business Support charge amount calculated for this pricing tier.</p>
1396
+ * @public
1397
+ */
1398
+ tierCharge: string | undefined;
1399
+ /**
1400
+ * <p>The start date of the charge period for this tier charge.</p>
1401
+ * @public
1402
+ */
1403
+ chargePeriodStartDate?: Date | undefined;
1404
+ /**
1405
+ * <p>The end date of the charge period for this tier charge.</p>
1406
+ * @public
1407
+ */
1408
+ chargePeriodEndDate?: Date | undefined;
1409
+ }
1410
+ /**
1411
+ * <p>Business Support charges for a linked account.</p>
1412
+ * @public
1413
+ */
1414
+ export interface BusinessSupportAccountCharge {
1415
+ /**
1416
+ * <p>The linked account ID.</p>
1417
+ * @public
1418
+ */
1419
+ accountId: string | undefined;
1420
+ /**
1421
+ * <p>The Support plan name for this account. Valid values: <code>AWSSupportBusiness</code> (Business Support plan), <code>AWSSupportDeveloper</code> (Developer Support plan), <code>AWSSupportEssential</code> (Basic Support plan).</p>
1422
+ * @public
1423
+ */
1424
+ supportPlanName: string | undefined;
1425
+ /**
1426
+ * <p>The total Business Support charge amount for this account in the billing month.</p>
1427
+ * @public
1428
+ */
1429
+ totalCharge: string | undefined;
1430
+ /**
1431
+ * <p>The total Support-eligible spend used as the basis for calculating the Business Support charge for this account.</p>
1432
+ * @public
1433
+ */
1434
+ totalUsageBasis: string | undefined;
1435
+ /**
1436
+ * <p>The tier-level charges that make up the total Business Support charge for this account. Each tier represents a spend range with its own rate.</p>
1437
+ * @public
1438
+ */
1439
+ tierCharges?: BusinessSupportTierCharge[] | undefined;
1440
+ /**
1441
+ * <p>The discount applied to the Business Support charge for this account, if any. This field is absent when no discount applies.</p>
1442
+ * @public
1443
+ */
1444
+ supportDiscount?: BusinessSupportDiscount | undefined;
1445
+ /**
1446
+ * <p>The Support-eligible spend broken down by contributing service for this account.</p>
1447
+ * @public
1448
+ */
1449
+ supportEligibleSpendByService?: BusinessSupportServiceSpend[] | undefined;
1450
+ }
1451
+ /**
1452
+ * <p>Contains the Business Support charges broken down by linked account for the specified billing month, along with account and spend totals.</p>
1453
+ * @public
1454
+ */
1455
+ export interface ListBusinessSupportAccountChargesResponse {
1456
+ /**
1457
+ * <p>The billing month for the returned charges, in YYYY-MM format.</p>
1458
+ * @public
1459
+ */
1460
+ billingMonth: string | undefined;
1461
+ /**
1462
+ * <p>Specifies whether the Support charge amount is estimated. When false, the charge amount is finalized.</p>
1463
+ * @public
1464
+ */
1465
+ isEstimated: boolean | undefined;
1466
+ /**
1467
+ * <p>The total Business Support charge amount for all accounts in the billing month.</p>
1468
+ * @public
1469
+ */
1470
+ totalSupportCharge: string | undefined;
1471
+ /**
1472
+ * <p>The total Support-eligible spend from all accounts in the billing month. This includes eligible spend from usage of Amazon Web Services.</p>
1473
+ * @public
1474
+ */
1475
+ totalSupportEligibleSpend: string | undefined;
1476
+ /**
1477
+ * <p>The total number of linked accounts with Business Support charges in the billing month.</p>
1478
+ * @public
1479
+ */
1480
+ accountCount: number | undefined;
1481
+ /**
1482
+ * <p>The list of Business Support charges per linked account.</p>
1483
+ * @public
1484
+ */
1485
+ accountCharges: BusinessSupportAccountCharge[] | undefined;
1486
+ /**
1487
+ * <p>The pagination token for the next page of results.</p>
1488
+ * @public
1489
+ */
1490
+ nextToken?: string | undefined;
1491
+ }
1492
+ /**
1493
+ * <p>Contains the optional filters used to retrieve the history of Business Support subscription contracts across accounts.</p>
1494
+ * @public
1495
+ */
1496
+ export interface ListBusinessSupportSubscriptionHistoryRequest {
1497
+ /**
1498
+ * <p>The billing month to retrieve subscription contracts for, in YYYY-MM format. If you don't specify a value, defaults to the current month.</p>
1499
+ * @public
1500
+ */
1501
+ billingMonth?: string | undefined;
1502
+ /**
1503
+ * <p>The account ID to filter results to a specific account. If you don't specify a value, the response includes subscription history for all accounts.</p>
1504
+ * @public
1505
+ */
1506
+ accountId?: string | undefined;
1507
+ /**
1508
+ * <p>The start date to filter subscription contracts from.</p>
1509
+ * @public
1510
+ */
1511
+ startDate?: Date | undefined;
1512
+ /**
1513
+ * <p>The end date to filter subscription contracts to.</p>
1514
+ * @public
1515
+ */
1516
+ endDate?: Date | undefined;
1517
+ /**
1518
+ * <p>The maximum number of results to return per page. Default is 100.</p>
1519
+ * @public
1520
+ */
1521
+ maxResults?: number | undefined;
1522
+ /**
1523
+ * <p>The pagination token for the next page of results.</p>
1524
+ * @public
1525
+ */
1526
+ nextToken?: string | undefined;
1527
+ }
1528
+ /**
1529
+ * <p>A Business Support subscription contract for an account.</p>
1530
+ * @public
1531
+ */
1532
+ export interface BusinessSupportSubscriptionContract {
1533
+ /**
1534
+ * <p>The account ID associated with this subscription contract.</p>
1535
+ * @public
1536
+ */
1537
+ accountId: string | undefined;
1538
+ /**
1539
+ * <p>The name of the Support plan for this subscription contract. Valid values: <code>AWSSupportBusiness</code> (Business Support plan), <code>AWSSupportDeveloper</code> (Developer Support plan), <code>AWSSupportEssential</code> (Basic Support plan).</p>
1540
+ * @public
1541
+ */
1542
+ planName: string | undefined;
1543
+ /**
1544
+ * <p>The start date of the subscription contract.</p>
1545
+ * @public
1546
+ */
1547
+ contractStartDate: Date | undefined;
1548
+ /**
1549
+ * <p>The end date of the subscription contract.</p>
1550
+ * @public
1551
+ */
1552
+ contractEndDate: Date | undefined;
1553
+ }
1554
+ /**
1555
+ * <p>Contains the list of Business Support subscription contracts that match the request filters.</p>
1556
+ * @public
1557
+ */
1558
+ export interface ListBusinessSupportSubscriptionHistoryResponse {
1559
+ /**
1560
+ * <p>The list of Business Support subscription contracts.</p>
1561
+ * @public
1562
+ */
1563
+ subscriptionContracts: BusinessSupportSubscriptionContract[] | undefined;
1564
+ /**
1565
+ * <p>The pagination token for the next page of results.</p>
1566
+ * @public
1567
+ */
1568
+ nextToken?: string | undefined;
1569
+ }
1291
1570
  /**
1292
1571
  * <p>The request structure for ListEnterpriseSupportLinkedAccountCharges.</p>
1293
1572
  * @public
@@ -1299,12 +1578,12 @@ export interface ListEnterpriseSupportLinkedAccountChargesRequest {
1299
1578
  */
1300
1579
  billingMonth: string | undefined;
1301
1580
  /**
1302
- * <p>An optional linked account ID to filter results to a specific account.</p>
1581
+ * <p>The linked account ID to filter results to a specific account. If you don't specify a value, the response includes charges for all linked accounts.</p>
1303
1582
  * @public
1304
1583
  */
1305
1584
  accountId?: string | undefined;
1306
1585
  /**
1307
- * <p>The maximum number of results to return per page.</p>
1586
+ * <p>The maximum number of results to return per page. Default is 100.</p>
1308
1587
  * @public
1309
1588
  */
1310
1589
  maxResults?: number | undefined;
@@ -0,0 +1,7 @@
1
+ import type { Paginator } from "@smithy/types";
2
+ import { ListBusinessSupportAccountChargesCommandInput, ListBusinessSupportAccountChargesCommandOutput } from "../commands/ListBusinessSupportAccountChargesCommand";
3
+ import type { BillingPaginationConfiguration } from "./Interfaces";
4
+ /**
5
+ * @public
6
+ */
7
+ export declare const paginateListBusinessSupportAccountCharges: (config: BillingPaginationConfiguration, input: ListBusinessSupportAccountChargesCommandInput, ...rest: any[]) => Paginator<ListBusinessSupportAccountChargesCommandOutput>;
@@ -0,0 +1,7 @@
1
+ import type { Paginator } from "@smithy/types";
2
+ import { ListBusinessSupportSubscriptionHistoryCommandInput, ListBusinessSupportSubscriptionHistoryCommandOutput } from "../commands/ListBusinessSupportSubscriptionHistoryCommand";
3
+ import type { BillingPaginationConfiguration } from "./Interfaces";
4
+ /**
5
+ * @public
6
+ */
7
+ export declare const paginateListBusinessSupportSubscriptionHistory: (config: BillingPaginationConfiguration, input: ListBusinessSupportSubscriptionHistoryCommandInput, ...rest: any[]) => Paginator<ListBusinessSupportSubscriptionHistoryCommandOutput>;
@@ -2,5 +2,7 @@ export * from "./Interfaces";
2
2
  export * from "./GetCreditAllocationHistoryPaginator";
3
3
  export * from "./ListBillingViewsPaginator";
4
4
  export * from "./ListBillingViewSegmentsPaginator";
5
+ export * from "./ListBusinessSupportAccountChargesPaginator";
6
+ export * from "./ListBusinessSupportSubscriptionHistoryPaginator";
5
7
  export * from "./ListEnterpriseSupportLinkedAccountChargesPaginator";
6
8
  export * from "./ListSourceViewsForBillingViewPaginator";
@@ -29,6 +29,11 @@ export declare var BillingViewHealthStatus$: StaticStructureSchema;
29
29
  export declare var BillingViewListElement$: StaticStructureSchema;
30
30
  export declare var BillingViewSegmentsListElement$: StaticStructureSchema;
31
31
  export declare var BillingViewSegmentTimeRange$: StaticStructureSchema;
32
+ export declare var BusinessSupportAccountCharge$: StaticStructureSchema;
33
+ export declare var BusinessSupportDiscount$: StaticStructureSchema;
34
+ export declare var BusinessSupportServiceSpend$: StaticStructureSchema;
35
+ export declare var BusinessSupportSubscriptionContract$: StaticStructureSchema;
36
+ export declare var BusinessSupportTierCharge$: StaticStructureSchema;
32
37
  export declare var ChargeAccount$: StaticStructureSchema;
33
38
  export declare var ContractAccount$: StaticStructureSchema;
34
39
  export declare var CostCategoryValues$: StaticStructureSchema;
@@ -62,6 +67,10 @@ export declare var ListBillingViewSegmentsRequest$: StaticStructureSchema;
62
67
  export declare var ListBillingViewSegmentsResponse$: StaticStructureSchema;
63
68
  export declare var ListBillingViewsRequest$: StaticStructureSchema;
64
69
  export declare var ListBillingViewsResponse$: StaticStructureSchema;
70
+ export declare var ListBusinessSupportAccountChargesRequest$: StaticStructureSchema;
71
+ export declare var ListBusinessSupportAccountChargesResponse$: StaticStructureSchema;
72
+ export declare var ListBusinessSupportSubscriptionHistoryRequest$: StaticStructureSchema;
73
+ export declare var ListBusinessSupportSubscriptionHistoryResponse$: StaticStructureSchema;
65
74
  export declare var ListEnterpriseSupportLinkedAccountChargesRequest$: StaticStructureSchema;
66
75
  export declare var ListEnterpriseSupportLinkedAccountChargesResponse$: StaticStructureSchema;
67
76
  export declare var ListSourceViewsForBillingViewRequest$: StaticStructureSchema;
@@ -99,6 +108,8 @@ export declare var GetEnterpriseSupportContractDetails$: StaticOperationSchema;
99
108
  export declare var GetResourcePolicy$: StaticOperationSchema;
100
109
  export declare var ListBillingViews$: StaticOperationSchema;
101
110
  export declare var ListBillingViewSegments$: StaticOperationSchema;
111
+ export declare var ListBusinessSupportAccountCharges$: StaticOperationSchema;
112
+ export declare var ListBusinessSupportSubscriptionHistory$: StaticOperationSchema;
102
113
  export declare var ListEnterpriseSupportLinkedAccountCharges$: StaticOperationSchema;
103
114
  export declare var ListSourceViewsForBillingView$: StaticOperationSchema;
104
115
  export declare var ListTagsForResource$: StaticOperationSchema;
@@ -54,6 +54,14 @@ import {
54
54
  ListBillingViewSegmentsCommandInput,
55
55
  ListBillingViewSegmentsCommandOutput,
56
56
  } from "./commands/ListBillingViewSegmentsCommand";
57
+ import {
58
+ ListBusinessSupportAccountChargesCommandInput,
59
+ ListBusinessSupportAccountChargesCommandOutput,
60
+ } from "./commands/ListBusinessSupportAccountChargesCommand";
61
+ import {
62
+ ListBusinessSupportSubscriptionHistoryCommandInput,
63
+ ListBusinessSupportSubscriptionHistoryCommandOutput,
64
+ } from "./commands/ListBusinessSupportSubscriptionHistoryCommand";
57
65
  import {
58
66
  ListEnterpriseSupportLinkedAccountChargesCommandInput,
59
67
  ListEnterpriseSupportLinkedAccountChargesCommandOutput,
@@ -258,6 +266,33 @@ export interface Billing {
258
266
  options: BillingRequestOptions,
259
267
  cb: (err: any, data?: ListBillingViewSegmentsCommandOutput) => void,
260
268
  ): void;
269
+ listBusinessSupportAccountCharges(
270
+ args: ListBusinessSupportAccountChargesCommandInput,
271
+ options?: BillingRequestOptions,
272
+ ): Promise<ListBusinessSupportAccountChargesCommandOutput>;
273
+ listBusinessSupportAccountCharges(
274
+ args: ListBusinessSupportAccountChargesCommandInput,
275
+ cb: (err: any, data?: ListBusinessSupportAccountChargesCommandOutput) => void,
276
+ ): void;
277
+ listBusinessSupportAccountCharges(
278
+ args: ListBusinessSupportAccountChargesCommandInput,
279
+ options: BillingRequestOptions,
280
+ cb: (err: any, data?: ListBusinessSupportAccountChargesCommandOutput) => void,
281
+ ): void;
282
+ listBusinessSupportSubscriptionHistory(): Promise<ListBusinessSupportSubscriptionHistoryCommandOutput>;
283
+ listBusinessSupportSubscriptionHistory(
284
+ args: ListBusinessSupportSubscriptionHistoryCommandInput,
285
+ options?: BillingRequestOptions,
286
+ ): Promise<ListBusinessSupportSubscriptionHistoryCommandOutput>;
287
+ listBusinessSupportSubscriptionHistory(
288
+ args: ListBusinessSupportSubscriptionHistoryCommandInput,
289
+ cb: (err: any, data?: ListBusinessSupportSubscriptionHistoryCommandOutput) => void,
290
+ ): void;
291
+ listBusinessSupportSubscriptionHistory(
292
+ args: ListBusinessSupportSubscriptionHistoryCommandInput,
293
+ options: BillingRequestOptions,
294
+ cb: (err: any, data?: ListBusinessSupportSubscriptionHistoryCommandOutput) => void,
295
+ ): void;
261
296
  listEnterpriseSupportLinkedAccountCharges(
262
297
  args: ListEnterpriseSupportLinkedAccountChargesCommandInput,
263
298
  options?: BillingRequestOptions,
@@ -383,6 +418,20 @@ export interface Billing {
383
418
  Exclude<keyof PaginationConfiguration, "client">
384
419
  >,
385
420
  ): Paginator<ListBillingViewSegmentsCommandOutput>;
421
+ paginateListBusinessSupportAccountCharges(
422
+ args: ListBusinessSupportAccountChargesCommandInput,
423
+ paginationConfig?: Pick<
424
+ PaginationConfiguration,
425
+ Exclude<keyof PaginationConfiguration, "client">
426
+ >,
427
+ ): Paginator<ListBusinessSupportAccountChargesCommandOutput>;
428
+ paginateListBusinessSupportSubscriptionHistory(
429
+ args?: ListBusinessSupportSubscriptionHistoryCommandInput,
430
+ paginationConfig?: Pick<
431
+ PaginationConfiguration,
432
+ Exclude<keyof PaginationConfiguration, "client">
433
+ >,
434
+ ): Paginator<ListBusinessSupportSubscriptionHistoryCommandOutput>;
386
435
  paginateListEnterpriseSupportLinkedAccountCharges(
387
436
  args: ListEnterpriseSupportLinkedAccountChargesCommandInput,
388
437
  paginationConfig?: Pick<
@@ -82,6 +82,14 @@ import {
82
82
  ListBillingViewSegmentsCommandInput,
83
83
  ListBillingViewSegmentsCommandOutput,
84
84
  } from "./commands/ListBillingViewSegmentsCommand";
85
+ import {
86
+ ListBusinessSupportAccountChargesCommandInput,
87
+ ListBusinessSupportAccountChargesCommandOutput,
88
+ } from "./commands/ListBusinessSupportAccountChargesCommand";
89
+ import {
90
+ ListBusinessSupportSubscriptionHistoryCommandInput,
91
+ ListBusinessSupportSubscriptionHistoryCommandOutput,
92
+ } from "./commands/ListBusinessSupportSubscriptionHistoryCommand";
85
93
  import {
86
94
  ListEnterpriseSupportLinkedAccountChargesCommandInput,
87
95
  ListEnterpriseSupportLinkedAccountChargesCommandOutput,
@@ -132,6 +140,8 @@ export type ServiceInputTypes =
132
140
  | GetResourcePolicyCommandInput
133
141
  | ListBillingViewSegmentsCommandInput
134
142
  | ListBillingViewsCommandInput
143
+ | ListBusinessSupportAccountChargesCommandInput
144
+ | ListBusinessSupportSubscriptionHistoryCommandInput
135
145
  | ListEnterpriseSupportLinkedAccountChargesCommandInput
136
146
  | ListSourceViewsForBillingViewCommandInput
137
147
  | ListTagsForResourceCommandInput
@@ -154,6 +164,8 @@ export type ServiceOutputTypes =
154
164
  | GetResourcePolicyCommandOutput
155
165
  | ListBillingViewSegmentsCommandOutput
156
166
  | ListBillingViewsCommandOutput
167
+ | ListBusinessSupportAccountChargesCommandOutput
168
+ | ListBusinessSupportSubscriptionHistoryCommandOutput
157
169
  | ListEnterpriseSupportLinkedAccountChargesCommandOutput
158
170
  | ListSourceViewsForBillingViewCommandOutput
159
171
  | ListTagsForResourceCommandOutput
@@ -0,0 +1,42 @@
1
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import {
3
+ ListBusinessSupportAccountChargesRequest,
4
+ ListBusinessSupportAccountChargesResponse,
5
+ } from "../models/models_0";
6
+ export { __MetadataBearer };
7
+ export interface ListBusinessSupportAccountChargesCommandInput extends ListBusinessSupportAccountChargesRequest {}
8
+ export interface ListBusinessSupportAccountChargesCommandOutput
9
+ extends ListBusinessSupportAccountChargesResponse, __MetadataBearer {}
10
+ declare const ListBusinessSupportAccountChargesCommand_base: {
11
+ new (
12
+ input: ListBusinessSupportAccountChargesCommandInput,
13
+ ): import("@smithy/core/client").CommandImpl<
14
+ ListBusinessSupportAccountChargesCommandInput,
15
+ ListBusinessSupportAccountChargesCommandOutput,
16
+ import("..").BillingClientResolvedConfig,
17
+ import("..").ServiceInputTypes,
18
+ import("..").ServiceOutputTypes
19
+ >;
20
+ new (
21
+ input: ListBusinessSupportAccountChargesCommandInput,
22
+ ): import("@smithy/core/client").CommandImpl<
23
+ ListBusinessSupportAccountChargesCommandInput,
24
+ ListBusinessSupportAccountChargesCommandOutput,
25
+ import("..").BillingClientResolvedConfig,
26
+ import("..").ServiceInputTypes,
27
+ import("..").ServiceOutputTypes
28
+ >;
29
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
+ };
31
+ export declare class ListBusinessSupportAccountChargesCommand extends ListBusinessSupportAccountChargesCommand_base {
32
+ protected static __types: {
33
+ api: {
34
+ input: ListBusinessSupportAccountChargesRequest;
35
+ output: ListBusinessSupportAccountChargesResponse;
36
+ };
37
+ sdk: {
38
+ input: ListBusinessSupportAccountChargesCommandInput;
39
+ output: ListBusinessSupportAccountChargesCommandOutput;
40
+ };
41
+ };
42
+ }
@@ -0,0 +1,42 @@
1
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import {
3
+ ListBusinessSupportSubscriptionHistoryRequest,
4
+ ListBusinessSupportSubscriptionHistoryResponse,
5
+ } from "../models/models_0";
6
+ export { __MetadataBearer };
7
+ export interface ListBusinessSupportSubscriptionHistoryCommandInput extends ListBusinessSupportSubscriptionHistoryRequest {}
8
+ export interface ListBusinessSupportSubscriptionHistoryCommandOutput
9
+ extends ListBusinessSupportSubscriptionHistoryResponse, __MetadataBearer {}
10
+ declare const ListBusinessSupportSubscriptionHistoryCommand_base: {
11
+ new (
12
+ input: ListBusinessSupportSubscriptionHistoryCommandInput,
13
+ ): import("@smithy/core/client").CommandImpl<
14
+ ListBusinessSupportSubscriptionHistoryCommandInput,
15
+ ListBusinessSupportSubscriptionHistoryCommandOutput,
16
+ import("..").BillingClientResolvedConfig,
17
+ import("..").ServiceInputTypes,
18
+ import("..").ServiceOutputTypes
19
+ >;
20
+ new (
21
+ ...[input]: [] | [ListBusinessSupportSubscriptionHistoryCommandInput]
22
+ ): import("@smithy/core/client").CommandImpl<
23
+ ListBusinessSupportSubscriptionHistoryCommandInput,
24
+ ListBusinessSupportSubscriptionHistoryCommandOutput,
25
+ import("..").BillingClientResolvedConfig,
26
+ import("..").ServiceInputTypes,
27
+ import("..").ServiceOutputTypes
28
+ >;
29
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
+ };
31
+ export declare class ListBusinessSupportSubscriptionHistoryCommand extends ListBusinessSupportSubscriptionHistoryCommand_base {
32
+ protected static __types: {
33
+ api: {
34
+ input: ListBusinessSupportSubscriptionHistoryRequest;
35
+ output: ListBusinessSupportSubscriptionHistoryResponse;
36
+ };
37
+ sdk: {
38
+ input: ListBusinessSupportSubscriptionHistoryCommandInput;
39
+ output: ListBusinessSupportSubscriptionHistoryCommandOutput;
40
+ };
41
+ };
42
+ }
@@ -11,6 +11,8 @@ export * from "./GetEnterpriseSupportContractDetailsCommand";
11
11
  export * from "./GetResourcePolicyCommand";
12
12
  export * from "./ListBillingViewSegmentsCommand";
13
13
  export * from "./ListBillingViewsCommand";
14
+ export * from "./ListBusinessSupportAccountChargesCommand";
15
+ export * from "./ListBusinessSupportSubscriptionHistoryCommand";
14
16
  export * from "./ListEnterpriseSupportLinkedAccountChargesCommand";
15
17
  export * from "./ListSourceViewsForBillingViewCommand";
16
18
  export * from "./ListTagsForResourceCommand";
@@ -315,6 +315,69 @@ export interface ListBillingViewSegmentsResponse {
315
315
  items: BillingViewSegmentsListElement[] | undefined;
316
316
  nextToken?: string | undefined;
317
317
  }
318
+ export interface ListBusinessSupportAccountChargesRequest {
319
+ billingMonth: string | undefined;
320
+ accountId?: string | undefined;
321
+ maxResults?: number | undefined;
322
+ nextToken?: string | undefined;
323
+ }
324
+ export interface BusinessSupportDiscount {
325
+ discountAmount?: string | undefined;
326
+ discountPercentage?: string | undefined;
327
+ discountType?: string | undefined;
328
+ discountSource?: string | undefined;
329
+ }
330
+ export interface BusinessSupportServiceSpend {
331
+ contributingService: string | undefined;
332
+ itemType: string | undefined;
333
+ description?: string | undefined;
334
+ chargeAmount: string | undefined;
335
+ currency: string | undefined;
336
+ }
337
+ export interface BusinessSupportTierCharge {
338
+ tierDescription: string | undefined;
339
+ tierRate: string | undefined;
340
+ usageSlice: string | undefined;
341
+ tierCharge: string | undefined;
342
+ chargePeriodStartDate?: Date | undefined;
343
+ chargePeriodEndDate?: Date | undefined;
344
+ }
345
+ export interface BusinessSupportAccountCharge {
346
+ accountId: string | undefined;
347
+ supportPlanName: string | undefined;
348
+ totalCharge: string | undefined;
349
+ totalUsageBasis: string | undefined;
350
+ tierCharges?: BusinessSupportTierCharge[] | undefined;
351
+ supportDiscount?: BusinessSupportDiscount | undefined;
352
+ supportEligibleSpendByService?: BusinessSupportServiceSpend[] | undefined;
353
+ }
354
+ export interface ListBusinessSupportAccountChargesResponse {
355
+ billingMonth: string | undefined;
356
+ isEstimated: boolean | undefined;
357
+ totalSupportCharge: string | undefined;
358
+ totalSupportEligibleSpend: string | undefined;
359
+ accountCount: number | undefined;
360
+ accountCharges: BusinessSupportAccountCharge[] | undefined;
361
+ nextToken?: string | undefined;
362
+ }
363
+ export interface ListBusinessSupportSubscriptionHistoryRequest {
364
+ billingMonth?: string | undefined;
365
+ accountId?: string | undefined;
366
+ startDate?: Date | undefined;
367
+ endDate?: Date | undefined;
368
+ maxResults?: number | undefined;
369
+ nextToken?: string | undefined;
370
+ }
371
+ export interface BusinessSupportSubscriptionContract {
372
+ accountId: string | undefined;
373
+ planName: string | undefined;
374
+ contractStartDate: Date | undefined;
375
+ contractEndDate: Date | undefined;
376
+ }
377
+ export interface ListBusinessSupportSubscriptionHistoryResponse {
378
+ subscriptionContracts: BusinessSupportSubscriptionContract[] | undefined;
379
+ nextToken?: string | undefined;
380
+ }
318
381
  export interface ListEnterpriseSupportLinkedAccountChargesRequest {
319
382
  billingMonth: string | undefined;
320
383
  accountId?: string | undefined;
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ ListBusinessSupportAccountChargesCommandInput,
4
+ ListBusinessSupportAccountChargesCommandOutput,
5
+ } from "../commands/ListBusinessSupportAccountChargesCommand";
6
+ import { BillingPaginationConfiguration } from "./Interfaces";
7
+ export declare const paginateListBusinessSupportAccountCharges: (
8
+ config: BillingPaginationConfiguration,
9
+ input: ListBusinessSupportAccountChargesCommandInput,
10
+ ...rest: any[]
11
+ ) => Paginator<ListBusinessSupportAccountChargesCommandOutput>;
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ ListBusinessSupportSubscriptionHistoryCommandInput,
4
+ ListBusinessSupportSubscriptionHistoryCommandOutput,
5
+ } from "../commands/ListBusinessSupportSubscriptionHistoryCommand";
6
+ import { BillingPaginationConfiguration } from "./Interfaces";
7
+ export declare const paginateListBusinessSupportSubscriptionHistory: (
8
+ config: BillingPaginationConfiguration,
9
+ input: ListBusinessSupportSubscriptionHistoryCommandInput,
10
+ ...rest: any[]
11
+ ) => Paginator<ListBusinessSupportSubscriptionHistoryCommandOutput>;
@@ -2,5 +2,7 @@ export * from "./Interfaces";
2
2
  export * from "./GetCreditAllocationHistoryPaginator";
3
3
  export * from "./ListBillingViewsPaginator";
4
4
  export * from "./ListBillingViewSegmentsPaginator";
5
+ export * from "./ListBusinessSupportAccountChargesPaginator";
6
+ export * from "./ListBusinessSupportSubscriptionHistoryPaginator";
5
7
  export * from "./ListEnterpriseSupportLinkedAccountChargesPaginator";
6
8
  export * from "./ListSourceViewsForBillingViewPaginator";