Skip to content

GetPlanRequest

Source code in docs_src/capo_appmonetization/types/get_plan_request.py
class GetPlanRequest(TypedDict, closed=True):
    app_id: "capo_appmonetization.types.app_id.AppId"
    """The ID of the app."""
    plan_id: "capo_appmonetization.types.plan_id.PlanId"
    """The identifier of the plan. AWS App Monetization generates this value when you create the plan. It is unique within the app and is never reused. Treat it as opaque."""
    stage: NotRequired["capo_appmonetization.types.plan_stage.PlanStage"]
    """The offering stage to read the plan from: DRAFT (the latest draft) or PUBLISHED (the offering customers see). Absent: PUBLISHED when scope=live, DRAFT when scope=sandbox."""
    scope: "capo_appmonetization.types.request_scope.RequestScope"
    """Required. The environment: live or sandbox. live reads the published offering by default; sandbox reads the app's draft (what the sandbox runs)."""

app_id instance-attribute

app_id: AppId

The ID of the app.

plan_id instance-attribute

plan_id: PlanId

The identifier of the plan. AWS App Monetization generates this value when you create the plan. It is unique within the app and is never reused. Treat it as opaque.

scope instance-attribute

scope: RequestScope

Required. The environment: live or sandbox. live reads the published offering by default; sandbox reads the app's draft (what the sandbox runs).

stage instance-attribute

stage: NotRequired[PlanStage]

The offering stage to read the plan from: DRAFT (the latest draft) or PUBLISHED (the offering customers see). Absent: PUBLISHED when scope=live, DRAFT when scope=sandbox.