Class: Aws::Athena::Types::UnprocessedPreparedStatementName

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-athena/types.rb

Overview

The name of a prepared statement that could not be returned.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#error_codeString

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

Returns:

  • (String)


4692
4693
4694
4695
4696
4697
4698
# File 'lib/aws-sdk-athena/types.rb', line 4692

class UnprocessedPreparedStatementName < Struct.new(
  :statement_name,
  :error_code,
  :error_message)
  SENSITIVE = []
  include Aws::Structure
end

#error_messageString

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.

Returns:

  • (String)


4692
4693
4694
4695
4696
4697
4698
# File 'lib/aws-sdk-athena/types.rb', line 4692

class UnprocessedPreparedStatementName < Struct.new(
  :statement_name,
  :error_code,
  :error_message)
  SENSITIVE = []
  include Aws::Structure
end

#statement_nameString

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

Returns:

  • (String)


4692
4693
4694
4695
4696
4697
4698
# File 'lib/aws-sdk-athena/types.rb', line 4692

class UnprocessedPreparedStatementName < Struct.new(
  :statement_name,
  :error_code,
  :error_message)
  SENSITIVE = []
  include Aws::Structure
end