Struct aws_sdk_sagemaker::operation::update_feature_group::builders::UpdateFeatureGroupFluentBuilder
source · pub struct UpdateFeatureGroupFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to UpdateFeatureGroup
.
Updates the feature group by either adding features or updating the online store configuration. Use one of the following request parameters at a time while using the UpdateFeatureGroup
API.
You can add features for your feature group using the FeatureAdditions
request parameter. Features cannot be removed from a feature group.
You can update the online store configuration by using the OnlineStoreConfig
request parameter. If a TtlDuration
is specified, the default TtlDuration
applies for all records added to the feature group after the feature group is updated. If a record level TtlDuration
exists from using the PutRecord
API, the record level TtlDuration
applies to that record instead of the default TtlDuration
.
Implementations§
source§impl UpdateFeatureGroupFluentBuilder
impl UpdateFeatureGroupFluentBuilder
sourcepub fn as_input(&self) -> &UpdateFeatureGroupInputBuilder
pub fn as_input(&self) -> &UpdateFeatureGroupInputBuilder
Access the UpdateFeatureGroup as a reference.
sourcepub async fn send(
self
) -> Result<UpdateFeatureGroupOutput, SdkError<UpdateFeatureGroupError, HttpResponse>>
pub async fn send( self ) -> Result<UpdateFeatureGroupOutput, SdkError<UpdateFeatureGroupError, 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<UpdateFeatureGroupOutput, UpdateFeatureGroupError, Self>
pub fn customize( self ) -> CustomizableOperation<UpdateFeatureGroupOutput, UpdateFeatureGroupError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn feature_group_name(self, input: impl Into<String>) -> Self
pub fn feature_group_name(self, input: impl Into<String>) -> Self
The name or Amazon Resource Name (ARN) of the feature group that you're updating.
sourcepub fn set_feature_group_name(self, input: Option<String>) -> Self
pub fn set_feature_group_name(self, input: Option<String>) -> Self
The name or Amazon Resource Name (ARN) of the feature group that you're updating.
sourcepub fn get_feature_group_name(&self) -> &Option<String>
pub fn get_feature_group_name(&self) -> &Option<String>
The name or Amazon Resource Name (ARN) of the feature group that you're updating.
sourcepub fn feature_additions(self, input: FeatureDefinition) -> Self
pub fn feature_additions(self, input: FeatureDefinition) -> Self
Appends an item to FeatureAdditions
.
To override the contents of this collection use set_feature_additions
.
Updates the feature group. Updating a feature group is an asynchronous operation. When you get an HTTP 200 response, you've made a valid request. It takes some time after you've made a valid request for Feature Store to update the feature group.
sourcepub fn set_feature_additions(
self,
input: Option<Vec<FeatureDefinition>>
) -> Self
pub fn set_feature_additions( self, input: Option<Vec<FeatureDefinition>> ) -> Self
Updates the feature group. Updating a feature group is an asynchronous operation. When you get an HTTP 200 response, you've made a valid request. It takes some time after you've made a valid request for Feature Store to update the feature group.
sourcepub fn get_feature_additions(&self) -> &Option<Vec<FeatureDefinition>>
pub fn get_feature_additions(&self) -> &Option<Vec<FeatureDefinition>>
Updates the feature group. Updating a feature group is an asynchronous operation. When you get an HTTP 200 response, you've made a valid request. It takes some time after you've made a valid request for Feature Store to update the feature group.
sourcepub fn online_store_config(self, input: OnlineStoreConfigUpdate) -> Self
pub fn online_store_config(self, input: OnlineStoreConfigUpdate) -> Self
Updates the feature group online store configuration.
sourcepub fn set_online_store_config(
self,
input: Option<OnlineStoreConfigUpdate>
) -> Self
pub fn set_online_store_config( self, input: Option<OnlineStoreConfigUpdate> ) -> Self
Updates the feature group online store configuration.
sourcepub fn get_online_store_config(&self) -> &Option<OnlineStoreConfigUpdate>
pub fn get_online_store_config(&self) -> &Option<OnlineStoreConfigUpdate>
Updates the feature group online store configuration.
Trait Implementations§
source§impl Clone for UpdateFeatureGroupFluentBuilder
impl Clone for UpdateFeatureGroupFluentBuilder
source§fn clone(&self) -> UpdateFeatureGroupFluentBuilder
fn clone(&self) -> UpdateFeatureGroupFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more