Struct aws_sdk_personalize::model::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>,
}
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
-
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.
Implementations
sourceimpl 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
-
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.
sourceimpl Recommender
impl Recommender
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture Recommender
Trait Implementations
sourceimpl Clone for Recommender
impl Clone for Recommender
sourcefn clone(&self) -> Recommender
fn clone(&self) -> Recommender
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for Recommender
impl Debug for Recommender
sourceimpl PartialEq<Recommender> for Recommender
impl PartialEq<Recommender> for Recommender
sourcefn eq(&self, other: &Recommender) -> bool
fn eq(&self, other: &Recommender) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &Recommender) -> bool
fn ne(&self, other: &Recommender) -> bool
This method tests for !=
.
impl StructuralPartialEq for Recommender
Auto Trait Implementations
impl RefUnwindSafe for Recommender
impl Send for Recommender
impl Sync for Recommender
impl Unpin for Recommender
impl UnwindSafe for Recommender
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more