// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`PutLogEvents`](crate::operation::put_log_events::builders::PutLogEventsFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`log_group_name(impl Into<String>)`](crate::operation::put_log_events::builders::PutLogEventsFluentBuilder::log_group_name) / [`set_log_group_name(Option<String>)`](crate::operation::put_log_events::builders::PutLogEventsFluentBuilder::set_log_group_name): <p>The name of the log group.</p>
/// - [`log_stream_name(impl Into<String>)`](crate::operation::put_log_events::builders::PutLogEventsFluentBuilder::log_stream_name) / [`set_log_stream_name(Option<String>)`](crate::operation::put_log_events::builders::PutLogEventsFluentBuilder::set_log_stream_name): <p>The name of the log stream.</p>
/// - [`log_events(Vec<InputLogEvent>)`](crate::operation::put_log_events::builders::PutLogEventsFluentBuilder::log_events) / [`set_log_events(Option<Vec<InputLogEvent>>)`](crate::operation::put_log_events::builders::PutLogEventsFluentBuilder::set_log_events): <p>The log events.</p>
/// - [`sequence_token(impl Into<String>)`](crate::operation::put_log_events::builders::PutLogEventsFluentBuilder::sequence_token) / [`set_sequence_token(Option<String>)`](crate::operation::put_log_events::builders::PutLogEventsFluentBuilder::set_sequence_token): <p>The sequence token obtained from the response of the previous <code>PutLogEvents</code> call.</p> <important> <p>The <code>sequenceToken</code> parameter is now ignored in <code>PutLogEvents</code> actions. <code>PutLogEvents</code> actions are now accepted and never return <code>InvalidSequenceTokenException</code> or <code>DataAlreadyAcceptedException</code> even if the sequence token is not valid.</p> </important>
/// - On success, responds with [`PutLogEventsOutput`](crate::operation::put_log_events::PutLogEventsOutput) with field(s):
/// - [`next_sequence_token(Option<String>)`](crate::operation::put_log_events::PutLogEventsOutput::next_sequence_token): <p>The next sequence token.</p> <important> <p>This field has been deprecated.</p> <p>The sequence token is now ignored in <code>PutLogEvents</code> actions. <code>PutLogEvents</code> actions are always accepted even if the sequence token is not valid. You can use parallel <code>PutLogEvents</code> actions on the same log stream and you do not need to wait for the response of a previous <code>PutLogEvents</code> action to obtain the <code>nextSequenceToken</code> value.</p> </important>
/// - [`rejected_log_events_info(Option<RejectedLogEventsInfo>)`](crate::operation::put_log_events::PutLogEventsOutput::rejected_log_events_info): <p>The rejected events.</p>
/// - On failure, responds with [`SdkError<PutLogEventsError>`](crate::operation::put_log_events::PutLogEventsError)
pub fn put_log_events(
&self,
) -> crate::operation::put_log_events::builders::PutLogEventsFluentBuilder {
crate::operation::put_log_events::builders::PutLogEventsFluentBuilder::new(
self.handle.clone(),
)
}
}