Enum aws_sdk_dynamodb::error::QueryErrorKind [−][src]
#[non_exhaustive]
pub enum QueryErrorKind {
InternalServerError(InternalServerError),
InvalidEndpointException(InvalidEndpointException),
ProvisionedThroughputExceededException(ProvisionedThroughputExceededException),
RequestLimitExceeded(RequestLimitExceeded),
ResourceNotFoundException(ResourceNotFoundException),
Unhandled(Box<dyn Error + Send + Sync + 'static>),
}
Expand description
Types of errors that can occur for the Query
operation.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
InternalServerError(InternalServerError)
An error occurred on the server side.
Tuple Fields of InternalServerError
InvalidEndpointException(InvalidEndpointException)
Tuple Fields of InvalidEndpointException
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
An unexpected error, e.g. invalid JSON returned by the service or an unknown error code
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for QueryErrorKind
impl Send for QueryErrorKind
impl Sync for QueryErrorKind
impl Unpin for QueryErrorKind
impl !UnwindSafe for QueryErrorKind
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