Struct aws_sdk_personalize::operation::update_recommender::builders::UpdateRecommenderFluentBuilder
source · pub struct UpdateRecommenderFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to UpdateRecommender
.
Updates the recommender to modify the recommender configuration. If you update the recommender to modify the columns used in training, Amazon Personalize automatically starts a full retraining of the models backing your recommender. While the update completes, you can still get recommendations from the recommender. The recommender uses the previous configuration until the update completes. To track the status of this update, use the latestRecommenderUpdate
returned in the DescribeRecommender operation.
Implementations§
source§impl UpdateRecommenderFluentBuilder
impl UpdateRecommenderFluentBuilder
sourcepub fn as_input(&self) -> &UpdateRecommenderInputBuilder
pub fn as_input(&self) -> &UpdateRecommenderInputBuilder
Access the UpdateRecommender as a reference.
sourcepub async fn send(
self
) -> Result<UpdateRecommenderOutput, SdkError<UpdateRecommenderError, HttpResponse>>
pub async fn send( self ) -> Result<UpdateRecommenderOutput, SdkError<UpdateRecommenderError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<UpdateRecommenderOutput, UpdateRecommenderError, Self>
pub fn customize( self ) -> CustomizableOperation<UpdateRecommenderOutput, UpdateRecommenderError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn recommender_arn(self, input: impl Into<String>) -> Self
pub fn recommender_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the recommender to modify.
sourcepub fn set_recommender_arn(self, input: Option<String>) -> Self
pub fn set_recommender_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the recommender to modify.
sourcepub fn get_recommender_arn(&self) -> &Option<String>
pub fn get_recommender_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the recommender to modify.
sourcepub fn recommender_config(self, input: RecommenderConfig) -> Self
pub fn recommender_config(self, input: RecommenderConfig) -> Self
The configuration details of the recommender.
sourcepub fn set_recommender_config(self, input: Option<RecommenderConfig>) -> Self
pub fn set_recommender_config(self, input: Option<RecommenderConfig>) -> Self
The configuration details of the recommender.
sourcepub fn get_recommender_config(&self) -> &Option<RecommenderConfig>
pub fn get_recommender_config(&self) -> &Option<RecommenderConfig>
The configuration details of the recommender.
Trait Implementations§
source§impl Clone for UpdateRecommenderFluentBuilder
impl Clone for UpdateRecommenderFluentBuilder
source§fn clone(&self) -> UpdateRecommenderFluentBuilder
fn clone(&self) -> UpdateRecommenderFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more