2026/09/21 - AWSBillingConductor - 2 new api methods
Changes Launching Auto Billing Transfer Billing Group Creation Preference feature
Retrieves the auto billing group creation preference for a billing transfer.
See also: AWS API Documentation
Request Syntax
client.get_billing_transfer_preference(
ResponsibilityTransferArn='string'
)
string
[REQUIRED]
The Amazon Resource Name (ARN) of the billing transfer whose preference you want to retrieve.
dict
Response Syntax
{
'ResponsibilityTransferArn': 'string',
'AutoBillingTransferBillingGroupCreation': {
'Enabled': True|False,
'PricingPlanArn': 'string'
},
'LastModifiedTime': 123
}
Response Structure
(dict) --
ResponsibilityTransferArn (string) --
The Amazon Resource Name (ARN) of the billing transfer that the preference applies to.
AutoBillingTransferBillingGroupCreation (dict) --
The auto billing group creation preference for the billing transfer.
Enabled (boolean) --
Specifies whether Billing Conductor automatically creates billing groups for the billing transfer. The preference is disabled by default.
PricingPlanArn (string) --
The Amazon Resource Name (ARN) of the pricing plan to apply to the automatically created billing groups. This value is required when Enabled is true, and must be omitted when Enabled is false.
LastModifiedTime (integer) --
The most recent time when the preference was modified. This value is empty if the preference has never been set for the billing transfer.
Sets the auto billing group creation preference for a billing transfer. When the preference is enabled, Billing Conductor automatically creates an indirect billing transfer billing group in your account, with the pricing plan that you specify, for each account that transfers its bill to the bill source account of this billing transfer. The preference applies only to billing groups that are created after you enable it.
Enabling the preference requires the iam:CreateServiceLinkedRole permission. While a pricing plan is specified in an enabled preference, you can't delete that pricing plan.
See also: AWS API Documentation
Request Syntax
client.update_billing_transfer_preference(
ClientToken='string',
ResponsibilityTransferArn='string',
AutoBillingTransferBillingGroupCreation={
'Enabled': True|False,
'PricingPlanArn': 'string'
}
)
string
A unique, case-sensitive identifier that you specify to ensure idempotency of the request. Idempotency ensures that an API request completes no more than one time. With an idempotent request, if the original request completes successfully, any subsequent retries complete successfully without performing any further actions.
This field is autopopulated if not provided.
string
[REQUIRED]
The Amazon Resource Name (ARN) of the billing transfer whose preference you want to set.
dict
[REQUIRED]
The auto billing group creation preference to set for the billing transfer.
Enabled (boolean) -- [REQUIRED]
Specifies whether Billing Conductor automatically creates billing groups for the billing transfer. The preference is disabled by default.
PricingPlanArn (string) --
The Amazon Resource Name (ARN) of the pricing plan to apply to the automatically created billing groups. This value is required when Enabled is true, and must be omitted when Enabled is false.
dict
Response Syntax
{
'ResponsibilityTransferArn': 'string',
'AutoBillingTransferBillingGroupCreation': {
'Enabled': True|False,
'PricingPlanArn': 'string'
},
'LastModifiedTime': 123
}
Response Structure
(dict) --
ResponsibilityTransferArn (string) --
The Amazon Resource Name (ARN) of the billing transfer that the preference applies to.
AutoBillingTransferBillingGroupCreation (dict) --
The updated auto billing group creation preference for the billing transfer.
Enabled (boolean) --
Specifies whether Billing Conductor automatically creates billing groups for the billing transfer. The preference is disabled by default.
PricingPlanArn (string) --
The Amazon Resource Name (ARN) of the pricing plan to apply to the automatically created billing groups. This value is required when Enabled is true, and must be omitted when Enabled is false.
LastModifiedTime (integer) --
The most recent time when the preference was modified.