Enum rusoto_dynamodbstreams::GetRecordsError[][src]

pub enum GetRecordsError {
    ExpiredIterator(String),
    InternalServerError(String),
    LimitExceeded(String),
    ResourceNotFound(String),
    TrimmedDataAccess(String),
    HttpDispatch(HttpDispatchError),
    Credentials(CredentialsError),
    Validation(String),
    Unknown(String),
}

Errors returned by GetRecords

Variants

The shard iterator has expired and can no longer be used to retrieve stream records. A shard iterator expires 15 minutes after it is retrieved using the GetShardIterator action.

An error occurred on the server side.

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.

The operation tried to access a nonexistent stream.

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.

An error occurred dispatching the HTTP request

An error was encountered with AWS credentials.

A validation error occurred. Details from AWS are provided.

An unknown error occurred. The raw HTTP response is provided.

Methods

impl GetRecordsError
[src]

Trait Implementations

impl Debug for GetRecordsError
[src]

Formats the value using the given formatter. Read more

impl PartialEq for GetRecordsError
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl From<Error> for GetRecordsError
[src]

Performs the conversion.

impl From<CredentialsError> for GetRecordsError
[src]

Performs the conversion.

impl From<HttpDispatchError> for GetRecordsError
[src]

Performs the conversion.

impl From<Error> for GetRecordsError
[src]

Performs the conversion.

impl Display for GetRecordsError
[src]

Formats the value using the given formatter. Read more

impl Error for GetRecordsError
[src]

This method is soft-deprecated. Read more

The lower-level cause of this error, if any. Read more

Auto Trait Implementations