You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::Kendra::Types::SqlConfiguration

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing SqlConfiguration as input to an Aws::Client method, you can use a vanilla Hash:

{
  query_identifiers_enclosing_option: "DOUBLE_QUOTES", # accepts DOUBLE_QUOTES, NONE
}

Provides information that configures Amazon Kendra to use a SQL database.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#query_identifiers_enclosing_optionString

Determines whether Amazon Kendra encloses SQL identifiers for tables and column names in double quotes (\") when making a database query.

By default, Amazon Kendra passes SQL identifiers the way that they are entered into the data source configuration. It does not change the case of identifiers or enclose them in quotes.

PostgreSQL internally converts uppercase characters to lower case characters in identifiers unless they are quoted. Choosing this option encloses identifiers in quotes so that PostgreSQL does not convert the character\'s case.

For MySQL databases, you must enable the ansi_quotes option when you set this field to DOUBLE_QUOTES.

Possible values:

  • DOUBLE_QUOTES
  • NONE

Returns:

  • (String)

    Determines whether Amazon Kendra encloses SQL identifiers for tables and column names in double quotes (\") when making a database query.