#[non_exhaustive]pub struct CreateSolutionVersionInput {
pub name: Option<String>,
pub solution_arn: Option<String>,
pub training_mode: Option<TrainingMode>,
pub tags: Option<Vec<Tag>>,
}
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.name: Option<String>
The name of the solution version.
solution_arn: Option<String>
The Amazon Resource Name (ARN) of the solution containing the training configuration information.
training_mode: Option<TrainingMode>
The scope of training to be performed when creating the solution version. The default is FULL
. This creates a completely new model based on the entirety of the training data from the datasets in your dataset group.
If you use User-Personalization, you can specify a training mode of UPDATE
. This updates the model to consider new items for recommendations. It is not a full retraining. You should still complete a full retraining weekly. If you specify UPDATE
, Amazon Personalize will stop automatic updates for the solution version. To resume updates, create a new solution with training mode set to FULL
and deploy it in a campaign. For more information about automatic updates, see Automatic updates.
The UPDATE
option can only be used when you already have an active solution version created from the input solution using the FULL
option and the input solution was trained with the User-Personalization recipe or the legacy HRNN-Coldstart recipe.
A list of tags to apply to the solution version.
Implementations§
source§impl CreateSolutionVersionInput
impl CreateSolutionVersionInput
sourcepub fn solution_arn(&self) -> Option<&str>
pub fn solution_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the solution containing the training configuration information.
sourcepub fn training_mode(&self) -> Option<&TrainingMode>
pub fn training_mode(&self) -> Option<&TrainingMode>
The scope of training to be performed when creating the solution version. The default is FULL
. This creates a completely new model based on the entirety of the training data from the datasets in your dataset group.
If you use User-Personalization, you can specify a training mode of UPDATE
. This updates the model to consider new items for recommendations. It is not a full retraining. You should still complete a full retraining weekly. If you specify UPDATE
, Amazon Personalize will stop automatic updates for the solution version. To resume updates, create a new solution with training mode set to FULL
and deploy it in a campaign. For more information about automatic updates, see Automatic updates.
The UPDATE
option can only be used when you already have an active solution version created from the input solution using the FULL
option and the input solution was trained with the User-Personalization recipe or the legacy HRNN-Coldstart recipe.
A list of tags to apply to the solution version.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .tags.is_none()
.
source§impl CreateSolutionVersionInput
impl CreateSolutionVersionInput
sourcepub fn builder() -> CreateSolutionVersionInputBuilder
pub fn builder() -> CreateSolutionVersionInputBuilder
Creates a new builder-style object to manufacture CreateSolutionVersionInput
.
Trait Implementations§
source§impl Clone for CreateSolutionVersionInput
impl Clone for CreateSolutionVersionInput
source§fn clone(&self) -> CreateSolutionVersionInput
fn clone(&self) -> CreateSolutionVersionInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateSolutionVersionInput
impl Debug for CreateSolutionVersionInput
source§impl PartialEq for CreateSolutionVersionInput
impl PartialEq for CreateSolutionVersionInput
source§fn eq(&self, other: &CreateSolutionVersionInput) -> bool
fn eq(&self, other: &CreateSolutionVersionInput) -> bool
self
and other
values to be equal, and is used
by ==
.