aws-sdk-billingconductor 1.63.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f12c583fcfed16dbac5fbc6c4f34d19b3565a36c8d3db8f90ac9026be75f289c
4
- data.tar.gz: 370e238363f4b3bcc3de71622a672729a432cf8bfcc2940d5936963783f2ef02
3
+ metadata.gz: d0ff3f728f22dc55afba932b275198405ef0c7d91f9d71975f5d9b0c0e4fddee
4
+ data.tar.gz: 94d40520ca3427a37eb3a5601cceaf8dc195de2a7738d77db9ea6695ed8642c2
5
5
  SHA512:
6
- metadata.gz: 9a939493f6d8a8ac3380a6ba713f43309afe1bceb14e61667127d9021a6d3fd4fd77ce572e49de9619032fa1fe43b79cc08892f4d5c1dcb1650512d7805a967a
7
- data.tar.gz: 91024e4a3cdb7df6ddee735e44c8d412fa119e4b0f7d3081e80f35f6e596eb129278c462b419dbc6abca353757ea4bece6a359e5198d1edfbd212959cc10cf89
6
+ metadata.gz: 1db86a083002480c7b8eee7adcd191c381de9549e3ab9a262e77af278c303d0bd24a8fb5b9922370f1088e203962fdec2fe1195684076079c7cdd7a70bd0f736
7
+ data.tar.gz: 95d57150890439cddb8da67fe4a99092723291b0a7e0f171ebf81c054c55b18e325f67a8d2d030a48b7a564f6245a573f2177e230864012f3b0cc61b5557bf6b
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
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
+
4
9
  1.63.0 (2026-09-14)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.63.0
1
+ 1.64.0
@@ -1246,6 +1246,41 @@ module Aws::BillingConductor
1246
1246
  req.send_request(options)
1247
1247
  end
1248
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
+
1249
1284
  # This is a paginated call to list linked accounts that are linked to
1250
1285
  # the payer account for the specified time period. If no information is
1251
1286
  # provided, the current billing period is used. The response will
@@ -2040,6 +2075,69 @@ module Aws::BillingConductor
2040
2075
  req.send_request(options)
2041
2076
  end
2042
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
+
2043
2141
  # Update an existing custom line item in the current or previous billing
2044
2142
  # period.
2045
2143
  #
@@ -2279,7 +2377,7 @@ module Aws::BillingConductor
2279
2377
  tracer: tracer
2280
2378
  )
2281
2379
  context[:gem_name] = 'aws-sdk-billingconductor'
2282
- context[:gem_version] = '1.63.0'
2380
+ context[:gem_version] = '1.64.0'
2283
2381
  Seahorse::Client::Request.new(handlers, context)
2284
2382
  end
2285
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')
@@ -123,6 +124,8 @@ module Aws::BillingConductor
123
124
  FreeTierConfig = Shapes::StructureShape.new(name: 'FreeTierConfig')
124
125
  GetBillingGroupCostReportInput = Shapes::StructureShape.new(name: 'GetBillingGroupCostReportInput')
125
126
  GetBillingGroupCostReportOutput = Shapes::StructureShape.new(name: 'GetBillingGroupCostReportOutput')
127
+ GetBillingTransferPreferenceInput = Shapes::StructureShape.new(name: 'GetBillingTransferPreferenceInput')
128
+ GetBillingTransferPreferenceOutput = Shapes::StructureShape.new(name: 'GetBillingTransferPreferenceOutput')
126
129
  GroupByAttributeName = Shapes::StringShape.new(name: 'GroupByAttributeName')
127
130
  GroupByAttributesList = Shapes::ListShape.new(name: 'GroupByAttributesList')
128
131
  Instant = Shapes::IntegerShape.new(name: 'Instant')
@@ -229,6 +232,8 @@ module Aws::BillingConductor
229
232
  UpdateBillingGroupAccountGrouping = Shapes::StructureShape.new(name: 'UpdateBillingGroupAccountGrouping')
230
233
  UpdateBillingGroupInput = Shapes::StructureShape.new(name: 'UpdateBillingGroupInput')
231
234
  UpdateBillingGroupOutput = Shapes::StructureShape.new(name: 'UpdateBillingGroupOutput')
235
+ UpdateBillingTransferPreferenceInput = Shapes::StructureShape.new(name: 'UpdateBillingTransferPreferenceInput')
236
+ UpdateBillingTransferPreferenceOutput = Shapes::StructureShape.new(name: 'UpdateBillingTransferPreferenceOutput')
232
237
  UpdateCustomLineItemChargeDetails = Shapes::StructureShape.new(name: 'UpdateCustomLineItemChargeDetails')
233
238
  UpdateCustomLineItemFlatChargeDetails = Shapes::StructureShape.new(name: 'UpdateCustomLineItemFlatChargeDetails')
234
239
  UpdateCustomLineItemInput = Shapes::StructureShape.new(name: 'UpdateCustomLineItemInput')
@@ -298,6 +303,10 @@ module Aws::BillingConductor
298
303
 
299
304
  AttributesList.member = Shapes::ShapeRef.new(shape: Attribute)
300
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
+
301
310
  BatchAssociateResourcesToCustomLineItemInput.add_member(:target_arn, Shapes::ShapeRef.new(shape: CustomLineItemArn, required: true, location_name: "TargetArn"))
