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

Description

Updates an existing Amazon Kendra data source connector.

Synopsis

Creating a Request

data UpdateDataSource Source #

See: newUpdateDataSource smart constructor.

Constructors

UpdateDataSource' 

Fields

Instances

Instances details
ToJSON UpdateDataSource Source # 
Instance details

Defined in Amazonka.Kendra.UpdateDataSource

ToHeaders UpdateDataSource Source # 
Instance details

Defined in Amazonka.Kendra.UpdateDataSource

ToPath UpdateDataSource Source # 
Instance details

Defined in Amazonka.Kendra.UpdateDataSource

ToQuery UpdateDataSource Source # 
Instance details

Defined in Amazonka.Kendra.UpdateDataSource

AWSRequest UpdateDataSource Source # 
Instance details

Defined in Amazonka.Kendra.UpdateDataSource

Associated Types

type AWSResponse UpdateDataSource #

Generic UpdateDataSource Source # 
Instance details

Defined in Amazonka.Kendra.UpdateDataSource

Associated Types

type Rep UpdateDataSource :: Type -> Type #

Read UpdateDataSource Source # 
Instance details

Defined in Amazonka.Kendra.UpdateDataSource

Show UpdateDataSource Source # 
Instance details

Defined in Amazonka.Kendra.UpdateDataSource

NFData UpdateDataSource Source # 
Instance details

Defined in Amazonka.Kendra.UpdateDataSource

Methods

rnf :: UpdateDataSource -> () #

Eq UpdateDataSource Source # 
Instance details

Defined in Amazonka.Kendra.UpdateDataSource

Hashable UpdateDataSource Source # 
Instance details

Defined in Amazonka.Kendra.UpdateDataSource

type AWSResponse UpdateDataSource Source # 
Instance details

Defined in Amazonka.Kendra.UpdateDataSource

type Rep UpdateDataSource Source # 
Instance details

Defined in Amazonka.Kendra.UpdateDataSource

newUpdateDataSource Source #

Create a value of UpdateDataSource 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:configuration:UpdateDataSource', updateDataSource_configuration - Configuration information you want to update for the data source connector.

$sel:customDocumentEnrichmentConfiguration:UpdateDataSource', updateDataSource_customDocumentEnrichmentConfiguration - Configuration information you want to update for altering document metadata and content during the document ingestion process.

For more information on how to create, modify and delete document metadata, or make other content alterations when you ingest documents into Amazon Kendra, see Customizing document metadata during the ingestion process.

$sel:description:UpdateDataSource', updateDataSource_description - A new description for the data source connector.

UpdateDataSource, updateDataSource_languageCode - The code for a language you want to update for the data source connector. This allows you to support a language for all documents when updating the data source. English is supported by default. For more information on supported languages, including their codes, see Adding documents in languages other than English.

UpdateDataSource, updateDataSource_name - A new name for the data source connector.

UpdateDataSource, updateDataSource_roleArn - The Amazon Resource Name (ARN) of a role with permission to access the data source and required resources. For more information, see IAM roles for Amazon Kendra.

$sel:schedule:UpdateDataSource', updateDataSource_schedule - The sync schedule you want to update for the data source connector.

UpdateDataSource, updateDataSource_vpcConfiguration - Configuration information for an Amazon Virtual Private Cloud to connect to your data source. For more information, see Configuring a VPC.

UpdateDataSource, updateDataSource_id - The identifier of the data source connector you want to update.

$sel:indexId:UpdateDataSource', updateDataSource_indexId - The identifier of the index used with the data source connector.

Request Lenses

updateDataSource_configuration :: Lens' UpdateDataSource (Maybe DataSourceConfiguration) Source #

Configuration information you want to update for the data source connector.

updateDataSource_customDocumentEnrichmentConfiguration :: Lens' UpdateDataSource (Maybe CustomDocumentEnrichmentConfiguration) Source #

Configuration information you want to update for altering document metadata and content during the document ingestion process.

For more information on how to create, modify and delete document metadata, or make other content alterations when you ingest documents into Amazon Kendra, see Customizing document metadata during the ingestion process.

updateDataSource_description :: Lens' UpdateDataSource (Maybe Text) Source #

A new description for the data source connector.

updateDataSource_languageCode :: Lens' UpdateDataSource (Maybe Text) Source #

The code for a language you want to update for the data source connector. This allows you to support a language for all documents when updating the data source. English is supported by default. For more information on supported languages, including their codes, see Adding documents in languages other than English.

updateDataSource_name :: Lens' UpdateDataSource (Maybe Text) Source #

A new name for the data source connector.

updateDataSource_roleArn :: Lens' UpdateDataSource (Maybe Text) Source #

The Amazon Resource Name (ARN) of a role with permission to access the data source and required resources. For more information, see IAM roles for Amazon Kendra.

updateDataSource_schedule :: Lens' UpdateDataSource (Maybe Text) Source #

The sync schedule you want to update for the data source connector.

updateDataSource_vpcConfiguration :: Lens' UpdateDataSource (Maybe DataSourceVpcConfiguration) Source #

Configuration information for an Amazon Virtual Private Cloud to connect to your data source. For more information, see Configuring a VPC.

updateDataSource_id :: Lens' UpdateDataSource Text Source #

The identifier of the data source connector you want to update.

updateDataSource_indexId :: Lens' UpdateDataSource Text Source #

The identifier of the index used with the data source connector.

Destructuring the Response

data UpdateDataSourceResponse Source #

See: newUpdateDataSourceResponse smart constructor.

Instances

Instances details
Generic UpdateDataSourceResponse Source # 
Instance details

Defined in Amazonka.Kendra.UpdateDataSource

Associated Types

type Rep UpdateDataSourceResponse :: Type -> Type #

Read UpdateDataSourceResponse Source # 
Instance details

Defined in Amazonka.Kendra.UpdateDataSource

Show UpdateDataSourceResponse Source # 
Instance details

Defined in Amazonka.Kendra.UpdateDataSource

NFData UpdateDataSourceResponse Source # 
Instance details

Defined in Amazonka.Kendra.UpdateDataSource

Eq UpdateDataSourceResponse Source # 
Instance details

Defined in Amazonka.Kendra.UpdateDataSource

type Rep UpdateDataSourceResponse Source # 
Instance details

Defined in Amazonka.Kendra.UpdateDataSource

type Rep UpdateDataSourceResponse = D1 ('MetaData "UpdateDataSourceResponse" "Amazonka.Kendra.UpdateDataSource" "amazonka-kendra-2.0-IHloXAWlYIS8YTp1gXe6J" 'False) (C1 ('MetaCons "UpdateDataSourceResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newUpdateDataSourceResponse :: UpdateDataSourceResponse Source #

Create a value of UpdateDataSourceResponse with all optional fields omitted.

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