View a markdown version of this page

OneTimePriceDefinition - AWS App Monetization

OneTimePriceDefinition

The definition of a one-time price, including its display name, price, and the metric capacity each purchase credits.

Contents

capacity

The units of metricId one purchase credits.

Type: Long

Valid Range: Minimum value of 0.

Required: Yes

metricId

The metric one purchase credits.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 64.

Pattern: [A-Za-z0-9_-]+

Required: Yes

name

A human-readable display name for the one-time price.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 256.

Required: Yes

price

The amount and currency charged for one purchase of the one-time price.

Type: Price object

Required: Yes

See Also

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