get_app_subscription_summary
¶
get_app_subscription_summary(
app_id: AppId,
scope: RequestScope,
*,
config_overrides: Optional[AppMonetizationClientConfig] = 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/app_monetization.py
1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 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 | |