Class: Aws::Athena::Types::AthenaError
- Inherits:
-
Struct
- Object
- Struct
- Aws::Athena::Types::AthenaError
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-athena/types.rb
Overview
Provides information about an Athena query error. The ‘AthenaError` feature provides standardized error information to help you understand failed queries and take steps after a query failure occurs. `AthenaError` includes an `ErrorCategory` field that specifies whether the cause of the failed query is due to system error, user error, or other error.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#error_category ⇒ Integer
An integer value that specifies the category of a query failure error.
-
#error_message ⇒ String
Contains a short description of the error that occurred.
-
#error_type ⇒ Integer
An integer value that provides specific information about an Athena query error.
-
#retryable ⇒ Boolean
True if the query might succeed if resubmitted.
Instance Attribute Details
#error_category ⇒ Integer
An integer value that specifies the category of a query failure error. The following list shows the category for each integer value.
1 - System
2 - User
3 - Other
104 105 106 107 108 109 110 111 |
# File 'lib/aws-sdk-athena/types.rb', line 104 class AthenaError < Struct.new( :error_category, :error_type, :retryable, :error_message) SENSITIVE = [] include Aws::Structure end |
#error_message ⇒ String
Contains a short description of the error that occurred.
104 105 106 107 108 109 110 111 |
# File 'lib/aws-sdk-athena/types.rb', line 104 class AthenaError < Struct.new( :error_category, :error_type, :retryable, :error_message) SENSITIVE = [] include Aws::Structure end |
#error_type ⇒ Integer
An integer value that provides specific information about an Athena query error. For the meaning of specific values, see the [Error Type Reference] in the *Amazon Athena User Guide*.
[1]: docs.aws.amazon.com/athena/latest/ug/error-reference.html#error-reference-error-type-reference
104 105 106 107 108 109 110 111 |
# File 'lib/aws-sdk-athena/types.rb', line 104 class AthenaError < Struct.new( :error_category, :error_type, :retryable, :error_message) SENSITIVE = [] include Aws::Structure end |
#retryable ⇒ Boolean
True if the query might succeed if resubmitted.
104 105 106 107 108 109 110 111 |
# File 'lib/aws-sdk-athena/types.rb', line 104 class AthenaError < Struct.new( :error_category, :error_type, :retryable, :error_message) SENSITIVE = [] include Aws::Structure end |