GetPreferences - AWS Billing and Cost Management

GetPreferences

Returns a set of preferences for an account in order to add account-specific preferences into the service. These preferences impact how the savings associated with recommendations are presented—estimated savings after discounts or estimated savings before discounts, for example.

Response Syntax

{ "memberAccountDiscountVisibility": "string", "savingsEstimationMode": "string" }

Response Elements

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

memberAccountDiscountVisibility

Retrieves the status of the "member account discount visibility" preference.

Type: String

Valid Values: All | None

savingsEstimationMode

Retrieves the status of the "savings estimation mode" preference.

Type: String

Valid Values: BeforeDiscounts | AfterDiscounts

Errors

For information about the errors that are common to all actions, see Common Errors.

AccessDeniedException

You are not authorized to use this operation with the given parameters.

HTTP Status Code: 400

InternalServerException

An error on the server occurred during the processing of your request. Try again later.

HTTP Status Code: 500

ThrottlingException

The request was denied due to request throttling.

HTTP Status Code: 400

ValidationException

The input fails to satisfy the constraints specified by an AWS service.

HTTP Status Code: 400

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: