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- BillingandCostManagementPricingCalculator.Client.exceptions.ValidationException
- BillingandCostManagementPricingCalculator.Client.exceptions.DataUnavailableException
- BillingandCostManagementPricingCalculator.Client.exceptions.InternalServerException
- BillingandCostManagementPricingCalculator.Client.exceptions.AccessDeniedException
- BillingandCostManagementPricingCalculator.Client.exceptions.ThrottlingException