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' {
- queryFilterString :: Maybe Text
- kendraIndex :: Text
- role' :: Text
- newKendraConfiguration :: Text -> Text -> KendraConfiguration
- kendraConfiguration_queryFilterString :: Lens' KendraConfiguration (Maybe Text)
- kendraConfiguration_kendraIndex :: Lens' KendraConfiguration Text
- kendraConfiguration_role :: 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. For more information, see AMAZON.KendraSearchIntent.
See: newKendraConfiguration
smart constructor.
KendraConfiguration' | |
|
Instances
newKendraConfiguration Source #
:: Text | |
-> Text | |
-> KendraConfiguration |
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 the query. The filter is in the format defined by Amazon
Kendra. For more information, see
Filtering queries.
You can override this filter string with a new filter string at runtime.
$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. If the Amazon Kendra
index does not exist, you get an exception when you call the PutIntent
operation.
$sel:role':KendraConfiguration'
, kendraConfiguration_role
- The Amazon Resource Name (ARN) of an IAM role that has permission to
search the Amazon Kendra index. The role must be in the same account and
Region as the Amazon Lex bot. If the role does not exist, you get an
exception when you call the PutIntent
operation.
kendraConfiguration_queryFilterString :: Lens' KendraConfiguration (Maybe Text) Source #
A query filter that Amazon Lex sends to Amazon Kendra to filter the response from the query. The filter is in the format defined by Amazon Kendra. For more information, see Filtering queries.
You can override this filter string with a new filter string at runtime.
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. If the Amazon Kendra
index does not exist, you get an exception when you call the PutIntent
operation.
kendraConfiguration_role :: Lens' KendraConfiguration Text Source #
The Amazon Resource Name (ARN) of an IAM role that has permission to
search the Amazon Kendra index. The role must be in the same account and
Region as the Amazon Lex bot. If the role does not exist, you get an
exception when you call the PutIntent
operation.