View a markdown version of this page

RecommendedPlan - AWS App Monetization

RecommendedPlan

One recommended plan.

Contents

billingCycle

How often the plan bills, as in CreatePlan's definition.billingCycle.

Type: String

Valid Values: MONTHLY | ANNUAL | ONE_TIME

Required: Yes

downgradePlanCodes

Plan codes a subscriber can downgrade to, cheapest first.

Type: Array of strings

Array Members: Minimum number of 0 items. Maximum number of 10 items.

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

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

Required: Yes

includedQuotas

Units included per action, with what happens past them.

Type: Array of RecommendedQuota objects

Array Members: Minimum number of 0 items. Maximum number of 10 items.

Required: Yes

name

Plan name shown to buyers, for example Pro or Annual.

Type: String

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

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

Required: Yes

planCode

This plan's key within the recommendation, for example pro. The request's planOptions.planPrices, and this plan's upgradePlanCodes and downgradePlanCodes, refer to plans by it. It is not a PlanId: CreatePlan assigns the PlanId when the plan is created.

Type: String

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

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

Required: Yes

price

Subscription price per billing cycle.

Type: Price object

Required: Yes

upgradePlanCodes

Plan codes a subscriber can upgrade to, cheapest first.

Type: Array of strings

Array Members: Minimum number of 0 items. Maximum number of 10 items.

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

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

Required: Yes

See Also

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