aws_sdk_clouddirectory/client/batch_write.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 [`BatchWrite`](crate::operation::batch_write::builders::BatchWriteFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`directory_arn(impl Into<String>)`](crate::operation::batch_write::builders::BatchWriteFluentBuilder::directory_arn) / [`set_directory_arn(Option<String>)`](crate::operation::batch_write::builders::BatchWriteFluentBuilder::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(BatchWriteOperation)`](crate::operation::batch_write::builders::BatchWriteFluentBuilder::operations) / [`set_operations(Option<Vec::<BatchWriteOperation>>)`](crate::operation::batch_write::builders::BatchWriteFluentBuilder::set_operations):<br>required: **true**<br><p>A list of operations that are part of the batch.</p><br>
8 /// - On success, responds with [`BatchWriteOutput`](crate::operation::batch_write::BatchWriteOutput) with field(s):
9 /// - [`responses(Option<Vec::<BatchWriteOperationResponse>>)`](crate::operation::batch_write::BatchWriteOutput::responses): <p>A list of all the responses for each batch write.</p>
10 /// - On failure, responds with [`SdkError<BatchWriteError>`](crate::operation::batch_write::BatchWriteError)
11 pub fn batch_write(&self) -> crate::operation::batch_write::builders::BatchWriteFluentBuilder {
12 crate::operation::batch_write::builders::BatchWriteFluentBuilder::new(self.handle.clone())
13 }
14}