BillingConductor / Client / get_billing_transfer_preference
get_billing_transfer_preference¶
- BillingConductor.Client.get_billing_transfer_preference(**kwargs)¶
Retrieves the auto billing group creation preference for a billing transfer.
See also: AWS API Documentation
Request Syntax
response = client.get_billing_transfer_preference( ResponsibilityTransferArn='string' )
- Parameters:
ResponsibilityTransferArn (string) –
[REQUIRED]
The Amazon Resource Name (ARN) of the billing transfer whose preference you want to retrieve.
- Return type:
dict
- Returns:
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
Enabledistrue, and must be omitted whenEnabledisfalse.
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.
Exceptions
BillingConductor.Client.exceptions.ThrottlingExceptionBillingConductor.Client.exceptions.AccessDeniedExceptionBillingConductor.Client.exceptions.ValidationExceptionBillingConductor.Client.exceptions.InternalServerExceptionBillingConductor.Client.exceptions.ResourceNotFoundException