update_work_group
¶
update_work_group(
work_group: WorkGroupName,
*,
config_overrides: Optional[AthenaClientConfig] = None,
description: Optional[WorkGroupDescriptionString] = None,
configuration_updates: Optional[WorkGroupConfigurationUpdates] = None,
state: Optional[WorkGroupState] = None,
) -> UpdateWorkGroupOutput
Updates the workgroup with the specified name. The workgroup's name cannot be changed. Only ConfigurationUpdates can be specified.
Parameters:
-
work_group(WorkGroupName) –The specified workgroup that will be updated.
-
description(Optional[WorkGroupDescriptionString], default:None) –The workgroup description.
-
configuration_updates(Optional[WorkGroupConfigurationUpdates], default:None) –Contains configuration updates for an Athena SQL workgroup.
-
state(Optional[WorkGroupState], default:None) –The workgroup state that will be updated for the given workgroup.
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.
Source code in docs_src/capo_athena/_services/athena.py
4485 4486 4487 4488 4489 4490 4491 4492 4493 4494 4495 4496 4497 4498 4499 4500 4501 4502 4503 4504 4505 4506 4507 4508 4509 4510 4511 4512 4513 4514 4515 4516 4517 4518 4519 4520 4521 4522 4523 4524 4525 4526 4527 4528 4529 4530 4531 4532 4533 4534 4535 4536 4537 4538 4539 4540 4541 4542 4543 4544 4545 | |