get_work_unit_results
¶
get_work_unit_results(
query_id: GetWorkUnitResultsRequestQueryIdString,
work_unit_id: GetWorkUnitResultsRequestWorkUnitIdLong,
work_unit_token: SyntheticGetWorkUnitResultsRequestWorkUnitTokenString,
*,
config_overrides: Optional[LakeFormationClientConfig] = None,
) -> Generator[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/lake_formation.py
2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 | |