amazonka-kendra-2.0: Amazon KendraFrontendService SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Kendra.Types.SqlConfiguration

Description

 
Synopsis

Documentation

data SqlConfiguration Source #

Provides the configuration information to use a SQL database.

See: newSqlConfiguration smart constructor.

Constructors

SqlConfiguration' 

Fields

  • queryIdentifiersEnclosingOption :: Maybe QueryIdentifiersEnclosingOption

    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.

Instances

Instances details
FromJSON SqlConfiguration Source # 
Instance details

Defined in Amazonka.Kendra.Types.SqlConfiguration

ToJSON SqlConfiguration Source # 
Instance details

Defined in Amazonka.Kendra.Types.SqlConfiguration

Generic SqlConfiguration Source # 
Instance details

Defined in Amazonka.Kendra.Types.SqlConfiguration

Associated Types

type Rep SqlConfiguration :: Type -> Type #

Read SqlConfiguration Source # 
Instance details

Defined in Amazonka.Kendra.Types.SqlConfiguration

Show SqlConfiguration Source # 
Instance details

Defined in Amazonka.Kendra.Types.SqlConfiguration

NFData SqlConfiguration Source # 
Instance details

Defined in Amazonka.Kendra.Types.SqlConfiguration

Methods

rnf :: SqlConfiguration -> () #

Eq SqlConfiguration Source # 
Instance details

Defined in Amazonka.Kendra.Types.SqlConfiguration

Hashable SqlConfiguration Source # 
Instance details

Defined in Amazonka.Kendra.Types.SqlConfiguration

type Rep SqlConfiguration Source # 
Instance details

Defined in Amazonka.Kendra.Types.SqlConfiguration

type Rep SqlConfiguration = D1 ('MetaData "SqlConfiguration" "Amazonka.Kendra.Types.SqlConfiguration" "amazonka-kendra-2.0-IHloXAWlYIS8YTp1gXe6J" 'False) (C1 ('MetaCons "SqlConfiguration'" 'PrefixI 'True) (S1 ('MetaSel ('Just "queryIdentifiersEnclosingOption") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe QueryIdentifiersEnclosingOption))))

newSqlConfiguration :: SqlConfiguration Source #

Create a value of SqlConfiguration with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:queryIdentifiersEnclosingOption:SqlConfiguration', sqlConfiguration_queryIdentifiersEnclosingOption - 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.

sqlConfiguration_queryIdentifiersEnclosingOption :: Lens' SqlConfiguration (Maybe QueryIdentifiersEnclosingOption) Source #

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.