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 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.

Exceptions

  • BillingConductor.Client.exceptions.ThrottlingException

  • BillingConductor.Client.exceptions.AccessDeniedException

  • BillingConductor.Client.exceptions.ValidationException

  • BillingConductor.Client.exceptions.InternalServerException

  • BillingConductor.Client.exceptions.ResourceNotFoundException