list_subscriptions
async
¶
list_subscriptions(
app_id: AppId,
scope: RequestScope,
*,
config_overrides: Optional[AsyncAppMonetizationClientConfig] = None,
max_results: Optional[MaxResults] = None,
next_token: Optional[NextToken] = None,
) -> ListSubscriptionsResponse
Returns the subscriptions for an app. We recommend using pagination to ensure that the operation returns quickly and successfully.
Parameters:
-
app_id(AppId) –The ID of the app.
-
max_results(Optional[MaxResults], default:None) –The maximum number of items to return in a single page.
-
next_token(Optional[NextToken], default:None) –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(RequestScope) –Required. The environment: live or sandbox.
Raises:
-
AccessDeniedException–The caller does not have sufficient permission to perform this action.
-
InternalServerException–An unexpected error occurred while processing the request.
-
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
2838 2839 2840 2841 2842 2843 2844 2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 2857 2858 2859 2860 2861 2862 2863 2864 2865 2866 2867 2868 2869 2870 2871 2872 2873 2874 2875 2876 2877 2878 2879 2880 2881 2882 2883 2884 2885 2886 2887 2888 2889 2890 2891 2892 2893 2894 2895 2896 2897 2898 | |