pub struct PutRecord { /* private fields */ }
Expand description
Fluent builder constructing a request to PutRecord
.
Used for data ingestion into the FeatureStore
. The PutRecord
API writes to both the OnlineStore
and OfflineStore
. If the record is the latest record for the recordIdentifier
, the record is written to both the OnlineStore
and OfflineStore
. If the record is a historic record, it is written only to the OfflineStore
.
Implementations§
source§impl PutRecord
impl PutRecord
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<PutRecord, AwsResponseRetryClassifier>, SdkError<PutRecordError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<PutRecord, AwsResponseRetryClassifier>, SdkError<PutRecordError>>
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<PutRecordOutput, SdkError<PutRecordError>>
pub async fn send(self) -> Result<PutRecordOutput, SdkError<PutRecordError>>
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 that you want to insert the record into.
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 that you want to insert the record into.
sourcepub fn record(self, input: FeatureValue) -> Self
pub fn record(self, input: FeatureValue) -> Self
Appends an item to Record
.
To override the contents of this collection use set_record
.
List of FeatureValues to be inserted. This will be a full over-write. If you only want to update few of the feature values, do the following:
-
Use
GetRecord
to retrieve the latest record. -
Update the record returned from
GetRecord
. -
Use
PutRecord
to update feature values.
sourcepub fn set_record(self, input: Option<Vec<FeatureValue>>) -> Self
pub fn set_record(self, input: Option<Vec<FeatureValue>>) -> Self
List of FeatureValues to be inserted. This will be a full over-write. If you only want to update few of the feature values, do the following:
-
Use
GetRecord
to retrieve the latest record. -
Update the record returned from
GetRecord
. -
Use
PutRecord
to update feature values.