Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data RecommendationData = RecommendationData' {}
- newRecommendationData :: Document -> Text -> RecommendationData
- recommendationData_relevanceLevel :: Lens' RecommendationData (Maybe RelevanceLevel)
- recommendationData_relevanceScore :: Lens' RecommendationData (Maybe Double)
- recommendationData_document :: Lens' RecommendationData Document
- recommendationData_recommendationId :: Lens' RecommendationData Text
Documentation
data RecommendationData Source #
Information about the recommendation.
See: newRecommendationData
smart constructor.
RecommendationData' | |
|
Instances
newRecommendationData Source #
:: Document | |
-> Text | |
-> RecommendationData |
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_relevanceLevel :: Lens' RecommendationData (Maybe RelevanceLevel) Source #
The relevance level of the recommendation.
recommendationData_relevanceScore :: Lens' RecommendationData (Maybe Double) Source #
The relevance score of the recommendation.
recommendationData_document :: Lens' RecommendationData Document Source #
The recommended document.
recommendationData_recommendationId :: Lens' RecommendationData Text Source #
The identifier of the recommendation.