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 |
Synopsis
- data QuipConfiguration = QuipConfiguration' {
- attachmentFieldMappings :: Maybe (NonEmpty DataSourceToIndexFieldMapping)
- crawlAttachments :: Maybe Bool
- crawlChatRooms :: Maybe Bool
- crawlFileComments :: Maybe Bool
- exclusionPatterns :: Maybe [Text]
- folderIds :: Maybe [Text]
- inclusionPatterns :: Maybe [Text]
- messageFieldMappings :: Maybe (NonEmpty DataSourceToIndexFieldMapping)
- threadFieldMappings :: Maybe (NonEmpty DataSourceToIndexFieldMapping)
- vpcConfiguration :: Maybe DataSourceVpcConfiguration
- domain :: Text
- secretArn :: Text
- newQuipConfiguration :: Text -> Text -> QuipConfiguration
- quipConfiguration_attachmentFieldMappings :: Lens' QuipConfiguration (Maybe (NonEmpty DataSourceToIndexFieldMapping))
- quipConfiguration_crawlAttachments :: Lens' QuipConfiguration (Maybe Bool)
- quipConfiguration_crawlChatRooms :: Lens' QuipConfiguration (Maybe Bool)
- quipConfiguration_crawlFileComments :: Lens' QuipConfiguration (Maybe Bool)
- quipConfiguration_exclusionPatterns :: Lens' QuipConfiguration (Maybe [Text])
- quipConfiguration_folderIds :: Lens' QuipConfiguration (Maybe [Text])
- quipConfiguration_inclusionPatterns :: Lens' QuipConfiguration (Maybe [Text])
- quipConfiguration_messageFieldMappings :: Lens' QuipConfiguration (Maybe (NonEmpty DataSourceToIndexFieldMapping))
- quipConfiguration_threadFieldMappings :: Lens' QuipConfiguration (Maybe (NonEmpty DataSourceToIndexFieldMapping))
- quipConfiguration_vpcConfiguration :: Lens' QuipConfiguration (Maybe DataSourceVpcConfiguration)
- quipConfiguration_domain :: Lens' QuipConfiguration Text
- quipConfiguration_secretArn :: Lens' QuipConfiguration Text
Documentation
data QuipConfiguration Source #
Provides the configuration information to connect to Quip as your data source.
See: newQuipConfiguration
smart constructor.
QuipConfiguration' | |
|
Instances
Create a value of QuipConfiguration
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:attachmentFieldMappings:QuipConfiguration'
, quipConfiguration_attachmentFieldMappings
- A list of DataSourceToIndexFieldMapping
objects that map attributes or
field names of Quip attachments to Amazon Kendra index field names. To
create custom fields, use the UpdateIndex
API before you map to Quip
fields. For more information, see
Mapping data source fields.
The Quip field names must exist in your Quip custom metadata.
$sel:crawlAttachments:QuipConfiguration'
, quipConfiguration_crawlAttachments
- TRUE
to index attachments.
$sel:crawlChatRooms:QuipConfiguration'
, quipConfiguration_crawlChatRooms
- TRUE
to index the contents of chat rooms.
$sel:crawlFileComments:QuipConfiguration'
, quipConfiguration_crawlFileComments
- TRUE
to index file comments.
$sel:exclusionPatterns:QuipConfiguration'
, quipConfiguration_exclusionPatterns
- A list of regular expression patterns to exclude certain files in your
Quip file system. Files that match the patterns are excluded from the
index. Files that don’t match the patterns are included in the index. If
a file matches both an inclusion pattern and an exclusion pattern, the
exclusion pattern takes precedence, and the file isn't included in the
index.
$sel:folderIds:QuipConfiguration'
, quipConfiguration_folderIds
- The identifiers of the Quip folders you want to index. You can find the
folder ID in your browser URL when you access your folder in Quip. For
example,
https://quip-company.quipdomain.com/zlLuOVNSarTL/folder-name. The
folder ID in this example is "zlLuOVNSarTL".
$sel:inclusionPatterns:QuipConfiguration'
, quipConfiguration_inclusionPatterns
- A list of regular expression patterns to include certain files in your
Quip file system. Files that match the patterns are included in the
index. Files that don't match the patterns are excluded from the index.
If a file matches both an inclusion pattern and an exclusion pattern,
the exclusion pattern takes precedence, and the file isn't included in
the index.
$sel:messageFieldMappings:QuipConfiguration'
, quipConfiguration_messageFieldMappings
- A list of DataSourceToIndexFieldMapping
objects that map attributes or
field names of Quip messages to Amazon Kendra index field names. To
create custom fields, use the UpdateIndex
API before you map to Quip
fields. For more information, see
Mapping data source fields.
The Quip field names must exist in your Quip custom metadata.
$sel:threadFieldMappings:QuipConfiguration'
, quipConfiguration_threadFieldMappings
- A list of DataSourceToIndexFieldMapping
objects that map attributes or
field names of Quip threads to Amazon Kendra index field names. To
create custom fields, use the UpdateIndex
API before you map to Quip
fields. For more information, see
Mapping data source fields.
The Quip field names must exist in your Quip custom metadata.
$sel:vpcConfiguration:QuipConfiguration'
, quipConfiguration_vpcConfiguration
- Configuration information for an Amazon Virtual Private Cloud (VPC) to
connect to your Quip. For more information, see
Configuring a VPC.
$sel:domain:QuipConfiguration'
, quipConfiguration_domain
- The Quip site domain. For example,
https://quip-company.quipdomain.com/browse. The domain in this
example is "quipdomain".
$sel:secretArn:QuipConfiguration'
, quipConfiguration_secretArn
- The Amazon Resource Name (ARN) of an Secrets Manager secret that
contains the key-value pairs that are required to connect to your Quip.
The secret must contain a JSON structure with the following keys:
- accessToken—The token created in Quip. For more information, see Using a Quip data source.
quipConfiguration_attachmentFieldMappings :: Lens' QuipConfiguration (Maybe (NonEmpty DataSourceToIndexFieldMapping)) Source #
A list of DataSourceToIndexFieldMapping
objects that map attributes or
field names of Quip attachments to Amazon Kendra index field names. To
create custom fields, use the UpdateIndex
API before you map to Quip
fields. For more information, see
Mapping data source fields.
The Quip field names must exist in your Quip custom metadata.
quipConfiguration_crawlAttachments :: Lens' QuipConfiguration (Maybe Bool) Source #
TRUE
to index attachments.
quipConfiguration_crawlChatRooms :: Lens' QuipConfiguration (Maybe Bool) Source #
TRUE
to index the contents of chat rooms.
quipConfiguration_crawlFileComments :: Lens' QuipConfiguration (Maybe Bool) Source #
TRUE
to index file comments.
quipConfiguration_exclusionPatterns :: Lens' QuipConfiguration (Maybe [Text]) Source #
A list of regular expression patterns to exclude certain files in your Quip file system. Files that match the patterns are excluded from the index. Files that don’t match the patterns are included in the index. If a file matches both an inclusion pattern and an exclusion pattern, the exclusion pattern takes precedence, and the file isn't included in the index.
quipConfiguration_folderIds :: Lens' QuipConfiguration (Maybe [Text]) Source #
The identifiers of the Quip folders you want to index. You can find the folder ID in your browser URL when you access your folder in Quip. For example, https://quip-company.quipdomain.com/zlLuOVNSarTL/folder-name. The folder ID in this example is "zlLuOVNSarTL".
quipConfiguration_inclusionPatterns :: Lens' QuipConfiguration (Maybe [Text]) Source #
A list of regular expression patterns to include certain files in your Quip file system. Files that match the patterns are included in the index. Files that don't match the patterns are excluded from the index. If a file matches both an inclusion pattern and an exclusion pattern, the exclusion pattern takes precedence, and the file isn't included in the index.
quipConfiguration_messageFieldMappings :: Lens' QuipConfiguration (Maybe (NonEmpty DataSourceToIndexFieldMapping)) Source #
A list of DataSourceToIndexFieldMapping
objects that map attributes or
field names of Quip messages to Amazon Kendra index field names. To
create custom fields, use the UpdateIndex
API before you map to Quip
fields. For more information, see
Mapping data source fields.
The Quip field names must exist in your Quip custom metadata.
quipConfiguration_threadFieldMappings :: Lens' QuipConfiguration (Maybe (NonEmpty DataSourceToIndexFieldMapping)) Source #
A list of DataSourceToIndexFieldMapping
objects that map attributes or
field names of Quip threads to Amazon Kendra index field names. To
create custom fields, use the UpdateIndex
API before you map to Quip
fields. For more information, see
Mapping data source fields.
The Quip field names must exist in your Quip custom metadata.
quipConfiguration_vpcConfiguration :: Lens' QuipConfiguration (Maybe DataSourceVpcConfiguration) Source #
Configuration information for an Amazon Virtual Private Cloud (VPC) to connect to your Quip. For more information, see Configuring a VPC.
quipConfiguration_domain :: Lens' QuipConfiguration Text Source #
The Quip site domain. For example, https://quip-company.quipdomain.com/browse. The domain in this example is "quipdomain".
quipConfiguration_secretArn :: Lens' QuipConfiguration Text Source #
The Amazon Resource Name (ARN) of an Secrets Manager secret that contains the key-value pairs that are required to connect to your Quip. The secret must contain a JSON structure with the following keys:
- accessToken—The token created in Quip. For more information, see Using a Quip data source.