Subscription
A user's subscription to a plan for an app.
Contents
- appId
-
The ID of the app that the subscription belongs to.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 64.
Pattern:
[A-Za-z0-9_-]+Required: Yes
- billingAnchorDate
-
The fixed reference instant the recurring billing cycle is measured from. It is set when the subscription first takes effect and stays fixed as periods roll forward, so it is normally an older date than the current period — not the start of the current period. For the end of the current cycle, use
currentPeriodEndsAton GetSubscriptionResponse (derived from this anchor and the billing cycle) rather than this value.Type: Timestamp
Required: Yes
- effectiveAt
-
The time when the subscription took effect.
Type: Timestamp
Required: Yes
- userId
-
The opaque end-user identifier that the subscription belongs to.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 128.
Pattern:
[A-Za-z0-9_.~-]+Required: Yes
- billingCycle
-
The billing cycle of the subscription, such as monthly or annual.
Type: String
Valid Values:
MONTHLY | ANNUAL | ONE_TIMERequired: No
- planId
-
The ID of the plan that the user is subscribed to.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 64.
Pattern:
[a-z0-9-]+Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: