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 KendraConfiguration = KendraConfiguration' {}
- newKendraConfiguration :: Text -> KendraConfiguration
- kendraConfiguration_queryFilterString :: Lens' KendraConfiguration (Maybe Text)
- kendraConfiguration_queryFilterStringEnabled :: Lens' KendraConfiguration (Maybe Bool)
- kendraConfiguration_kendraIndex :: Lens' KendraConfiguration Text
Documentation
data KendraConfiguration Source #
Provides configuration information for the AMAZON.KendraSearchIntent intent. When you use this intent, Amazon Lex searches the specified Amazon Kendra index and returns documents from the index that match the user's utterance.
See: newKendraConfiguration
smart constructor.
KendraConfiguration' | |
|
Instances
newKendraConfiguration Source #
Create a value of KendraConfiguration
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:queryFilterString:KendraConfiguration'
, kendraConfiguration_queryFilterString
- A query filter that Amazon Lex sends to Amazon Kendra to filter the
response from a query. The filter is in the format defined by Amazon
Kendra. For more information, see
Filtering queries.
$sel:queryFilterStringEnabled:KendraConfiguration'
, kendraConfiguration_queryFilterStringEnabled
- Determines whether the AMAZON.KendraSearchIntent intent uses a custom
query string to query the Amazon Kendra index.
$sel:kendraIndex:KendraConfiguration'
, kendraConfiguration_kendraIndex
- The Amazon Resource Name (ARN) of the Amazon Kendra index that you want
the AMAZON.KendraSearchIntent intent to search. The index must be in the
same account and Region as the Amazon Lex bot.
kendraConfiguration_queryFilterString :: Lens' KendraConfiguration (Maybe Text) Source #
A query filter that Amazon Lex sends to Amazon Kendra to filter the response from a query. The filter is in the format defined by Amazon Kendra. For more information, see Filtering queries.
kendraConfiguration_queryFilterStringEnabled :: Lens' KendraConfiguration (Maybe Bool) Source #
Determines whether the AMAZON.KendraSearchIntent intent uses a custom query string to query the Amazon Kendra index.
kendraConfiguration_kendraIndex :: Lens' KendraConfiguration Text Source #
The Amazon Resource Name (ARN) of the Amazon Kendra index that you want the AMAZON.KendraSearchIntent intent to search. The index must be in the same account and Region as the Amazon Lex bot.