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