1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`PutRecord`](crate::operation::put_record::builders::PutRecordFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`feature_group_name(impl Into<String>)`](crate::operation::put_record::builders::PutRecordFluentBuilder::feature_group_name) / [`set_feature_group_name(Option<String>)`](crate::operation::put_record::builders::PutRecordFluentBuilder::set_feature_group_name): <p>The name of the feature group that you want to insert the record into.</p>
    ///   - [`record(Vec<FeatureValue>)`](crate::operation::put_record::builders::PutRecordFluentBuilder::record) / [`set_record(Option<Vec<FeatureValue>>)`](crate::operation::put_record::builders::PutRecordFluentBuilder::set_record): <p>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:</p>  <ul>   <li> <p>Use <code>GetRecord</code> to retrieve the latest record.</p> </li>   <li> <p>Update the record returned from <code>GetRecord</code>. </p> </li>   <li> <p>Use <code>PutRecord</code> to update feature values.</p> </li>  </ul>
    ///   - [`target_stores(Vec<TargetStore>)`](crate::operation::put_record::builders::PutRecordFluentBuilder::target_stores) / [`set_target_stores(Option<Vec<TargetStore>>)`](crate::operation::put_record::builders::PutRecordFluentBuilder::set_target_stores): <p>A list of stores to which you're adding the record. By default, Feature Store adds the record to all of the stores that you're using for the <code>FeatureGroup</code>.</p>
    /// - On success, responds with [`PutRecordOutput`](crate::operation::put_record::PutRecordOutput)
    /// - On failure, responds with [`SdkError<PutRecordError>`](crate::operation::put_record::PutRecordError)
    pub fn put_record(&self) -> crate::operation::put_record::builders::PutRecordFluentBuilder {
        crate::operation::put_record::builders::PutRecordFluentBuilder::new(self.handle.clone())
    }
}