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

Creating a Request

data SubmitFeedback Source #

See: newSubmitFeedback smart constructor.

Constructors

SubmitFeedback' 

Fields

Instances

Instances details
ToJSON SubmitFeedback Source # 
Instance details

Defined in Amazonka.Kendra.SubmitFeedback

ToHeaders SubmitFeedback Source # 
Instance details

Defined in Amazonka.Kendra.SubmitFeedback

ToPath SubmitFeedback Source # 
Instance details

Defined in Amazonka.Kendra.SubmitFeedback

ToQuery SubmitFeedback Source # 
Instance details

Defined in Amazonka.Kendra.SubmitFeedback

AWSRequest SubmitFeedback Source # 
Instance details

Defined in Amazonka.Kendra.SubmitFeedback

Associated Types

type AWSResponse SubmitFeedback #

Generic SubmitFeedback Source # 
Instance details

Defined in Amazonka.Kendra.SubmitFeedback

Associated Types

type Rep SubmitFeedback :: Type -> Type #

Read SubmitFeedback Source # 
Instance details

Defined in Amazonka.Kendra.SubmitFeedback

Show SubmitFeedback Source # 
Instance details

Defined in Amazonka.Kendra.SubmitFeedback

NFData SubmitFeedback Source # 
Instance details

Defined in Amazonka.Kendra.SubmitFeedback

Methods

rnf :: SubmitFeedback -> () #

Eq SubmitFeedback Source # 
Instance details

Defined in Amazonka.Kendra.SubmitFeedback

Hashable SubmitFeedback Source # 
Instance details

Defined in Amazonka.Kendra.SubmitFeedback

type AWSResponse SubmitFeedback Source # 
Instance details

Defined in Amazonka.Kendra.SubmitFeedback

type Rep SubmitFeedback Source # 
Instance details

Defined in Amazonka.Kendra.SubmitFeedback

type Rep SubmitFeedback = D1 ('MetaData "SubmitFeedback" "Amazonka.Kendra.SubmitFeedback" "amazonka-kendra-2.0-IHloXAWlYIS8YTp1gXe6J" 'False) (C1 ('MetaCons "SubmitFeedback'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "clickFeedbackItems") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ClickFeedback])) :*: S1 ('MetaSel ('Just "relevanceFeedbackItems") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [RelevanceFeedback]))) :*: (S1 ('MetaSel ('Just "indexId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "queryId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newSubmitFeedback Source #

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.

Instances

Instances details
Generic SubmitFeedbackResponse Source # 
Instance details

Defined in Amazonka.Kendra.SubmitFeedback

Associated Types

type Rep SubmitFeedbackResponse :: Type -> Type #

Read SubmitFeedbackResponse Source # 
Instance details

Defined in Amazonka.Kendra.SubmitFeedback

Show SubmitFeedbackResponse Source # 
Instance details

Defined in Amazonka.Kendra.SubmitFeedback

NFData SubmitFeedbackResponse Source # 
Instance details

Defined in Amazonka.Kendra.SubmitFeedback

Methods

rnf :: SubmitFeedbackResponse -> () #

Eq SubmitFeedbackResponse Source # 
Instance details

Defined in Amazonka.Kendra.SubmitFeedback

type Rep SubmitFeedbackResponse Source # 
Instance details

Defined in Amazonka.Kendra.SubmitFeedback

type Rep SubmitFeedbackResponse = D1 ('MetaData "SubmitFeedbackResponse" "Amazonka.Kendra.SubmitFeedback" "amazonka-kendra-2.0-IHloXAWlYIS8YTp1gXe6J" 'False) (C1 ('MetaCons "SubmitFeedbackResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newSubmitFeedbackResponse :: SubmitFeedbackResponse Source #

Create a value of SubmitFeedbackResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.