BillingandCostManagementPricingCalculator / Client / get_preferences

get_preferences#

BillingandCostManagementPricingCalculator.Client.get_preferences()#

Retrieves the current preferences for the Amazon Web Services Cost Explorer service.

See also: AWS API Documentation

Request Syntax

response = client.get_preferences()
Return type:

dict

Returns:

Response Syntax

{
    'managementAccountRateTypeSelections': [
        'BEFORE_DISCOUNTS'|'AFTER_DISCOUNTS',
    ],
    'memberAccountRateTypeSelections': [
        'BEFORE_DISCOUNTS'|'AFTER_DISCOUNTS',
    ]
}

Response Structure

  • (dict) –

    • managementAccountRateTypeSelections (list) –

      The preferred rate types for the management account.

      • (string) –

    • memberAccountRateTypeSelections (list) –

      The preferred rate types for member accounts.

      • (string) –

Exceptions