v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-141713478.8 KB

Retrieves billing preferences for the specified feature. Each feature controls a distinct billing capability: which accounts can share Reserved Instances or credits, whether billing alerts are enabled, the historical record of sharing changes, and per-credit options.

post/#X-Amz-Target=AWSBilling.GetBillingPreferences

Headers

X-Amz-Target'AWSBilling.GetBillingPreferences' required

Request body

nextTokenstring

Pagination token from a previous response. Pass the value returned in <code>nextToken</code> to retrieve the next page of results.

maxResultsinteger

The maximum number of records to return per page. Range: 1 to 50. Default: 50.

featuresBillingFeature[] required

The feature to retrieve. Specify exactly one value. Valid values: <code>BILLING_ALERTS</code>, <code>RI_SHARING</code>, <code>RI_SHARING_HISTORY</code>, <code>CREDIT_SHARING</code>, <code>CREDIT_SHARING_HISTORY</code>, <code>CREDIT_LEVEL_SHARING</code>, <code>CREDIT_PREFERENCE_OPTIONS</code>.

Response

Success

nextTokenstring

Pagination token. Present when more pages are available; <code>null</code> when there are no more results.