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 [`PutEvents`](crate::operation::put_events::builders::PutEventsFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`entries(Vec<PutEventsRequestEntry>)`](crate::operation::put_events::builders::PutEventsFluentBuilder::entries) / [`set_entries(Option<Vec<PutEventsRequestEntry>>)`](crate::operation::put_events::builders::PutEventsFluentBuilder::set_entries): <p>The entry that defines an event in your system. You can specify several parameters for the entry such as the source and type of the event, resources associated with the event, and so on.</p>
/// - [`endpoint_id(impl Into<String>)`](crate::operation::put_events::builders::PutEventsFluentBuilder::endpoint_id) / [`set_endpoint_id(Option<String>)`](crate::operation::put_events::builders::PutEventsFluentBuilder::set_endpoint_id): <p>The URL subdomain of the endpoint. For example, if the URL for Endpoint is abcde.veo.endpoints.event.amazonaws.com, then the EndpointId is <code>abcde.veo</code>.</p> <important> <p>When using Java, you must include <code>auth-crt</code> on the class path.</p> </important>
/// - On success, responds with [`PutEventsOutput`](crate::operation::put_events::PutEventsOutput) with field(s):
/// - [`failed_entry_count(i32)`](crate::operation::put_events::PutEventsOutput::failed_entry_count): <p>The number of failed entries.</p>
/// - [`entries(Option<Vec<PutEventsResultEntry>>)`](crate::operation::put_events::PutEventsOutput::entries): <p>The successfully and unsuccessfully ingested events results. If the ingestion was successful, the entry has the event ID in it. Otherwise, you can use the error code and error message to identify the problem with the entry.</p>
/// - On failure, responds with [`SdkError<PutEventsError>`](crate::operation::put_events::PutEventsError)
pub fn put_events(&self) -> crate::operation::put_events::builders::PutEventsFluentBuilder {
crate::operation::put_events::builders::PutEventsFluentBuilder::new(self.handle.clone())
}
}