get_work_unit_results
async
¶
get_work_unit_results(
query_id: GetWorkUnitResultsRequestQueryIdString,
work_unit_id: GetWorkUnitResultsRequestWorkUnitIdLong,
work_unit_token: SyntheticGetWorkUnitResultsRequestWorkUnitTokenString,
*,
config_overrides: Optional[AsyncLakeFormationClientConfig] = None,
) -> AsyncGenerator[GetWorkUnitResultsResponse]
Returns the work units resulting from the query. Work units can be executed in any order and in parallel.
Parameters:
-
query_id(GetWorkUnitResultsRequestQueryIdString) –The ID of the plan query operation for which to get results.
-
work_unit_id(GetWorkUnitResultsRequestWorkUnitIdLong) –The work unit ID for which to get results. Value generated by enumerating
WorkUnitIdMintoWorkUnitIdMax(inclusive) from theWorkUnitRangein the output ofGetWorkUnits. -
work_unit_token(SyntheticGetWorkUnitResultsRequestWorkUnitTokenString) –A work token used to query the execution service. Token output from
GetWorkUnits.
Raises:
-
AccessDeniedException–Access to a resource was denied.
-
ExpiredException–Contains details about an error where the query request expired.
-
InternalServiceException–An internal service error occurred.
-
InvalidInputException–The input provided was not valid.
-
ThrottledException–Contains details about an error where the query request was throttled.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_lakeformation/_services/async_lake_formation.py
2783 2784 2785 2786 2787 2788 2789 2790 2791 2792 2793 2794 2795 2796 2797 2798 2799 2800 2801 2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 2840 2841 2842 2843 2844 2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 2857 2858 2859 2860 2861 2862 2863 2864 2865 | |