Struct aws_sdk_personalize::model::Recommender
source · #[non_exhaustive]pub struct Recommender { /* private fields */ }
Expand description
Describes a recommendation generator for a Domain dataset group. You create a recommender in a Domain dataset group for a specific domain use case (domain recipe), and specify the recommender in a GetRecommendations request.
Implementations§
source§impl Recommender
impl Recommender
sourcepub fn recommender_arn(&self) -> Option<&str>
pub fn recommender_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the recommender.
sourcepub fn dataset_group_arn(&self) -> Option<&str>
pub fn dataset_group_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the Domain dataset group that contains the recommender.
sourcepub fn recipe_arn(&self) -> Option<&str>
pub fn recipe_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the recipe (Domain dataset group use case) that the recommender was created for.
sourcepub fn recommender_config(&self) -> Option<&RecommenderConfig>
pub fn recommender_config(&self) -> Option<&RecommenderConfig>
The configuration details of the recommender.
sourcepub fn creation_date_time(&self) -> Option<&DateTime>
pub fn creation_date_time(&self) -> Option<&DateTime>
The date and time (in Unix format) that the recommender was created.
sourcepub fn last_updated_date_time(&self) -> Option<&DateTime>
pub fn last_updated_date_time(&self) -> Option<&DateTime>
The date and time (in Unix format) that the recommender was last updated.
sourcepub fn status(&self) -> Option<&str>
pub fn status(&self) -> Option<&str>
The status of the recommender.
A recommender can be in one of the following states:
-
CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED
-
STOP PENDING > STOP IN_PROGRESS > INACTIVE > START PENDING > START IN_PROGRESS > ACTIVE
-
DELETE PENDING > DELETE IN_PROGRESS
sourcepub fn failure_reason(&self) -> Option<&str>
pub fn failure_reason(&self) -> Option<&str>
If a recommender fails, the reason behind the failure.
sourcepub fn latest_recommender_update(&self) -> Option<&RecommenderUpdateSummary>
pub fn latest_recommender_update(&self) -> Option<&RecommenderUpdateSummary>
Provides a summary of the latest updates to the recommender.
sourcepub fn model_metrics(&self) -> Option<&HashMap<String, f64>>
pub fn model_metrics(&self) -> Option<&HashMap<String, f64>>
Provides evaluation metrics that help you determine the performance of a recommender. For more information, see Evaluating a recommender.
source§impl Recommender
impl Recommender
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture Recommender
.
Trait Implementations§
source§impl Clone for Recommender
impl Clone for Recommender
source§fn clone(&self) -> Recommender
fn clone(&self) -> Recommender
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for Recommender
impl Debug for Recommender
source§impl PartialEq<Recommender> for Recommender
impl PartialEq<Recommender> for Recommender
source§fn eq(&self, other: &Recommender) -> bool
fn eq(&self, other: &Recommender) -> bool
self
and other
values to be equal, and is used
by ==
.