aws_sdk_sagemakerfeaturestoreruntime/client/delete_record.rs
1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3 /// Constructs a fluent builder for the [`DeleteRecord`](crate::operation::delete_record::builders::DeleteRecordFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`feature_group_name(impl Into<String>)`](crate::operation::delete_record::builders::DeleteRecordFluentBuilder::feature_group_name) / [`set_feature_group_name(Option<String>)`](crate::operation::delete_record::builders::DeleteRecordFluentBuilder::set_feature_group_name):<br>required: **true**<br><p>The name or Amazon Resource Name (ARN) of the feature group to delete the record from.</p><br>
7 /// - [`record_identifier_value_as_string(impl Into<String>)`](crate::operation::delete_record::builders::DeleteRecordFluentBuilder::record_identifier_value_as_string) / [`set_record_identifier_value_as_string(Option<String>)`](crate::operation::delete_record::builders::DeleteRecordFluentBuilder::set_record_identifier_value_as_string):<br>required: **true**<br><p>The value for the <code>RecordIdentifier</code> that uniquely identifies the record, in string format.</p><br>
8 /// - [`event_time(impl Into<String>)`](crate::operation::delete_record::builders::DeleteRecordFluentBuilder::event_time) / [`set_event_time(Option<String>)`](crate::operation::delete_record::builders::DeleteRecordFluentBuilder::set_event_time):<br>required: **true**<br><p>Timestamp indicating when the deletion event occurred. <code>EventTime</code> can be used to query data at a certain point in time.</p><br>
9 /// - [`target_stores(TargetStore)`](crate::operation::delete_record::builders::DeleteRecordFluentBuilder::target_stores) / [`set_target_stores(Option<Vec::<TargetStore>>)`](crate::operation::delete_record::builders::DeleteRecordFluentBuilder::set_target_stores):<br>required: **false**<br><p>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 <code>FeatureGroup</code>.</p><br>
10 /// - [`deletion_mode(DeletionMode)`](crate::operation::delete_record::builders::DeleteRecordFluentBuilder::deletion_mode) / [`set_deletion_mode(Option<DeletionMode>)`](crate::operation::delete_record::builders::DeleteRecordFluentBuilder::set_deletion_mode):<br>required: **false**<br><p>The name of the deletion mode for deleting the record. By default, the deletion mode is set to <code>SoftDelete</code>.</p><br>
11 /// - On success, responds with [`DeleteRecordOutput`](crate::operation::delete_record::DeleteRecordOutput)
12 /// - On failure, responds with [`SdkError<DeleteRecordError>`](crate::operation::delete_record::DeleteRecordError)
13 pub fn delete_record(&self) -> crate::operation::delete_record::builders::DeleteRecordFluentBuilder {
14 crate::operation::delete_record::builders::DeleteRecordFluentBuilder::new(self.handle.clone())
15 }
16}