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
- defaultService :: Service
- _InvalidInputException :: AsError a => Getting (First ServiceError) a ServiceError
- _ResourceNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
- data PredictedItem = PredictedItem' {}
- newPredictedItem :: PredictedItem
- predictedItem_score :: Lens' PredictedItem (Maybe Double)
- predictedItem_itemId :: Lens' PredictedItem (Maybe Text)
Service Configuration
defaultService :: Service Source #
API version 2018-05-22
of the Amazon Personalize Runtime SDK configuration.
Errors
_InvalidInputException :: AsError a => Getting (First ServiceError) a ServiceError Source #
Provide a valid value for the field or parameter.
_ResourceNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The specified resource does not exist.
PredictedItem
data PredictedItem Source #
An object that identifies an item.
The and APIs return a list of PredictedItem
s.
See: newPredictedItem
smart constructor.
Instances
newPredictedItem :: PredictedItem Source #
Create a value of PredictedItem
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:score:PredictedItem'
, predictedItem_score
- A numeric representation of the model's certainty that the item will be
the next user selection. For more information on scoring logic, see
how-scores-work.
$sel:itemId:PredictedItem'
, predictedItem_itemId
- The recommended item ID.
predictedItem_score :: Lens' PredictedItem (Maybe Double) Source #
A numeric representation of the model's certainty that the item will be the next user selection. For more information on scoring logic, see how-scores-work.
predictedItem_itemId :: Lens' PredictedItem (Maybe Text) Source #
The recommended item ID.