errors.go 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
  2. package dynamodbstreams
  3. const (
  4. // ErrCodeExpiredIteratorException for service response error code
  5. // "ExpiredIteratorException".
  6. //
  7. // The shard iterator has expired and can no longer be used to retrieve stream
  8. // records. A shard iterator expires 15 minutes after it is retrieved using
  9. // the GetShardIterator action.
  10. ErrCodeExpiredIteratorException = "ExpiredIteratorException"
  11. // ErrCodeInternalServerError for service response error code
  12. // "InternalServerError".
  13. //
  14. // An error occurred on the server side.
  15. ErrCodeInternalServerError = "InternalServerError"
  16. // ErrCodeLimitExceededException for service response error code
  17. // "LimitExceededException".
  18. //
  19. // Your request rate is too high. The AWS SDKs for DynamoDB automatically retry
  20. // requests that receive this exception. Your request is eventually successful,
  21. // unless your retry queue is too large to finish. Reduce the frequency of requests
  22. // and use exponential backoff. For more information, go to Error Retries and
  23. // Exponential Backoff (http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ErrorHandling.html#APIRetries)
  24. // in the Amazon DynamoDB Developer Guide.
  25. ErrCodeLimitExceededException = "LimitExceededException"
  26. // ErrCodeResourceNotFoundException for service response error code
  27. // "ResourceNotFoundException".
  28. //
  29. // The operation tried to access a nonexistent stream.
  30. ErrCodeResourceNotFoundException = "ResourceNotFoundException"
  31. // ErrCodeTrimmedDataAccessException for service response error code
  32. // "TrimmedDataAccessException".
  33. //
  34. // The operation attempted to read past the oldest stream record in a shard.
  35. //
  36. // In DynamoDB Streams, there is a 24 hour limit on data retention. Stream records
  37. // whose age exceeds this limit are subject to removal (trimming) from the stream.
  38. // You might receive a TrimmedDataAccessException if:
  39. //
  40. // * You request a shard iterator with a sequence number older than the trim
  41. // point (24 hours).
  42. //
  43. // * You obtain a shard iterator, but before you use the iterator in a GetRecords
  44. // request, a stream record in the shard exceeds the 24 hour period and is
  45. // trimmed. This causes the iterator to access a record that no longer exists.
  46. ErrCodeTrimmedDataAccessException = "TrimmedDataAccessException"
  47. )