get_app_subscription_summary
async
¶
get_app_subscription_summary(
app_id: AppId,
scope: RequestScope,
*,
config_overrides: Optional[AsyncAppMonetizationClientConfig] = None,
group_by: Optional[SubscriptionSummaryDimension] = None,
filter_by: Optional[SubscriptionSummaryFilterBy] = None,
) -> GetAppSubscriptionSummaryResponse
Returns subscription counts for an app, grouped by status (the default) or by plan. The summary contains no subscriber personally identifiable information.
Parameters:
-
app_id(AppId) –The ID of the app.
-
group_by(Optional[SubscriptionSummaryDimension], default:None) –The breakdown dimension. Defaults to STATUS when omitted.
-
filter_by(Optional[SubscriptionSummaryFilterBy], default:None) –Filter constraints keyed by dimension. A filter dimension may differ from groupBy.
-
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.
-
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
1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 | |