aws-sdk-billing 1.29.0 → 1.30.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 +215 -1
- data/lib/aws-sdk-billing/client_api.rb +189 -0
- data/lib/aws-sdk-billing/types.rb +556 -0
- data/lib/aws-sdk-billing.rb +1 -1
- data/sig/client.rbs +59 -0
- data/sig/types.rbs +132 -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: ecbe9c71a85d3e562da04d2f8b4615c1d2da882a7a5bb76083cfdb61262dbee4
|
|
4
|
+
data.tar.gz: 31271c50c759418aad24a53d77c0bf0008c6ee952efe517c710910ee4595db7d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4321edf900ab14854d6407a5f75c9cf3d7beb73f21d51c5b186b1cf146cd5f2401395a5a744cf4a1ff3fb6ca83d1fbbd77b8e597823277b5b51dd2934873a64e
|
|
7
|
+
data.tar.gz: 11e44fc8dc6c97281d08bfd4211c6fb0255c12be80a9b69d44931e97db490ca136bff6a78a359c53f134564cb3d273087faa3f0498749e6494440bafb393d966
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.30.0 (2026-07-31)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Adds GetEnterpriseSupportChargeSummary, GetEnterpriseSupportContractDetails, and ListEnterpriseSupportLinkedAccountCharges. These APIs provide first-time programmatic access to billing data for Enterprise Support usage previously only available upon request through AWS Concierge or Support.
|
|
8
|
+
|
|
4
9
|
1.29.0 (2026-07-09)
|
|
5
10
|
------------------
|
|
6
11
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.30.0
|
|
@@ -1038,6 +1038,158 @@ module Aws::Billing
|
|
|
1038
1038
|
req.send_request(options)
|
|
1039
1039
|
end
|
|
1040
1040
|
|
|
1041
|
+
# Returns a summary of Enterprise Support data aggregated across all
|
|
1042
|
+
# accounts in the Enterprise Support profile.
|
|
1043
|
+
#
|
|
1044
|
+
# @option params [required, String] :billing_month
|
|
1045
|
+
# The billing month in YYYY-MM format. This must be a month in the past.
|
|
1046
|
+
#
|
|
1047
|
+
# @return [Types::GetEnterpriseSupportChargeSummaryResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1048
|
+
#
|
|
1049
|
+
# * {Types::GetEnterpriseSupportChargeSummaryResponse#payer_account_id #payer_account_id} => String
|
|
1050
|
+
# * {Types::GetEnterpriseSupportChargeSummaryResponse#billing_month #billing_month} => String
|
|
1051
|
+
# * {Types::GetEnterpriseSupportChargeSummaryResponse#billing_period_start_date #billing_period_start_date} => Time
|
|
1052
|
+
# * {Types::GetEnterpriseSupportChargeSummaryResponse#billing_period_end_date #billing_period_end_date} => Time
|
|
1053
|
+
# * {Types::GetEnterpriseSupportChargeSummaryResponse#is_estimated #is_estimated} => Boolean
|
|
1054
|
+
# * {Types::GetEnterpriseSupportChargeSummaryResponse#bill_date #bill_date} => Time
|
|
1055
|
+
# * {Types::GetEnterpriseSupportChargeSummaryResponse#support_charge #support_charge} => String
|
|
1056
|
+
# * {Types::GetEnterpriseSupportChargeSummaryResponse#total_support_charge #total_support_charge} => String
|
|
1057
|
+
# * {Types::GetEnterpriseSupportChargeSummaryResponse#support_discount #support_discount} => String
|
|
1058
|
+
# * {Types::GetEnterpriseSupportChargeSummaryResponse#total_support_eligible_spend #total_support_eligible_spend} => String
|
|
1059
|
+
# * {Types::GetEnterpriseSupportChargeSummaryResponse#total_support_eligible_usage_spend #total_support_eligible_usage_spend} => String
|
|
1060
|
+
# * {Types::GetEnterpriseSupportChargeSummaryResponse#total_support_eligible_reserved_instance_spend #total_support_eligible_reserved_instance_spend} => String
|
|
1061
|
+
# * {Types::GetEnterpriseSupportChargeSummaryResponse#total_support_eligible_savings_plan_spend #total_support_eligible_savings_plan_spend} => String
|
|
1062
|
+
# * {Types::GetEnterpriseSupportChargeSummaryResponse#support_charge_percentage #support_charge_percentage} => String
|
|
1063
|
+
# * {Types::GetEnterpriseSupportChargeSummaryResponse#support_effective_pricing_plan #support_effective_pricing_plan} => Types::PricingPlan
|
|
1064
|
+
#
|
|
1065
|
+
# @example Request syntax with placeholder values
|
|
1066
|
+
#
|
|
1067
|
+
# resp = client.get_enterprise_support_charge_summary({
|
|
1068
|
+
# billing_month: "EnterpriseSupportBillingMonth", # required
|
|
1069
|
+
# })
|
|
1070
|
+
#
|
|
1071
|
+
# @example Response structure
|
|
1072
|
+
#
|
|
1073
|
+
# resp.payer_account_id #=> String
|
|
1074
|
+
# resp.billing_month #=> String
|
|
1075
|
+
# resp.billing_period_start_date #=> Time
|
|
1076
|
+
# resp.billing_period_end_date #=> Time
|
|
1077
|
+
# resp.is_estimated #=> Boolean
|
|
1078
|
+
# resp.bill_date #=> Time
|
|
1079
|
+
# resp.support_charge #=> String
|
|
1080
|
+
# resp.total_support_charge #=> String
|
|
1081
|
+
# resp.support_discount #=> String
|
|
1082
|
+
# resp.total_support_eligible_spend #=> String
|
|
1083
|
+
# resp.total_support_eligible_usage_spend #=> String
|
|
1084
|
+
# resp.total_support_eligible_reserved_instance_spend #=> String
|
|
1085
|
+
# resp.total_support_eligible_savings_plan_spend #=> String
|
|
1086
|
+
# resp.support_charge_percentage #=> String
|
|
1087
|
+
# resp.support_effective_pricing_plan.pricing_plan_id #=> String
|
|
1088
|
+
# resp.support_effective_pricing_plan.name #=> String
|
|
1089
|
+
# resp.support_effective_pricing_plan.description #=> String
|
|
1090
|
+
# resp.support_effective_pricing_plan.start_date #=> Time
|
|
1091
|
+
# resp.support_effective_pricing_plan.end_date #=> Time
|
|
1092
|
+
# resp.support_effective_pricing_plan.plan_discount_percent #=> String
|
|
1093
|
+
# resp.support_effective_pricing_plan.discount_applies_to_minimum_charge #=> Boolean
|
|
1094
|
+
# resp.support_effective_pricing_plan.minimum_charge #=> String
|
|
1095
|
+
# resp.support_effective_pricing_plan.tiered #=> String
|
|
1096
|
+
# resp.support_effective_pricing_plan.tiers #=> Array
|
|
1097
|
+
# resp.support_effective_pricing_plan.tiers[0].tier_minimum #=> String
|
|
1098
|
+
# resp.support_effective_pricing_plan.tiers[0].tier_maximum #=> String
|
|
1099
|
+
# resp.support_effective_pricing_plan.tiers[0].base_charge #=> String
|
|
1100
|
+
# resp.support_effective_pricing_plan.tiers[0].additional_percentage_of_aggregate_charges #=> String
|
|
1101
|
+
# resp.support_effective_pricing_plan.tiers[0].aggregate_charges_adjustment #=> String
|
|
1102
|
+
# resp.support_effective_pricing_plan.tiers[0].incremental #=> Boolean
|
|
1103
|
+
# resp.support_effective_pricing_plan.tiers[0].increment #=> String
|
|
1104
|
+
# resp.support_effective_pricing_plan.tiers[0].increment_charge #=> String
|
|
1105
|
+
#
|
|
1106
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/billing-2023-09-07/GetEnterpriseSupportChargeSummary AWS API Documentation
|
|
1107
|
+
#
|
|
1108
|
+
# @overload get_enterprise_support_charge_summary(params = {})
|
|
1109
|
+
# @param [Hash] params ({})
|
|
1110
|
+
def get_enterprise_support_charge_summary(params = {}, options = {})
|
|
1111
|
+
req = build_request(:get_enterprise_support_charge_summary, params)
|
|
1112
|
+
req.send_request(options)
|
|
1113
|
+
end
|
|
1114
|
+
|
|
1115
|
+
# Returns Enterprise Support contract details.
|
|
1116
|
+
#
|
|
1117
|
+
# @option params [required, String] :billing_month
|
|
1118
|
+
# The billing month in YYYY-MM format. This must be a month in the past.
|
|
1119
|
+
#
|
|
1120
|
+
# @return [Types::GetEnterpriseSupportContractDetailsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1121
|
+
#
|
|
1122
|
+
# * {Types::GetEnterpriseSupportContractDetailsResponse#is_contract_active #is_contract_active} => Boolean
|
|
1123
|
+
# * {Types::GetEnterpriseSupportContractDetailsResponse#support_allocation_method #support_allocation_method} => String
|
|
1124
|
+
# * {Types::GetEnterpriseSupportContractDetailsResponse#support_reserved_instance_amortization_start_date #support_reserved_instance_amortization_start_date} => Time
|
|
1125
|
+
# * {Types::GetEnterpriseSupportContractDetailsResponse#support_reserved_instance_treatment_method #support_reserved_instance_treatment_method} => String
|
|
1126
|
+
# * {Types::GetEnterpriseSupportContractDetailsResponse#support_savings_plans_amortization_start_date #support_savings_plans_amortization_start_date} => Time
|
|
1127
|
+
# * {Types::GetEnterpriseSupportContractDetailsResponse#support_savings_plans_treatment_method #support_savings_plans_treatment_method} => String
|
|
1128
|
+
# * {Types::GetEnterpriseSupportContractDetailsResponse#support_prorate_start_date #support_prorate_start_date} => Time
|
|
1129
|
+
# * {Types::GetEnterpriseSupportContractDetailsResponse#contract_payer_account_ids #contract_payer_account_ids} => Array<Types::ContractAccount>
|
|
1130
|
+
# * {Types::GetEnterpriseSupportContractDetailsResponse#charged_payer_account_ids #charged_payer_account_ids} => Array<Types::ChargeAccount>
|
|
1131
|
+
# * {Types::GetEnterpriseSupportContractDetailsResponse#additional_support_charge #additional_support_charge} => Array<Types::AdditionalCharge>
|
|
1132
|
+
# * {Types::GetEnterpriseSupportContractDetailsResponse#additional_support_eligible_usage_spend #additional_support_eligible_usage_spend} => Array<Types::AdditionalCharge>
|
|
1133
|
+
# * {Types::GetEnterpriseSupportContractDetailsResponse#pricing_plans #pricing_plans} => Array<Types::PricingPlan>
|
|
1134
|
+
#
|
|
1135
|
+
# @example Request syntax with placeholder values
|
|
1136
|
+
#
|
|
1137
|
+
# resp = client.get_enterprise_support_contract_details({
|
|
1138
|
+
# billing_month: "EnterpriseSupportBillingMonth", # required
|
|
1139
|
+
# })
|
|
1140
|
+
#
|
|
1141
|
+
# @example Response structure
|
|
1142
|
+
#
|
|
1143
|
+
# resp.is_contract_active #=> Boolean
|
|
1144
|
+
# resp.support_allocation_method #=> String
|
|
1145
|
+
# resp.support_reserved_instance_amortization_start_date #=> Time
|
|
1146
|
+
# resp.support_reserved_instance_treatment_method #=> String
|
|
1147
|
+
# resp.support_savings_plans_amortization_start_date #=> Time
|
|
1148
|
+
# resp.support_savings_plans_treatment_method #=> String
|
|
1149
|
+
# resp.support_prorate_start_date #=> Time
|
|
1150
|
+
# resp.contract_payer_account_ids #=> Array
|
|
1151
|
+
# resp.contract_payer_account_ids[0].account_id #=> String
|
|
1152
|
+
# resp.contract_payer_account_ids[0].is_gdn #=> Boolean
|
|
1153
|
+
# resp.charged_payer_account_ids #=> Array
|
|
1154
|
+
# resp.charged_payer_account_ids[0].account_id #=> String
|
|
1155
|
+
# resp.charged_payer_account_ids[0].charge_percentage #=> String
|
|
1156
|
+
# resp.additional_support_charge #=> Array
|
|
1157
|
+
# resp.additional_support_charge[0].description #=> String
|
|
1158
|
+
# resp.additional_support_charge[0].amount #=> String
|
|
1159
|
+
# resp.additional_support_charge[0].charge_type #=> String
|
|
1160
|
+
# resp.additional_support_eligible_usage_spend #=> Array
|
|
1161
|
+
# resp.additional_support_eligible_usage_spend[0].description #=> String
|
|
1162
|
+
# resp.additional_support_eligible_usage_spend[0].amount #=> String
|
|
1163
|
+
# resp.additional_support_eligible_usage_spend[0].charge_type #=> String
|
|
1164
|
+
# resp.pricing_plans #=> Array
|
|
1165
|
+
# resp.pricing_plans[0].pricing_plan_id #=> String
|
|
1166
|
+
# resp.pricing_plans[0].name #=> String
|
|
1167
|
+
# resp.pricing_plans[0].description #=> String
|
|
1168
|
+
# resp.pricing_plans[0].start_date #=> Time
|
|
1169
|
+
# resp.pricing_plans[0].end_date #=> Time
|
|
1170
|
+
# resp.pricing_plans[0].plan_discount_percent #=> String
|
|
1171
|
+
# resp.pricing_plans[0].discount_applies_to_minimum_charge #=> Boolean
|
|
1172
|
+
# resp.pricing_plans[0].minimum_charge #=> String
|
|
1173
|
+
# resp.pricing_plans[0].tiered #=> String
|
|
1174
|
+
# resp.pricing_plans[0].tiers #=> Array
|
|
1175
|
+
# resp.pricing_plans[0].tiers[0].tier_minimum #=> String
|
|
1176
|
+
# resp.pricing_plans[0].tiers[0].tier_maximum #=> String
|
|
1177
|
+
# resp.pricing_plans[0].tiers[0].base_charge #=> String
|
|
1178
|
+
# resp.pricing_plans[0].tiers[0].additional_percentage_of_aggregate_charges #=> String
|
|
1179
|
+
# resp.pricing_plans[0].tiers[0].aggregate_charges_adjustment #=> String
|
|
1180
|
+
# resp.pricing_plans[0].tiers[0].incremental #=> Boolean
|
|
1181
|
+
# resp.pricing_plans[0].tiers[0].increment #=> String
|
|
1182
|
+
# resp.pricing_plans[0].tiers[0].increment_charge #=> String
|
|
1183
|
+
#
|
|
1184
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/billing-2023-09-07/GetEnterpriseSupportContractDetails AWS API Documentation
|
|
1185
|
+
#
|
|
1186
|
+
# @overload get_enterprise_support_contract_details(params = {})
|
|
1187
|
+
# @param [Hash] params ({})
|
|
1188
|
+
def get_enterprise_support_contract_details(params = {}, options = {})
|
|
1189
|
+
req = build_request(:get_enterprise_support_contract_details, params)
|
|
1190
|
+
req.send_request(options)
|
|
1191
|
+
end
|
|
1192
|
+
|
|
1041
1193
|
# Returns the resource-based policy document attached to the resource in
|
|
1042
1194
|
# `JSON` format.
|
|
1043
1195
|
#
|
|
@@ -1205,6 +1357,68 @@ module Aws::Billing
|
|
|
1205
1357
|
req.send_request(options)
|
|
1206
1358
|
end
|
|
1207
1359
|
|
|
1360
|
+
# Returns Support-eligible spend broken down at linked account level.
|
|
1361
|
+
#
|
|
1362
|
+
# @option params [required, String] :billing_month
|
|
1363
|
+
# The billing month in YYYY-MM format. This must be a month in the past.
|
|
1364
|
+
#
|
|
1365
|
+
# @option params [String] :account_id
|
|
1366
|
+
# An optional linked account ID to filter results to a specific account.
|
|
1367
|
+
#
|
|
1368
|
+
# @option params [Integer] :max_results
|
|
1369
|
+
# The maximum number of results to return per page.
|
|
1370
|
+
#
|
|
1371
|
+
# @option params [String] :next_token
|
|
1372
|
+
# The pagination token for the next page of results.
|
|
1373
|
+
#
|
|
1374
|
+
# @return [Types::ListEnterpriseSupportLinkedAccountChargesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1375
|
+
#
|
|
1376
|
+
# * {Types::ListEnterpriseSupportLinkedAccountChargesResponse#linked_account #linked_account} => Array<Types::LinkedAccountCharge>
|
|
1377
|
+
# * {Types::ListEnterpriseSupportLinkedAccountChargesResponse#next_token #next_token} => String
|
|
1378
|
+
#
|
|
1379
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
|
1380
|
+
#
|
|
1381
|
+
# @example Request syntax with placeholder values
|
|
1382
|
+
#
|
|
1383
|
+
# resp = client.list_enterprise_support_linked_account_charges({
|
|
1384
|
+
# billing_month: "EnterpriseSupportBillingMonth", # required
|
|
1385
|
+
# account_id: "AccountId",
|
|
1386
|
+
# max_results: 1,
|
|
1387
|
+
# next_token: "PageToken",
|
|
1388
|
+
# })
|
|
1389
|
+
#
|
|
1390
|
+
# @example Response structure
|
|
1391
|
+
#
|
|
1392
|
+
# resp.linked_account #=> Array
|
|
1393
|
+
# resp.linked_account[0].account_id #=> String
|
|
1394
|
+
# resp.linked_account[0].payer_account_id #=> String
|
|
1395
|
+
# resp.linked_account[0].account_type #=> String
|
|
1396
|
+
# resp.linked_account[0].billable_seconds #=> Integer
|
|
1397
|
+
# resp.linked_account[0].total_seconds #=> Integer
|
|
1398
|
+
# resp.linked_account[0].total_support_eligible_spend #=> String
|
|
1399
|
+
# resp.linked_account[0].prorated_total_support_eligible_spend #=> String
|
|
1400
|
+
# resp.linked_account[0].linked_time_periods #=> Array
|
|
1401
|
+
# resp.linked_account[0].linked_time_periods[0].begin_date #=> Time
|
|
1402
|
+
# resp.linked_account[0].linked_time_periods[0].end_date #=> Time
|
|
1403
|
+
# resp.linked_account[0].subscription_time_periods #=> Array
|
|
1404
|
+
# resp.linked_account[0].subscription_time_periods[0].begin_date #=> Time
|
|
1405
|
+
# resp.linked_account[0].subscription_time_periods[0].end_date #=> Time
|
|
1406
|
+
# resp.linked_account[0].total_support_eligible_reserved_instance_spend #=> String
|
|
1407
|
+
# resp.linked_account[0].total_support_eligible_savings_plan_spend #=> String
|
|
1408
|
+
# resp.linked_account[0].support_eligible_spend_by_service #=> Array
|
|
1409
|
+
# resp.linked_account[0].support_eligible_spend_by_service[0].service_code #=> String
|
|
1410
|
+
# resp.linked_account[0].support_eligible_spend_by_service[0].total_support_eligible_spend #=> String
|
|
1411
|
+
# resp.next_token #=> String
|
|
1412
|
+
#
|
|
1413
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/billing-2023-09-07/ListEnterpriseSupportLinkedAccountCharges AWS API Documentation
|
|
1414
|
+
#
|
|
1415
|
+
# @overload list_enterprise_support_linked_account_charges(params = {})
|
|
1416
|
+
# @param [Hash] params ({})
|
|
1417
|
+
def list_enterprise_support_linked_account_charges(params = {}, options = {})
|
|
1418
|
+
req = build_request(:list_enterprise_support_linked_account_charges, params)
|
|
1419
|
+
req.send_request(options)
|
|
1420
|
+
end
|
|
1421
|
+
|
|
1208
1422
|
# Lists the source views (managed Amazon Web Services billing views)
|
|
1209
1423
|
# associated with the billing view.
|
|
1210
1424
|
#
|
|
@@ -1580,7 +1794,7 @@ module Aws::Billing
|
|
|
1580
1794
|
tracer: tracer
|
|
1581
1795
|
)
|
|
1582
1796
|
context[:gem_name] = 'aws-sdk-billing'
|
|
1583
|
-
context[:gem_version] = '1.
|
|
1797
|
+
context[:gem_version] = '1.30.0'
|
|
1584
1798
|
Seahorse::Client::Request.new(handlers, context)
|
|
1585
1799
|
end
|
|
1586
1800
|
|
|
@@ -18,6 +18,8 @@ module Aws::Billing
|
|
|
18
18
|
AccountId = Shapes::StringShape.new(name: 'AccountId')
|
|
19
19
|
AccountName = Shapes::StringShape.new(name: 'AccountName')
|
|
20
20
|
ActiveTimeRange = Shapes::StructureShape.new(name: 'ActiveTimeRange')
|
|
21
|
+
AdditionalCharge = Shapes::StructureShape.new(name: 'AdditionalCharge')
|
|
22
|
+
AdditionalChargeList = Shapes::ListShape.new(name: 'AdditionalChargeList')
|
|
21
23
|
Amount = Shapes::StructureShape.new(name: 'Amount')
|
|
22
24
|
ApplicationType = Shapes::StringShape.new(name: 'ApplicationType')
|
|
23
25
|
AssociateSourceViewsRequest = Shapes::StructureShape.new(name: 'AssociateSourceViewsRequest')
|
|
@@ -51,8 +53,12 @@ module Aws::Billing
|
|
|
51
53
|
BillingViewsMaxResults = Shapes::IntegerShape.new(name: 'BillingViewsMaxResults')
|
|
52
54
|
BillingYear = Shapes::IntegerShape.new(name: 'BillingYear')
|
|
53
55
|
Boolean = Shapes::BooleanShape.new(name: 'Boolean')
|
|
56
|
+
ChargeAccount = Shapes::StructureShape.new(name: 'ChargeAccount')
|
|
57
|
+
ChargeAccountList = Shapes::ListShape.new(name: 'ChargeAccountList')
|
|
54
58
|
ClientToken = Shapes::StringShape.new(name: 'ClientToken')
|
|
55
59
|
ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
|
|
60
|
+
ContractAccount = Shapes::StructureShape.new(name: 'ContractAccount')
|
|
61
|
+
ContractAccountList = Shapes::ListShape.new(name: 'ContractAccountList')
|
|
56
62
|
CostCategoryName = Shapes::StringShape.new(name: 'CostCategoryName')
|
|
57
63
|
CostCategoryValues = Shapes::StructureShape.new(name: 'CostCategoryValues')
|
|
58
64
|
CreateBillingViewRequest = Shapes::StructureShape.new(name: 'CreateBillingViewRequest')
|
|
@@ -72,6 +78,8 @@ module Aws::Billing
|
|
|
72
78
|
DimensionValues = Shapes::StructureShape.new(name: 'DimensionValues')
|
|
73
79
|
DisassociateSourceViewsRequest = Shapes::StructureShape.new(name: 'DisassociateSourceViewsRequest')
|
|
74
80
|
DisassociateSourceViewsResponse = Shapes::StructureShape.new(name: 'DisassociateSourceViewsResponse')
|
|
81
|
+
EnterpriseSupportBillingMonth = Shapes::StringShape.new(name: 'EnterpriseSupportBillingMonth')
|
|
82
|
+
EnterpriseSupportTimePeriod = Shapes::StructureShape.new(name: 'EnterpriseSupportTimePeriod')
|
|
75
83
|
ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
|
|
76
84
|
Expression = Shapes::StructureShape.new(name: 'Expression')
|
|
77
85
|
FailedMonthsList = Shapes::ListShape.new(name: 'FailedMonthsList')
|
|
@@ -88,12 +96,21 @@ module Aws::Billing
|
|
|
88
96
|
GetCreditAllocationHistoryResponse = Shapes::StructureShape.new(name: 'GetCreditAllocationHistoryResponse')
|
|
89
97
|
GetCreditsRequest = Shapes::StructureShape.new(name: 'GetCreditsRequest')
|
|
90
98
|
GetCreditsResponse = Shapes::StructureShape.new(name: 'GetCreditsResponse')
|
|
99
|
+
GetEnterpriseSupportChargeSummaryRequest = Shapes::StructureShape.new(name: 'GetEnterpriseSupportChargeSummaryRequest')
|
|
100
|
+
GetEnterpriseSupportChargeSummaryResponse = Shapes::StructureShape.new(name: 'GetEnterpriseSupportChargeSummaryResponse')
|
|
101
|
+
GetEnterpriseSupportContractDetailsRequest = Shapes::StructureShape.new(name: 'GetEnterpriseSupportContractDetailsRequest')
|
|
102
|
+
GetEnterpriseSupportContractDetailsResponse = Shapes::StructureShape.new(name: 'GetEnterpriseSupportContractDetailsResponse')
|
|
91
103
|
GetResourcePolicyRequest = Shapes::StructureShape.new(name: 'GetResourcePolicyRequest')
|
|
92
104
|
GetResourcePolicyResponse = Shapes::StructureShape.new(name: 'GetResourcePolicyResponse')
|
|
93
105
|
Integer = Shapes::IntegerShape.new(name: 'Integer')
|
|
94
106
|
InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
|
|
107
|
+
LinkedAccountCharge = Shapes::StructureShape.new(name: 'LinkedAccountCharge')
|
|
108
|
+
LinkedAccountChargeList = Shapes::ListShape.new(name: 'LinkedAccountChargeList')
|
|
95
109
|
ListBillingViewsRequest = Shapes::StructureShape.new(name: 'ListBillingViewsRequest')
|
|
96
110
|
ListBillingViewsResponse = Shapes::StructureShape.new(name: 'ListBillingViewsResponse')
|
|
111
|
+
ListEnterpriseSupportLinkedAccountChargesRequest = Shapes::StructureShape.new(name: 'ListEnterpriseSupportLinkedAccountChargesRequest')
|
|
112
|
+
ListEnterpriseSupportLinkedAccountChargesRequestMaxResultsInteger = Shapes::IntegerShape.new(name: 'ListEnterpriseSupportLinkedAccountChargesRequestMaxResultsInteger')
|
|
113
|
+
ListEnterpriseSupportLinkedAccountChargesResponse = Shapes::StructureShape.new(name: 'ListEnterpriseSupportLinkedAccountChargesResponse')
|
|
97
114
|
ListSourceViewsForBillingViewRequest = Shapes::StructureShape.new(name: 'ListSourceViewsForBillingViewRequest')
|
|
98
115
|
ListSourceViewsForBillingViewResponse = Shapes::StructureShape.new(name: 'ListSourceViewsForBillingViewResponse')
|
|
99
116
|
ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
|
|
@@ -104,6 +121,10 @@ module Aws::Billing
|
|
|
104
121
|
PolicyDocument = Shapes::StringShape.new(name: 'PolicyDocument')
|
|
105
122
|
PreferenceKey = Shapes::StringShape.new(name: 'PreferenceKey')
|
|
106
123
|
PreferenceValue = Shapes::StringShape.new(name: 'PreferenceValue')
|
|
124
|
+
PricingPlan = Shapes::StructureShape.new(name: 'PricingPlan')
|
|
125
|
+
PricingPlanList = Shapes::ListShape.new(name: 'PricingPlanList')
|
|
126
|
+
PricingPlanTier = Shapes::StructureShape.new(name: 'PricingPlanTier')
|
|
127
|
+
PricingPlanTierList = Shapes::ListShape.new(name: 'PricingPlanTierList')
|
|
107
128
|
ProductName = Shapes::StringShape.new(name: 'ProductName')
|
|
108
129
|
ProductNames = Shapes::ListShape.new(name: 'ProductNames')
|
|
109
130
|
PromoCode = Shapes::StringShape.new(name: 'PromoCode')
|
|
@@ -124,6 +145,8 @@ module Aws::Billing
|
|
|
124
145
|
SearchOption = Shapes::StringShape.new(name: 'SearchOption')
|
|
125
146
|
SearchValue = Shapes::StringShape.new(name: 'SearchValue')
|
|
126
147
|
ServiceCode = Shapes::StringShape.new(name: 'ServiceCode')
|
|
148
|
+
ServiceLevelAccountUsage = Shapes::StructureShape.new(name: 'ServiceLevelAccountUsage')
|
|
149
|
+
ServiceLevelAccountUsageList = Shapes::ListShape.new(name: 'ServiceLevelAccountUsageList')
|
|
127
150
|
ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
|
|
128
151
|
ShareableAccountIds = Shapes::ListShape.new(name: 'ShareableAccountIds')
|
|
129
152
|
String = Shapes::StringShape.new(name: 'String')
|
|
@@ -134,6 +157,7 @@ module Aws::Billing
|
|
|
134
157
|
TagResourceResponse = Shapes::StructureShape.new(name: 'TagResourceResponse')
|
|
135
158
|
TagValues = Shapes::StructureShape.new(name: 'TagValues')
|
|
136
159
|
ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
|
|
160
|
+
TimePeriodList = Shapes::ListShape.new(name: 'TimePeriodList')
|
|
137
161
|
TimeRange = Shapes::StructureShape.new(name: 'TimeRange')
|
|
138
162
|
Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
|
|
139
163
|
UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
|
|
@@ -156,6 +180,13 @@ module Aws::Billing
|
|
|
156
180
|
ActiveTimeRange.add_member(:active_before_inclusive, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "activeBeforeInclusive"))
|
|
157
181
|
ActiveTimeRange.struct_class = Types::ActiveTimeRange
|
|
158
182
|
|
|
183
|
+
AdditionalCharge.add_member(:description, Shapes::ShapeRef.new(shape: String, required: true, location_name: "description"))
|
|
184
|
+
AdditionalCharge.add_member(:amount, Shapes::ShapeRef.new(shape: String, location_name: "amount"))
|
|
185
|
+
AdditionalCharge.add_member(:charge_type, Shapes::ShapeRef.new(shape: String, location_name: "chargeType"))
|
|
186
|
+
AdditionalCharge.struct_class = Types::AdditionalCharge
|
|
187
|
+
|
|
188
|
+
AdditionalChargeList.member = Shapes::ShapeRef.new(shape: AdditionalCharge)
|
|
189
|
+
|
|
159
190
|
Amount.add_member(:currency_code, Shapes::ShapeRef.new(shape: CurrencyCode, required: true, location_name: "currencyCode"))
|
|
160
191
|
Amount.add_member(:currency_amount, Shapes::ShapeRef.new(shape: CurrencyAmount, required: true, location_name: "currencyAmount"))
|
|
161
192
|
Amount.struct_class = Types::Amount
|
|
@@ -234,11 +265,23 @@ module Aws::Billing
|
|
|
234
265
|
|
|
235
266
|
BillingViewTypeList.member = Shapes::ShapeRef.new(shape: BillingViewType)
|
|
236
267
|
|
|
268
|
+
ChargeAccount.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, required: true, location_name: "accountId"))
|
|
269
|
+
ChargeAccount.add_member(:charge_percentage, Shapes::ShapeRef.new(shape: String, required: true, location_name: "chargePercentage"))
|
|
270
|
+
ChargeAccount.struct_class = Types::ChargeAccount
|
|
271
|
+
|
|
272
|
+
ChargeAccountList.member = Shapes::ShapeRef.new(shape: ChargeAccount)
|
|
273
|
+
|
|
237
274
|
ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, required: true, location_name: "message"))
|
|
238
275
|
ConflictException.add_member(:resource_id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location_name: "resourceId"))
|
|
239
276
|
ConflictException.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, required: true, location_name: "resourceType"))
|
|
240
277
|
ConflictException.struct_class = Types::ConflictException
|
|
241
278
|
|
|
279
|
+
ContractAccount.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, required: true, location_name: "accountId"))
|
|
280
|
+
ContractAccount.add_member(:is_gdn, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "isGdn"))
|
|
281
|
+
ContractAccount.struct_class = Types::ContractAccount
|
|
282
|
+
|
|
283
|
+
ContractAccountList.member = Shapes::ShapeRef.new(shape: ContractAccount)
|
|
284
|
+
|
|
242
285
|
CostCategoryValues.add_member(:key, Shapes::ShapeRef.new(shape: CostCategoryName, required: true, location_name: "key"))
|
|
243
286
|
CostCategoryValues.add_member(:values, Shapes::ShapeRef.new(shape: Values, required: true, location_name: "values"))
|
|
244
287
|
CostCategoryValues.struct_class = Types::CostCategoryValues
|
|
@@ -308,6 +351,10 @@ module Aws::Billing
|
|
|
308
351
|
DisassociateSourceViewsResponse.add_member(:arn, Shapes::ShapeRef.new(shape: BillingViewArn, required: true, location_name: "arn"))
|
|
309
352
|
DisassociateSourceViewsResponse.struct_class = Types::DisassociateSourceViewsResponse
|
|
310
353
|
|
|
354
|
+
EnterpriseSupportTimePeriod.add_member(:begin_date, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "beginDate"))
|
|
355
|
+
EnterpriseSupportTimePeriod.add_member(:end_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "endDate"))
|
|
356
|
+
EnterpriseSupportTimePeriod.struct_class = Types::EnterpriseSupportTimePeriod
|
|
357
|
+
|
|
311
358
|
Expression.add_member(:dimensions, Shapes::ShapeRef.new(shape: DimensionValues, location_name: "dimensions"))
|
|
312
359
|
Expression.add_member(:tags, Shapes::ShapeRef.new(shape: TagValues, location_name: "tags"))
|
|
313
360
|
Expression.add_member(:cost_categories, Shapes::ShapeRef.new(shape: CostCategoryValues, location_name: "costCategories"))
|
|
@@ -359,6 +406,43 @@ module Aws::Billing
|
|
|
359
406
|
GetCreditsResponse.add_member(:credits, Shapes::ShapeRef.new(shape: CreditDataList, location_name: "credits"))
|
|
360
407
|
GetCreditsResponse.struct_class = Types::GetCreditsResponse
|
|
361
408
|
|
|
409
|
+
GetEnterpriseSupportChargeSummaryRequest.add_member(:billing_month, Shapes::ShapeRef.new(shape: EnterpriseSupportBillingMonth, required: true, location_name: "billingMonth"))
|
|
410
|
+
GetEnterpriseSupportChargeSummaryRequest.struct_class = Types::GetEnterpriseSupportChargeSummaryRequest
|
|
411
|
+
|
|
412
|
+
GetEnterpriseSupportChargeSummaryResponse.add_member(:payer_account_id, Shapes::ShapeRef.new(shape: AccountId, required: true, location_name: "payerAccountId"))
|
|
413
|
+
GetEnterpriseSupportChargeSummaryResponse.add_member(:billing_month, Shapes::ShapeRef.new(shape: EnterpriseSupportBillingMonth, required: true, location_name: "billingMonth"))
|
|
414
|
+
GetEnterpriseSupportChargeSummaryResponse.add_member(:billing_period_start_date, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "billingPeriodStartDate"))
|
|
415
|
+
GetEnterpriseSupportChargeSummaryResponse.add_member(:billing_period_end_date, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "billingPeriodEndDate"))
|
|
416
|
+
GetEnterpriseSupportChargeSummaryResponse.add_member(:is_estimated, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "isEstimated"))
|
|
417
|
+
GetEnterpriseSupportChargeSummaryResponse.add_member(:bill_date, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "billDate"))
|
|
418
|
+
GetEnterpriseSupportChargeSummaryResponse.add_member(:support_charge, Shapes::ShapeRef.new(shape: String, required: true, location_name: "supportCharge"))
|
|
419
|
+
GetEnterpriseSupportChargeSummaryResponse.add_member(:total_support_charge, Shapes::ShapeRef.new(shape: String, required: true, location_name: "totalSupportCharge"))
|
|
420
|
+
GetEnterpriseSupportChargeSummaryResponse.add_member(:support_discount, Shapes::ShapeRef.new(shape: String, required: true, location_name: "supportDiscount"))
|
|
421
|
+
GetEnterpriseSupportChargeSummaryResponse.add_member(:total_support_eligible_spend, Shapes::ShapeRef.new(shape: String, required: true, location_name: "totalSupportEligibleSpend"))
|
|
422
|
+
GetEnterpriseSupportChargeSummaryResponse.add_member(:total_support_eligible_usage_spend, Shapes::ShapeRef.new(shape: String, required: true, location_name: "totalSupportEligibleUsageSpend"))
|
|
423
|
+
GetEnterpriseSupportChargeSummaryResponse.add_member(:total_support_eligible_reserved_instance_spend, Shapes::ShapeRef.new(shape: String, required: true, location_name: "totalSupportEligibleReservedInstanceSpend"))
|
|
424
|
+
GetEnterpriseSupportChargeSummaryResponse.add_member(:total_support_eligible_savings_plan_spend, Shapes::ShapeRef.new(shape: String, required: true, location_name: "totalSupportEligibleSavingsPlanSpend"))
|
|
425
|
+
GetEnterpriseSupportChargeSummaryResponse.add_member(:support_charge_percentage, Shapes::ShapeRef.new(shape: String, required: true, location_name: "supportChargePercentage"))
|
|
426
|
+
GetEnterpriseSupportChargeSummaryResponse.add_member(:support_effective_pricing_plan, Shapes::ShapeRef.new(shape: PricingPlan, required: true, location_name: "supportEffectivePricingPlan"))
|
|
427
|
+
GetEnterpriseSupportChargeSummaryResponse.struct_class = Types::GetEnterpriseSupportChargeSummaryResponse
|
|
428
|
+
|
|
429
|
+
GetEnterpriseSupportContractDetailsRequest.add_member(:billing_month, Shapes::ShapeRef.new(shape: EnterpriseSupportBillingMonth, required: true, location_name: "billingMonth"))
|
|
430
|
+
GetEnterpriseSupportContractDetailsRequest.struct_class = Types::GetEnterpriseSupportContractDetailsRequest
|
|
431
|
+
|
|
432
|
+
GetEnterpriseSupportContractDetailsResponse.add_member(:is_contract_active, Shapes::ShapeRef.new(shape: Boolean, location_name: "isContractActive"))
|
|
433
|
+
GetEnterpriseSupportContractDetailsResponse.add_member(:support_allocation_method, Shapes::ShapeRef.new(shape: String, required: true, location_name: "supportAllocationMethod"))
|
|
434
|
+
GetEnterpriseSupportContractDetailsResponse.add_member(:support_reserved_instance_amortization_start_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "supportReservedInstanceAmortizationStartDate"))
|
|
435
|
+
GetEnterpriseSupportContractDetailsResponse.add_member(:support_reserved_instance_treatment_method, Shapes::ShapeRef.new(shape: String, location_name: "supportReservedInstanceTreatmentMethod"))
|
|
436
|
+
GetEnterpriseSupportContractDetailsResponse.add_member(:support_savings_plans_amortization_start_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "supportSavingsPlansAmortizationStartDate"))
|
|
437
|
+
GetEnterpriseSupportContractDetailsResponse.add_member(:support_savings_plans_treatment_method, Shapes::ShapeRef.new(shape: String, location_name: "supportSavingsPlansTreatmentMethod"))
|
|
438
|
+
GetEnterpriseSupportContractDetailsResponse.add_member(:support_prorate_start_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "supportProrateStartDate"))
|
|
439
|
+
GetEnterpriseSupportContractDetailsResponse.add_member(:contract_payer_account_ids, Shapes::ShapeRef.new(shape: ContractAccountList, required: true, location_name: "contractPayerAccountIds"))
|
|
440
|
+
GetEnterpriseSupportContractDetailsResponse.add_member(:charged_payer_account_ids, Shapes::ShapeRef.new(shape: ChargeAccountList, required: true, location_name: "chargedPayerAccountIds"))
|
|
441
|
+
GetEnterpriseSupportContractDetailsResponse.add_member(:additional_support_charge, Shapes::ShapeRef.new(shape: AdditionalChargeList, location_name: "additionalSupportCharge"))
|
|
442
|
+
GetEnterpriseSupportContractDetailsResponse.add_member(:additional_support_eligible_usage_spend, Shapes::ShapeRef.new(shape: AdditionalChargeList, location_name: "additionalSupportEligibleUsageSpend"))
|
|
443
|
+
GetEnterpriseSupportContractDetailsResponse.add_member(:pricing_plans, Shapes::ShapeRef.new(shape: PricingPlanList, required: true, location_name: "pricingPlans"))
|
|
444
|
+
GetEnterpriseSupportContractDetailsResponse.struct_class = Types::GetEnterpriseSupportContractDetailsResponse
|
|
445
|
+
|
|
362
446
|
GetResourcePolicyRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location_name: "resourceArn"))
|
|
363
447
|
GetResourcePolicyRequest.struct_class = Types::GetResourcePolicyRequest
|
|
364
448
|
|
|
@@ -369,6 +453,22 @@ module Aws::Billing
|
|
|
369
453
|
InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, required: true, location_name: "message"))
|
|
370
454
|
InternalServerException.struct_class = Types::InternalServerException
|
|
371
455
|
|
|
456
|
+
LinkedAccountCharge.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, required: true, location_name: "accountId"))
|
|
457
|
+
LinkedAccountCharge.add_member(:payer_account_id, Shapes::ShapeRef.new(shape: AccountId, required: true, location_name: "payerAccountId"))
|
|
458
|
+
LinkedAccountCharge.add_member(:account_type, Shapes::ShapeRef.new(shape: String, location_name: "accountType"))
|
|
459
|
+
LinkedAccountCharge.add_member(:billable_seconds, Shapes::ShapeRef.new(shape: Long, required: true, location_name: "billableSeconds"))
|
|
460
|
+
LinkedAccountCharge.add_member(:total_seconds, Shapes::ShapeRef.new(shape: Long, required: true, location_name: "totalSeconds"))
|
|
461
|
+
LinkedAccountCharge.add_member(:total_support_eligible_spend, Shapes::ShapeRef.new(shape: String, required: true, location_name: "totalSupportEligibleSpend"))
|
|
462
|
+
LinkedAccountCharge.add_member(:prorated_total_support_eligible_spend, Shapes::ShapeRef.new(shape: String, required: true, location_name: "proratedTotalSupportEligibleSpend"))
|
|
463
|
+
LinkedAccountCharge.add_member(:linked_time_periods, Shapes::ShapeRef.new(shape: TimePeriodList, location_name: "linkedTimePeriods"))
|
|
464
|
+
LinkedAccountCharge.add_member(:subscription_time_periods, Shapes::ShapeRef.new(shape: TimePeriodList, location_name: "subscriptionTimePeriods"))
|
|
465
|
+
LinkedAccountCharge.add_member(:total_support_eligible_reserved_instance_spend, Shapes::ShapeRef.new(shape: String, location_name: "totalSupportEligibleReservedInstanceSpend"))
|
|
466
|
+
LinkedAccountCharge.add_member(:total_support_eligible_savings_plan_spend, Shapes::ShapeRef.new(shape: String, location_name: "totalSupportEligibleSavingsPlanSpend"))
|
|
467
|
+
LinkedAccountCharge.add_member(:support_eligible_spend_by_service, Shapes::ShapeRef.new(shape: ServiceLevelAccountUsageList, location_name: "supportEligibleSpendByService"))
|
|
468
|
+
LinkedAccountCharge.struct_class = Types::LinkedAccountCharge
|
|
469
|
+
|
|
470
|
+
LinkedAccountChargeList.member = Shapes::ShapeRef.new(shape: LinkedAccountCharge)
|
|
471
|
+
|
|
372
472
|
ListBillingViewsRequest.add_member(:active_time_range, Shapes::ShapeRef.new(shape: ActiveTimeRange, location_name: "activeTimeRange"))
|
|
373
473
|
ListBillingViewsRequest.add_member(:arns, Shapes::ShapeRef.new(shape: BillingViewArnList, location_name: "arns"))
|
|
374
474
|
ListBillingViewsRequest.add_member(:billing_view_types, Shapes::ShapeRef.new(shape: BillingViewTypeList, location_name: "billingViewTypes"))
|
|
@@ -383,6 +483,16 @@ module Aws::Billing
|
|
|
383
483
|
ListBillingViewsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PageToken, location_name: "nextToken"))
|
|
384
484
|
ListBillingViewsResponse.struct_class = Types::ListBillingViewsResponse
|
|
385
485
|
|
|
486
|
+
ListEnterpriseSupportLinkedAccountChargesRequest.add_member(:billing_month, Shapes::ShapeRef.new(shape: EnterpriseSupportBillingMonth, required: true, location_name: "billingMonth"))
|
|
487
|
+
ListEnterpriseSupportLinkedAccountChargesRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "accountId"))
|
|
488
|
+
ListEnterpriseSupportLinkedAccountChargesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListEnterpriseSupportLinkedAccountChargesRequestMaxResultsInteger, location_name: "maxResults"))
|
|
489
|
+
ListEnterpriseSupportLinkedAccountChargesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PageToken, location_name: "nextToken"))
|
|
490
|
+
ListEnterpriseSupportLinkedAccountChargesRequest.struct_class = Types::ListEnterpriseSupportLinkedAccountChargesRequest
|
|
491
|
+
|
|
492
|
+
ListEnterpriseSupportLinkedAccountChargesResponse.add_member(:linked_account, Shapes::ShapeRef.new(shape: LinkedAccountChargeList, required: true, location_name: "linkedAccount"))
|
|
493
|
+
ListEnterpriseSupportLinkedAccountChargesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PageToken, location_name: "nextToken"))
|
|
494
|
+
ListEnterpriseSupportLinkedAccountChargesResponse.struct_class = Types::ListEnterpriseSupportLinkedAccountChargesResponse
|
|
495
|
+
|
|
386
496
|
ListSourceViewsForBillingViewRequest.add_member(:arn, Shapes::ShapeRef.new(shape: BillingViewArn, required: true, location_name: "arn"))
|
|
387
497
|
ListSourceViewsForBillingViewRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: BillingViewsMaxResults, location_name: "maxResults"))
|
|
388
498
|
ListSourceViewsForBillingViewRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PageToken, location_name: "nextToken"))
|
|
@@ -398,6 +508,32 @@ module Aws::Billing
|
|
|
398
508
|
ListTagsForResourceResponse.add_member(:resource_tags, Shapes::ShapeRef.new(shape: ResourceTagList, location_name: "resourceTags"))
|
|
399
509
|
ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
|
|
400
510
|
|
|
511
|
+
PricingPlan.add_member(:pricing_plan_id, Shapes::ShapeRef.new(shape: String, location_name: "pricingPlanId"))
|
|
512
|
+
PricingPlan.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "name"))
|
|
513
|
+
PricingPlan.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "description"))
|
|
514
|
+
PricingPlan.add_member(:start_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "startDate"))
|
|
515
|
+
PricingPlan.add_member(:end_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "endDate"))
|
|
516
|
+
PricingPlan.add_member(:plan_discount_percent, Shapes::ShapeRef.new(shape: String, location_name: "planDiscountPercent"))
|
|
517
|
+
PricingPlan.add_member(:discount_applies_to_minimum_charge, Shapes::ShapeRef.new(shape: Boolean, location_name: "discountAppliesToMinimumCharge"))
|
|
518
|
+
PricingPlan.add_member(:minimum_charge, Shapes::ShapeRef.new(shape: String, location_name: "minimumCharge"))
|
|
519
|
+
PricingPlan.add_member(:tiered, Shapes::ShapeRef.new(shape: String, location_name: "tiered"))
|
|
520
|
+
PricingPlan.add_member(:tiers, Shapes::ShapeRef.new(shape: PricingPlanTierList, required: true, location_name: "tiers"))
|
|
521
|
+
PricingPlan.struct_class = Types::PricingPlan
|
|
522
|
+
|
|
523
|
+
PricingPlanList.member = Shapes::ShapeRef.new(shape: PricingPlan)
|
|
524
|
+
|
|
525
|
+
PricingPlanTier.add_member(:tier_minimum, Shapes::ShapeRef.new(shape: String, required: true, location_name: "tierMinimum"))
|
|
526
|
+
PricingPlanTier.add_member(:tier_maximum, Shapes::ShapeRef.new(shape: String, location_name: "tierMaximum"))
|
|
527
|
+
PricingPlanTier.add_member(:base_charge, Shapes::ShapeRef.new(shape: String, required: true, location_name: "baseCharge"))
|
|
528
|
+
PricingPlanTier.add_member(:additional_percentage_of_aggregate_charges, Shapes::ShapeRef.new(shape: String, required: true, location_name: "additionalPercentageOfAggregateCharges"))
|
|
529
|
+
PricingPlanTier.add_member(:aggregate_charges_adjustment, Shapes::ShapeRef.new(shape: String, required: true, location_name: "aggregateChargesAdjustment"))
|
|
530
|
+
PricingPlanTier.add_member(:incremental, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "incremental"))
|
|
531
|
+
PricingPlanTier.add_member(:increment, Shapes::ShapeRef.new(shape: String, location_name: "increment"))
|
|
532
|
+
PricingPlanTier.add_member(:increment_charge, Shapes::ShapeRef.new(shape: String, location_name: "incrementCharge"))
|
|
533
|
+
PricingPlanTier.struct_class = Types::PricingPlanTier
|
|
534
|
+
|
|
535
|
+
PricingPlanTierList.member = Shapes::ShapeRef.new(shape: PricingPlanTier)
|
|
536
|
+
|
|
401
537
|
ProductNames.member = Shapes::ShapeRef.new(shape: ProductName)
|
|
402
538
|
|
|
403
539
|
PurchaseTypeApplications.member = Shapes::ShapeRef.new(shape: PurchaseType)
|
|
@@ -420,6 +556,12 @@ module Aws::Billing
|
|
|
420
556
|
|
|
421
557
|
ResourceTagList.member = Shapes::ShapeRef.new(shape: ResourceTag)
|
|
422
558
|
|
|
559
|
+
ServiceLevelAccountUsage.add_member(:service_code, Shapes::ShapeRef.new(shape: String, location_name: "serviceCode"))
|
|
560
|
+
ServiceLevelAccountUsage.add_member(:total_support_eligible_spend, Shapes::ShapeRef.new(shape: String, location_name: "totalSupportEligibleSpend"))
|
|
561
|
+
ServiceLevelAccountUsage.struct_class = Types::ServiceLevelAccountUsage
|
|
562
|
+
|
|
563
|
+
ServiceLevelAccountUsageList.member = Shapes::ShapeRef.new(shape: ServiceLevelAccountUsage)
|
|
564
|
+
|
|
423
565
|
ServiceQuotaExceededException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, required: true, location_name: "message"))
|
|
424
566
|
ServiceQuotaExceededException.add_member(:resource_id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location_name: "resourceId"))
|
|
425
567
|
ServiceQuotaExceededException.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, required: true, location_name: "resourceType"))
|
|
@@ -448,6 +590,8 @@ module Aws::Billing
|
|
|
448
590
|
ThrottlingException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, required: true, location_name: "message"))
|
|
449
591
|
ThrottlingException.struct_class = Types::ThrottlingException
|
|
450
592
|
|
|
593
|
+
TimePeriodList.member = Shapes::ShapeRef.new(shape: EnterpriseSupportTimePeriod)
|
|
594
|
+
|
|
451
595
|
TimeRange.add_member(:begin_date_inclusive, Shapes::ShapeRef.new(shape: Timestamp, location_name: "beginDateInclusive"))
|
|
452
596
|
TimeRange.add_member(:end_date_inclusive, Shapes::ShapeRef.new(shape: Timestamp, location_name: "endDateInclusive"))
|
|
453
597
|
TimeRange.struct_class = Types::TimeRange
|
|
@@ -623,6 +767,32 @@ module Aws::Billing
|
|
|
623
767
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
624
768
|
end)
|
|
625
769
|
|
|
770
|
+
api.add_operation(:get_enterprise_support_charge_summary, Seahorse::Model::Operation.new.tap do |o|
|
|
771
|
+
o.name = "GetEnterpriseSupportChargeSummary"
|
|
772
|
+
o.http_method = "POST"
|
|
773
|
+
o.http_request_uri = "/"
|
|
774
|
+
o.input = Shapes::ShapeRef.new(shape: GetEnterpriseSupportChargeSummaryRequest)
|
|
775
|
+
o.output = Shapes::ShapeRef.new(shape: GetEnterpriseSupportChargeSummaryResponse)
|
|
776
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
|
777
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
778
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
779
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
780
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
781
|
+
end)
|
|
782
|
+
|
|
783
|
+
api.add_operation(:get_enterprise_support_contract_details, Seahorse::Model::Operation.new.tap do |o|
|
|
784
|
+
o.name = "GetEnterpriseSupportContractDetails"
|
|
785
|
+
o.http_method = "POST"
|
|
786
|
+
o.http_request_uri = "/"
|
|
787
|
+
o.input = Shapes::ShapeRef.new(shape: GetEnterpriseSupportContractDetailsRequest)
|
|
788
|
+
o.output = Shapes::ShapeRef.new(shape: GetEnterpriseSupportContractDetailsResponse)
|
|
789
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
|
790
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
791
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
792
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
793
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
794
|
+
end)
|
|
795
|
+
|
|
626
796
|
api.add_operation(:get_resource_policy, Seahorse::Model::Operation.new.tap do |o|
|
|
627
797
|
o.name = "GetResourcePolicy"
|
|
628
798
|
o.http_method = "POST"
|
|
@@ -654,6 +824,25 @@ module Aws::Billing
|
|
|
654
824
|
)
|
|
655
825
|
end)
|
|
656
826
|
|
|
827
|
+
api.add_operation(:list_enterprise_support_linked_account_charges, Seahorse::Model::Operation.new.tap do |o|
|
|
828
|
+
o.name = "ListEnterpriseSupportLinkedAccountCharges"
|
|
829
|
+
o.http_method = "POST"
|
|
830
|
+
o.http_request_uri = "/"
|
|
831
|
+
o.input = Shapes::ShapeRef.new(shape: ListEnterpriseSupportLinkedAccountChargesRequest)
|
|
832
|
+
o.output = Shapes::ShapeRef.new(shape: ListEnterpriseSupportLinkedAccountChargesResponse)
|
|
833
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
|
834
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
835
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
836
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
837
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
838
|
+
o[:pager] = Aws::Pager.new(
|
|
839
|
+
limit_key: "max_results",
|
|
840
|
+
tokens: {
|
|
841
|
+
"next_token" => "next_token"
|
|
842
|
+
}
|
|
843
|
+
)
|
|
844
|
+
end)
|
|
845
|
+
|
|
657
846
|
api.add_operation(:list_source_views_for_billing_view, Seahorse::Model::Operation.new.tap do |o|
|
|
658
847
|
o.name = "ListSourceViewsForBillingView"
|
|
659
848
|
o.http_method = "POST"
|