libZSservicesZSamazonka-wisdomZSamazonka-wisdom
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Wisdom.Types.RecommendationData

Description

 
Synopsis

Documentation

data RecommendationData Source #

Information about the recommendation.

See: newRecommendationData smart constructor.

Constructors

RecommendationData' 

Fields

Instances

Instances details
Eq RecommendationData Source # 
Instance details

Defined in Amazonka.Wisdom.Types.RecommendationData

Show RecommendationData Source # 
Instance details

Defined in Amazonka.Wisdom.Types.RecommendationData

Generic RecommendationData Source # 
Instance details

Defined in Amazonka.Wisdom.Types.RecommendationData

Associated Types

type Rep RecommendationData :: Type -> Type #

NFData RecommendationData Source # 
Instance details

Defined in Amazonka.Wisdom.Types.RecommendationData

Methods

rnf :: RecommendationData -> () #

Hashable RecommendationData Source # 
Instance details

Defined in Amazonka.Wisdom.Types.RecommendationData

FromJSON RecommendationData Source # 
Instance details

Defined in Amazonka.Wisdom.Types.RecommendationData

type Rep RecommendationData Source # 
Instance details

Defined in Amazonka.Wisdom.Types.RecommendationData

type Rep RecommendationData = D1 ('MetaData "RecommendationData" "Amazonka.Wisdom.Types.RecommendationData" "libZSservicesZSamazonka-wisdomZSamazonka-wisdom" 'False) (C1 ('MetaCons "RecommendationData'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "relevanceLevel") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RelevanceLevel)) :*: S1 ('MetaSel ('Just "relevanceScore") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double))) :*: (S1 ('MetaSel ('Just "document") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Document) :*: S1 ('MetaSel ('Just "recommendationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newRecommendationData Source #

Create a value of RecommendationData 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:relevanceLevel:RecommendationData', recommendationData_relevanceLevel - The relevance level of the recommendation.

$sel:relevanceScore:RecommendationData', recommendationData_relevanceScore - The relevance score of the recommendation.

$sel:document:RecommendationData', recommendationData_document - The recommended document.

$sel:recommendationId:RecommendationData', recommendationData_recommendationId - The identifier of the recommendation.

recommendationData_relevanceScore :: Lens' RecommendationData (Maybe Double) Source #

The relevance score of the recommendation.