delete_work_group
async
¶
delete_work_group(
work_group: WorkGroupName,
*,
config_overrides: Optional[AsyncAthenaClientConfig] = None,
recursive_delete_option: Optional[BoxedBoolean] = None,
) -> DeleteWorkGroupOutput
Deletes the workgroup with the specified name. The primary workgroup cannot be deleted.
Parameters:
-
work_group(WorkGroupName) –The unique name of the workgroup to delete.
-
recursive_delete_option(Optional[BoxedBoolean], default:None) –The option to delete the workgroup and its contents even if the workgroup contains any named queries, query executions, or notebooks.
Raises:
-
InternalServerException–Indicates a platform issue, which may be due to a transient condition or outage.
-
InvalidRequestException–Indicates that something is wrong with the input to the request. For example, a required parameter may be missing or out of range.
-
UnknownServiceError–The service returned an error code this client does not model.