Enum rusoto_dynamodb::PutItemError
[−]
[src]
pub enum PutItemError { ConditionalCheckFailed(String), InternalServerError(String), ItemCollectionSizeLimitExceeded(String), ProvisionedThroughputExceeded(String), ResourceNotFound(String), HttpDispatch(HttpDispatchError), Credentials(CredentialsError), Validation(String), Unknown(String), }
Errors returned by PutItem
Variants
ConditionalCheckFailed(String)
A condition specified in the operation could not be evaluated.
InternalServerError(String)
An error occurred on the server side.
ItemCollectionSizeLimitExceeded(String)
An item collection is too large. This exception is only returned for tables that have one or more local secondary indexes.
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 PutItemError
[src]
fn from_body(body: &str) -> PutItemError
Trait Implementations
impl Debug for PutItemError
[src]
impl PartialEq for PutItemError
[src]
fn eq(&self, __arg_0: &PutItemError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &PutItemError) -> bool
This method tests for !=
.
impl From<Error> for PutItemError
[src]
fn from(err: Error) -> PutItemError
Performs the conversion.
impl From<CredentialsError> for PutItemError
[src]
fn from(err: CredentialsError) -> PutItemError
Performs the conversion.
impl From<HttpDispatchError> for PutItemError
[src]
fn from(err: HttpDispatchError) -> PutItemError
Performs the conversion.