list_benefit_allocations
async
¶
list_benefit_allocations(
catalog: CatalogName,
*,
config_overrides: Optional[AsyncPartnerCentralBenefitsClientConfig] = None,
fulfillment_types: Optional[FulfillmentTypes] = None,
benefit_identifiers: Optional[BenefitIdentifiers] = None,
benefit_application_identifiers: Optional[BenefitApplicationIdentifierList] = None,
status: Optional[BenefitAllocationStatusList] = None,
max_results: Optional[int] = None,
next_token: Optional[str] = None,
) -> ListBenefitAllocationsOutput
Retrieves a paginated list of benefit allocations based on specified filter criteria.
Parameters:
-
catalog(CatalogName) –The catalog identifier to filter benefit allocations by catalog.
-
fulfillment_types(Optional[FulfillmentTypes], default:None) –Filter benefit allocations by specific fulfillment types.
-
benefit_identifiers(Optional[BenefitIdentifiers], default:None) –Filter benefit allocations by specific benefit identifiers.
-
benefit_application_identifiers(Optional[BenefitApplicationIdentifierList], default:None) –Filter benefit allocations by specific benefit application identifiers.
-
status(Optional[BenefitAllocationStatusList], default:None) –Filter benefit allocations by their current status.
-
max_results(Optional[int], default:None) –The maximum number of benefit allocations to return in a single response.
-
next_token(Optional[str], default:None) –A pagination token to retrieve the next set of results from a previous request.
Raises:
-
AccessDeniedException–Thrown when the caller does not have sufficient permissions to perform the requested operation.
-
InternalServerException–Thrown when an unexpected error occurs on the server side during request processing.
-
ResourceNotFoundException–Thrown when the requested resource cannot be found or does not exist.
-
ThrottlingException–Thrown when the request rate exceeds the allowed limits and the request is being throttled.
-
ValidationException–Thrown when the request contains invalid parameters or fails input validation requirements.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_partnercentral_benefits/_services/async_partner_central_benefits.py
733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 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 | |