update_named_query
async
¶
update_named_query(
named_query_id: NamedQueryId,
name: NameString,
query_string: QueryString,
*,
config_overrides: Optional[AsyncAthenaClientConfig] = None,
description: Optional[NamedQueryDescriptionString] = None,
) -> UpdateNamedQueryOutput
Updates a NamedQuery object. The database or workgroup cannot be updated.
Parameters:
-
named_query_id(NamedQueryId) –The unique identifier (UUID) of the query.
-
name(NameString) –The name of the query.
-
description(Optional[NamedQueryDescriptionString], default:None) –The query description.
-
query_string(QueryString) –The contents of the query with all query statements.
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.