ProtectedQueryError
¶
Source code in docs_src/capo_cleanrooms/types/protected_query_error.py
code
instance-attribute
¶
code: str
A code that identifies the category of the failure. Valid values are:
-
MALFORMED_QUERY– The query is not valid (syntax, semantics, columns, or an unsupported operation). -
RESOURCE_NOT_FOUND– A referenced resource doesn't exist. -
INVALID_RESOURCE– A referenced resource exists, but you can't use it because its configuration, state, or data is not valid. -
RESOURCE_ACCESS_DENIED– A required permission is missing for a data source or resource. -
INSUFFICIENT_COMPUTE– The query exceeded the available compute (memory, disk, or time). -
TRANSIENT_ERROR– A temporary condition caused the failure, such as throttling or a network interruption. -
INTERNAL_ERROR– Clean Rooms encountered an unexpected error. If the error persists, contact AWS Support. -
UNKNOWN_ERROR– The failure couldn't be classified.
For more information about error codes, see https://docs.aws.amazon.com/clean-rooms/latest/userguide/error-codes.html in the Clean Rooms User Guide.