pub enum GetItemError {
InternalServerError(String),
ProvisionedThroughputExceeded(String),
RequestLimitExceeded(String),
ResourceNotFound(String),
}
Expand description
Errors returned by GetItem
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.
RequestLimitExceeded(String)
Throughput exceeds the current throughput limit for your account. Please contact AWS Support at AWS Support to request a limit increase.
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
.
Implementations§
Source§impl GetItemError
impl GetItemError
pub fn from_response(res: BufferedHttpResponse) -> RusotoError<GetItemError>
Trait Implementations§
Source§impl Debug for GetItemError
impl Debug for GetItemError
Source§impl Display for GetItemError
impl Display for GetItemError
Source§impl Error for GetItemError
impl Error for GetItemError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl PartialEq for GetItemError
impl PartialEq for GetItemError
impl StructuralPartialEq for GetItemError
Auto Trait Implementations§
impl Freeze for GetItemError
impl RefUnwindSafe for GetItemError
impl Send for GetItemError
impl Sync for GetItemError
impl Unpin for GetItemError
impl UnwindSafe for GetItemError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more