Struct aws_sdk_personalize::types::Recommender
source · #[non_exhaustive]pub struct Recommender {
pub recommender_arn: Option<String>,
pub dataset_group_arn: Option<String>,
pub name: Option<String>,
pub recipe_arn: Option<String>,
pub recommender_config: Option<RecommenderConfig>,
pub creation_date_time: Option<DateTime>,
pub last_updated_date_time: Option<DateTime>,
pub status: Option<String>,
pub failure_reason: Option<String>,
pub latest_recommender_update: Option<RecommenderUpdateSummary>,
pub model_metrics: Option<HashMap<String, f64>>,
}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.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.recommender_arn: Option<String>The Amazon Resource Name (ARN) of the recommender.
dataset_group_arn: Option<String>The Amazon Resource Name (ARN) of the Domain dataset group that contains the recommender.
name: Option<String>The name of the recommender.
recipe_arn: Option<String>The Amazon Resource Name (ARN) of the recipe (Domain dataset group use case) that the recommender was created for.
recommender_config: Option<RecommenderConfig>The configuration details of the recommender.
creation_date_time: Option<DateTime>The date and time (in Unix format) that the recommender was created.
last_updated_date_time: Option<DateTime>The date and time (in Unix format) that the recommender was last updated.
status: Option<String>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
failure_reason: Option<String>If a recommender fails, the reason behind the failure.
latest_recommender_update: Option<RecommenderUpdateSummary>Provides a summary of the latest updates to the recommender.
model_metrics: Option<HashMap<String, f64>>Provides evaluation metrics that help you determine the performance of a recommender. For more information, see Evaluating a recommender.
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() -> RecommenderBuilder
pub fn builder() -> RecommenderBuilder
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 for Recommender
impl PartialEq 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 ==.impl StructuralPartialEq for Recommender
Auto Trait Implementations§
impl Freeze for Recommender
impl RefUnwindSafe for Recommender
impl Send for Recommender
impl Sync for Recommender
impl Unpin for Recommender
impl UnwindSafe for Recommender
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more