Skip to content

ListPlansRequest

Source code in docs_src/capo_appmonetization/types/list_plans_request.py
class ListPlansRequest(TypedDict, closed=True):
    app_id: "capo_appmonetization.types.app_id.AppId"
    """The ID of the app."""
    stage: NotRequired["capo_appmonetization.types.plan_stage.PlanStage"]
    """Which offering stage to list plans from: DRAFT (the latest authored draft) or PUBLISHED (the published offering customers see). Absent: PUBLISHED when scope=live, DRAFT when scope=sandbox. A stage with nothing published yet lists as empty."""
    max_results: NotRequired["capo_appmonetization.types.max_results.MaxResults"]
    """The maximum number of items to return in a single page. Valid range is 1 to 100."""
    next_token: NotRequired["capo_appmonetization.types.next_token.NextToken"]
    """An opaque pagination token. Pass the value returned in a response back on the next request to retrieve the following page; absent when there are no more results."""
    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.

max_results instance-attribute

max_results: NotRequired[MaxResults]

The maximum number of items to return in a single page. Valid range is 1 to 100.

next_token instance-attribute

next_token: NotRequired[NextToken]

An opaque pagination token. Pass the value returned in a response back on the next request to retrieve the following page; absent when there are no more results.

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]

Which offering stage to list plans from: DRAFT (the latest authored draft) or PUBLISHED (the published offering customers see). Absent: PUBLISHED when scope=live, DRAFT when scope=sandbox. A stage with nothing published yet lists as empty.