Enum aws_sdk_dynamodb::error::ExecuteStatementErrorKind [−][src]
#[non_exhaustive]
pub enum ExecuteStatementErrorKind {
ConditionalCheckFailedException(ConditionalCheckFailedException),
DuplicateItemException(DuplicateItemException),
InternalServerError(InternalServerError),
ItemCollectionSizeLimitExceededException(ItemCollectionSizeLimitExceededException),
ProvisionedThroughputExceededException(ProvisionedThroughputExceededException),
RequestLimitExceeded(RequestLimitExceeded),
ResourceNotFoundException(ResourceNotFoundException),
TransactionConflictException(TransactionConflictException),
Unhandled(Box<dyn Error + Send + Sync + 'static>),
}
Expand description
Types of errors that can occur for the ExecuteStatement
operation.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
ConditionalCheckFailedException(ConditionalCheckFailedException)
A condition specified in the operation could not be evaluated.
Tuple Fields of ConditionalCheckFailedException
DuplicateItemException(DuplicateItemException)
There was an attempt to insert an item with the same primary key as an item that already exists in the DynamoDB table.
Tuple Fields of DuplicateItemException
InternalServerError(InternalServerError)
An error occurred on the server side.
Tuple Fields of InternalServerError
ItemCollectionSizeLimitExceededException(ItemCollectionSizeLimitExceededException)
An item collection is too large. This exception is only returned for tables that have one or more local secondary indexes.
Tuple Fields of ItemCollectionSizeLimitExceededException
ProvisionedThroughputExceededException(ProvisionedThroughputExceededException)
Your request rate is too high. The AWS SDKs for DynamoDB automatically retry requests that receive this exception. Your request is eventually successful, unless your retry queue is too large to finish. Reduce the frequency of requests and use exponential backoff. For more information, go to Error Retries and Exponential Backoff in the Amazon DynamoDB Developer Guide.
Tuple Fields of ProvisionedThroughputExceededException
RequestLimitExceeded(RequestLimitExceeded)
Throughput exceeds the current throughput quota for your account. Please contact AWS Support at AWS Support to request a quota increase.
Tuple Fields of RequestLimitExceeded
ResourceNotFoundException(ResourceNotFoundException)
The operation tried to access a nonexistent table or index. The resource might not be specified
correctly, or its status might not be ACTIVE
.
Tuple Fields of ResourceNotFoundException
TransactionConflictException(TransactionConflictException)
Operation was rejected because there is an ongoing transaction for the item.
Tuple Fields of TransactionConflictException
An unexpected error, eg. invalid JSON returned by the service or an unknown error code
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for ExecuteStatementErrorKind
impl Send for ExecuteStatementErrorKind
impl Sync for ExecuteStatementErrorKind
impl Unpin for ExecuteStatementErrorKind
impl !UnwindSafe for ExecuteStatementErrorKind
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