aws-sdk-billing 1.28.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 +10 -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 +3 -3
|
@@ -42,6 +42,30 @@ module Aws::Billing
|
|
|
42
42
|
include Aws::Structure
|
|
43
43
|
end
|
|
44
44
|
|
|
45
|
+
# An additional charge applied to an Enterprise Support contract.
|
|
46
|
+
#
|
|
47
|
+
# @!attribute [rw] description
|
|
48
|
+
# A description of the additional charge.
|
|
49
|
+
# @return [String]
|
|
50
|
+
#
|
|
51
|
+
# @!attribute [rw] amount
|
|
52
|
+
# The charge amount.
|
|
53
|
+
# @return [String]
|
|
54
|
+
#
|
|
55
|
+
# @!attribute [rw] charge_type
|
|
56
|
+
# The type of additional charge.
|
|
57
|
+
# @return [String]
|
|
58
|
+
#
|
|
59
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/billing-2023-09-07/AdditionalCharge AWS API Documentation
|
|
60
|
+
#
|
|
61
|
+
class AdditionalCharge < Struct.new(
|
|
62
|
+
:description,
|
|
63
|
+
:amount,
|
|
64
|
+
:charge_type)
|
|
65
|
+
SENSITIVE = []
|
|
66
|
+
include Aws::Structure
|
|
67
|
+
end
|
|
68
|
+
|
|
45
69
|
# A monetary amount with a currency code. Used throughout the Billing
|
|
46
70
|
# API to represent credit balances, allocations, and adjustments.
|
|
47
71
|
#
|
|
@@ -360,6 +384,27 @@ module Aws::Billing
|
|
|
360
384
|
include Aws::Structure
|
|
361
385
|
end
|
|
362
386
|
|
|
387
|
+
# An account that is charged all or a portion of the total Support
|
|
388
|
+
# charge and the percentage of the charge allocated to it.
|
|
389
|
+
#
|
|
390
|
+
# @!attribute [rw] account_id
|
|
391
|
+
# The account ID.
|
|
392
|
+
# @return [String]
|
|
393
|
+
#
|
|
394
|
+
# @!attribute [rw] charge_percentage
|
|
395
|
+
# The percentage of the total Support charge allocated to this
|
|
396
|
+
# account. This is 0.0 when supportAllocationMethod = Proportional.
|
|
397
|
+
# @return [String]
|
|
398
|
+
#
|
|
399
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/billing-2023-09-07/ChargeAccount AWS API Documentation
|
|
400
|
+
#
|
|
401
|
+
class ChargeAccount < Struct.new(
|
|
402
|
+
:account_id,
|
|
403
|
+
:charge_percentage)
|
|
404
|
+
SENSITIVE = []
|
|
405
|
+
include Aws::Structure
|
|
406
|
+
end
|
|
407
|
+
|
|
363
408
|
# The requested operation would cause a conflict with the current state
|
|
364
409
|
# of a service resource associated with the request. Resolve the
|
|
365
410
|
# conflict before retrying this request.
|
|
@@ -385,6 +430,26 @@ module Aws::Billing
|
|
|
385
430
|
include Aws::Structure
|
|
386
431
|
end
|
|
387
432
|
|
|
433
|
+
# An account that is covered by the Enterprise Support contract.
|
|
434
|
+
#
|
|
435
|
+
# @!attribute [rw] account_id
|
|
436
|
+
# The account ID.
|
|
437
|
+
# @return [String]
|
|
438
|
+
#
|
|
439
|
+
# @!attribute [rw] is_gdn
|
|
440
|
+
# When true, Support charges are calculated on charges before private
|
|
441
|
+
# discounts. When false, they are calculated after private discounts.
|
|
442
|
+
# @return [Boolean]
|
|
443
|
+
#
|
|
444
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/billing-2023-09-07/ContractAccount AWS API Documentation
|
|
445
|
+
#
|
|
446
|
+
class ContractAccount < Struct.new(
|
|
447
|
+
:account_id,
|
|
448
|
+
:is_gdn)
|
|
449
|
+
SENSITIVE = []
|
|
450
|
+
include Aws::Structure
|
|
451
|
+
end
|
|
452
|
+
|
|
388
453
|
# The Cost Categories values used for filtering the costs.
|
|
389
454
|
#
|
|
390
455
|
# @!attribute [rw] key
|
|
@@ -726,6 +791,25 @@ module Aws::Billing
|
|
|
726
791
|
include Aws::Structure
|
|
727
792
|
end
|
|
728
793
|
|
|
794
|
+
# A time period for Enterprise Support billing.
|
|
795
|
+
#
|
|
796
|
+
# @!attribute [rw] begin_date
|
|
797
|
+
# The begin date of the time period.
|
|
798
|
+
# @return [Time]
|
|
799
|
+
#
|
|
800
|
+
# @!attribute [rw] end_date
|
|
801
|
+
# The end date of the time period.
|
|
802
|
+
# @return [Time]
|
|
803
|
+
#
|
|
804
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/billing-2023-09-07/EnterpriseSupportTimePeriod AWS API Documentation
|
|
805
|
+
#
|
|
806
|
+
class EnterpriseSupportTimePeriod < Struct.new(
|
|
807
|
+
:begin_date,
|
|
808
|
+
:end_date)
|
|
809
|
+
SENSITIVE = []
|
|
810
|
+
include Aws::Structure
|
|
811
|
+
end
|
|
812
|
+
|
|
729
813
|
# See [Expression][1]. Billing view only supports `LINKED_ACCOUNT`,
|
|
730
814
|
# `Tags`, and `CostCategories`.
|
|
731
815
|
#
|
|
@@ -957,6 +1041,229 @@ module Aws::Billing
|
|
|
957
1041
|
include Aws::Structure
|
|
958
1042
|
end
|
|
959
1043
|
|
|
1044
|
+
# The request structure for GetEnterpriseSupportChargeSummary.
|
|
1045
|
+
#
|
|
1046
|
+
# @!attribute [rw] billing_month
|
|
1047
|
+
# The billing month in YYYY-MM format. This must be a month in the
|
|
1048
|
+
# past.
|
|
1049
|
+
# @return [String]
|
|
1050
|
+
#
|
|
1051
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/billing-2023-09-07/GetEnterpriseSupportChargeSummaryRequest AWS API Documentation
|
|
1052
|
+
#
|
|
1053
|
+
class GetEnterpriseSupportChargeSummaryRequest < Struct.new(
|
|
1054
|
+
:billing_month)
|
|
1055
|
+
SENSITIVE = []
|
|
1056
|
+
include Aws::Structure
|
|
1057
|
+
end
|
|
1058
|
+
|
|
1059
|
+
# The response structure for GetEnterpriseSupportChargeSummary.
|
|
1060
|
+
#
|
|
1061
|
+
# @!attribute [rw] payer_account_id
|
|
1062
|
+
# The payer account ID that is authorized to view Enterprise Support
|
|
1063
|
+
# data for all accounts in its Support profile.
|
|
1064
|
+
# @return [String]
|
|
1065
|
+
#
|
|
1066
|
+
# @!attribute [rw] billing_month
|
|
1067
|
+
# The billing month in YYYY-MM format. This must be a month in the
|
|
1068
|
+
# past.
|
|
1069
|
+
# @return [String]
|
|
1070
|
+
#
|
|
1071
|
+
# @!attribute [rw] billing_period_start_date
|
|
1072
|
+
# The start date of the billing period.
|
|
1073
|
+
# @return [Time]
|
|
1074
|
+
#
|
|
1075
|
+
# @!attribute [rw] billing_period_end_date
|
|
1076
|
+
# The end date of the billing period.
|
|
1077
|
+
# @return [Time]
|
|
1078
|
+
#
|
|
1079
|
+
# @!attribute [rw] is_estimated
|
|
1080
|
+
# When true, the Support charge amount is estimated. When false, the
|
|
1081
|
+
# Support charge amount is finalized.
|
|
1082
|
+
# @return [Boolean]
|
|
1083
|
+
#
|
|
1084
|
+
# @!attribute [rw] bill_date
|
|
1085
|
+
# The date the bill was generated.
|
|
1086
|
+
# @return [Time]
|
|
1087
|
+
#
|
|
1088
|
+
# @!attribute [rw] support_charge
|
|
1089
|
+
# The Support charge amount for the account.
|
|
1090
|
+
# @return [String]
|
|
1091
|
+
#
|
|
1092
|
+
# @!attribute [rw] total_support_charge
|
|
1093
|
+
# The total Support charge amount for all accounts in the Support
|
|
1094
|
+
# profile.
|
|
1095
|
+
# @return [String]
|
|
1096
|
+
#
|
|
1097
|
+
# @!attribute [rw] support_discount
|
|
1098
|
+
# The support discount amount.
|
|
1099
|
+
# @return [String]
|
|
1100
|
+
#
|
|
1101
|
+
# @!attribute [rw] total_support_eligible_spend
|
|
1102
|
+
# The total Support-eligible Spend from all accounts in the Support
|
|
1103
|
+
# profile. This includes eligible spend from usage of Amazon Web
|
|
1104
|
+
# Services, Reserved Instances, and Savings Plans.
|
|
1105
|
+
# @return [String]
|
|
1106
|
+
#
|
|
1107
|
+
# @!attribute [rw] total_support_eligible_usage_spend
|
|
1108
|
+
# The total Support-eligible spend from usage of Amazon Web Services
|
|
1109
|
+
# from all accounts in the Support profile.
|
|
1110
|
+
# @return [String]
|
|
1111
|
+
#
|
|
1112
|
+
# @!attribute [rw] total_support_eligible_reserved_instance_spend
|
|
1113
|
+
# The total Support-eligible Reserved Instance spend from all accounts
|
|
1114
|
+
# in the Support profile.
|
|
1115
|
+
# @return [String]
|
|
1116
|
+
#
|
|
1117
|
+
# @!attribute [rw] total_support_eligible_savings_plan_spend
|
|
1118
|
+
# The total Support-eligible Savings Plan spend from all accounts in
|
|
1119
|
+
# the Support profile.
|
|
1120
|
+
# @return [String]
|
|
1121
|
+
#
|
|
1122
|
+
# @!attribute [rw] support_charge_percentage
|
|
1123
|
+
# The percentage applied to the total Support-eligible spend to
|
|
1124
|
+
# calculate the total Support charge across all accounts in the
|
|
1125
|
+
# Support profile.
|
|
1126
|
+
# @return [String]
|
|
1127
|
+
#
|
|
1128
|
+
# @!attribute [rw] support_effective_pricing_plan
|
|
1129
|
+
# The effective pricing plan used for the support charge calculation.
|
|
1130
|
+
# @return [Types::PricingPlan]
|
|
1131
|
+
#
|
|
1132
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/billing-2023-09-07/GetEnterpriseSupportChargeSummaryResponse AWS API Documentation
|
|
1133
|
+
#
|
|
1134
|
+
class GetEnterpriseSupportChargeSummaryResponse < Struct.new(
|
|
1135
|
+
:payer_account_id,
|
|
1136
|
+
:billing_month,
|
|
1137
|
+
:billing_period_start_date,
|
|
1138
|
+
:billing_period_end_date,
|
|
1139
|
+
:is_estimated,
|
|
1140
|
+
:bill_date,
|
|
1141
|
+
:support_charge,
|
|
1142
|
+
:total_support_charge,
|
|
1143
|
+
:support_discount,
|
|
1144
|
+
:total_support_eligible_spend,
|
|
1145
|
+
:total_support_eligible_usage_spend,
|
|
1146
|
+
:total_support_eligible_reserved_instance_spend,
|
|
1147
|
+
:total_support_eligible_savings_plan_spend,
|
|
1148
|
+
:support_charge_percentage,
|
|
1149
|
+
:support_effective_pricing_plan)
|
|
1150
|
+
SENSITIVE = []
|
|
1151
|
+
include Aws::Structure
|
|
1152
|
+
end
|
|
1153
|
+
|
|
1154
|
+
# The request structure for GetEnterpriseSupportContractDetails.
|
|
1155
|
+
#
|
|
1156
|
+
# @!attribute [rw] billing_month
|
|
1157
|
+
# The billing month in YYYY-MM format. This must be a month in the
|
|
1158
|
+
# past.
|
|
1159
|
+
# @return [String]
|
|
1160
|
+
#
|
|
1161
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/billing-2023-09-07/GetEnterpriseSupportContractDetailsRequest AWS API Documentation
|
|
1162
|
+
#
|
|
1163
|
+
class GetEnterpriseSupportContractDetailsRequest < Struct.new(
|
|
1164
|
+
:billing_month)
|
|
1165
|
+
SENSITIVE = []
|
|
1166
|
+
include Aws::Structure
|
|
1167
|
+
end
|
|
1168
|
+
|
|
1169
|
+
# The response structure for GetEnterpriseSupportContractDetails.
|
|
1170
|
+
#
|
|
1171
|
+
# @!attribute [rw] is_contract_active
|
|
1172
|
+
# When true, the Enterprise Support contract is active. When false,
|
|
1173
|
+
# the Enterprise Support Contract is inactive.
|
|
1174
|
+
# @return [Boolean]
|
|
1175
|
+
#
|
|
1176
|
+
# @!attribute [rw] support_allocation_method
|
|
1177
|
+
# The method used to distribute the total Support charge amount across
|
|
1178
|
+
# each account in the Support profile. Valid values: Proportional,
|
|
1179
|
+
# Fixed\_Percentage. Proportional means support charges are
|
|
1180
|
+
# distributed to each account in proportion to its eligible Spend.
|
|
1181
|
+
# Fixed\_Percentage means support charges are distributed across
|
|
1182
|
+
# accounts according to pre-configured percentages from the contract.
|
|
1183
|
+
# @return [String]
|
|
1184
|
+
#
|
|
1185
|
+
# @!attribute [rw] support_reserved_instance_amortization_start_date
|
|
1186
|
+
# When supportReservedInstanceTreatmentMethod = AmortizedCustom, only
|
|
1187
|
+
# amortized fees for Reserved Instances purchased on or after this
|
|
1188
|
+
# date are included in the calculation. This field is Null for all
|
|
1189
|
+
# other treatment methods.
|
|
1190
|
+
# @return [Time]
|
|
1191
|
+
#
|
|
1192
|
+
# @!attribute [rw] support_reserved_instance_treatment_method
|
|
1193
|
+
# The method used to include Reserved Instance (RI) fees in the
|
|
1194
|
+
# Enterprise Support charge calculation. Valid values: None (RI fees
|
|
1195
|
+
# excluded from Support-eligible spend), Upfront (full upfront RI fees
|
|
1196
|
+
# included in month of purchase), Amortized (RI fees spread over
|
|
1197
|
+
# commitment term for RIs purchased on or after Support subscription
|
|
1198
|
+
# start date), AmortizedCustom (same as Amortized but only for RIs
|
|
1199
|
+
# purchased on or after a specified custom start date), AmortizedAll
|
|
1200
|
+
# (RI fees amortized for all active RIs including those purchased
|
|
1201
|
+
# before Support subscription started).
|
|
1202
|
+
# @return [String]
|
|
1203
|
+
#
|
|
1204
|
+
# @!attribute [rw] support_savings_plans_amortization_start_date
|
|
1205
|
+
# This is applicable when supportSavingsPlansTreatmentMethod =
|
|
1206
|
+
# Amortized and is Null for all other methods. It shows the start date
|
|
1207
|
+
# from which Savings Plan fees are included in Support Eligible Spend.
|
|
1208
|
+
# @return [Time]
|
|
1209
|
+
#
|
|
1210
|
+
# @!attribute [rw] support_savings_plans_treatment_method
|
|
1211
|
+
# The method used to include Savings Plans fees in Enterprise Support
|
|
1212
|
+
# charge calculations. Valid values: None (Savings Plan fees excluded
|
|
1213
|
+
# from Support-eligible spend), Upfront (full upfront Savings Plan
|
|
1214
|
+
# fees included in month of purchase), Amortized (Savings Plan fees
|
|
1215
|
+
# spread over commitment term for Savings Plans purchased on or after
|
|
1216
|
+
# Support subscription start date), AmortizedCustom (same as Amortized
|
|
1217
|
+
# but only for Savings Plans purchased on or after a specified custom
|
|
1218
|
+
# start date), AmortizedAll (Savings Plan fees amortized for all
|
|
1219
|
+
# active Savings Plans including those purchased before Support
|
|
1220
|
+
# subscription started).
|
|
1221
|
+
# @return [String]
|
|
1222
|
+
#
|
|
1223
|
+
# @!attribute [rw] support_prorate_start_date
|
|
1224
|
+
# The start date for accounts subscribed or unsubscribed to Support
|
|
1225
|
+
# billing during the billing month.
|
|
1226
|
+
# @return [Time]
|
|
1227
|
+
#
|
|
1228
|
+
# @!attribute [rw] contract_payer_account_ids
|
|
1229
|
+
# The list of accounts covered by the Enterprise Support contract.
|
|
1230
|
+
# @return [Array<Types::ContractAccount>]
|
|
1231
|
+
#
|
|
1232
|
+
# @!attribute [rw] charged_payer_account_ids
|
|
1233
|
+
# The list of payer accounts and their charge allocation percentages.
|
|
1234
|
+
# @return [Array<Types::ChargeAccount>]
|
|
1235
|
+
#
|
|
1236
|
+
# @!attribute [rw] additional_support_charge
|
|
1237
|
+
# Any Additional support charges applied to the contract.
|
|
1238
|
+
# @return [Array<Types::AdditionalCharge>]
|
|
1239
|
+
#
|
|
1240
|
+
# @!attribute [rw] additional_support_eligible_usage_spend
|
|
1241
|
+
# Any Additional support-eligible usage spend charges.
|
|
1242
|
+
# @return [Array<Types::AdditionalCharge>]
|
|
1243
|
+
#
|
|
1244
|
+
# @!attribute [rw] pricing_plans
|
|
1245
|
+
# The pricing plans associated with this Enterprise Support contract.
|
|
1246
|
+
# @return [Array<Types::PricingPlan>]
|
|
1247
|
+
#
|
|
1248
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/billing-2023-09-07/GetEnterpriseSupportContractDetailsResponse AWS API Documentation
|
|
1249
|
+
#
|
|
1250
|
+
class GetEnterpriseSupportContractDetailsResponse < Struct.new(
|
|
1251
|
+
:is_contract_active,
|
|
1252
|
+
:support_allocation_method,
|
|
1253
|
+
:support_reserved_instance_amortization_start_date,
|
|
1254
|
+
:support_reserved_instance_treatment_method,
|
|
1255
|
+
:support_savings_plans_amortization_start_date,
|
|
1256
|
+
:support_savings_plans_treatment_method,
|
|
1257
|
+
:support_prorate_start_date,
|
|
1258
|
+
:contract_payer_account_ids,
|
|
1259
|
+
:charged_payer_account_ids,
|
|
1260
|
+
:additional_support_charge,
|
|
1261
|
+
:additional_support_eligible_usage_spend,
|
|
1262
|
+
:pricing_plans)
|
|
1263
|
+
SENSITIVE = []
|
|
1264
|
+
include Aws::Structure
|
|
1265
|
+
end
|
|
1266
|
+
|
|
960
1267
|
# @!attribute [rw] resource_arn
|
|
961
1268
|
# The Amazon Resource Name (ARN) of the billing view resource to which
|
|
962
1269
|
# the policy is attached to.
|
|
@@ -1003,6 +1310,78 @@ module Aws::Billing
|
|
|
1003
1310
|
include Aws::Structure
|
|
1004
1311
|
end
|
|
1005
1312
|
|
|
1313
|
+
# Enterprise Support charges for a linked account.
|
|
1314
|
+
#
|
|
1315
|
+
# @!attribute [rw] account_id
|
|
1316
|
+
# The linked account ID.
|
|
1317
|
+
# @return [String]
|
|
1318
|
+
#
|
|
1319
|
+
# @!attribute [rw] payer_account_id
|
|
1320
|
+
# The payer account ID that is authorized to view Enterprise Support
|
|
1321
|
+
# data for all accounts in its Support profile.
|
|
1322
|
+
# @return [String]
|
|
1323
|
+
#
|
|
1324
|
+
# @!attribute [rw] account_type
|
|
1325
|
+
# The type of account.
|
|
1326
|
+
# @return [String]
|
|
1327
|
+
#
|
|
1328
|
+
# @!attribute [rw] billable_seconds
|
|
1329
|
+
# The number of billable seconds in the billing period based on when
|
|
1330
|
+
# the account was subscribed to Enterprise Support.
|
|
1331
|
+
# @return [Integer]
|
|
1332
|
+
#
|
|
1333
|
+
# @!attribute [rw] total_seconds
|
|
1334
|
+
# The total number of seconds in the billing period.
|
|
1335
|
+
# @return [Integer]
|
|
1336
|
+
#
|
|
1337
|
+
# @!attribute [rw] total_support_eligible_spend
|
|
1338
|
+
# The total support-eligible spend for this account.
|
|
1339
|
+
# @return [String]
|
|
1340
|
+
#
|
|
1341
|
+
# @!attribute [rw] prorated_total_support_eligible_spend
|
|
1342
|
+
# The prorated total support-eligible spend based on when the account
|
|
1343
|
+
# was subscribed to Enterprise Support.
|
|
1344
|
+
# @return [String]
|
|
1345
|
+
#
|
|
1346
|
+
# @!attribute [rw] linked_time_periods
|
|
1347
|
+
# The time periods during which this account was linked.
|
|
1348
|
+
# @return [Array<Types::EnterpriseSupportTimePeriod>]
|
|
1349
|
+
#
|
|
1350
|
+
# @!attribute [rw] subscription_time_periods
|
|
1351
|
+
# The subscription time periods for this account.
|
|
1352
|
+
# @return [Array<Types::EnterpriseSupportTimePeriod>]
|
|
1353
|
+
#
|
|
1354
|
+
# @!attribute [rw] total_support_eligible_reserved_instance_spend
|
|
1355
|
+
# The total support-eligible Reserved Instance spend for this account.
|
|
1356
|
+
# @return [String]
|
|
1357
|
+
#
|
|
1358
|
+
# @!attribute [rw] total_support_eligible_savings_plan_spend
|
|
1359
|
+
# The total support-eligible Savings Plan spend for this account.
|
|
1360
|
+
# @return [String]
|
|
1361
|
+
#
|
|
1362
|
+
# @!attribute [rw] support_eligible_spend_by_service
|
|
1363
|
+
# The support-eligible spend broken down by service.
|
|
1364
|
+
# @return [Array<Types::ServiceLevelAccountUsage>]
|
|
1365
|
+
#
|
|
1366
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/billing-2023-09-07/LinkedAccountCharge AWS API Documentation
|
|
1367
|
+
#
|
|
1368
|
+
class LinkedAccountCharge < Struct.new(
|
|
1369
|
+
:account_id,
|
|
1370
|
+
:payer_account_id,
|
|
1371
|
+
:account_type,
|
|
1372
|
+
:billable_seconds,
|
|
1373
|
+
:total_seconds,
|
|
1374
|
+
:total_support_eligible_spend,
|
|
1375
|
+
:prorated_total_support_eligible_spend,
|
|
1376
|
+
:linked_time_periods,
|
|
1377
|
+
:subscription_time_periods,
|
|
1378
|
+
:total_support_eligible_reserved_instance_spend,
|
|
1379
|
+
:total_support_eligible_savings_plan_spend,
|
|
1380
|
+
:support_eligible_spend_by_service)
|
|
1381
|
+
SENSITIVE = []
|
|
1382
|
+
include Aws::Structure
|
|
1383
|
+
end
|
|
1384
|
+
|
|
1006
1385
|
# @!attribute [rw] active_time_range
|
|
1007
1386
|
# The time range for the billing views listed. `PRIMARY` billing view
|
|
1008
1387
|
# is always listed. `BILLING_GROUP` billing views are listed for time
|
|
@@ -1077,6 +1456,56 @@ module Aws::Billing
|
|
|
1077
1456
|
include Aws::Structure
|
|
1078
1457
|
end
|
|
1079
1458
|
|
|
1459
|
+
# The request structure for ListEnterpriseSupportLinkedAccountCharges.
|
|
1460
|
+
#
|
|
1461
|
+
# @!attribute [rw] billing_month
|
|
1462
|
+
# The billing month in YYYY-MM format. This must be a month in the
|
|
1463
|
+
# past.
|
|
1464
|
+
# @return [String]
|
|
1465
|
+
#
|
|
1466
|
+
# @!attribute [rw] account_id
|
|
1467
|
+
# An optional linked account ID to filter results to a specific
|
|
1468
|
+
# account.
|
|
1469
|
+
# @return [String]
|
|
1470
|
+
#
|
|
1471
|
+
# @!attribute [rw] max_results
|
|
1472
|
+
# The maximum number of results to return per page.
|
|
1473
|
+
# @return [Integer]
|
|
1474
|
+
#
|
|
1475
|
+
# @!attribute [rw] next_token
|
|
1476
|
+
# The pagination token for the next page of results.
|
|
1477
|
+
# @return [String]
|
|
1478
|
+
#
|
|
1479
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/billing-2023-09-07/ListEnterpriseSupportLinkedAccountChargesRequest AWS API Documentation
|
|
1480
|
+
#
|
|
1481
|
+
class ListEnterpriseSupportLinkedAccountChargesRequest < Struct.new(
|
|
1482
|
+
:billing_month,
|
|
1483
|
+
:account_id,
|
|
1484
|
+
:max_results,
|
|
1485
|
+
:next_token)
|
|
1486
|
+
SENSITIVE = []
|
|
1487
|
+
include Aws::Structure
|
|
1488
|
+
end
|
|
1489
|
+
|
|
1490
|
+
# The response structure for ListEnterpriseSupportLinkedAccountCharges.
|
|
1491
|
+
#
|
|
1492
|
+
# @!attribute [rw] linked_account
|
|
1493
|
+
# The list of Enterprise Support charges per linked account.
|
|
1494
|
+
# @return [Array<Types::LinkedAccountCharge>]
|
|
1495
|
+
#
|
|
1496
|
+
# @!attribute [rw] next_token
|
|
1497
|
+
# The pagination token for the next page of results.
|
|
1498
|
+
# @return [String]
|
|
1499
|
+
#
|
|
1500
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/billing-2023-09-07/ListEnterpriseSupportLinkedAccountChargesResponse AWS API Documentation
|
|
1501
|
+
#
|
|
1502
|
+
class ListEnterpriseSupportLinkedAccountChargesResponse < Struct.new(
|
|
1503
|
+
:linked_account,
|
|
1504
|
+
:next_token)
|
|
1505
|
+
SENSITIVE = []
|
|
1506
|
+
include Aws::Structure
|
|
1507
|
+
end
|
|
1508
|
+
|
|
1080
1509
|
# @!attribute [rw] arn
|
|
1081
1510
|
# The Amazon Resource Name (ARN) that can be used to uniquely identify
|
|
1082
1511
|
# the billing view.
|
|
@@ -1144,6 +1573,114 @@ module Aws::Billing
|
|
|
1144
1573
|
include Aws::Structure
|
|
1145
1574
|
end
|
|
1146
1575
|
|
|
1576
|
+
# A pricing plan for Enterprise Support billing.
|
|
1577
|
+
#
|
|
1578
|
+
# @!attribute [rw] pricing_plan_id
|
|
1579
|
+
# The unique identifier for the pricing plan.
|
|
1580
|
+
# @return [String]
|
|
1581
|
+
#
|
|
1582
|
+
# @!attribute [rw] name
|
|
1583
|
+
# The name of the pricing plan.
|
|
1584
|
+
# @return [String]
|
|
1585
|
+
#
|
|
1586
|
+
# @!attribute [rw] description
|
|
1587
|
+
# A description of the pricing plan.
|
|
1588
|
+
# @return [String]
|
|
1589
|
+
#
|
|
1590
|
+
# @!attribute [rw] start_date
|
|
1591
|
+
# The start date of the pricing plan.
|
|
1592
|
+
# @return [Time]
|
|
1593
|
+
#
|
|
1594
|
+
# @!attribute [rw] end_date
|
|
1595
|
+
# The end date of the pricing plan.
|
|
1596
|
+
# @return [Time]
|
|
1597
|
+
#
|
|
1598
|
+
# @!attribute [rw] plan_discount_percent
|
|
1599
|
+
# The discount percentage applied by this pricing plan.
|
|
1600
|
+
# @return [String]
|
|
1601
|
+
#
|
|
1602
|
+
# @!attribute [rw] discount_applies_to_minimum_charge
|
|
1603
|
+
# Whether the discount applies to the minimum Support charge.
|
|
1604
|
+
# @return [Boolean]
|
|
1605
|
+
#
|
|
1606
|
+
# @!attribute [rw] minimum_charge
|
|
1607
|
+
# The minimum Support charge amount for this pricing plan.
|
|
1608
|
+
# @return [String]
|
|
1609
|
+
#
|
|
1610
|
+
# @!attribute [rw] tiered
|
|
1611
|
+
# Whether the pricing plan uses tiered pricing.
|
|
1612
|
+
# @return [String]
|
|
1613
|
+
#
|
|
1614
|
+
# @!attribute [rw] tiers
|
|
1615
|
+
# The pricing tiers within this plan.
|
|
1616
|
+
# @return [Array<Types::PricingPlanTier>]
|
|
1617
|
+
#
|
|
1618
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/billing-2023-09-07/PricingPlan AWS API Documentation
|
|
1619
|
+
#
|
|
1620
|
+
class PricingPlan < Struct.new(
|
|
1621
|
+
:pricing_plan_id,
|
|
1622
|
+
:name,
|
|
1623
|
+
:description,
|
|
1624
|
+
:start_date,
|
|
1625
|
+
:end_date,
|
|
1626
|
+
:plan_discount_percent,
|
|
1627
|
+
:discount_applies_to_minimum_charge,
|
|
1628
|
+
:minimum_charge,
|
|
1629
|
+
:tiered,
|
|
1630
|
+
:tiers)
|
|
1631
|
+
SENSITIVE = []
|
|
1632
|
+
include Aws::Structure
|
|
1633
|
+
end
|
|
1634
|
+
|
|
1635
|
+
# A tier within an Enterprise Support pricing plan.
|
|
1636
|
+
#
|
|
1637
|
+
# @!attribute [rw] tier_minimum
|
|
1638
|
+
# The minimum spend threshold for this tier.
|
|
1639
|
+
# @return [String]
|
|
1640
|
+
#
|
|
1641
|
+
# @!attribute [rw] tier_maximum
|
|
1642
|
+
# The maximum spend threshold for this tier.
|
|
1643
|
+
# @return [String]
|
|
1644
|
+
#
|
|
1645
|
+
# @!attribute [rw] base_charge
|
|
1646
|
+
# The base charge for this tier.
|
|
1647
|
+
# @return [String]
|
|
1648
|
+
#
|
|
1649
|
+
# @!attribute [rw] additional_percentage_of_aggregate_charges
|
|
1650
|
+
# The additional percentage applied to aggregate charges in this tier.
|
|
1651
|
+
# @return [String]
|
|
1652
|
+
#
|
|
1653
|
+
# @!attribute [rw] aggregate_charges_adjustment
|
|
1654
|
+
# The adjustment applied to aggregate charges.
|
|
1655
|
+
# @return [String]
|
|
1656
|
+
#
|
|
1657
|
+
# @!attribute [rw] incremental
|
|
1658
|
+
# Whether the tier charges are calculated incrementally.
|
|
1659
|
+
# @return [Boolean]
|
|
1660
|
+
#
|
|
1661
|
+
# @!attribute [rw] increment
|
|
1662
|
+
# The increment amount for incremental tier calculations.
|
|
1663
|
+
# @return [String]
|
|
1664
|
+
#
|
|
1665
|
+
# @!attribute [rw] increment_charge
|
|
1666
|
+
# The charge per increment.
|
|
1667
|
+
# @return [String]
|
|
1668
|
+
#
|
|
1669
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/billing-2023-09-07/PricingPlanTier AWS API Documentation
|
|
1670
|
+
#
|
|
1671
|
+
class PricingPlanTier < Struct.new(
|
|
1672
|
+
:tier_minimum,
|
|
1673
|
+
:tier_maximum,
|
|
1674
|
+
:base_charge,
|
|
1675
|
+
:additional_percentage_of_aggregate_charges,
|
|
1676
|
+
:aggregate_charges_adjustment,
|
|
1677
|
+
:incremental,
|
|
1678
|
+
:increment,
|
|
1679
|
+
:increment_charge)
|
|
1680
|
+
SENSITIVE = []
|
|
1681
|
+
include Aws::Structure
|
|
1682
|
+
end
|
|
1683
|
+
|
|
1147
1684
|
# @!attribute [rw] promo_code
|
|
1148
1685
|
# The promotional credit code to redeem.
|
|
1149
1686
|
# @return [String]
|
|
@@ -1202,6 +1739,25 @@ module Aws::Billing
|
|
|
1202
1739
|
include Aws::Structure
|
|
1203
1740
|
end
|
|
1204
1741
|
|
|
1742
|
+
# Service-level usage details by account.
|
|
1743
|
+
#
|
|
1744
|
+
# @!attribute [rw] service_code
|
|
1745
|
+
# The service code for which to return Support-eligible spend data.
|
|
1746
|
+
# @return [String]
|
|
1747
|
+
#
|
|
1748
|
+
# @!attribute [rw] total_support_eligible_spend
|
|
1749
|
+
# The total support-eligible spend for the service.
|
|
1750
|
+
# @return [String]
|
|
1751
|
+
#
|
|
1752
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/billing-2023-09-07/ServiceLevelAccountUsage AWS API Documentation
|
|
1753
|
+
#
|
|
1754
|
+
class ServiceLevelAccountUsage < Struct.new(
|
|
1755
|
+
:service_code,
|
|
1756
|
+
:total_support_eligible_spend)
|
|
1757
|
+
SENSITIVE = []
|
|
1758
|
+
include Aws::Structure
|
|
1759
|
+
end
|
|
1760
|
+
|
|
1205
1761
|
# You've reached the limit of resources you can create, or exceeded the
|
|
1206
1762
|
# size of an individual resource.
|
|
1207
1763
|
#
|
data/lib/aws-sdk-billing.rb
CHANGED
data/sig/client.rbs
CHANGED
|
@@ -193,6 +193,51 @@ module Aws
|
|
|
193
193
|
) -> _GetCreditsResponseSuccess
|
|
194
194
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetCreditsResponseSuccess
|
|
195
195
|
|
|
196
|
+
interface _GetEnterpriseSupportChargeSummaryResponseSuccess
|
|
197
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetEnterpriseSupportChargeSummaryResponse]
|
|
198
|
+
def payer_account_id: () -> ::String
|
|
199
|
+
def billing_month: () -> ::String
|
|
200
|
+
def billing_period_start_date: () -> ::Time
|
|
201
|
+
def billing_period_end_date: () -> ::Time
|
|
202
|
+
def is_estimated: () -> bool
|
|
203
|
+
def bill_date: () -> ::Time
|
|
204
|
+
def support_charge: () -> ::String
|
|
205
|
+
def total_support_charge: () -> ::String
|
|
206
|
+
def support_discount: () -> ::String
|
|
207
|
+
def total_support_eligible_spend: () -> ::String
|
|
208
|
+
def total_support_eligible_usage_spend: () -> ::String
|
|
209
|
+
def total_support_eligible_reserved_instance_spend: () -> ::String
|
|
210
|
+
def total_support_eligible_savings_plan_spend: () -> ::String
|
|
211
|
+
def support_charge_percentage: () -> ::String
|
|
212
|
+
def support_effective_pricing_plan: () -> Types::PricingPlan
|
|
213
|
+
end
|
|
214
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Billing/Client.html#get_enterprise_support_charge_summary-instance_method
|
|
215
|
+
def get_enterprise_support_charge_summary: (
|
|
216
|
+
billing_month: ::String
|
|
217
|
+
) -> _GetEnterpriseSupportChargeSummaryResponseSuccess
|
|
218
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetEnterpriseSupportChargeSummaryResponseSuccess
|
|
219
|
+
|
|
220
|
+
interface _GetEnterpriseSupportContractDetailsResponseSuccess
|
|
221
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetEnterpriseSupportContractDetailsResponse]
|
|
222
|
+
def is_contract_active: () -> bool
|
|
223
|
+
def support_allocation_method: () -> ::String
|
|
224
|
+
def support_reserved_instance_amortization_start_date: () -> ::Time
|
|
225
|
+
def support_reserved_instance_treatment_method: () -> ::String
|
|
226
|
+
def support_savings_plans_amortization_start_date: () -> ::Time
|
|
227
|
+
def support_savings_plans_treatment_method: () -> ::String
|
|
228
|
+
def support_prorate_start_date: () -> ::Time
|
|
229
|
+
def contract_payer_account_ids: () -> ::Array[Types::ContractAccount]
|
|
230
|
+
def charged_payer_account_ids: () -> ::Array[Types::ChargeAccount]
|
|
231
|
+
def additional_support_charge: () -> ::Array[Types::AdditionalCharge]
|
|
232
|
+
def additional_support_eligible_usage_spend: () -> ::Array[Types::AdditionalCharge]
|
|
233
|
+
def pricing_plans: () -> ::Array[Types::PricingPlan]
|
|
234
|
+
end
|
|
235
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Billing/Client.html#get_enterprise_support_contract_details-instance_method
|
|
236
|
+
def get_enterprise_support_contract_details: (
|
|
237
|
+
billing_month: ::String
|
|
238
|
+
) -> _GetEnterpriseSupportContractDetailsResponseSuccess
|
|
239
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetEnterpriseSupportContractDetailsResponseSuccess
|
|
240
|
+
|
|
196
241
|
interface _GetResourcePolicyResponseSuccess
|
|
197
242
|
include ::Seahorse::Client::_ResponseSuccess[Types::GetResourcePolicyResponse]
|
|
198
243
|
def resource_arn: () -> ::String
|
|
@@ -230,6 +275,20 @@ module Aws
|
|
|
230
275
|
) -> _ListBillingViewsResponseSuccess
|
|
231
276
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListBillingViewsResponseSuccess
|
|
232
277
|
|
|
278
|
+
interface _ListEnterpriseSupportLinkedAccountChargesResponseSuccess
|
|
279
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListEnterpriseSupportLinkedAccountChargesResponse]
|
|
280
|
+
def linked_account: () -> ::Array[Types::LinkedAccountCharge]
|
|
281
|
+
def next_token: () -> ::String
|
|
282
|
+
end
|
|
283
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Billing/Client.html#list_enterprise_support_linked_account_charges-instance_method
|
|
284
|
+
def list_enterprise_support_linked_account_charges: (
|
|
285
|
+
billing_month: ::String,
|
|
286
|
+
?account_id: ::String,
|
|
287
|
+
?max_results: ::Integer,
|
|
288
|
+
?next_token: ::String
|
|
289
|
+
) -> _ListEnterpriseSupportLinkedAccountChargesResponseSuccess
|
|
290
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListEnterpriseSupportLinkedAccountChargesResponseSuccess
|
|
291
|
+
|
|
233
292
|
interface _ListSourceViewsForBillingViewResponseSuccess
|
|
234
293
|
include ::Seahorse::Client::_ResponseSuccess[Types::ListSourceViewsForBillingViewResponse]
|
|
235
294
|
def source_views: () -> ::Array[::String]
|