aws_sdk_clouddirectory/client/batch_read.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 [`BatchRead`](crate::operation::batch_read::builders::BatchReadFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`directory_arn(impl Into<String>)`](crate::operation::batch_read::builders::BatchReadFluentBuilder::directory_arn) / [`set_directory_arn(Option<String>)`](crate::operation::batch_read::builders::BatchReadFluentBuilder::set_directory_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) that is associated with the <code>Directory</code>. For more information, see <code>arns</code>.</p><br>
7 /// - [`operations(BatchReadOperation)`](crate::operation::batch_read::builders::BatchReadFluentBuilder::operations) / [`set_operations(Option<Vec::<BatchReadOperation>>)`](crate::operation::batch_read::builders::BatchReadFluentBuilder::set_operations):<br>required: **true**<br><p>A list of operations that are part of the batch.</p><br>
8 /// - [`consistency_level(ConsistencyLevel)`](crate::operation::batch_read::builders::BatchReadFluentBuilder::consistency_level) / [`set_consistency_level(Option<ConsistencyLevel>)`](crate::operation::batch_read::builders::BatchReadFluentBuilder::set_consistency_level):<br>required: **false**<br><p>Represents the manner and timing in which the successful write or update of an object is reflected in a subsequent read operation of that same object.</p><br>
9 /// - On success, responds with [`BatchReadOutput`](crate::operation::batch_read::BatchReadOutput) with field(s):
10 /// - [`responses(Option<Vec::<BatchReadOperationResponse>>)`](crate::operation::batch_read::BatchReadOutput::responses): <p>A list of all the responses for each batch read.</p>
11 /// - On failure, responds with [`SdkError<BatchReadError>`](crate::operation::batch_read::BatchReadError)
12 pub fn batch_read(&self) -> crate::operation::batch_read::builders::BatchReadFluentBuilder {
13 crate::operation::batch_read::builders::BatchReadFluentBuilder::new(self.handle.clone())
14 }
15}