Struct aws_sdk_dynamodb::types::BatchStatementRequest
source · #[non_exhaustive]pub struct BatchStatementRequest {
pub statement: String,
pub parameters: Option<Vec<AttributeValue>>,
pub consistent_read: Option<bool>,
pub return_values_on_condition_check_failure: Option<ReturnValuesOnConditionCheckFailure>,
}
Expand description
A PartiQL batch statement request.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.statement: String
A valid PartiQL statement.
parameters: Option<Vec<AttributeValue>>
The parameters associated with a PartiQL statement in the batch request.
consistent_read: Option<bool>
The read consistency of the PartiQL batch request.
return_values_on_condition_check_failure: Option<ReturnValuesOnConditionCheckFailure>
An optional parameter that returns the item attributes for a PartiQL batch request operation that failed a condition check.
There is no additional cost associated with requesting a return value aside from the small network and processing overhead of receiving a larger response. No read capacity units are consumed.
Implementations§
source§impl BatchStatementRequest
impl BatchStatementRequest
sourcepub fn parameters(&self) -> &[AttributeValue]
pub fn parameters(&self) -> &[AttributeValue]
The parameters associated with a PartiQL statement in the batch request.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .parameters.is_none()
.
sourcepub fn consistent_read(&self) -> Option<bool>
pub fn consistent_read(&self) -> Option<bool>
The read consistency of the PartiQL batch request.
sourcepub fn return_values_on_condition_check_failure(
&self,
) -> Option<&ReturnValuesOnConditionCheckFailure>
pub fn return_values_on_condition_check_failure( &self, ) -> Option<&ReturnValuesOnConditionCheckFailure>
An optional parameter that returns the item attributes for a PartiQL batch request operation that failed a condition check.
There is no additional cost associated with requesting a return value aside from the small network and processing overhead of receiving a larger response. No read capacity units are consumed.
source§impl BatchStatementRequest
impl BatchStatementRequest
sourcepub fn builder() -> BatchStatementRequestBuilder
pub fn builder() -> BatchStatementRequestBuilder
Creates a new builder-style object to manufacture BatchStatementRequest
.
Trait Implementations§
source§impl Clone for BatchStatementRequest
impl Clone for BatchStatementRequest
source§fn clone(&self) -> BatchStatementRequest
fn clone(&self) -> BatchStatementRequest
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for BatchStatementRequest
impl Debug for BatchStatementRequest
source§impl PartialEq for BatchStatementRequest
impl PartialEq for BatchStatementRequest
source§fn eq(&self, other: &BatchStatementRequest) -> bool
fn eq(&self, other: &BatchStatementRequest) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for BatchStatementRequest
Auto Trait Implementations§
impl Freeze for BatchStatementRequest
impl RefUnwindSafe for BatchStatementRequest
impl Send for BatchStatementRequest
impl Sync for BatchStatementRequest
impl Unpin for BatchStatementRequest
impl UnwindSafe for BatchStatementRequest
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more