aws-sdk-billing 1.34.0 → 1.35.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-billing/client.rb +145 -3
- data/lib/aws-sdk-billing/client_api.rb +125 -0
- data/lib/aws-sdk-billing/types.rb +355 -5
- data/lib/aws-sdk-billing.rb +1 -1
- data/sig/client.rbs +35 -0
- data/sig/types.rbs +81 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4065e160315a6f4bd4ddd0d43243368b7e7eded71d8f55ddac3d03282aa09cec
|
|
4
|
+
data.tar.gz: dc911e408947711167e17c4372890ac90b55b65da3934005314e3ccddebc630d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1d46279548cdb61284f4db894b5fb2a597d07fdd23205bfe701150ed2017b3ec77ad764515efc0a6d0cab9392de3b0438cc61d24796fa6a18c430ea74db46ec7
|
|
7
|
+
data.tar.gz: cf4298e9659d323975e167a6b2a4916caa0513946df546ff1d7590045bcb9cfa7730b469a40de6f6f7f161548d360c0a7bd39d878f8c5659aaa58132d2b47914
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.35.0 (2026-09-28)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Adds support for (a) listing Business Support account charges via ListBusinessSupportAccountCharges and (b) subscription history via ListBusinessSupportSubscriptionHistory through the AWS Billing API.
|
|
8
|
+
|
|
4
9
|
1.34.0 (2026-09-23)
|
|
5
10
|
------------------
|
|
6
11
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.35.0
|
|
@@ -1461,16 +1461,158 @@ module Aws::Billing
|
|
|
1461
1461
|
req.send_request(options)
|
|
1462
1462
|
end
|
|
1463
1463
|
|
|
1464
|
+
# Returns Business Support charges broken down at the linked account
|
|
1465
|
+
# level for a given billing month.
|
|
1466
|
+
#
|
|
1467
|
+
# @option params [required, String] :billing_month
|
|
1468
|
+
# The billing month to retrieve Business Support charges for, in YYYY-MM
|
|
1469
|
+
# format. You can request the current month (charges will be estimated)
|
|
1470
|
+
# or a past month (charges will be finalized).
|
|
1471
|
+
#
|
|
1472
|
+
# @option params [String] :account_id
|
|
1473
|
+
# The linked account ID to filter results to a specific account. If you
|
|
1474
|
+
# don't specify a value, the response includes charges for all linked
|
|
1475
|
+
# accounts.
|
|
1476
|
+
#
|
|
1477
|
+
# @option params [Integer] :max_results
|
|
1478
|
+
# The maximum number of results to return per page. Default is 100.
|
|
1479
|
+
#
|
|
1480
|
+
# @option params [String] :next_token
|
|
1481
|
+
# The pagination token for the next page of results.
|
|
1482
|
+
#
|
|
1483
|
+
# @return [Types::ListBusinessSupportAccountChargesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1484
|
+
#
|
|
1485
|
+
# * {Types::ListBusinessSupportAccountChargesResponse#billing_month #billing_month} => String
|
|
1486
|
+
# * {Types::ListBusinessSupportAccountChargesResponse#is_estimated #is_estimated} => Boolean
|
|
1487
|
+
# * {Types::ListBusinessSupportAccountChargesResponse#total_support_charge #total_support_charge} => String
|
|
1488
|
+
# * {Types::ListBusinessSupportAccountChargesResponse#total_support_eligible_spend #total_support_eligible_spend} => String
|
|
1489
|
+
# * {Types::ListBusinessSupportAccountChargesResponse#account_count #account_count} => Integer
|
|
1490
|
+
# * {Types::ListBusinessSupportAccountChargesResponse#account_charges #account_charges} => Array<Types::BusinessSupportAccountCharge>
|
|
1491
|
+
# * {Types::ListBusinessSupportAccountChargesResponse#next_token #next_token} => String
|
|
1492
|
+
#
|
|
1493
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
|
1494
|
+
#
|
|
1495
|
+
# @example Request syntax with placeholder values
|
|
1496
|
+
#
|
|
1497
|
+
# resp = client.list_business_support_account_charges({
|
|
1498
|
+
# billing_month: "BusinessSupportBillingMonth", # required
|
|
1499
|
+
# account_id: "AccountId",
|
|
1500
|
+
# max_results: 1,
|
|
1501
|
+
# next_token: "PageToken",
|
|
1502
|
+
# })
|
|
1503
|
+
#
|
|
1504
|
+
# @example Response structure
|
|
1505
|
+
#
|
|
1506
|
+
# resp.billing_month #=> String
|
|
1507
|
+
# resp.is_estimated #=> Boolean
|
|
1508
|
+
# resp.total_support_charge #=> String
|
|
1509
|
+
# resp.total_support_eligible_spend #=> String
|
|
1510
|
+
# resp.account_count #=> Integer
|
|
1511
|
+
# resp.account_charges #=> Array
|
|
1512
|
+
# resp.account_charges[0].account_id #=> String
|
|
1513
|
+
# resp.account_charges[0].support_plan_name #=> String
|
|
1514
|
+
# resp.account_charges[0].total_charge #=> String
|
|
1515
|
+
# resp.account_charges[0].total_usage_basis #=> String
|
|
1516
|
+
# resp.account_charges[0].tier_charges #=> Array
|
|
1517
|
+
# resp.account_charges[0].tier_charges[0].tier_description #=> String
|
|
1518
|
+
# resp.account_charges[0].tier_charges[0].tier_rate #=> String
|
|
1519
|
+
# resp.account_charges[0].tier_charges[0].usage_slice #=> String
|
|
1520
|
+
# resp.account_charges[0].tier_charges[0].tier_charge #=> String
|
|
1521
|
+
# resp.account_charges[0].tier_charges[0].charge_period_start_date #=> Time
|
|
1522
|
+
# resp.account_charges[0].tier_charges[0].charge_period_end_date #=> Time
|
|
1523
|
+
# resp.account_charges[0].support_discount.discount_amount #=> String
|
|
1524
|
+
# resp.account_charges[0].support_discount.discount_percentage #=> String
|
|
1525
|
+
# resp.account_charges[0].support_discount.discount_type #=> String
|
|
1526
|
+
# resp.account_charges[0].support_discount.discount_source #=> String
|
|
1527
|
+
# resp.account_charges[0].support_eligible_spend_by_service #=> Array
|
|
1528
|
+
# resp.account_charges[0].support_eligible_spend_by_service[0].contributing_service #=> String
|
|
1529
|
+
# resp.account_charges[0].support_eligible_spend_by_service[0].item_type #=> String
|
|
1530
|
+
# resp.account_charges[0].support_eligible_spend_by_service[0].description #=> String
|
|
1531
|
+
# resp.account_charges[0].support_eligible_spend_by_service[0].charge_amount #=> String
|
|
1532
|
+
# resp.account_charges[0].support_eligible_spend_by_service[0].currency #=> String
|
|
1533
|
+
# resp.next_token #=> String
|
|
1534
|
+
#
|
|
1535
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/billing-2023-09-07/ListBusinessSupportAccountCharges AWS API Documentation
|
|
1536
|
+
#
|
|
1537
|
+
# @overload list_business_support_account_charges(params = {})
|
|
1538
|
+
# @param [Hash] params ({})
|
|
1539
|
+
def list_business_support_account_charges(params = {}, options = {})
|
|
1540
|
+
req = build_request(:list_business_support_account_charges, params)
|
|
1541
|
+
req.send_request(options)
|
|
1542
|
+
end
|
|
1543
|
+
|
|
1544
|
+
# Returns the history of Business Support subscription contracts across
|
|
1545
|
+
# accounts.
|
|
1546
|
+
#
|
|
1547
|
+
# @option params [String] :billing_month
|
|
1548
|
+
# The billing month to retrieve subscription contracts for, in YYYY-MM
|
|
1549
|
+
# format. If you don't specify a value, defaults to the current month.
|
|
1550
|
+
#
|
|
1551
|
+
# @option params [String] :account_id
|
|
1552
|
+
# The account ID to filter results to a specific account. If you don't
|
|
1553
|
+
# specify a value, the response includes subscription history for all
|
|
1554
|
+
# accounts.
|
|
1555
|
+
#
|
|
1556
|
+
# @option params [Time,DateTime,Date,Integer,String] :start_date
|
|
1557
|
+
# The start date to filter subscription contracts from.
|
|
1558
|
+
#
|
|
1559
|
+
# @option params [Time,DateTime,Date,Integer,String] :end_date
|
|
1560
|
+
# The end date to filter subscription contracts to.
|
|
1561
|
+
#
|
|
1562
|
+
# @option params [Integer] :max_results
|
|
1563
|
+
# The maximum number of results to return per page. Default is 100.
|
|
1564
|
+
#
|
|
1565
|
+
# @option params [String] :next_token
|
|
1566
|
+
# The pagination token for the next page of results.
|
|
1567
|
+
#
|
|
1568
|
+
# @return [Types::ListBusinessSupportSubscriptionHistoryResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1569
|
+
#
|
|
1570
|
+
# * {Types::ListBusinessSupportSubscriptionHistoryResponse#subscription_contracts #subscription_contracts} => Array<Types::BusinessSupportSubscriptionContract>
|
|
1571
|
+
# * {Types::ListBusinessSupportSubscriptionHistoryResponse#next_token #next_token} => String
|
|
1572
|
+
#
|
|
1573
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
|
1574
|
+
#
|
|
1575
|
+
# @example Request syntax with placeholder values
|
|
1576
|
+
#
|
|
1577
|
+
# resp = client.list_business_support_subscription_history({
|
|
1578
|
+
# billing_month: "BusinessSupportBillingMonth",
|
|
1579
|
+
# account_id: "AccountId",
|
|
1580
|
+
# start_date: Time.now,
|
|
1581
|
+
# end_date: Time.now,
|
|
1582
|
+
# max_results: 1,
|
|
1583
|
+
# next_token: "PageToken",
|
|
1584
|
+
# })
|
|
1585
|
+
#
|
|
1586
|
+
# @example Response structure
|
|
1587
|
+
#
|
|
1588
|
+
# resp.subscription_contracts #=> Array
|
|
1589
|
+
# resp.subscription_contracts[0].account_id #=> String
|
|
1590
|
+
# resp.subscription_contracts[0].plan_name #=> String
|
|
1591
|
+
# resp.subscription_contracts[0].contract_start_date #=> Time
|
|
1592
|
+
# resp.subscription_contracts[0].contract_end_date #=> Time
|
|
1593
|
+
# resp.next_token #=> String
|
|
1594
|
+
#
|
|
1595
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/billing-2023-09-07/ListBusinessSupportSubscriptionHistory AWS API Documentation
|
|
1596
|
+
#
|
|
1597
|
+
# @overload list_business_support_subscription_history(params = {})
|
|
1598
|
+
# @param [Hash] params ({})
|
|
1599
|
+
def list_business_support_subscription_history(params = {}, options = {})
|
|
1600
|
+
req = build_request(:list_business_support_subscription_history, params)
|
|
1601
|
+
req.send_request(options)
|
|
1602
|
+
end
|
|
1603
|
+
|
|
1464
1604
|
# Returns Support-eligible spend broken down at linked account level.
|
|
1465
1605
|
#
|
|
1466
1606
|
# @option params [required, String] :billing_month
|
|
1467
1607
|
# The billing month in YYYY-MM format. This must be a month in the past.
|
|
1468
1608
|
#
|
|
1469
1609
|
# @option params [String] :account_id
|
|
1470
|
-
#
|
|
1610
|
+
# The linked account ID to filter results to a specific account. If you
|
|
1611
|
+
# don't specify a value, the response includes charges for all linked
|
|
1612
|
+
# accounts.
|
|
1471
1613
|
#
|
|
1472
1614
|
# @option params [Integer] :max_results
|
|
1473
|
-
# The maximum number of results to return per page.
|
|
1615
|
+
# The maximum number of results to return per page. Default is 100.
|
|
1474
1616
|
#
|
|
1475
1617
|
# @option params [String] :next_token
|
|
1476
1618
|
# The pagination token for the next page of results.
|
|
@@ -1898,7 +2040,7 @@ module Aws::Billing
|
|
|
1898
2040
|
tracer: tracer
|
|
1899
2041
|
)
|
|
1900
2042
|
context[:gem_name] = 'aws-sdk-billing'
|
|
1901
|
-
context[:gem_version] = '1.
|
|
2043
|
+
context[:gem_version] = '1.35.0'
|
|
1902
2044
|
Seahorse::Client::Request.new(handlers, context)
|
|
1903
2045
|
end
|
|
1904
2046
|
|
|
@@ -57,6 +57,16 @@ module Aws::Billing
|
|
|
57
57
|
BillingViewsMaxResults = Shapes::IntegerShape.new(name: 'BillingViewsMaxResults')
|
|
58
58
|
BillingYear = Shapes::IntegerShape.new(name: 'BillingYear')
|
|
59
59
|
Boolean = Shapes::BooleanShape.new(name: 'Boolean')
|
|
60
|
+
BusinessSupportAccountCharge = Shapes::StructureShape.new(name: 'BusinessSupportAccountCharge')
|
|
61
|
+
BusinessSupportAccountChargeList = Shapes::ListShape.new(name: 'BusinessSupportAccountChargeList')
|
|
62
|
+
BusinessSupportBillingMonth = Shapes::StringShape.new(name: 'BusinessSupportBillingMonth')
|
|
63
|
+
BusinessSupportDiscount = Shapes::StructureShape.new(name: 'BusinessSupportDiscount')
|
|
64
|
+
BusinessSupportServiceSpend = Shapes::StructureShape.new(name: 'BusinessSupportServiceSpend')
|
|
65
|
+
BusinessSupportServiceSpendList = Shapes::ListShape.new(name: 'BusinessSupportServiceSpendList')
|
|
66
|
+
BusinessSupportSubscriptionContract = Shapes::StructureShape.new(name: 'BusinessSupportSubscriptionContract')
|
|
67
|
+
BusinessSupportSubscriptionContractList = Shapes::ListShape.new(name: 'BusinessSupportSubscriptionContractList')
|
|
68
|
+
BusinessSupportTierCharge = Shapes::StructureShape.new(name: 'BusinessSupportTierCharge')
|
|
69
|
+
BusinessSupportTierChargeList = Shapes::ListShape.new(name: 'BusinessSupportTierChargeList')
|
|
60
70
|
ChargeAccount = Shapes::StructureShape.new(name: 'ChargeAccount')
|
|
61
71
|
ChargeAccountList = Shapes::ListShape.new(name: 'ChargeAccountList')
|
|
62
72
|
ClientToken = Shapes::StringShape.new(name: 'ClientToken')
|
|
@@ -114,6 +124,12 @@ module Aws::Billing
|
|
|
114
124
|
ListBillingViewSegmentsResponse = Shapes::StructureShape.new(name: 'ListBillingViewSegmentsResponse')
|
|
115
125
|
ListBillingViewsRequest = Shapes::StructureShape.new(name: 'ListBillingViewsRequest')
|
|
116
126
|
ListBillingViewsResponse = Shapes::StructureShape.new(name: 'ListBillingViewsResponse')
|
|
127
|
+
ListBusinessSupportAccountChargesRequest = Shapes::StructureShape.new(name: 'ListBusinessSupportAccountChargesRequest')
|
|
128
|
+
ListBusinessSupportAccountChargesRequestMaxResultsInteger = Shapes::IntegerShape.new(name: 'ListBusinessSupportAccountChargesRequestMaxResultsInteger')
|
|
129
|
+
ListBusinessSupportAccountChargesResponse = Shapes::StructureShape.new(name: 'ListBusinessSupportAccountChargesResponse')
|
|
130
|
+
ListBusinessSupportSubscriptionHistoryRequest = Shapes::StructureShape.new(name: 'ListBusinessSupportSubscriptionHistoryRequest')
|
|
131
|
+
ListBusinessSupportSubscriptionHistoryRequestMaxResultsInteger = Shapes::IntegerShape.new(name: 'ListBusinessSupportSubscriptionHistoryRequestMaxResultsInteger')
|
|
132
|
+
ListBusinessSupportSubscriptionHistoryResponse = Shapes::StructureShape.new(name: 'ListBusinessSupportSubscriptionHistoryResponse')
|
|
117
133
|
ListEnterpriseSupportLinkedAccountChargesRequest = Shapes::StructureShape.new(name: 'ListEnterpriseSupportLinkedAccountChargesRequest')
|
|
118
134
|
ListEnterpriseSupportLinkedAccountChargesRequestMaxResultsInteger = Shapes::IntegerShape.new(name: 'ListEnterpriseSupportLinkedAccountChargesRequestMaxResultsInteger')
|
|
119
135
|
ListEnterpriseSupportLinkedAccountChargesResponse = Shapes::StructureShape.new(name: 'ListEnterpriseSupportLinkedAccountChargesResponse')
|
|
@@ -284,6 +300,50 @@ module Aws::Billing
|
|
|
284
300
|
|
|
285
301
|
BillingViewTypeList.member = Shapes::ShapeRef.new(shape: BillingViewType)
|
|
286
302
|
|
|
303
|
+
BusinessSupportAccountCharge.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, required: true, location_name: "accountId"))
|
|
304
|
+
BusinessSupportAccountCharge.add_member(:support_plan_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "supportPlanName"))
|
|
305
|
+
BusinessSupportAccountCharge.add_member(:total_charge, Shapes::ShapeRef.new(shape: String, required: true, location_name: "totalCharge"))
|
|
306
|
+
BusinessSupportAccountCharge.add_member(:total_usage_basis, Shapes::ShapeRef.new(shape: String, required: true, location_name: "totalUsageBasis"))
|
|
307
|
+
BusinessSupportAccountCharge.add_member(:tier_charges, Shapes::ShapeRef.new(shape: BusinessSupportTierChargeList, location_name: "tierCharges"))
|
|
308
|
+
BusinessSupportAccountCharge.add_member(:support_discount, Shapes::ShapeRef.new(shape: BusinessSupportDiscount, location_name: "supportDiscount"))
|
|
309
|
+
BusinessSupportAccountCharge.add_member(:support_eligible_spend_by_service, Shapes::ShapeRef.new(shape: BusinessSupportServiceSpendList, location_name: "supportEligibleSpendByService"))
|
|
310
|
+
BusinessSupportAccountCharge.struct_class = Types::BusinessSupportAccountCharge
|
|
311
|
+
|
|
312
|
+
BusinessSupportAccountChargeList.member = Shapes::ShapeRef.new(shape: BusinessSupportAccountCharge)
|
|
313
|
+
|
|
314
|
+
BusinessSupportDiscount.add_member(:discount_amount, Shapes::ShapeRef.new(shape: String, location_name: "discountAmount"))
|
|
315
|
+
BusinessSupportDiscount.add_member(:discount_percentage, Shapes::ShapeRef.new(shape: String, location_name: "discountPercentage"))
|
|
316
|
+
BusinessSupportDiscount.add_member(:discount_type, Shapes::ShapeRef.new(shape: String, location_name: "discountType"))
|
|
317
|
+
BusinessSupportDiscount.add_member(:discount_source, Shapes::ShapeRef.new(shape: String, location_name: "discountSource"))
|
|
318
|
+
BusinessSupportDiscount.struct_class = Types::BusinessSupportDiscount
|
|
319
|
+
|
|
320
|
+
BusinessSupportServiceSpend.add_member(:contributing_service, Shapes::ShapeRef.new(shape: String, required: true, location_name: "contributingService"))
|
|
321
|
+
BusinessSupportServiceSpend.add_member(:item_type, Shapes::ShapeRef.new(shape: String, required: true, location_name: "itemType"))
|
|
322
|
+
BusinessSupportServiceSpend.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "description"))
|
|
323
|
+
BusinessSupportServiceSpend.add_member(:charge_amount, Shapes::ShapeRef.new(shape: String, required: true, location_name: "chargeAmount"))
|
|
324
|
+
BusinessSupportServiceSpend.add_member(:currency, Shapes::ShapeRef.new(shape: String, required: true, location_name: "currency"))
|
|
325
|
+
BusinessSupportServiceSpend.struct_class = Types::BusinessSupportServiceSpend
|
|
326
|
+
|
|
327
|
+
BusinessSupportServiceSpendList.member = Shapes::ShapeRef.new(shape: BusinessSupportServiceSpend)
|
|
328
|
+
|
|
329
|
+
BusinessSupportSubscriptionContract.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, required: true, location_name: "accountId"))
|
|
330
|
+
BusinessSupportSubscriptionContract.add_member(:plan_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "planName"))
|
|
331
|
+
BusinessSupportSubscriptionContract.add_member(:contract_start_date, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "contractStartDate"))
|
|
332
|
+
BusinessSupportSubscriptionContract.add_member(:contract_end_date, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "contractEndDate"))
|
|
333
|
+
BusinessSupportSubscriptionContract.struct_class = Types::BusinessSupportSubscriptionContract
|
|
334
|
+
|
|
335
|
+
BusinessSupportSubscriptionContractList.member = Shapes::ShapeRef.new(shape: BusinessSupportSubscriptionContract)
|
|
336
|
+
|
|
337
|
+
BusinessSupportTierCharge.add_member(:tier_description, Shapes::ShapeRef.new(shape: String, required: true, location_name: "tierDescription"))
|
|
338
|
+
BusinessSupportTierCharge.add_member(:tier_rate, Shapes::ShapeRef.new(shape: String, required: true, location_name: "tierRate"))
|
|
339
|
+
BusinessSupportTierCharge.add_member(:usage_slice, Shapes::ShapeRef.new(shape: String, required: true, location_name: "usageSlice"))
|
|
340
|
+
BusinessSupportTierCharge.add_member(:tier_charge, Shapes::ShapeRef.new(shape: String, required: true, location_name: "tierCharge"))
|
|
341
|
+
BusinessSupportTierCharge.add_member(:charge_period_start_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "chargePeriodStartDate"))
|
|
342
|
+
BusinessSupportTierCharge.add_member(:charge_period_end_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "chargePeriodEndDate"))
|
|
343
|
+
BusinessSupportTierCharge.struct_class = Types::BusinessSupportTierCharge
|
|
344
|
+
|
|
345
|
+
BusinessSupportTierChargeList.member = Shapes::ShapeRef.new(shape: BusinessSupportTierCharge)
|
|
346
|
+
|
|
287
347
|
ChargeAccount.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, required: true, location_name: "accountId"))
|
|
288
348
|
ChargeAccount.add_member(:charge_percentage, Shapes::ShapeRef.new(shape: String, required: true, location_name: "chargePercentage"))
|
|
289
349
|
ChargeAccount.struct_class = Types::ChargeAccount
|
|
@@ -512,6 +572,33 @@ module Aws::Billing
|
|
|
512
572
|
ListBillingViewsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PageToken, location_name: "nextToken"))
|
|
513
573
|
ListBillingViewsResponse.struct_class = Types::ListBillingViewsResponse
|
|
514
574
|
|
|
575
|
+
ListBusinessSupportAccountChargesRequest.add_member(:billing_month, Shapes::ShapeRef.new(shape: BusinessSupportBillingMonth, required: true, location_name: "billingMonth"))
|
|
576
|
+
ListBusinessSupportAccountChargesRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "accountId"))
|
|
577
|
+
ListBusinessSupportAccountChargesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListBusinessSupportAccountChargesRequestMaxResultsInteger, location_name: "maxResults"))
|
|
578
|
+
ListBusinessSupportAccountChargesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PageToken, location_name: "nextToken"))
|
|
579
|
+
ListBusinessSupportAccountChargesRequest.struct_class = Types::ListBusinessSupportAccountChargesRequest
|
|
580
|
+
|
|
581
|
+
ListBusinessSupportAccountChargesResponse.add_member(:billing_month, Shapes::ShapeRef.new(shape: BusinessSupportBillingMonth, required: true, location_name: "billingMonth"))
|
|
582
|
+
ListBusinessSupportAccountChargesResponse.add_member(:is_estimated, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "isEstimated"))
|
|
583
|
+
ListBusinessSupportAccountChargesResponse.add_member(:total_support_charge, Shapes::ShapeRef.new(shape: String, required: true, location_name: "totalSupportCharge"))
|
|
584
|
+
ListBusinessSupportAccountChargesResponse.add_member(:total_support_eligible_spend, Shapes::ShapeRef.new(shape: String, required: true, location_name: "totalSupportEligibleSpend"))
|
|
585
|
+
ListBusinessSupportAccountChargesResponse.add_member(:account_count, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "accountCount"))
|
|
586
|
+
ListBusinessSupportAccountChargesResponse.add_member(:account_charges, Shapes::ShapeRef.new(shape: BusinessSupportAccountChargeList, required: true, location_name: "accountCharges"))
|
|
587
|
+
ListBusinessSupportAccountChargesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PageToken, location_name: "nextToken"))
|
|
588
|
+
ListBusinessSupportAccountChargesResponse.struct_class = Types::ListBusinessSupportAccountChargesResponse
|
|
589
|
+
|
|
590
|
+
ListBusinessSupportSubscriptionHistoryRequest.add_member(:billing_month, Shapes::ShapeRef.new(shape: BusinessSupportBillingMonth, location_name: "billingMonth"))
|
|
591
|
+
ListBusinessSupportSubscriptionHistoryRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "accountId"))
|
|
592
|
+
ListBusinessSupportSubscriptionHistoryRequest.add_member(:start_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "startDate"))
|
|
593
|
+
ListBusinessSupportSubscriptionHistoryRequest.add_member(:end_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "endDate"))
|
|
594
|
+
ListBusinessSupportSubscriptionHistoryRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListBusinessSupportSubscriptionHistoryRequestMaxResultsInteger, location_name: "maxResults"))
|
|
595
|
+
ListBusinessSupportSubscriptionHistoryRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PageToken, location_name: "nextToken"))
|
|
596
|
+
ListBusinessSupportSubscriptionHistoryRequest.struct_class = Types::ListBusinessSupportSubscriptionHistoryRequest
|
|
597
|
+
|
|
598
|
+
ListBusinessSupportSubscriptionHistoryResponse.add_member(:subscription_contracts, Shapes::ShapeRef.new(shape: BusinessSupportSubscriptionContractList, required: true, location_name: "subscriptionContracts"))
|
|
599
|
+
ListBusinessSupportSubscriptionHistoryResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PageToken, location_name: "nextToken"))
|
|
600
|
+
ListBusinessSupportSubscriptionHistoryResponse.struct_class = Types::ListBusinessSupportSubscriptionHistoryResponse
|
|
601
|
+
|
|
515
602
|
ListEnterpriseSupportLinkedAccountChargesRequest.add_member(:billing_month, Shapes::ShapeRef.new(shape: EnterpriseSupportBillingMonth, required: true, location_name: "billingMonth"))
|
|
516
603
|
ListEnterpriseSupportLinkedAccountChargesRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "accountId"))
|
|
517
604
|
ListEnterpriseSupportLinkedAccountChargesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListEnterpriseSupportLinkedAccountChargesRequestMaxResultsInteger, location_name: "maxResults"))
|
|
@@ -873,6 +960,44 @@ module Aws::Billing
|
|
|
873
960
|
)
|
|
874
961
|
end)
|
|
875
962
|
|
|
963
|
+
api.add_operation(:list_business_support_account_charges, Seahorse::Model::Operation.new.tap do |o|
|
|
964
|
+
o.name = "ListBusinessSupportAccountCharges"
|
|
965
|
+
o.http_method = "POST"
|
|
966
|
+
o.http_request_uri = "/"
|
|
967
|
+
o.input = Shapes::ShapeRef.new(shape: ListBusinessSupportAccountChargesRequest)
|
|
968
|
+
o.output = Shapes::ShapeRef.new(shape: ListBusinessSupportAccountChargesResponse)
|
|
969
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
|
970
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
971
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
972
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
973
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
974
|
+
o[:pager] = Aws::Pager.new(
|
|
975
|
+
limit_key: "max_results",
|
|
976
|
+
tokens: {
|
|
977
|
+
"next_token" => "next_token"
|
|
978
|
+
}
|
|
979
|
+
)
|
|
980
|
+
end)
|
|
981
|
+
|
|
982
|
+
api.add_operation(:list_business_support_subscription_history, Seahorse::Model::Operation.new.tap do |o|
|
|
983
|
+
o.name = "ListBusinessSupportSubscriptionHistory"
|
|
984
|
+
o.http_method = "POST"
|
|
985
|
+
o.http_request_uri = "/"
|
|
986
|
+
o.input = Shapes::ShapeRef.new(shape: ListBusinessSupportSubscriptionHistoryRequest)
|
|
987
|
+
o.output = Shapes::ShapeRef.new(shape: ListBusinessSupportSubscriptionHistoryResponse)
|
|
988
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
|
989
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
990
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
991
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
992
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
993
|
+
o[:pager] = Aws::Pager.new(
|
|
994
|
+
limit_key: "max_results",
|
|
995
|
+
tokens: {
|
|
996
|
+
"next_token" => "next_token"
|
|
997
|
+
}
|
|
998
|
+
)
|
|
999
|
+
end)
|
|
1000
|
+
|
|
876
1001
|
api.add_operation(:list_enterprise_support_linked_account_charges, Seahorse::Model::Operation.new.tap do |o|
|
|
877
1002
|
o.name = "ListEnterpriseSupportLinkedAccountCharges"
|
|
878
1003
|
o.http_method = "POST"
|
|
@@ -453,6 +453,207 @@ module Aws::Billing
|
|
|
453
453
|
include Aws::Structure
|
|
454
454
|
end
|
|
455
455
|
|
|
456
|
+
# Business Support charges for a linked account.
|
|
457
|
+
#
|
|
458
|
+
# @!attribute [rw] account_id
|
|
459
|
+
# The linked account ID.
|
|
460
|
+
# @return [String]
|
|
461
|
+
#
|
|
462
|
+
# @!attribute [rw] support_plan_name
|
|
463
|
+
# The Support plan name for this account. Valid values:
|
|
464
|
+
# `AWSSupportBusiness` (Business Support plan), `AWSSupportDeveloper`
|
|
465
|
+
# (Developer Support plan), `AWSSupportEssential` (Basic Support
|
|
466
|
+
# plan).
|
|
467
|
+
# @return [String]
|
|
468
|
+
#
|
|
469
|
+
# @!attribute [rw] total_charge
|
|
470
|
+
# The total Business Support charge amount for this account in the
|
|
471
|
+
# billing month.
|
|
472
|
+
# @return [String]
|
|
473
|
+
#
|
|
474
|
+
# @!attribute [rw] total_usage_basis
|
|
475
|
+
# The total Support-eligible spend used as the basis for calculating
|
|
476
|
+
# the Business Support charge for this account.
|
|
477
|
+
# @return [String]
|
|
478
|
+
#
|
|
479
|
+
# @!attribute [rw] tier_charges
|
|
480
|
+
# The tier-level charges that make up the total Business Support
|
|
481
|
+
# charge for this account. Each tier represents a spend range with its
|
|
482
|
+
# own rate.
|
|
483
|
+
# @return [Array<Types::BusinessSupportTierCharge>]
|
|
484
|
+
#
|
|
485
|
+
# @!attribute [rw] support_discount
|
|
486
|
+
# The discount applied to the Business Support charge for this
|
|
487
|
+
# account, if any. This field is absent when no discount applies.
|
|
488
|
+
# @return [Types::BusinessSupportDiscount]
|
|
489
|
+
#
|
|
490
|
+
# @!attribute [rw] support_eligible_spend_by_service
|
|
491
|
+
# The Support-eligible spend broken down by contributing service for
|
|
492
|
+
# this account.
|
|
493
|
+
# @return [Array<Types::BusinessSupportServiceSpend>]
|
|
494
|
+
#
|
|
495
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/billing-2023-09-07/BusinessSupportAccountCharge AWS API Documentation
|
|
496
|
+
#
|
|
497
|
+
class BusinessSupportAccountCharge < Struct.new(
|
|
498
|
+
:account_id,
|
|
499
|
+
:support_plan_name,
|
|
500
|
+
:total_charge,
|
|
501
|
+
:total_usage_basis,
|
|
502
|
+
:tier_charges,
|
|
503
|
+
:support_discount,
|
|
504
|
+
:support_eligible_spend_by_service)
|
|
505
|
+
SENSITIVE = []
|
|
506
|
+
include Aws::Structure
|
|
507
|
+
end
|
|
508
|
+
|
|
509
|
+
# A discount applied to a Business Support account charge, including the
|
|
510
|
+
# discount amount, percentage, type, and source.
|
|
511
|
+
#
|
|
512
|
+
# @!attribute [rw] discount_amount
|
|
513
|
+
# The discount amount applied to the Business Support charge. This
|
|
514
|
+
# value is negative, representing a reduction in the charge.
|
|
515
|
+
# @return [String]
|
|
516
|
+
#
|
|
517
|
+
# @!attribute [rw] discount_percentage
|
|
518
|
+
# The discount percentage applied to the Business Support charge,
|
|
519
|
+
# expressed as a decimal (for example, `0.12` for a 12% discount).
|
|
520
|
+
# @return [String]
|
|
521
|
+
#
|
|
522
|
+
# @!attribute [rw] discount_type
|
|
523
|
+
# The type of discount applied. Valid values: `Distributor_Discount`
|
|
524
|
+
# (a discount applied through a distributor arrangement),
|
|
525
|
+
# `SPP_Discount` (a discount applied through the Solution Provider
|
|
526
|
+
# Program).
|
|
527
|
+
# @return [String]
|
|
528
|
+
#
|
|
529
|
+
# @!attribute [rw] discount_source
|
|
530
|
+
# The source or program through which the discount was applied.
|
|
531
|
+
# @return [String]
|
|
532
|
+
#
|
|
533
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/billing-2023-09-07/BusinessSupportDiscount AWS API Documentation
|
|
534
|
+
#
|
|
535
|
+
class BusinessSupportDiscount < Struct.new(
|
|
536
|
+
:discount_amount,
|
|
537
|
+
:discount_percentage,
|
|
538
|
+
:discount_type,
|
|
539
|
+
:discount_source)
|
|
540
|
+
SENSITIVE = []
|
|
541
|
+
include Aws::Structure
|
|
542
|
+
end
|
|
543
|
+
|
|
544
|
+
# A service-level spend entry contributing to Business Support eligible
|
|
545
|
+
# spend.
|
|
546
|
+
#
|
|
547
|
+
# @!attribute [rw] contributing_service
|
|
548
|
+
# The name of the Amazon Web Services service contributing to the
|
|
549
|
+
# Support-eligible spend.
|
|
550
|
+
# @return [String]
|
|
551
|
+
#
|
|
552
|
+
# @!attribute [rw] item_type
|
|
553
|
+
# The type of the line item. Valid values: `Usage`.
|
|
554
|
+
# @return [String]
|
|
555
|
+
#
|
|
556
|
+
# @!attribute [rw] description
|
|
557
|
+
# A human-readable description of the service spend entry.
|
|
558
|
+
# @return [String]
|
|
559
|
+
#
|
|
560
|
+
# @!attribute [rw] charge_amount
|
|
561
|
+
# The Support-eligible spend amount for this service.
|
|
562
|
+
# @return [String]
|
|
563
|
+
#
|
|
564
|
+
# @!attribute [rw] currency
|
|
565
|
+
# The ISO 4217 currency code for the charge amount (for example,
|
|
566
|
+
# `USD`).
|
|
567
|
+
# @return [String]
|
|
568
|
+
#
|
|
569
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/billing-2023-09-07/BusinessSupportServiceSpend AWS API Documentation
|
|
570
|
+
#
|
|
571
|
+
class BusinessSupportServiceSpend < Struct.new(
|
|
572
|
+
:contributing_service,
|
|
573
|
+
:item_type,
|
|
574
|
+
:description,
|
|
575
|
+
:charge_amount,
|
|
576
|
+
:currency)
|
|
577
|
+
SENSITIVE = []
|
|
578
|
+
include Aws::Structure
|
|
579
|
+
end
|
|
580
|
+
|
|
581
|
+
# A Business Support subscription contract for an account.
|
|
582
|
+
#
|
|
583
|
+
# @!attribute [rw] account_id
|
|
584
|
+
# The account ID associated with this subscription contract.
|
|
585
|
+
# @return [String]
|
|
586
|
+
#
|
|
587
|
+
# @!attribute [rw] plan_name
|
|
588
|
+
# The name of the Support plan for this subscription contract. Valid
|
|
589
|
+
# values: `AWSSupportBusiness` (Business Support plan),
|
|
590
|
+
# `AWSSupportDeveloper` (Developer Support plan),
|
|
591
|
+
# `AWSSupportEssential` (Basic Support plan).
|
|
592
|
+
# @return [String]
|
|
593
|
+
#
|
|
594
|
+
# @!attribute [rw] contract_start_date
|
|
595
|
+
# The start date of the subscription contract.
|
|
596
|
+
# @return [Time]
|
|
597
|
+
#
|
|
598
|
+
# @!attribute [rw] contract_end_date
|
|
599
|
+
# The end date of the subscription contract.
|
|
600
|
+
# @return [Time]
|
|
601
|
+
#
|
|
602
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/billing-2023-09-07/BusinessSupportSubscriptionContract AWS API Documentation
|
|
603
|
+
#
|
|
604
|
+
class BusinessSupportSubscriptionContract < Struct.new(
|
|
605
|
+
:account_id,
|
|
606
|
+
:plan_name,
|
|
607
|
+
:contract_start_date,
|
|
608
|
+
:contract_end_date)
|
|
609
|
+
SENSITIVE = []
|
|
610
|
+
include Aws::Structure
|
|
611
|
+
end
|
|
612
|
+
|
|
613
|
+
# A tier-level charge within a Business Support pricing plan. Business
|
|
614
|
+
# Support uses tiered pricing where different percentage rates apply to
|
|
615
|
+
# different ranges of Support-eligible spend.
|
|
616
|
+
#
|
|
617
|
+
# @!attribute [rw] tier_description
|
|
618
|
+
# A human-readable description of the pricing tier, including the
|
|
619
|
+
# spend range and percentage rate applied.
|
|
620
|
+
# @return [String]
|
|
621
|
+
#
|
|
622
|
+
# @!attribute [rw] tier_rate
|
|
623
|
+
# The percentage rate applied to Support-eligible spend within this
|
|
624
|
+
# pricing tier.
|
|
625
|
+
# @return [String]
|
|
626
|
+
#
|
|
627
|
+
# @!attribute [rw] usage_slice
|
|
628
|
+
# The amount of Support-eligible spend that falls within this pricing
|
|
629
|
+
# tier.
|
|
630
|
+
# @return [String]
|
|
631
|
+
#
|
|
632
|
+
# @!attribute [rw] tier_charge
|
|
633
|
+
# The Business Support charge amount calculated for this pricing tier.
|
|
634
|
+
# @return [String]
|
|
635
|
+
#
|
|
636
|
+
# @!attribute [rw] charge_period_start_date
|
|
637
|
+
# The start date of the charge period for this tier charge.
|
|
638
|
+
# @return [Time]
|
|
639
|
+
#
|
|
640
|
+
# @!attribute [rw] charge_period_end_date
|
|
641
|
+
# The end date of the charge period for this tier charge.
|
|
642
|
+
# @return [Time]
|
|
643
|
+
#
|
|
644
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/billing-2023-09-07/BusinessSupportTierCharge AWS API Documentation
|
|
645
|
+
#
|
|
646
|
+
class BusinessSupportTierCharge < Struct.new(
|
|
647
|
+
:tier_description,
|
|
648
|
+
:tier_rate,
|
|
649
|
+
:usage_slice,
|
|
650
|
+
:tier_charge,
|
|
651
|
+
:charge_period_start_date,
|
|
652
|
+
:charge_period_end_date)
|
|
653
|
+
SENSITIVE = []
|
|
654
|
+
include Aws::Structure
|
|
655
|
+
end
|
|
656
|
+
|
|
456
657
|
# An account that is charged all or a portion of the total Support
|
|
457
658
|
# charge and the percentage of the charge allocated to it.
|
|
458
659
|
#
|
|
@@ -1146,8 +1347,8 @@ module Aws::Billing
|
|
|
1146
1347
|
# @return [Time]
|
|
1147
1348
|
#
|
|
1148
1349
|
# @!attribute [rw] is_estimated
|
|
1149
|
-
#
|
|
1150
|
-
#
|
|
1350
|
+
# Specifies whether the Support charge amount is estimated. When
|
|
1351
|
+
# false, the charge amount is finalized.
|
|
1151
1352
|
# @return [Boolean]
|
|
1152
1353
|
#
|
|
1153
1354
|
# @!attribute [rw] bill_date
|
|
@@ -1579,6 +1780,154 @@ module Aws::Billing
|
|
|
1579
1780
|
include Aws::Structure
|
|
1580
1781
|
end
|
|
1581
1782
|
|
|
1783
|
+
# Contains the billing month and optional filters used to retrieve
|
|
1784
|
+
# Business Support charges broken down by linked account.
|
|
1785
|
+
#
|
|
1786
|
+
# @!attribute [rw] billing_month
|
|
1787
|
+
# The billing month to retrieve Business Support charges for, in
|
|
1788
|
+
# YYYY-MM format. You can request the current month (charges will be
|
|
1789
|
+
# estimated) or a past month (charges will be finalized).
|
|
1790
|
+
# @return [String]
|
|
1791
|
+
#
|
|
1792
|
+
# @!attribute [rw] account_id
|
|
1793
|
+
# The linked account ID to filter results to a specific account. If
|
|
1794
|
+
# you don't specify a value, the response includes charges for all
|
|
1795
|
+
# linked accounts.
|
|
1796
|
+
# @return [String]
|
|
1797
|
+
#
|
|
1798
|
+
# @!attribute [rw] max_results
|
|
1799
|
+
# The maximum number of results to return per page. Default is 100.
|
|
1800
|
+
# @return [Integer]
|
|
1801
|
+
#
|
|
1802
|
+
# @!attribute [rw] next_token
|
|
1803
|
+
# The pagination token for the next page of results.
|
|
1804
|
+
# @return [String]
|
|
1805
|
+
#
|
|
1806
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/billing-2023-09-07/ListBusinessSupportAccountChargesRequest AWS API Documentation
|
|
1807
|
+
#
|
|
1808
|
+
class ListBusinessSupportAccountChargesRequest < Struct.new(
|
|
1809
|
+
:billing_month,
|
|
1810
|
+
:account_id,
|
|
1811
|
+
:max_results,
|
|
1812
|
+
:next_token)
|
|
1813
|
+
SENSITIVE = []
|
|
1814
|
+
include Aws::Structure
|
|
1815
|
+
end
|
|
1816
|
+
|
|
1817
|
+
# Contains the Business Support charges broken down by linked account
|
|
1818
|
+
# for the specified billing month, along with account and spend totals.
|
|
1819
|
+
#
|
|
1820
|
+
# @!attribute [rw] billing_month
|
|
1821
|
+
# The billing month for the returned charges, in YYYY-MM format.
|
|
1822
|
+
# @return [String]
|
|
1823
|
+
#
|
|
1824
|
+
# @!attribute [rw] is_estimated
|
|
1825
|
+
# Specifies whether the Support charge amount is estimated. When
|
|
1826
|
+
# false, the charge amount is finalized.
|
|
1827
|
+
# @return [Boolean]
|
|
1828
|
+
#
|
|
1829
|
+
# @!attribute [rw] total_support_charge
|
|
1830
|
+
# The total Business Support charge amount for all accounts in the
|
|
1831
|
+
# billing month.
|
|
1832
|
+
# @return [String]
|
|
1833
|
+
#
|
|
1834
|
+
# @!attribute [rw] total_support_eligible_spend
|
|
1835
|
+
# The total Support-eligible spend from all accounts in the billing
|
|
1836
|
+
# month. This includes eligible spend from usage of Amazon Web
|
|
1837
|
+
# Services.
|
|
1838
|
+
# @return [String]
|
|
1839
|
+
#
|
|
1840
|
+
# @!attribute [rw] account_count
|
|
1841
|
+
# The total number of linked accounts with Business Support charges in
|
|
1842
|
+
# the billing month.
|
|
1843
|
+
# @return [Integer]
|
|
1844
|
+
#
|
|
1845
|
+
# @!attribute [rw] account_charges
|
|
1846
|
+
# The list of Business Support charges per linked account.
|
|
1847
|
+
# @return [Array<Types::BusinessSupportAccountCharge>]
|
|
1848
|
+
#
|
|
1849
|
+
# @!attribute [rw] next_token
|
|
1850
|
+
# The pagination token for the next page of results.
|
|
1851
|
+
# @return [String]
|
|
1852
|
+
#
|
|
1853
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/billing-2023-09-07/ListBusinessSupportAccountChargesResponse AWS API Documentation
|
|
1854
|
+
#
|
|
1855
|
+
class ListBusinessSupportAccountChargesResponse < Struct.new(
|
|
1856
|
+
:billing_month,
|
|
1857
|
+
:is_estimated,
|
|
1858
|
+
:total_support_charge,
|
|
1859
|
+
:total_support_eligible_spend,
|
|
1860
|
+
:account_count,
|
|
1861
|
+
:account_charges,
|
|
1862
|
+
:next_token)
|
|
1863
|
+
SENSITIVE = []
|
|
1864
|
+
include Aws::Structure
|
|
1865
|
+
end
|
|
1866
|
+
|
|
1867
|
+
# Contains the optional filters used to retrieve the history of Business
|
|
1868
|
+
# Support subscription contracts across accounts.
|
|
1869
|
+
#
|
|
1870
|
+
# @!attribute [rw] billing_month
|
|
1871
|
+
# The billing month to retrieve subscription contracts for, in YYYY-MM
|
|
1872
|
+
# format. If you don't specify a value, defaults to the current
|
|
1873
|
+
# month.
|
|
1874
|
+
# @return [String]
|
|
1875
|
+
#
|
|
1876
|
+
# @!attribute [rw] account_id
|
|
1877
|
+
# The account ID to filter results to a specific account. If you
|
|
1878
|
+
# don't specify a value, the response includes subscription history
|
|
1879
|
+
# for all accounts.
|
|
1880
|
+
# @return [String]
|
|
1881
|
+
#
|
|
1882
|
+
# @!attribute [rw] start_date
|
|
1883
|
+
# The start date to filter subscription contracts from.
|
|
1884
|
+
# @return [Time]
|
|
1885
|
+
#
|
|
1886
|
+
# @!attribute [rw] end_date
|
|
1887
|
+
# The end date to filter subscription contracts to.
|
|
1888
|
+
# @return [Time]
|
|
1889
|
+
#
|
|
1890
|
+
# @!attribute [rw] max_results
|
|
1891
|
+
# The maximum number of results to return per page. Default is 100.
|
|
1892
|
+
# @return [Integer]
|
|
1893
|
+
#
|
|
1894
|
+
# @!attribute [rw] next_token
|
|
1895
|
+
# The pagination token for the next page of results.
|
|
1896
|
+
# @return [String]
|
|
1897
|
+
#
|
|
1898
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/billing-2023-09-07/ListBusinessSupportSubscriptionHistoryRequest AWS API Documentation
|
|
1899
|
+
#
|
|
1900
|
+
class ListBusinessSupportSubscriptionHistoryRequest < Struct.new(
|
|
1901
|
+
:billing_month,
|
|
1902
|
+
:account_id,
|
|
1903
|
+
:start_date,
|
|
1904
|
+
:end_date,
|
|
1905
|
+
:max_results,
|
|
1906
|
+
:next_token)
|
|
1907
|
+
SENSITIVE = []
|
|
1908
|
+
include Aws::Structure
|
|
1909
|
+
end
|
|
1910
|
+
|
|
1911
|
+
# Contains the list of Business Support subscription contracts that
|
|
1912
|
+
# match the request filters.
|
|
1913
|
+
#
|
|
1914
|
+
# @!attribute [rw] subscription_contracts
|
|
1915
|
+
# The list of Business Support subscription contracts.
|
|
1916
|
+
# @return [Array<Types::BusinessSupportSubscriptionContract>]
|
|
1917
|
+
#
|
|
1918
|
+
# @!attribute [rw] next_token
|
|
1919
|
+
# The pagination token for the next page of results.
|
|
1920
|
+
# @return [String]
|
|
1921
|
+
#
|
|
1922
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/billing-2023-09-07/ListBusinessSupportSubscriptionHistoryResponse AWS API Documentation
|
|
1923
|
+
#
|
|
1924
|
+
class ListBusinessSupportSubscriptionHistoryResponse < Struct.new(
|
|
1925
|
+
:subscription_contracts,
|
|
1926
|
+
:next_token)
|
|
1927
|
+
SENSITIVE = []
|
|
1928
|
+
include Aws::Structure
|
|
1929
|
+
end
|
|
1930
|
+
|
|
1582
1931
|
# The request structure for ListEnterpriseSupportLinkedAccountCharges.
|
|
1583
1932
|
#
|
|
1584
1933
|
# @!attribute [rw] billing_month
|
|
@@ -1587,12 +1936,13 @@ module Aws::Billing
|
|
|
1587
1936
|
# @return [String]
|
|
1588
1937
|
#
|
|
1589
1938
|
# @!attribute [rw] account_id
|
|
1590
|
-
#
|
|
1591
|
-
#
|
|
1939
|
+
# The linked account ID to filter results to a specific account. If
|
|
1940
|
+
# you don't specify a value, the response includes charges for all
|
|
1941
|
+
# linked accounts.
|
|
1592
1942
|
# @return [String]
|
|
1593
1943
|
#
|
|
1594
1944
|
# @!attribute [rw] max_results
|
|
1595
|
-
# The maximum number of results to return per page.
|
|
1945
|
+
# The maximum number of results to return per page. Default is 100.
|
|
1596
1946
|
# @return [Integer]
|
|
1597
1947
|
#
|
|
1598
1948
|
# @!attribute [rw] next_token
|
data/lib/aws-sdk-billing.rb
CHANGED
data/sig/client.rbs
CHANGED
|
@@ -292,6 +292,41 @@ module Aws
|
|
|
292
292
|
) -> _ListBillingViewsResponseSuccess
|
|
293
293
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListBillingViewsResponseSuccess
|
|
294
294
|
|
|
295
|
+
interface _ListBusinessSupportAccountChargesResponseSuccess
|
|
296
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListBusinessSupportAccountChargesResponse]
|
|
297
|
+
def billing_month: () -> ::String
|
|
298
|
+
def is_estimated: () -> bool
|
|
299
|
+
def total_support_charge: () -> ::String
|
|
300
|
+
def total_support_eligible_spend: () -> ::String
|
|
301
|
+
def account_count: () -> ::Integer
|
|
302
|
+
def account_charges: () -> ::Array[Types::BusinessSupportAccountCharge]
|
|
303
|
+
def next_token: () -> ::String
|
|
304
|
+
end
|
|
305
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Billing/Client.html#list_business_support_account_charges-instance_method
|
|
306
|
+
def list_business_support_account_charges: (
|
|
307
|
+
billing_month: ::String,
|
|
308
|
+
?account_id: ::String,
|
|
309
|
+
?max_results: ::Integer,
|
|
310
|
+
?next_token: ::String
|
|
311
|
+
) -> _ListBusinessSupportAccountChargesResponseSuccess
|
|
312
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListBusinessSupportAccountChargesResponseSuccess
|
|
313
|
+
|
|
314
|
+
interface _ListBusinessSupportSubscriptionHistoryResponseSuccess
|
|
315
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListBusinessSupportSubscriptionHistoryResponse]
|
|
316
|
+
def subscription_contracts: () -> ::Array[Types::BusinessSupportSubscriptionContract]
|
|
317
|
+
def next_token: () -> ::String
|
|
318
|
+
end
|
|
319
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Billing/Client.html#list_business_support_subscription_history-instance_method
|
|
320
|
+
def list_business_support_subscription_history: (
|
|
321
|
+
?billing_month: ::String,
|
|
322
|
+
?account_id: ::String,
|
|
323
|
+
?start_date: ::Time,
|
|
324
|
+
?end_date: ::Time,
|
|
325
|
+
?max_results: ::Integer,
|
|
326
|
+
?next_token: ::String
|
|
327
|
+
) -> _ListBusinessSupportSubscriptionHistoryResponseSuccess
|
|
328
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListBusinessSupportSubscriptionHistoryResponseSuccess
|
|
329
|
+
|
|
295
330
|
interface _ListEnterpriseSupportLinkedAccountChargesResponseSuccess
|
|
296
331
|
include ::Seahorse::Client::_ResponseSuccess[Types::ListEnterpriseSupportLinkedAccountChargesResponse]
|
|
297
332
|
def linked_account: () -> ::Array[Types::LinkedAccountCharge]
|
data/sig/types.rbs
CHANGED
|
@@ -125,6 +125,52 @@ module Aws::Billing
|
|
|
125
125
|
SENSITIVE: []
|
|
126
126
|
end
|
|
127
127
|
|
|
128
|
+
class BusinessSupportAccountCharge
|
|
129
|
+
attr_accessor account_id: ::String
|
|
130
|
+
attr_accessor support_plan_name: ::String
|
|
131
|
+
attr_accessor total_charge: ::String
|
|
132
|
+
attr_accessor total_usage_basis: ::String
|
|
133
|
+
attr_accessor tier_charges: ::Array[Types::BusinessSupportTierCharge]
|
|
134
|
+
attr_accessor support_discount: Types::BusinessSupportDiscount
|
|
135
|
+
attr_accessor support_eligible_spend_by_service: ::Array[Types::BusinessSupportServiceSpend]
|
|
136
|
+
SENSITIVE: []
|
|
137
|
+
end
|
|
138
|
+
|
|
139
|
+
class BusinessSupportDiscount
|
|
140
|
+
attr_accessor discount_amount: ::String
|
|
141
|
+
attr_accessor discount_percentage: ::String
|
|
142
|
+
attr_accessor discount_type: ::String
|
|
143
|
+
attr_accessor discount_source: ::String
|
|
144
|
+
SENSITIVE: []
|
|
145
|
+
end
|
|
146
|
+
|
|
147
|
+
class BusinessSupportServiceSpend
|
|
148
|
+
attr_accessor contributing_service: ::String
|
|
149
|
+
attr_accessor item_type: ::String
|
|
150
|
+
attr_accessor description: ::String
|
|
151
|
+
attr_accessor charge_amount: ::String
|
|
152
|
+
attr_accessor currency: ::String
|
|
153
|
+
SENSITIVE: []
|
|
154
|
+
end
|
|
155
|
+
|
|
156
|
+
class BusinessSupportSubscriptionContract
|
|
157
|
+
attr_accessor account_id: ::String
|
|
158
|
+
attr_accessor plan_name: ::String
|
|
159
|
+
attr_accessor contract_start_date: ::Time
|
|
160
|
+
attr_accessor contract_end_date: ::Time
|
|
161
|
+
SENSITIVE: []
|
|
162
|
+
end
|
|
163
|
+
|
|
164
|
+
class BusinessSupportTierCharge
|
|
165
|
+
attr_accessor tier_description: ::String
|
|
166
|
+
attr_accessor tier_rate: ::String
|
|
167
|
+
attr_accessor usage_slice: ::String
|
|
168
|
+
attr_accessor tier_charge: ::String
|
|
169
|
+
attr_accessor charge_period_start_date: ::Time
|
|
170
|
+
attr_accessor charge_period_end_date: ::Time
|
|
171
|
+
SENSITIVE: []
|
|
172
|
+
end
|
|
173
|
+
|
|
128
174
|
class ChargeAccount
|
|
129
175
|
attr_accessor account_id: ::String
|
|
130
176
|
attr_accessor charge_percentage: ::String
|
|
@@ -407,6 +453,41 @@ module Aws::Billing
|
|
|
407
453
|
SENSITIVE: []
|
|
408
454
|
end
|
|
409
455
|
|
|
456
|
+
class ListBusinessSupportAccountChargesRequest
|
|
457
|
+
attr_accessor billing_month: ::String
|
|
458
|
+
attr_accessor account_id: ::String
|
|
459
|
+
attr_accessor max_results: ::Integer
|
|
460
|
+
attr_accessor next_token: ::String
|
|
461
|
+
SENSITIVE: []
|
|
462
|
+
end
|
|
463
|
+
|
|
464
|
+
class ListBusinessSupportAccountChargesResponse
|
|
465
|
+
attr_accessor billing_month: ::String
|
|
466
|
+
attr_accessor is_estimated: bool
|
|
467
|
+
attr_accessor total_support_charge: ::String
|
|
468
|
+
attr_accessor total_support_eligible_spend: ::String
|
|
469
|
+
attr_accessor account_count: ::Integer
|
|
470
|
+
attr_accessor account_charges: ::Array[Types::BusinessSupportAccountCharge]
|
|
471
|
+
attr_accessor next_token: ::String
|
|
472
|
+
SENSITIVE: []
|
|
473
|
+
end
|
|
474
|
+
|
|
475
|
+
class ListBusinessSupportSubscriptionHistoryRequest
|
|
476
|
+
attr_accessor billing_month: ::String
|
|
477
|
+
attr_accessor account_id: ::String
|
|
478
|
+
attr_accessor start_date: ::Time
|
|
479
|
+
attr_accessor end_date: ::Time
|
|
480
|
+
attr_accessor max_results: ::Integer
|
|
481
|
+
attr_accessor next_token: ::String
|
|
482
|
+
SENSITIVE: []
|
|
483
|
+
end
|
|
484
|
+
|
|
485
|
+
class ListBusinessSupportSubscriptionHistoryResponse
|
|
486
|
+
attr_accessor subscription_contracts: ::Array[Types::BusinessSupportSubscriptionContract]
|
|
487
|
+
attr_accessor next_token: ::String
|
|
488
|
+
SENSITIVE: []
|
|
489
|
+
end
|
|
490
|
+
|
|
410
491
|
class ListEnterpriseSupportLinkedAccountChargesRequest
|
|
411
492
|
attr_accessor billing_month: ::String
|
|
412
493
|
attr_accessor account_id: ::String
|