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 ==
.