302
311
  BatchAssociateResourcesToCustomLineItemInput.add_member(:resource_arns, Shapes::ShapeRef.new(shape: CustomLineItemBatchAssociationsList, required: true, location_name: "ResourceArns"))
303
312
  BatchAssociateResourcesToCustomLineItemInput.add_member(:billing_period_range, Shapes::ShapeRef.new(shape: CustomLineItemBillingPeriodRange, location_name: "BillingPeriodRange"))
@@ -563,6 +572,14 @@ module Aws::BillingConductor
563
572
  GetBillingGroupCostReportOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
564
573
  GetBillingGroupCostReportOutput.struct_class = Types::GetBillingGroupCostReportOutput
565
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
+
566
583
  GroupByAttributesList.member = Shapes::ShapeRef.new(shape: GroupByAttributeName)
567
584
 
568
585
  InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Message"))
@@ -865,6 +882,16 @@ module Aws::BillingConductor
865
882
  UpdateBillingGroupOutput.add_member(:account_grouping, Shapes::ShapeRef.new(shape: UpdateBillingGroupAccountGrouping, location_name: "AccountGrouping"))
866
883
  UpdateBillingGroupOutput.struct_class = Types::UpdateBillingGroupOutput
867
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
+
868
895
  UpdateCustomLineItemChargeDetails.add_member(:flat, Shapes::ShapeRef.new(shape: UpdateCustomLineItemFlatChargeDetails, location_name: "Flat"))
869
896
  UpdateCustomLineItemChargeDetails.add_member(:percentage, Shapes::ShapeRef.new(shape: UpdateCustomLineItemPercentageChargeDetails, location_name: "Percentage"))
870
897
  UpdateCustomLineItemChargeDetails.add_member(:line_item_filters, Shapes::ShapeRef.new(shape: LineItemFiltersList, location_name: "LineItemFilters"))
@@ -1172,6 +1199,19 @@ module Aws::BillingConductor
1172
1199
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1173
1200
  end)
1174
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
+
1175
1215
  api.add_operation(:list_account_associations, Seahorse::Model::Operation.new.tap do |o|
1176
1216
  o.name = "ListAccountAssociations"
1177
1217
  o.http_method = "POST"
@@ -1411,6 +1451,20 @@ module Aws::BillingConductor
1411
1451
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1412
1452
  end)
1413
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
+
1414
1468
  api.add_operation(:update_custom_line_item, Seahorse::Model::Operation.new.tap do |o|
1415
1469
  o.name = "UpdateCustomLineItem"
1416
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]
@@ -1421,6 +1448,43 @@ module Aws::BillingConductor
1421
1448
  include Aws::Structure
1422
1449
  end
1423
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
+
1424
1488
  # An unexpected error occurred while processing a request.
1425
1489
  #
1426
1490
  # @!attribute [rw] message
@@ -2805,6 +2869,61 @@ module Aws::BillingConductor
2805
2869
  include Aws::Structure
2806
2870
  end
2807
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
+
2808
2927
  # A representation of the new charge details of a custom line item. This
2809
2928
  # should contain only one of `Flat` or `Percentage`.
2810
2929
  #
@@ -55,7 +55,7 @@ module Aws::BillingConductor
55
55
  autoload :EndpointProvider, 'aws-sdk-billingconductor/endpoint_provider'
56
56
  autoload :Endpoints, 'aws-sdk-billingconductor/endpoints'
57
57
 
58
- GEM_VERSION = '1.63.0'
58
+ GEM_VERSION = '1.64.0'
59
59
 
60
60
  end
61
61
 
data/sig/client.rbs CHANGED
@@ -325,6 +325,18 @@ module Aws
325
325
  ) -> _GetBillingGroupCostReportResponseSuccess
326
326
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetBillingGroupCostReportResponseSuccess
327
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
+
328
340
  interface _ListAccountAssociationsResponseSuccess
329
341
  include ::Seahorse::Client::_ResponseSuccess[Types::ListAccountAssociationsOutput]
330
342
  def linked_accounts: () -> ::Array[Types::AccountAssociationsListElement]
@@ -567,6 +579,23 @@ module Aws
567
579
  ) -> _UpdateBillingGroupResponseSuccess
568
580
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateBillingGroupResponseSuccess
569
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
+
570
599
  interface _UpdateCustomLineItemResponseSuccess
571
600
  include ::Seahorse::Client::_ResponseSuccess[Types::UpdateCustomLineItemOutput]
572
601
  def arn: () -> ::String
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
 
@@ -389,6 +395,18 @@ module Aws::BillingConductor
389
395
  SENSITIVE: []
390
396
  end
391
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
+
392
410
  class InternalServerException
393
411
  attr_accessor message: ::String
394
412
  attr_accessor retry_after_seconds: ::Integer
@@ -764,6 +782,20 @@ module Aws::BillingConductor
764
782
  SENSITIVE: [:name, :description]
765
783
  end
766
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
+
767
799
  class UpdateCustomLineItemChargeDetails
768
800
  attr_accessor flat: Types::UpdateCustomLineItemFlatChargeDetails
769
801
  attr_accessor percentage: Types::UpdateCustomLineItemPercentageChargeDetails
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-billingconductor
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.63.0
4
+ version: 1.64.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services