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 is None.

Return type:

dict[str, Any]

Returns:

https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/athena.html#Athena.Client.get_work_group

Examples

>>> import awswrangler as wr
>>> res = wr.athena.get_work_group(workgroup='workgroup_name')