aws-sdk-sagemakerfeaturestoreruntime 1.105.0

AWS SDK for Amazon SageMaker Feature Store Runtime
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`BatchWriteRecord`](crate::operation::batch_write_record::builders::BatchWriteRecordFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`entries(BatchWriteRecordEntry)`](crate::operation::batch_write_record::builders::BatchWriteRecordFluentBuilder::entries) / [`set_entries(Option<Vec::<BatchWriteRecordEntry>>)`](crate::operation::batch_write_record::builders::BatchWriteRecordFluentBuilder::set_entries):<br>required: **true**<br><p>A list of records to write. Each entry specifies the <code>FeatureGroup</code>, the record data, and optionally target stores and a TTL duration.</p><br>
    ///   - [`ttl_duration(TtlDuration)`](crate::operation::batch_write_record::builders::BatchWriteRecordFluentBuilder::ttl_duration) / [`set_ttl_duration(Option<TtlDuration>)`](crate::operation::batch_write_record::builders::BatchWriteRecordFluentBuilder::set_ttl_duration):<br>required: **false**<br><p>Time to live duration applied to all entries in the batch that do not specify their own <code>TtlDuration</code>; <code>ExpiresAt</code> = <code>EventTime</code> + <code>TtlDuration</code>. For information on HardDelete, see the <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_feature_store_DeleteRecord.html">DeleteRecord</a> API in the Amazon SageMaker API Reference guide.</p><br>
    /// - On success, responds with [`BatchWriteRecordOutput`](crate::operation::batch_write_record::BatchWriteRecordOutput) with field(s):
    ///   - [`errors(Option<Vec::<BatchWriteRecordError>>)`](crate::operation::batch_write_record::BatchWriteRecordOutput::errors): <p>A list of errors that occurred when writing records in the batch.</p>
    ///   - [`unprocessed_entries(Option<Vec::<BatchWriteRecordEntry>>)`](crate::operation::batch_write_record::BatchWriteRecordOutput::unprocessed_entries): <p>A list of entries that were not processed. These entries can be retried.</p>
    /// - On failure, responds with [`SdkError<BatchWriteRecordError>`](crate::operation::batch_write_record::BatchWriteRecordError)
    pub fn batch_write_record(&self) -> crate::operation::batch_write_record::builders::BatchWriteRecordFluentBuilder {
        crate::operation::batch_write_record::builders::BatchWriteRecordFluentBuilder::new(self.handle.clone())
    }
}