View a markdown version of this page

OneTimePrice - AWS App Monetization

OneTimePrice

A one-time price for an app: a usage pack a buyer can purchase once to credit a metric.

Contents

appId

The ID of the app the one-time price belongs to.

Type: String

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

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

Required: Yes

definition

The definition of the one-time price, including its display name, price, metric, and credited capacity.

Type: OneTimePriceDefinition object

Required: Yes

oneTimePriceId

The service-assigned ID of the one-time price.

Type: String

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

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

Required: Yes

arn

The Amazon Resource Name (ARN) of the one-time price.

Type: String

Length Constraints: Minimum length of 20. Maximum length of 2048.

Pattern: arn:(aws|aws-cn|aws-us-gov):.+:.+:.+:.+

Required: No

stage

The offering stage the one-time price was read from.

Type: String

Valid Values: DRAFT | PUBLISHED

Required: No

See Also

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