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

Description

 
Synopsis

Documentation

data OneDriveConfiguration Source #

Provides the configuration information to connect to OneDrive as your data source.

See: newOneDriveConfiguration smart constructor.

Constructors

OneDriveConfiguration' 

Fields

  • disableLocalGroups :: Maybe Bool

    TRUE to disable local groups information.

  • exclusionPatterns :: Maybe [Text]

    A list of regular expression patterns to exclude certain documents in your OneDrive. Documents that match the patterns are excluded from the index. Documents that don't match the patterns are included in the index. If a document matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the document isn't included in the index.

    The pattern is applied to the file name.

  • fieldMappings :: Maybe (NonEmpty DataSourceToIndexFieldMapping)

    A list of DataSourceToIndexFieldMapping objects that map OneDrive data source attributes or field names to Amazon Kendra index field names. To create custom fields, use the UpdateIndex API before you map to OneDrive fields. For more information, see Mapping data source fields. The OneDrive data source field names must exist in your OneDrive custom metadata.

  • inclusionPatterns :: Maybe [Text]

    A list of regular expression patterns to include certain documents in your OneDrive. Documents that match the patterns are included in the index. Documents that don't match the patterns are excluded from the index. If a document matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the document isn't included in the index.

    The pattern is applied to the file name.

  • tenantDomain :: Text

    The Azure Active Directory domain of the organization.

  • secretArn :: Text

    The Amazon Resource Name (ARN) of an Secrets Managersecret that contains the user name and password to connect to OneDrive. The user namd should be the application ID for the OneDrive application, and the password is the application key for the OneDrive application.

  • oneDriveUsers :: OneDriveUsers

    A list of user accounts whose documents should be indexed.

Instances

Instances details
FromJSON OneDriveConfiguration Source # 
Instance details

Defined in Amazonka.Kendra.Types.OneDriveConfiguration

ToJSON OneDriveConfiguration Source # 
Instance details

Defined in Amazonka.Kendra.Types.OneDriveConfiguration

Generic OneDriveConfiguration Source # 
Instance details

Defined in Amazonka.Kendra.Types.OneDriveConfiguration

Associated Types

type Rep OneDriveConfiguration :: Type -> Type #

Read OneDriveConfiguration Source # 
Instance details

Defined in Amazonka.Kendra.Types.OneDriveConfiguration

Show OneDriveConfiguration Source # 
Instance details

Defined in Amazonka.Kendra.Types.OneDriveConfiguration

NFData OneDriveConfiguration Source # 
Instance details

Defined in Amazonka.Kendra.Types.OneDriveConfiguration

Methods

rnf :: OneDriveConfiguration -> () #

Eq OneDriveConfiguration Source # 
Instance details

Defined in Amazonka.Kendra.Types.OneDriveConfiguration

Hashable OneDriveConfiguration Source # 
Instance details

Defined in Amazonka.Kendra.Types.OneDriveConfiguration

type Rep OneDriveConfiguration Source # 
Instance details

Defined in Amazonka.Kendra.Types.OneDriveConfiguration

type Rep OneDriveConfiguration = D1 ('MetaData "OneDriveConfiguration" "Amazonka.Kendra.Types.OneDriveConfiguration" "amazonka-kendra-2.0-IHloXAWlYIS8YTp1gXe6J" 'False) (C1 ('MetaCons "OneDriveConfiguration'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "disableLocalGroups") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "exclusionPatterns") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "fieldMappings") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty DataSourceToIndexFieldMapping))))) :*: ((S1 ('MetaSel ('Just "inclusionPatterns") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "tenantDomain") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "secretArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "oneDriveUsers") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 OneDriveUsers)))))

newOneDriveConfiguration Source #

Create a value of OneDriveConfiguration 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:disableLocalGroups:OneDriveConfiguration', oneDriveConfiguration_disableLocalGroups - TRUE to disable local groups information.

$sel:exclusionPatterns:OneDriveConfiguration', oneDriveConfiguration_exclusionPatterns - A list of regular expression patterns to exclude certain documents in your OneDrive. Documents that match the patterns are excluded from the index. Documents that don't match the patterns are included in the index. If a document matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the document isn't included in the index.

The pattern is applied to the file name.

$sel:fieldMappings:OneDriveConfiguration', oneDriveConfiguration_fieldMappings - A list of DataSourceToIndexFieldMapping objects that map OneDrive data source attributes or field names to Amazon Kendra index field names. To create custom fields, use the UpdateIndex API before you map to OneDrive fields. For more information, see Mapping data source fields. The OneDrive data source field names must exist in your OneDrive custom metadata.

$sel:inclusionPatterns:OneDriveConfiguration', oneDriveConfiguration_inclusionPatterns - A list of regular expression patterns to include certain documents in your OneDrive. Documents that match the patterns are included in the index. Documents that don't match the patterns are excluded from the index. If a document matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the document isn't included in the index.

The pattern is applied to the file name.

$sel:tenantDomain:OneDriveConfiguration', oneDriveConfiguration_tenantDomain - The Azure Active Directory domain of the organization.

$sel:secretArn:OneDriveConfiguration', oneDriveConfiguration_secretArn - The Amazon Resource Name (ARN) of an Secrets Managersecret that contains the user name and password to connect to OneDrive. The user namd should be the application ID for the OneDrive application, and the password is the application key for the OneDrive application.

$sel:oneDriveUsers:OneDriveConfiguration', oneDriveConfiguration_oneDriveUsers - A list of user accounts whose documents should be indexed.

oneDriveConfiguration_exclusionPatterns :: Lens' OneDriveConfiguration (Maybe [Text]) Source #

A list of regular expression patterns to exclude certain documents in your OneDrive. Documents that match the patterns are excluded from the index. Documents that don't match the patterns are included in the index. If a document matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the document isn't included in the index.

The pattern is applied to the file name.

oneDriveConfiguration_fieldMappings :: Lens' OneDriveConfiguration (Maybe (NonEmpty DataSourceToIndexFieldMapping)) Source #

A list of DataSourceToIndexFieldMapping objects that map OneDrive data source attributes or field names to Amazon Kendra index field names. To create custom fields, use the UpdateIndex API before you map to OneDrive fields. For more information, see Mapping data source fields. The OneDrive data source field names must exist in your OneDrive custom metadata.

oneDriveConfiguration_inclusionPatterns :: Lens' OneDriveConfiguration (Maybe [Text]) Source #

A list of regular expression patterns to include certain documents in your OneDrive. Documents that match the patterns are included in the index. Documents that don't match the patterns are excluded from the index. If a document matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the document isn't included in the index.

The pattern is applied to the file name.

oneDriveConfiguration_tenantDomain :: Lens' OneDriveConfiguration Text Source #

The Azure Active Directory domain of the organization.

oneDriveConfiguration_secretArn :: Lens' OneDriveConfiguration Text Source #

The Amazon Resource Name (ARN) of an Secrets Managersecret that contains the user name and password to connect to OneDrive. The user namd should be the application ID for the OneDrive application, and the password is the application key for the OneDrive application.

oneDriveConfiguration_oneDriveUsers :: Lens' OneDriveConfiguration OneDriveUsers Source #

A list of user accounts whose documents should be indexed.