View a markdown version of this page

RecommendedCreditPack - AWS App Monetization

RecommendedCreditPack

A one-time pack of units of one action.

Contents

actionName

An action's key within the recommendation, used in plans, unitPrices and creditPacks: a name in the request's actions. The developer maps it to the app's metric.

Type: String

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

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

Required: Yes

name

Pack name shown to buyers.

Type: String

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

Pattern: [^\p{C}<>]([^\p{C}<>]*[^\p{C}<>])?

Required: Yes

price

The pack price.

Type: Price object

Required: Yes

quantity

Units in the pack.

Type: Long

Valid Range: Minimum value of 0.

Required: Yes

See Also

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