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 (boto3.Session(), optional) – Boto3 Session. The default boto3 session will be used if boto3_session receive None.
- Returns:
- Return type:
Dict[str, Any]
Examples
>>> import awswrangler as wr >>> res = wr.athena.get_work_group(workgroup='workgroup_name')