BillingandCostManagementPricingCalculator / Client / update_preferences
update_preferences#
- BillingandCostManagementPricingCalculator.Client.update_preferences(**kwargs)#
Updates the preferences for the Amazon Web Services Cost Explorer service.
See also: AWS API Documentation
Request Syntax
response = client.update_preferences( managementAccountRateTypeSelections=[ 'BEFORE_DISCOUNTS'|'AFTER_DISCOUNTS', ], memberAccountRateTypeSelections=[ 'BEFORE_DISCOUNTS'|'AFTER_DISCOUNTS', ] )
- Parameters:
managementAccountRateTypeSelections (list) –
The updated preferred rate types for the management account.
(string) –
memberAccountRateTypeSelections (list) –
The updated preferred rate types for member accounts.
(string) –
- Return type:
dict
- Returns:
Response Syntax
{ 'managementAccountRateTypeSelections': [ 'BEFORE_DISCOUNTS'|'AFTER_DISCOUNTS', ], 'memberAccountRateTypeSelections': [ 'BEFORE_DISCOUNTS'|'AFTER_DISCOUNTS', ] }
Response Structure
(dict) –
managementAccountRateTypeSelections (list) –
The updated preferred rate types for the management account.
(string) –
memberAccountRateTypeSelections (list) –
The updated preferred rate types for member accounts.
(string) –
Exceptions
BillingandCostManagementPricingCalculator.Client.exceptions.ValidationException
BillingandCostManagementPricingCalculator.Client.exceptions.DataUnavailableException
BillingandCostManagementPricingCalculator.Client.exceptions.ServiceQuotaExceededException
BillingandCostManagementPricingCalculator.Client.exceptions.InternalServerException
BillingandCostManagementPricingCalculator.Client.exceptions.AccessDeniedException
BillingandCostManagementPricingCalculator.Client.exceptions.ThrottlingException