get_revenue_attribution_allocation
async
¶
get_revenue_attribution_allocation(
catalog: CatalogName,
revenue_attribution_identifier: RevenueAttributionIdentifier,
revenue_attribution_allocation_id: RevenueAttributionAllocationId,
*,
config_overrides: Optional[
AsyncPartnerCentralRevenueMeasurementClientConfig
] = None,
revenue_attribution_revision: Optional[RevisionToken] = None,
) -> GetRevenueAttributionAllocationOutput
Retrieves a single allocation by its RevenueAttributionAllocationId. Supports optional point-in-time version queries.
Parameters:
-
catalog(CatalogName) –The catalog that contains the resource.
-
revenue_attribution_identifier(RevenueAttributionIdentifier) –The revenue attribution identifier.
-
revenue_attribution_allocation_id(RevenueAttributionAllocationId) –The allocation identifier.
-
revenue_attribution_revision(Optional[RevisionToken], default:None) –Point-in-time revision number to query.
Raises:
-
AccessDeniedException–The request was denied due to insufficient permissions.
-
InternalServerException–An internal server error occurred. Retry your request.
-
ResourceNotFoundException–The specified resource was not found.
-
ThrottlingException–The request was throttled due to too many requests. Retry your request.
-
ValidationException–The request failed validation due to invalid input parameters.
-
UnknownServiceError–The service returned an error code this client does not model.
Examples:
Example for GetRevenueAttributionAllocation
>>> await client.get_revenue_attribution_allocation(catalog='AWS', revenue_attribution_identifier='ra-0a1b2c3d4e5f6', revenue_attribution_allocation_id='alloc-abc123def4567')
Source code in docs_src/capo_partnercentral_revenue_measurement/_services/async_partner_central_revenue_measurement.py
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 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 | |