Athena / Client / delete_work_group
delete_work_group#
- Athena.Client.delete_work_group(**kwargs)#
Deletes the workgroup with the specified name. The primary workgroup cannot be deleted.
See also: AWS API Documentation
Request Syntax
response = client.delete_work_group( WorkGroup='string', RecursiveDeleteOption=True|False )
- Parameters:
WorkGroup (string) –
[REQUIRED]
The unique name of the workgroup to delete.
RecursiveDeleteOption (boolean) – The option to delete the workgroup and its contents even if the workgroup contains any named queries, query executions, or notebooks.
- Return type:
dict
- Returns:
Response Syntax
{}
Response Structure
(dict) –
Exceptions
Athena.Client.exceptions.InternalServerException
Athena.Client.exceptions.InvalidRequestException