[−][src]Enum rusoto_dynamodbstreams::GetShardIteratorError
Errors returned by GetShardIterator
Variants
InternalServerError(String)
An error occurred on the server side.
ResourceNotFound(String)
The operation tried to access a nonexistent stream.
TrimmedDataAccess(String)
The operation attempted to read past the oldest stream record in a shard.
In DynamoDB Streams, there is a 24 hour limit on data retention. Stream records whose age exceeds this limit are subject to removal (trimming) from the stream. You might receive a TrimmedDataAccessException if:
You request a shard iterator with a sequence number older than the trim point (24 hours).
You obtain a shard iterator, but before you use the iterator in a
GetRecords
request, a stream record in the shard exceeds the 24 hour period and is trimmed. This causes the iterator to access a record that no longer exists.
Methods
impl GetShardIteratorError
[src]
pub fn from_response(
res: BufferedHttpResponse
) -> RusotoError<GetShardIteratorError>
[src]
res: BufferedHttpResponse
) -> RusotoError<GetShardIteratorError>
Trait Implementations
impl PartialEq<GetShardIteratorError> for GetShardIteratorError
[src]
fn eq(&self, other: &GetShardIteratorError) -> bool
[src]
fn ne(&self, other: &GetShardIteratorError) -> bool
[src]
impl Debug for GetShardIteratorError
[src]
impl Display for GetShardIteratorError
[src]
impl Error for GetShardIteratorError
[src]
fn description(&self) -> &str
[src]
fn cause(&self) -> Option<&dyn Error>
1.0.0[src]
replaced by Error::source, which can support downcasting
The lower-level cause of this error, if any. Read more
fn source(&self) -> Option<&(dyn Error + 'static)>
1.30.0[src]
The lower-level source of this error, if any. Read more
Auto Trait Implementations
impl Send for GetShardIteratorError
impl Sync for GetShardIteratorError
Blanket Implementations
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T> From for T
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom for T where
T: From<U>,
[src]
T: From<U>,
type Error = !
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
fn get_type_id(&self) -> TypeId
[src]
impl<T> Erased for T
impl<T> Same for T
type Output = T
Should always be Self