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. To remove the default TtlDuration from an existing feature group, use the UpdateFeatureGroup API and set the TtlDuration Unit and Value to null.
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.
sourcepub fn throughput_config(self, input: ThroughputConfigUpdate) -> Self
pub fn throughput_config(self, input: ThroughputConfigUpdate) -> Self
The new throughput configuration for the feature group. You can switch between on-demand and provisioned modes or update the read / write capacity of provisioned feature groups. You can switch a feature group to on-demand only once in a 24 hour period.
sourcepub fn set_throughput_config(
self,
input: Option<ThroughputConfigUpdate>,
) -> Self
pub fn set_throughput_config( self, input: Option<ThroughputConfigUpdate>, ) -> Self
The new throughput configuration for the feature group. You can switch between on-demand and provisioned modes or update the read / write capacity of provisioned feature groups. You can switch a feature group to on-demand only once in a 24 hour period.
sourcepub fn get_throughput_config(&self) -> &Option<ThroughputConfigUpdate>
pub fn get_throughput_config(&self) -> &Option<ThroughputConfigUpdate>
The new throughput configuration for the feature group. You can switch between on-demand and provisioned modes or update the read / write capacity of provisioned feature groups. You can switch a feature group to on-demand only once in a 24 hour period.
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 moreAuto Trait Implementations§
impl Freeze for UpdateFeatureGroupFluentBuilder
impl !RefUnwindSafe for UpdateFeatureGroupFluentBuilder
impl Send for UpdateFeatureGroupFluentBuilder
impl Sync for UpdateFeatureGroupFluentBuilder
impl Unpin for UpdateFeatureGroupFluentBuilder
impl !UnwindSafe for UpdateFeatureGroupFluentBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more