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

Description

 
Synopsis

Documentation

data BoxConfiguration Source #

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

See: newBoxConfiguration smart constructor.

Constructors

BoxConfiguration' 

Fields

  • commentFieldMappings :: Maybe (NonEmpty DataSourceToIndexFieldMapping)

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

  • crawlComments :: Maybe Bool

    TRUE to index comments.

  • crawlTasks :: Maybe Bool

    TRUE to index the contents of tasks.

  • crawlWebLinks :: Maybe Bool

    TRUE to index web links.

  • exclusionPatterns :: Maybe [Text]

    A list of regular expression patterns to exclude certain files and folders from your Box platform. Files and folders that match the patterns are excluded from the index.Files and folders that don't match the patterns are included in the index. If a file or folder matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the file or folder isn't included in the index.

  • fileFieldMappings :: Maybe (NonEmpty DataSourceToIndexFieldMapping)

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

  • inclusionPatterns :: Maybe [Text]

    A list of regular expression patterns to include certain files and folders in your Box platform. Files and folders that match the patterns are included in the index. Files and folders that don't match the patterns are excluded from the index. If a file or folder matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the file or folder isn't included in the index.

  • taskFieldMappings :: Maybe (NonEmpty DataSourceToIndexFieldMapping)

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

  • useChangeLog :: Maybe Bool

    TRUE to use the Slack change log to determine which documents require updating in the index. Depending on the data source change log's size, it may take longer for Amazon Kendra to use the change log than to scan all of your documents.

  • vpcConfiguration :: Maybe DataSourceVpcConfiguration

    Configuration information for an Amazon VPC to connect to your Box. For more information, see Configuring a VPC.

  • webLinkFieldMappings :: Maybe (NonEmpty DataSourceToIndexFieldMapping)

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

  • enterpriseId :: Text

    The identifier of the Box Enterprise platform. You can find the enterprise ID in the Box Developer Console settings or when you create an app in Box and download your authentication credentials. For example, 801234567.

  • secretArn :: Text

    The Amazon Resource Name (ARN) of an Secrets Manager secret that contains the key-value pairs required to connect to your Box platform. The secret must contain a JSON structure with the following keys:

    • clientID—The identifier of the client OAuth 2.0 authentication application created in Box.
    • clientSecret—A set of characters known only to the OAuth 2.0 authentication application created in Box.
    • publicKeyId—The identifier of the public key contained within an identity certificate.
    • privateKey—A set of characters that make up an encryption key.
    • passphrase—A set of characters that act like a password.

    You create an application in Box to generate the keys or credentials required for the secret. For more information, see Using a Box data source.

Instances

Instances details
FromJSON BoxConfiguration Source # 
Instance details

Defined in Amazonka.Kendra.Types.BoxConfiguration

ToJSON BoxConfiguration Source # 
Instance details

Defined in Amazonka.Kendra.Types.BoxConfiguration

Generic BoxConfiguration Source # 
Instance details

Defined in Amazonka.Kendra.Types.BoxConfiguration

Associated Types

type Rep BoxConfiguration :: Type -> Type #

Read BoxConfiguration Source # 
Instance details

Defined in Amazonka.Kendra.Types.BoxConfiguration

Show BoxConfiguration Source # 
Instance details

Defined in Amazonka.Kendra.Types.BoxConfiguration

NFData BoxConfiguration Source # 
Instance details

Defined in Amazonka.Kendra.Types.BoxConfiguration

Methods

rnf :: BoxConfiguration -> () #

Eq BoxConfiguration Source # 
Instance details

Defined in Amazonka.Kendra.Types.BoxConfiguration

Hashable BoxConfiguration Source # 
Instance details

Defined in Amazonka.Kendra.Types.BoxConfiguration

type Rep BoxConfiguration Source # 
Instance details

Defined in Amazonka.Kendra.Types.BoxConfiguration

