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

Description

 
Synopsis

Documentation

data ClickFeedback Source #

Gathers information about when a particular result was clicked by a user. Your application uses the SubmitFeedback API to provide click information.

See: newClickFeedback smart constructor.

Constructors

ClickFeedback' 

Fields

  • resultId :: Text

    The identifier of the search result that was clicked.

  • clickTime :: POSIX

    The Unix timestamp of the date and time that the result was clicked.

Instances

Instances details
ToJSON ClickFeedback Source # 
Instance details

Defined in Amazonka.Kendra.Types.ClickFeedback

Generic ClickFeedback Source # 
Instance details

Defined in Amazonka.Kendra.Types.ClickFeedback

Associated Types

type Rep ClickFeedback :: Type -> Type #

Read ClickFeedback Source # 
Instance details

Defined in Amazonka.Kendra.Types.ClickFeedback

Show ClickFeedback Source # 
Instance details

Defined in Amazonka.Kendra.Types.ClickFeedback

NFData ClickFeedback Source # 
Instance details

Defined in Amazonka.Kendra.Types.ClickFeedback

Methods

rnf :: ClickFeedback -> () #

Eq ClickFeedback Source # 
Instance details

Defined in Amazonka.Kendra.Types.ClickFeedback

Hashable ClickFeedback Source # 
Instance details

Defined in Amazonka.Kendra.Types.ClickFeedback

type Rep ClickFeedback Source # 
Instance details

Defined in Amazonka.Kendra.Types.ClickFeedback

type Rep ClickFeedback = D1 ('MetaData "ClickFeedback" "Amazonka.Kendra.Types.ClickFeedback" "amazonka-kendra-2.0-IHloXAWlYIS8YTp1gXe6J" 'False) (C1 ('MetaCons "ClickFeedback'" 'PrefixI 'True) (S1 ('MetaSel ('Just "resultId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "clickTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 POSIX)))

newClickFeedback Source #

Create a value of ClickFeedback 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:resultId:ClickFeedback', clickFeedback_resultId - The identifier of the search result that was clicked.

$sel:clickTime:ClickFeedback', clickFeedback_clickTime - The Unix timestamp of the date and time that the result was clicked.

clickFeedback_resultId :: Lens' ClickFeedback Text Source #

The identifier of the search result that was clicked.

clickFeedback_clickTime :: Lens' ClickFeedback UTCTime Source #

The Unix timestamp of the date and time that the result was clicked.