aws-sdk-opensearchmemory 1.0.0

AWS SDK for Amazon OpenSearch Memory
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`BatchGetEvent`](crate::operation::batch_get_event::builders::BatchGetEventFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`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>
    ///   - [`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>
    ///   - [`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>
    ///   - [`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>
    /// - On success, responds with [`BatchGetEventOutput`](crate::operation::batch_get_event::BatchGetEventOutput) with field(s):
    ///   - [`events(Vec::<Event>)`](crate::operation::batch_get_event::BatchGetEventOutput::events): <p>The events found, in the order that you requested their IDs.</p>
    ///   - [`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>
    /// - On failure, responds with [`SdkError<BatchGetEventError>`](crate::operation::batch_get_event::BatchGetEventError)
    pub fn batch_get_event(&self) -> crate::operation::batch_get_event::builders::BatchGetEventFluentBuilder {
        crate::operation::batch_get_event::builders::BatchGetEventFluentBuilder::new(self.handle.clone())
    }
}