awswrangler.athena.get_work_group

awswrangler.athena.get_work_group(workgroup: str, boto3_session: Optional[boto3.session.Session] = 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

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

Return type

Dict[str, Any]

Examples

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