pub struct DeleteRecord { /* private fields */ }
Expand description
Fluent builder constructing a request to DeleteRecord
.
Deletes a Record
from a FeatureGroup
. When the DeleteRecord
API is called a new record will be added to the OfflineStore
and the Record
will be removed from the OnlineStore
. This record will have a value of True
in the is_deleted
column.
Implementations§
source§impl DeleteRecord
impl DeleteRecord
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<DeleteRecord, AwsResponseRetryClassifier>, SdkError<DeleteRecordError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<DeleteRecord, AwsResponseRetryClassifier>, SdkError<DeleteRecordError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<DeleteRecordOutput, SdkError<DeleteRecordError>>
pub async fn send(
self
) -> Result<DeleteRecordOutput, SdkError<DeleteRecordError>>
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 feature_group_name(self, input: impl Into<String>) -> Self
pub fn feature_group_name(self, input: impl Into<String>) -> Self
The name of the feature group to delete the record from.
sourcepub fn set_feature_group_name(self, input: Option<String>) -> Self
pub fn set_feature_group_name(self, input: Option<String>) -> Self
The name of the feature group to delete the record from.
sourcepub fn record_identifier_value_as_string(self, input: impl Into<String>) -> Self
pub fn record_identifier_value_as_string(self, input: impl Into<String>) -> Self
The value for the RecordIdentifier
that uniquely identifies the record, in string format.
sourcepub fn set_record_identifier_value_as_string(self, input: Option<String>) -> Self
pub fn set_record_identifier_value_as_string(self, input: Option<String>) -> Self
The value for the RecordIdentifier
that uniquely identifies the record, in string format.
sourcepub fn event_time(self, input: impl Into<String>) -> Self
pub fn event_time(self, input: impl Into<String>) -> Self
Timestamp indicating when the deletion event occurred. EventTime
can be used to query data at a certain point in time.
sourcepub fn set_event_time(self, input: Option<String>) -> Self
pub fn set_event_time(self, input: Option<String>) -> Self
Timestamp indicating when the deletion event occurred. EventTime
can be used to query data at a certain point in time.
sourcepub fn target_stores(self, input: TargetStore) -> Self
pub fn target_stores(self, input: TargetStore) -> Self
Appends an item to TargetStores
.
To override the contents of this collection use set_target_stores
.
A list of stores from which you're deleting the record. By default, Feature Store deletes the record from all of the stores that you're using for the FeatureGroup
.
sourcepub fn set_target_stores(self, input: Option<Vec<TargetStore>>) -> Self
pub fn set_target_stores(self, input: Option<Vec<TargetStore>>) -> Self
A list of stores from which you're deleting the record. By default, Feature Store deletes the record from all of the stores that you're using for the FeatureGroup
.
Trait Implementations§
source§impl Clone for DeleteRecord
impl Clone for DeleteRecord
source§fn clone(&self) -> DeleteRecord
fn clone(&self) -> DeleteRecord
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more