update_work_group
async
¶
update_work_group(
work_group: WorkGroupName,
*,
config_overrides: Optional[AsyncAthenaClientConfig] = 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/async_athena.py
4558 4559 4560 4561 4562 4563 4564 4565 4566 4567 4568 4569 4570 4571 4572 4573 4574 4575 4576 4577 4578 4579 4580 4581 4582 4583 4584 4585 4586 4587 4588 4589 4590 4591 4592 4593 4594 4595 4596 4597 4598 4599 4600 4601 4602 4603 4604 4605 4606 4607 4608 4609 4610 4611 4612 4613 4614 4615 4616 4617 4618 4619 | |