list_one_time_prices
¶
list_one_time_prices(
app_id: AppId,
scope: RequestScope,
*,
config_overrides: Optional[AppMonetizationClientConfig] = None,
stage: Optional[PlanStage] = None,
max_results: Optional[int] = None,
next_token: Optional[str] = None,
) -> ListOneTimePricesResponse
Lists the one-time prices for an app. Returns a paginated list; use the nextToken value to retrieve additional pages.
Parameters:
-
app_id(AppId) –The ID of the app whose one-time prices are listed.
-
stage(Optional[PlanStage], default:None) –The offering stage to list one-time prices from: DRAFT (the latest authored draft) or PUBLISHED (the published offering customers see). Absent: PUBLISHED when scope=live, DRAFT when scope=sandbox.
-
max_results(Optional[int], default:None) –The maximum number of one-time prices to return in a single call. To retrieve the remaining results, make another call with the nextToken value that is returned in the response.
-
next_token(Optional[str], default:None) –The pagination token that is returned by a previous call. Use it to retrieve the next page of results. Omit this parameter on the first call.
-
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).
Raises:
-
AccessDeniedException–The caller does not have sufficient permission to perform this action.
-
InternalServerException–An unexpected error occurred while processing the request.
-
ResourceNotFoundException–The referenced resource does not exist.
-
ThrottlingException–The request was denied due to request throttling.
-
ValidationException–The request failed input validation.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_appmonetization/_services/app_monetization.py
2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 2677 2678 2679 2680 2681 | |