Struct aws_sdk_dynamodb::client::fluent_builders::ExecuteStatement [−][src]
pub struct ExecuteStatement<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to ExecuteStatement
.
This operation allows you to perform reads and singleton writes on data stored in DynamoDB, using PartiQL.
Implementations
impl<C, M, R> ExecuteStatement<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> ExecuteStatement<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<ExecuteStatementOutput, SdkError<ExecuteStatementError>> where
R::Policy: SmithyRetryPolicy<ExecuteStatementInputOperationOutputAlias, ExecuteStatementOutput, ExecuteStatementError, ExecuteStatementInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<ExecuteStatementOutput, SdkError<ExecuteStatementError>> where
R::Policy: SmithyRetryPolicy<ExecuteStatementInputOperationOutputAlias, ExecuteStatementOutput, ExecuteStatementError, ExecuteStatementInputOperationRetryAlias>,
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.
The PartiQL statement representing the operation to run.
The PartiQL statement representing the operation to run.
Appends an item to Parameters
.
To override the contents of this collection use set_parameters
.
The parameters for the PartiQL statement, if any.
The parameters for the PartiQL statement, if any.
The consistency of a read operation. If set to true
, then a strongly consistent read is used; otherwise, an eventually consistent read is used.
The consistency of a read operation. If set to true
, then a strongly consistent read is used; otherwise, an eventually consistent read is used.
Set this value to get remaining results, if NextToken
was returned in the statement response.
Set this value to get remaining results, if NextToken
was returned in the statement response.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for ExecuteStatement<C, M, R>
impl<C, M, R> Send for ExecuteStatement<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for ExecuteStatement<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for ExecuteStatement<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for ExecuteStatement<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more