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
4892 4893 4894 4895 4896 4897 4898 4899 4900 4901 4902 4903 4904 4905 4906 4907 4908 4909 4910 4911 4912 4913 4914 4915 4916 4917 4918 4919 4920 4921 4922 4923 4924 4925 4926 4927 4928 4929 4930 4931 4932 4933 4934 4935 4936 4937 4938 4939 4940 4941 4942 4943 4944 4945 4946 4947 4948 4949 4950 4951 4952 | |