list_marketplace_revenue_share_allocations
async
¶
list_marketplace_revenue_share_allocations(
catalog: CatalogName,
*,
config_overrides: Optional[
AsyncPartnerCentralRevenueMeasurementClientConfig
] = None,
marketplace_revenue_share_identifier: Optional[
MarketplaceRevenueShareIdentifier
] = None,
status_filter: Optional[AllocationStatus] = None,
after_effective_from: Optional[AllocationEffectiveDateString] = None,
before_effective_from: Optional[AllocationEffectiveDateString] = None,
after_effective_until: Optional[AllocationEffectiveDateString] = None,
before_effective_until: 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.
-
marketplace_revenue_share_identifier(Optional[MarketplaceRevenueShareIdentifier], default:None) –The parent marketplace revenue share, by ID (mrs-...) or ARN.
-
status_filter(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).
-
after_effective_until(Optional[AllocationEffectiveDateString], default:None) –Inclusive lower bound for EffectiveUntil date filter.
-
before_effective_until(Optional[AllocationEffectiveDateString], default:None) –Exclusive upper bound for EffectiveUntil 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 ASCENDING.
-
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
>>> await client.list_marketplace_revenue_share_allocations(catalog='AWS', marketplace_revenue_share_identifier='mrs-abc123def4567', status_filter='ACTIVE')
Source code in docs_src/capo_partnercentral_revenue_measurement/_services/async_partner_central_revenue_measurement.py
982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 | |