Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Updates an existing Amazon Kendra data source connector.
Synopsis
- data UpdateDataSource = UpdateDataSource' {
- configuration :: Maybe DataSourceConfiguration
- customDocumentEnrichmentConfiguration :: Maybe CustomDocumentEnrichmentConfiguration
- description :: Maybe Text
- languageCode :: Maybe Text
- name :: Maybe Text
- roleArn :: Maybe Text
- schedule :: Maybe Text
- vpcConfiguration :: Maybe DataSourceVpcConfiguration
- id :: Text
- indexId :: Text
- newUpdateDataSource :: Text -> Text -> UpdateDataSource
- updateDataSource_configuration :: Lens' UpdateDataSource (Maybe DataSourceConfiguration)
- updateDataSource_customDocumentEnrichmentConfiguration :: Lens' UpdateDataSource (Maybe CustomDocumentEnrichmentConfiguration)
- updateDataSource_description :: Lens' UpdateDataSource (Maybe Text)
- updateDataSource_languageCode :: Lens' UpdateDataSource (Maybe Text)
- updateDataSource_name :: Lens' UpdateDataSource (Maybe Text)
- updateDataSource_roleArn :: Lens' UpdateDataSource (Maybe Text)
- updateDataSource_schedule :: Lens' UpdateDataSource (Maybe Text)
- updateDataSource_vpcConfiguration :: Lens' UpdateDataSource (Maybe DataSourceVpcConfiguration)
- updateDataSource_id :: Lens' UpdateDataSource Text
- updateDataSource_indexId :: Lens' UpdateDataSource Text
- data UpdateDataSourceResponse = UpdateDataSourceResponse' {
- newUpdateDataSourceResponse :: UpdateDataSourceResponse
Creating a Request
data UpdateDataSource Source #
See: newUpdateDataSource
smart constructor.
UpdateDataSource' | |
|
Instances
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
Generic UpdateDataSourceResponse Source # | |
Defined in Amazonka.Kendra.UpdateDataSource type Rep UpdateDataSourceResponse :: Type -> Type # | |
Read UpdateDataSourceResponse Source # | |
Show UpdateDataSourceResponse Source # | |
Defined in Amazonka.Kendra.UpdateDataSource showsPrec :: Int -> UpdateDataSourceResponse -> ShowS # show :: UpdateDataSourceResponse -> String # showList :: [UpdateDataSourceResponse] -> ShowS # | |
NFData UpdateDataSourceResponse Source # | |
Defined in Amazonka.Kendra.UpdateDataSource rnf :: UpdateDataSourceResponse -> () # | |
Eq UpdateDataSourceResponse Source # | |
Defined in Amazonka.Kendra.UpdateDataSource | |
type Rep UpdateDataSourceResponse Source # | |
newUpdateDataSourceResponse :: UpdateDataSourceResponse Source #
Create a value of UpdateDataSourceResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.