update_prepared_statement
async
¶
update_prepared_statement(
statement_name: StatementName,
work_group: WorkGroupName,
query_statement: QueryString,
*,
config_overrides: Optional[AsyncAthenaClientConfig] = None,
description: Optional[DescriptionString] = None,
) -> UpdatePreparedStatementOutput
Updates a prepared statement.
Parameters:
-
statement_name(StatementName) –The name of the prepared statement.
-
work_group(WorkGroupName) –The workgroup for the prepared statement.
-
query_statement(QueryString) –The query string for the prepared statement.
-
description(Optional[DescriptionString], default:None) –The description of the prepared statement.
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.
-
ResourceNotFoundException–A resource, such as a workgroup, was not found.
-
UnknownServiceError–The service returned an error code this client does not model.