View a markdown version of this page

Amount - Amazon Billing and Cost Management
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Amount

A monetary amount with a currency code. Used throughout the Billing API to represent credit balances, allocations, and adjustments.

Contents

currencyAmount

The amount as a decimal string (for example, "743.21"). Negative values represent credits that reduce a bill.

Type: String

Pattern: [0-9]+(.[0-9]+)

Required: Yes

currencyCode

The ISO 4217 currency code for the amount (for example, USD).

Type: String

Pattern: [A-Z]{3}

Required: Yes

See Also

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