list_one_time_prices
async
¶
list_one_time_prices(
app_id: AppId,
scope: RequestScope,
*,
config_overrides: Optional[AsyncAppMonetizationClientConfig] = 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/async_app_monetization.py
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 2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 | |