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.ConnectionConfiguration

Description

 
Synopsis

Documentation

data ConnectionConfiguration Source #

Provides the configuration information that's required to connect to a database.

See: newConnectionConfiguration smart constructor.

Constructors

ConnectionConfiguration' 

Fields

  • databaseHost :: Text

    The name of the host for the database. Can be either a string (host.subdomain.domain.tld) or an IPv4 or IPv6 address.

  • databasePort :: Natural

    The port that the database uses for connections.

  • databaseName :: Text

    The name of the database containing the document data.

  • tableName :: Text

    The name of the table that contains the document data.

  • secretArn :: Text

    The Amazon Resource Name (ARN) of credentials stored in Secrets Manager. The credentials should be a user/password pair. For more information, see Using a Database Data Source. For more information about Secrets Manager, see What Is Secrets Manager in the Secrets Manager user guide.

Instances

Instances details
FromJSON ConnectionConfiguration Source # 
Instance details

Defined in Amazonka.Kendra.Types.ConnectionConfiguration

ToJSON ConnectionConfiguration Source # 
Instance details

Defined in Amazonka.Kendra.Types.ConnectionConfiguration

Generic ConnectionConfiguration Source # 
Instance details

Defined in Amazonka.Kendra.Types.ConnectionConfiguration

Associated Types

type Rep ConnectionConfiguration :: Type -> Type #

Read ConnectionConfiguration Source # 
Instance details

Defined in Amazonka.Kendra.Types.ConnectionConfiguration

Show ConnectionConfiguration Source # 
Instance details

Defined in Amazonka.Kendra.Types.ConnectionConfiguration

NFData ConnectionConfiguration Source # 
Instance details

Defined in Amazonka.Kendra.Types.ConnectionConfiguration

Methods

rnf :: ConnectionConfiguration -> () #

Eq ConnectionConfiguration Source # 
Instance details

Defined in Amazonka.Kendra.Types.ConnectionConfiguration

Hashable ConnectionConfiguration Source # 
Instance details

Defined in Amazonka.Kendra.Types.ConnectionConfiguration

type Rep ConnectionConfiguration Source # 
Instance details

Defined in Amazonka.Kendra.Types.ConnectionConfiguration

type Rep ConnectionConfiguration = D1 ('MetaData "ConnectionConfiguration" "Amazonka.Kendra.Types.ConnectionConfiguration" "amazonka-kendra-2.0-IHloXAWlYIS8YTp1gXe6J" 'False) (C1 ('MetaCons "ConnectionConfiguration'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "databaseHost") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "databasePort") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Natural)) :*: (S1 ('MetaSel ('Just "databaseName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "tableName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "secretArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

newConnectionConfiguration Source #

Create a value of ConnectionConfiguration 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:databaseHost:ConnectionConfiguration', connectionConfiguration_databaseHost - The name of the host for the database. Can be either a string (host.subdomain.domain.tld) or an IPv4 or IPv6 address.

$sel:databasePort:ConnectionConfiguration', connectionConfiguration_databasePort - The port that the database uses for connections.

$sel:databaseName:ConnectionConfiguration', connectionConfiguration_databaseName - The name of the database containing the document data.

$sel:tableName:ConnectionConfiguration', connectionConfiguration_tableName - The name of the table that contains the document data.

$sel:secretArn:ConnectionConfiguration', connectionConfiguration_secretArn - The Amazon Resource Name (ARN) of credentials stored in Secrets Manager. The credentials should be a user/password pair. For more information, see Using a Database Data Source. For more information about Secrets Manager, see What Is Secrets Manager in the Secrets Manager user guide.

connectionConfiguration_databaseHost :: Lens' ConnectionConfiguration Text Source #

The name of the host for the database. Can be either a string (host.subdomain.domain.tld) or an IPv4 or IPv6 address.

connectionConfiguration_databasePort :: Lens' ConnectionConfiguration Natural Source #

The port that the database uses for connections.

connectionConfiguration_databaseName :: Lens' ConnectionConfiguration Text Source #

The name of the database containing the document data.

connectionConfiguration_tableName :: Lens' ConnectionConfiguration Text Source #

The name of the table that contains the document data.

connectionConfiguration_secretArn :: Lens' ConnectionConfiguration Text Source #

The Amazon Resource Name (ARN) of credentials stored in Secrets Manager. The credentials should be a user/password pair. For more information, see Using a Database Data Source. For more information about Secrets Manager, see What Is Secrets Manager in the Secrets Manager user guide.