// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`UpdateRecord`](crate::operation::update_record::builders::UpdateRecordFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`feature_group_name(impl Into<String>)`](crate::operation::update_record::builders::UpdateRecordFluentBuilder::feature_group_name) / [`set_feature_group_name(Option<String>)`](crate::operation::update_record::builders::UpdateRecordFluentBuilder::set_feature_group_name):<br>required: **true**<br><p>The identifier for the feature group that contains the record to update. You can specify one of the following:</p> <ul> <li> <p>The feature group name.</p></li> <li> <p>The feature group Amazon Resource Name (ARN).</p></li> </ul><br>
/// - [`record_identifier_value_as_string(impl Into<String>)`](crate::operation::update_record::builders::UpdateRecordFluentBuilder::record_identifier_value_as_string) / [`set_record_identifier_value_as_string(Option<String>)`](crate::operation::update_record::builders::UpdateRecordFluentBuilder::set_record_identifier_value_as_string):<br>required: **true**<br><p>The value that uniquely identifies the record in the feature group. This must match the value defined by the feature group's record identifier feature.</p><br>
/// - [`features(FeatureValue)`](crate::operation::update_record::builders::UpdateRecordFluentBuilder::features) / [`set_features(Option<Vec::<FeatureValue>>)`](crate::operation::update_record::builders::UpdateRecordFluentBuilder::set_features):<br>required: **true**<br><p>The feature values to write to the record.</p><br>
/// - [`target_stores(TargetStore)`](crate::operation::update_record::builders::UpdateRecordFluentBuilder::target_stores) / [`set_target_stores(Option<Vec::<TargetStore>>)`](crate::operation::update_record::builders::UpdateRecordFluentBuilder::set_target_stores):<br>required: **false**<br><p>The target stores for the record update. By default, Amazon SageMaker Feature Store updates the record in all stores associated with the <code>FeatureGroup</code>.</p><br>
/// - [`ttl_duration(TtlDuration)`](crate::operation::update_record::builders::UpdateRecordFluentBuilder::ttl_duration) / [`set_ttl_duration(Option<TtlDuration>)`](crate::operation::update_record::builders::UpdateRecordFluentBuilder::set_ttl_duration):<br>required: **false**<br><p>The time-to-live (TTL) duration for the record. Amazon SageMaker Feature Store deletes the record when <code>EventTime</code> + <code>TtlDuration</code> elapses. If you omit this parameter, the record's existing TTL setting remains unchanged. For information about <code>HardDelete</code>, see the <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_feature_store_DeleteRecord.html">DeleteRecord</a> operation in the Amazon SageMaker API Reference.</p><br>
/// - On success, responds with [`UpdateRecordOutput`](crate::operation::update_record::UpdateRecordOutput)
/// - On failure, responds with [`SdkError<UpdateRecordError>`](crate::operation::update_record::UpdateRecordError)
pub fn update_record(&self) -> crate::operation::update_record::builders::UpdateRecordFluentBuilder {
crate::operation::update_record::builders::UpdateRecordFluentBuilder::new(self.handle.clone())
}
}