aws-sdk-billingconductor 1.62.0 → 1.64.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-billingconductor/client.rb +123 -3
- data/lib/aws-sdk-billingconductor/client_api.rb +72 -3
- data/lib/aws-sdk-billingconductor/types.rb +164 -3
- data/lib/aws-sdk-billingconductor.rb +1 -1
- data/sig/client.rbs +45 -2
- data/sig/types.rbs +43 -1
- 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: d0ff3f728f22dc55afba932b275198405ef0c7d91f9d71975f5d9b0c0e4fddee
|
|
4
|
+
data.tar.gz: 94d40520ca3427a37eb3a5601cceaf8dc195de2a7738d77db9ea6695ed8642c2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1db86a083002480c7b8eee7adcd191c381de9549e3ab9a262e77af278c303d0bd24a8fb5b9922370f1088e203962fdec2fe1195684076079c7cdd7a70bd0f736
|
|
7
|
+
data.tar.gz: 95d57150890439cddb8da67fe4a99092723291b0a7e0f171ebf81c054c55b18e325f67a8d2d030a48b7a564f6245a573f2177e230864012f3b0cc61b5557bf6b
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.64.0 (2026-09-21)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Launching Auto Billing Transfer Billing Group Creation Preference feature
|
|
8
|
+
|
|
9
|
+
1.63.0 (2026-09-14)
|
|
10
|
+
------------------
|
|
11
|
+
|
|
12
|
+
* Feature - This release adds support for custom volume tiering. You can now define custom tiers on a pricing rule's tiering configuration, where each tier specifies a usage range and the rate applied to usage in that range.
|
|
13
|
+
|
|
4
14
|
1.62.0 (2026-09-11)
|
|
5
15
|
------------------
|
|
6
16
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.64.0
|
|
@@ -959,9 +959,16 @@ module Aws::BillingConductor
|
|
|
959
959
|
# },
|
|
960
960
|
# billing_entity: "BillingEntity",
|
|
961
961
|
# tiering: {
|
|
962
|
-
# free_tier: {
|
|
962
|
+
# free_tier: {
|
|
963
963
|
# activated: false, # required
|
|
964
964
|
# },
|
|
965
|
+
# custom_tiers: [
|
|
966
|
+
# {
|
|
967
|
+
# begin_range_inclusive: 1.0, # required
|
|
968
|
+
# end_range_exclusive: 1.0,
|
|
969
|
+
# rate_value: 1.0, # required
|
|
970
|
+
# },
|
|
971
|
+
# ],
|
|
965
972
|
# },
|
|
966
973
|
# usage_type: "UsageType",
|
|
967
974
|
# operation: "Operation",
|
|
@@ -1239,6 +1246,41 @@ module Aws::BillingConductor
|
|
|
1239
1246
|
req.send_request(options)
|
|
1240
1247
|
end
|
|
1241
1248
|
|
|
1249
|
+
# Retrieves the auto billing group creation preference for a billing
|
|
1250
|
+
# transfer.
|
|
1251
|
+
#
|
|
1252
|
+
# @option params [required, String] :responsibility_transfer_arn
|
|
1253
|
+
# The Amazon Resource Name (ARN) of the billing transfer whose
|
|
1254
|
+
# preference you want to retrieve.
|
|
1255
|
+
#
|
|
1256
|
+
# @return [Types::GetBillingTransferPreferenceOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1257
|
+
#
|
|
1258
|
+
# * {Types::GetBillingTransferPreferenceOutput#responsibility_transfer_arn #responsibility_transfer_arn} => String
|
|
1259
|
+
# * {Types::GetBillingTransferPreferenceOutput#auto_billing_transfer_billing_group_creation #auto_billing_transfer_billing_group_creation} => Types::AutoTransferBillingGroupCreationPreference
|
|
1260
|
+
# * {Types::GetBillingTransferPreferenceOutput#last_modified_time #last_modified_time} => Integer
|
|
1261
|
+
#
|
|
1262
|
+
# @example Request syntax with placeholder values
|
|
1263
|
+
#
|
|
1264
|
+
# resp = client.get_billing_transfer_preference({
|
|
1265
|
+
# responsibility_transfer_arn: "ResponsibilityTransferArn", # required
|
|
1266
|
+
# })
|
|
1267
|
+
#
|
|
1268
|
+
# @example Response structure
|
|
1269
|
+
#
|
|
1270
|
+
# resp.responsibility_transfer_arn #=> String
|
|
1271
|
+
# resp.auto_billing_transfer_billing_group_creation.enabled #=> Boolean
|
|
1272
|
+
# resp.auto_billing_transfer_billing_group_creation.pricing_plan_arn #=> String
|
|
1273
|
+
# resp.last_modified_time #=> Integer
|
|
1274
|
+
#
|
|
1275
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/GetBillingTransferPreference AWS API Documentation
|
|
1276
|
+
#
|
|
1277
|
+
# @overload get_billing_transfer_preference(params = {})
|
|
1278
|
+
# @param [Hash] params ({})
|
|
1279
|
+
def get_billing_transfer_preference(params = {}, options = {})
|
|
1280
|
+
req = build_request(:get_billing_transfer_preference, params)
|
|
1281
|
+
req.send_request(options)
|
|
1282
|
+
end
|
|
1283
|
+
|
|
1242
1284
|
# This is a paginated call to list linked accounts that are linked to
|
|
1243
1285
|
# the payer account for the specified time period. If no information is
|
|
1244
1286
|
# provided, the current billing period is used. The response will
|
|
@@ -1743,6 +1785,10 @@ module Aws::BillingConductor
|
|
|
1743
1785
|
# resp.pricing_rules[0].last_modified_time #=> Integer
|
|
1744
1786
|
# resp.pricing_rules[0].billing_entity #=> String
|
|
1745
1787
|
# resp.pricing_rules[0].tiering.free_tier.activated #=> Boolean
|
|
1788
|
+
# resp.pricing_rules[0].tiering.custom_tiers #=> Array
|
|
1789
|
+
# resp.pricing_rules[0].tiering.custom_tiers[0].begin_range_inclusive #=> Float
|
|
1790
|
+
# resp.pricing_rules[0].tiering.custom_tiers[0].end_range_exclusive #=> Float
|
|
1791
|
+
# resp.pricing_rules[0].tiering.custom_tiers[0].rate_value #=> Float
|
|
1746
1792
|
# resp.pricing_rules[0].usage_type #=> String
|
|
1747
1793
|
# resp.pricing_rules[0].operation #=> String
|
|
1748
1794
|
# resp.next_token #=> String
|
|
@@ -2029,6 +2075,69 @@ module Aws::BillingConductor
|
|
|
2029
2075
|
req.send_request(options)
|
|
2030
2076
|
end
|
|
2031
2077
|
|
|
2078
|
+
# Sets the auto billing group creation preference for a billing
|
|
2079
|
+
# transfer. When the preference is enabled, Billing Conductor
|
|
2080
|
+
# automatically creates an indirect billing transfer billing group in
|
|
2081
|
+
# your account, with the pricing plan that you specify, for each account
|
|
2082
|
+
# that transfers its bill to the bill source account of this billing
|
|
2083
|
+
# transfer. The preference applies only to billing groups that are
|
|
2084
|
+
# created after you enable it.
|
|
2085
|
+
#
|
|
2086
|
+
# Enabling the preference requires the `iam:CreateServiceLinkedRole`
|
|
2087
|
+
# permission. While a pricing plan is specified in an enabled
|
|
2088
|
+
# preference, you can't delete that pricing plan.
|
|
2089
|
+
#
|
|
2090
|
+
# @option params [String] :client_token
|
|
2091
|
+
# A unique, case-sensitive identifier that you specify to ensure
|
|
2092
|
+
# idempotency of the request. Idempotency ensures that an API request
|
|
2093
|
+
# completes no more than one time. With an idempotent request, if the
|
|
2094
|
+
# original request completes successfully, any subsequent retries
|
|
2095
|
+
# complete successfully without performing any further actions.
|
|
2096
|
+
#
|
|
2097
|
+
# **A suitable default value is auto-generated.** You should normally
|
|
2098
|
+
# not need to pass this option.**
|
|
2099
|
+
#
|
|
2100
|
+
# @option params [required, String] :responsibility_transfer_arn
|
|
2101
|
+
# The Amazon Resource Name (ARN) of the billing transfer whose
|
|
2102
|
+
# preference you want to set.
|
|
2103
|
+
#
|
|
2104
|
+
# @option params [required, Types::AutoTransferBillingGroupCreationPreference] :auto_billing_transfer_billing_group_creation
|
|
2105
|
+
# The auto billing group creation preference to set for the billing
|
|
2106
|
+
# transfer.
|
|
2107
|
+
#
|
|
2108
|
+
# @return [Types::UpdateBillingTransferPreferenceOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
2109
|
+
#
|
|
2110
|
+
# * {Types::UpdateBillingTransferPreferenceOutput#responsibility_transfer_arn #responsibility_transfer_arn} => String
|
|
2111
|
+
# * {Types::UpdateBillingTransferPreferenceOutput#auto_billing_transfer_billing_group_creation #auto_billing_transfer_billing_group_creation} => Types::AutoTransferBillingGroupCreationPreference
|
|
2112
|
+
# * {Types::UpdateBillingTransferPreferenceOutput#last_modified_time #last_modified_time} => Integer
|
|
2113
|
+
#
|
|
2114
|
+
# @example Request syntax with placeholder values
|
|
2115
|
+
#
|
|
2116
|
+
# resp = client.update_billing_transfer_preference({
|
|
2117
|
+
# client_token: "ClientToken",
|
|
2118
|
+
# responsibility_transfer_arn: "ResponsibilityTransferArn", # required
|
|
2119
|
+
# auto_billing_transfer_billing_group_creation: { # required
|
|
2120
|
+
# enabled: false, # required
|
|
2121
|
+
# pricing_plan_arn: "PricingPlanArn",
|
|
2122
|
+
# },
|
|
2123
|
+
# })
|
|
2124
|
+
#
|
|
2125
|
+
# @example Response structure
|
|
2126
|
+
#
|
|
2127
|
+
# resp.responsibility_transfer_arn #=> String
|
|
2128
|
+
# resp.auto_billing_transfer_billing_group_creation.enabled #=> Boolean
|
|
2129
|
+
# resp.auto_billing_transfer_billing_group_creation.pricing_plan_arn #=> String
|
|
2130
|
+
# resp.last_modified_time #=> Integer
|
|
2131
|
+
#
|
|
2132
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/UpdateBillingTransferPreference AWS API Documentation
|
|
2133
|
+
#
|
|
2134
|
+
# @overload update_billing_transfer_preference(params = {})
|
|
2135
|
+
# @param [Hash] params ({})
|
|
2136
|
+
def update_billing_transfer_preference(params = {}, options = {})
|
|
2137
|
+
req = build_request(:update_billing_transfer_preference, params)
|
|
2138
|
+
req.send_request(options)
|
|
2139
|
+
end
|
|
2140
|
+
|
|
2032
2141
|
# Update an existing custom line item in the current or previous billing
|
|
2033
2142
|
# period.
|
|
2034
2143
|
#
|
|
@@ -2208,9 +2317,16 @@ module Aws::BillingConductor
|
|
|
2208
2317
|
# type: "MARKUP", # accepts MARKUP, DISCOUNT, TIERING
|
|
2209
2318
|
# modifier_percentage: 1.0,
|
|
2210
2319
|
# tiering: {
|
|
2211
|
-
# free_tier: {
|
|
2320
|
+
# free_tier: {
|
|
2212
2321
|
# activated: false, # required
|
|
2213
2322
|
# },
|
|
2323
|
+
# custom_tiers: [
|
|
2324
|
+
# {
|
|
2325
|
+
# begin_range_inclusive: 1.0, # required
|
|
2326
|
+
# end_range_exclusive: 1.0,
|
|
2327
|
+
# rate_value: 1.0, # required
|
|
2328
|
+
# },
|
|
2329
|
+
# ],
|
|
2214
2330
|
# },
|
|
2215
2331
|
# })
|
|
2216
2332
|
#
|
|
@@ -2227,6 +2343,10 @@ module Aws::BillingConductor
|
|
|
2227
2343
|
# resp.last_modified_time #=> Integer
|
|
2228
2344
|
# resp.billing_entity #=> String
|
|
2229
2345
|
# resp.tiering.free_tier.activated #=> Boolean
|
|
2346
|
+
# resp.tiering.custom_tiers #=> Array
|
|
2347
|
+
# resp.tiering.custom_tiers[0].begin_range_inclusive #=> Float
|
|
2348
|
+
# resp.tiering.custom_tiers[0].end_range_exclusive #=> Float
|
|
2349
|
+
# resp.tiering.custom_tiers[0].rate_value #=> Float
|
|
2230
2350
|
# resp.usage_type #=> String
|
|
2231
2351
|
# resp.operation #=> String
|
|
2232
2352
|
#
|
|
@@ -2257,7 +2377,7 @@ module Aws::BillingConductor
|
|
|
2257
2377
|
tracer: tracer
|
|
2258
2378
|
)
|
|
2259
2379
|
context[:gem_name] = 'aws-sdk-billingconductor'
|
|
2260
|
-
context[:gem_version] = '1.
|
|
2380
|
+
context[:gem_version] = '1.64.0'
|
|
2261
2381
|
Seahorse::Client::Request.new(handlers, context)
|
|
2262
2382
|
end
|
|
2263
2383
|
|
|
@@ -38,6 +38,7 @@ module Aws::BillingConductor
|
|
|
38
38
|
AttributeValue = Shapes::StringShape.new(name: 'AttributeValue')
|
|
39
39
|
AttributeValueList = Shapes::ListShape.new(name: 'AttributeValueList')
|
|
40
40
|
AttributesList = Shapes::ListShape.new(name: 'AttributesList')
|
|
41
|
+
AutoTransferBillingGroupCreationPreference = Shapes::StructureShape.new(name: 'AutoTransferBillingGroupCreationPreference')
|
|
41
42
|
BatchAssociateResourcesToCustomLineItemInput = Shapes::StructureShape.new(name: 'BatchAssociateResourcesToCustomLineItemInput')
|
|
42
43
|
BatchAssociateResourcesToCustomLineItemOutput = Shapes::StructureShape.new(name: 'BatchAssociateResourcesToCustomLineItemOutput')
|
|
43
44
|
BatchDisassociateResourcesFromCustomLineItemInput = Shapes::StructureShape.new(name: 'BatchDisassociateResourcesFromCustomLineItemInput')
|
|
@@ -101,6 +102,11 @@ module Aws::BillingConductor
|
|
|
101
102
|
CustomLineItemType = Shapes::StringShape.new(name: 'CustomLineItemType')
|
|
102
103
|
CustomLineItemVersionList = Shapes::ListShape.new(name: 'CustomLineItemVersionList')
|
|
103
104
|
CustomLineItemVersionListElement = Shapes::StructureShape.new(name: 'CustomLineItemVersionListElement')
|
|
105
|
+
CustomTier = Shapes::StructureShape.new(name: 'CustomTier')
|
|
106
|
+
CustomTierBeginRangeInclusive = Shapes::FloatShape.new(name: 'CustomTierBeginRangeInclusive')
|
|
107
|
+
CustomTierEndRangeExclusive = Shapes::FloatShape.new(name: 'CustomTierEndRangeExclusive')
|
|
108
|
+
CustomTierRateValue = Shapes::FloatShape.new(name: 'CustomTierRateValue')
|
|
109
|
+
CustomTiersList = Shapes::ListShape.new(name: 'CustomTiersList')
|
|
104
110
|
DeleteBillingGroupInput = Shapes::StructureShape.new(name: 'DeleteBillingGroupInput')
|
|
105
111
|
DeleteBillingGroupOutput = Shapes::StructureShape.new(name: 'DeleteBillingGroupOutput')
|
|
106
112
|
DeleteCustomLineItemInput = Shapes::StructureShape.new(name: 'DeleteCustomLineItemInput')
|
|
@@ -118,6 +124,8 @@ module Aws::BillingConductor
|
|
|
118
124
|
FreeTierConfig = Shapes::StructureShape.new(name: 'FreeTierConfig')
|
|
119
125
|
GetBillingGroupCostReportInput = Shapes::StructureShape.new(name: 'GetBillingGroupCostReportInput')
|
|
120
126
|
GetBillingGroupCostReportOutput = Shapes::StructureShape.new(name: 'GetBillingGroupCostReportOutput')
|
|
127
|
+
GetBillingTransferPreferenceInput = Shapes::StructureShape.new(name: 'GetBillingTransferPreferenceInput')
|
|
128
|
+
GetBillingTransferPreferenceOutput = Shapes::StructureShape.new(name: 'GetBillingTransferPreferenceOutput')
|
|
121
129
|
GroupByAttributeName = Shapes::StringShape.new(name: 'GroupByAttributeName')
|
|
122
130
|
GroupByAttributesList = Shapes::ListShape.new(name: 'GroupByAttributesList')
|
|
123
131
|
Instant = Shapes::IntegerShape.new(name: 'Instant')
|
|
@@ -224,6 +232,8 @@ module Aws::BillingConductor
|
|
|
224
232
|
UpdateBillingGroupAccountGrouping = Shapes::StructureShape.new(name: 'UpdateBillingGroupAccountGrouping')
|
|
225
233
|
UpdateBillingGroupInput = Shapes::StructureShape.new(name: 'UpdateBillingGroupInput')
|
|
226
234
|
UpdateBillingGroupOutput = Shapes::StructureShape.new(name: 'UpdateBillingGroupOutput')
|
|
235
|
+
UpdateBillingTransferPreferenceInput = Shapes::StructureShape.new(name: 'UpdateBillingTransferPreferenceInput')
|
|
236
|
+
UpdateBillingTransferPreferenceOutput = Shapes::StructureShape.new(name: 'UpdateBillingTransferPreferenceOutput')
|
|
227
237
|
UpdateCustomLineItemChargeDetails = Shapes::StructureShape.new(name: 'UpdateCustomLineItemChargeDetails')
|
|
228
238
|
UpdateCustomLineItemFlatChargeDetails = Shapes::StructureShape.new(name: 'UpdateCustomLineItemFlatChargeDetails')
|
|
229
239
|
UpdateCustomLineItemInput = Shapes::StructureShape.new(name: 'UpdateCustomLineItemInput')
|
|
@@ -293,6 +303,10 @@ module Aws::BillingConductor
|
|
|
293
303
|
|
|
294
304
|
AttributesList.member = Shapes::ShapeRef.new(shape: Attribute)
|
|
295
305
|
|
|
306
|
+
AutoTransferBillingGroupCreationPreference.add_member(:enabled, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "Enabled"))
|
|
307
|
+
AutoTransferBillingGroupCreationPreference.add_member(:pricing_plan_arn, Shapes::ShapeRef.new(shape: PricingPlanArn, location_name: "PricingPlanArn"))
|
|
308
|
+
AutoTransferBillingGroupCreationPreference.struct_class = Types::AutoTransferBillingGroupCreationPreference
|
|
309
|
+
|
|
296
310
|
BatchAssociateResourcesToCustomLineItemInput.add_member(:target_arn, Shapes::ShapeRef.new(shape: CustomLineItemArn, required: true, location_name: "TargetArn"))
|
|
297
311
|
BatchAssociateResourcesToCustomLineItemInput.add_member(:resource_arns, Shapes::ShapeRef.new(shape: CustomLineItemBatchAssociationsList, required: true, location_name: "ResourceArns"))
|
|
298
312
|
BatchAssociateResourcesToCustomLineItemInput.add_member(:billing_period_range, Shapes::ShapeRef.new(shape: CustomLineItemBillingPeriodRange, location_name: "BillingPeriodRange"))
|
|
@@ -424,7 +438,8 @@ module Aws::BillingConductor
|
|
|
424
438
|
CreatePricingRuleOutput.add_member(:arn, Shapes::ShapeRef.new(shape: PricingRuleArn, location_name: "Arn"))
|
|
425
439
|
CreatePricingRuleOutput.struct_class = Types::CreatePricingRuleOutput
|
|
426
440
|
|
|
427
|
-
CreateTieringInput.add_member(:free_tier, Shapes::ShapeRef.new(shape: CreateFreeTierConfig,
|
|
441
|
+
CreateTieringInput.add_member(:free_tier, Shapes::ShapeRef.new(shape: CreateFreeTierConfig, location_name: "FreeTier"))
|
|
442
|
+
CreateTieringInput.add_member(:custom_tiers, Shapes::ShapeRef.new(shape: CustomTiersList, location_name: "CustomTiers"))
|
|
428
443
|
CreateTieringInput.struct_class = Types::CreateTieringInput
|
|
429
444
|
|
|
430
445
|
CustomLineItemArns.member = Shapes::ShapeRef.new(shape: CustomLineItemArn)
|
|
@@ -491,6 +506,13 @@ module Aws::BillingConductor
|
|
|
491
506
|
CustomLineItemVersionListElement.add_member(:presentation_details, Shapes::ShapeRef.new(shape: PresentationObject, location_name: "PresentationDetails"))
|
|
492
507
|
CustomLineItemVersionListElement.struct_class = Types::CustomLineItemVersionListElement
|
|
493
508
|
|
|
509
|
+
CustomTier.add_member(:begin_range_inclusive, Shapes::ShapeRef.new(shape: CustomTierBeginRangeInclusive, required: true, location_name: "BeginRangeInclusive"))
|
|
510
|
+
CustomTier.add_member(:end_range_exclusive, Shapes::ShapeRef.new(shape: CustomTierEndRangeExclusive, location_name: "EndRangeExclusive"))
|
|
511
|
+
CustomTier.add_member(:rate_value, Shapes::ShapeRef.new(shape: CustomTierRateValue, required: true, location_name: "RateValue"))
|
|
512
|
+
CustomTier.struct_class = Types::CustomTier
|
|
513
|
+
|
|
514
|
+
CustomTiersList.member = Shapes::ShapeRef.new(shape: CustomTier)
|
|
515
|
+
|
|
494
516
|
DeleteBillingGroupInput.add_member(:arn, Shapes::ShapeRef.new(shape: BillingGroupArn, required: true, location_name: "Arn"))
|
|
495
517
|
DeleteBillingGroupInput.struct_class = Types::DeleteBillingGroupInput
|
|
496
518
|
|
|
@@ -550,6 +572,14 @@ module Aws::BillingConductor
|
|
|
550
572
|
GetBillingGroupCostReportOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
|
|
551
573
|
GetBillingGroupCostReportOutput.struct_class = Types::GetBillingGroupCostReportOutput
|
|
552
574
|
|
|
575
|
+
GetBillingTransferPreferenceInput.add_member(:responsibility_transfer_arn, Shapes::ShapeRef.new(shape: ResponsibilityTransferArn, required: true, location_name: "ResponsibilityTransferArn"))
|
|
576
|
+
GetBillingTransferPreferenceInput.struct_class = Types::GetBillingTransferPreferenceInput
|
|
577
|
+
|
|
578
|
+
GetBillingTransferPreferenceOutput.add_member(:responsibility_transfer_arn, Shapes::ShapeRef.new(shape: ResponsibilityTransferArn, required: true, location_name: "ResponsibilityTransferArn"))
|
|
579
|
+
GetBillingTransferPreferenceOutput.add_member(:auto_billing_transfer_billing_group_creation, Shapes::ShapeRef.new(shape: AutoTransferBillingGroupCreationPreference, required: true, location_name: "AutoBillingTransferBillingGroupCreation"))
|
|
580
|
+
GetBillingTransferPreferenceOutput.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: Instant, location_name: "LastModifiedTime", metadata: {"box" => true}))
|
|
581
|
+
GetBillingTransferPreferenceOutput.struct_class = Types::GetBillingTransferPreferenceOutput
|
|
582
|
+
|
|
553
583
|
GroupByAttributesList.member = Shapes::ShapeRef.new(shape: GroupByAttributeName)
|
|
554
584
|
|
|
555
585
|
InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Message"))
|
|
@@ -818,7 +848,8 @@ module Aws::BillingConductor
|
|
|
818
848
|
ThrottlingException.add_member(:retry_after_seconds, Shapes::ShapeRef.new(shape: RetryAfterSeconds, location: "header", location_name: "Retry-After"))
|
|
819
849
|
ThrottlingException.struct_class = Types::ThrottlingException
|
|
820
850
|
|
|
821
|
-
Tiering.add_member(:free_tier, Shapes::ShapeRef.new(shape: FreeTierConfig,
|
|
851
|
+
Tiering.add_member(:free_tier, Shapes::ShapeRef.new(shape: FreeTierConfig, location_name: "FreeTier"))
|
|
852
|
+
Tiering.add_member(:custom_tiers, Shapes::ShapeRef.new(shape: CustomTiersList, location_name: "CustomTiers"))
|
|
822
853
|
Tiering.struct_class = Types::Tiering
|
|
823
854
|
|
|
824
855
|
UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location: "uri", location_name: "ResourceArn"))
|
|
@@ -851,6 +882,16 @@ module Aws::BillingConductor
|
|
|
851
882
|
UpdateBillingGroupOutput.add_member(:account_grouping, Shapes::ShapeRef.new(shape: UpdateBillingGroupAccountGrouping, location_name: "AccountGrouping"))
|
|
852
883
|
UpdateBillingGroupOutput.struct_class = Types::UpdateBillingGroupOutput
|
|
853
884
|
|
|
885
|
+
UpdateBillingTransferPreferenceInput.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location: "header", location_name: "X-Amzn-Client-Token", metadata: {"idempotencyToken" => true}))
|
|
886
|
+
UpdateBillingTransferPreferenceInput.add_member(:responsibility_transfer_arn, Shapes::ShapeRef.new(shape: ResponsibilityTransferArn, required: true, location_name: "ResponsibilityTransferArn"))
|
|
887
|
+
UpdateBillingTransferPreferenceInput.add_member(:auto_billing_transfer_billing_group_creation, Shapes::ShapeRef.new(shape: AutoTransferBillingGroupCreationPreference, required: true, location_name: "AutoBillingTransferBillingGroupCreation"))
|
|
888
|
+
UpdateBillingTransferPreferenceInput.struct_class = Types::UpdateBillingTransferPreferenceInput
|
|
889
|
+
|
|
890
|
+
UpdateBillingTransferPreferenceOutput.add_member(:responsibility_transfer_arn, Shapes::ShapeRef.new(shape: ResponsibilityTransferArn, required: true, location_name: "ResponsibilityTransferArn"))
|
|
891
|
+
UpdateBillingTransferPreferenceOutput.add_member(:auto_billing_transfer_billing_group_creation, Shapes::ShapeRef.new(shape: AutoTransferBillingGroupCreationPreference, required: true, location_name: "AutoBillingTransferBillingGroupCreation"))
|
|
892
|
+
UpdateBillingTransferPreferenceOutput.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: Instant, required: true, location_name: "LastModifiedTime"))
|
|
893
|
+
UpdateBillingTransferPreferenceOutput.struct_class = Types::UpdateBillingTransferPreferenceOutput
|
|
894
|
+
|
|
854
895
|
UpdateCustomLineItemChargeDetails.add_member(:flat, Shapes::ShapeRef.new(shape: UpdateCustomLineItemFlatChargeDetails, location_name: "Flat"))
|
|
855
896
|
UpdateCustomLineItemChargeDetails.add_member(:percentage, Shapes::ShapeRef.new(shape: UpdateCustomLineItemPercentageChargeDetails, location_name: "Percentage"))
|
|
856
897
|
UpdateCustomLineItemChargeDetails.add_member(:line_item_filters, Shapes::ShapeRef.new(shape: LineItemFiltersList, location_name: "LineItemFilters"))
|
|
@@ -916,7 +957,8 @@ module Aws::BillingConductor
|
|
|
916
957
|
UpdatePricingRuleOutput.add_member(:operation, Shapes::ShapeRef.new(shape: Operation, location_name: "Operation"))
|
|
917
958
|
UpdatePricingRuleOutput.struct_class = Types::UpdatePricingRuleOutput
|
|
918
959
|
|
|
919
|
-
UpdateTieringInput.add_member(:free_tier, Shapes::ShapeRef.new(shape: UpdateFreeTierConfig,
|
|
960
|
+
UpdateTieringInput.add_member(:free_tier, Shapes::ShapeRef.new(shape: UpdateFreeTierConfig, location_name: "FreeTier"))
|
|
961
|
+
UpdateTieringInput.add_member(:custom_tiers, Shapes::ShapeRef.new(shape: CustomTiersList, location_name: "CustomTiers"))
|
|
920
962
|
UpdateTieringInput.struct_class = Types::UpdateTieringInput
|
|
921
963
|
|
|
922
964
|
ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Message"))
|
|
@@ -1157,6 +1199,19 @@ module Aws::BillingConductor
|
|
|
1157
1199
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
1158
1200
|
end)
|
|
1159
1201
|
|
|
1202
|
+
api.add_operation(:get_billing_transfer_preference, Seahorse::Model::Operation.new.tap do |o|
|
|
1203
|
+
o.name = "GetBillingTransferPreference"
|
|
1204
|
+
o.http_method = "POST"
|
|
1205
|
+
o.http_request_uri = "/get-billing-transfer-preference"
|
|
1206
|
+
o.input = Shapes::ShapeRef.new(shape: GetBillingTransferPreferenceInput)
|
|
1207
|
+
o.output = Shapes::ShapeRef.new(shape: GetBillingTransferPreferenceOutput)
|
|
1208
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
|
1209
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
1210
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
1211
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
1212
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
1213
|
+
end)
|
|
1214
|
+
|
|
1160
1215
|
api.add_operation(:list_account_associations, Seahorse::Model::Operation.new.tap do |o|
|
|
1161
1216
|
o.name = "ListAccountAssociations"
|
|
1162
1217
|
o.http_method = "POST"
|
|
@@ -1396,6 +1451,20 @@ module Aws::BillingConductor
|
|
|
1396
1451
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
1397
1452
|
end)
|
|
1398
1453
|
|
|
1454
|
+
api.add_operation(:update_billing_transfer_preference, Seahorse::Model::Operation.new.tap do |o|
|
|
1455
|
+
o.name = "UpdateBillingTransferPreference"
|
|
1456
|
+
o.http_method = "PUT"
|
|
1457
|
+
o.http_request_uri = "/update-billing-transfer-preference"
|
|
1458
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateBillingTransferPreferenceInput)
|
|
1459
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateBillingTransferPreferenceOutput)
|
|
1460
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
|
1461
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
|
1462
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
1463
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
1464
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
1465
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
1466
|
+
end)
|
|
1467
|
+
|
|
1399
1468
|
api.add_operation(:update_custom_line_item, Seahorse::Model::Operation.new.tap do |o|
|
|
1400
1469
|
o.name = "UpdateCustomLineItem"
|
|
1401
1470
|
o.http_method = "POST"
|
|
@@ -206,6 +206,33 @@ module Aws::BillingConductor
|
|
|
206
206
|
include Aws::Structure
|
|
207
207
|
end
|
|
208
208
|
|
|
209
|
+
# The auto billing group creation preference for a billing transfer.
|
|
210
|
+
# When the preference is enabled, Billing Conductor automatically
|
|
211
|
+
# creates an indirect billing transfer billing group, with the specified
|
|
212
|
+
# pricing plan, for each account that transfers its bill to the bill
|
|
213
|
+
# source account of the billing transfer.
|
|
214
|
+
#
|
|
215
|
+
# @!attribute [rw] enabled
|
|
216
|
+
# Specifies whether Billing Conductor automatically creates billing
|
|
217
|
+
# groups for the billing transfer. The preference is disabled by
|
|
218
|
+
# default.
|
|
219
|
+
# @return [Boolean]
|
|
220
|
+
#
|
|
221
|
+
# @!attribute [rw] pricing_plan_arn
|
|
222
|
+
# The Amazon Resource Name (ARN) of the pricing plan to apply to the
|
|
223
|
+
# automatically created billing groups. This value is required when
|
|
224
|
+
# `Enabled` is `true`, and must be omitted when `Enabled` is `false`.
|
|
225
|
+
# @return [String]
|
|
226
|
+
#
|
|
227
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/AutoTransferBillingGroupCreationPreference AWS API Documentation
|
|
228
|
+
#
|
|
229
|
+
class AutoTransferBillingGroupCreationPreference < Struct.new(
|
|
230
|
+
:enabled,
|
|
231
|
+
:pricing_plan_arn)
|
|
232
|
+
SENSITIVE = []
|
|
233
|
+
include Aws::Structure
|
|
234
|
+
end
|
|
235
|
+
|
|
209
236
|
# @!attribute [rw] target_arn
|
|
210
237
|
# A percentage custom line item ARN to associate the resources to.
|
|
211
238
|
# @return [String]
|
|
@@ -856,10 +883,15 @@ module Aws::BillingConductor
|
|
|
856
883
|
# The possible Amazon Web Services Free Tier configurations.
|
|
857
884
|
# @return [Types::CreateFreeTierConfig]
|
|
858
885
|
#
|
|
886
|
+
# @!attribute [rw] custom_tiers
|
|
887
|
+
# The set of custom tiers for the pricing rule.
|
|
888
|
+
# @return [Array<Types::CustomTier>]
|
|
889
|
+
#
|
|
859
890
|
# @see http://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/CreateTieringInput AWS API Documentation
|
|
860
891
|
#
|
|
861
892
|
class CreateTieringInput < Struct.new(
|
|
862
|
-
:free_tier
|
|
893
|
+
:free_tier,
|
|
894
|
+
:custom_tiers)
|
|
863
895
|
SENSITIVE = []
|
|
864
896
|
include Aws::Structure
|
|
865
897
|
end
|
|
@@ -1133,6 +1165,33 @@ module Aws::BillingConductor
|
|
|
1133
1165
|
include Aws::Structure
|
|
1134
1166
|
end
|
|
1135
1167
|
|
|
1168
|
+
# A custom tier for the pricing rule. Each custom tier applies a rate to
|
|
1169
|
+
# the usage that falls within the tier's range.
|
|
1170
|
+
#
|
|
1171
|
+
# @!attribute [rw] begin_range_inclusive
|
|
1172
|
+
# The inclusive start of the usage range that this tier applies to.
|
|
1173
|
+
# @return [Float]
|
|
1174
|
+
#
|
|
1175
|
+
# @!attribute [rw] end_range_exclusive
|
|
1176
|
+
# The exclusive end of the usage range that this tier applies to. If
|
|
1177
|
+
# you don't specify a value, this tier applies to all usage that is
|
|
1178
|
+
# greater than or equal to `BeginRangeInclusive`.
|
|
1179
|
+
# @return [Float]
|
|
1180
|
+
#
|
|
1181
|
+
# @!attribute [rw] rate_value
|
|
1182
|
+
# The rate that's applied to the usage that falls within this tier.
|
|
1183
|
+
# @return [Float]
|
|
1184
|
+
#
|
|
1185
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/CustomTier AWS API Documentation
|
|
1186
|
+
#
|
|
1187
|
+
class CustomTier < Struct.new(
|
|
1188
|
+
:begin_range_inclusive,
|
|
1189
|
+
:end_range_exclusive,
|
|
1190
|
+
:rate_value)
|
|
1191
|
+
SENSITIVE = []
|
|
1192
|
+
include Aws::Structure
|
|
1193
|
+
end
|
|
1194
|
+
|
|
1136
1195
|
# @!attribute [rw] arn
|
|
1137
1196
|
# The Amazon Resource Name (ARN) of the billing group that you're
|
|
1138
1197
|
# deleting.
|
|
@@ -1389,6 +1448,43 @@ module Aws::BillingConductor
|
|
|
1389
1448
|
include Aws::Structure
|
|
1390
1449
|
end
|
|
1391
1450
|
|
|
1451
|
+
# @!attribute [rw] responsibility_transfer_arn
|
|
1452
|
+
# The Amazon Resource Name (ARN) of the billing transfer whose
|
|
1453
|
+
# preference you want to retrieve.
|
|
1454
|
+
# @return [String]
|
|
1455
|
+
#
|
|
1456
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/GetBillingTransferPreferenceInput AWS API Documentation
|
|
1457
|
+
#
|
|
1458
|
+
class GetBillingTransferPreferenceInput < Struct.new(
|
|
1459
|
+
:responsibility_transfer_arn)
|
|
1460
|
+
SENSITIVE = []
|
|
1461
|
+
include Aws::Structure
|
|
1462
|
+
end
|
|
1463
|
+
|
|
1464
|
+
# @!attribute [rw] responsibility_transfer_arn
|
|
1465
|
+
# The Amazon Resource Name (ARN) of the billing transfer that the
|
|
1466
|
+
# preference applies to.
|
|
1467
|
+
# @return [String]
|
|
1468
|
+
#
|
|
1469
|
+
# @!attribute [rw] auto_billing_transfer_billing_group_creation
|
|
1470
|
+
# The auto billing group creation preference for the billing transfer.
|
|
1471
|
+
# @return [Types::AutoTransferBillingGroupCreationPreference]
|
|
1472
|
+
#
|
|
1473
|
+
# @!attribute [rw] last_modified_time
|
|
1474
|
+
# The most recent time when the preference was modified. This value is
|
|
1475
|
+
# empty if the preference has never been set for the billing transfer.
|
|
1476
|
+
# @return [Integer]
|
|
1477
|
+
#
|
|
1478
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/GetBillingTransferPreferenceOutput AWS API Documentation
|
|
1479
|
+
#
|
|
1480
|
+
class GetBillingTransferPreferenceOutput < Struct.new(
|
|
1481
|
+
:responsibility_transfer_arn,
|
|
1482
|
+
:auto_billing_transfer_billing_group_creation,
|
|
1483
|
+
:last_modified_time)
|
|
1484
|
+
SENSITIVE = []
|
|
1485
|
+
include Aws::Structure
|
|
1486
|
+
end
|
|
1487
|
+
|
|
1392
1488
|
# An unexpected error occurred while processing a request.
|
|
1393
1489
|
#
|
|
1394
1490
|
# @!attribute [rw] message
|
|
@@ -2612,10 +2708,15 @@ module Aws::BillingConductor
|
|
|
2612
2708
|
# The possible Amazon Web Services Free Tier configurations.
|
|
2613
2709
|
# @return [Types::FreeTierConfig]
|
|
2614
2710
|
#
|
|
2711
|
+
# @!attribute [rw] custom_tiers
|
|
2712
|
+
# The set of custom tiers for the pricing rule.
|
|
2713
|
+
# @return [Array<Types::CustomTier>]
|
|
2714
|
+
#
|
|
2615
2715
|
# @see http://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/Tiering AWS API Documentation
|
|
2616
2716
|
#
|
|
2617
2717
|
class Tiering < Struct.new(
|
|
2618
|
-
:free_tier
|
|
2718
|
+
:free_tier,
|
|
2719
|
+
:custom_tiers)
|
|
2619
2720
|
SENSITIVE = []
|
|
2620
2721
|
include Aws::Structure
|
|
2621
2722
|
end
|
|
@@ -2768,6 +2869,61 @@ module Aws::BillingConductor
|
|
|
2768
2869
|
include Aws::Structure
|
|
2769
2870
|
end
|
|
2770
2871
|
|
|
2872
|
+
# @!attribute [rw] client_token
|
|
2873
|
+
# A unique, case-sensitive identifier that you specify to ensure
|
|
2874
|
+
# idempotency of the request. Idempotency ensures that an API request
|
|
2875
|
+
# completes no more than one time. With an idempotent request, if the
|
|
2876
|
+
# original request completes successfully, any subsequent retries
|
|
2877
|
+
# complete successfully without performing any further actions.
|
|
2878
|
+
#
|
|
2879
|
+
# **A suitable default value is auto-generated.** You should normally
|
|
2880
|
+
# not need to pass this option.
|
|
2881
|
+
# @return [String]
|
|
2882
|
+
#
|
|
2883
|
+
# @!attribute [rw] responsibility_transfer_arn
|
|
2884
|
+
# The Amazon Resource Name (ARN) of the billing transfer whose
|
|
2885
|
+
# preference you want to set.
|
|
2886
|
+
# @return [String]
|
|
2887
|
+
#
|
|
2888
|
+
# @!attribute [rw] auto_billing_transfer_billing_group_creation
|
|
2889
|
+
# The auto billing group creation preference to set for the billing
|
|
2890
|
+
# transfer.
|
|
2891
|
+
# @return [Types::AutoTransferBillingGroupCreationPreference]
|
|
2892
|
+
#
|
|
2893
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/UpdateBillingTransferPreferenceInput AWS API Documentation
|
|
2894
|
+
#
|
|
2895
|
+
class UpdateBillingTransferPreferenceInput < Struct.new(
|
|
2896
|
+
:client_token,
|
|
2897
|
+
:responsibility_transfer_arn,
|
|
2898
|
+
:auto_billing_transfer_billing_group_creation)
|
|
2899
|
+
SENSITIVE = []
|
|
2900
|
+
include Aws::Structure
|
|
2901
|
+
end
|
|
2902
|
+
|
|
2903
|
+
# @!attribute [rw] responsibility_transfer_arn
|
|
2904
|
+
# The Amazon Resource Name (ARN) of the billing transfer that the
|
|
2905
|
+
# preference applies to.
|
|
2906
|
+
# @return [String]
|
|
2907
|
+
#
|
|
2908
|
+
# @!attribute [rw] auto_billing_transfer_billing_group_creation
|
|
2909
|
+
# The updated auto billing group creation preference for the billing
|
|
2910
|
+
# transfer.
|
|
2911
|
+
# @return [Types::AutoTransferBillingGroupCreationPreference]
|
|
2912
|
+
#
|
|
2913
|
+
# @!attribute [rw] last_modified_time
|
|
2914
|
+
# The most recent time when the preference was modified.
|
|
2915
|
+
# @return [Integer]
|
|
2916
|
+
#
|
|
2917
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/UpdateBillingTransferPreferenceOutput AWS API Documentation
|
|
2918
|
+
#
|
|
2919
|
+
class UpdateBillingTransferPreferenceOutput < Struct.new(
|
|
2920
|
+
:responsibility_transfer_arn,
|
|
2921
|
+
:auto_billing_transfer_billing_group_creation,
|
|
2922
|
+
:last_modified_time)
|
|
2923
|
+
SENSITIVE = []
|
|
2924
|
+
include Aws::Structure
|
|
2925
|
+
end
|
|
2926
|
+
|
|
2771
2927
|
# A representation of the new charge details of a custom line item. This
|
|
2772
2928
|
# should contain only one of `Flat` or `Percentage`.
|
|
2773
2929
|
#
|
|
@@ -3112,10 +3268,15 @@ module Aws::BillingConductor
|
|
|
3112
3268
|
# The possible Amazon Web Services Free Tier configurations.
|
|
3113
3269
|
# @return [Types::UpdateFreeTierConfig]
|
|
3114
3270
|
#
|
|
3271
|
+
# @!attribute [rw] custom_tiers
|
|
3272
|
+
# The set of custom tiers for the pricing rule.
|
|
3273
|
+
# @return [Array<Types::CustomTier>]
|
|
3274
|
+
#
|
|
3115
3275
|
# @see http://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/UpdateTieringInput AWS API Documentation
|
|
3116
3276
|
#
|
|
3117
3277
|
class UpdateTieringInput < Struct.new(
|
|
3118
|
-
:free_tier
|
|
3278
|
+
:free_tier,
|
|
3279
|
+
:custom_tiers)
|
|
3119
3280
|
SENSITIVE = []
|
|
3120
3281
|
include Aws::Structure
|
|
3121
3282
|
end
|
data/sig/client.rbs
CHANGED
|
@@ -227,7 +227,14 @@ module Aws
|
|
|
227
227
|
?tiering: {
|
|
228
228
|
free_tier: {
|
|
229
229
|
activated: bool
|
|
230
|
-
}
|
|
230
|
+
}?,
|
|
231
|
+
custom_tiers: Array[
|
|
232
|
+
{
|
|
233
|
+
begin_range_inclusive: ::Float,
|
|
234
|
+
end_range_exclusive: ::Float?,
|
|
235
|
+
rate_value: ::Float
|
|
236
|
+
}
|
|
237
|
+
]?
|
|
231
238
|
},
|
|
232
239
|
?usage_type: ::String,
|
|
233
240
|
?operation: ::String
|
|
@@ -318,6 +325,18 @@ module Aws
|
|
|
318
325
|
) -> _GetBillingGroupCostReportResponseSuccess
|
|
319
326
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetBillingGroupCostReportResponseSuccess
|
|
320
327
|
|
|
328
|
+
interface _GetBillingTransferPreferenceResponseSuccess
|
|
329
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetBillingTransferPreferenceOutput]
|
|
330
|
+
def responsibility_transfer_arn: () -> ::String
|
|
331
|
+
def auto_billing_transfer_billing_group_creation: () -> Types::AutoTransferBillingGroupCreationPreference
|
|
332
|
+
def last_modified_time: () -> ::Integer
|
|
333
|
+
end
|
|
334
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BillingConductor/Client.html#get_billing_transfer_preference-instance_method
|
|
335
|
+
def get_billing_transfer_preference: (
|
|
336
|
+
responsibility_transfer_arn: ::String
|
|
337
|
+
) -> _GetBillingTransferPreferenceResponseSuccess
|
|
338
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetBillingTransferPreferenceResponseSuccess
|
|
339
|
+
|
|
321
340
|
interface _ListAccountAssociationsResponseSuccess
|
|
322
341
|
include ::Seahorse::Client::_ResponseSuccess[Types::ListAccountAssociationsOutput]
|
|
323
342
|
def linked_accounts: () -> ::Array[Types::AccountAssociationsListElement]
|
|
@@ -560,6 +579,23 @@ module Aws
|
|
|
560
579
|
) -> _UpdateBillingGroupResponseSuccess
|
|
561
580
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateBillingGroupResponseSuccess
|
|
562
581
|
|
|
582
|
+
interface _UpdateBillingTransferPreferenceResponseSuccess
|
|
583
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateBillingTransferPreferenceOutput]
|
|
584
|
+
def responsibility_transfer_arn: () -> ::String
|
|
585
|
+
def auto_billing_transfer_billing_group_creation: () -> Types::AutoTransferBillingGroupCreationPreference
|
|
586
|
+
def last_modified_time: () -> ::Integer
|
|
587
|
+
end
|
|
588
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BillingConductor/Client.html#update_billing_transfer_preference-instance_method
|
|
589
|
+
def update_billing_transfer_preference: (
|
|
590
|
+
?client_token: ::String,
|
|
591
|
+
responsibility_transfer_arn: ::String,
|
|
592
|
+
auto_billing_transfer_billing_group_creation: {
|
|
593
|
+
enabled: bool,
|
|
594
|
+
pricing_plan_arn: ::String?
|
|
595
|
+
}
|
|
596
|
+
) -> _UpdateBillingTransferPreferenceResponseSuccess
|
|
597
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateBillingTransferPreferenceResponseSuccess
|
|
598
|
+
|
|
563
599
|
interface _UpdateCustomLineItemResponseSuccess
|
|
564
600
|
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateCustomLineItemOutput]
|
|
565
601
|
def arn: () -> ::String
|
|
@@ -640,7 +676,14 @@ module Aws
|
|
|
640
676
|
?tiering: {
|
|
641
677
|
free_tier: {
|
|
642
678
|
activated: bool
|
|
643
|
-
}
|
|
679
|
+
}?,
|
|
680
|
+
custom_tiers: Array[
|
|
681
|
+
{
|
|
682
|
+
begin_range_inclusive: ::Float,
|
|
683
|
+
end_range_exclusive: ::Float?,
|
|
684
|
+
rate_value: ::Float
|
|
685
|
+
}
|
|
686
|
+
]?
|
|
644
687
|
}
|
|
645
688
|
) -> _UpdatePricingRuleResponseSuccess
|
|
646
689
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdatePricingRuleResponseSuccess
|
data/sig/types.rbs
CHANGED
|
@@ -68,6 +68,12 @@ module Aws::BillingConductor
|
|
|
68
68
|
SENSITIVE: []
|
|
69
69
|
end
|
|
70
70
|
|
|
71
|
+
class AutoTransferBillingGroupCreationPreference
|
|
72
|
+
attr_accessor enabled: bool
|
|
73
|
+
attr_accessor pricing_plan_arn: ::String
|
|
74
|
+
SENSITIVE: []
|
|
75
|
+
end
|
|
76
|
+
|
|
71
77
|
class BatchAssociateResourcesToCustomLineItemInput
|
|
72
78
|
attr_accessor target_arn: ::String
|
|
73
79
|
attr_accessor resource_arns: ::Array[::String]
|
|
@@ -146,7 +152,7 @@ module Aws::BillingConductor
|
|
|
146
152
|
attr_accessor message: ::String
|
|
147
153
|
attr_accessor resource_id: ::String
|
|
148
154
|
attr_accessor resource_type: ::String
|
|
149
|
-
attr_accessor reason: ("RESOURCE_NAME_CONFLICT" | "PRICING_RULE_IN_PRICING_PLAN_CONFLICT" | "PRICING_PLAN_ATTACHED_TO_BILLING_GROUP_DELETE_CONFLICT" | "PRICING_RULE_ATTACHED_TO_PRICING_PLAN_DELETE_CONFLICT" | "WRITE_CONFLICT_RETRY")
|
|
155
|
+
attr_accessor reason: ("RESOURCE_NAME_CONFLICT" | "PRICING_RULE_IN_PRICING_PLAN_CONFLICT" | "PRICING_PLAN_ATTACHED_TO_BILLING_GROUP_DELETE_CONFLICT" | "PRICING_PLAN_REFERENCED_BY_PREFERENCE_DELETE_CONFLICT" | "PRICING_RULE_ATTACHED_TO_PRICING_PLAN_DELETE_CONFLICT" | "WRITE_CONFLICT_RETRY")
|
|
150
156
|
SENSITIVE: []
|
|
151
157
|
end
|
|
152
158
|
|
|
@@ -227,6 +233,7 @@ module Aws::BillingConductor
|
|
|
227
233
|
|
|
228
234
|
class CreateTieringInput
|
|
229
235
|
attr_accessor free_tier: Types::CreateFreeTierConfig
|
|
236
|
+
attr_accessor custom_tiers: ::Array[Types::CustomTier]
|
|
230
237
|
SENSITIVE: []
|
|
231
238
|
end
|
|
232
239
|
|
|
@@ -292,6 +299,13 @@ module Aws::BillingConductor
|
|
|
292
299
|
SENSITIVE: [:name, :description]
|
|
293
300
|
end
|
|
294
301
|
|
|
302
|
+
class CustomTier
|
|
303
|
+
attr_accessor begin_range_inclusive: ::Float
|
|
304
|
+
attr_accessor end_range_exclusive: ::Float
|
|
305
|
+
attr_accessor rate_value: ::Float
|
|
306
|
+
SENSITIVE: []
|
|
307
|
+
end
|
|
308
|
+
|
|
295
309
|
class DeleteBillingGroupInput
|
|
296
310
|
attr_accessor arn: ::String
|
|
297
311
|
SENSITIVE: []
|
|
@@ -381,6 +395,18 @@ module Aws::BillingConductor
|
|
|
381
395
|
SENSITIVE: []
|
|
382
396
|
end
|
|
383
397
|
|
|
398
|
+
class GetBillingTransferPreferenceInput
|
|
399
|
+
attr_accessor responsibility_transfer_arn: ::String
|
|
400
|
+
SENSITIVE: []
|
|
401
|
+
end
|
|
402
|
+
|
|
403
|
+
class GetBillingTransferPreferenceOutput
|
|
404
|
+
attr_accessor responsibility_transfer_arn: ::String
|
|
405
|
+
attr_accessor auto_billing_transfer_billing_group_creation: Types::AutoTransferBillingGroupCreationPreference
|
|
406
|
+
attr_accessor last_modified_time: ::Integer
|
|
407
|
+
SENSITIVE: []
|
|
408
|
+
end
|
|
409
|
+
|
|
384
410
|
class InternalServerException
|
|
385
411
|
attr_accessor message: ::String
|
|
386
412
|
attr_accessor retry_after_seconds: ::Integer
|
|
@@ -713,6 +739,7 @@ module Aws::BillingConductor
|
|
|
713
739
|
|
|
714
740
|
class Tiering
|
|
715
741
|
attr_accessor free_tier: Types::FreeTierConfig
|
|
742
|
+
attr_accessor custom_tiers: ::Array[Types::CustomTier]
|
|
716
743
|
SENSITIVE: []
|
|
717
744
|
end
|
|
718
745
|
|
|
@@ -755,6 +782,20 @@ module Aws::BillingConductor
|
|
|
755
782
|
SENSITIVE: [:name, :description]
|
|
756
783
|
end
|
|
757
784
|
|
|
785
|
+
class UpdateBillingTransferPreferenceInput
|
|
786
|
+
attr_accessor client_token: ::String
|
|
787
|
+
attr_accessor responsibility_transfer_arn: ::String
|
|
788
|
+
attr_accessor auto_billing_transfer_billing_group_creation: Types::AutoTransferBillingGroupCreationPreference
|
|
789
|
+
SENSITIVE: []
|
|
790
|
+
end
|
|
791
|
+
|
|
792
|
+
class UpdateBillingTransferPreferenceOutput
|
|
793
|
+
attr_accessor responsibility_transfer_arn: ::String
|
|
794
|
+
attr_accessor auto_billing_transfer_billing_group_creation: Types::AutoTransferBillingGroupCreationPreference
|
|
795
|
+
attr_accessor last_modified_time: ::Integer
|
|
796
|
+
SENSITIVE: []
|
|
797
|
+
end
|
|
798
|
+
|
|
758
799
|
class UpdateCustomLineItemChargeDetails
|
|
759
800
|
attr_accessor flat: Types::UpdateCustomLineItemFlatChargeDetails
|
|
760
801
|
attr_accessor percentage: Types::UpdateCustomLineItemPercentageChargeDetails
|
|
@@ -842,6 +883,7 @@ module Aws::BillingConductor
|
|
|
842
883
|
|
|
843
884
|
class UpdateTieringInput
|
|
844
885
|
attr_accessor free_tier: Types::UpdateFreeTierConfig
|
|
886
|
+
attr_accessor custom_tiers: ::Array[Types::CustomTier]
|
|
845
887
|
SENSITIVE: []
|
|
846
888
|
end
|
|
847
889
|
|