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]
impl PutItemError
pub fn from_body(body: &str) -> PutItemError
[src]
pub fn from_body(body: &str) -> PutItemError
Trait Implementations
impl Debug for PutItemError
[src]
impl Debug for PutItemError
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for PutItemError
[src]
impl PartialEq for PutItemError
fn eq(&self, other: &PutItemError) -> bool
[src]
fn eq(&self, other: &PutItemError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &PutItemError) -> bool
[src]
fn ne(&self, other: &PutItemError) -> bool
This method tests for !=
.
impl From<Error> for PutItemError
[src]
impl From<Error> for PutItemError
fn from(err: Error) -> PutItemError
[src]
fn from(err: Error) -> PutItemError
Performs the conversion.
impl From<CredentialsError> for PutItemError
[src]
impl From<CredentialsError> for PutItemError
fn from(err: CredentialsError) -> PutItemError
[src]
fn from(err: CredentialsError) -> PutItemError
Performs the conversion.
impl From<HttpDispatchError> for PutItemError
[src]
impl From<HttpDispatchError> for PutItemError
fn from(err: HttpDispatchError) -> PutItemError
[src]
fn from(err: HttpDispatchError) -> PutItemError
Performs the conversion.
impl From<Error> for PutItemError
[src]
impl From<Error> for PutItemError
fn from(err: Error) -> PutItemError
[src]
fn from(err: Error) -> PutItemError
Performs the conversion.
impl Display for PutItemError
[src]
impl Display for PutItemError
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Error for PutItemError
[src]
impl Error for PutItemError
Auto Trait Implementations
impl Send for PutItemError
impl Send for PutItemError
impl Sync for PutItemError
impl Sync for PutItemError