aws_sdk_firehose/client/put_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 [`PutRecord`](crate::operation::put_record::builders::PutRecordFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`delivery_stream_name(impl Into<String>)`](crate::operation::put_record::builders::PutRecordFluentBuilder::delivery_stream_name) / [`set_delivery_stream_name(Option<String>)`](crate::operation::put_record::builders::PutRecordFluentBuilder::set_delivery_stream_name):<br>required: **true**<br><p>The name of the Firehose stream.</p><br>
7 /// - [`record(Record)`](crate::operation::put_record::builders::PutRecordFluentBuilder::record) / [`set_record(Option<Record>)`](crate::operation::put_record::builders::PutRecordFluentBuilder::set_record):<br>required: **true**<br><p>The record.</p><br>
8 /// - On success, responds with [`PutRecordOutput`](crate::operation::put_record::PutRecordOutput) with field(s):
9 /// - [`record_id(String)`](crate::operation::put_record::PutRecordOutput::record_id): <p>The ID of the record.</p>
10 /// - [`encrypted(Option<bool>)`](crate::operation::put_record::PutRecordOutput::encrypted): <p>Indicates whether server-side encryption (SSE) was enabled during this operation.</p>
11 /// - On failure, responds with [`SdkError<PutRecordError>`](crate::operation::put_record::PutRecordError)
12 pub fn put_record(&self) -> crate::operation::put_record::builders::PutRecordFluentBuilder {
13 crate::operation::put_record::builders::PutRecordFluentBuilder::new(self.handle.clone())
14 }
15}