type Rep BoxConfiguration = D1 ('MetaData "BoxConfiguration" "Amazonka.Kendra.Types.BoxConfiguration" "amazonka-kendra-2.0-IHloXAWlYIS8YTp1gXe6J" 'False) (C1 ('MetaCons "BoxConfiguration'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "commentFieldMappings") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty DataSourceToIndexFieldMapping))) :*: (S1 ('MetaSel ('Just "crawlComments") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "crawlTasks") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)))) :*: (S1 ('MetaSel ('Just "crawlWebLinks") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "exclusionPatterns") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "fileFieldMappings") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty DataSourceToIndexFieldMapping)))))) :*: ((S1 ('MetaSel ('Just "inclusionPatterns") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 ('MetaSel ('Just "taskFieldMappings") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty DataSourceToIndexFieldMapping))) :*: S1 ('MetaSel ('Just "useChangeLog") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)))) :*: ((S1 ('MetaSel ('Just "vpcConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DataSourceVpcConfiguration)) :*: S1 ('MetaSel ('Just "webLinkFieldMappings") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty DataSourceToIndexFieldMapping)))) :*: (S1 ('MetaSel ('Just "enterpriseId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "secretArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))))

newBoxConfiguration Source #

Create a value of BoxConfiguration 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:commentFieldMappings:BoxConfiguration', boxConfiguration_commentFieldMappings - A list of DataSourceToIndexFieldMapping objects that map attributes or field names of Box comments to Amazon Kendra index field names. To create custom fields, use the UpdateIndex API before you map to Box fields. For more information, see Mapping data source fields. The Box field names must exist in your Box custom metadata.

$sel:crawlComments:BoxConfiguration', boxConfiguration_crawlComments - TRUE to index comments.

$sel:crawlTasks:BoxConfiguration', boxConfiguration_crawlTasks - TRUE to index the contents of tasks.

$sel:crawlWebLinks:BoxConfiguration', boxConfiguration_crawlWebLinks - TRUE to index web links.

$sel:exclusionPatterns:BoxConfiguration', boxConfiguration_exclusionPatterns - A list of regular expression patterns to exclude certain files and folders from your Box platform. Files and folders that match the patterns are excluded from the index.Files and folders that don't match the patterns are included in the index. If a file or folder matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the file or folder isn't included in the index.

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

$sel:inclusionPatterns:BoxConfiguration', boxConfiguration_inclusionPatterns - A list of regular expression patterns to include certain files and folders in your Box platform. Files and folders that match the patterns are included in the index. Files and folders that don't match the patterns are excluded from the index. If a file or folder matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the file or folder isn't included in the index.

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

$sel:useChangeLog:BoxConfiguration', boxConfiguration_useChangeLog - TRUE to use the Slack change log to determine which documents require updating in the index. Depending on the data source change log's size, it may take longer for Amazon Kendra to use the change log than to scan all of your documents.

$sel:vpcConfiguration:BoxConfiguration', boxConfiguration_vpcConfiguration - Configuration information for an Amazon VPC to connect to your Box. For more information, see Configuring a VPC.

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

$sel:enterpriseId:BoxConfiguration', boxConfiguration_enterpriseId - The identifier of the Box Enterprise platform. You can find the enterprise ID in the Box Developer Console settings or when you create an app in Box and download your authentication credentials. For example, 801234567.

$sel:secretArn:BoxConfiguration', boxConfiguration_secretArn - The Amazon Resource Name (ARN) of an Secrets Manager secret that contains the key-value pairs required to connect to your Box platform. The secret must contain a JSON structure with the following keys:

  • clientID—The identifier of the client OAuth 2.0 authentication application created in Box.
  • clientSecret—A set of characters known only to the OAuth 2.0 authentication application created in Box.
  • publicKeyId—The identifier of the public key contained within an identity certificate.
  • privateKey—A set of characters that make up an encryption key.
  • passphrase—A set of characters that act like a password.

You create an application in Box to generate the keys or credentials required for the secret. For more information, see Using a Box data source.

boxConfiguration_commentFieldMappings :: Lens' BoxConfiguration (Maybe (NonEmpty DataSourceToIndexFieldMapping)) Source #

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

boxConfiguration_crawlTasks :: Lens' BoxConfiguration (Maybe Bool) Source #

TRUE to index the contents of tasks.

boxConfiguration_exclusionPatterns :: Lens' BoxConfiguration (Maybe [Text]) Source #

A list of regular expression patterns to exclude certain files and folders from your Box platform. Files and folders that match the patterns are excluded from the index.Files and folders that don't match the patterns are included in the index. If a file or folder matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the file or folder isn't included in the index.

boxConfiguration_fileFieldMappings :: Lens' BoxConfiguration (Maybe (NonEmpty DataSourceToIndexFieldMapping)) Source #

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

boxConfiguration_inclusionPatterns :: Lens' BoxConfiguration (Maybe [Text]) Source #

A list of regular expression patterns to include certain files and folders in your Box platform. Files and folders that match the patterns are included in the index. Files and folders that don't match the patterns are excluded from the index. If a file or folder matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the file or folder isn't included in the index.

boxConfiguration_taskFieldMappings :: Lens' BoxConfiguration (Maybe (NonEmpty DataSourceToIndexFieldMapping)) Source #

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

boxConfiguration_useChangeLog :: Lens' BoxConfiguration (Maybe Bool) Source #

TRUE to use the Slack change log to determine which documents require updating in the index. Depending on the data source change log's size, it may take longer for Amazon Kendra to use the change log than to scan all of your documents.

boxConfiguration_vpcConfiguration :: Lens' BoxConfiguration (Maybe DataSourceVpcConfiguration) Source #

Configuration information for an Amazon VPC to connect to your Box. For more information, see Configuring a VPC.

boxConfiguration_webLinkFieldMappings :: Lens' BoxConfiguration (Maybe (NonEmpty DataSourceToIndexFieldMapping)) Source #

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

boxConfiguration_enterpriseId :: Lens' BoxConfiguration Text Source #

The identifier of the Box Enterprise platform. You can find the enterprise ID in the Box Developer Console settings or when you create an app in Box and download your authentication credentials. For example, 801234567.

boxConfiguration_secretArn :: Lens' BoxConfiguration Text Source #

The Amazon Resource Name (ARN) of an Secrets Manager secret that contains the key-value pairs required to connect to your Box platform. The secret must contain a JSON structure with the following keys:

  • clientID—The identifier of the client OAuth 2.0 authentication application created in Box.
  • clientSecret—A set of characters known only to the OAuth 2.0 authentication application created in Box.
  • publicKeyId—The identifier of the public key contained within an identity certificate.
  • privateKey—A set of characters that make up an encryption key.
  • passphrase—A set of characters that act like a password.

You create an application in Box to generate the keys or credentials required for the secret. For more information, see Using a Box data source.