#[non_exhaustive]pub struct RecommenderUpdateSummary {
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>,
}Expand description
Provides a summary of the properties of a recommender update. For a complete listing, call the DescribeRecommender API.
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_config: Option<RecommenderConfig>The configuration details of the recommender update.
creation_date_time: Option<DateTime>The date and time (in Unix format) that the recommender update was created.
last_updated_date_time: Option<DateTime>The date and time (in Unix time) that the recommender update was last updated.
status: Option<String>The status of the recommender update.
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 update fails, the reason behind the failure.
Implementations§
source§impl RecommenderUpdateSummary
impl RecommenderUpdateSummary
sourcepub fn recommender_config(&self) -> Option<&RecommenderConfig>
pub fn recommender_config(&self) -> Option<&RecommenderConfig>
The configuration details of the recommender update.
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 update 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 time) that the recommender update was last updated.
sourcepub fn status(&self) -> Option<&str>
pub fn status(&self) -> Option<&str>
The status of the recommender update.
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 update fails, the reason behind the failure.
source§impl RecommenderUpdateSummary
impl RecommenderUpdateSummary
sourcepub fn builder() -> RecommenderUpdateSummaryBuilder
pub fn builder() -> RecommenderUpdateSummaryBuilder
Creates a new builder-style object to manufacture RecommenderUpdateSummary.
Trait Implementations§
source§impl Clone for RecommenderUpdateSummary
impl Clone for RecommenderUpdateSummary
source§fn clone(&self) -> RecommenderUpdateSummary
fn clone(&self) -> RecommenderUpdateSummary
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for RecommenderUpdateSummary
impl Debug for RecommenderUpdateSummary
source§impl PartialEq for RecommenderUpdateSummary
impl PartialEq for RecommenderUpdateSummary
source§fn eq(&self, other: &RecommenderUpdateSummary) -> bool
fn eq(&self, other: &RecommenderUpdateSummary) -> bool
self and other values to be equal, and is used
by ==.