| 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 |
Amazonka.Kendra.SubmitFeedback
Description
Enables you to provide feedback to Amazon Kendra to improve the performance of your index.
SubmitFeedback is currently not supported in the Amazon Web Services
GovCloud (US-West) region.
Synopsis
- data SubmitFeedback = SubmitFeedback' {}
- newSubmitFeedback :: Text -> Text -> SubmitFeedback
- submitFeedback_clickFeedbackItems :: Lens' SubmitFeedback (Maybe [ClickFeedback])
- submitFeedback_relevanceFeedbackItems :: Lens' SubmitFeedback (Maybe [RelevanceFeedback])
- submitFeedback_indexId :: Lens' SubmitFeedback Text
- submitFeedback_queryId :: Lens' SubmitFeedback Text
- data SubmitFeedbackResponse = SubmitFeedbackResponse' {
- newSubmitFeedbackResponse :: SubmitFeedbackResponse
Creating a Request
data SubmitFeedback Source #
See: newSubmitFeedback smart constructor.
Constructors
| SubmitFeedback' | |
Fields
| |
Instances
Create a value of SubmitFeedback 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:clickFeedbackItems:SubmitFeedback', submitFeedback_clickFeedbackItems - Tells Amazon Kendra that a particular search result link was chosen by
the user.
$sel:relevanceFeedbackItems:SubmitFeedback', submitFeedback_relevanceFeedbackItems - Provides Amazon Kendra with relevant or not relevant feedback for
whether a particular item was relevant to the search.
$sel:indexId:SubmitFeedback', submitFeedback_indexId - The identifier of the index that was queried.
$sel:queryId:SubmitFeedback', submitFeedback_queryId - The identifier of the specific query for which you are submitting
feedback. The query ID is returned in the response to the Query API.
Request Lenses
submitFeedback_clickFeedbackItems :: Lens' SubmitFeedback (Maybe [ClickFeedback]) Source #
Tells Amazon Kendra that a particular search result link was chosen by the user.
submitFeedback_relevanceFeedbackItems :: Lens' SubmitFeedback (Maybe [RelevanceFeedback]) Source #
Provides Amazon Kendra with relevant or not relevant feedback for whether a particular item was relevant to the search.
submitFeedback_indexId :: Lens' SubmitFeedback Text Source #
The identifier of the index that was queried.
submitFeedback_queryId :: Lens' SubmitFeedback Text Source #
The identifier of the specific query for which you are submitting
feedback. The query ID is returned in the response to the Query API.
Destructuring the Response
data SubmitFeedbackResponse Source #
See: newSubmitFeedbackResponse smart constructor.
Constructors
| SubmitFeedbackResponse' | |
Instances
| Generic SubmitFeedbackResponse Source # | |
Defined in Amazonka.Kendra.SubmitFeedback Associated Types type Rep SubmitFeedbackResponse :: Type -> Type # Methods from :: SubmitFeedbackResponse -> Rep SubmitFeedbackResponse x # to :: Rep SubmitFeedbackResponse x -> SubmitFeedbackResponse # | |
| Read SubmitFeedbackResponse Source # | |
Defined in Amazonka.Kendra.SubmitFeedback | |
| Show SubmitFeedbackResponse Source # | |
Defined in Amazonka.Kendra.SubmitFeedback Methods showsPrec :: Int -> SubmitFeedbackResponse -> ShowS # show :: SubmitFeedbackResponse -> String # showList :: [SubmitFeedbackResponse] -> ShowS # | |
| NFData SubmitFeedbackResponse Source # | |
Defined in Amazonka.Kendra.SubmitFeedback Methods rnf :: SubmitFeedbackResponse -> () # | |
| Eq SubmitFeedbackResponse Source # | |
Defined in Amazonka.Kendra.SubmitFeedback Methods (==) :: SubmitFeedbackResponse -> SubmitFeedbackResponse -> Bool # (/=) :: SubmitFeedbackResponse -> SubmitFeedbackResponse -> Bool # | |
| type Rep SubmitFeedbackResponse Source # | |
newSubmitFeedbackResponse :: SubmitFeedbackResponse Source #
Create a value of SubmitFeedbackResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.