:doc:`BillingandCostManagementPricingCalculator <../../bcm-pricing-calculator>` / Client / get_preferences

***************
get_preferences
***************



.. py:method:: BillingandCostManagementPricingCalculator.Client.get_preferences()

  

  Retrieves the current preferences for Pricing Calculator.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/bcm-pricing-calculator-2024-06-19/GetPreferences>`_  


  **Request Syntax**
  ::

    response = client.get_preferences()
    
    
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {
          'managementAccountRateTypeSelections': [
              'BEFORE_DISCOUNTS'|'AFTER_DISCOUNTS'|'AFTER_DISCOUNTS_AND_COMMITMENTS',
          ],
          'memberAccountRateTypeSelections': [
              'BEFORE_DISCOUNTS'|'AFTER_DISCOUNTS'|'AFTER_DISCOUNTS_AND_COMMITMENTS',
          ],
          'standaloneAccountRateTypeSelections': [
              'BEFORE_DISCOUNTS'|'AFTER_DISCOUNTS'|'AFTER_DISCOUNTS_AND_COMMITMENTS',
          ]
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **managementAccountRateTypeSelections** *(list) --* 

        The preferred rate types for the management account.

        
        

        - *(string) --* 
    
      

      - **memberAccountRateTypeSelections** *(list) --* 

        The preferred rate types for member accounts.

        
        

        - *(string) --* 
    
      

      - **standaloneAccountRateTypeSelections** *(list) --* 

        The preferred rate types for a standalone account.

        
        

        - *(string) --* 
    
  
  **Exceptions**
  
  *   :py:class:`BillingandCostManagementPricingCalculator.Client.exceptions.ValidationException`

  
  *   :py:class:`BillingandCostManagementPricingCalculator.Client.exceptions.DataUnavailableException`

  
  *   :py:class:`BillingandCostManagementPricingCalculator.Client.exceptions.InternalServerException`

  
  *   :py:class:`BillingandCostManagementPricingCalculator.Client.exceptions.AccessDeniedException`

  
  *   :py:class:`BillingandCostManagementPricingCalculator.Client.exceptions.ThrottlingException`

  