list_marketplace_revenue_share_allocations
¶
list_marketplace_revenue_share_allocations(
catalog: CatalogName,
product_id: MarketplaceProductId,
*,
config_overrides: Optional[PartnerCentralRevenueMeasurementClientConfig] = None,
status: Optional[AllocationStatus] = None,
after_effective_from: Optional[AllocationEffectiveDateString] = None,
before_effective_from: Optional[AllocationEffectiveDateString] = None,
sort_by: Optional[MarketplaceRevenueShareAllocationSortField] = None,
sort_order: Optional[SortOrder] = None,
max_results: Optional[int] = None,
next_token: Optional[NextToken] = None,
marketplace_revenue_share_revision: Optional[RevisionToken] = None,
) -> ListMarketplaceRevenueShareAllocationsOutput
Returns a paginated list of allocations under a marketplace revenue share, with optional filtering by status and effective date range. Supports historical reads at a specific share revision.
Parameters:
-
catalog(CatalogName) –The catalog containing the allocations.
-
product_id(MarketplaceProductId) –The AWS Marketplace product identifier for the parent revenue share.
-
status(Optional[AllocationStatus], default:None) –Filter by allocation status.
-
after_effective_from(Optional[AllocationEffectiveDateString], default:None) –Inclusive lower bound for EffectiveFrom date filter.
-
before_effective_from(Optional[AllocationEffectiveDateString], default:None) –Exclusive upper bound for EffectiveFrom date filter (half-open range).
-
sort_by(Optional[MarketplaceRevenueShareAllocationSortField], default:None) –The field to sort marketplace revenue share allocations by.
-
sort_order(Optional[SortOrder], default:None) –The direction to sort results. Defaults to DESCENDING.
-
max_results(Optional[int], default:None) –Maximum number of results per page.
-
next_token(Optional[NextToken], default:None) –Pagination token from a previous response.
-
marketplace_revenue_share_revision(Optional[RevisionToken], default:None) –Optional share revision for historical list. Returns allocations as they existed at this revision.
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 ListMarketplaceRevenueShareAllocations
>>> client.list_marketplace_revenue_share_allocations(catalog='AWS', product_id='prod-abc123def4567')
Source code in docs_src/capo_partnercentral_revenue_measurement/_services/partner_central_revenue_measurement.py
785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 | |