get_revenue_attribution_allocation
¶
get_revenue_attribution_allocation(
catalog: CatalogName,
revenue_attribution_identifier: RevenueAttributionIdentifier,
revenue_attribution_allocation_id: RevenueAttributionAllocationId,
*,
config_overrides: Optional[PartnerCentralRevenueMeasurementClientConfig] = 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
>>> 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/partner_central_revenue_measurement.py
1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 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 | |