aws_sdk_opensearchmemory/client/batch_get_event.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 [`BatchGetEvent`](crate::operation::batch_get_event::builders::BatchGetEventFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`space_id(impl Into<String>)`](crate::operation::batch_get_event::builders::BatchGetEventFluentBuilder::space_id) / [`set_space_id(Option<String>)`](crate::operation::batch_get_event::builders::BatchGetEventFluentBuilder::set_space_id):<br>required: **true**<br><p>The ID of the space.</p><br>
7 /// - [`actor_id(impl Into<String>)`](crate::operation::batch_get_event::builders::BatchGetEventFluentBuilder::actor_id) / [`set_actor_id(Option<String>)`](crate::operation::batch_get_event::builders::BatchGetEventFluentBuilder::set_actor_id):<br>required: **false**<br><p>The actor that every requested event must belong to. Omit it to skip this check. The operation reports an event that doesn't match in <code>errors</code> as <code>RESOURCE_NOT_FOUND</code>.</p><br>
8 /// - [`session_id(impl Into<String>)`](crate::operation::batch_get_event::builders::BatchGetEventFluentBuilder::session_id) / [`set_session_id(Option<String>)`](crate::operation::batch_get_event::builders::BatchGetEventFluentBuilder::set_session_id):<br>required: **false**<br><p>The session that every requested event must belong to. Omit it to skip this check. The operation reports an event that doesn't match in <code>errors</code> as <code>RESOURCE_NOT_FOUND</code>.</p><br>
9 /// - [`event_ids(impl Into<String>)`](crate::operation::batch_get_event::builders::BatchGetEventFluentBuilder::event_ids) / [`set_event_ids(Option<Vec::<String>>)`](crate::operation::batch_get_event::builders::BatchGetEventFluentBuilder::set_event_ids):<br>required: **true**<br><p>The IDs of the events to get: 1 to 10, without duplicates.</p><br>
10 /// - On success, responds with [`BatchGetEventOutput`](crate::operation::batch_get_event::BatchGetEventOutput) with field(s):
11 /// - [`events(Vec::<Event>)`](crate::operation::batch_get_event::BatchGetEventOutput::events): <p>The events found, in the order that you requested their IDs.</p>
12 /// - [`errors(Vec::<BatchGetEventError>)`](crate::operation::batch_get_event::BatchGetEventOutput::errors): <p>An entry for each requested event that the call didn't return. Empty when the call returned every event.</p>
13 /// - On failure, responds with [`SdkError<BatchGetEventError>`](crate::operation::batch_get_event::BatchGetEventError)
14 pub fn batch_get_event(&self) -> crate::operation::batch_get_event::builders::BatchGetEventFluentBuilder {
15 crate::operation::batch_get_event::builders::BatchGetEventFluentBuilder::new(self.handle.clone())
16 }
17}