Enum rusoto_dynamodb::ScanError
[−]
[src]
pub enum ScanError { InternalServerError(String), ProvisionedThroughputExceeded(String), ResourceNotFound(String), HttpDispatch(HttpDispatchError), Credentials(CredentialsError), Validation(String), Unknown(String), }
Errors returned by Scan
Variants
InternalServerError(String)
An error occurred on the server side.
ProvisionedThroughputExceeded(String)
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.
ResourceNotFound(String)
The operation tried to access a nonexistent table or index. The resource might not be specified correctly, or its status might not be ACTIVE
.
HttpDispatch(HttpDispatchError)
An error occurred dispatching the HTTP request
Credentials(CredentialsError)
An error was encountered with AWS credentials.
Validation(String)
A validation error occurred. Details from AWS are provided.
Unknown(String)
An unknown error occurred. The raw HTTP response is provided.
Methods
impl ScanError
[src]
Trait Implementations
impl Debug for ScanError
[src]
impl PartialEq for ScanError
[src]
fn eq(&self, __arg_0: &ScanError) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &ScanError) -> bool
[src]
This method tests for !=
.
impl From<Error> for ScanError
[src]
impl From<CredentialsError> for ScanError
[src]
impl From<HttpDispatchError> for ScanError
[src]
fn from(err: HttpDispatchError) -> ScanError
[src]
Performs the conversion.
impl From<Error> for ScanError
[src]
impl Display for ScanError
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more