pub struct BatchWriteFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to BatchWrite.
Performs all the write operations in a batch. Either all the operations succeed or none.
Implementations§
source§impl BatchWriteFluentBuilder
impl BatchWriteFluentBuilder
sourcepub fn as_input(&self) -> &BatchWriteInputBuilder
pub fn as_input(&self) -> &BatchWriteInputBuilder
Access the BatchWrite as a reference.
sourcepub async fn send(
self
) -> Result<BatchWriteOutput, SdkError<BatchWriteError, HttpResponse>>
pub async fn send( self ) -> Result<BatchWriteOutput, SdkError<BatchWriteError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<BatchWriteOutput, BatchWriteError, Self>
pub fn customize( self ) -> CustomizableOperation<BatchWriteOutput, BatchWriteError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn directory_arn(self, input: impl Into<String>) -> Self
pub fn directory_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) that is associated with the Directory. For more information, see arns.
sourcepub fn set_directory_arn(self, input: Option<String>) -> Self
pub fn set_directory_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) that is associated with the Directory. For more information, see arns.
sourcepub fn get_directory_arn(&self) -> &Option<String>
pub fn get_directory_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) that is associated with the Directory. For more information, see arns.
sourcepub fn operations(self, input: BatchWriteOperation) -> Self
pub fn operations(self, input: BatchWriteOperation) -> Self
Appends an item to Operations.
To override the contents of this collection use set_operations.
A list of operations that are part of the batch.
sourcepub fn set_operations(self, input: Option<Vec<BatchWriteOperation>>) -> Self
pub fn set_operations(self, input: Option<Vec<BatchWriteOperation>>) -> Self
A list of operations that are part of the batch.
sourcepub fn get_operations(&self) -> &Option<Vec<BatchWriteOperation>>
pub fn get_operations(&self) -> &Option<Vec<BatchWriteOperation>>
A list of operations that are part of the batch.
Trait Implementations§
source§impl Clone for BatchWriteFluentBuilder
impl Clone for BatchWriteFluentBuilder
source§fn clone(&self) -> BatchWriteFluentBuilder
fn clone(&self) -> BatchWriteFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more