awswrangler.athena.get_work_group¶
- awswrangler.athena.get_work_group(workgroup: str, boto3_session: Session | None = None) dict[str, Any]¶
Return information about the workgroup with the specified name.
- Parameters:
workgroup (
str) – Work Group name.boto3_session (
Session|None) – The default boto3 session will be used if boto3_session isNone.
- Return type:
dict[str,Any]- Returns:
Examples
>>> import awswrangler as wr >>> res = wr.athena.get_work_group(workgroup='workgroup_name')