Skip to content

UnprocessedPreparedStatementName

Source code in docs_src/capo_athena/types/unprocessed_prepared_statement_name.py
class UnprocessedPreparedStatementName(TypedDict, closed=True):
    statement_name: NotRequired["capo_athena.types.statement_name.StatementName"]
    """<p>The name of a prepared statement that could not be returned due to an error.</p>"""
    error_code: NotRequired["capo_athena.types.error_code.ErrorCode"]
    """<p>The error code returned when the request for the prepared statement failed.</p>"""
    error_message: NotRequired["capo_athena.types.error_message.ErrorMessage"]
    """<p>The error message containing the reason why the prepared statement could not be returned. The following error messages are possible:</p> <ul> <li> <p> <code>INVALID_INPUT</code> - The name of the prepared statement that was provided is not valid (for example, the name is too long).</p> </li> <li> <p> <code>STATEMENT_NOT_FOUND</code> - A prepared statement with the name provided could not be found.</p> </li> <li> <p> <code>UNAUTHORIZED</code> - The requester does not have permission to access the workgroup that contains the prepared statement.</p> </li> </ul>"""

error_code instance-attribute

error_code: NotRequired[ErrorCode]

The error code returned when the request for the prepared statement failed.

error_message instance-attribute

error_message: NotRequired[ErrorMessage]

The error message containing the reason why the prepared statement could not be returned. The following error messages are possible:

  • INVALID_INPUT - The name of the prepared statement that was provided is not valid (for example, the name is too long).

  • STATEMENT_NOT_FOUND - A prepared statement with the name provided could not be found.

  • UNAUTHORIZED - The requester does not have permission to access the workgroup that contains the prepared statement.

statement_name instance-attribute

statement_name: NotRequired[StatementName]

The name of a prepared statement that could not be returned due to an error.